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

Comparing trunk/OOPSE-3.0/configure (file contents):
Revision 2027 by gezelter, Tue Feb 15 06:11:22 2005 UTC vs.
Revision 2029 by gezelter, Tue Feb 15 15:17:01 2005 UTC

# Line 1 | Line 1
1   #! /bin/sh
2   # Guess values for system-dependent variables and create Makefiles.
3 < # Generated by GNU Autoconf 2.59 for OOPSE 2.0.
3 > # Generated by Autoconf 2.50 for OOPSE 2.0.
4   #
5   # Report bugs to <gezelter@nd.edu>.
6   #
7 < # Copyright (C) 2003 Free Software Foundation, Inc.
7 > # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8 > # Free Software Foundation, Inc.
9   # This configure script is free software; the Free Software Foundation
10   # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization.  ##
12 ## --------------------- ##
11  
12   # Be Bourne compatible
13   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14    emulate sh
15    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+"$@"}'='"$@"'
16   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
17    set -o posix
18   fi
24 DUALCASE=1; export DUALCASE # for MKS sh
19  
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
20   # Name of the executable.
21 < as_me=`$as_basename "$0" ||
69 < $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 <         X"$0" : 'X\(//\)$' \| \
71 <         X"$0" : 'X\(/\)$' \| \
72 <         .     : '\(.\)' 2>/dev/null ||
73 < echo X/"$0" |
74 <    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 <          /^X\/\(\/\/\)$/{ s//\1/; q; }
76 <          /^X\/\(\/\).*/{ s//\1/; q; }
77 <          s/.*/./; q'`
21 > as_me=`echo "$0" |sed 's,.*[\\/],,'`
22  
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
23   if expr a : '\(a\)' >/dev/null 2>&1; then
24    as_expr=expr
25   else
# Line 217 | Line 44 | if mkdir -p . 2>/dev/null; then
44   fi
45   rm -f conf$$ conf$$.exe conf$$.file
46  
47 < if mkdir -p . 2>/dev/null; then
48 <  as_mkdir_p=:
47 > as_executable_p="test -f"
48 >
49 > # Support unset when possible.
50 > if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
51 >  as_unset=unset
52   else
53 <  test -d ./-p && rmdir ./-p
224 <  as_mkdir_p=false
53 >  as_unset=false
54   fi
55  
56 < as_executable_p="test -f"
56 > # NLS nuisances.
57 > $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
58 > $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
59 > $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
60 > $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
61 > $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
62 > $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
63 > $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
64 > $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
65  
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
66   # IFS
67   # We need space, tab and new line, in precisely that order.
68   as_nl='
# Line 240 | Line 70 | $as_unset CDPATH
70   IFS="   $as_nl"
71  
72   # CDPATH.
73 < $as_unset CDPATH
73 > $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
74  
245
75   # Name of the host.
76   # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
77   # so uname gets run too.
# Line 254 | Line 83 | ac_config_libobj_dir=.
83   # Initializations.
84   #
85   ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
86   cross_compiling=no
87   subdirs=
88 < MFLAGS=
261 < MAKEFLAGS=
88 > MFLAGS= MAKEFLAGS=
89   SHELL=${CONFIG_SHELL-/bin/sh}
90  
91   # Maximum number of lines to put in a shell here document.
# Line 266 | Line 93 | SHELL=${CONFIG_SHELL-/bin/sh}
93   # only ac_max_sed_lines should be used.
94   : ${ac_max_here_lines=38}
95  
96 < # Identity of this package.
97 < PACKAGE_NAME='OOPSE'
98 < PACKAGE_TARNAME='oopse'
99 < PACKAGE_VERSION='2.0'
100 < PACKAGE_STRING='OOPSE 2.0'
274 < PACKAGE_BUGREPORT='gezelter@nd.edu'
96 > # Avoid depending upon Character Ranges.
97 > ac_cr_az='abcdefghijklmnopqrstuvwxyz'
98 > ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
99 > ac_cr_09='0123456789'
100 > ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09
101  
102 + # Sed expression to map a string onto a valid sh and CPP variable names.
103 + ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g"
104 + ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g"
105 +
106   ac_unique_file="src/applications/oopse/oopse.cpp"
107   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"
108  
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 SPRNG_LIB_DIR SPRNG_INC_DIR SPRNG_LIB USE_SPRNG MKL_LIBDIR MKL_LIB MKL_INC HAVE_MKL DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS'
316 ac_subst_files=''
317
109   # Initialize some variables set by options.
110   ac_init_help=
111   ac_init_version=false
# Line 353 | Line 144 | ac_prev=
144   infodir='${prefix}/info'
145   mandir='${prefix}/man'
146  
147 + # Identity of this package.
148 + PACKAGE_NAME='OOPSE'
149 + PACKAGE_TARNAME='oopse'
150 + PACKAGE_VERSION='2.0'
151 + PACKAGE_STRING='OOPSE 2.0'
152 + PACKAGE_BUGREPORT='gezelter@nd.edu'
153 +
154   ac_prev=
155   for ac_option
156   do
# Line 398 | Line 196 | do
196    -disable-* | --disable-*)
197      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
198      # Reject names that are not valid shell variable names.
199 <    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
199 >    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
200        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
201     { (exit 1); exit 1; }; }
202      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
# Line 407 | Line 205 | do
205    -enable-* | --enable-*)
206      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
207      # Reject names that are not valid shell variable names.
208 <    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
208 >    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
209        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
210     { (exit 1); exit 1; }; }
211      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
# Line 485 | Line 283 | do
283      with_fp=no ;;
284  
285    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
286 <  | --no-cr | --no-c | -n)
286 >  | --no-cr | --no-c)
287      no_create=yes ;;
288  
289    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
# Line 589 | Line 387 | do
387    -with-* | --with-*)
388      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
389      # Reject names that are not valid shell variable names.
390 <    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
390 >    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
391        { echo "$as_me: error: invalid package name: $ac_package" >&2
392     { (exit 1); exit 1; }; }
393      ac_package=`echo $ac_package| sed 's/-/_/g'`
# Line 602 | Line 400 | do
400    -without-* | --without-*)
401      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
402      # Reject names that are not valid shell variable names.
403 <    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 >    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
404        { echo "$as_me: error: invalid package name: $ac_package" >&2
405     { (exit 1); exit 1; }; }
406      ac_package=`echo $ac_package | sed 's/-/_/g'`
# Line 634 | Line 432 | Try \`$0 --help' for more information." >&2
432    *=*)
433      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
434      # Reject names that are not valid shell variable names.
435 <    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
435 >    expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null &&
436        { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
437     { (exit 1); exit 1; }; }
438      ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
# Line 644 | Line 442 | Try \`$0 --help' for more information." >&2
442    *)
443      # FIXME: should be removed in autoconf 3.0.
444      echo "$as_me: WARNING: you should use --build, --host, --target" >&2
445 <    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
445 >    expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null &&
446        echo "$as_me: WARNING: invalid host type: $ac_option" >&2
447      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
448      ;;
# Line 657 | Line 455 | fi
455    { echo "$as_me: error: missing argument to $ac_option" >&2
456     { (exit 1); exit 1; }; }
457   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
458  
459   # Be sure to have absolute paths.
460   for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
461 <              localstatedir libdir includedir oldincludedir infodir mandir
461 >              localstatedir libdir includedir oldincludedir infodir mandir \
462 >              exec_prefix prefix
463   do
464    eval ac_val=$`echo $ac_var`
465    case $ac_val in
466      [\\/$]* | ?:[\\/]* ) ;;
467 <    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
467 >    NONE ) ;;
468 >    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
469     { (exit 1); exit 1; }; };;
470    esac
471   done
472  
473   # There might be people who depend on the old broken behavior: `$host'
474   # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
475   build=$build_alias
476   host=$host_alias
477   target=$target_alias
478  
479 < # FIXME: To remove some day.
479 > # FIXME: should be removed in autoconf 3.0.
480   if test "x$host_alias" != x; then
481    if test "x$build_alias" = x; then
482      cross_compiling=maybe
# Line 704 | Line 492 | test "$silent" = yes && exec 6>/dev/null
492  
493   test "$silent" = yes && exec 6>/dev/null
494  
707
495   # Find the source files, if location was not specified.
496   if test -z "$srcdir"; then
497    ac_srcdir_defaulted=yes
498    # Try the directory containing this script, then its parent.
499 <  ac_confdir=`(dirname "$0") 2>/dev/null ||
500 < $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
501 <         X"$0" : 'X\(//\)[^/]' \| \
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'`
499 >  ac_prog=$0
500 >  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
501 >  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
502    srcdir=$ac_confdir
503    if test ! -r $srcdir/$ac_unique_file; then
504      srcdir=..
# Line 730 | Line 508 | if test ! -r $srcdir/$ac_unique_file; then
508   fi
509   if test ! -r $srcdir/$ac_unique_file; then
510    if test "$ac_srcdir_defaulted" = yes; then
511 <    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
511 >    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
512     { (exit 1); exit 1; }; }
513    else
514 <    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
514 >    { echo "$as_me: error: cannot find sources in $srcdir" >&2
515     { (exit 1); exit 1; }; }
516    fi
517   fi
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; }; }
518   srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
519   ac_env_build_alias_set=${build_alias+set}
520   ac_env_build_alias_value=$build_alias
# Line 796 | Line 571 | if test "$ac_init_help" = "long"; then
571   if test "$ac_init_help" = "long"; then
572    # Omit some internal or obsolete options to make the list less imposing.
573    # This message is too long to be a string in the A/UX 3.1 sh.
574 <  cat <<_ACEOF
574 >  cat <<EOF
575   \`configure' configures OOPSE 2.0 to adapt to many kinds of systems.
576  
577   Usage: $0 [OPTION]... [VAR=VALUE]...
# Line 817 | Line 592 | _ACEOF
592    -n, --no-create         do not create output files
593        --srcdir=DIR        find the sources in DIR [configure dir or \`..']
594  
595 < _ACEOF
595 > EOF
596  
597 <  cat <<_ACEOF
597 >  cat <<EOF
598   Installation directories:
599    --prefix=PREFIX         install architecture-independent files in PREFIX
600 <                          [$ac_default_prefix]
600 >                          [$ac_default_prefix]
601    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
602 <                          [PREFIX]
602 >                          [PREFIX]
603  
604   By default, \`make install' will install all the files in
605   \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
# Line 846 | Line 621 | _ACEOF
621    --oldincludedir=DIR    C header files for non-gcc [/usr/include]
622    --infodir=DIR          info documentation [PREFIX/info]
623    --mandir=DIR           man documentation [PREFIX/man]
624 < _ACEOF
624 > EOF
625  
626 <  cat <<\_ACEOF
626 >  cat <<\EOF
627  
628   System types:
629    --build=BUILD     configure for building on BUILD [guessed]
630 <  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
631 < _ACEOF
630 >  --host=HOST       build programs to run on HOST [BUILD]
631 > EOF
632   fi
633  
634   if test -n "$ac_init_help"; then
635    case $ac_init_help in
636       short | recursive ) echo "Configuration of OOPSE 2.0:";;
637     esac
638 <  cat <<\_ACEOF
638 >  cat <<\EOF
639  
640   Optional Features:
641    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
# Line 897 | Line 672 | _ACEOF
672   it to find libraries and programs with nonstandard names/locations.
673  
674   Report bugs to <gezelter@nd.edu>.
675 < _ACEOF
675 > EOF
676   fi
677  
678   if test "$ac_init_help" = "recursive"; then
679    # If there are subdirs, report their specific --help.
680    ac_popdir=`pwd`
681 <  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
682 <    test -d $ac_dir || continue
683 <    ac_builddir=.
681 >  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
682 >    cd $ac_subdir
683 >    # A "../" for each directory in /$ac_subdir.
684 >    ac_dots=`echo $ac_subdir |
685 >             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
686  
687 < if test "$ac_dir" != .; then
688 <  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
689 <  # A "../" for each directory in $ac_dir_suffix.
690 <  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
691 < else
692 <  ac_dir_suffix= ac_top_builddir=
693 < fi
687 >    case $srcdir in
688 >    .) # No --srcdir option.  We are building in place.
689 >      ac_sub_srcdir=$srcdir ;;
690 >    [\\/]* | ?:[\\/]* ) # Absolute path.
691 >      ac_sub_srcdir=$srcdir/$ac_subdir ;;
692 >    *) # Relative path.
693 >      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
694 >    esac
695  
918 case $srcdir in
919  .)  # No --srcdir option.  We are building in place.
920    ac_srcdir=.
921    if test -z "$ac_top_builddir"; then
922       ac_top_srcdir=.
923    else
924       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
925    fi ;;
926  [\\/]* | ?:[\\/]* )  # Absolute path.
927    ac_srcdir=$srcdir$ac_dir_suffix;
928    ac_top_srcdir=$srcdir ;;
929  *) # Relative path.
930    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
931    ac_top_srcdir=$ac_top_builddir$srcdir ;;
932 esac
933
934 # Do not use `cd foo && pwd` to compute absolute paths, because
935 # the directories may not exist.
936 case `pwd` in
937 .) ac_abs_builddir="$ac_dir";;
938 *)
939  case "$ac_dir" in
940  .) ac_abs_builddir=`pwd`;;
941  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
942  *) ac_abs_builddir=`pwd`/"$ac_dir";;
943  esac;;
944 esac
945 case $ac_abs_builddir in
946 .) ac_abs_top_builddir=${ac_top_builddir}.;;
947 *)
948  case ${ac_top_builddir}. in
949  .) ac_abs_top_builddir=$ac_abs_builddir;;
950  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
951  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
952  esac;;
953 esac
954 case $ac_abs_builddir in
955 .) ac_abs_srcdir=$ac_srcdir;;
956 *)
957  case $ac_srcdir in
958  .) ac_abs_srcdir=$ac_abs_builddir;;
959  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
960  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
961  esac;;
962 esac
963 case $ac_abs_builddir in
964 .) ac_abs_top_srcdir=$ac_top_srcdir;;
965 *)
966  case $ac_top_srcdir in
967  .) ac_abs_top_srcdir=$ac_abs_builddir;;
968  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
969  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
970  esac;;
971 esac
972
973    cd $ac_dir
696      # Check for guested configure; otherwise get Cygnus style configure.
697 <    if test -f $ac_srcdir/configure.gnu; then
697 >    if test -f $ac_sub_srcdir/configure.gnu; then
698        echo
699 <      $SHELL $ac_srcdir/configure.gnu  --help=recursive
700 <    elif test -f $ac_srcdir/configure; then
699 >      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
700 >    elif test -f $ac_sub_srcdir/configure; then
701        echo
702 <      $SHELL $ac_srcdir/configure  --help=recursive
703 <    elif test -f $ac_srcdir/configure.ac ||
704 <           test -f $ac_srcdir/configure.in; then
702 >      $SHELL $ac_sub_srcdir/configure  --help=recursive
703 >    elif test -f $ac_sub_srcdir/configure.ac ||
704 >           test -f $ac_sub_srcdir/configure.in; then
705        echo
706        $ac_configure --help
707      else
708 <      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
708 >      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
709      fi
710      cd $ac_popdir
711    done
# Line 991 | Line 713 | if $ac_init_version; then
713  
714   test -n "$ac_init_help" && exit 0
715   if $ac_init_version; then
716 <  cat <<\_ACEOF
716 >  cat <<\EOF
717   OOPSE configure 2.0
718 < generated by GNU Autoconf 2.59
718 > generated by GNU Autoconf 2.50
719  
720 < Copyright (C) 2003 Free Software Foundation, Inc.
720 > Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
721 > Free Software Foundation, Inc.
722   This configure script is free software; the Free Software Foundation
723   gives unlimited permission to copy, distribute and modify it.
724 < _ACEOF
724 > EOF
725    exit 0
726   fi
727   exec 5>config.log
728 < cat >&5 <<_ACEOF
728 > cat >&5 <<EOF
729   This file contains any messages produced by compilers while
730   running configure, to aid debugging if configure makes a mistake.
731  
732   It was created by OOPSE $as_me 2.0, which was
733 < generated by GNU Autoconf 2.59.  Invocation command line was
733 > generated by GNU Autoconf 2.50.  Invocation command line was
734  
735    $ $0 $@
736  
737 < _ACEOF
737 > EOF
738   {
739   cat <<_ASUNAME
740 < ## --------- ##
741 < ## Platform. ##
742 < ## --------- ##
740 > ## ---------- ##
741 > ## Platform.  ##
742 > ## ---------- ##
743  
744   hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
745   uname -m = `(uname -m) 2>/dev/null || echo unknown`
# Line 1035 | Line 758 | _ASUNAME
758   /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
759   /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
760  
761 < _ASUNAME
761 > PATH = $PATH
762  
763 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1041 < for as_dir in $PATH
1042 < do
1043 <  IFS=$as_save_IFS
1044 <  test -z "$as_dir" && as_dir=.
1045 <  echo "PATH: $as_dir"
1046 < done
1047 <
763 > _ASUNAME
764   } >&5
765  
766 < cat >&5 <<_ACEOF
766 > cat >&5 <<EOF
767 > ## ------------ ##
768 > ## Core tests.  ##
769 > ## ------------ ##
770  
771 + EOF
772  
1053 ## ----------- ##
1054 ## Core tests. ##
1055 ## ----------- ##
1056
1057 _ACEOF
1058
1059
773   # Keep a trace of the command line.
774   # Strip out --no-create and --no-recursion so they do not pile up.
1062 # Strip out --silent because we don't want to record it for future runs.
775   # Also quote any args containing shell meta-characters.
1064 # Make two passes to allow for proper duplicate-argument suppression.
776   ac_configure_args=
1066 ac_configure_args0=
1067 ac_configure_args1=
777   ac_sep=
778 < ac_must_keep_next=false
1070 < for ac_pass in 1 2
778 > for ac_arg
779   do
780 <  for ac_arg
781 <  do
782 <    case $ac_arg in
783 <    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
784 <    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
785 <    | -silent | --silent | --silen | --sile | --sil)
786 <      continue ;;
787 <    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
788 <      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
789 <    esac
790 <    case $ac_pass in
791 <    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
792 <    2)
1085 <      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1086 <      if test $ac_must_keep_next = true; then
1087 <        ac_must_keep_next=false # Got value, back to normal.
1088 <      else
1089 <        case $ac_arg in
1090 <          *=* | --config-cache | -C | -disable-* | --disable-* \
1091 <          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1092 <          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1093 <          | -with-* | --with-* | -without-* | --without-* | --x)
1094 <            case "$ac_configure_args0 " in
1095 <              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1096 <            esac
1097 <            ;;
1098 <          -* ) ac_must_keep_next=true ;;
1099 <        esac
1100 <      fi
1101 <      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1102 <      # Get rid of the leading space.
1103 <      ac_sep=" "
1104 <      ;;
1105 <    esac
1106 <  done
780 >  case $ac_arg in
781 >  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
782 >  | --no-cr | --no-c) ;;
783 >  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
784 >  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
785 >  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
786 >    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
787 >    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
788 >    ac_sep=" " ;;
789 >  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
790 >     ac_sep=" " ;;
791 >  esac
792 >  # Get rid of the leading space.
793   done
1108 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1109 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
794  
795   # When interrupted or exit'd, cleanup temporary files, and complete
796   # config.log.  We remove comments because anyway the quotes in there
797   # would cause problems or look ugly.
1114 # WARNING: Be sure not to use single quotes in there, as some shells,
1115 # such as our DU 5.0 friend, will then `close' the trap.
798   trap 'exit_status=$?
799    # Save into config.log some information that might help in debugging.
800 <  {
801 <    echo
802 <
803 <    cat <<\_ASBOX
804 < ## ---------------- ##
805 < ## Cache variables. ##
1124 < ## ---------------- ##
1125 < _ASBOX
1126 <    echo
1127 <    # The following way of writing the cache mishandles newlines in values,
800 >  echo >&5
801 >  echo "## ----------------- ##" >&5
802 >  echo "## Cache variables.  ##" >&5
803 >  echo "## ----------------- ##" >&5
804 >  echo >&5
805 >  # The following way of writing the cache mishandles newlines in values,
806   {
807    (set) 2>&1 |
808      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
809      *ac_space=\ *)
810        sed -n \
811 <        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
812 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
811 >        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
812 >          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
813        ;;
814      *)
815        sed -n \
816 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
816 >        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
817        ;;
818      esac;
819 < }
820 <    echo
821 <
822 <    cat <<\_ASBOX
823 < ## ----------------- ##
824 < ## Output variables. ##
825 < ## ----------------- ##
826 < _ASBOX
827 <    echo
828 <    for ac_var in $ac_subst_vars
829 <    do
830 <      eval ac_val=$`echo $ac_var`
831 <      echo "$ac_var='"'"'$ac_val'"'"'"
832 <    done | sort
833 <    echo
1156 <
1157 <    if test -n "$ac_subst_files"; then
1158 <      cat <<\_ASBOX
1159 < ## ------------- ##
1160 < ## Output files. ##
1161 < ## ------------- ##
1162 < _ASBOX
1163 <      echo
1164 <      for ac_var in $ac_subst_files
1165 <      do
1166 <        eval ac_val=$`echo $ac_var`
1167 <        echo "$ac_var='"'"'$ac_val'"'"'"
1168 <      done | sort
1169 <      echo
1170 <    fi
1171 <
1172 <    if test -s confdefs.h; then
1173 <      cat <<\_ASBOX
1174 < ## ----------- ##
1175 < ## confdefs.h. ##
1176 < ## ----------- ##
1177 < _ASBOX
1178 <      echo
1179 <      sed "/^$/d" confdefs.h | sort
1180 <      echo
1181 <    fi
1182 <    test "$ac_signal" != 0 &&
1183 <      echo "$as_me: caught signal $ac_signal"
1184 <    echo "$as_me: exit $exit_status"
1185 <  } >&5
1186 <  rm -f core *.core &&
1187 <  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
819 > } >&5
820 >  sed "/^$/d" confdefs.h >conftest.log
821 >  if test -s conftest.log; then
822 >    echo >&5
823 >    echo "## ------------ ##" >&5
824 >    echo "## confdefs.h.  ##" >&5
825 >    echo "## ------------ ##" >&5
826 >    echo >&5
827 >    cat conftest.log >&5
828 >  fi
829 >  (echo; echo) >&5
830 >  test "$ac_signal" != 0 &&
831 >    echo "$as_me: caught signal $ac_signal" >&5
832 >  echo "$as_me: exit $exit_status" >&5
833 >  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
834      exit $exit_status
835       ' 0
836   for ac_signal in 1 2 13 15; do
837 <  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
837 >  trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal
838   done
839   ac_signal=0
840  
# Line 1197 | Line 843 | echo >confdefs.h
843   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
844   echo >confdefs.h
845  
1200 # Predefined preprocessor variables.
1201
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_NAME "$PACKAGE_NAME"
1204 _ACEOF
1205
1206
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1209 _ACEOF
1210
1211
1212 cat >>confdefs.h <<_ACEOF
1213 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1214 _ACEOF
1215
1216
1217 cat >>confdefs.h <<_ACEOF
1218 #define PACKAGE_STRING "$PACKAGE_STRING"
1219 _ACEOF
1220
1221
1222 cat >>confdefs.h <<_ACEOF
1223 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1224 _ACEOF
1225
1226
846   # Let the site file select an alternate cache file if it wants to.
847   # Prefer explicitly selected file to automatically selected ones.
848   if test -z "$CONFIG_SITE"; then
# Line 1235 | Line 854 | for ac_site_file in $CONFIG_SITE; do
854   fi
855   for ac_site_file in $CONFIG_SITE; do
856    if test -r "$ac_site_file"; then
857 <    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
857 >    { echo "$as_me:857: loading site script $ac_site_file" >&5
858   echo "$as_me: loading site script $ac_site_file" >&6;}
859 <    sed 's/^/| /' "$ac_site_file" >&5
859 >    cat "$ac_site_file" >&5
860      . "$ac_site_file"
861    fi
862   done
# Line 1246 | Line 865 | if test -r "$cache_file"; then
865    # Some versions of bash will fail to source /dev/null (special
866    # files actually), so we avoid doing that.
867    if test -f "$cache_file"; then
868 <    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
868 >    { echo "$as_me:868: loading cache $cache_file" >&5
869   echo "$as_me: loading cache $cache_file" >&6;}
870      case $cache_file in
871        [\\/]* | ?:[\\/]* ) . $cache_file;;
# Line 1254 | Line 873 | else
873      esac
874    fi
875   else
876 <  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
876 >  { echo "$as_me:876: creating cache $cache_file" >&5
877   echo "$as_me: creating cache $cache_file" >&6;}
878    >$cache_file
879   fi
880  
881   # Check that the precious variables saved in the cache have kept the same
882   # value.
883 < ac_cache_corrupted=false
883 > ac_suggest_removing_cache=false
884   for ac_var in `(set) 2>&1 |
885 <               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
885 >               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
886    eval ac_old_set=\$ac_cv_env_${ac_var}_set
887    eval ac_new_set=\$ac_env_${ac_var}_set
888    eval ac_old_val="\$ac_cv_env_${ac_var}_value"
889    eval ac_new_val="\$ac_env_${ac_var}_value"
890    case $ac_old_set,$ac_new_set in
891      set,)
892 <      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
893 < echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
894 <      ac_cache_corrupted=: ;;
892 >      { echo "$as_me:892: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
893 > echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
894 >      ac_suggest_removing_cache=: ;;
895      ,set)
896 <      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
897 < echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
898 <      ac_cache_corrupted=: ;;
896 >      { echo "$as_me:896: WARNING: \`$ac_var' was not set in the previous run" >&5
897 > echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;}
898 >      ac_suggest_removing_cache=: ;;
899      ,);;
900      *)
901        if test "x$ac_old_val" != "x$ac_new_val"; then
902 <        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
903 < echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
904 <        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
905 < echo "$as_me:   former value:  $ac_old_val" >&2;}
906 <        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
907 < echo "$as_me:   current value: $ac_new_val" >&2;}
908 <        ac_cache_corrupted=:
902 >        { echo "$as_me:902: WARNING: \`$ac_var' has changed since the previous run:" >&5
903 > echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;}
904 >        { echo "$as_me:904: WARNING:   former value:  $ac_old_val" >&5
905 > echo "$as_me: WARNING:   former value:  $ac_old_val" >&2;}
906 >        { echo "$as_me:906: WARNING:   current value: $ac_new_val" >&5
907 > echo "$as_me: WARNING:   current value: $ac_new_val" >&2;}
908 >        ac_suggest_removing_cache=:
909        fi;;
910    esac
1292  # Pass precious variables to config.status.
1293  if test "$ac_new_set" = set; then
1294    case $ac_new_val in
1295    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1296      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1297    *) ac_arg=$ac_var=$ac_new_val ;;
1298    esac
1299    case " $ac_configure_args " in
1300      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1301      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1302    esac
1303  fi
911   done
912 < if $ac_cache_corrupted; then
913 <  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
914 < echo "$as_me: error: changes in the environment can compromise the build" >&2;}
915 <  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
916 < echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1310 <   { (exit 1); exit 1; }; }
912 > if $ac_suggest_removing_cache; then
913 >  { echo "$as_me:913: WARNING: changes in the environment can compromise the build" >&5
914 > echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;}
915 >  { echo "$as_me:915: WARNING: consider removing $cache_file and starting over" >&5
916 > echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;}
917   fi
918  
919   ac_ext=c
# Line 1316 | Line 922 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
922   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
923   ac_compiler_gnu=$ac_cv_c_compiler_gnu
924  
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
945  
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
946   ac_aux_dir=
947   for ac_dir in ac-tools $srcdir/ac-tools; do
948    if test -f $ac_dir/install-sh; then
# Line 1359 | Line 960 | if test -z "$ac_aux_dir"; then
960    fi
961   done
962   if test -z "$ac_aux_dir"; then
963 <  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5
963 >  { { echo "$as_me:963: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5
964   echo "$as_me: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&2;}
965     { (exit 1); exit 1; }; }
966   fi
# Line 1367 | Line 968 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
968   ac_config_sub="$SHELL $ac_aux_dir/config.sub"
969   ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
970  
1370
971   # This file is part of Autoconf.                       -*- Autoconf -*-
972   # Programming languages support.
973   # Copyright 2000, 2001
# Line 1418 | Line 1018 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1018   # Written by Akim Demaille, Christian Marquardt, Martin Wilks (and probably
1019   # many others).
1020  
1421
1021   # Table of Contents:
1022   #
1023   # 1. Language selection
# Line 1454 | Line 1053 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1053   # ACTION-IF-NOT-FOUND.
1054   # _AC_LIST_MEMBER_IF
1055  
1457
1458
1056   # _AC_LINKER_OPTION(LINKER-OPTIONS, SHELL-VARIABLE)
1057   # -------------------------------------------------
1058   #
# Line 1486 | Line 1083 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1083   # FIXME: Get rid of this macro.
1084   # _AC_LINKER_OPTION
1085  
1489
1490
1086   ## ----------------------- ##
1087   ## 1. Language selection.  ##
1088   ## ----------------------- ##
# Line 1499 | Line 1094 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1094   # AC_LANG(Fortran 90)
1095   # -------------------
1096  
1502
1503
1097   # _AC_LANG_ABBREV(Fortran 90)
1098   # ---------------------------
1099  
1507
1508
1100   # ----------------------------- #
1101   # 1c. The Fortran 95 language.  #
1102   # ----------------------------- #
# Line 1513 | Line 1104 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1104   # AC_LANG(Fortran 95)
1105   # -------------------
1106  
1516
1517
1107   # _AC_LANG_ABBREV(Fortran 95)
1108   # ---------------------------
1109  
1521
1522
1110   ## ---------------------- ##
1111   ## 2.Producing programs.  ##
1112   ## ---------------------- ##
# Line 1531 | Line 1118 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1118   # AC_LANG_SOURCE(Fortran 90)(BODY)
1119   # --------------------------------
1120  
1534
1535
1121   # AC_LANG_PROGRAM(Fortran 90)([PROLOGUE], [BODY])
1122   # -----------------------------------------------
1123  
1539
1124   # AC_LANG_CALL(Fortran 90)(PROLOGUE, FUNCTION)
1125   # --------------------------------------------
1126  
1543
1544
1127   # ------------------------ #
1128   # 2c. Fortran 95 sources.  #
1129   # ------------------------ #
# Line 1549 | Line 1131 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1131   # AC_LANG_SOURCE(Fortran 95)(BODY)
1132   # --------------------------------
1133  
1552
1134   # AC_LANG_PROGRAM(Fortran 95)([PROLOGUE], [BODY])
1135   # -----------------------------------------------
1136  
1556
1137   # AC_LANG_CALL(Fortran 95)(PROLOGUE, FUNCTION)
1138   # --------------------------------------------
1139  
1560
1561
1140   ## -------------------------------------------- ##
1141   ## 3. Looking for Compilers and Preprocessors.  ##
1142   ## -------------------------------------------- ##
# Line 1567 | Line 1145 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1145   # 3b. The Fortran 90 compiler.  #
1146   # ----------------------------- #
1147  
1570
1148   # AC_LANG_PREPROC(Fortran 90)
1149   # ---------------------------
1150   # Find the Fortran 90 preprocessor.  Must be AC_DEFUN'd to be AC_REQUIRE'able.
1151  
1575
1576
1152   # AC_LANG_COMPILER(Fortran 90)
1153   # ----------------------------
1154   # Find the Fortran 90 compiler.  Must be AC_DEFUN'd to be
1155   # AC_REQUIRE'able.
1156  
1582
1583
1157   # AC_PROG_F90([COMPILERS...])
1158   # ---------------------------
1159   # COMPILERS is a space separated list of Fortran 90 compilers to search
# Line 1597 | Line 1170 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1170   # fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha.
1171   # AC_PROG_F90
1172  
1600
1173   # ----------------------------- #
1174   # 3c. The Fortran 95 compiler.  #
1175   # ----------------------------- #
1176  
1605
1177   # AC_LANG_PREPROC(Fortran 95)
1178   # ---------------------------
1179   # Find the Fortran 95 preprocessor.  Must be AC_DEFUN'd to be AC_REQUIRE'able.
1180  
1610
1611
1181   # AC_LANG_COMPILER(Fortran 95)
1182   # ----------------------------
1183   # Find the Fortran 95 compiler.  Must be AC_DEFUN'd to be
1184   # AC_REQUIRE'able.
1185  
1617
1618
1186   # AC_PROG_F95([COMPILERS...])
1187   # ---------------------------
1188   # COMPILERS is a space separated list of Fortran 95 compilers to search
# Line 1629 | Line 1196 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1196   # fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha.
1197   # AC_PROG_F95
1198  
1632
1199   ## ------------------------------- ##
1200   ## 4. Compilers' characteristics.  ##
1201   ## ------------------------------- ##
1202  
1637
1203   # ---------------------------------------- #
1204   # 4b. Fortan 90 compiler characteristics.  #
1205   # ---------------------------------------- #
1206  
1642
1207   # _AC_PROG_F90_V_OUTPUT([FLAG = $ac_cv_prog_f90_v])
1208   # -------------------------------------------------
1209   # Link a trivial Fortran program, compiling with a verbose output FLAG
# Line 1649 | Line 1213 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1213   # so that any link flags that are echoed by the compiler appear as
1214   # space-separated items.
1215   # _AC_PROG_F90_V_OUTPUT
1652
1216  
1217   # _AC_PROG_F90_V
1218   # --------------
# Line 1660 | Line 1223 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1223   # Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###)
1224   # _AC_PROG_F90_V
1225  
1663
1226   # AC_F90_LIBRARY_LDFLAGS
1227   # ----------------------
1228   #
# Line 1688 | Line 1250 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1250   # This macro was copied from the Fortran 77 version by Matthew D. Langston.
1251   # AC_F90_LIBRARY_LDFLAGS
1252  
1691
1253   # _AC_F90_NAME_MANGLING
1254   # ---------------------
1255   # Test for the name mangling scheme used by the Fortran 90 compiler.
# Line 1708 | Line 1269 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1269  
1270   # The replacement is empty.
1271  
1711
1712
1272   # AC_F90_WRAPPERS
1273   # ---------------
1274   # Defines C macros F90_FUNC(name,NAME) and F90_FUNC_(name,NAME) to
# Line 1718 | Line 1277 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1277   # scheme used by the Fortran 90 compiler.
1278   # AC_F90_WRAPPERS
1279  
1721
1280   # AC_F90_FUNC(NAME, [SHELLVAR = NAME])
1281   # ------------------------------------
1282   # For a Fortran subroutine of given NAME, define a shell variable
# Line 1726 | Line 1284 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1284   # argument is not supplied, it defaults to NAME.
1285   # AC_F90_FUNC
1286  
1729
1287   # ---------------------------------------- #
1288   # 4c. Fortan 95 compiler characteristics.  #
1289   # ---------------------------------------- #
1290  
1734
1291   # _AC_PROG_F95_V_OUTPUT([FLAG = $ac_cv_prog_f95_v])
1292   # -------------------------------------------------
1293   # Link a trivial Fortran program, compiling with a verbose output FLAG
# Line 1742 | Line 1298 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1298   # space-separated items.
1299   # _AC_PROG_F95_V_OUTPUT
1300  
1745
1301   # _AC_PROG_F95_V
1302   # --------------
1303   #
# Line 1752 | Line 1307 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1307   # Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###)
1308   # _AC_PROG_F95_V
1309  
1755
1310   # AC_F95_LIBRARY_LDFLAGS
1311   # ----------------------
1312   #
# Line 1780 | Line 1334 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1334   # This macro was copied from the Fortran 77 version by Matthew D. Langston.
1335   # AC_F95_LIBRARY_LDFLAGS
1336  
1783
1337   # _AC_F95_NAME_MANGLING
1338   # ---------------------
1339   # Test for the name mangling scheme used by the Fortran 95 compiler.
# Line 1800 | Line 1353 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1353  
1354   # The replacement is empty.
1355  
1803
1804
1356   # AC_F95_WRAPPERS
1357   # ---------------
1358   # Defines C macros F95_FUNC(name,NAME) and F95_FUNC_(name,NAME) to
# Line 1810 | Line 1361 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1361   # scheme used by the Fortran 95 compiler.
1362   # AC_F95_WRAPPERS
1363  
1813
1364   # AC_F95_FUNC(NAME, [SHELLVAR = NAME])
1365   # ------------------------------------
1366   # For a Fortran subroutine of given NAME, define a shell variable
# Line 1825 | Line 1375 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1375   #
1376   # AC_F90_MODULE_NAMES
1377  
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
1884
1885
1378   # set program name
1379   PROGNAME="oopse"
1380  
1889
1381   # there are two ways to do debugging.  One with the --enable-debug flag
1382   # and one using the DEBUG environment variable
1383  
# Line 1898 | Line 1389 | cat >>confdefs.h <<\_ACEOF
1389   fi;
1390   if test "${DEBUG}"; then
1391  
1392 < cat >>confdefs.h <<\_ACEOF
1392 > cat >>confdefs.h <<\EOF
1393   #define debug 1
1394 < _ACEOF
1394 > EOF
1395  
1396    msg="$msg, debug mode"
1397   fi
1398  
1908
1399   # who am i
1400   # Make sure we can run config.sub.
1401   $ac_config_sub sun4 >/dev/null 2>&1 ||
1402 <  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1402 >  { { echo "$as_me:1402: error: cannot run $ac_config_sub" >&5
1403   echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1404     { (exit 1); exit 1; }; }
1405  
1406 < echo "$as_me:$LINENO: checking build system type" >&5
1406 > echo "$as_me:1406: checking build system type" >&5
1407   echo $ECHO_N "checking build system type... $ECHO_C" >&6
1408   if test "${ac_cv_build+set}" = set; then
1409    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1922 | Line 1412 | test -z "$ac_cv_build_alias" &&
1412   test -z "$ac_cv_build_alias" &&
1413    ac_cv_build_alias=`$ac_config_guess`
1414   test -z "$ac_cv_build_alias" &&
1415 <  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1415 >  { { echo "$as_me:1415: error: cannot guess build type; you must specify one" >&5
1416   echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1417     { (exit 1); exit 1; }; }
1418   ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1419 <  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1420 < echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1419 >  { { echo "$as_me:1419: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1420 > echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1421     { (exit 1); exit 1; }; }
1422  
1423   fi
1424 < echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1424 > echo "$as_me:1424: result: $ac_cv_build" >&5
1425   echo "${ECHO_T}$ac_cv_build" >&6
1426   build=$ac_cv_build
1427   build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1428   build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1429   build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1430  
1431 <
1942 < echo "$as_me:$LINENO: checking host system type" >&5
1431 > echo "$as_me:1431: checking host system type" >&5
1432   echo $ECHO_N "checking host system type... $ECHO_C" >&6
1433   if test "${ac_cv_host+set}" = set; then
1434    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1948 | Line 1437 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1437   test -z "$ac_cv_host_alias" &&
1438    ac_cv_host_alias=$ac_cv_build_alias
1439   ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1440 <  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1440 >  { { echo "$as_me:1440: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1441   echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1442     { (exit 1); exit 1; }; }
1443  
1444   fi
1445 < echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1445 > echo "$as_me:1445: result: $ac_cv_host" >&5
1446   echo "${ECHO_T}$ac_cv_host" >&6
1447   host=$ac_cv_host
1448   host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1449   host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1450   host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1451  
1963
1964
1965
1966
1452   ac_ext=c
1453   ac_cpp='$CPP $CPPFLAGS'
1454   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 1974 | Line 1459 | echo "$as_me:$LINENO: checking for $ac_word" >&5
1459    do
1460      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1461   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1462 < echo "$as_me:$LINENO: checking for $ac_word" >&5
1462 > echo "$as_me:1462: checking for $ac_word" >&5
1463   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1464   if test "${ac_cv_prog_CC+set}" = set; then
1465    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1982 | Line 1467 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1467    if test -n "$CC"; then
1468    ac_cv_prog_CC="$CC" # Let the user override the test.
1469   else
1470 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1471 < for as_dir in $PATH
1472 < do
1473 <  IFS=$as_save_IFS
1474 <  test -z "$as_dir" && as_dir=.
1475 <  for ac_exec_ext in '' $ac_executable_extensions; do
1476 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1477 <    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1478 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1994 <    break 2
1995 <  fi
1470 >  ac_save_IFS=$IFS; IFS=$ac_path_separator
1471 > ac_dummy="$PATH"
1472 > for ac_dir in $ac_dummy; do
1473 >  IFS=$ac_save_IFS
1474 >  test -z "$ac_dir" && ac_dir=.
1475 >  $as_executable_p "$ac_dir/$ac_word" || continue
1476 > ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1477 > echo "$as_me:1477: found $ac_dir/$ac_word" >&5
1478 > break
1479   done
1997 done
1480  
1481   fi
1482   fi
1483   CC=$ac_cv_prog_CC
1484   if test -n "$CC"; then
1485 <  echo "$as_me:$LINENO: result: $CC" >&5
1485 >  echo "$as_me:1485: result: $CC" >&5
1486   echo "${ECHO_T}$CC" >&6
1487   else
1488 <  echo "$as_me:$LINENO: result: no" >&5
1488 >  echo "$as_me:1488: result: no" >&5
1489   echo "${ECHO_T}no" >&6
1490   fi
1491  
# Line 2016 | Line 1498 | echo "$as_me:$LINENO: checking for $ac_word" >&5
1498   do
1499    # Extract the first word of "$ac_prog", so it can be a program name with args.
1500   set dummy $ac_prog; ac_word=$2
1501 < echo "$as_me:$LINENO: checking for $ac_word" >&5
1501 > echo "$as_me:1501: checking for $ac_word" >&5
1502   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1503   if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1504    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2024 | Line 1506 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1506    if test -n "$ac_ct_CC"; then
1507    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1508   else
1509 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1510 < for as_dir in $PATH
1511 < do
1512 <  IFS=$as_save_IFS
1513 <  test -z "$as_dir" && as_dir=.
1514 <  for ac_exec_ext in '' $ac_executable_extensions; do
1515 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1516 <    ac_cv_prog_ac_ct_CC="$ac_prog"
1517 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2036 <    break 2
2037 <  fi
1509 >  ac_save_IFS=$IFS; IFS=$ac_path_separator
1510 > ac_dummy="$PATH"
1511 > for ac_dir in $ac_dummy; do
1512 >  IFS=$ac_save_IFS
1513 >  test -z "$ac_dir" && ac_dir=.
1514 >  $as_executable_p "$ac_dir/$ac_word" || continue
1515 > ac_cv_prog_ac_ct_CC="$ac_prog"
1516 > echo "$as_me:1516: found $ac_dir/$ac_word" >&5
1517 > break
1518   done
2039 done
1519  
1520   fi
1521   fi
1522   ac_ct_CC=$ac_cv_prog_ac_ct_CC
1523   if test -n "$ac_ct_CC"; then
1524 <  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1524 >  echo "$as_me:1524: result: $ac_ct_CC" >&5
1525   echo "${ECHO_T}$ac_ct_CC" >&6
1526   else
1527 <  echo "$as_me:$LINENO: result: no" >&5
1527 >  echo "$as_me:1527: result: no" >&5
1528   echo "${ECHO_T}no" >&6
1529   fi
1530  
# Line 2055 | Line 1534 | fi
1534    CC=$ac_ct_CC
1535   fi
1536  
1537 <
1538 < test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2060 < See \`config.log' for more details." >&5
2061 < echo "$as_me: error: no acceptable C compiler found in \$PATH
2062 < See \`config.log' for more details." >&2;}
1537 > test -z "$CC" && { { echo "$as_me:1537: error: no acceptable cc found in \$PATH" >&5
1538 > echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1539     { (exit 1); exit 1; }; }
1540  
2065 # Provide some information about the compiler.
2066 echo "$as_me:$LINENO:" \
2067     "checking for C compiler version" >&5
2068 ac_compiler=`set X $ac_compile; echo $2`
2069 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2070  (eval $ac_compiler --version </dev/null >&5) 2>&5
2071  ac_status=$?
2072  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2073  (exit $ac_status); }
2074 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2075  (eval $ac_compiler -v </dev/null >&5) 2>&5
2076  ac_status=$?
2077  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2078  (exit $ac_status); }
2079 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2080  (eval $ac_compiler -V </dev/null >&5) 2>&5
2081  ac_status=$?
2082  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083  (exit $ac_status); }
2084
1541   cat >conftest.$ac_ext <<_ACEOF
1542 < /* confdefs.h.  */
1543 < _ACEOF
2088 < cat confdefs.h >>conftest.$ac_ext
2089 < cat >>conftest.$ac_ext <<_ACEOF
2090 < /* end confdefs.h.  */
1542 > #line 1542 "configure"
1543 > #include "confdefs.h"
1544  
1545   int
1546   main ()
# Line 2098 | Line 1551 | ac_clean_files="$ac_clean_files a.out a.exe b.out"
1551   }
1552   _ACEOF
1553   ac_clean_files_save=$ac_clean_files
1554 < ac_clean_files="$ac_clean_files a.out a.exe b.out"
1554 > ac_clean_files="$ac_clean_files a.out a.exe"
1555   # Try to create an executable without -o first, disregard a.out.
1556 < # It will help us diagnose broken compilers, and finding out an intuition
1556 > # It will help us diagnose broken compiler, and finding out an intuition
1557   # of exeext.
1558 < echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1559 < echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1558 > echo "$as_me:1558: checking for C compiler default output" >&5
1559 > echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1560   ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1561 < if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1561 > if { (eval echo "$as_me:1561: \"$ac_link_default\"") >&5
1562    (eval $ac_link_default) 2>&5
1563    ac_status=$?
1564 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1564 >  echo "$as_me:1564: \$? = $ac_status" >&5
1565    (exit $ac_status); }; then
1566 <  # Find the output, starting from the most likely.  This scheme is
2114 < # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2115 < # resort.
2116 <
2117 < # Be careful to initialize this variable, since it used to be cached.
2118 < # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2119 < ac_cv_exeext=
2120 < # b.out is created by i960 compilers.
2121 < for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2122 < do
2123 <  test -f "$ac_file" || continue
1566 >  for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
1567    case $ac_file in
1568 <    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1569 <        ;;
1570 <    conftest.$ac_ext )
1571 <        # This is the source file.
1572 <        ;;
1573 <    [ab].out )
1574 <        # We found the default executable, but exeext='' is most
1575 <        # certainly right.
2133 <        break;;
2134 <    *.* )
2135 <        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2136 <        # FIXME: I believe we export ac_cv_exeext for Libtool,
2137 <        # but it would be cool to find out if it's true.  Does anybody
2138 <        # maintain Libtool? --akim.
2139 <        export ac_cv_exeext
2140 <        break;;
2141 <    * )
2142 <        break;;
1568 >    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1569 >    a.out ) # We found the default executable, but exeext='' is most
1570 >            # certainly right.
1571 >            break;;
1572 >    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1573 >          export ac_cv_exeext
1574 >          break;;
1575 >    * ) break;;
1576    esac
1577   done
1578   else
1579    echo "$as_me: failed program was:" >&5
1580 < sed 's/^/| /' conftest.$ac_ext >&5
1581 <
1582 < { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2150 < See \`config.log' for more details." >&5
2151 < echo "$as_me: error: C compiler cannot create executables
2152 < See \`config.log' for more details." >&2;}
1580 > cat conftest.$ac_ext >&5
1581 > { { echo "$as_me:1581: error: C compiler cannot create executables" >&5
1582 > echo "$as_me: error: C compiler cannot create executables" >&2;}
1583     { (exit 77); exit 77; }; }
1584   fi
1585  
1586   ac_exeext=$ac_cv_exeext
1587 < echo "$as_me:$LINENO: result: $ac_file" >&5
1587 > echo "$as_me:1587: result: $ac_file" >&5
1588   echo "${ECHO_T}$ac_file" >&6
1589  
1590   # Check the compiler produces executables we can run.  If not, either
1591   # the compiler is broken, or we cross compile.
1592 < echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1592 > echo "$as_me:1592: checking whether the C compiler works" >&5
1593   echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1594   # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1595   # If not cross compiling, check that we can run a simple program.
1596   if test "$cross_compiling" != yes; then
1597    if { ac_try='./$ac_file'
1598 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1598 >  { (eval echo "$as_me:1598: \"$ac_try\"") >&5
1599    (eval $ac_try) 2>&5
1600    ac_status=$?
1601 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1601 >  echo "$as_me:1601: \$? = $ac_status" >&5
1602    (exit $ac_status); }; }; then
1603      cross_compiling=no
1604    else
1605      if test "$cross_compiling" = maybe; then
1606          cross_compiling=yes
1607      else
1608 <        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1609 < If you meant to cross compile, use \`--host'.
2180 < See \`config.log' for more details." >&5
1608 >        { { echo "$as_me:1608: error: cannot run C compiled programs.
1609 > If you meant to cross compile, use \`--host'." >&5
1610   echo "$as_me: error: cannot run C compiled programs.
1611 < If you meant to cross compile, use \`--host'.
2183 < See \`config.log' for more details." >&2;}
1611 > If you meant to cross compile, use \`--host'." >&2;}
1612     { (exit 1); exit 1; }; }
1613      fi
1614    fi
1615   fi
1616 < echo "$as_me:$LINENO: result: yes" >&5
1616 > echo "$as_me:1616: result: yes" >&5
1617   echo "${ECHO_T}yes" >&6
1618  
1619 < rm -f a.out a.exe conftest$ac_cv_exeext b.out
1619 > rm -f a.out a.exe conftest$ac_cv_exeext
1620   ac_clean_files=$ac_clean_files_save
1621   # Check the compiler produces executables we can run.  If not, either
1622   # the compiler is broken, or we cross compile.
1623 < echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1623 > echo "$as_me:1623: checking whether we are cross compiling" >&5
1624   echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1625 < echo "$as_me:$LINENO: result: $cross_compiling" >&5
1625 > echo "$as_me:1625: result: $cross_compiling" >&5
1626   echo "${ECHO_T}$cross_compiling" >&6
1627  
1628 < echo "$as_me:$LINENO: checking for suffix of executables" >&5
1629 < echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1630 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1628 > echo "$as_me:1628: checking for executable suffix" >&5
1629 > echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1630 > if { (eval echo "$as_me:1630: \"$ac_link\"") >&5
1631    (eval $ac_link) 2>&5
1632    ac_status=$?
1633 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1633 >  echo "$as_me:1633: \$? = $ac_status" >&5
1634    (exit $ac_status); }; then
1635    # If both `conftest.exe' and `conftest' are `present' (well, observable)
1636   # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1637   # work properly (i.e., refer to `conftest.exe'), while it won't with
1638   # `rm'.
1639 < for ac_file in conftest.exe conftest conftest.*; do
2212 <  test -f "$ac_file" || continue
1639 > for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1640    case $ac_file in
1641 <    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1641 >    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1642      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1643 <          export ac_cv_exeext
1644 <          break;;
1643 >          export ac_cv_exeext
1644 >          break;;
1645      * ) break;;
1646    esac
1647   done
1648   else
1649 <  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1650 < See \`config.log' for more details." >&5
2224 < echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2225 < See \`config.log' for more details." >&2;}
1649 >  { { echo "$as_me:1649: error: cannot compute EXEEXT: cannot compile and link" >&5
1650 > echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1651     { (exit 1); exit 1; }; }
1652   fi
1653  
1654   rm -f conftest$ac_cv_exeext
1655 < echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1655 > echo "$as_me:1655: result: $ac_cv_exeext" >&5
1656   echo "${ECHO_T}$ac_cv_exeext" >&6
1657  
1658   rm -f conftest.$ac_ext
1659   EXEEXT=$ac_cv_exeext
1660   ac_exeext=$EXEEXT
1661 < echo "$as_me:$LINENO: checking for suffix of object files" >&5
1662 < echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1661 > echo "$as_me:1661: checking for object suffix" >&5
1662 > echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1663   if test "${ac_cv_objext+set}" = set; then
1664    echo $ECHO_N "(cached) $ECHO_C" >&6
1665   else
1666    cat >conftest.$ac_ext <<_ACEOF
1667 < /* confdefs.h.  */
1668 < _ACEOF
2244 < cat confdefs.h >>conftest.$ac_ext
2245 < cat >>conftest.$ac_ext <<_ACEOF
2246 < /* end confdefs.h.  */
1667 > #line 1667 "configure"
1668 > #include "confdefs.h"
1669  
1670   int
1671   main ()
# Line 2254 | Line 1676 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1676   }
1677   _ACEOF
1678   rm -f conftest.o conftest.obj
1679 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1679 > if { (eval echo "$as_me:1679: \"$ac_compile\"") >&5
1680    (eval $ac_compile) 2>&5
1681    ac_status=$?
1682 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1682 >  echo "$as_me:1682: \$? = $ac_status" >&5
1683    (exit $ac_status); }; then
1684    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1685    case $ac_file in
1686 <    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1686 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1687      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1688         break;;
1689    esac
1690   done
1691   else
1692    echo "$as_me: failed program was:" >&5
1693 < sed 's/^/| /' conftest.$ac_ext >&5
1694 <
1695 < { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2274 < See \`config.log' for more details." >&5
2275 < echo "$as_me: error: cannot compute suffix of object files: cannot compile
2276 < See \`config.log' for more details." >&2;}
1693 > cat conftest.$ac_ext >&5
1694 > { { echo "$as_me:1694: error: cannot compute OBJEXT: cannot compile" >&5
1695 > echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1696     { (exit 1); exit 1; }; }
1697   fi
1698  
1699   rm -f conftest.$ac_cv_objext conftest.$ac_ext
1700   fi
1701 < echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1701 > echo "$as_me:1701: result: $ac_cv_objext" >&5
1702   echo "${ECHO_T}$ac_cv_objext" >&6
1703   OBJEXT=$ac_cv_objext
1704   ac_objext=$OBJEXT
1705 < echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1705 > echo "$as_me:1705: checking whether we are using the GNU C compiler" >&5
1706   echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1707   if test "${ac_cv_c_compiler_gnu+set}" = set; then
1708    echo $ECHO_N "(cached) $ECHO_C" >&6
1709   else
1710    cat >conftest.$ac_ext <<_ACEOF
1711 < /* confdefs.h.  */
1712 < _ACEOF
2294 < cat confdefs.h >>conftest.$ac_ext
2295 < cat >>conftest.$ac_ext <<_ACEOF
2296 < /* end confdefs.h.  */
1711 > #line 1711 "configure"
1712 > #include "confdefs.h"
1713  
1714   int
1715   main ()
# Line 2307 | Line 1723 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1723   }
1724   _ACEOF
1725   rm -f conftest.$ac_objext
1726 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1727 <  (eval $ac_compile) 2>conftest.er1
1726 > if { (eval echo "$as_me:1726: \"$ac_compile\"") >&5
1727 >  (eval $ac_compile) 2>&5
1728    ac_status=$?
1729 <  grep -v '^ *+' conftest.er1 >conftest.err
2314 <  rm -f conftest.er1
2315 <  cat conftest.err >&5
2316 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1729 >  echo "$as_me:1729: \$? = $ac_status" >&5
1730    (exit $ac_status); } &&
1731 <         { ac_try='test -z "$ac_c_werror_flag"
1732 <                         || test ! -s conftest.err'
2320 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1731 >         { ac_try='test -s conftest.$ac_objext'
1732 >  { (eval echo "$as_me:1732: \"$ac_try\"") >&5
1733    (eval $ac_try) 2>&5
1734    ac_status=$?
1735 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324 <  (exit $ac_status); }; } &&
2325 <         { ac_try='test -s conftest.$ac_objext'
2326 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2327 <  (eval $ac_try) 2>&5
2328 <  ac_status=$?
2329 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1735 >  echo "$as_me:1735: \$? = $ac_status" >&5
1736    (exit $ac_status); }; }; then
1737    ac_compiler_gnu=yes
1738   else
1739    echo "$as_me: failed program was:" >&5
1740 < sed 's/^/| /' conftest.$ac_ext >&5
2335 <
1740 > cat conftest.$ac_ext >&5
1741   ac_compiler_gnu=no
1742   fi
1743 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1743 > rm -f conftest.$ac_objext conftest.$ac_ext
1744   ac_cv_c_compiler_gnu=$ac_compiler_gnu
1745  
1746   fi
1747 < echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1747 > echo "$as_me:1747: result: $ac_cv_c_compiler_gnu" >&5
1748   echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1749   GCC=`test $ac_compiler_gnu = yes && echo yes`
1750   ac_test_CFLAGS=${CFLAGS+set}
1751   ac_save_CFLAGS=$CFLAGS
1752   CFLAGS="-g"
1753 < echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1753 > echo "$as_me:1753: checking whether $CC accepts -g" >&5
1754   echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1755   if test "${ac_cv_prog_cc_g+set}" = set; then
1756    echo $ECHO_N "(cached) $ECHO_C" >&6
1757   else
1758    cat >conftest.$ac_ext <<_ACEOF
1759 < /* confdefs.h.  */
1760 < _ACEOF
2356 < cat confdefs.h >>conftest.$ac_ext
2357 < cat >>conftest.$ac_ext <<_ACEOF
2358 < /* end confdefs.h.  */
1759 > #line 1759 "configure"
1760 > #include "confdefs.h"
1761  
1762   int
1763   main ()
# Line 2366 | Line 1768 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1768   }
1769   _ACEOF
1770   rm -f conftest.$ac_objext
1771 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1772 <  (eval $ac_compile) 2>conftest.er1
1771 > if { (eval echo "$as_me:1771: \"$ac_compile\"") >&5
1772 >  (eval $ac_compile) 2>&5
1773    ac_status=$?
1774 <  grep -v '^ *+' conftest.er1 >conftest.err
2373 <  rm -f conftest.er1
2374 <  cat conftest.err >&5
2375 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1774 >  echo "$as_me:1774: \$? = $ac_status" >&5
1775    (exit $ac_status); } &&
1776 <         { ac_try='test -z "$ac_c_werror_flag"
1777 <                         || test ! -s conftest.err'
2379 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1776 >         { ac_try='test -s conftest.$ac_objext'
1777 >  { (eval echo "$as_me:1777: \"$ac_try\"") >&5
1778    (eval $ac_try) 2>&5
1779    ac_status=$?
1780 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 <  (exit $ac_status); }; } &&
2384 <         { ac_try='test -s conftest.$ac_objext'
2385 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2386 <  (eval $ac_try) 2>&5
2387 <  ac_status=$?
2388 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1780 >  echo "$as_me:1780: \$? = $ac_status" >&5
1781    (exit $ac_status); }; }; then
1782    ac_cv_prog_cc_g=yes
1783   else
1784    echo "$as_me: failed program was:" >&5
1785 < sed 's/^/| /' conftest.$ac_ext >&5
2394 <
1785 > cat conftest.$ac_ext >&5
1786   ac_cv_prog_cc_g=no
1787   fi
1788 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1788 > rm -f conftest.$ac_objext conftest.$ac_ext
1789   fi
1790 < echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1790 > echo "$as_me:1790: result: $ac_cv_prog_cc_g" >&5
1791   echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1792   if test "$ac_test_CFLAGS" = set; then
1793    CFLAGS=$ac_save_CFLAGS
# Line 2412 | Line 1803 | fi
1803    else
1804      CFLAGS=
1805    fi
2415 fi
2416 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2417 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2418 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2419  echo $ECHO_N "(cached) $ECHO_C" >&6
2420 else
2421  ac_cv_prog_cc_stdc=no
2422 ac_save_CC=$CC
2423 cat >conftest.$ac_ext <<_ACEOF
2424 /* confdefs.h.  */
2425 _ACEOF
2426 cat confdefs.h >>conftest.$ac_ext
2427 cat >>conftest.$ac_ext <<_ACEOF
2428 /* end confdefs.h.  */
2429 #include <stdarg.h>
2430 #include <stdio.h>
2431 #include <sys/types.h>
2432 #include <sys/stat.h>
2433 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2434 struct buf { int x; };
2435 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2436 static char *e (p, i)
2437     char **p;
2438     int i;
2439 {
2440  return p[i];
2441 }
2442 static char *f (char * (*g) (char **, int), char **p, ...)
2443 {
2444  char *s;
2445  va_list v;
2446  va_start (v,p);
2447  s = g (p, va_arg (v,int));
2448  va_end (v);
2449  return s;
2450 }
2451
2452 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2453   function prototypes and stuff, but not '\xHH' hex character constants.
2454   These don't provoke an error unfortunately, instead are silently treated
2455   as 'x'.  The following induces an error, until -std1 is added to get
2456   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2457   array size at least.  It's necessary to write '\x00'==0 to get something
2458   that's true only with -std1.  */
2459 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2460
2461 int test (int i, double x);
2462 struct s1 {int (*f) (int a);};
2463 struct s2 {int (*f) (double a);};
2464 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2465 int argc;
2466 char **argv;
2467 int
2468 main ()
2469 {
2470 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2471  ;
2472  return 0;
2473 }
2474 _ACEOF
2475 # Don't try gcc -ansi; that turns off useful extensions and
2476 # breaks some systems' header files.
2477 # AIX                   -qlanglvl=ansi
2478 # Ultrix and OSF/1      -std1
2479 # HP-UX 10.20 and later -Ae
2480 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2481 # SVR4                  -Xc -D__EXTENSIONS__
2482 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2483 do
2484  CC="$ac_save_CC $ac_arg"
2485  rm -f conftest.$ac_objext
2486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2487  (eval $ac_compile) 2>conftest.er1
2488  ac_status=$?
2489  grep -v '^ *+' conftest.er1 >conftest.err
2490  rm -f conftest.er1
2491  cat conftest.err >&5
2492  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2493  (exit $ac_status); } &&
2494         { ac_try='test -z "$ac_c_werror_flag"
2495                         || test ! -s conftest.err'
2496  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2497  (eval $ac_try) 2>&5
2498  ac_status=$?
2499  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500  (exit $ac_status); }; } &&
2501         { ac_try='test -s conftest.$ac_objext'
2502  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2503  (eval $ac_try) 2>&5
2504  ac_status=$?
2505  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506  (exit $ac_status); }; }; then
2507  ac_cv_prog_cc_stdc=$ac_arg
2508 break
2509 else
2510  echo "$as_me: failed program was:" >&5
2511 sed 's/^/| /' conftest.$ac_ext >&5
2512
2513 fi
2514 rm -f conftest.err conftest.$ac_objext
2515 done
2516 rm -f conftest.$ac_ext conftest.$ac_objext
2517 CC=$ac_save_CC
2518
1806   fi
2520
2521 case "x$ac_cv_prog_cc_stdc" in
2522  x|xno)
2523    echo "$as_me:$LINENO: result: none needed" >&5
2524 echo "${ECHO_T}none needed" >&6 ;;
2525  *)
2526    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2527 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2528    CC="$CC $ac_cv_prog_cc_stdc" ;;
2529 esac
2530
1807   # Some people use a C++ compiler to compile C.  Since we use `exit',
1808   # in C++ we need to declare it.  In case someone uses the same compiler
1809   # for both compiling C and C++ we need to have the C++ compiler decide
# Line 2538 | Line 1814 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1814   #endif
1815   _ACEOF
1816   rm -f conftest.$ac_objext
1817 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1818 <  (eval $ac_compile) 2>conftest.er1
1817 > if { (eval echo "$as_me:1817: \"$ac_compile\"") >&5
1818 >  (eval $ac_compile) 2>&5
1819    ac_status=$?
1820 <  grep -v '^ *+' conftest.er1 >conftest.err
2545 <  rm -f conftest.er1
2546 <  cat conftest.err >&5
2547 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1820 >  echo "$as_me:1820: \$? = $ac_status" >&5
1821    (exit $ac_status); } &&
1822 <         { ac_try='test -z "$ac_c_werror_flag"
1823 <                         || test ! -s conftest.err'
2551 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1822 >         { ac_try='test -s conftest.$ac_objext'
1823 >  { (eval echo "$as_me:1823: \"$ac_try\"") >&5
1824    (eval $ac_try) 2>&5
1825    ac_status=$?
1826 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555 <  (exit $ac_status); }; } &&
2556 <         { ac_try='test -s conftest.$ac_objext'
2557 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2558 <  (eval $ac_try) 2>&5
2559 <  ac_status=$?
2560 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1826 >  echo "$as_me:1826: \$? = $ac_status" >&5
1827    (exit $ac_status); }; }; then
1828    for ac_declaration in \
1829 <   '' \
1829 >   ''\
1830 >   '#include <stdlib.h>' \
1831     'extern "C" void std::exit (int) throw (); using std::exit;' \
1832     'extern "C" void std::exit (int); using std::exit;' \
1833     'extern "C" void exit (int) throw ();' \
# Line 2568 | Line 1835 | do
1835     'void exit (int);'
1836   do
1837    cat >conftest.$ac_ext <<_ACEOF
1838 < /* confdefs.h.  */
1839 < _ACEOF
2573 < cat confdefs.h >>conftest.$ac_ext
2574 < cat >>conftest.$ac_ext <<_ACEOF
2575 < /* end confdefs.h.  */
2576 < $ac_declaration
1838 > #line 1838 "configure"
1839 > #include "confdefs.h"
1840   #include <stdlib.h>
1841 + $ac_declaration
1842   int
1843   main ()
1844   {
# Line 2584 | Line 1848 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1848   }
1849   _ACEOF
1850   rm -f conftest.$ac_objext
1851 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1852 <  (eval $ac_compile) 2>conftest.er1
1851 > if { (eval echo "$as_me:1851: \"$ac_compile\"") >&5
1852 >  (eval $ac_compile) 2>&5
1853    ac_status=$?
1854 <  grep -v '^ *+' conftest.er1 >conftest.err
2591 <  rm -f conftest.er1
2592 <  cat conftest.err >&5
2593 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1854 >  echo "$as_me:1854: \$? = $ac_status" >&5
1855    (exit $ac_status); } &&
1856 <         { ac_try='test -z "$ac_c_werror_flag"
1857 <                         || test ! -s conftest.err'
2597 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1856 >         { ac_try='test -s conftest.$ac_objext'
1857 >  { (eval echo "$as_me:1857: \"$ac_try\"") >&5
1858    (eval $ac_try) 2>&5
1859    ac_status=$?
1860 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 <  (exit $ac_status); }; } &&
2602 <         { ac_try='test -s conftest.$ac_objext'
2603 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2604 <  (eval $ac_try) 2>&5
2605 <  ac_status=$?
2606 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1860 >  echo "$as_me:1860: \$? = $ac_status" >&5
1861    (exit $ac_status); }; }; then
1862    :
1863   else
1864    echo "$as_me: failed program was:" >&5
1865 < sed 's/^/| /' conftest.$ac_ext >&5
2612 <
1865 > cat conftest.$ac_ext >&5
1866   continue
1867   fi
1868 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1868 > rm -f conftest.$ac_objext conftest.$ac_ext
1869    cat >conftest.$ac_ext <<_ACEOF
1870 < /* confdefs.h.  */
1871 < _ACEOF
2619 < cat confdefs.h >>conftest.$ac_ext
2620 < cat >>conftest.$ac_ext <<_ACEOF
2621 < /* end confdefs.h.  */
1870 > #line 1870 "configure"
1871 > #include "confdefs.h"
1872   $ac_declaration
1873   int
1874   main ()
# Line 2629 | Line 1879 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1879   }
1880   _ACEOF
1881   rm -f conftest.$ac_objext
1882 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1883 <  (eval $ac_compile) 2>conftest.er1
1882 > if { (eval echo "$as_me:1882: \"$ac_compile\"") >&5
1883 >  (eval $ac_compile) 2>&5
1884    ac_status=$?
1885 <  grep -v '^ *+' conftest.er1 >conftest.err
2636 <  rm -f conftest.er1
2637 <  cat conftest.err >&5
2638 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1885 >  echo "$as_me:1885: \$? = $ac_status" >&5
1886    (exit $ac_status); } &&
1887 <         { ac_try='test -z "$ac_c_werror_flag"
1888 <                         || test ! -s conftest.err'
2642 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1887 >         { ac_try='test -s conftest.$ac_objext'
1888 >  { (eval echo "$as_me:1888: \"$ac_try\"") >&5
1889    (eval $ac_try) 2>&5
1890    ac_status=$?
1891 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 <  (exit $ac_status); }; } &&
2647 <         { ac_try='test -s conftest.$ac_objext'
2648 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2649 <  (eval $ac_try) 2>&5
2650 <  ac_status=$?
2651 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1891 >  echo "$as_me:1891: \$? = $ac_status" >&5
1892    (exit $ac_status); }; }; then
1893    break
1894   else
1895    echo "$as_me: failed program was:" >&5
1896 < sed 's/^/| /' conftest.$ac_ext >&5
2657 <
1896 > cat conftest.$ac_ext >&5
1897   fi
1898 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1898 > rm -f conftest.$ac_objext conftest.$ac_ext
1899   done
1900 < rm -f conftest*
1901 < if test -n "$ac_declaration"; then
1902 <  echo '#ifdef __cplusplus' >>confdefs.h
2664 <  echo $ac_declaration      >>confdefs.h
2665 <  echo '#endif'             >>confdefs.h
2666 < fi
1900 > echo '#ifdef __cplusplus' >>confdefs.h
1901 > echo $ac_declaration      >>confdefs.h
1902 > echo '#endif'             >>confdefs.h
1903  
1904   else
1905    echo "$as_me: failed program was:" >&5
1906 < sed 's/^/| /' conftest.$ac_ext >&5
2671 <
1906 > cat conftest.$ac_ext >&5
1907   fi
1908 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1908 > rm -f conftest.$ac_objext conftest.$ac_ext
1909   ac_ext=c
1910   ac_cpp='$CPP $CPPFLAGS'
1911   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1912   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1913   ac_compiler_gnu=$ac_cv_c_compiler_gnu
1914  
2680
1915   ac_ext=cc
1916   ac_cpp='$CXXCPP $CPPFLAGS'
1917   ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 2688 | Line 1922 | echo "$as_me:$LINENO: checking for $ac_word" >&5
1922    do
1923      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1924   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1925 < echo "$as_me:$LINENO: checking for $ac_word" >&5
1925 > echo "$as_me:1925: checking for $ac_word" >&5
1926   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1927   if test "${ac_cv_prog_CXX+set}" = set; then
1928    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2696 | Line 1930 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1930    if test -n "$CXX"; then
1931    ac_cv_prog_CXX="$CXX" # Let the user override the test.
1932   else
1933 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1934 < for as_dir in $PATH
1935 < do
1936 <  IFS=$as_save_IFS
1937 <  test -z "$as_dir" && as_dir=.
1938 <  for ac_exec_ext in '' $ac_executable_extensions; do
1939 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1940 <    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1941 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2708 <    break 2
2709 <  fi
2710 < done
1933 >  ac_save_IFS=$IFS; IFS=$ac_path_separator
1934 > ac_dummy="$PATH"
1935 > for ac_dir in $ac_dummy; do
1936 >  IFS=$ac_save_IFS
1937 >  test -z "$ac_dir" && ac_dir=.
1938 >  $as_executable_p "$ac_dir/$ac_word" || continue
1939 > ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1940 > echo "$as_me:1940: found $ac_dir/$ac_word" >&5
1941 > break
1942   done
1943  
1944   fi
1945   fi
1946   CXX=$ac_cv_prog_CXX
1947   if test -n "$CXX"; then
1948 <  echo "$as_me:$LINENO: result: $CXX" >&5
1948 >  echo "$as_me:1948: result: $CXX" >&5
1949   echo "${ECHO_T}$CXX" >&6
1950   else
1951 <  echo "$as_me:$LINENO: result: no" >&5
1951 >  echo "$as_me:1951: result: no" >&5
1952   echo "${ECHO_T}no" >&6
1953   fi
1954  
# Line 2730 | Line 1961 | echo "$as_me:$LINENO: checking for $ac_word" >&5
1961   do
1962    # Extract the first word of "$ac_prog", so it can be a program name with args.
1963   set dummy $ac_prog; ac_word=$2
1964 < echo "$as_me:$LINENO: checking for $ac_word" >&5
1964 > echo "$as_me:1964: checking for $ac_word" >&5
1965   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1966   if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1967    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2738 | Line 1969 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1969    if test -n "$ac_ct_CXX"; then
1970    ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1971   else
1972 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1973 < for as_dir in $PATH
1974 < do
1975 <  IFS=$as_save_IFS
1976 <  test -z "$as_dir" && as_dir=.
1977 <  for ac_exec_ext in '' $ac_executable_extensions; do
1978 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1979 <    ac_cv_prog_ac_ct_CXX="$ac_prog"
1980 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2750 <    break 2
2751 <  fi
1972 >  ac_save_IFS=$IFS; IFS=$ac_path_separator
1973 > ac_dummy="$PATH"
1974 > for ac_dir in $ac_dummy; do
1975 >  IFS=$ac_save_IFS
1976 >  test -z "$ac_dir" && ac_dir=.
1977 >  $as_executable_p "$ac_dir/$ac_word" || continue
1978 > ac_cv_prog_ac_ct_CXX="$ac_prog"
1979 > echo "$as_me:1979: found $ac_dir/$ac_word" >&5
1980 > break
1981   done
2753 done
1982  
1983   fi
1984   fi
1985   ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1986   if test -n "$ac_ct_CXX"; then
1987 <  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1987 >  echo "$as_me:1987: result: $ac_ct_CXX" >&5
1988   echo "${ECHO_T}$ac_ct_CXX" >&6
1989   else
1990 <  echo "$as_me:$LINENO: result: no" >&5
1990 >  echo "$as_me:1990: result: no" >&5
1991   echo "${ECHO_T}no" >&6
1992   fi
1993  
# Line 2770 | Line 1998 | fi
1998    CXX=$ac_ct_CXX
1999   fi
2000  
2001 <
2774 < # Provide some information about the compiler.
2775 < echo "$as_me:$LINENO:" \
2776 <     "checking for C++ compiler version" >&5
2777 < ac_compiler=`set X $ac_compile; echo $2`
2778 < { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2779 <  (eval $ac_compiler --version </dev/null >&5) 2>&5
2780 <  ac_status=$?
2781 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782 <  (exit $ac_status); }
2783 < { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2784 <  (eval $ac_compiler -v </dev/null >&5) 2>&5
2785 <  ac_status=$?
2786 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2787 <  (exit $ac_status); }
2788 < { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2789 <  (eval $ac_compiler -V </dev/null >&5) 2>&5
2790 <  ac_status=$?
2791 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 <  (exit $ac_status); }
2793 <
2794 < echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2001 > echo "$as_me:2001: checking whether we are using the GNU C++ compiler" >&5
2002   echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2003   if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2004    echo $ECHO_N "(cached) $ECHO_C" >&6
2005   else
2006    cat >conftest.$ac_ext <<_ACEOF
2007 < /* confdefs.h.  */
2008 < _ACEOF
2802 < cat confdefs.h >>conftest.$ac_ext
2803 < cat >>conftest.$ac_ext <<_ACEOF
2804 < /* end confdefs.h.  */
2007 > #line 2007 "configure"
2008 > #include "confdefs.h"
2009  
2010   int
2011   main ()
# Line 2815 | Line 2019 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2019   }
2020   _ACEOF
2021   rm -f conftest.$ac_objext
2022 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2023 <  (eval $ac_compile) 2>conftest.er1
2022 > if { (eval echo "$as_me:2022: \"$ac_compile\"") >&5
2023 >  (eval $ac_compile) 2>&5
2024    ac_status=$?
2025 <  grep -v '^ *+' conftest.er1 >conftest.err
2822 <  rm -f conftest.er1
2823 <  cat conftest.err >&5
2824 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2025 >  echo "$as_me:2025: \$? = $ac_status" >&5
2026    (exit $ac_status); } &&
2027 <         { ac_try='test -z "$ac_cxx_werror_flag"
2028 <                         || test ! -s conftest.err'
2828 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2027 >         { ac_try='test -s conftest.$ac_objext'
2028 >  { (eval echo "$as_me:2028: \"$ac_try\"") >&5
2029    (eval $ac_try) 2>&5
2030    ac_status=$?
2031 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 <  (exit $ac_status); }; } &&
2833 <         { ac_try='test -s conftest.$ac_objext'
2834 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2835 <  (eval $ac_try) 2>&5
2836 <  ac_status=$?
2837 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2031 >  echo "$as_me:2031: \$? = $ac_status" >&5
2032    (exit $ac_status); }; }; then
2033    ac_compiler_gnu=yes
2034   else
2035    echo "$as_me: failed program was:" >&5
2036 < sed 's/^/| /' conftest.$ac_ext >&5
2843 <
2036 > cat conftest.$ac_ext >&5
2037   ac_compiler_gnu=no
2038   fi
2039 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2039 > rm -f conftest.$ac_objext conftest.$ac_ext
2040   ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2041  
2042   fi
2043 < echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2043 > echo "$as_me:2043: result: $ac_cv_cxx_compiler_gnu" >&5
2044   echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2045   GXX=`test $ac_compiler_gnu = yes && echo yes`
2046   ac_test_CXXFLAGS=${CXXFLAGS+set}
2047   ac_save_CXXFLAGS=$CXXFLAGS
2048   CXXFLAGS="-g"
2049 < echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2049 > echo "$as_me:2049: checking whether $CXX accepts -g" >&5
2050   echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2051   if test "${ac_cv_prog_cxx_g+set}" = set; then
2052    echo $ECHO_N "(cached) $ECHO_C" >&6
2053   else
2054    cat >conftest.$ac_ext <<_ACEOF
2055 < /* confdefs.h.  */
2056 < _ACEOF
2864 < cat confdefs.h >>conftest.$ac_ext
2865 < cat >>conftest.$ac_ext <<_ACEOF
2866 < /* end confdefs.h.  */
2055 > #line 2055 "configure"
2056 > #include "confdefs.h"
2057  
2058   int
2059   main ()
# Line 2874 | Line 2064 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2064   }
2065   _ACEOF
2066   rm -f conftest.$ac_objext
2067 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2068 <  (eval $ac_compile) 2>conftest.er1
2067 > if { (eval echo "$as_me:2067: \"$ac_compile\"") >&5
2068 >  (eval $ac_compile) 2>&5
2069    ac_status=$?
2070 <  grep -v '^ *+' conftest.er1 >conftest.err
2881 <  rm -f conftest.er1
2882 <  cat conftest.err >&5
2883 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2070 >  echo "$as_me:2070: \$? = $ac_status" >&5
2071    (exit $ac_status); } &&
2072 <         { ac_try='test -z "$ac_cxx_werror_flag"
2073 <                         || test ! -s conftest.err'
2887 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2072 >         { ac_try='test -s conftest.$ac_objext'
2073 >  { (eval echo "$as_me:2073: \"$ac_try\"") >&5
2074    (eval $ac_try) 2>&5
2075    ac_status=$?
2076 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891 <  (exit $ac_status); }; } &&
2892 <         { ac_try='test -s conftest.$ac_objext'
2893 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2894 <  (eval $ac_try) 2>&5
2895 <  ac_status=$?
2896 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2076 >  echo "$as_me:2076: \$? = $ac_status" >&5
2077    (exit $ac_status); }; }; then
2078    ac_cv_prog_cxx_g=yes
2079   else
2080    echo "$as_me: failed program was:" >&5
2081 < sed 's/^/| /' conftest.$ac_ext >&5
2902 <
2081 > cat conftest.$ac_ext >&5
2082   ac_cv_prog_cxx_g=no
2083   fi
2084 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2084 > rm -f conftest.$ac_objext conftest.$ac_ext
2085   fi
2086 < echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2086 > echo "$as_me:2086: result: $ac_cv_prog_cxx_g" >&5
2087   echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2088   if test "$ac_test_CXXFLAGS" = set; then
2089    CXXFLAGS=$ac_save_CXXFLAGS
# Line 2922 | Line 2101 | for ac_declaration in \
2101    fi
2102   fi
2103   for ac_declaration in \
2104 <   '' \
2104 >   ''\
2105 >   '#include <stdlib.h>' \
2106     'extern "C" void std::exit (int) throw (); using std::exit;' \
2107     'extern "C" void std::exit (int); using std::exit;' \
2108     'extern "C" void exit (int) throw ();' \
# Line 2930 | Line 2110 | do
2110     'void exit (int);'
2111   do
2112    cat >conftest.$ac_ext <<_ACEOF
2113 < /* confdefs.h.  */
2114 < _ACEOF
2935 < cat confdefs.h >>conftest.$ac_ext
2936 < cat >>conftest.$ac_ext <<_ACEOF
2937 < /* end confdefs.h.  */
2938 < $ac_declaration
2113 > #line 2113 "configure"
2114 > #include "confdefs.h"
2115   #include <stdlib.h>
2116 + $ac_declaration
2117   int
2118   main ()
2119   {
# Line 2946 | Line 2123 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2123   }
2124   _ACEOF
2125   rm -f conftest.$ac_objext
2126 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2127 <  (eval $ac_compile) 2>conftest.er1
2126 > if { (eval echo "$as_me:2126: \"$ac_compile\"") >&5
2127 >  (eval $ac_compile) 2>&5
2128    ac_status=$?
2129 <  grep -v '^ *+' conftest.er1 >conftest.err
2953 <  rm -f conftest.er1
2954 <  cat conftest.err >&5
2955 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2129 >  echo "$as_me:2129: \$? = $ac_status" >&5
2130    (exit $ac_status); } &&
2131 <         { ac_try='test -z "$ac_cxx_werror_flag"
2132 <                         || test ! -s conftest.err'
2959 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2131 >         { ac_try='test -s conftest.$ac_objext'
2132 >  { (eval echo "$as_me:2132: \"$ac_try\"") >&5
2133    (eval $ac_try) 2>&5
2134    ac_status=$?
2135 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 <  (exit $ac_status); }; } &&
2964 <         { ac_try='test -s conftest.$ac_objext'
2965 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2966 <  (eval $ac_try) 2>&5
2967 <  ac_status=$?
2968 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135 >  echo "$as_me:2135: \$? = $ac_status" >&5
2136    (exit $ac_status); }; }; then
2137    :
2138   else
2139    echo "$as_me: failed program was:" >&5
2140 < sed 's/^/| /' conftest.$ac_ext >&5
2974 <
2140 > cat conftest.$ac_ext >&5
2141   continue
2142   fi
2143 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2143 > rm -f conftest.$ac_objext conftest.$ac_ext
2144    cat >conftest.$ac_ext <<_ACEOF
2145 < /* confdefs.h.  */
2146 < _ACEOF
2981 < cat confdefs.h >>conftest.$ac_ext
2982 < cat >>conftest.$ac_ext <<_ACEOF
2983 < /* end confdefs.h.  */
2145 > #line 2145 "configure"
2146 > #include "confdefs.h"
2147   $ac_declaration
2148   int
2149   main ()
# Line 2991 | Line 2154 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2154   }
2155   _ACEOF
2156   rm -f conftest.$ac_objext
2157 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2158 <  (eval $ac_compile) 2>conftest.er1
2157 > if { (eval echo "$as_me:2157: \"$ac_compile\"") >&5
2158 >  (eval $ac_compile) 2>&5
2159    ac_status=$?
2160 <  grep -v '^ *+' conftest.er1 >conftest.err
2998 <  rm -f conftest.er1
2999 <  cat conftest.err >&5
3000 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 >  echo "$as_me:2160: \$? = $ac_status" >&5
2161    (exit $ac_status); } &&
2162 <         { ac_try='test -z "$ac_cxx_werror_flag"
2163 <                         || test ! -s conftest.err'
3004 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2162 >         { ac_try='test -s conftest.$ac_objext'
2163 >  { (eval echo "$as_me:2163: \"$ac_try\"") >&5
2164    (eval $ac_try) 2>&5
2165    ac_status=$?
2166 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 <  (exit $ac_status); }; } &&
3009 <         { ac_try='test -s conftest.$ac_objext'
3010 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3011 <  (eval $ac_try) 2>&5
3012 <  ac_status=$?
3013 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2166 >  echo "$as_me:2166: \$? = $ac_status" >&5
2167    (exit $ac_status); }; }; then
2168    break
2169   else
2170    echo "$as_me: failed program was:" >&5
2171 < sed 's/^/| /' conftest.$ac_ext >&5
3019 <
2171 > cat conftest.$ac_ext >&5
2172   fi
2173 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2173 > rm -f conftest.$ac_objext conftest.$ac_ext
2174   done
2175 < rm -f conftest*
2176 < if test -n "$ac_declaration"; then
2177 <  echo '#ifdef __cplusplus' >>confdefs.h
3026 <  echo $ac_declaration      >>confdefs.h
3027 <  echo '#endif'             >>confdefs.h
3028 < fi
2175 > echo '#ifdef __cplusplus' >>confdefs.h
2176 > echo $ac_declaration      >>confdefs.h
2177 > echo '#endif'             >>confdefs.h
2178  
2179   ac_ext=c
2180   ac_cpp='$CPP $CPPFLAGS'
# Line 3033 | Line 2182 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
2182   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2183   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2184  
3036
2185   OOPSE_TEMPLATE_FLAGS=""
2186   if test $ac_cv_cxx_compiler_gnu = no; then
2187 <  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5
2187 >  echo "$as_me:2187: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5
2188   echo $ECHO_N "checking checking whether ${CXX} accepts -ptused -no_prelink... $ECHO_C" >&6
2189    echo 'void f(){}' > conftest.cc
2190    if test -z "`${CXX} -ptused -no_prelink -c conftest.cc 2>&1`"; then
2191 <    echo "$as_me:$LINENO: result: yes" >&5
2191 >    echo "$as_me:2191: result: yes" >&5
2192   echo "${ECHO_T}yes" >&6
2193      OOPSE_TEMPLATE_FLAGS="-ptused -no_prelink"
2194    else
2195 <    echo "$as_me:$LINENO: result: no" >&5
2195 >    echo "$as_me:2195: result: no" >&5
2196   echo "${ECHO_T}no" >&6
2197    fi
2198    rm -f conftest*
2199 <  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -instances=static" >&5
2199 >  echo "$as_me:2199: checking checking whether ${CXX} accepts -instances=static" >&5
2200   echo $ECHO_N "checking checking whether ${CXX} accepts -instances=static... $ECHO_C" >&6
2201    echo 'void f(){}' > conftest.cc
2202    if test -z "`${CXX} -instances=static -c conftest.cc 2>&1`"; then
2203 <    echo "$as_me:$LINENO: result: yes" >&5
2203 >    echo "$as_me:2203: result: yes" >&5
2204   echo "${ECHO_T}yes" >&6
2205      OOPSE_TEMPLATE_FLAGS="-instances=static"
2206    else
2207 <    echo "$as_me:$LINENO: result: no" >&5
2207 >    echo "$as_me:2207: result: no" >&5
2208   echo "${ECHO_T}no" >&6
2209    fi
2210    rm -f conftest*
2211 <  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -pto" >&5
2211 >  echo "$as_me:2211: checking checking whether ${CXX} accepts -pto" >&5
2212   echo $ECHO_N "checking checking whether ${CXX} accepts -pto... $ECHO_C" >&6
2213    echo 'void f(){}' > conftest.cc
2214    if test -z "`${CXX} -pto -c conftest.cc 2>&1`"; then
2215 <    echo "$as_me:$LINENO: result: yes" >&5
2215 >    echo "$as_me:2215: result: yes" >&5
2216   echo "${ECHO_T}yes" >&6
2217      OOPSE_TEMPLATE_FLAGS="-pto"
2218    else
2219 <    echo "$as_me:$LINENO: result: no" >&5
2219 >    echo "$as_me:2219: result: no" >&5
2220   echo "${ECHO_T}no" >&6
2221    fi
2222    rm -f conftest*
2223 <  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -LANG:std" >&5
2223 >  echo "$as_me:2223: checking checking whether ${CXX} accepts -LANG:std" >&5
2224   echo $ECHO_N "checking checking whether ${CXX} accepts -LANG:std... $ECHO_C" >&6
2225    echo 'void f(){}' > conftest.cc
2226    if test -z "`${CXX} -LANG:std -c conftest.cc 2>&1`"; then
2227 <    echo "$as_me:$LINENO: result: yes" >&5
2227 >    echo "$as_me:2227: result: yes" >&5
2228   echo "${ECHO_T}yes" >&6
2229  
3082
2230      EXTRA_CC_FLAG=${EXTRA_CC_FLAG}" -LANG:std"
2231    else
2232 <    echo "$as_me:$LINENO: result: no" >&5
2232 >    echo "$as_me:2232: result: no" >&5
2233   echo "${ECHO_T}no" >&6
2234    fi
2235   fi
2236  
3090
3091
3092
2237   ac_ext=f90
2238   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
2239   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 3099 | Line 2243 | echo "$as_me:$LINENO: checking for $ac_word" >&5
2243    do
2244      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2245   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2246 < echo "$as_me:$LINENO: checking for $ac_word" >&5
2246 > echo "$as_me:2246: checking for $ac_word" >&5
2247   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2248   if test "${ac_cv_prog_F90+set}" = set; then
2249    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3107 | Line 2251 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251    if test -n "$F90"; then
2252    ac_cv_prog_F90="$F90" # Let the user override the test.
2253   else
2254 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2255 < for as_dir in $PATH
2256 < do
2257 <  IFS=$as_save_IFS
2258 <  test -z "$as_dir" && as_dir=.
2259 <  for ac_exec_ext in '' $ac_executable_extensions; do
2260 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2261 <    ac_cv_prog_F90="$ac_tool_prefix$ac_prog"
2262 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3119 <    break 2
3120 <  fi
3121 < done
2254 >  ac_save_IFS=$IFS; IFS=$ac_path_separator
2255 > ac_dummy="$PATH"
2256 > for ac_dir in $ac_dummy; do
2257 >  IFS=$ac_save_IFS
2258 >  test -z "$ac_dir" && ac_dir=.
2259 >  $as_executable_p "$ac_dir/$ac_word" || continue
2260 > ac_cv_prog_F90="$ac_tool_prefix$ac_prog"
2261 > echo "$as_me:2261: found $ac_dir/$ac_word" >&5
2262 > break
2263   done
2264  
2265   fi
2266   fi
2267   F90=$ac_cv_prog_F90
2268   if test -n "$F90"; then
2269 <  echo "$as_me:$LINENO: result: $F90" >&5
2269 >  echo "$as_me:2269: result: $F90" >&5
2270   echo "${ECHO_T}$F90" >&6
2271   else
2272 <  echo "$as_me:$LINENO: result: no" >&5
2272 >  echo "$as_me:2272: result: no" >&5
2273   echo "${ECHO_T}no" >&6
2274   fi
2275  
# Line 3141 | Line 2282 | echo "$as_me:$LINENO: checking for $ac_word" >&5
2282   do
2283    # Extract the first word of "$ac_prog", so it can be a program name with args.
2284   set dummy $ac_prog; ac_word=$2
2285 < echo "$as_me:$LINENO: checking for $ac_word" >&5
2285 > echo "$as_me:2285: checking for $ac_word" >&5
2286   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2287   if test "${ac_cv_prog_ac_ct_F90+set}" = set; then
2288    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3149 | Line 2290 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2290    if test -n "$ac_ct_F90"; then
2291    ac_cv_prog_ac_ct_F90="$ac_ct_F90" # Let the user override the test.
2292   else
2293 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294 < for as_dir in $PATH
2295 < do
2296 <  IFS=$as_save_IFS
2297 <  test -z "$as_dir" && as_dir=.
2298 <  for ac_exec_ext in '' $ac_executable_extensions; do
2299 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2300 <    ac_cv_prog_ac_ct_F90="$ac_prog"
2301 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3161 <    break 2
3162 <  fi
2293 >  ac_save_IFS=$IFS; IFS=$ac_path_separator
2294 > ac_dummy="$PATH"
2295 > for ac_dir in $ac_dummy; do
2296 >  IFS=$ac_save_IFS
2297 >  test -z "$ac_dir" && ac_dir=.
2298 >  $as_executable_p "$ac_dir/$ac_word" || continue
2299 > ac_cv_prog_ac_ct_F90="$ac_prog"
2300 > echo "$as_me:2300: found $ac_dir/$ac_word" >&5
2301 > break
2302   done
3164 done
2303  
2304   fi
2305   fi
2306   ac_ct_F90=$ac_cv_prog_ac_ct_F90
2307   if test -n "$ac_ct_F90"; then
2308 <  echo "$as_me:$LINENO: result: $ac_ct_F90" >&5
2308 >  echo "$as_me:2308: result: $ac_ct_F90" >&5
2309   echo "${ECHO_T}$ac_ct_F90" >&6
2310   else
2311 <  echo "$as_me:$LINENO: result: no" >&5
2311 >  echo "$as_me:2311: result: no" >&5
2312   echo "${ECHO_T}no" >&6
2313   fi
2314  
# Line 3180 | Line 2318 | fi
2318    F90=$ac_ct_F90
2319   fi
2320  
3183
2321   # If we don't use `.F90' as extension, the preprocessor is not run on the
2322   # input file.
2323   ac_save_ext=$ac_ext
2324   ac_ext=F90
2325 < echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 90 compiler" >&5
2325 > echo "$as_me:2325: checking whether we are using the GNU Fortran 90 compiler" >&5
2326   echo $ECHO_N "checking whether we are using the GNU Fortran 90 compiler... $ECHO_C" >&6
2327   if test "${ac_cv_f90_compiler_gnu+set}" = set; then
2328    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3202 | Line 2339 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2339  
2340   _ACEOF
2341   rm -f conftest.$ac_objext
2342 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2343 <  (eval $ac_compile) 2>conftest.er1
2342 > if { (eval echo "$as_me:2342: \"$ac_compile\"") >&5
2343 >  (eval $ac_compile) 2>&5
2344    ac_status=$?
2345 <  grep -v '^ *+' conftest.er1 >conftest.err
3209 <  rm -f conftest.er1
3210 <  cat conftest.err >&5
3211 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345 >  echo "$as_me:2345: \$? = $ac_status" >&5
2346    (exit $ac_status); } &&
2347 <         { ac_try='test -z "$ac_f90_werror_flag"
2348 <                         || test ! -s conftest.err'
3215 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2347 >         { ac_try='test -s conftest.$ac_objext'
2348 >  { (eval echo "$as_me:2348: \"$ac_try\"") >&5
2349    (eval $ac_try) 2>&5
2350    ac_status=$?
2351 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3219 <  (exit $ac_status); }; } &&
3220 <         { ac_try='test -s conftest.$ac_objext'
3221 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3222 <  (eval $ac_try) 2>&5
3223 <  ac_status=$?
3224 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2351 >  echo "$as_me:2351: \$? = $ac_status" >&5
2352    (exit $ac_status); }; }; then
2353    ac_compiler_gnu=yes
2354   else
2355    echo "$as_me: failed program was:" >&5
2356 < sed 's/^/| /' conftest.$ac_ext >&5
3230 <
2356 > cat conftest.$ac_ext >&5
2357   ac_compiler_gnu=no
2358   fi
2359 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2359 > rm -f conftest.$ac_objext conftest.$ac_ext
2360   ac_cv_f90_compiler_gnu=$ac_compiler_gnu
2361  
2362   fi
2363 < echo "$as_me:$LINENO: result: $ac_cv_f90_compiler_gnu" >&5
2363 > echo "$as_me:2363: result: $ac_cv_f90_compiler_gnu" >&5
2364   echo "${ECHO_T}$ac_cv_f90_compiler_gnu" >&6
2365   ac_ext=$ac_save_ext
2366   G95=`test $ac_compiler_gnu = yes && echo yes`
# Line 3244 | Line 2370 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
2370   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2371   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2372  
3247
3248
3249
3250
2373   # Try to determine native compiler flags that allow us to use F90 suffix
2374   # for preprocessed f90 source.
2375  
# Line 3268 | Line 2390 | if test "$ac_test_PREPFLAG" != "set"; then
2390    esac
2391  
2392    if test -z "$PREPFLAG"; then
2393 <        { echo "$as_me:$LINENO: WARNING: \"Using empty PREPFLAG\"" >&5
2393 >        { echo "$as_me:2393: WARNING: \"Using empty PREPFLAG\"" >&5
2394   echo "$as_me: WARNING: \"Using empty PREPFLAG\"" >&2;}
2395          PREPFLAG=""
2396    fi
2397  
2398 <  echo "$as_me:$LINENO: checking to make sure F90 preprocessor flag works" >&5
2398 >  echo "$as_me:2398: checking to make sure F90 preprocessor flag works" >&5
2399   echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6
2400  
3279
2401    ac_ext=f90
2402   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
2403   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 3292 | Line 2413 | fi
2413  
2414      cat >conftest.$ac_ext <<_ACEOF
2415  
3295
2416   program main
2417  
2418    integer :: i
2419    i = 1
2420  
3301
2421   end program main
2422  
2423   _ACEOF
2424   rm -f conftest.$ac_objext
2425 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2426 <  (eval $ac_compile) 2>conftest.er1
2425 > if { (eval echo "$as_me:2425: \"$ac_compile\"") >&5
2426 >  (eval $ac_compile) 2>&5
2427    ac_status=$?
2428 <  grep -v '^ *+' conftest.er1 >conftest.err
3310 <  rm -f conftest.er1
3311 <  cat conftest.err >&5
3312 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428 >  echo "$as_me:2428: \$? = $ac_status" >&5
2429    (exit $ac_status); } &&
2430 <         { ac_try='test -z "$ac_f90_werror_flag"
2431 <                         || test ! -s conftest.err'
3316 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2430 >         { ac_try='test -s conftest.$ac_objext'
2431 >  { (eval echo "$as_me:2431: \"$ac_try\"") >&5
2432    (eval $ac_try) 2>&5
2433    ac_status=$?
2434 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 <  (exit $ac_status); }; } &&
3321 <         { ac_try='test -s conftest.$ac_objext'
3322 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3323 <  (eval $ac_try) 2>&5
3324 <  ac_status=$?
3325 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2434 >  echo "$as_me:2434: \$? = $ac_status" >&5
2435    (exit $ac_status); }; }; then
2436    prepflagworks=1
2437   else
2438    echo "$as_me: failed program was:" >&5
2439 < sed 's/^/| /' conftest.$ac_ext >&5
3331 <
2439 > cat conftest.$ac_ext >&5
2440   prepflagworks=0
2441   fi
2442 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2442 > rm -f conftest.$ac_objext conftest.$ac_ext
2443  
2444    F90FLAGS=$ac_save_F90FLAGS
2445    ac_ext=$ac_save_ext
# Line 3341 | Line 2449 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
2449   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2450   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2451  
3344
2452    if test "$prepflagworks" = 1; then
2453 <    echo "$as_me:$LINENO: result: yes" >&5
2453 >    echo "$as_me:2453: result: yes" >&5
2454   echo "${ECHO_T}yes" >&6
2455  
2456    else
2457 <    echo "$as_me:$LINENO: result: no" >&5
2457 >    echo "$as_me:2457: result: no" >&5
2458   echo "${ECHO_T}no" >&6
2459 <    { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor flag" >&5
2459 >    { { echo "$as_me:2459: error: Can't figure out working Fortran90 preprocessor flag" >&5
2460   echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;}
2461     { (exit 1); exit 1; }; }
2462    fi
2463   fi
2464  
3358
3359
3360
3361
2465   # Try to determine native compiler flags that allow us to use F90 suffix
2466   # for preprocessed f90 source with -D type defines
2467  
# Line 3379 | Line 2482 | if test "$ac_test_PREPDEFFLAG" != "set"; then
2482    esac
2483  
2484    if test -z "$PREPDEFFLAG"; then
2485 <        { echo "$as_me:$LINENO: WARNING: \"Using empty PREPDEFFLAG\"" >&5
2485 >        { echo "$as_me:2485: WARNING: \"Using empty PREPDEFFLAG\"" >&5
2486   echo "$as_me: WARNING: \"Using empty PREPDEFFLAG\"" >&2;}
2487          PREPDEFFLAG=" "
2488    fi
2489  
2490 <  echo "$as_me:$LINENO: checking to make sure F90 preprocessor define flag works" >&5
2490 >  echo "$as_me:2490: checking to make sure F90 preprocessor define flag works" >&5
2491   echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6
2492  
3390
2493    ac_ext=f90
2494   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
2495   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 3403 | Line 2505 | fi
2505  
2506      cat >conftest.$ac_ext <<_ACEOF
2507  
3406
2508   program main
2509  
2510    integer :: i
# Line 3413 | Line 2514 | program main
2514    choke me
2515   #endif
2516  
3416
2517   end program main
2518  
2519   _ACEOF
2520   rm -f conftest.$ac_objext
2521 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2522 <  (eval $ac_compile) 2>conftest.er1
2521 > if { (eval echo "$as_me:2521: \"$ac_compile\"") >&5
2522 >  (eval $ac_compile) 2>&5
2523    ac_status=$?
2524 <  grep -v '^ *+' conftest.er1 >conftest.err
3425 <  rm -f conftest.er1
3426 <  cat conftest.err >&5
3427 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524 >  echo "$as_me:2524: \$? = $ac_status" >&5
2525    (exit $ac_status); } &&
2526 <         { ac_try='test -z "$ac_f90_werror_flag"
2527 <                         || test ! -s conftest.err'
3431 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2526 >         { ac_try='test -s conftest.$ac_objext'
2527 >  { (eval echo "$as_me:2527: \"$ac_try\"") >&5
2528    (eval $ac_try) 2>&5
2529    ac_status=$?
2530 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3435 <  (exit $ac_status); }; } &&
3436 <         { ac_try='test -s conftest.$ac_objext'
3437 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3438 <  (eval $ac_try) 2>&5
3439 <  ac_status=$?
3440 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2530 >  echo "$as_me:2530: \$? = $ac_status" >&5
2531    (exit $ac_status); }; }; then
2532    prepdefflagworks=1
2533   else
2534    echo "$as_me: failed program was:" >&5
2535 < sed 's/^/| /' conftest.$ac_ext >&5
3446 <
2535 > cat conftest.$ac_ext >&5
2536   prepdefflagworks=0
2537   fi
2538 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2538 > rm -f conftest.$ac_objext conftest.$ac_ext
2539  
2540    F90FLAGS=$ac_save_F90FLAGS
2541    ac_ext=$ac_save_ext
# Line 3456 | Line 2545 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
2545   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2546   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2547  
3459
3460
2548    if test "$prepdefflagworks" = 1; then
2549 <    echo "$as_me:$LINENO: result: yes" >&5
2549 >    echo "$as_me:2549: result: yes" >&5
2550   echo "${ECHO_T}yes" >&6
2551  
2552    else
2553 <    echo "$as_me:$LINENO: result: no" >&5
2553 >    echo "$as_me:2553: result: no" >&5
2554   echo "${ECHO_T}no" >&6
2555 <    { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor define flag" >&5
2555 >    { { echo "$as_me:2555: error: Can't figure out working Fortran90 preprocessor define flag" >&5
2556   echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;}
2557     { (exit 1); exit 1; }; }
2558    fi
# Line 3476 | Line 2563 | ac_compiler_gnu=$ac_cv_f90_compiler_gnu
2563   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2564   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
2565  
3479
3480
2566   ac_ext=f90
2567   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
2568   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2569   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
2570 < echo "$as_me:$LINENO: checking how to get verbose linking output from $F90" >&5
2570 > echo "$as_me:2570: checking how to get verbose linking output from $F90" >&5
2571   echo $ECHO_N "checking how to get verbose linking output from $F90... $ECHO_C" >&6
2572   if test "${ac_cv_prog_f90_v+set}" = set; then
2573    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3492 | Line 2577 | program main
2577  
2578   program main
2579  
3495
2580   end program main
2581  
2582   _ACEOF
2583   rm -f conftest.$ac_objext
2584 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2585 <  (eval $ac_compile) 2>conftest.er1
2584 > if { (eval echo "$as_me:2584: \"$ac_compile\"") >&5
2585 >  (eval $ac_compile) 2>&5
2586    ac_status=$?
2587 <  grep -v '^ *+' conftest.er1 >conftest.err
3504 <  rm -f conftest.er1
3505 <  cat conftest.err >&5
3506 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 >  echo "$as_me:2587: \$? = $ac_status" >&5
2588    (exit $ac_status); } &&
2589 <         { ac_try='test -z "$ac_f90_werror_flag"
2590 <                         || test ! -s conftest.err'
3510 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2589 >         { ac_try='test -s conftest.$ac_objext'
2590 >  { (eval echo "$as_me:2590: \"$ac_try\"") >&5
2591    (eval $ac_try) 2>&5
2592    ac_status=$?
2593 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514 <  (exit $ac_status); }; } &&
3515 <         { ac_try='test -s conftest.$ac_objext'
3516 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3517 <  (eval $ac_try) 2>&5
3518 <  ac_status=$?
3519 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 >  echo "$as_me:2593: \$? = $ac_status" >&5
2594    (exit $ac_status); }; }; then
2595    ac_cv_prog_f90_v=
2596   # Try some options frequently used verbose output
# Line 3530 | Line 2604 | program main
2604  
2605   program main
2606  
3533
2607   end program main
2608  
2609   _ACEOF
# Line 3542 | Line 2615 | F90FLAGS="$F90FLAGS $ac_verb"
2615   ac_save_F90FLAGS=$F90FLAGS
2616   F90FLAGS="$F90FLAGS $ac_verb"
2617  
2618 < (eval echo $as_me:3545: \"$ac_link\") >&5
2618 > (eval echo $as_me:2618: \"$ac_link\") >&5
2619   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
2620   echo "$ac_f90_v_output" >&5
2621   F90FLAGS=$ac_save_F90FLAGS
# Line 3574 | Line 2647 | if test -z "$ac_cv_prog_f90_v"; then
2647    done
2648   done
2649   if test -z "$ac_cv_prog_f90_v"; then
2650 <   { echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $F90" >&5
2650 >   { echo "$as_me:2650: WARNING: cannot determine how to obtain linking information from $F90" >&5
2651   echo "$as_me: WARNING: cannot determine how to obtain linking information from $F90" >&2;}
2652   fi
2653   else
2654    echo "$as_me: failed program was:" >&5
2655 < sed 's/^/| /' conftest.$ac_ext >&5
2656 <
3584 < { echo "$as_me:$LINENO: WARNING: compilation failed" >&5
2655 > cat conftest.$ac_ext >&5
2656 > { echo "$as_me:2656: WARNING: compilation failed" >&5
2657   echo "$as_me: WARNING: compilation failed" >&2;}
2658   fi
2659 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2659 > rm -f conftest.$ac_objext conftest.$ac_ext
2660  
2661   fi
2662 < echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5
2662 > echo "$as_me:2662: result: $ac_cv_prog_f90_v" >&5
2663   echo "${ECHO_T}$ac_cv_prog_f90_v" >&6
2664 < echo "$as_me:$LINENO: checking for Fortran 90 libraries" >&5
2664 > echo "$as_me:2664: checking for Fortran 90 libraries" >&5
2665   echo $ECHO_N "checking for Fortran 90 libraries... $ECHO_C" >&6
2666   if test "${ac_cv_flibs+set}" = set; then
2667    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3607 | Line 2679 | program main
2679  
2680   program main
2681  
3610
2682   end program main
2683  
2684   _ACEOF
# Line 3619 | Line 2690 | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
2690   ac_save_F90FLAGS=$F90FLAGS
2691   F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
2692  
2693 < (eval echo $as_me:3622: \"$ac_link\") >&5
2693 > (eval echo $as_me:2693: \"$ac_link\") >&5
2694   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
2695   echo "$ac_f90_v_output" >&5
2696   F90FLAGS=$ac_save_F90FLAGS
# Line 3772 | Line 2843 | echo "$as_me:$LINENO: result: $ac_cv_flibs" >&5
2843   fi # test "x$F90LIBS" = "x"
2844  
2845   fi
2846 < echo "$as_me:$LINENO: result: $ac_cv_flibs" >&5
2846 > echo "$as_me:2846: result: $ac_cv_flibs" >&5
2847   echo "${ECHO_T}$ac_cv_flibs" >&6
2848   F90LIBS="$ac_cv_f90libs"
2849  
# Line 3781 | Line 2852 | ac_compiler_gnu=$ac_cv_f90_compiler_gnu
2852   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2853   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
2854  
2855 <
3785 < echo "$as_me:$LINENO: checking for Fortran 90 name-mangling scheme" >&5
2855 > echo "$as_me:2855: checking for Fortran 90 name-mangling scheme" >&5
2856   echo $ECHO_N "checking for Fortran 90 name-mangling scheme... $ECHO_C" >&6
2857   if test "${ac_cv_f90_mangling+set}" = set; then
2858    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3800 | Line 2870 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2870   end
2871   _ACEOF
2872   rm -f conftest.$ac_objext
2873 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2874 <  (eval $ac_compile) 2>conftest.er1
2873 > if { (eval echo "$as_me:2873: \"$ac_compile\"") >&5
2874 >  (eval $ac_compile) 2>&5
2875    ac_status=$?
2876 <  grep -v '^ *+' conftest.er1 >conftest.err
3807 <  rm -f conftest.er1
3808 <  cat conftest.err >&5
3809 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 >  echo "$as_me:2876: \$? = $ac_status" >&5
2877    (exit $ac_status); } &&
2878 <         { ac_try='test -z "$ac_f90_werror_flag"
2879 <                         || test ! -s conftest.err'
3813 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2878 >         { ac_try='test -s conftest.$ac_objext'
2879 >  { (eval echo "$as_me:2879: \"$ac_try\"") >&5
2880    (eval $ac_try) 2>&5
2881    ac_status=$?
2882 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817 <  (exit $ac_status); }; } &&
3818 <         { ac_try='test -s conftest.$ac_objext'
3819 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3820 <  (eval $ac_try) 2>&5
3821 <  ac_status=$?
3822 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 >  echo "$as_me:2882: \$? = $ac_status" >&5
2883    (exit $ac_status); }; }; then
2884    mv conftest.$ac_objext cf90_test.$ac_objext
2885  
# Line 3837 | Line 2897 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
2897      for ac_underscore in "" "_"; do
2898        ac_func="$ac_foobar$ac_underscore"
2899        cat >conftest.$ac_ext <<_ACEOF
2900 < /* confdefs.h.  */
2901 < _ACEOF
3842 < cat confdefs.h >>conftest.$ac_ext
3843 < cat >>conftest.$ac_ext <<_ACEOF
3844 < /* end confdefs.h.  */
2900 > #line 2900 "configure"
2901 > #include "confdefs.h"
2902  
2903   /* Override any gcc2 internal prototype to avoid an error.  */
2904   #ifdef __cplusplus
# Line 3859 | Line 2916 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2916   }
2917   _ACEOF
2918   rm -f conftest.$ac_objext conftest$ac_exeext
2919 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2920 <  (eval $ac_link) 2>conftest.er1
2919 > if { (eval echo "$as_me:2919: \"$ac_link\"") >&5
2920 >  (eval $ac_link) 2>&5
2921    ac_status=$?
2922 <  grep -v '^ *+' conftest.er1 >conftest.err
3866 <  rm -f conftest.er1
3867 <  cat conftest.err >&5
3868 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 >  echo "$as_me:2922: \$? = $ac_status" >&5
2923    (exit $ac_status); } &&
2924 <         { ac_try='test -z "$ac_c_werror_flag"
2925 <                         || test ! -s conftest.err'
3872 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2924 >         { ac_try='test -s conftest$ac_exeext'
2925 >  { (eval echo "$as_me:2925: \"$ac_try\"") >&5
2926    (eval $ac_try) 2>&5
2927    ac_status=$?
2928 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 <  (exit $ac_status); }; } &&
3877 <         { ac_try='test -s conftest$ac_exeext'
3878 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3879 <  (eval $ac_try) 2>&5
3880 <  ac_status=$?
3881 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928 >  echo "$as_me:2928: \$? = $ac_status" >&5
2929    (exit $ac_status); }; }; then
2930    ac_success=yes; break 2
2931   else
2932    echo "$as_me: failed program was:" >&5
2933 < sed 's/^/| /' conftest.$ac_ext >&5
3887 <
2933 > cat conftest.$ac_ext >&5
2934   fi
2935 < rm -f conftest.err conftest.$ac_objext \
3890 <      conftest$ac_exeext conftest.$ac_ext
2935 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2936      done
2937    done
2938  
# Line 3908 | Line 2953 | rm -f conftest.err conftest.$ac_objext \
2953          ac_func="$ac_foo_bar$ac_underscore$ac_extra"
2954  
2955          cat >conftest.$ac_ext <<_ACEOF
2956 < /* confdefs.h.  */
2957 < _ACEOF
3913 < cat confdefs.h >>conftest.$ac_ext
3914 < cat >>conftest.$ac_ext <<_ACEOF
3915 < /* end confdefs.h.  */
2956 > #line 2956 "configure"
2957 > #include "confdefs.h"
2958  
2959   /* Override any gcc2 internal prototype to avoid an error.  */
2960   #ifdef __cplusplus
# Line 3930 | Line 2972 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2972   }
2973   _ACEOF
2974   rm -f conftest.$ac_objext conftest$ac_exeext
2975 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2976 <  (eval $ac_link) 2>conftest.er1
2975 > if { (eval echo "$as_me:2975: \"$ac_link\"") >&5
2976 >  (eval $ac_link) 2>&5
2977    ac_status=$?
2978 <  grep -v '^ *+' conftest.er1 >conftest.err
3937 <  rm -f conftest.er1
3938 <  cat conftest.err >&5
3939 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 >  echo "$as_me:2978: \$? = $ac_status" >&5
2979    (exit $ac_status); } &&
2980 <         { ac_try='test -z "$ac_c_werror_flag"
2981 <                         || test ! -s conftest.err'
3943 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2980 >         { ac_try='test -s conftest$ac_exeext'
2981 >  { (eval echo "$as_me:2981: \"$ac_try\"") >&5
2982    (eval $ac_try) 2>&5
2983    ac_status=$?
2984 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3947 <  (exit $ac_status); }; } &&
3948 <         { ac_try='test -s conftest$ac_exeext'
3949 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3950 <  (eval $ac_try) 2>&5
3951 <  ac_status=$?
3952 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984 >  echo "$as_me:2984: \$? = $ac_status" >&5
2985    (exit $ac_status); }; }; then
2986    ac_success_extra=yes; break
2987   else
2988    echo "$as_me: failed program was:" >&5
2989 < sed 's/^/| /' conftest.$ac_ext >&5
3958 <
2989 > cat conftest.$ac_ext >&5
2990   fi
2991 < rm -f conftest.err conftest.$ac_objext \
3961 <      conftest$ac_exeext conftest.$ac_ext
2991 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2992       done
2993  
2994       if test "$ac_success_extra" = "yes"; then
# Line 3990 | Line 3020 | sed 's/^/| /' conftest.$ac_ext >&5
3020    rm -f cf90_test* conftest*
3021   else
3022    echo "$as_me: failed program was:" >&5
3023 < sed 's/^/| /' conftest.$ac_ext >&5
3994 <
3023 > cat conftest.$ac_ext >&5
3024   fi
3025 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3025 > rm -f conftest.$ac_objext conftest.$ac_ext
3026   ac_ext=f90
3027   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3028   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3029   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3030  
3031   fi
3032 < echo "$as_me:$LINENO: result: $ac_cv_f90_mangling" >&5
3032 > echo "$as_me:3032: result: $ac_cv_f90_mangling" >&5
3033   echo "${ECHO_T}$ac_cv_f90_mangling" >&6
3034  
4006
4007
3035   case $ac_cv_f90_mangling in
3036    "lower case, no underscore, no extra underscore")
3037 <          cat >>confdefs.h <<\_ACEOF
3037 >          cat >>confdefs.h <<\EOF
3038   #define F90_FUNC(name,NAME) name
3039 < _ACEOF
3039 > EOF
3040  
3041 <          cat >>confdefs.h <<\_ACEOF
3041 >          cat >>confdefs.h <<\EOF
3042   #define F90_FUNC_(name,NAME) name
3043 < _ACEOF
3043 > EOF
3044   ;;
3045    "lower case, no underscore, extra underscore")
3046 <          cat >>confdefs.h <<\_ACEOF
3046 >          cat >>confdefs.h <<\EOF
3047   #define F90_FUNC(name,NAME) name
3048 < _ACEOF
3048 > EOF
3049  
3050 <          cat >>confdefs.h <<\_ACEOF
3050 >          cat >>confdefs.h <<\EOF
3051   #define F90_FUNC_(name,NAME) name ## _
3052 < _ACEOF
3052 > EOF
3053   ;;
3054    "lower case, underscore, no extra underscore")
3055 <          cat >>confdefs.h <<\_ACEOF
3055 >          cat >>confdefs.h <<\EOF
3056   #define F90_FUNC(name,NAME) name ## _
3057 < _ACEOF
3057 > EOF
3058  
3059 <          cat >>confdefs.h <<\_ACEOF
3059 >          cat >>confdefs.h <<\EOF
3060   #define F90_FUNC_(name,NAME) name ## _
3061 < _ACEOF
3061 > EOF
3062   ;;
3063    "lower case, underscore, extra underscore")
3064 <          cat >>confdefs.h <<\_ACEOF
3064 >          cat >>confdefs.h <<\EOF
3065   #define F90_FUNC(name,NAME) name ## _
3066 < _ACEOF
3066 > EOF
3067  
3068 <          cat >>confdefs.h <<\_ACEOF
3068 >          cat >>confdefs.h <<\EOF
3069   #define F90_FUNC_(name,NAME) name ## __
3070 < _ACEOF
3070 > EOF
3071   ;;
3072    "upper case, no underscore, no extra underscore")
3073 <          cat >>confdefs.h <<\_ACEOF
3073 >          cat >>confdefs.h <<\EOF
3074   #define F90_FUNC(name,NAME) NAME
3075 < _ACEOF
3075 > EOF
3076  
3077 <          cat >>confdefs.h <<\_ACEOF
3077 >          cat >>confdefs.h <<\EOF
3078   #define F90_FUNC_(name,NAME) NAME
3079 < _ACEOF
3079 > EOF
3080   ;;
3081    "upper case, no underscore, extra underscore")
3082 <          cat >>confdefs.h <<\_ACEOF
3082 >          cat >>confdefs.h <<\EOF
3083   #define F90_FUNC(name,NAME) NAME
3084 < _ACEOF
3084 > EOF
3085  
3086 <          cat >>confdefs.h <<\_ACEOF
3086 >          cat >>confdefs.h <<\EOF
3087   #define F90_FUNC_(name,NAME) NAME ## _
3088 < _ACEOF
3088 > EOF
3089   ;;
3090    "upper case, underscore, no extra underscore")
3091 <          cat >>confdefs.h <<\_ACEOF
3091 >          cat >>confdefs.h <<\EOF
3092   #define F90_FUNC(name,NAME) NAME ## _
3093 < _ACEOF
3093 > EOF
3094  
3095 <          cat >>confdefs.h <<\_ACEOF
3095 >          cat >>confdefs.h <<\EOF
3096   #define F90_FUNC_(name,NAME) NAME ## _
3097 < _ACEOF
3097 > EOF
3098   ;;
3099    "upper case, underscore, extra underscore")
3100 <          cat >>confdefs.h <<\_ACEOF
3100 >          cat >>confdefs.h <<\EOF
3101   #define F90_FUNC(name,NAME) NAME ## _
3102 < _ACEOF
3102 > EOF
3103  
3104 <          cat >>confdefs.h <<\_ACEOF
3104 >          cat >>confdefs.h <<\EOF
3105   #define F90_FUNC_(name,NAME) NAME ## __
3106 < _ACEOF
3106 > EOF
3107   ;;
3108    *)
3109 <          { echo "$as_me:$LINENO: WARNING: unknown Fortran 90 name-mangling scheme" >&5
3109 >          { echo "$as_me:3109: WARNING: unknown Fortran 90 name-mangling scheme" >&5
3110   echo "$as_me: WARNING: unknown Fortran 90 name-mangling scheme" >&2;}
3111            ;;
3112   esac
3113  
3114 <
4088 <
4089 <
4090 <
4091 < echo "$as_me:$LINENO: checking for module suffix" >&5
3114 > echo "$as_me:3114: checking for module suffix" >&5
3115   echo $ECHO_N "checking for module suffix... $ECHO_C" >&6
3116   rm -f conftest*
3117   # Intel ifc compiler generates files by the name of work.pc and work.pcl (!)
# Line 4115 | Line 3138 | if $F90 -c conftest.f90 > conftest.out 2>&1 ; then
3138          fi
3139      fi
3140      if test -z "$MOD" ; then
3141 <        echo "$as_me:$LINENO: result: unknown" >&5
3141 >        echo "$as_me:3141: result: unknown" >&5
3142   echo "${ECHO_T}unknown" >&6
3143          # Use mod if we can't figure it out
3144          MOD="mod"
3145      else
3146 <        echo "$as_me:$LINENO: result: $MOD" >&5
3146 >        echo "$as_me:3146: result: $MOD" >&5
3147   echo "${ECHO_T}$MOD" >&6
3148      fi
3149      if test -s work.pcl ; then
3150 <        { echo "$as_me:$LINENO: WARNING: Compiler generates auxillery files!" >&5
3150 >        { echo "$as_me:3150: WARNING: Compiler generates auxillery files!" >&5
3151   echo "$as_me: WARNING: Compiler generates auxillery files!" >&2;}
3152      fi
3153   else
3154 <    echo "$as_me:$LINENO: result: unknown" >&5
3154 >    echo "$as_me:3154: result: unknown" >&5
3155   echo "${ECHO_T}unknown" >&6
3156   fi
3157  
4135
4136
4137
4138
3158   # Check for module include path (some use -I, some (Solaris) use -M, some
3159   # (absoft) use -p).
3160   # Intel compilers use a wierd system: -cl,filename.pcl .  If no file is
3161   # specified, work.pcl and work.pc are created.  However, if you specify
3162   # a file, it must contain a the name of a file ending in .pc .  Ugh!
3163   # Use the module made above
3164 < echo "$as_me:$LINENO: checking for module directory path flag" >&5
3164 > echo "$as_me:3164: checking for module directory path flag" >&5
3165   echo $ECHO_N "checking for module directory path flag... $ECHO_C" >&6
3166   rm -f conftest*
3167   # Intel ifc compiler generates files by the name of work.pc and work.pcl (!)
# Line 4176 | Line 3195 | EOF
3195     if $F90 -c -Iconf conftest1.f90 > conftest.out 2>&1 ; then
3196         MODDIRFLAG="-I"
3197         F90MODINCSPEC="-I<dir>"
3198 <       echo "$as_me:$LINENO: result: -I" >&5
3198 >       echo "$as_me:3198: result: -I" >&5
3199   echo "${ECHO_T}-I" >&6
3200     elif $F90 -c -Mconf conftest1.f90 >> conftest.out 2>&1 ; then
3201         MODDIRFLAG="-M"
3202         F90MODINCSPEC="-M<dir>"
3203 <       echo "$as_me:$LINENO: result: -M" >&5
3203 >       echo "$as_me:3203: result: -M" >&5
3204   echo "${ECHO_T}-M" >&6
3205     elif $F90 -c -pconf conftest1.f90 >> conftest.out 2>&1 ; then
3206         MODDIRFLAG="-p"
3207         F90MODINCSPEC="-p<dir>"
3208 <       echo "$as_me:$LINENO: result: -p" >&5
3208 >       echo "$as_me:3208: result: -p" >&5
3209   echo "${ECHO_T}-p" >&6
3210     elif test -s work.pc ; then
3211          cp work.pc conf/mpimod.pc
# Line 4194 | Line 3213 | echo "${ECHO_T}-p" >&6
3213          echo "`pwd`/conf/mpimod.pc" >> conf/mpimod.pcl
3214          if $F90 -c -cl,conf/mpimod.pcl conftest1.f >>conftest.out 2>&1 ; then
3215              MODDIRFLAG='-cl,mpimod.pcl'
3216 <            echo "$as_me:$LINENO: result: -cl,filename where filename contains a list of files and directories" >&5
3216 >            echo "$as_me:3216: result: -cl,filename where filename contains a list of files and directories" >&5
3217   echo "${ECHO_T}-cl,filename where filename contains a list of files and directories" >&6
3218              F90_WORK_FILES_ARG="-cl,mpimod.pcl"
3219              F90MODINCSPEC="-cl,<dir>/<file>mod.pcl"
# Line 4207 | Line 3226 | echo "${ECHO_T}-cl,filename where filename contains a
3226          fi
3227     fi
3228     if test -z "MODDIRFLAG" ; then
3229 <       echo "$as_me:$LINENO: result: unknown" >&5
3229 >       echo "$as_me:3229: result: unknown" >&5
3230   echo "${ECHO_T}unknown" >&6
3231     fi
3232  
4214
3233     rm -f conftest* conf/conftest* conf/CONFTEST* CONFTEST* conf/mpimod*
3234     if test $madedir = 1 ; then rmdir conf ; fi
3235   fi
3236  
3237 <
4220 < echo "$as_me:$LINENO: checking for Fortran 90 module file names" >&5
3237 > echo "$as_me:3237: checking for Fortran 90 module file names" >&5
3238   echo $ECHO_N "checking for Fortran 90 module file names... $ECHO_C" >&6
3239   if test "${ac_cv_f90_module_names+set}" = set; then
3240    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4235 | Line 3252 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3252   END MODULE Bar
3253   _ACEOF
3254   rm -f conftest.$ac_objext
3255 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3256 <  (eval $ac_compile) 2>conftest.er1
3255 > if { (eval echo "$as_me:3255: \"$ac_compile\"") >&5
3256 >  (eval $ac_compile) 2>&5
3257    ac_status=$?
3258 <  grep -v '^ *+' conftest.er1 >conftest.err
4242 <  rm -f conftest.er1
4243 <  cat conftest.err >&5
4244 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258 >  echo "$as_me:3258: \$? = $ac_status" >&5
3259    (exit $ac_status); } &&
3260 <         { ac_try='test -z "$ac_f90_werror_flag"
3261 <                         || test ! -s conftest.err'
4248 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3260 >         { ac_try='test -s conftest.$ac_objext'
3261 >  { (eval echo "$as_me:3261: \"$ac_try\"") >&5
3262    (eval $ac_try) 2>&5
3263    ac_status=$?
3264 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4252 <  (exit $ac_status); }; } &&
4253 <         { ac_try='test -s conftest.$ac_objext'
4254 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4255 <  (eval $ac_try) 2>&5
4256 <  ac_status=$?
4257 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3264 >  echo "$as_me:3264: \$? = $ac_status" >&5
3265    (exit $ac_status); }; }; then
3266    ac_cv_f90_module_names=
3267   ac_file_list=*
# Line 4337 | Line 3344 | fi
3344            ;;
3345         # Other files - we have no idea how they are generated
3346         *)
3347 <          { echo "$as_me:$LINENO: WARNING: Bogus file found: $ac_file" >&5
3347 >          { echo "$as_me:3347: WARNING: Bogus file found: $ac_file" >&5
3348   echo "$as_me: WARNING: Bogus file found: $ac_file" >&2;}
3349            ;;
3350     esac
3351   done
3352   if test "x$ac_cv_f90_module_names" = "x"; then
3353 <  { echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5
3353 >  { echo "$as_me:3353: WARNING: Couldn't determine module file names" >&5
3354   echo "$as_me: WARNING: Couldn't determine module file names" >&2;}
3355   fi
3356  
3357   else
3358    echo "$as_me: failed program was:" >&5
3359 < sed 's/^/| /' conftest.$ac_ext >&5
4353 <
3359 > cat conftest.$ac_ext >&5
3360   ac_cv_f90_module_names=
3361 < { echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5
3361 > { echo "$as_me:3361: WARNING: Couldn't determine module file names" >&5
3362   echo "$as_me: WARNING: Couldn't determine module file names" >&2;}
3363   fi
3364 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3364 > rm -f conftest.$ac_objext conftest.$ac_ext
3365   cd ..
3366   # cleanup
3367   rm -rf conftest
# Line 4365 | Line 3371 | echo "$as_me:$LINENO: result: $ac_cv_f90_module_names"
3371   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3372  
3373   fi
3374 < echo "$as_me:$LINENO: result: $ac_cv_f90_module_names" >&5
3374 > echo "$as_me:3374: result: $ac_cv_f90_module_names" >&5
3375   echo "${ECHO_T}$ac_cv_f90_module_names" >&6 # AC_CACHE_CHECK
3376  
3377   # We now generate a shell script that will help us to figure out the correct
# Line 4450 | Line 3456 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3456   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3457   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3458  
4453
3459   ac_ext=c
3460   ac_cpp='$CPP $CPPFLAGS'
3461   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 4462 | Line 3467 | echo "$as_me:$LINENO: checking how to run the C prepro
3467   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3468   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3469   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3470 < echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3470 > echo "$as_me:3470: checking how to run the C preprocessor" >&5
3471   echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3472   # On Suns, sometimes $CPP names a directory.
3473   if test -n "$CPP" && test -d "$CPP"; then
# Line 4475 | Line 3480 | else
3480        # Double quotes because CPP needs to be expanded
3481      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3482      do
3483 +      # break 2 since there is a loop in there.
3484        ac_preproc_ok=false
3485   for ac_c_preproc_warn_flag in '' yes
3486   do
3487    # Use a header file that comes with gcc, so configuring glibc
3488    # with a fresh cross-compiler works.
4483  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4484  # <limits.h> exists even on freestanding compilers.
3489    # On the NeXT, cc -E runs the code through the compiler's parser,
3490    # not just through cpp. "Syntax error" is here to catch this case.
3491    cat >conftest.$ac_ext <<_ACEOF
3492 < /* confdefs.h.  */
3492 > #line 3492 "configure"
3493 > #include "confdefs.h"
3494 > #include <assert.h>
3495 >                     Syntax error
3496   _ACEOF
3497 < cat confdefs.h >>conftest.$ac_ext
4491 < cat >>conftest.$ac_ext <<_ACEOF
4492 < /* end confdefs.h.  */
4493 < #ifdef __STDC__
4494 < # include <limits.h>
4495 < #else
4496 < # include <assert.h>
4497 < #endif
4498 <                     Syntax error
4499 < _ACEOF
4500 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3497 > if { (eval echo "$as_me:3497: \"$ac_cpp conftest.$ac_ext\"") >&5
3498    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3499    ac_status=$?
3500 <  grep -v '^ *+' conftest.er1 >conftest.err
3500 >  egrep -v '^ *\+' conftest.er1 >conftest.err
3501    rm -f conftest.er1
3502    cat conftest.err >&5
3503 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3503 >  echo "$as_me:3503: \$? = $ac_status" >&5
3504    (exit $ac_status); } >/dev/null; then
3505    if test -s conftest.err; then
3506      ac_cpp_err=$ac_c_preproc_warn_flag
4510    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3507    else
3508      ac_cpp_err=
3509    fi
# Line 4518 | Line 3514 | sed 's/^/| /' conftest.$ac_ext >&5
3514    :
3515   else
3516    echo "$as_me: failed program was:" >&5
3517 < sed 's/^/| /' conftest.$ac_ext >&5
4522 <
3517 >  cat conftest.$ac_ext >&5
3518    # Broken: fails on valid input.
3519   continue
3520   fi
# Line 4528 | Line 3523 | rm -f conftest.err conftest.$ac_ext
3523    # OK, works on sane cases.  Now check whether non-existent headers
3524    # can be detected and how.
3525    cat >conftest.$ac_ext <<_ACEOF
3526 < /* confdefs.h.  */
3527 < _ACEOF
4533 < cat confdefs.h >>conftest.$ac_ext
4534 < cat >>conftest.$ac_ext <<_ACEOF
4535 < /* end confdefs.h.  */
3526 > #line 3526 "configure"
3527 > #include "confdefs.h"
3528   #include <ac_nonexistent.h>
3529   _ACEOF
3530 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3530 > if { (eval echo "$as_me:3530: \"$ac_cpp conftest.$ac_ext\"") >&5
3531    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3532    ac_status=$?
3533 <  grep -v '^ *+' conftest.er1 >conftest.err
3533 >  egrep -v '^ *\+' conftest.er1 >conftest.err
3534    rm -f conftest.er1
3535    cat conftest.err >&5
3536 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3536 >  echo "$as_me:3536: \$? = $ac_status" >&5
3537    (exit $ac_status); } >/dev/null; then
3538    if test -s conftest.err; then
3539      ac_cpp_err=$ac_c_preproc_warn_flag
4548    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3540    else
3541      ac_cpp_err=
3542    fi
# Line 4557 | Line 3548 | sed 's/^/| /' conftest.$ac_ext >&5
3548   continue
3549   else
3550    echo "$as_me: failed program was:" >&5
3551 < sed 's/^/| /' conftest.$ac_ext >&5
4561 <
3551 >  cat conftest.$ac_ext >&5
3552    # Passes both tests.
3553   ac_preproc_ok=:
3554   break
# Line 4569 | Line 3559 | if $ac_preproc_ok; then
3559   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3560   rm -f conftest.err conftest.$ac_ext
3561   if $ac_preproc_ok; then
3562 <  break
3562 >  break 2
3563   fi
3564  
3565      done
# Line 4580 | Line 3570 | echo "$as_me:$LINENO: result: $CPP" >&5
3570   else
3571    ac_cv_prog_CPP=$CPP
3572   fi
3573 < echo "$as_me:$LINENO: result: $CPP" >&5
3573 > echo "$as_me:3573: result: $CPP" >&5
3574   echo "${ECHO_T}$CPP" >&6
3575   ac_preproc_ok=false
3576   for ac_c_preproc_warn_flag in '' yes
3577   do
3578    # Use a header file that comes with gcc, so configuring glibc
3579    # with a fresh cross-compiler works.
4590  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4591  # <limits.h> exists even on freestanding compilers.
3580    # On the NeXT, cc -E runs the code through the compiler's parser,
3581    # not just through cpp. "Syntax error" is here to catch this case.
3582    cat >conftest.$ac_ext <<_ACEOF
3583 < /* confdefs.h.  */
3583 > #line 3583 "configure"
3584 > #include "confdefs.h"
3585 > #include <assert.h>
3586 >                     Syntax error
3587   _ACEOF
3588 < cat confdefs.h >>conftest.$ac_ext
4598 < cat >>conftest.$ac_ext <<_ACEOF
4599 < /* end confdefs.h.  */
4600 < #ifdef __STDC__
4601 < # include <limits.h>
4602 < #else
4603 < # include <assert.h>
4604 < #endif
4605 <                     Syntax error
4606 < _ACEOF
4607 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3588 > if { (eval echo "$as_me:3588: \"$ac_cpp conftest.$ac_ext\"") >&5
3589    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3590    ac_status=$?
3591 <  grep -v '^ *+' conftest.er1 >conftest.err
3591 >  egrep -v '^ *\+' conftest.er1 >conftest.err
3592    rm -f conftest.er1
3593    cat conftest.err >&5
3594 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3594 >  echo "$as_me:3594: \$? = $ac_status" >&5
3595    (exit $ac_status); } >/dev/null; then
3596    if test -s conftest.err; then
3597      ac_cpp_err=$ac_c_preproc_warn_flag
4617    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3598    else
3599      ac_cpp_err=
3600    fi
# Line 4625 | Line 3605 | sed 's/^/| /' conftest.$ac_ext >&5
3605    :
3606   else
3607    echo "$as_me: failed program was:" >&5
3608 < sed 's/^/| /' conftest.$ac_ext >&5
4629 <
3608 >  cat conftest.$ac_ext >&5
3609    # Broken: fails on valid input.
3610   continue
3611   fi
# Line 4635 | Line 3614 | rm -f conftest.err conftest.$ac_ext
3614    # OK, works on sane cases.  Now check whether non-existent headers
3615    # can be detected and how.
3616    cat >conftest.$ac_ext <<_ACEOF
3617 < /* confdefs.h.  */
3618 < _ACEOF
4640 < cat confdefs.h >>conftest.$ac_ext
4641 < cat >>conftest.$ac_ext <<_ACEOF
4642 < /* end confdefs.h.  */
3617 > #line 3617 "configure"
3618 > #include "confdefs.h"
3619   #include <ac_nonexistent.h>
3620   _ACEOF
3621 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3621 > if { (eval echo "$as_me:3621: \"$ac_cpp conftest.$ac_ext\"") >&5
3622    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3623    ac_status=$?
3624 <  grep -v '^ *+' conftest.er1 >conftest.err
3624 >  egrep -v '^ *\+' conftest.er1 >conftest.err
3625    rm -f conftest.er1
3626    cat conftest.err >&5
3627 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 >  echo "$as_me:3627: \$? = $ac_status" >&5
3628    (exit $ac_status); } >/dev/null; then
3629    if test -s conftest.err; then
3630      ac_cpp_err=$ac_c_preproc_warn_flag
4655    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3631    else
3632      ac_cpp_err=
3633    fi
# Line 4664 | Line 3639 | sed 's/^/| /' conftest.$ac_ext >&5
3639   continue
3640   else
3641    echo "$as_me: failed program was:" >&5
3642 < sed 's/^/| /' conftest.$ac_ext >&5
4668 <
3642 >  cat conftest.$ac_ext >&5
3643    # Passes both tests.
3644   ac_preproc_ok=:
3645   break
# Line 4678 | Line 3652 | else
3652   if $ac_preproc_ok; then
3653    :
3654   else
3655 <  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3656 < See \`config.log' for more details." >&5
4683 < echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4684 < See \`config.log' for more details." >&2;}
3655 >  { { echo "$as_me:3655: error: C preprocessor \"$CPP\" fails sanity check" >&5
3656 > echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
3657     { (exit 1); exit 1; }; }
3658   fi
3659  
# Line 4691 | Line 3663 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3663   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3664   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3665  
3666 <
4695 < echo "$as_me:$LINENO: checking for egrep" >&5
4696 < echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4697 < if test "${ac_cv_prog_egrep+set}" = set; then
4698 <  echo $ECHO_N "(cached) $ECHO_C" >&6
4699 < else
4700 <  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4701 <    then ac_cv_prog_egrep='grep -E'
4702 <    else ac_cv_prog_egrep='egrep'
4703 <    fi
4704 < fi
4705 < echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4706 < echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4707 < EGREP=$ac_cv_prog_egrep
4708 <
4709 <
4710 < echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4711 < echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4712 < if test "${ac_cv_header_stdc+set}" = set; then
4713 <  echo $ECHO_N "(cached) $ECHO_C" >&6
4714 < else
4715 <  cat >conftest.$ac_ext <<_ACEOF
4716 < /* confdefs.h.  */
4717 < _ACEOF
4718 < cat confdefs.h >>conftest.$ac_ext
4719 < cat >>conftest.$ac_ext <<_ACEOF
4720 < /* end confdefs.h.  */
4721 < #include <stdlib.h>
4722 < #include <stdarg.h>
4723 < #include <string.h>
4724 < #include <float.h>
4725 <
4726 < int
4727 < main ()
4728 < {
4729 <
4730 <  ;
4731 <  return 0;
4732 < }
4733 < _ACEOF
4734 < rm -f conftest.$ac_objext
4735 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4736 <  (eval $ac_compile) 2>conftest.er1
4737 <  ac_status=$?
4738 <  grep -v '^ *+' conftest.er1 >conftest.err
4739 <  rm -f conftest.er1
4740 <  cat conftest.err >&5
4741 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 <  (exit $ac_status); } &&
4743 <         { ac_try='test -z "$ac_c_werror_flag"
4744 <                         || test ! -s conftest.err'
4745 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4746 <  (eval $ac_try) 2>&5
4747 <  ac_status=$?
4748 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 <  (exit $ac_status); }; } &&
4750 <         { ac_try='test -s conftest.$ac_objext'
4751 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4752 <  (eval $ac_try) 2>&5
4753 <  ac_status=$?
4754 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755 <  (exit $ac_status); }; }; then
4756 <  ac_cv_header_stdc=yes
4757 < else
4758 <  echo "$as_me: failed program was:" >&5
4759 < sed 's/^/| /' conftest.$ac_ext >&5
4760 <
4761 < ac_cv_header_stdc=no
4762 < fi
4763 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4764 <
4765 < if test $ac_cv_header_stdc = yes; then
4766 <  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4767 <  cat >conftest.$ac_ext <<_ACEOF
4768 < /* confdefs.h.  */
4769 < _ACEOF
4770 < cat confdefs.h >>conftest.$ac_ext
4771 < cat >>conftest.$ac_ext <<_ACEOF
4772 < /* end confdefs.h.  */
4773 < #include <string.h>
4774 <
4775 < _ACEOF
4776 < if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4777 <  $EGREP "memchr" >/dev/null 2>&1; then
4778 <  :
4779 < else
4780 <  ac_cv_header_stdc=no
4781 < fi
4782 < rm -f conftest*
4783 <
4784 < fi
4785 <
4786 < if test $ac_cv_header_stdc = yes; then
4787 <  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4788 <  cat >conftest.$ac_ext <<_ACEOF
4789 < /* confdefs.h.  */
4790 < _ACEOF
4791 < cat confdefs.h >>conftest.$ac_ext
4792 < cat >>conftest.$ac_ext <<_ACEOF
4793 < /* end confdefs.h.  */
4794 < #include <stdlib.h>
4795 <
4796 < _ACEOF
4797 < if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4798 <  $EGREP "free" >/dev/null 2>&1; then
4799 <  :
4800 < else
4801 <  ac_cv_header_stdc=no
4802 < fi
4803 < rm -f conftest*
4804 <
4805 < fi
4806 <
4807 < if test $ac_cv_header_stdc = yes; then
4808 <  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4809 <  if test "$cross_compiling" = yes; then
4810 <  :
4811 < else
4812 <  cat >conftest.$ac_ext <<_ACEOF
4813 < /* confdefs.h.  */
4814 < _ACEOF
4815 < cat confdefs.h >>conftest.$ac_ext
4816 < cat >>conftest.$ac_ext <<_ACEOF
4817 < /* end confdefs.h.  */
4818 < #include <ctype.h>
4819 < #if ((' ' & 0x0FF) == 0x020)
4820 < # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4821 < # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4822 < #else
4823 < # define ISLOWER(c) \
4824 <                   (('a' <= (c) && (c) <= 'i') \
4825 <                     || ('j' <= (c) && (c) <= 'r') \
4826 <                     || ('s' <= (c) && (c) <= 'z'))
4827 < # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4828 < #endif
4829 <
4830 < #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4831 < int
4832 < main ()
4833 < {
4834 <  int i;
4835 <  for (i = 0; i < 256; i++)
4836 <    if (XOR (islower (i), ISLOWER (i))
4837 <        || toupper (i) != TOUPPER (i))
4838 <      exit(2);
4839 <  exit (0);
4840 < }
4841 < _ACEOF
4842 < rm -f conftest$ac_exeext
4843 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4844 <  (eval $ac_link) 2>&5
4845 <  ac_status=$?
4846 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847 <  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4848 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4849 <  (eval $ac_try) 2>&5
4850 <  ac_status=$?
4851 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 <  (exit $ac_status); }; }; then
4853 <  :
4854 < else
4855 <  echo "$as_me: program exited with status $ac_status" >&5
4856 < echo "$as_me: failed program was:" >&5
4857 < sed 's/^/| /' conftest.$ac_ext >&5
4858 <
4859 < ( exit $ac_status )
4860 < ac_cv_header_stdc=no
4861 < fi
4862 < rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4863 < fi
4864 < fi
4865 < fi
4866 < echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4867 < echo "${ECHO_T}$ac_cv_header_stdc" >&6
4868 < if test $ac_cv_header_stdc = yes; then
4869 <
4870 < cat >>confdefs.h <<\_ACEOF
4871 < #define STDC_HEADERS 1
4872 < _ACEOF
4873 <
4874 < fi
4875 <
4876 < # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4877 <
4878 <
4879 <
4880 <
4881 <
4882 <
4883 <
4884 <
4885 <
4886 < for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4887 <                  inttypes.h stdint.h unistd.h
3666 > 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
3667   do
3668 < as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3669 < echo "$as_me:$LINENO: checking for $ac_header" >&5
3668 > ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
3669 > echo "$as_me:3669: checking for $ac_header" >&5
3670   echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3671 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
3671 > if eval "test \"\${$ac_ac_Header+set}\" = set"; then
3672    echo $ECHO_N "(cached) $ECHO_C" >&6
3673   else
3674    cat >conftest.$ac_ext <<_ACEOF
3675 < /* confdefs.h.  */
3676 < _ACEOF
4898 < cat confdefs.h >>conftest.$ac_ext
4899 < cat >>conftest.$ac_ext <<_ACEOF
4900 < /* end confdefs.h.  */
4901 < $ac_includes_default
4902 <
4903 < #include <$ac_header>
4904 < _ACEOF
4905 < rm -f conftest.$ac_objext
4906 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4907 <  (eval $ac_compile) 2>conftest.er1
4908 <  ac_status=$?
4909 <  grep -v '^ *+' conftest.er1 >conftest.err
4910 <  rm -f conftest.er1
4911 <  cat conftest.err >&5
4912 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4913 <  (exit $ac_status); } &&
4914 <         { ac_try='test -z "$ac_c_werror_flag"
4915 <                         || test ! -s conftest.err'
4916 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4917 <  (eval $ac_try) 2>&5
4918 <  ac_status=$?
4919 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920 <  (exit $ac_status); }; } &&
4921 <         { ac_try='test -s conftest.$ac_objext'
4922 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4923 <  (eval $ac_try) 2>&5
4924 <  ac_status=$?
4925 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926 <  (exit $ac_status); }; }; then
4927 <  eval "$as_ac_Header=yes"
4928 < else
4929 <  echo "$as_me: failed program was:" >&5
4930 < sed 's/^/| /' conftest.$ac_ext >&5
4931 <
4932 < eval "$as_ac_Header=no"
4933 < fi
4934 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4935 < fi
4936 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4937 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4938 < if test `eval echo '${'$as_ac_Header'}'` = yes; then
4939 <  cat >>confdefs.h <<_ACEOF
4940 < #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4941 < _ACEOF
4942 <
4943 < fi
4944 <
4945 < done
4946 <
4947 <
4948 <
4949 <
4950 <
4951 <
4952 <
4953 <
4954 <
4955 <
4956 <
4957 < 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
4958 < do
4959 < as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4960 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
4961 <  echo "$as_me:$LINENO: checking for $ac_header" >&5
4962 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4963 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
4964 <  echo $ECHO_N "(cached) $ECHO_C" >&6
4965 < fi
4966 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4967 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4968 < else
4969 <  # Is the header compilable?
4970 < echo "$as_me:$LINENO: checking $ac_header usability" >&5
4971 < echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4972 < cat >conftest.$ac_ext <<_ACEOF
4973 < /* confdefs.h.  */
4974 < _ACEOF
4975 < cat confdefs.h >>conftest.$ac_ext
4976 < cat >>conftest.$ac_ext <<_ACEOF
4977 < /* end confdefs.h.  */
4978 < $ac_includes_default
4979 < #include <$ac_header>
4980 < _ACEOF
4981 < rm -f conftest.$ac_objext
4982 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4983 <  (eval $ac_compile) 2>conftest.er1
4984 <  ac_status=$?
4985 <  grep -v '^ *+' conftest.er1 >conftest.err
4986 <  rm -f conftest.er1
4987 <  cat conftest.err >&5
4988 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4989 <  (exit $ac_status); } &&
4990 <         { ac_try='test -z "$ac_c_werror_flag"
4991 <                         || test ! -s conftest.err'
4992 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4993 <  (eval $ac_try) 2>&5
4994 <  ac_status=$?
4995 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4996 <  (exit $ac_status); }; } &&
4997 <         { ac_try='test -s conftest.$ac_objext'
4998 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4999 <  (eval $ac_try) 2>&5
5000 <  ac_status=$?
5001 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5002 <  (exit $ac_status); }; }; then
5003 <  ac_header_compiler=yes
5004 < else
5005 <  echo "$as_me: failed program was:" >&5
5006 < sed 's/^/| /' conftest.$ac_ext >&5
5007 <
5008 < ac_header_compiler=no
5009 < fi
5010 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5011 < echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5012 < echo "${ECHO_T}$ac_header_compiler" >&6
5013 <
5014 < # Is the header present?
5015 < echo "$as_me:$LINENO: checking $ac_header presence" >&5
5016 < echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5017 < cat >conftest.$ac_ext <<_ACEOF
5018 < /* confdefs.h.  */
5019 < _ACEOF
5020 < cat confdefs.h >>conftest.$ac_ext
5021 < cat >>conftest.$ac_ext <<_ACEOF
5022 < /* end confdefs.h.  */
3675 > #line 3675 "configure"
3676 > #include "confdefs.h"
3677   #include <$ac_header>
3678   _ACEOF
3679 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3679 > if { (eval echo "$as_me:3679: \"$ac_cpp conftest.$ac_ext\"") >&5
3680    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3681    ac_status=$?
3682 <  grep -v '^ *+' conftest.er1 >conftest.err
3682 >  egrep -v '^ *\+' conftest.er1 >conftest.err
3683    rm -f conftest.er1
3684    cat conftest.err >&5
3685 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3685 >  echo "$as_me:3685: \$? = $ac_status" >&5
3686    (exit $ac_status); } >/dev/null; then
3687    if test -s conftest.err; then
3688      ac_cpp_err=$ac_c_preproc_warn_flag
5035    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3689    else
3690      ac_cpp_err=
3691    fi
# Line 5040 | Line 3693 | if test -z "$ac_cpp_err"; then
3693    ac_cpp_err=yes
3694   fi
3695   if test -z "$ac_cpp_err"; then
3696 <  ac_header_preproc=yes
3696 >  eval "$ac_ac_Header=yes"
3697   else
3698    echo "$as_me: failed program was:" >&5
3699 < sed 's/^/| /' conftest.$ac_ext >&5
3700 <
5048 <  ac_header_preproc=no
3699 >  cat conftest.$ac_ext >&5
3700 >  eval "$ac_ac_Header=no"
3701   fi
3702   rm -f conftest.err conftest.$ac_ext
5051 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5052 echo "${ECHO_T}$ac_header_preproc" >&6
5053
5054 # So?  What about this header?
5055 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5056  yes:no: )
5057    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5058 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5059    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5060 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5061    ac_header_preproc=yes
5062    ;;
5063  no:yes:* )
5064    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5065 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5066    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5067 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5068    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5069 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5070    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5071 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5072    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5073 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5074    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5075 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5076    (
5077      cat <<\_ASBOX
5078 ## ------------------------------ ##
5079 ## Report this to gezelter@nd.edu ##
5080 ## ------------------------------ ##
5081 _ASBOX
5082    ) |
5083      sed "s/^/$as_me: WARNING:     /" >&2
5084    ;;
5085 esac
5086 echo "$as_me:$LINENO: checking for $ac_header" >&5
5087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5089  echo $ECHO_N "(cached) $ECHO_C" >&6
5090 else
5091  eval "$as_ac_Header=\$ac_header_preproc"
3703   fi
3704 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3705 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3704 > echo "$as_me:3704: result: `eval echo '${'$ac_ac_Header'}'`" >&5
3705 > 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
3710  
3711   fi
5097 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5098  cat >>confdefs.h <<_ACEOF
5099 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5100 _ACEOF
5101
5102 fi
5103
3712   done
3713  
5106
5107
5108
5109
5110
3714   for ac_func in pstat_getstatic sysmp getsysinfo sysctl table
3715   do
3716 < as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3717 < echo "$as_me:$LINENO: checking for $ac_func" >&5
3716 > ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
3717 > echo "$as_me:3717: checking for $ac_func" >&5
3718   echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3719 < if eval "test \"\${$as_ac_var+set}\" = set"; then
3719 > if eval "test \"\${$ac_ac_var+set}\" = set"; then
3720    echo $ECHO_N "(cached) $ECHO_C" >&6
3721   else
3722    cat >conftest.$ac_ext <<_ACEOF
3723 < /* confdefs.h.  */
3724 < _ACEOF
5122 < cat confdefs.h >>conftest.$ac_ext
5123 < cat >>conftest.$ac_ext <<_ACEOF
5124 < /* end confdefs.h.  */
5125 < /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5126 <   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5127 < #define $ac_func innocuous_$ac_func
5128 <
3723 > #line 3723 "configure"
3724 > #include "confdefs.h"
3725   /* System header to define __stub macros and hopefully few prototypes,
3726 <    which can conflict with char $ac_func (); below.
3727 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5132 <    <limits.h> exists even on freestanding compilers.  */
5133 <
5134 < #ifdef __STDC__
5135 < # include <limits.h>
5136 < #else
5137 < # include <assert.h>
5138 < #endif
5139 <
5140 < #undef $ac_func
5141 <
3726 >    which can conflict with char $ac_func (); below.  */
3727 > #include <assert.h>
3728   /* Override any gcc2 internal prototype to avoid an error.  */
3729   #ifdef __cplusplus
3730   extern "C"
5145 {
3731   #endif
3732   /* We use char because int might match the return type of a gcc2
3733     builtin and then its argument prototype would still apply.  */
3734   char $ac_func ();
3735 + char (*f) ();
3736 +
3737 + int
3738 + main ()
3739 + {
3740   /* The GNU C library defines this for functions which it implements
3741      to always fail with ENOSYS.  Some functions are actually named
3742      something starting with __ and the normal name is an alias.  */
3743   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3744   choke me
3745   #else
3746 < char (*f) () = $ac_func;
3746 > f = $ac_func;
3747   #endif
5158 #ifdef __cplusplus
5159 }
5160 #endif
3748  
5162 int
5163 main ()
5164 {
5165 return f != $ac_func;
3749    ;
3750    return 0;
3751   }
3752   _ACEOF
3753   rm -f conftest.$ac_objext conftest$ac_exeext
3754 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3755 <  (eval $ac_link) 2>conftest.er1
3754 > if { (eval echo "$as_me:3754: \"$ac_link\"") >&5
3755 >  (eval $ac_link) 2>&5
3756    ac_status=$?
3757 <  grep -v '^ *+' conftest.er1 >conftest.err
5175 <  rm -f conftest.er1
5176 <  cat conftest.err >&5
5177 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757 >  echo "$as_me:3757: \$? = $ac_status" >&5
3758    (exit $ac_status); } &&
3759 <         { ac_try='test -z "$ac_c_werror_flag"
3760 <                         || test ! -s conftest.err'
5181 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3759 >         { ac_try='test -s conftest$ac_exeext'
3760 >  { (eval echo "$as_me:3760: \"$ac_try\"") >&5
3761    (eval $ac_try) 2>&5
3762    ac_status=$?
3763 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185 <  (exit $ac_status); }; } &&
5186 <         { ac_try='test -s conftest$ac_exeext'
5187 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5188 <  (eval $ac_try) 2>&5
5189 <  ac_status=$?
5190 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3763 >  echo "$as_me:3763: \$? = $ac_status" >&5
3764    (exit $ac_status); }; }; then
3765 <  eval "$as_ac_var=yes"
3765 >  eval "$ac_ac_var=yes"
3766   else
3767    echo "$as_me: failed program was:" >&5
3768 < sed 's/^/| /' conftest.$ac_ext >&5
3769 <
5197 < eval "$as_ac_var=no"
3768 > cat conftest.$ac_ext >&5
3769 > eval "$ac_ac_var=no"
3770   fi
3771 < rm -f conftest.err conftest.$ac_objext \
5200 <      conftest$ac_exeext conftest.$ac_ext
3771 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3772   fi
3773 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3774 < echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3775 < if test `eval echo '${'$as_ac_var'}'` = yes; then
3776 <  cat >>confdefs.h <<_ACEOF
3777 < #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3778 < _ACEOF
3773 > echo "$as_me:3773: result: `eval echo '${'$ac_ac_var'}'`" >&5
3774 > echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
3775 > if test `eval echo '${'$ac_ac_var'}'` = yes; then
3776 >  cat >>confdefs.h <<EOF
3777 > #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
3778 > EOF
3779  
3780   fi
3781   done
3782  
3783   # special check for _system_configuration because AIX <4.3.2 do not
3784   # contain the `physmem' member.
3785 < echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
3785 > echo "$as_me:3785: checking for external symbol _system_configuration" >&5
3786   echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
3787   cat >conftest.$ac_ext <<_ACEOF
3788 < /* confdefs.h.  */
3789 < _ACEOF
5219 < cat confdefs.h >>conftest.$ac_ext
5220 < cat >>conftest.$ac_ext <<_ACEOF
5221 < /* end confdefs.h.  */
3788 > #line 3788 "configure"
3789 > #include "confdefs.h"
3790   #include <sys/systemcfg.h>
3791   int
3792   main ()
# Line 5229 | Line 3797 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3797   }
3798   _ACEOF
3799   rm -f conftest.$ac_objext
3800 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3801 <  (eval $ac_compile) 2>conftest.er1
3800 > if { (eval echo "$as_me:3800: \"$ac_compile\"") >&5
3801 >  (eval $ac_compile) 2>&5
3802    ac_status=$?
3803 <  grep -v '^ *+' conftest.er1 >conftest.err
5236 <  rm -f conftest.er1
5237 <  cat conftest.err >&5
5238 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 >  echo "$as_me:3803: \$? = $ac_status" >&5
3804    (exit $ac_status); } &&
3805 <         { ac_try='test -z "$ac_c_werror_flag"
3806 <                         || test ! -s conftest.err'
5242 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3805 >         { ac_try='test -s conftest.$ac_objext'
3806 >  { (eval echo "$as_me:3806: \"$ac_try\"") >&5
3807    (eval $ac_try) 2>&5
3808    ac_status=$?
3809 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5246 <  (exit $ac_status); }; } &&
5247 <         { ac_try='test -s conftest.$ac_objext'
5248 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5249 <  (eval $ac_try) 2>&5
5250 <  ac_status=$?
5251 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809 >  echo "$as_me:3809: \$? = $ac_status" >&5
3810    (exit $ac_status); }; }; then
3811 <  echo "$as_me:$LINENO: result: yes" >&5
3811 >  echo "$as_me:3811: result: yes" >&5
3812   echo "${ECHO_T}yes" >&6
3813  
3814 < cat >>confdefs.h <<\_ACEOF
3814 > cat >>confdefs.h <<\EOF
3815   #define HAVE__SYSTEM_CONFIGURATION 1
3816 < _ACEOF
3816 > EOF
3817  
3818   else
3819    echo "$as_me: failed program was:" >&5
3820 < sed 's/^/| /' conftest.$ac_ext >&5
3821 <
5264 < echo "$as_me:$LINENO: result: no" >&5
3820 > cat conftest.$ac_ext >&5
3821 > echo "$as_me:3821: result: no" >&5
3822   echo "${ECHO_T}no" >&6
3823   fi
3824 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3824 > rm -f conftest.$ac_objext conftest.$ac_ext
3825  
3826    # clean out junk possibly left behind by a previous configuration
3827    rm -f src/getopt.h
# Line 5272 | Line 3829 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_
3829  
3830   for ac_header in getopt.h
3831   do
3832 < as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3833 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
5277 <  echo "$as_me:$LINENO: checking for $ac_header" >&5
3832 > ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
3833 > echo "$as_me:3833: checking for $ac_header" >&5
3834   echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3835 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
3835 > if eval "test \"\${$ac_ac_Header+set}\" = set"; then
3836    echo $ECHO_N "(cached) $ECHO_C" >&6
5281 fi
5282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5283 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3837   else
3838 <  # Is the header compilable?
3839 < echo "$as_me:$LINENO: checking $ac_header usability" >&5
3840 < echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5288 < cat >conftest.$ac_ext <<_ACEOF
5289 < /* confdefs.h.  */
5290 < _ACEOF
5291 < cat confdefs.h >>conftest.$ac_ext
5292 < cat >>conftest.$ac_ext <<_ACEOF
5293 < /* end confdefs.h.  */
5294 < $ac_includes_default
5295 < #include <$ac_header>
5296 < _ACEOF
5297 < rm -f conftest.$ac_objext
5298 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5299 <  (eval $ac_compile) 2>conftest.er1
5300 <  ac_status=$?
5301 <  grep -v '^ *+' conftest.er1 >conftest.err
5302 <  rm -f conftest.er1
5303 <  cat conftest.err >&5
5304 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5305 <  (exit $ac_status); } &&
5306 <         { ac_try='test -z "$ac_c_werror_flag"
5307 <                         || test ! -s conftest.err'
5308 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5309 <  (eval $ac_try) 2>&5
5310 <  ac_status=$?
5311 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5312 <  (exit $ac_status); }; } &&
5313 <         { ac_try='test -s conftest.$ac_objext'
5314 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5315 <  (eval $ac_try) 2>&5
5316 <  ac_status=$?
5317 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5318 <  (exit $ac_status); }; }; then
5319 <  ac_header_compiler=yes
5320 < else
5321 <  echo "$as_me: failed program was:" >&5
5322 < sed 's/^/| /' conftest.$ac_ext >&5
5323 <
5324 < ac_header_compiler=no
5325 < fi
5326 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5327 < echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5328 < echo "${ECHO_T}$ac_header_compiler" >&6
5329 <
5330 < # Is the header present?
5331 < echo "$as_me:$LINENO: checking $ac_header presence" >&5
5332 < echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5333 < cat >conftest.$ac_ext <<_ACEOF
5334 < /* confdefs.h.  */
5335 < _ACEOF
5336 < cat confdefs.h >>conftest.$ac_ext
5337 < cat >>conftest.$ac_ext <<_ACEOF
5338 < /* end confdefs.h.  */
3838 >  cat >conftest.$ac_ext <<_ACEOF
3839 > #line 3839 "configure"
3840 > #include "confdefs.h"
3841   #include <$ac_header>
3842   _ACEOF
3843 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3843 > if { (eval echo "$as_me:3843: \"$ac_cpp conftest.$ac_ext\"") >&5
3844    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3845    ac_status=$?
3846 <  grep -v '^ *+' conftest.er1 >conftest.err
3846 >  egrep -v '^ *\+' conftest.er1 >conftest.err
3847    rm -f conftest.er1
3848    cat conftest.err >&5
3849 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3849 >  echo "$as_me:3849: \$? = $ac_status" >&5
3850    (exit $ac_status); } >/dev/null; then
3851    if test -s conftest.err; then
3852      ac_cpp_err=$ac_c_preproc_warn_flag
5351    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3853    else
3854      ac_cpp_err=
3855    fi
# Line 5356 | Line 3857 | if test -z "$ac_cpp_err"; then
3857    ac_cpp_err=yes
3858   fi
3859   if test -z "$ac_cpp_err"; then
3860 <  ac_header_preproc=yes
3860 >  eval "$ac_ac_Header=yes"
3861   else
3862    echo "$as_me: failed program was:" >&5
3863 < sed 's/^/| /' conftest.$ac_ext >&5
3864 <
5364 <  ac_header_preproc=no
3863 >  cat conftest.$ac_ext >&5
3864 >  eval "$ac_ac_Header=no"
3865   fi
3866   rm -f conftest.err conftest.$ac_ext
5367 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5368 echo "${ECHO_T}$ac_header_preproc" >&6
5369
5370 # So?  What about this header?
5371 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5372  yes:no: )
5373    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5374 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5375    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5376 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5377    ac_header_preproc=yes
5378    ;;
5379  no:yes:* )
5380    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5381 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5382    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5383 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5384    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5385 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5386    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5387 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5388    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5389 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5390    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5391 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5392    (
5393      cat <<\_ASBOX
5394 ## ------------------------------ ##
5395 ## Report this to gezelter@nd.edu ##
5396 ## ------------------------------ ##
5397 _ASBOX
5398    ) |
5399      sed "s/^/$as_me: WARNING:     /" >&2
5400    ;;
5401 esac
5402 echo "$as_me:$LINENO: checking for $ac_header" >&5
5403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5405  echo $ECHO_N "(cached) $ECHO_C" >&6
5406 else
5407  eval "$as_ac_Header=\$ac_header_preproc"
3867   fi
3868 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3869 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3868 > echo "$as_me:3868: result: `eval echo '${'$ac_ac_Header'}'`" >&5
3869 > 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
3874  
3875   fi
5413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5414  cat >>confdefs.h <<_ACEOF
5415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5416 _ACEOF
5417
5418 fi
5419
3876   done
3877  
5422
3878   for ac_func in getopt_long
3879   do
3880 < as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3881 < echo "$as_me:$LINENO: checking for $ac_func" >&5
3880 > ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
3881 > echo "$as_me:3881: checking for $ac_func" >&5
3882   echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3883 < if eval "test \"\${$as_ac_var+set}\" = set"; then
3883 > if eval "test \"\${$ac_ac_var+set}\" = set"; then
3884    echo $ECHO_N "(cached) $ECHO_C" >&6
3885   else
3886    cat >conftest.$ac_ext <<_ACEOF
3887 < /* confdefs.h.  */
3888 < _ACEOF
5434 < cat confdefs.h >>conftest.$ac_ext
5435 < cat >>conftest.$ac_ext <<_ACEOF
5436 < /* end confdefs.h.  */
5437 < /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5438 <   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5439 < #define $ac_func innocuous_$ac_func
5440 <
3887 > #line 3887 "configure"
3888 > #include "confdefs.h"
3889   /* System header to define __stub macros and hopefully few prototypes,
3890 <    which can conflict with char $ac_func (); below.
3891 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5444 <    <limits.h> exists even on freestanding compilers.  */
5445 <
5446 < #ifdef __STDC__
5447 < # include <limits.h>
5448 < #else
5449 < # include <assert.h>
5450 < #endif
5451 <
5452 < #undef $ac_func
5453 <
3890 >    which can conflict with char $ac_func (); below.  */
3891 > #include <assert.h>
3892   /* Override any gcc2 internal prototype to avoid an error.  */
3893   #ifdef __cplusplus
3894   extern "C"
5457 {
3895   #endif
3896   /* We use char because int might match the return type of a gcc2
3897     builtin and then its argument prototype would still apply.  */
3898   char $ac_func ();
3899 + char (*f) ();
3900 +
3901 + int
3902 + main ()
3903 + {
3904   /* The GNU C library defines this for functions which it implements
3905      to always fail with ENOSYS.  Some functions are actually named
3906      something starting with __ and the normal name is an alias.  */
3907   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3908   choke me
3909   #else
3910 < char (*f) () = $ac_func;
3910 > f = $ac_func;
3911   #endif
5470 #ifdef __cplusplus
5471 }
5472 #endif
3912  
5474 int
5475 main ()
5476 {
5477 return f != $ac_func;
3913    ;
3914    return 0;
3915   }
3916   _ACEOF
3917   rm -f conftest.$ac_objext conftest$ac_exeext
3918 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3919 <  (eval $ac_link) 2>conftest.er1
3918 > if { (eval echo "$as_me:3918: \"$ac_link\"") >&5
3919 >  (eval $ac_link) 2>&5
3920    ac_status=$?
3921 <  grep -v '^ *+' conftest.er1 >conftest.err
5487 <  rm -f conftest.er1
5488 <  cat conftest.err >&5
5489 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 >  echo "$as_me:3921: \$? = $ac_status" >&5
3922    (exit $ac_status); } &&
3923 <         { ac_try='test -z "$ac_c_werror_flag"
3924 <                         || test ! -s conftest.err'
5493 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3923 >         { ac_try='test -s conftest$ac_exeext'
3924 >  { (eval echo "$as_me:3924: \"$ac_try\"") >&5
3925    (eval $ac_try) 2>&5
3926    ac_status=$?
3927 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5497 <  (exit $ac_status); }; } &&
5498 <         { ac_try='test -s conftest$ac_exeext'
5499 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5500 <  (eval $ac_try) 2>&5
5501 <  ac_status=$?
5502 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927 >  echo "$as_me:3927: \$? = $ac_status" >&5
3928    (exit $ac_status); }; }; then
3929 <  eval "$as_ac_var=yes"
3929 >  eval "$ac_ac_var=yes"
3930   else
3931    echo "$as_me: failed program was:" >&5
3932 < sed 's/^/| /' conftest.$ac_ext >&5
3933 <
5509 < eval "$as_ac_var=no"
3932 > cat conftest.$ac_ext >&5
3933 > eval "$ac_ac_var=no"
3934   fi
3935 < rm -f conftest.err conftest.$ac_objext \
5512 <      conftest$ac_exeext conftest.$ac_ext
3935 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3936   fi
3937 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3938 < echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3939 < if test `eval echo '${'$as_ac_var'}'` = yes; then
3940 <  cat >>confdefs.h <<_ACEOF
3941 < #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3942 < _ACEOF
3937 > echo "$as_me:3937: result: `eval echo '${'$ac_ac_var'}'`" >&5
3938 > echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
3939 > if test `eval echo '${'$ac_ac_var'}'` = yes; then
3940 >  cat >>confdefs.h <<EOF
3941 > #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
3942 > EOF
3943  
3944   else
3945    # FreeBSD has a gnugetopt library for this
3946 <    echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
3946 >    echo "$as_me:3946: checking for getopt_long in -lgnugetopt" >&5
3947   echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
3948   if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
3949    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5528 | Line 3951 | cat >conftest.$ac_ext <<_ACEOF
3951    ac_check_lib_save_LIBS=$LIBS
3952   LIBS="-lgnugetopt  $LIBS"
3953   cat >conftest.$ac_ext <<_ACEOF
3954 < /* confdefs.h.  */
3955 < _ACEOF
5533 < cat confdefs.h >>conftest.$ac_ext
5534 < cat >>conftest.$ac_ext <<_ACEOF
5535 < /* end confdefs.h.  */
3954 > #line 3954 "configure"
3955 > #include "confdefs.h"
3956  
3957   /* Override any gcc2 internal prototype to avoid an error.  */
3958   #ifdef __cplusplus
# Line 5550 | Line 3970 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3970   }
3971   _ACEOF
3972   rm -f conftest.$ac_objext conftest$ac_exeext
3973 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3974 <  (eval $ac_link) 2>conftest.er1
3973 > if { (eval echo "$as_me:3973: \"$ac_link\"") >&5
3974 >  (eval $ac_link) 2>&5
3975    ac_status=$?
3976 <  grep -v '^ *+' conftest.er1 >conftest.err
5557 <  rm -f conftest.er1
5558 <  cat conftest.err >&5
5559 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976 >  echo "$as_me:3976: \$? = $ac_status" >&5
3977    (exit $ac_status); } &&
3978 <         { ac_try='test -z "$ac_c_werror_flag"
3979 <                         || test ! -s conftest.err'
5563 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3978 >         { ac_try='test -s conftest$ac_exeext'
3979 >  { (eval echo "$as_me:3979: \"$ac_try\"") >&5
3980    (eval $ac_try) 2>&5
3981    ac_status=$?
3982 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567 <  (exit $ac_status); }; } &&
5568 <         { ac_try='test -s conftest$ac_exeext'
5569 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5570 <  (eval $ac_try) 2>&5
5571 <  ac_status=$?
5572 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3982 >  echo "$as_me:3982: \$? = $ac_status" >&5
3983    (exit $ac_status); }; }; then
3984    ac_cv_lib_gnugetopt_getopt_long=yes
3985   else
3986    echo "$as_me: failed program was:" >&5
3987 < sed 's/^/| /' conftest.$ac_ext >&5
5578 <
3987 > cat conftest.$ac_ext >&5
3988   ac_cv_lib_gnugetopt_getopt_long=no
3989   fi
3990 < rm -f conftest.err conftest.$ac_objext \
5582 <      conftest$ac_exeext conftest.$ac_ext
3990 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3991   LIBS=$ac_check_lib_save_LIBS
3992   fi
3993 < echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
3993 > echo "$as_me:3993: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
3994   echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
3995   if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
3996 <  cat >>confdefs.h <<\_ACEOF
3996 >  cat >>confdefs.h <<\EOF
3997   #define HAVE_GETOPT_LONG 1
3998 < _ACEOF
3998 > EOF
3999  
4000   else
4001    # use the GNU replacement
4002 <      case $LIBOBJS in
4003 <    "getopt.$ac_objext"   | \
4004 <  *" getopt.$ac_objext"   | \
5597 <    "getopt.$ac_objext "* | \
5598 <  *" getopt.$ac_objext "* ) ;;
5599 <  *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
5600 < esac
4002 >      LIBOBJS="$LIBOBJS getopt.$ac_objext"
4003 >      LIBOBJS="$LIBOBJS getopt1.$ac_objext"
4004 >      ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
4005  
5602      case $LIBOBJS in
5603    "getopt1.$ac_objext"   | \
5604  *" getopt1.$ac_objext"   | \
5605    "getopt1.$ac_objext "* | \
5606  *" getopt1.$ac_objext "* ) ;;
5607  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
5608 esac
5609
5610                ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
5611
4006   fi
4007  
4008   fi
4009   done
4010  
5617
5618
4011   case $debug in
4012    1)
4013       ;;
4014    *)
4015  
4016 <
5625 <
5626 <
5627 <
5628 <
5629 < echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5
4016 > echo "$as_me:4016: checking whether we are *really* using GNU cc" >&5
4017   echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6
4018   if test "${ac_cv_prog_really_gcc+set}" = set; then
4019    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5640 | Line 4027 | if { ac_try='${CC-cc} -E conftest.c'
4027   #endif
4028   EOF
4029   if { ac_try='${CC-cc} -E conftest.c'
4030 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4030 >  { (eval echo "$as_me:4030: \"$ac_try\"") >&5
4031    (eval $ac_try) 2>&5
4032    ac_status=$?
4033 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4033 >  echo "$as_me:4033: \$? = $ac_status" >&5
4034    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
4035    ac_cv_prog_really_gcc=yes
4036   else
# Line 5651 | Line 4038 | echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc"
4038   fi
4039  
4040   fi
4041 < echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5
4041 > echo "$as_me:4041: result: $ac_cv_prog_really_gcc" >&5
4042   echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6
4043   if test "$ac_cv_prog_really_gcc" = yes; then
4044          :
# Line 5660 | Line 4047 | fi
4047          :
4048  
4049   fi
5663
4050  
4051   # Try to determine "good" native compiler flags if none specified on command
4052   # line
# Line 5714 | Line 4100 | if test "$ac_test_CFLAGS" != "set"; then
4100    if test $ac_cv_prog_really_gcc = yes; then
4101      # -malign-double for x86 systems
4102  
4103 <
5718 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5
4103 > echo "$as_me:4103: checking whether ${CC-cc} accepts -malign-double" >&5
4104   echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6
4105   if test "${ac_align_double+set}" = set; then
4106    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5729 | Line 4114 | echo "$as_me:$LINENO: result: $ac_align_double" >&5
4114   rm -f conftest*
4115  
4116   fi
4117 < echo "$as_me:$LINENO: result: $ac_align_double" >&5
4117 > echo "$as_me:4117: result: $ac_align_double" >&5
4118   echo "${ECHO_T}$ac_align_double" >&6
4119   if test "$ac_align_double" = yes; then
4120          :
# Line 5741 | Line 4126 | fi
4126  
4127      # -fstrict-aliasing for gcc-2.95+
4128  
4129 <
5745 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
4129 > echo "$as_me:4129: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
4130   echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6
4131   if test "${ac_fstrict_aliasing+set}" = set; then
4132    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5756 | Line 4140 | echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&
4140   rm -f conftest*
4141  
4142   fi
4143 < echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
4143 > echo "$as_me:4143: result: $ac_fstrict_aliasing" >&5
4144   echo "${ECHO_T}$ac_fstrict_aliasing" >&6
4145   if test "$ac_fstrict_aliasing" = yes; then
4146          :
# Line 5773 | Line 4157 | echo "$as_me:$LINENO: checking whether ${CC-cc} accept
4157                    case "${host_cpu}" in
4158            i586*)
4159  
4160 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
4160 > echo "$as_me:4160: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
4161   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
4162   if test "${ac_cpu_pentium+set}" = set; then
4163    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5787 | Line 4171 | echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
4171   rm -f conftest*
4172  
4173   fi
4174 < echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
4174 > echo "$as_me:4174: result: $ac_cpu_pentium" >&5
4175   echo "${ECHO_T}$ac_cpu_pentium" >&6
4176   if test "$ac_cpu_pentium" = yes; then
4177          :
# Line 5795 | Line 4179 | else
4179   else
4180          :
4181  
4182 <
5799 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5
4182 > echo "$as_me:4182: checking whether ${CC-cc} accepts -mpentium" >&5
4183   echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6
4184   if test "${ac_pentium+set}" = set; then
4185    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5810 | Line 4193 | echo "$as_me:$LINENO: result: $ac_pentium" >&5
4193   rm -f conftest*
4194  
4195   fi
4196 < echo "$as_me:$LINENO: result: $ac_pentium" >&5
4196 > echo "$as_me:4196: result: $ac_pentium" >&5
4197   echo "${ECHO_T}$ac_pentium" >&6
4198   if test "$ac_pentium" = yes; then
4199          :
# Line 5825 | Line 4208 | echo "$as_me:$LINENO: checking whether ${CC-cc} accept
4208                    ;;
4209            i686*)
4210  
4211 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
4211 > echo "$as_me:4211: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
4212   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6
4213   if test "${ac_cpu_pentiumpro+set}" = set; then
4214    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5839 | Line 4222 | echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
4222   rm -f conftest*
4223  
4224   fi
4225 < echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
4225 > echo "$as_me:4225: result: $ac_cpu_pentiumpro" >&5
4226   echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
4227   if test "$ac_cpu_pentiumpro" = yes; then
4228          :
# Line 5847 | Line 4230 | else
4230   else
4231          :
4232  
4233 <
5851 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5
4233 > echo "$as_me:4233: checking whether ${CC-cc} accepts -mpentiumpro" >&5
4234   echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6
4235   if test "${ac_pentiumpro+set}" = set; then
4236    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5862 | Line 4244 | echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
4244   rm -f conftest*
4245  
4246   fi
4247 < echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
4247 > echo "$as_me:4247: result: $ac_pentiumpro" >&5
4248   echo "${ECHO_T}$ac_pentiumpro" >&6
4249   if test "$ac_pentiumpro" = yes; then
4250          :
# Line 5880 | Line 4262 | fi
4262                  is60x=`echo $cputype | egrep "^600-9e?$"`
4263                  if test -n "$is60x"; then
4264  
4265 <
5884 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
4265 > echo "$as_me:4265: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
4266   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6
4267   if test "${ac_m_cpu_60x+set}" = set; then
4268    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5895 | Line 4276 | echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
4276   rm -f conftest*
4277  
4278   fi
4279 < echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
4279 > echo "$as_me:4279: result: $ac_m_cpu_60x" >&5
4280   echo "${ECHO_T}$ac_m_cpu_60x" >&6
4281   if test "$ac_m_cpu_60x" = yes; then
4282          :
# Line 5907 | Line 4288 | fi
4288  
4289                  elif test "$cputype" = 750; then
4290  
4291 <
5911 < echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
4291 > echo "$as_me:4291: checking whether we are using gcc 2.95 or later" >&5
4292   echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
4293   if test "${ac_cv_prog_gcc_2_95+set}" = set; then
4294    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5922 | Line 4302 | if { ac_try='${CC-cc} -E conftest.c'
4302   #endif
4303   EOF
4304   if { ac_try='${CC-cc} -E conftest.c'
4305 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4305 >  { (eval echo "$as_me:4305: \"$ac_try\"") >&5
4306    (eval $ac_try) 2>&5
4307    ac_status=$?
4308 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4308 >  echo "$as_me:4308: \$? = $ac_status" >&5
4309    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
4310    ac_cv_prog_gcc_2_95=yes
4311   else
# Line 5933 | Line 4313 | echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&
4313   fi
4314  
4315   fi
4316 < echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
4316 > echo "$as_me:4316: result: $ac_cv_prog_gcc_2_95" >&5
4317   echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
4318   if test "$ac_cv_prog_gcc_2_95" = yes; then
4319          :
4320  
4321 <
5942 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5
4321 > echo "$as_me:4321: checking whether ${CC-cc} accepts -mcpu=750" >&5
4322   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6
4323   if test "${ac_m_cpu_750+set}" = set; then
4324    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5953 | Line 4332 | echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
4332   rm -f conftest*
4333  
4334   fi
4335 < echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
4335 > echo "$as_me:4335: result: $ac_m_cpu_750" >&5
4336   echo "${ECHO_T}$ac_m_cpu_750" >&6
4337   if test "$ac_m_cpu_750" = yes; then
4338          :
# Line 5971 | Line 4350 | fi
4350                  fi
4351                  if test -z "$CPU_FLAGS"; then
4352  
4353 <
5975 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
4353 > echo "$as_me:4353: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
4354   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6
4355   if test "${ac_m_cpu_powerpc+set}" = set; then
4356    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5986 | Line 4364 | echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
4364   rm -f conftest*
4365  
4366   fi
4367 < echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
4367 > echo "$as_me:4367: result: $ac_m_cpu_powerpc" >&5
4368   echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
4369   if test "$ac_m_cpu_powerpc" = yes; then
4370          :
# Line 5999 | Line 4377 | fi
4377                  fi
4378                  if test -z "$CPU_FLAGS"; then
4379  
4380 <
6003 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5
4380 > echo "$as_me:4380: checking whether ${CC-cc} accepts -mpowerpc" >&5
4381   echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6
4382   if test "${ac_m_powerpc+set}" = set; then
4383    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6014 | Line 4391 | echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
4391   rm -f conftest*
4392  
4393   fi
4394 < echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
4394 > echo "$as_me:4394: result: $ac_m_powerpc" >&5
4395   echo "${ECHO_T}$ac_m_powerpc" >&6
4396   if test "$ac_m_powerpc" = yes; then
4397          :
# Line 6043 | Line 4420 | fi
4420          CFLAGS="-O3"
4421    fi
4422  
4423 <
6047 <
6048 < echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
4423 > echo "$as_me:4423: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
4424   echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6
4425   if test "${ac_guessed_cflags+set}" = set; then
4426    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6059 | Line 4434 | echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
4434   rm -f conftest*
4435  
4436   fi
4437 < echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
4437 > echo "$as_me:4437: result: $ac_guessed_cflags" >&5
4438   echo "${ECHO_T}$ac_guessed_cflags" >&6
4439   if test "$ac_guessed_cflags" = yes; then
4440          :
# Line 6078 | Line 4453 | fi
4453  
4454   fi
4455  
6081
4456   fi
4457  
4458 <
6085 <
6086 <
6087 <
6088 <
6089 <
6090 < echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5
4458 > echo "$as_me:4458: checking whether we are *really* using GNU c++" >&5
4459   echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6
4460   if test "${ac_cv_prog_really_gxx+set}" = set; then
4461    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6101 | Line 4469 | if { ac_try='${CXX-c++} -E conftest.cpp'
4469   #endif
4470   EOF
4471   if { ac_try='${CXX-c++} -E conftest.cpp'
4472 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4472 >  { (eval echo "$as_me:4472: \"$ac_try\"") >&5
4473    (eval $ac_try) 2>&5
4474    ac_status=$?
4475 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475 >  echo "$as_me:4475: \$? = $ac_status" >&5
4476    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
4477    ac_cv_prog_really_gxx=yes
4478   else
# Line 6112 | Line 4480 | echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx"
4480   fi
4481  
4482   fi
4483 < echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5
4483 > echo "$as_me:4483: result: $ac_cv_prog_really_gxx" >&5
4484   echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6
4485   if test "$ac_cv_prog_really_gxx" = yes; then
4486          :
# Line 6122 | Line 4490 | fi
4490  
4491   fi
4492  
6125
4493   # Try to determine "good" native compiler flags if none specified on command
4494   # line
4495   if test "$ac_test_CXXFLAGS" != "set"; then
# Line 6166 | Line 4533 | if test "$ac_test_CXXFLAGS" != "set"; then
4533    if test $ac_cv_prog_really_gxx = yes; then
4534      # -malign-double for x86 systems
4535  
4536 <
6170 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5
4536 > echo "$as_me:4536: checking whether ${CXX-c++} accepts -malign-double" >&5
4537   echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6
4538   if test "${ac_align_double+set}" = set; then
4539    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6181 | Line 4547 | echo "$as_me:$LINENO: result: $ac_align_double" >&5
4547   rm -f conftest*
4548  
4549   fi
4550 < echo "$as_me:$LINENO: result: $ac_align_double" >&5
4550 > echo "$as_me:4550: result: $ac_align_double" >&5
4551   echo "${ECHO_T}$ac_align_double" >&6
4552   if test "$ac_align_double" = yes; then
4553          :
# Line 6193 | Line 4559 | fi
4559  
4560      # -fstrict-aliasing for gcc-2.95+
4561  
4562 <
6197 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
4562 > echo "$as_me:4562: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
4563   echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6
4564   if test "${ac_fstrict_aliasing+set}" = set; then
4565    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6208 | Line 4573 | echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&
4573   rm -f conftest*
4574  
4575   fi
4576 < echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
4576 > echo "$as_me:4576: result: $ac_fstrict_aliasing" >&5
4577   echo "${ECHO_T}$ac_fstrict_aliasing" >&6
4578   if test "$ac_fstrict_aliasing" = yes; then
4579          :
# Line 6225 | Line 4590 | echo "$as_me:$LINENO: checking whether ${CXX-c++} acce
4590                    case "${host_cpu}" in
4591            i586*)
4592  
4593 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5
4593 > echo "$as_me:4593: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5
4594   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentium... $ECHO_C" >&6
4595   if test "${ac_cpu_pentium+set}" = set; then
4596    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6239 | Line 4604 | echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
4604   rm -f conftest*
4605  
4606   fi
4607 < echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
4607 > echo "$as_me:4607: result: $ac_cpu_pentium" >&5
4608   echo "${ECHO_T}$ac_cpu_pentium" >&6
4609   if test "$ac_cpu_pentium" = yes; then
4610          :
# Line 6247 | Line 4612 | else
4612   else
4613          :
4614  
4615 <
6251 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5
4615 > echo "$as_me:4615: checking whether ${CXX-c++} accepts -mpentium" >&5
4616   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6
4617   if test "${ac_pentium+set}" = set; then
4618    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6262 | Line 4626 | echo "$as_me:$LINENO: result: $ac_pentium" >&5
4626   rm -f conftest*
4627  
4628   fi
4629 < echo "$as_me:$LINENO: result: $ac_pentium" >&5
4629 > echo "$as_me:4629: result: $ac_pentium" >&5
4630   echo "${ECHO_T}$ac_pentium" >&6
4631   if test "$ac_pentium" = yes; then
4632          :
# Line 6277 | Line 4641 | echo "$as_me:$LINENO: checking whether ${CXX-c++} acce
4641                    ;;
4642            i686*)
4643  
4644 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
4644 > echo "$as_me:4644: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
4645   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6
4646   if test "${ac_cpu_pentiumpro+set}" = set; then
4647    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6291 | Line 4655 | echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
4655   rm -f conftest*
4656  
4657   fi
4658 < echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
4658 > echo "$as_me:4658: result: $ac_cpu_pentiumpro" >&5
4659   echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
4660   if test "$ac_cpu_pentiumpro" = yes; then
4661          :
# Line 6299 | Line 4663 | else
4663   else
4664          :
4665  
4666 <
6303 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
4666 > echo "$as_me:4666: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
4667   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6
4668   if test "${ac_pentiumpro+set}" = set; then
4669    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6314 | Line 4677 | echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
4677   rm -f conftest*
4678  
4679   fi
4680 < echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
4680 > echo "$as_me:4680: result: $ac_pentiumpro" >&5
4681   echo "${ECHO_T}$ac_pentiumpro" >&6
4682   if test "$ac_pentiumpro" = yes; then
4683          :
# Line 6332 | Line 4695 | fi
4695                  is60x=`echo $cputype | egrep "^600-9e?$"`
4696                  if test -n "$is60x"; then
4697  
4698 <
6336 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
4698 > echo "$as_me:4698: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
4699   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6
4700   if test "${ac_m_cpu_60x+set}" = set; then
4701    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6347 | Line 4709 | echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
4709   rm -f conftest*
4710  
4711   fi
4712 < echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
4712 > echo "$as_me:4712: result: $ac_m_cpu_60x" >&5
4713   echo "${ECHO_T}$ac_m_cpu_60x" >&6
4714   if test "$ac_m_cpu_60x" = yes; then
4715          :
# Line 6359 | Line 4721 | fi
4721  
4722                  elif test "$cputype" = 750; then
4723  
4724 <
6363 < echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5
4724 > echo "$as_me:4724: checking whether we are using g++ 2.95 or later" >&5
4725   echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6
4726   if test "${ac_cv_prog_gxx_2_95+set}" = set; then
4727    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6374 | Line 4735 | if { ac_try='${CXX-c++} -E conftest.cpp'
4735   #endif
4736   EOF
4737   if { ac_try='${CXX-c++} -E conftest.cpp'
4738 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4738 >  { (eval echo "$as_me:4738: \"$ac_try\"") >&5
4739    (eval $ac_try) 2>&5
4740    ac_status=$?
4741 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 >  echo "$as_me:4741: \$? = $ac_status" >&5
4742    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
4743    ac_cv_prog_gxx_2_95=yes
4744   else
# Line 6385 | Line 4746 | echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&
4746   fi
4747  
4748   fi
4749 < echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5
4749 > echo "$as_me:4749: result: $ac_cv_prog_gxx_2_95" >&5
4750   echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6
4751   if test "$ac_cv_prog_gxx_2_95" = yes; then
4752          :
4753  
4754 <
6394 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5
4754 > echo "$as_me:4754: checking whether ${CXX-c++} accepts -mcpu=750" >&5
4755   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6
4756   if test "${ac_m_cpu_750+set}" = set; then
4757    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6405 | Line 4765 | echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
4765   rm -f conftest*
4766  
4767   fi
4768 < echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
4768 > echo "$as_me:4768: result: $ac_m_cpu_750" >&5
4769   echo "${ECHO_T}$ac_m_cpu_750" >&6
4770   if test "$ac_m_cpu_750" = yes; then
4771          :
# Line 6423 | Line 4783 | fi
4783                  fi
4784                  if test -z "$CPU_FLAGS"; then
4785  
4786 <
6427 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
4786 > echo "$as_me:4786: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
4787   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6
4788   if test "${ac_m_cpu_powerpc+set}" = set; then
4789    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6438 | Line 4797 | echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
4797   rm -f conftest*
4798  
4799   fi
4800 < echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
4800 > echo "$as_me:4800: result: $ac_m_cpu_powerpc" >&5
4801   echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
4802   if test "$ac_m_cpu_powerpc" = yes; then
4803          :
# Line 6451 | Line 4810 | fi
4810                  fi
4811                  if test -z "$CPU_FLAGS"; then
4812  
4813 <
6455 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5
4813 > echo "$as_me:4813: checking whether ${CXX-c++} accepts -mpowerpc" >&5
4814   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6
4815   if test "${ac_m_powerpc+set}" = set; then
4816    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6466 | Line 4824 | echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
4824   rm -f conftest*
4825  
4826   fi
4827 < echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
4827 > echo "$as_me:4827: result: $ac_m_powerpc" >&5
4828   echo "${ECHO_T}$ac_m_powerpc" >&6
4829   if test "$ac_m_powerpc" = yes; then
4830          :
# Line 6495 | Line 4853 | fi
4853          CXXFLAGS="-O3"
4854    fi
4855  
4856 <
6499 <
6500 < echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
4856 > echo "$as_me:4856: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
4857   echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6
4858   if test "${ac_guessed_cxxflags+set}" = set; then
4859    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6511 | Line 4867 | echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&
4867   rm -f conftest*
4868  
4869   fi
4870 < echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5
4870 > echo "$as_me:4870: result: $ac_guessed_cxxflags" >&5
4871   echo "${ECHO_T}$ac_guessed_cxxflags" >&6
4872   if test "$ac_guessed_cxxflags" = yes; then
4873          :
# Line 6530 | Line 4886 | fi
4886  
4887   fi
4888  
6533
4889   fi
4890  
6536
6537
6538
6539
4891   # Try to determine "good" native compiler flags if none specified on command
4892   # line
4893  
# Line 6584 | Line 4935 | if test x"$F90FLAGS" = x ; then
4935          F90FLAGS="-O3"
4936    fi
4937  
4938 <
6588 < echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
4938 > echo "$as_me:4938: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
4939   echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6
4940   if test "${ac_guessed_f90flags+set}" = set; then
4941    echo $ECHO_N "(cached) $ECHO_C" >&6
4942   else
4943  
6594
6595
4944   ac_ext=f90
4945   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4946   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 6601 | Line 4949 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4949   echo 'program main' > conftest.$ac_ext
4950   echo 'end program main' >> conftest.$ac_ext
4951   ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5'
4952 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4952 > if { (eval echo "$as_me:4952: \"$ac_compile\"") >&5
4953    (eval $ac_compile) 2>&5
4954    ac_status=$?
4955 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4955 >  echo "$as_me:4955: \$? = $ac_status" >&5
4956    (exit $ac_status); }; then
4957          ac_guessed_f90flags=yes
4958   else
# Line 6617 | Line 4965 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
4965   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4966   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4967  
6620
4968   fi
4969 < echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5
4969 > echo "$as_me:4969: result: $ac_guessed_f90flags" >&5
4970   echo "${ECHO_T}$ac_guessed_f90flags" >&6
4971   if test "$ac_guessed_f90flags" = yes; then
4972          :
# Line 6638 | Line 4985 | fi
4985  
4986   fi
4987  
6641
4988   fi
4989  
4990       ;;
# Line 6655 | Line 5001 | esac
5001   # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5002   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5003   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6658 # OS/2's system install, which has a completely different semantic
5004   # ./install, which can be erroneously created by make from ./install.sh.
5005 < echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5006 < echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5005 > echo "$as_me:5005: checking for a BSD compatible install" >&5
5006 > echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
5007   if test -z "$INSTALL"; then
5008   if test "${ac_cv_path_install+set}" = set; then
5009    echo $ECHO_N "(cached) $ECHO_C" >&6
5010   else
5011 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5012 < for as_dir in $PATH
5013 < do
5014 <  IFS=$as_save_IFS
5015 <  test -z "$as_dir" && as_dir=.
5016 <  # Account for people who put trailing slashes in PATH elements.
5017 < case $as_dir/ in
5018 <  ./ | .// | /cC/* | \
5019 <  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5020 <  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5021 <  /usr/ucb/* ) ;;
5022 <  *)
5023 <    # OSF1 and SCO ODT 3.0 have their own names for install.
5024 <    # Don't use installbsd from OSF since it installs stuff as root
6680 <    # by default.
6681 <    for ac_prog in ginstall scoinst install; do
6682 <      for ac_exec_ext in '' $ac_executable_extensions; do
6683 <        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5011 >    ac_save_IFS=$IFS; IFS=$ac_path_separator
5012 >  for ac_dir in $PATH; do
5013 >    IFS=$ac_save_IFS
5014 >    # Account for people who put trailing slashes in PATH elements.
5015 >    case $ac_dir/ in
5016 >    / | ./ | .// | /cC/* \
5017 >    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
5018 >    | /usr/ucb/* ) ;;
5019 >    *)
5020 >      # OSF1 and SCO ODT 3.0 have their own names for install.
5021 >      # Don't use installbsd from OSF since it installs stuff as root
5022 >      # by default.
5023 >      for ac_prog in ginstall scoinst install; do
5024 >        if $as_executable_p "$ac_dir/$ac_prog"; then
5025            if test $ac_prog = install &&
5026 <            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5026 >            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
5027              # AIX install.  It has an incompatible calling convention.
5028              :
5029            elif test $ac_prog = install &&
5030 <            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5030 >            grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
5031              # program-specific install script used by HP pwplus--don't use.
5032              :
5033            else
5034 <            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5035 <            break 3
5034 >            ac_cv_path_install="$ac_dir/$ac_prog -c"
5035 >            break 2
5036            fi
5037          fi
5038        done
5039 <    done
5040 <    ;;
5041 < esac
6701 < done
5039 >      ;;
5040 >    esac
5041 >  done
5042  
6703
5043   fi
5044    if test "${ac_cv_path_install+set}" = set; then
5045      INSTALL=$ac_cv_path_install
# Line 6712 | Line 5051 | echo "$as_me:$LINENO: result: $INSTALL" >&5
5051      INSTALL=$ac_install_sh
5052    fi
5053   fi
5054 < echo "$as_me:$LINENO: result: $INSTALL" >&5
5054 > echo "$as_me:5054: result: $INSTALL" >&5
5055   echo "${ECHO_T}$INSTALL" >&6
5056  
5057   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 6723 | Line 5062 | echo "$as_me:$LINENO: checking whether ln -s works" >&
5062  
5063   test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5064  
5065 < echo "$as_me:$LINENO: checking whether ln -s works" >&5
5065 > echo "$as_me:5065: checking whether ln -s works" >&5
5066   echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5067   LN_S=$as_ln_s
5068   if test "$LN_S" = "ln -s"; then
5069 <  echo "$as_me:$LINENO: result: yes" >&5
5069 >  echo "$as_me:5069: result: yes" >&5
5070   echo "${ECHO_T}yes" >&6
5071   else
5072 <  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5072 >  echo "$as_me:5072: result: no, using $LN_S" >&5
5073   echo "${ECHO_T}no, using $LN_S" >&6
5074   fi
5075  
5076 < echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5077 < echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
5078 < set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
5076 > echo "$as_me:5076: checking whether ${MAKE-make} sets \${MAKE}" >&5
5077 > echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
5078 > set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
5079   if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
5080    echo $ECHO_N "(cached) $ECHO_C" >&6
5081   else
5082 <  cat >conftest.make <<\_ACEOF
5082 >  cat >conftest.make <<\EOF
5083   all:
5084 <        @echo 'ac_maketemp="$(MAKE)"'
5085 < _ACEOF
5084 >        @echo 'ac_maketemp="${MAKE}"'
5085 > EOF
5086   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5087   eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
5088   if test -n "$ac_maketemp"; then
# Line 6754 | Line 5093 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_se
5093   rm -f conftest.make
5094   fi
5095   if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
5096 <  echo "$as_me:$LINENO: result: yes" >&5
5096 >  echo "$as_me:5096: result: yes" >&5
5097   echo "${ECHO_T}yes" >&6
5098    SET_MAKE=
5099   else
5100 <  echo "$as_me:$LINENO: result: no" >&5
5100 >  echo "$as_me:5100: result: no" >&5
5101   echo "${ECHO_T}no" >&6
5102    SET_MAKE="MAKE=${MAKE-make}"
5103   fi
# Line 6766 | Line 5105 | echo "$as_me:$LINENO: checking for $ac_word" >&5
5105   if test -n "$ac_tool_prefix"; then
5106    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5107   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5108 < echo "$as_me:$LINENO: checking for $ac_word" >&5
5108 > echo "$as_me:5108: checking for $ac_word" >&5
5109   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5110   if test "${ac_cv_prog_RANLIB+set}" = set; then
5111    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6774 | Line 5113 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5113    if test -n "$RANLIB"; then
5114    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5115   else
5116 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5117 < for as_dir in $PATH
5118 < do
5119 <  IFS=$as_save_IFS
5120 <  test -z "$as_dir" && as_dir=.
5121 <  for ac_exec_ext in '' $ac_executable_extensions; do
5122 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5123 <    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5124 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6786 <    break 2
6787 <  fi
5116 >  ac_save_IFS=$IFS; IFS=$ac_path_separator
5117 > ac_dummy="$PATH"
5118 > for ac_dir in $ac_dummy; do
5119 >  IFS=$ac_save_IFS
5120 >  test -z "$ac_dir" && ac_dir=.
5121 >  $as_executable_p "$ac_dir/$ac_word" || continue
5122 > ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5123 > echo "$as_me:5123: found $ac_dir/$ac_word" >&5
5124 > break
5125   done
6789 done
5126  
5127   fi
5128   fi
5129   RANLIB=$ac_cv_prog_RANLIB
5130   if test -n "$RANLIB"; then
5131 <  echo "$as_me:$LINENO: result: $RANLIB" >&5
5131 >  echo "$as_me:5131: result: $RANLIB" >&5
5132   echo "${ECHO_T}$RANLIB" >&6
5133   else
5134 <  echo "$as_me:$LINENO: result: no" >&5
5134 >  echo "$as_me:5134: result: no" >&5
5135   echo "${ECHO_T}no" >&6
5136   fi
5137  
# Line 6804 | Line 5140 | echo "$as_me:$LINENO: checking for $ac_word" >&5
5140    ac_ct_RANLIB=$RANLIB
5141    # Extract the first word of "ranlib", so it can be a program name with args.
5142   set dummy ranlib; ac_word=$2
5143 < echo "$as_me:$LINENO: checking for $ac_word" >&5
5143 > echo "$as_me:5143: checking for $ac_word" >&5
5144   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5145   if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5146    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6812 | Line 5148 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5148    if test -n "$ac_ct_RANLIB"; then
5149    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5150   else
5151 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5152 < for as_dir in $PATH
5153 < do
5154 <  IFS=$as_save_IFS
5155 <  test -z "$as_dir" && as_dir=.
5156 <  for ac_exec_ext in '' $ac_executable_extensions; do
5157 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5158 <    ac_cv_prog_ac_ct_RANLIB="ranlib"
5159 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6824 <    break 2
6825 <  fi
5151 >  ac_save_IFS=$IFS; IFS=$ac_path_separator
5152 > ac_dummy="$PATH"
5153 > for ac_dir in $ac_dummy; do
5154 >  IFS=$ac_save_IFS
5155 >  test -z "$ac_dir" && ac_dir=.
5156 >  $as_executable_p "$ac_dir/$ac_word" || continue
5157 > ac_cv_prog_ac_ct_RANLIB="ranlib"
5158 > echo "$as_me:5158: found $ac_dir/$ac_word" >&5
5159 > break
5160   done
6827 done
5161  
5162    test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5163   fi
5164   fi
5165   ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5166   if test -n "$ac_ct_RANLIB"; then
5167 <  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5167 >  echo "$as_me:5167: result: $ac_ct_RANLIB" >&5
5168   echo "${ECHO_T}$ac_ct_RANLIB" >&6
5169   else
5170 <  echo "$as_me:$LINENO: result: no" >&5
5170 >  echo "$as_me:5170: result: no" >&5
5171   echo "${ECHO_T}no" >&6
5172   fi
5173  
# Line 6847 | Line 5180 | echo "$as_me:$LINENO: checking for $ac_word" >&5
5180   do
5181    # Extract the first word of "$ac_prog", so it can be a program name with args.
5182   set dummy $ac_prog; ac_word=$2
5183 < echo "$as_me:$LINENO: checking for $ac_word" >&5
5183 > echo "$as_me:5183: checking for $ac_word" >&5
5184   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5185   if test "${ac_cv_prog_YACC+set}" = set; then
5186    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6855 | Line 5188 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5188    if test -n "$YACC"; then
5189    ac_cv_prog_YACC="$YACC" # Let the user override the test.
5190   else
5191 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5192 < for as_dir in $PATH
5193 < do
5194 <  IFS=$as_save_IFS
5195 <  test -z "$as_dir" && as_dir=.
5196 <  for ac_exec_ext in '' $ac_executable_extensions; do
5197 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5198 <    ac_cv_prog_YACC="$ac_prog"
5199 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6867 <    break 2
6868 <  fi
5191 >  ac_save_IFS=$IFS; IFS=$ac_path_separator
5192 > ac_dummy="$PATH"
5193 > for ac_dir in $ac_dummy; do
5194 >  IFS=$ac_save_IFS
5195 >  test -z "$ac_dir" && ac_dir=.
5196 >  $as_executable_p "$ac_dir/$ac_word" || continue
5197 > ac_cv_prog_YACC="$ac_prog"
5198 > echo "$as_me:5198: found $ac_dir/$ac_word" >&5
5199 > break
5200   done
6870 done
5201  
5202   fi
5203   fi
5204   YACC=$ac_cv_prog_YACC
5205   if test -n "$YACC"; then
5206 <  echo "$as_me:$LINENO: result: $YACC" >&5
5206 >  echo "$as_me:5206: result: $YACC" >&5
5207   echo "${ECHO_T}$YACC" >&6
5208   else
5209 <  echo "$as_me:$LINENO: result: no" >&5
5209 >  echo "$as_me:5209: result: no" >&5
5210   echo "${ECHO_T}no" >&6
5211   fi
5212  
# Line 6888 | Line 5218 | echo "$as_me:$LINENO: checking for $ac_word" >&5
5218   do
5219    # Extract the first word of "$ac_prog", so it can be a program name with args.
5220   set dummy $ac_prog; ac_word=$2
5221 < echo "$as_me:$LINENO: checking for $ac_word" >&5
5221 > echo "$as_me:5221: checking for $ac_word" >&5
5222   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5223   if test "${ac_cv_prog_LEX+set}" = set; then
5224    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6896 | Line 5226 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5226    if test -n "$LEX"; then
5227    ac_cv_prog_LEX="$LEX" # Let the user override the test.
5228   else
5229 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5230 < for as_dir in $PATH
5231 < do
5232 <  IFS=$as_save_IFS
5233 <  test -z "$as_dir" && as_dir=.
5234 <  for ac_exec_ext in '' $ac_executable_extensions; do
5235 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5236 <    ac_cv_prog_LEX="$ac_prog"
5237 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6908 <    break 2
6909 <  fi
5229 >  ac_save_IFS=$IFS; IFS=$ac_path_separator
5230 > ac_dummy="$PATH"
5231 > for ac_dir in $ac_dummy; do
5232 >  IFS=$ac_save_IFS
5233 >  test -z "$ac_dir" && ac_dir=.
5234 >  $as_executable_p "$ac_dir/$ac_word" || continue
5235 > ac_cv_prog_LEX="$ac_prog"
5236 > echo "$as_me:5236: found $ac_dir/$ac_word" >&5
5237 > break
5238   done
6911 done
5239  
5240   fi
5241   fi
5242   LEX=$ac_cv_prog_LEX
5243   if test -n "$LEX"; then
5244 <  echo "$as_me:$LINENO: result: $LEX" >&5
5244 >  echo "$as_me:5244: result: $LEX" >&5
5245   echo "${ECHO_T}$LEX" >&6
5246   else
5247 <  echo "$as_me:$LINENO: result: no" >&5
5247 >  echo "$as_me:5247: result: no" >&5
5248   echo "${ECHO_T}no" >&6
5249   fi
5250  
# Line 6927 | Line 5254 | then
5254  
5255   if test -z "$LEXLIB"
5256   then
5257 <  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
5257 >  echo "$as_me:5257: checking for yywrap in -lfl" >&5
5258   echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
5259   if test "${ac_cv_lib_fl_yywrap+set}" = set; then
5260    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6935 | Line 5262 | cat >conftest.$ac_ext <<_ACEOF
5262    ac_check_lib_save_LIBS=$LIBS
5263   LIBS="-lfl  $LIBS"
5264   cat >conftest.$ac_ext <<_ACEOF
5265 < /* confdefs.h.  */
5266 < _ACEOF
6940 < cat confdefs.h >>conftest.$ac_ext
6941 < cat >>conftest.$ac_ext <<_ACEOF
6942 < /* end confdefs.h.  */
5265 > #line 5265 "configure"
5266 > #include "confdefs.h"
5267  
5268   /* Override any gcc2 internal prototype to avoid an error.  */
5269   #ifdef __cplusplus
# Line 6957 | Line 5281 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5281   }
5282   _ACEOF
5283   rm -f conftest.$ac_objext conftest$ac_exeext
5284 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5285 <  (eval $ac_link) 2>conftest.er1
5284 > if { (eval echo "$as_me:5284: \"$ac_link\"") >&5
5285 >  (eval $ac_link) 2>&5
5286    ac_status=$?
5287 <  grep -v '^ *+' conftest.er1 >conftest.err
6964 <  rm -f conftest.er1
6965 <  cat conftest.err >&5
6966 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287 >  echo "$as_me:5287: \$? = $ac_status" >&5
5288    (exit $ac_status); } &&
5289 <         { ac_try='test -z "$ac_c_werror_flag"
5290 <                         || test ! -s conftest.err'
6970 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5289 >         { ac_try='test -s conftest$ac_exeext'
5290 >  { (eval echo "$as_me:5290: \"$ac_try\"") >&5
5291    (eval $ac_try) 2>&5
5292    ac_status=$?
5293 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 <  (exit $ac_status); }; } &&
6975 <         { ac_try='test -s conftest$ac_exeext'
6976 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6977 <  (eval $ac_try) 2>&5
6978 <  ac_status=$?
6979 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5293 >  echo "$as_me:5293: \$? = $ac_status" >&5
5294    (exit $ac_status); }; }; then
5295    ac_cv_lib_fl_yywrap=yes
5296   else
5297    echo "$as_me: failed program was:" >&5
5298 < sed 's/^/| /' conftest.$ac_ext >&5
6985 <
5298 > cat conftest.$ac_ext >&5
5299   ac_cv_lib_fl_yywrap=no
5300   fi
5301 < rm -f conftest.err conftest.$ac_objext \
6989 <      conftest$ac_exeext conftest.$ac_ext
5301 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5302   LIBS=$ac_check_lib_save_LIBS
5303   fi
5304 < echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
5304 > echo "$as_me:5304: result: $ac_cv_lib_fl_yywrap" >&5
5305   echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
5306   if test $ac_cv_lib_fl_yywrap = yes; then
5307    LEXLIB="-lfl"
5308   else
5309 <  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
5309 >  echo "$as_me:5309: checking for yywrap in -ll" >&5
5310   echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
5311   if test "${ac_cv_lib_l_yywrap+set}" = set; then
5312    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7002 | Line 5314 | cat >conftest.$ac_ext <<_ACEOF
5314    ac_check_lib_save_LIBS=$LIBS
5315   LIBS="-ll  $LIBS"
5316   cat >conftest.$ac_ext <<_ACEOF
5317 < /* confdefs.h.  */
5318 < _ACEOF
7007 < cat confdefs.h >>conftest.$ac_ext
7008 < cat >>conftest.$ac_ext <<_ACEOF
7009 < /* end confdefs.h.  */
5317 > #line 5317 "configure"
5318 > #include "confdefs.h"
5319  
5320   /* Override any gcc2 internal prototype to avoid an error.  */
5321   #ifdef __cplusplus
# Line 7024 | Line 5333 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5333   }
5334   _ACEOF
5335   rm -f conftest.$ac_objext conftest$ac_exeext
5336 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5337 <  (eval $ac_link) 2>conftest.er1
5336 > if { (eval echo "$as_me:5336: \"$ac_link\"") >&5
5337 >  (eval $ac_link) 2>&5
5338    ac_status=$?
5339 <  grep -v '^ *+' conftest.er1 >conftest.err
7031 <  rm -f conftest.er1
7032 <  cat conftest.err >&5
7033 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5339 >  echo "$as_me:5339: \$? = $ac_status" >&5
5340    (exit $ac_status); } &&
5341 <         { ac_try='test -z "$ac_c_werror_flag"
5342 <                         || test ! -s conftest.err'
7037 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5341 >         { ac_try='test -s conftest$ac_exeext'
5342 >  { (eval echo "$as_me:5342: \"$ac_try\"") >&5
5343    (eval $ac_try) 2>&5
5344    ac_status=$?
5345 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7041 <  (exit $ac_status); }; } &&
7042 <         { ac_try='test -s conftest$ac_exeext'
7043 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7044 <  (eval $ac_try) 2>&5
7045 <  ac_status=$?
7046 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345 >  echo "$as_me:5345: \$? = $ac_status" >&5
5346    (exit $ac_status); }; }; then
5347    ac_cv_lib_l_yywrap=yes
5348   else
5349    echo "$as_me: failed program was:" >&5
5350 < sed 's/^/| /' conftest.$ac_ext >&5
7052 <
5350 > cat conftest.$ac_ext >&5
5351   ac_cv_lib_l_yywrap=no
5352   fi
5353 < rm -f conftest.err conftest.$ac_objext \
7056 <      conftest$ac_exeext conftest.$ac_ext
5353 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5354   LIBS=$ac_check_lib_save_LIBS
5355   fi
5356 < echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
5356 > echo "$as_me:5356: result: $ac_cv_lib_l_yywrap" >&5
5357   echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
5358   if test $ac_cv_lib_l_yywrap = yes; then
5359    LEXLIB="-ll"
# Line 7067 | Line 5364 | if test "x$LEX" != "x:"; then
5364   fi
5365  
5366   if test "x$LEX" != "x:"; then
5367 <  echo "$as_me:$LINENO: checking lex output file root" >&5
5367 >  echo "$as_me:5367: checking lex output file root" >&5
5368   echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
5369   if test "${ac_cv_prog_lex_root+set}" = set; then
5370    echo $ECHO_N "(cached) $ECHO_C" >&6
5371   else
5372    # The minimal lex program is just a single line: %%.  But some broken lexes
5373   # (Solaris, I think it was) want two %% lines, so accommodate them.
5374 < cat >conftest.l <<_ACEOF
5375 < %%
7079 < %%
7080 < _ACEOF
7081 < { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
7082 <  (eval $LEX conftest.l) 2>&5
7083 <  ac_status=$?
7084 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085 <  (exit $ac_status); }
5374 > echo '%%
5375 > %%' | $LEX
5376   if test -f lex.yy.c; then
5377    ac_cv_prog_lex_root=lex.yy
5378   elif test -f lexyy.c; then
5379    ac_cv_prog_lex_root=lexyy
5380   else
5381 <  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5381 >  { { echo "$as_me:5381: error: cannot find output from $LEX; giving up" >&5
5382   echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5383     { (exit 1); exit 1; }; }
5384   fi
5385   fi
5386 < echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5386 > echo "$as_me:5386: result: $ac_cv_prog_lex_root" >&5
5387   echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
7098 rm -f conftest.l
5388   LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5389  
5390 < echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5390 > echo "$as_me:5390: checking whether yytext is a pointer" >&5
5391   echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
5392   if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5393    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7114 | Line 5403 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5403   `cat $LEX_OUTPUT_ROOT.c`
5404   _ACEOF
5405   rm -f conftest.$ac_objext conftest$ac_exeext
5406 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5407 <  (eval $ac_link) 2>conftest.er1
5406 > if { (eval echo "$as_me:5406: \"$ac_link\"") >&5
5407 >  (eval $ac_link) 2>&5
5408    ac_status=$?
5409 <  grep -v '^ *+' conftest.er1 >conftest.err
7121 <  rm -f conftest.er1
7122 <  cat conftest.err >&5
7123 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409 >  echo "$as_me:5409: \$? = $ac_status" >&5
5410    (exit $ac_status); } &&
5411 <         { ac_try='test -z "$ac_c_werror_flag"
5412 <                         || test ! -s conftest.err'
7127 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5411 >         { ac_try='test -s conftest$ac_exeext'
5412 >  { (eval echo "$as_me:5412: \"$ac_try\"") >&5
5413    (eval $ac_try) 2>&5
5414    ac_status=$?
5415 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7131 <  (exit $ac_status); }; } &&
7132 <         { ac_try='test -s conftest$ac_exeext'
7133 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7134 <  (eval $ac_try) 2>&5
7135 <  ac_status=$?
7136 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5415 >  echo "$as_me:5415: \$? = $ac_status" >&5
5416    (exit $ac_status); }; }; then
5417    ac_cv_prog_lex_yytext_pointer=yes
5418   else
5419    echo "$as_me: failed program was:" >&5
5420 < sed 's/^/| /' conftest.$ac_ext >&5
7142 <
5420 > cat conftest.$ac_ext >&5
5421   fi
5422 < rm -f conftest.err conftest.$ac_objext \
7145 <      conftest$ac_exeext conftest.$ac_ext
5422 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5423   LIBS=$ac_save_LIBS
5424   rm -f "${LEX_OUTPUT_ROOT}.c"
5425  
5426   fi
5427 < echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5427 > echo "$as_me:5427: result: $ac_cv_prog_lex_yytext_pointer" >&5
5428   echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
5429   if test $ac_cv_prog_lex_yytext_pointer = yes; then
5430  
5431 < cat >>confdefs.h <<\_ACEOF
5431 > cat >>confdefs.h <<\EOF
5432   #define YYTEXT_POINTER 1
5433 < _ACEOF
5433 > EOF
5434  
5435   fi
5436  
5437   fi
5438   # Extract the first word of "ar", so it can be a program name with args.
5439   set dummy ar; ac_word=$2
5440 < echo "$as_me:$LINENO: checking for $ac_word" >&5
5440 > echo "$as_me:5440: checking for $ac_word" >&5
5441   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5442   if test "${ac_cv_prog_AR+set}" = set; then
5443    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7168 | Line 5445 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5445    if test -n "$AR"; then
5446    ac_cv_prog_AR="$AR" # Let the user override the test.
5447   else
5448 < as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5449 < for as_dir in $PATH
5450 < do
5451 <  IFS=$as_save_IFS
5452 <  test -z "$as_dir" && as_dir=.
5453 <  for ac_exec_ext in '' $ac_executable_extensions; do
5454 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5455 <    ac_cv_prog_AR="ar"
5456 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7180 <    break 2
7181 <  fi
5448 >  ac_save_IFS=$IFS; IFS=$ac_path_separator
5449 > ac_dummy="$PATH"
5450 > for ac_dir in $ac_dummy; do
5451 >  IFS=$ac_save_IFS
5452 >  test -z "$ac_dir" && ac_dir=.
5453 >  $as_executable_p "$ac_dir/$ac_word" || continue
5454 > ac_cv_prog_AR="ar"
5455 > echo "$as_me:5455: found $ac_dir/$ac_word" >&5
5456 > break
5457   done
7183 done
5458  
5459    test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE"
5460   fi
5461   fi
5462   AR=$ac_cv_prog_AR
5463   if test -n "$AR"; then
5464 <  echo "$as_me:$LINENO: result: $AR" >&5
5464 >  echo "$as_me:5464: result: $AR" >&5
5465   echo "${ECHO_T}$AR" >&6
5466   else
5467 <  echo "$as_me:$LINENO: result: no" >&5
5467 >  echo "$as_me:5467: result: no" >&5
5468   echo "${ECHO_T}no" >&6
5469   fi
5470  
5471   if test "$AR" = "NONE"; then
5472 <  { { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5
5472 >  { { echo "$as_me:5472: error: --> Can't find \`ar'!" >&5
5473   echo "$as_me: error: --> Can't find \`ar'!" >&2;}
5474     { (exit 1); exit 1; }; }
5475    cat >confcache <<\_ACEOF
# Line 7208 | Line 5482 | echo "$as_me: error: --> Can't find \`ar'!" >&2;}
5482   # config.status only pays attention to the cache file if you give it
5483   # the --recheck option to rerun configure.
5484   #
5485 < # `ac_cv_env_foo' variables (set or unset) will be overridden when
5485 > # `ac_cv_env_foo' variables (set or unset) will be overriden when
5486   # loading this file, other *unset* `ac_cv_foo' will be assigned the
5487   # following values.
5488  
# Line 7226 | Line 5500 | _ACEOF
5500        # `set' does not quote correctly, so add quotes (double-quote
5501        # substitution turns \\\\ into \\, and sed turns \\ into \).
5502        sed -n \
5503 <        "s/'/'\\\\''/g;
5504 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5503 >        "s/'/'\\\\''/g;
5504 >          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5505        ;;
5506      *)
5507        # `set' quotes correctly as required by POSIX, so do not add quotes.
5508        sed -n \
5509 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5509 >        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5510        ;;
5511      esac;
5512   } |
# Line 7243 | Line 5517 | if diff $cache_file confcache >/dev/null 2>&1; then :;
5517       t end
5518       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5519       : end' >>confcache
5520 < if diff $cache_file confcache >/dev/null 2>&1; then :; else
5520 > if cmp -s $cache_file confcache; then :; else
5521    if test -w $cache_file; then
5522      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5523      cat confcache >$cache_file
# Line 7257 | Line 5531 | echo "$as_me:$LINENO: checking for $ac_word" >&5
5531  
5532   # Extract the first word of "ps", so it can be a program name with args.
5533   set dummy ps; ac_word=$2
5534 < echo "$as_me:$LINENO: checking for $ac_word" >&5
5534 > echo "$as_me:5534: checking for $ac_word" >&5
5535   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5536   if test "${ac_cv_path_PS+set}" = set; then
5537    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7267 | Line 5541 | else
5541    ac_cv_path_PS="$PS" # Let the user override the test with a path.
5542    ;;
5543    *)
5544 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5545 < for as_dir in $PATH
5546 < do
5547 <  IFS=$as_save_IFS
5548 <  test -z "$as_dir" && as_dir=.
5549 <  for ac_exec_ext in '' $ac_executable_extensions; do
5550 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5551 <    ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
5552 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5553 <    break 2
7280 <  fi
5544 >  ac_save_IFS=$IFS; IFS=$ac_path_separator
5545 > ac_dummy="$PATH"
5546 > for ac_dir in $ac_dummy; do
5547 >  IFS=$ac_save_IFS
5548 >  test -z "$ac_dir" && ac_dir=.
5549 >  if $as_executable_p "$ac_dir/$ac_word"; then
5550 >   ac_cv_path_PS="$ac_dir/$ac_word"
5551 >   echo "$as_me:5551: found $ac_dir/$ac_word" >&5
5552 >   break
5553 > fi
5554   done
7282 done
5555  
5556    ;;
5557   esac
# Line 7287 | Line 5559 | if test -n "$PS"; then
5559   PS=$ac_cv_path_PS
5560  
5561   if test -n "$PS"; then
5562 <  echo "$as_me:$LINENO: result: $PS" >&5
5562 >  echo "$as_me:5562: result: $PS" >&5
5563   echo "${ECHO_T}$PS" >&6
5564   else
5565 <  echo "$as_me:$LINENO: result: no" >&5
5565 >  echo "$as_me:5565: result: no" >&5
5566   echo "${ECHO_T}no" >&6
5567   fi
5568  
5569 < echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5
5569 > echo "$as_me:5569: checking for POSIX or BSD ps syntax" >&5
5570   echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6
5571   if test "${ac_cv_prog_ps_syntax+set}" = set; then
5572    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7313 | Line 5585 | else
5585          if test "$ac_cv_prog_ps_ax" = yes; then
5586                  ac_cv_prog_ps_syntax=BSD
5587          else
5588 <                if test "$ac_cv_prog_ps_es" = yes; then
5588 >                if test "$ac_cv_prog_ps_ef" = yes; then
5589                          ac_cv_prog_ps_syntax=POSIX
5590                  else
5591 <                        { { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5
5591 >                        { { echo "$as_me:5591: error: Could not determine ps syntax" >&5
5592   echo "$as_me: error: Could not determine ps syntax" >&2;}
5593     { (exit 1); exit 1; }; }
5594                  fi
5595          fi
5596  
5597   fi
5598 < echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5
5598 > echo "$as_me:5598: result: $ac_cv_prog_ps_syntax" >&5
5599   echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6
5600  
5601 < cat >>confdefs.h <<_ACEOF
5601 > cat >>confdefs.h <<EOF
5602   #define PSCOMMAND $PS
5603 < _ACEOF
5603 > EOF
5604  
5605 + if test "$ac_cv_prog_ps_syntax" = BSD; then
5606 +  cat >>confdefs.h <<\EOF
5607 + #define PSTYPE_IS_BSD 1
5608 + EOF
5609  
5610 < cat >>confdefs.h <<_ACEOF
5611 < #define PSTYPE $ac_cv_prog_ps_syntax
5612 < _ACEOF
5610 > else
5611 >   if test "$ac_cv_prog_ps_syntax" = POSIX; then
5612 >       cat >>confdefs.h <<\EOF
5613 > #define PSTYPE_IS_POSIX 1
5614 > EOF
5615  
5616 <
5617 <
5616 >   else
5617 >       { { echo "$as_me:5617: error: Unknown ps syntax type!" >&5
5618 > echo "$as_me: error: Unknown ps syntax type!" >&2;}
5619 >   { (exit 1); exit 1; }; }
5620 >   fi
5621 > fi
5622  
5623   # Check whether --with-mpi or --without-mpi was given.
5624   if test "${with_mpi+set}" = set; then
# Line 7356 | Line 5638 | if test "$USE_MPI" = "yes"; then
5638   fi
5639   if test "$USE_MPI" = "yes"; then
5640  
7359
5641   # Set variables...
5642   MPI_LIB_DIR="$MPI/lib"
5643   MPI_INC_DIR="$MPI/include"
5644  
5645 <
7365 <
7366 < echo "$as_me:$LINENO: checking for mpi.h" >&5
5645 > echo "$as_me:5645: checking for mpi.h" >&5
5646   echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
5647   have_mpi_h=0
5648   echo '#include <mpi.h>' > conftest.cc
5649   if test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then
5650 <        echo "$as_me:$LINENO: result: yes" >&5
5650 >        echo "$as_me:5650: result: yes" >&5
5651   echo "${ECHO_T}yes" >&6
5652          have_mpi_h=1
5653   else
5654 <        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
5654 >        echo "$as_me:5654: result: no! Check MPI include paths" >&5
5655   echo "${ECHO_T}no! Check MPI include paths" >&6
5656          USE_MPI="no"
5657   fi
5658   rm -f conftest*
5659   if test "$have_mpi_h" = 1; then
5660  
5661 < cat >>confdefs.h <<\_ACEOF
5661 > cat >>confdefs.h <<\EOF
5662   #define HAVE_MPI_H 1
5663 < _ACEOF
5663 > EOF
5664  
5665   fi
5666  
5667 < echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5
5667 > echo "$as_me:5667: checking whether mpif.h is usable" >&5
5668   echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6
5669   have_mpif_h=0
5670   rm -f conftest*
# Line 7395 | Line 5674 | if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out
5674   end
5675   EOF
5676   if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out 2>&1 ; then
5677 <        echo "$as_me:$LINENO: result: yes" >&5
5677 >        echo "$as_me:5677: result: yes" >&5
5678   echo "${ECHO_T}yes" >&6
5679          MPI_F90_INC="$MPI_INC_DIR"
5680          have_mpif_h=1
# Line 7403 | Line 5682 | else
5682          if test -s conftest.out ; then
5683                  cat conftest.out >> config.log
5684          fi
5685 <        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
5685 >        echo "$as_me:5685: result: no! Check MPI include paths" >&5
5686   echo "${ECHO_T}no! Check MPI include paths" >&6
5687          USE_MPI="no"
5688   fi
# Line 7411 | Line 5690 | cat >>confdefs.h <<\_ACEOF
5690  
5691   if test "$have_mpif_h" = 1; then
5692  
5693 < cat >>confdefs.h <<\_ACEOF
5693 > cat >>confdefs.h <<\EOF
5694   #define HAVE_MPIF_H 1
5695 < _ACEOF
5695 > EOF
5696  
5697   fi
5698  
# Line 7427 | Line 5706 | if test x = x"$MPI_LIB"; then
5706   LDFLAGS="${LDFLAGS} -L${MPI_LIB_DIR} "
5707  
5708   if test x = x"$MPI_LIB"; then
5709 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
5709 >        echo "$as_me:5709: checking for MPI_Init in -lmpich" >&5
5710   echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
5711   if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
5712    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7435 | Line 5714 | cat >conftest.$ac_ext <<_ACEOF
5714    ac_check_lib_save_LIBS=$LIBS
5715   LIBS="-lmpich  $LIBS"
5716   cat >conftest.$ac_ext <<_ACEOF
5717 < /* confdefs.h.  */
5718 < _ACEOF
7440 < cat confdefs.h >>conftest.$ac_ext
7441 < cat >>conftest.$ac_ext <<_ACEOF
7442 < /* end confdefs.h.  */
5717 > #line 5717 "configure"
5718 > #include "confdefs.h"
5719  
5720   /* Override any gcc2 internal prototype to avoid an error.  */
5721   #ifdef __cplusplus
# Line 7457 | Line 5733 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5733   }
5734   _ACEOF
5735   rm -f conftest.$ac_objext conftest$ac_exeext
5736 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5737 <  (eval $ac_link) 2>conftest.er1
5736 > if { (eval echo "$as_me:5736: \"$ac_link\"") >&5
5737 >  (eval $ac_link) 2>&5
5738    ac_status=$?
5739 <  grep -v '^ *+' conftest.er1 >conftest.err
7464 <  rm -f conftest.er1
7465 <  cat conftest.err >&5
7466 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 >  echo "$as_me:5739: \$? = $ac_status" >&5
5740    (exit $ac_status); } &&
5741 <         { ac_try='test -z "$ac_c_werror_flag"
5742 <                         || test ! -s conftest.err'
7470 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5741 >         { ac_try='test -s conftest$ac_exeext'
5742 >  { (eval echo "$as_me:5742: \"$ac_try\"") >&5
5743    (eval $ac_try) 2>&5
5744    ac_status=$?
5745 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7474 <  (exit $ac_status); }; } &&
7475 <         { ac_try='test -s conftest$ac_exeext'
7476 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7477 <  (eval $ac_try) 2>&5
7478 <  ac_status=$?
7479 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5745 >  echo "$as_me:5745: \$? = $ac_status" >&5
5746    (exit $ac_status); }; }; then
5747    ac_cv_lib_mpich_MPI_Init=yes
5748   else
5749    echo "$as_me: failed program was:" >&5
5750 < sed 's/^/| /' conftest.$ac_ext >&5
7485 <
5750 > cat conftest.$ac_ext >&5
5751   ac_cv_lib_mpich_MPI_Init=no
5752   fi
5753 < rm -f conftest.err conftest.$ac_objext \
7489 <      conftest$ac_exeext conftest.$ac_ext
5753 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5754   LIBS=$ac_check_lib_save_LIBS
5755   fi
5756 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
5756 > echo "$as_me:5756: result: $ac_cv_lib_mpich_MPI_Init" >&5
5757   echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
5758   if test $ac_cv_lib_mpich_MPI_Init = yes; then
5759    MPI_LIB="-lmpich"
# Line 7497 | Line 5761 | if test x = x"$MPI_LIB"; then
5761  
5762   fi
5763   if test x = x"$MPI_LIB"; then
5764 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
5764 >        echo "$as_me:5764: checking for MPI_Init in -lmpi" >&5
5765   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
5766   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
5767    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7505 | Line 5769 | cat >conftest.$ac_ext <<_ACEOF
5769    ac_check_lib_save_LIBS=$LIBS
5770   LIBS="-lmpi  $LIBS"
5771   cat >conftest.$ac_ext <<_ACEOF
5772 < /* confdefs.h.  */
5773 < _ACEOF
7510 < cat confdefs.h >>conftest.$ac_ext
7511 < cat >>conftest.$ac_ext <<_ACEOF
7512 < /* end confdefs.h.  */
5772 > #line 5772 "configure"
5773 > #include "confdefs.h"
5774  
5775   /* Override any gcc2 internal prototype to avoid an error.  */
5776   #ifdef __cplusplus
# Line 7527 | Line 5788 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5788   }
5789   _ACEOF
5790   rm -f conftest.$ac_objext conftest$ac_exeext
5791 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5792 <  (eval $ac_link) 2>conftest.er1
5791 > if { (eval echo "$as_me:5791: \"$ac_link\"") >&5
5792 >  (eval $ac_link) 2>&5
5793    ac_status=$?
5794 <  grep -v '^ *+' conftest.er1 >conftest.err
7534 <  rm -f conftest.er1
7535 <  cat conftest.err >&5
7536 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5794 >  echo "$as_me:5794: \$? = $ac_status" >&5
5795    (exit $ac_status); } &&
5796 <         { ac_try='test -z "$ac_c_werror_flag"
5797 <                         || test ! -s conftest.err'
7540 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5796 >         { ac_try='test -s conftest$ac_exeext'
5797 >  { (eval echo "$as_me:5797: \"$ac_try\"") >&5
5798    (eval $ac_try) 2>&5
5799    ac_status=$?
5800 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7544 <  (exit $ac_status); }; } &&
7545 <         { ac_try='test -s conftest$ac_exeext'
7546 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7547 <  (eval $ac_try) 2>&5
7548 <  ac_status=$?
7549 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800 >  echo "$as_me:5800: \$? = $ac_status" >&5
5801    (exit $ac_status); }; }; then
5802    ac_cv_lib_mpi_MPI_Init=yes
5803   else
5804    echo "$as_me: failed program was:" >&5
5805 < sed 's/^/| /' conftest.$ac_ext >&5
7555 <
5805 > cat conftest.$ac_ext >&5
5806   ac_cv_lib_mpi_MPI_Init=no
5807   fi
5808 < rm -f conftest.err conftest.$ac_objext \
7559 <      conftest$ac_exeext conftest.$ac_ext
5808 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5809   LIBS=$ac_check_lib_save_LIBS
5810   fi
5811 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
5811 > echo "$as_me:5811: result: $ac_cv_lib_mpi_MPI_Init" >&5
5812   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
5813   if test $ac_cv_lib_mpi_MPI_Init = yes; then
5814    MPI_LIB="-lmpi"
# Line 7568 | Line 5817 | if test x = x"$MPI_LIB"; then
5817   fi
5818   $as_unset ac_cv_lib_mpi_MPI_Init
5819   if test x = x"$MPI_LIB"; then
5820 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
5820 >        echo "$as_me:5820: checking for MPI_Init in -lmpi" >&5
5821   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
5822   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
5823    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7576 | Line 5825 | cat >conftest.$ac_ext <<_ACEOF
5825    ac_check_lib_save_LIBS=$LIBS
5826   LIBS="-lmpi "-llam" $LIBS"
5827   cat >conftest.$ac_ext <<_ACEOF
5828 < /* confdefs.h.  */
5829 < _ACEOF
7581 < cat confdefs.h >>conftest.$ac_ext
7582 < cat >>conftest.$ac_ext <<_ACEOF
7583 < /* end confdefs.h.  */
5828 > #line 5828 "configure"
5829 > #include "confdefs.h"
5830  
5831   /* Override any gcc2 internal prototype to avoid an error.  */
5832   #ifdef __cplusplus
# Line 7598 | Line 5844 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5844   }
5845   _ACEOF
5846   rm -f conftest.$ac_objext conftest$ac_exeext
5847 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5848 <  (eval $ac_link) 2>conftest.er1
5847 > if { (eval echo "$as_me:5847: \"$ac_link\"") >&5
5848 >  (eval $ac_link) 2>&5
5849    ac_status=$?
5850 <  grep -v '^ *+' conftest.er1 >conftest.err
7605 <  rm -f conftest.er1
7606 <  cat conftest.err >&5
7607 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850 >  echo "$as_me:5850: \$? = $ac_status" >&5
5851    (exit $ac_status); } &&
5852 <         { ac_try='test -z "$ac_c_werror_flag"
5853 <                         || test ! -s conftest.err'
7611 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5852 >         { ac_try='test -s conftest$ac_exeext'
5853 >  { (eval echo "$as_me:5853: \"$ac_try\"") >&5
5854    (eval $ac_try) 2>&5
5855    ac_status=$?
5856 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7615 <  (exit $ac_status); }; } &&
7616 <         { ac_try='test -s conftest$ac_exeext'
7617 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7618 <  (eval $ac_try) 2>&5
7619 <  ac_status=$?
7620 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856 >  echo "$as_me:5856: \$? = $ac_status" >&5
5857    (exit $ac_status); }; }; then
5858    ac_cv_lib_mpi_MPI_Init=yes
5859   else
5860    echo "$as_me: failed program was:" >&5
5861 < sed 's/^/| /' conftest.$ac_ext >&5
7626 <
5861 > cat conftest.$ac_ext >&5
5862   ac_cv_lib_mpi_MPI_Init=no
5863   fi
5864 < rm -f conftest.err conftest.$ac_objext \
7630 <      conftest$ac_exeext conftest.$ac_ext
5864 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5865   LIBS=$ac_check_lib_save_LIBS
5866   fi
5867 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
5867 > echo "$as_me:5867: result: $ac_cv_lib_mpi_MPI_Init" >&5
5868   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
5869   if test $ac_cv_lib_mpi_MPI_Init = yes; then
5870    MPI_LIB="-lmpi -llam"
# Line 7639 | Line 5873 | if test x = x"$MPI_LIB"; then
5873   fi
5874   $as_unset ac_cv_lib_mpich_MPI_Init
5875   if test x = x"$MPI_LIB"; then
5876 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
5876 >        echo "$as_me:5876: checking for MPI_Init in -lmpich" >&5
5877   echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
5878   if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
5879    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7647 | Line 5881 | cat >conftest.$ac_ext <<_ACEOF
5881    ac_check_lib_save_LIBS=$LIBS
5882   LIBS="-lmpich "-lpmpich" $LIBS"
5883   cat >conftest.$ac_ext <<_ACEOF
5884 < /* confdefs.h.  */
5885 < _ACEOF
7652 < cat confdefs.h >>conftest.$ac_ext
7653 < cat >>conftest.$ac_ext <<_ACEOF
7654 < /* end confdefs.h.  */
5884 > #line 5884 "configure"
5885 > #include "confdefs.h"
5886  
5887   /* Override any gcc2 internal prototype to avoid an error.  */
5888   #ifdef __cplusplus
# Line 7669 | Line 5900 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5900   }
5901   _ACEOF
5902   rm -f conftest.$ac_objext conftest$ac_exeext
5903 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5904 <  (eval $ac_link) 2>conftest.er1
5903 > if { (eval echo "$as_me:5903: \"$ac_link\"") >&5
5904 >  (eval $ac_link) 2>&5
5905    ac_status=$?
5906 <  grep -v '^ *+' conftest.er1 >conftest.err
7676 <  rm -f conftest.er1
7677 <  cat conftest.err >&5
7678 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906 >  echo "$as_me:5906: \$? = $ac_status" >&5
5907    (exit $ac_status); } &&
5908 <         { ac_try='test -z "$ac_c_werror_flag"
5909 <                         || test ! -s conftest.err'
7682 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5908 >         { ac_try='test -s conftest$ac_exeext'
5909 >  { (eval echo "$as_me:5909: \"$ac_try\"") >&5
5910    (eval $ac_try) 2>&5
5911    ac_status=$?
5912 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7686 <  (exit $ac_status); }; } &&
7687 <         { ac_try='test -s conftest$ac_exeext'
7688 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7689 <  (eval $ac_try) 2>&5
7690 <  ac_status=$?
7691 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5912 >  echo "$as_me:5912: \$? = $ac_status" >&5
5913    (exit $ac_status); }; }; then
5914    ac_cv_lib_mpich_MPI_Init=yes
5915   else
5916    echo "$as_me: failed program was:" >&5
5917 < sed 's/^/| /' conftest.$ac_ext >&5
7697 <
5917 > cat conftest.$ac_ext >&5
5918   ac_cv_lib_mpich_MPI_Init=no
5919   fi
5920 < rm -f conftest.err conftest.$ac_objext \
7701 <      conftest$ac_exeext conftest.$ac_ext
5920 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5921   LIBS=$ac_check_lib_save_LIBS
5922   fi
5923 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
5923 > echo "$as_me:5923: result: $ac_cv_lib_mpich_MPI_Init" >&5
5924   echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
5925   if test $ac_cv_lib_mpich_MPI_Init = yes; then
5926    MPI_LIB="-lmpich -lpmpich"
# Line 7711 | Line 5930 | echo "$as_me:$LINENO: checking for MPI_Init in -lmpi"
5930  
5931   $as_unset ac_cv_lib_mpi_MPI_Init
5932   if test x = x"$MPI_LIB"; then
5933 < echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
5933 > echo "$as_me:5933: checking for MPI_Init in -lmpi" >&5
5934   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
5935   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
5936    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7719 | Line 5938 | cat >conftest.$ac_ext <<_ACEOF
5938    ac_check_lib_save_LIBS=$LIBS
5939   LIBS="-lmpi -llam -lpthread $LIBS"
5940   cat >conftest.$ac_ext <<_ACEOF
5941 < /* confdefs.h.  */
5942 < _ACEOF
7724 < cat confdefs.h >>conftest.$ac_ext
7725 < cat >>conftest.$ac_ext <<_ACEOF
7726 < /* end confdefs.h.  */
5941 > #line 5941 "configure"
5942 > #include "confdefs.h"
5943  
5944   /* Override any gcc2 internal prototype to avoid an error.  */
5945   #ifdef __cplusplus
# Line 7741 | Line 5957 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5957   }
5958   _ACEOF
5959   rm -f conftest.$ac_objext conftest$ac_exeext
5960 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5961 <  (eval $ac_link) 2>conftest.er1
5960 > if { (eval echo "$as_me:5960: \"$ac_link\"") >&5
5961 >  (eval $ac_link) 2>&5
5962    ac_status=$?
5963 <  grep -v '^ *+' conftest.er1 >conftest.err
7748 <  rm -f conftest.er1
7749 <  cat conftest.err >&5
7750 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5963 >  echo "$as_me:5963: \$? = $ac_status" >&5
5964    (exit $ac_status); } &&
5965 <         { ac_try='test -z "$ac_c_werror_flag"
5966 <                         || test ! -s conftest.err'
7754 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5965 >         { ac_try='test -s conftest$ac_exeext'
5966 >  { (eval echo "$as_me:5966: \"$ac_try\"") >&5
5967    (eval $ac_try) 2>&5
5968    ac_status=$?
5969 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7758 <  (exit $ac_status); }; } &&
7759 <         { ac_try='test -s conftest$ac_exeext'
7760 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7761 <  (eval $ac_try) 2>&5
7762 <  ac_status=$?
7763 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5969 >  echo "$as_me:5969: \$? = $ac_status" >&5
5970    (exit $ac_status); }; }; then
5971    ac_cv_lib_mpi_MPI_Init=yes
5972   else
5973    echo "$as_me: failed program was:" >&5
5974 < sed 's/^/| /' conftest.$ac_ext >&5
7769 <
5974 > cat conftest.$ac_ext >&5
5975   ac_cv_lib_mpi_MPI_Init=no
5976   fi
5977 < rm -f conftest.err conftest.$ac_objext \
7773 <      conftest$ac_exeext conftest.$ac_ext
5977 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5978   LIBS=$ac_check_lib_save_LIBS
5979   fi
5980 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
5980 > echo "$as_me:5980: result: $ac_cv_lib_mpi_MPI_Init" >&5
5981   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
5982   if test $ac_cv_lib_mpi_MPI_Init = yes; then
5983    MPI_LIB="-lmpi -llam -lpthread"
5984   else
5985  
5986 <             { { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
5986 >             { { echo "$as_me:5986: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
5987   echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;}
5988     { (exit 1); exit 1; }; }
5989               USE_MPI="no"
# Line 7788 | Line 5992 | fi
5992  
5993   fi
5994  
5995 <
7792 <
7793 < echo "$as_me:$LINENO: checking for MPI Fortran library" >&5
5995 > echo "$as_me:5995: checking for MPI Fortran library" >&5
5996   echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6
5997   MPI_F90_LIB=""
5998   if test -f "$MPI_LIB_DIR/libfmpich.a" ; then
# Line 7800 | Line 6002 | echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5
6002   else
6003                          MPI_F90_LIB="  "
6004   fi
6005 < echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5
6005 > echo "$as_me:6005: result: found $MPI_F90_LIB" >&5
6006   echo "${ECHO_T}found $MPI_F90_LIB" >&6
6007  
7806
6008   fi
6009  
7809
7810
6010   # Check whether --with-sprng or --without-sprng was given.
6011   if test "${with_sprng+set}" = set; then
6012    withval="$with_sprng"
# Line 7826 | Line 6025 | if test "$USE_SPRNG" = "yes"; then
6025   fi
6026   if test "$USE_SPRNG" = "yes"; then
6027  
7829
6028   # Set variables...
6029   SPRNG_LIB_DIR="$SPRNG/lib"
6030   SPRNG_INC_DIR="$SPRNG/include"
6031  
6032 <
7835 <
7836 < echo "$as_me:$LINENO: checking for sprng.h" >&5
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:$LINENO: result: yes" >&5
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:$LINENO: result: no! Check SPRNG include path!" >&5
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
6047  
6048 < cat >>confdefs.h <<\_ACEOF
6048 > cat >>confdefs.h <<\EOF
6049   #define HAVE_SPRNG_H 1
6050 < _ACEOF
6050 > EOF
6051  
6052   fi
6053  
# Line 7864 | Line 6060 | echo "$as_me:$LINENO: checking for init_rng in -lsprng
6060   ac_save_LDFLAGS=$LDFLAGS
6061   LDFLAGS="${LDFLAGS} -L${SPRNG_LIB_DIR} "
6062  
6063 < echo "$as_me:$LINENO: checking for init_rng in -lsprng" >&5
6063 > echo "$as_me:6063: checking for init_rng in -lsprng" >&5
6064   echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6
6065   if test "${ac_cv_lib_sprng_init_rng+set}" = set; then
6066    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 7872 | Line 6068 | cat >conftest.$ac_ext <<_ACEOF
6068    ac_check_lib_save_LIBS=$LIBS
6069   LIBS="-lsprng  $LIBS"
6070   cat >conftest.$ac_ext <<_ACEOF
6071 < /* confdefs.h.  */
6072 < _ACEOF
7877 < cat confdefs.h >>conftest.$ac_ext
7878 < cat >>conftest.$ac_ext <<_ACEOF
7879 < /* end confdefs.h.  */
6071 > #line 6071 "configure"
6072 > #include "confdefs.h"
6073  
6074   /* Override any gcc2 internal prototype to avoid an error.  */
6075   #ifdef __cplusplus
# Line 7894 | Line 6087 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6087   }
6088   _ACEOF
6089   rm -f conftest.$ac_objext conftest$ac_exeext
6090 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6091 <  (eval $ac_link) 2>conftest.er1
6090 > if { (eval echo "$as_me:6090: \"$ac_link\"") >&5
6091 >  (eval $ac_link) 2>&5
6092    ac_status=$?
6093 <  grep -v '^ *+' conftest.er1 >conftest.err
7901 <  rm -f conftest.er1
7902 <  cat conftest.err >&5
7903 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6093 >  echo "$as_me:6093: \$? = $ac_status" >&5
6094    (exit $ac_status); } &&
6095 <         { ac_try='test -z "$ac_c_werror_flag"
6096 <                         || test ! -s conftest.err'
7907 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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:$LINENO: \$? = $ac_status" >&5
7911 <  (exit $ac_status); }; } &&
7912 <         { ac_try='test -s conftest$ac_exeext'
7913 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7914 <  (eval $ac_try) 2>&5
7915 <  ac_status=$?
7916 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
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 < sed 's/^/| /' conftest.$ac_ext >&5
7922 <
6104 > cat conftest.$ac_ext >&5
6105   ac_cv_lib_sprng_init_rng=no
6106   fi
6107 < rm -f conftest.err conftest.$ac_objext \
7926 <      conftest$ac_exeext conftest.$ac_ext
6107 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6108   LIBS=$ac_check_lib_save_LIBS
6109   fi
6110 < echo "$as_me:$LINENO: result: $ac_cv_lib_sprng_init_rng" >&5
6110 > echo "$as_me:6110: result: $ac_cv_lib_sprng_init_rng" >&5
6111   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"
6114   else
6115  
6116 <             { { echo "$as_me:$LINENO: error: Didn't find libsprng; check path for SPRNG package first..." >&5
6116 >             { { echo "$as_me:6116: error: Didn't find libsprng; check path for SPRNG package first..." >&5
6117   echo "$as_me: error: Didn't find libsprng; check path for SPRNG package first..." >&2;}
6118     { (exit 1); exit 1; }; }
6119               USE_SPRNG="no"
6120  
6121   fi
6122  
7942
6123   if test "$USE_SPRNG" = "no"; then
6124 <  { { echo "$as_me:$LINENO: error: No working SPRNG library found" >&5
6124 >  { { 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  
7949
6129   fi
6130  
6131 <
7953 <
7954 < echo "$as_me:$LINENO: checking if MKL is wanted" >&5
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:$LINENO: result: yes" >&5
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"
# Line 7967 | Line 6144 | echo "${ECHO_T}yes" >&6
6144          fi
6145      done
6146      if test x_$found_mkl != x_yes; then
6147 <        { { echo "$as_me:$LINENO: error: Cannot find MKL includes" >&5
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  
7977
7978
6154    ac_ext=c
6155   ac_cpp='$CPP $CPPFLAGS'
6156   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 7986 | Line 6161 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
6161    CPPFLAGS="${CPPFLAGS} -I${mkldir}/include"
6162    ac_save_LDFLAGS=$LDFLAGS
6163    LDFLAGS="${LDFLAGS} -L${mkldir}/lib/32 -lmkl -lvml -lguide"
6164 <  if test "${ac_cv_header_mkl_h+set}" = set; then
7990 <  echo "$as_me:$LINENO: checking for mkl.h" >&5
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
7994 fi
7995 echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5
7996 echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
6168   else
6169 <  # Is the header compilable?
6170 < echo "$as_me:$LINENO: checking mkl.h usability" >&5
6171 < echo $ECHO_N "checking mkl.h usability... $ECHO_C" >&6
8001 < cat >conftest.$ac_ext <<_ACEOF
8002 < /* confdefs.h.  */
8003 < _ACEOF
8004 < cat confdefs.h >>conftest.$ac_ext
8005 < cat >>conftest.$ac_ext <<_ACEOF
8006 < /* end confdefs.h.  */
8007 < $ac_includes_default
6169 >  cat >conftest.$ac_ext <<_ACEOF
6170 > #line 6170 "configure"
6171 > #include "confdefs.h"
6172   #include <mkl.h>
6173   _ACEOF
6174 < rm -f conftest.$ac_objext
8011 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8012 <  (eval $ac_compile) 2>conftest.er1
8013 <  ac_status=$?
8014 <  grep -v '^ *+' conftest.er1 >conftest.err
8015 <  rm -f conftest.er1
8016 <  cat conftest.err >&5
8017 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8018 <  (exit $ac_status); } &&
8019 <         { ac_try='test -z "$ac_c_werror_flag"
8020 <                         || test ! -s conftest.err'
8021 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8022 <  (eval $ac_try) 2>&5
8023 <  ac_status=$?
8024 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8025 <  (exit $ac_status); }; } &&
8026 <         { ac_try='test -s conftest.$ac_objext'
8027 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8028 <  (eval $ac_try) 2>&5
8029 <  ac_status=$?
8030 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8031 <  (exit $ac_status); }; }; then
8032 <  ac_header_compiler=yes
8033 < else
8034 <  echo "$as_me: failed program was:" >&5
8035 < sed 's/^/| /' conftest.$ac_ext >&5
8036 <
8037 < ac_header_compiler=no
8038 < fi
8039 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8040 < echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8041 < echo "${ECHO_T}$ac_header_compiler" >&6
8042 <
8043 < # Is the header present?
8044 < echo "$as_me:$LINENO: checking mkl.h presence" >&5
8045 < echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6
8046 < cat >conftest.$ac_ext <<_ACEOF
8047 < /* confdefs.h.  */
8048 < _ACEOF
8049 < cat confdefs.h >>conftest.$ac_ext
8050 < cat >>conftest.$ac_ext <<_ACEOF
8051 < /* end confdefs.h.  */
8052 < #include <mkl.h>
8053 < _ACEOF
8054 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
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 <  grep -v '^ *+' conftest.er1 >conftest.err
6177 >  egrep -v '^ *\+' conftest.er1 >conftest.err
6178    rm -f conftest.er1
6179    cat conftest.err >&5
6180 <  echo "$as_me:$LINENO: \$? = $ac_status" >&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
8064    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6184    else
6185      ac_cpp_err=
6186    fi
# Line 8069 | Line 6188 | if test -z "$ac_cpp_err"; then
6188    ac_cpp_err=yes
6189   fi
6190   if test -z "$ac_cpp_err"; then
6191 <  ac_header_preproc=yes
6191 >  ac_cv_header_mkl_h=yes
6192   else
6193    echo "$as_me: failed program was:" >&5
6194 < sed 's/^/| /' conftest.$ac_ext >&5
6195 <
8077 <  ac_header_preproc=no
6194 >  cat conftest.$ac_ext >&5
6195 >  ac_cv_header_mkl_h=no
6196   fi
6197   rm -f conftest.err conftest.$ac_ext
6198 < echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6199 < echo "${ECHO_T}$ac_header_preproc" >&6
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 < # So?  What about this header?
8084 < case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8085 <  yes:no: )
8086 <    { echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5
8087 < echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8088 <    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the compiler's result" >&5
8089 < echo "$as_me: WARNING: mkl.h: proceeding with the compiler's result" >&2;}
8090 <    ac_header_preproc=yes
8091 <    ;;
8092 <  no:yes:* )
8093 <    { echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5
8094 < echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;}
8095 <    { echo "$as_me:$LINENO: WARNING: mkl.h:     check for missing prerequisite headers?" >&5
8096 < echo "$as_me: WARNING: mkl.h:     check for missing prerequisite headers?" >&2;}
8097 <    { echo "$as_me:$LINENO: WARNING: mkl.h: see the Autoconf documentation" >&5
8098 < echo "$as_me: WARNING: mkl.h: see the Autoconf documentation" >&2;}
8099 <    { echo "$as_me:$LINENO: WARNING: mkl.h:     section \"Present But Cannot Be Compiled\"" >&5
8100 < echo "$as_me: WARNING: mkl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
8101 <    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5
8102 < echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;}
8103 <    { echo "$as_me:$LINENO: WARNING: mkl.h: in the future, the compiler will take precedence" >&5
8104 < echo "$as_me: WARNING: mkl.h: in the future, the compiler will take precedence" >&2;}
8105 <    (
8106 <      cat <<\_ASBOX
8107 < ## ------------------------------ ##
8108 < ## Report this to gezelter@nd.edu ##
8109 < ## ------------------------------ ##
8110 < _ASBOX
8111 <    ) |
8112 <      sed "s/^/$as_me: WARNING:     /" >&2
8113 <    ;;
8114 < esac
8115 < echo "$as_me:$LINENO: checking for mkl.h" >&5
8116 < echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
8117 < if test "${ac_cv_header_mkl_h+set}" = set; then
8118 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8119 < else
8120 <  ac_cv_header_mkl_h=$ac_header_preproc
8121 < fi
8122 < echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5
8123 < echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
8124 <
8125 < fi
8126 < if test $ac_cv_header_mkl_h = yes; then
8127 <
8128 <    echo "$as_me:$LINENO: checking for vslNewStream in -lmkl" >&5
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
# Line 8133 | Line 6208 | cat >conftest.$ac_ext <<_ACEOF
6208    ac_check_lib_save_LIBS=$LIBS
6209   LIBS="-lmkl  $LIBS"
6210   cat >conftest.$ac_ext <<_ACEOF
6211 < /* confdefs.h.  */
6212 < _ACEOF
8138 < cat confdefs.h >>conftest.$ac_ext
8139 < cat >>conftest.$ac_ext <<_ACEOF
8140 < /* end confdefs.h.  */
6211 > #line 6211 "configure"
6212 > #include "confdefs.h"
6213  
6214   /* Override any gcc2 internal prototype to avoid an error.  */
6215   #ifdef __cplusplus
# Line 8155 | Line 6227 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6227   }
6228   _ACEOF
6229   rm -f conftest.$ac_objext conftest$ac_exeext
6230 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6231 <  (eval $ac_link) 2>conftest.er1
6230 > if { (eval echo "$as_me:6230: \"$ac_link\"") >&5
6231 >  (eval $ac_link) 2>&5
6232    ac_status=$?
6233 <  grep -v '^ *+' conftest.er1 >conftest.err
8162 <  rm -f conftest.er1
8163 <  cat conftest.err >&5
8164 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 >  echo "$as_me:6233: \$? = $ac_status" >&5
6234    (exit $ac_status); } &&
6235 <         { ac_try='test -z "$ac_c_werror_flag"
6236 <                         || test ! -s conftest.err'
8168 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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:$LINENO: \$? = $ac_status" >&5
8172 <  (exit $ac_status); }; } &&
8173 <         { ac_try='test -s conftest$ac_exeext'
8174 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8175 <  (eval $ac_try) 2>&5
8176 <  ac_status=$?
8177 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
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 < sed 's/^/| /' conftest.$ac_ext >&5
8183 <
6244 > cat conftest.$ac_ext >&5
6245   ac_cv_lib_mkl_vslNewStream=no
6246   fi
6247 < rm -f conftest.err conftest.$ac_objext \
8187 <      conftest$ac_exeext conftest.$ac_ext
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:$LINENO: result: $ac_cv_lib_mkl_vslNewStream" >&5
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",
# Line 8195 | Line 6255 | fi
6255                       HAVE_MKL="yes"
6256   fi
6257  
8198
6258   else
6259    MKL_INC="-I${mkldir}/include"
6260   fi
6261  
8203
6262    CPPFLAGS=$ac_save_CPPFLAGS
6263    LDFLAGS=$ac_save_LDFLAGS
6264    ac_ext=c
# Line 8209 | Line 6267 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
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  
8212
6270    if test x_$HAVE_MKL != x_yes; then
6271 <        { { echo "$as_me:$LINENO: error: Can't build with MKL" >&5
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  
8219
8220
8221
8222
6276   else
6277  
6278 <    echo "$as_me:$LINENO: result: no" >&5
6278 >    echo "$as_me:6278: result: no" >&5
6279   echo "${ECHO_T}no" >&6
6280  
6281   fi;
6282  
8230
8231
6283   # Check whether --enable-doxygen or --disable-doxygen was given.
6284   if test "${enable_doxygen+set}" = set; then
6285    enableval="$enable_doxygen"
# Line 8258 | Line 6309 | echo "$as_me:$LINENO: checking for $ac_word" >&5
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:$LINENO: checking for $ac_word" >&5
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
# Line 8268 | Line 6319 | else
6319    ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
6320    ;;
6321    *)
6322 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6323 < for as_dir in $PATH
6324 < do
6325 <  IFS=$as_save_IFS
6326 <  test -z "$as_dir" && as_dir=.
6327 <  for ac_exec_ext in '' $ac_executable_extensions; do
6328 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6329 <    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
6330 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6331 <    break 2
8281 <  fi
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
8283 done
6333  
6334    ;;
6335   esac
# Line 8288 | Line 6337 | if test -n "$DOXYGEN"; then
6337   DOXYGEN=$ac_cv_path_DOXYGEN
6338  
6339   if test -n "$DOXYGEN"; then
6340 <  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
6340 >  echo "$as_me:6340: result: $DOXYGEN" >&5
6341   echo "${ECHO_T}$DOXYGEN" >&6
6342   else
6343 <  echo "$as_me:$LINENO: result: no" >&5
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:$LINENO: error: could not find doxygen" >&5
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
# Line 8306 | Line 6355 | echo "$as_me:$LINENO: checking for $ac_word" >&5
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:$LINENO: checking for $ac_word" >&5
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
# Line 8316 | Line 6365 | else
6365    ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
6366    ;;
6367    *)
6368 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6369 < for as_dir in $PATH
6370 < do
6371 <  IFS=$as_save_IFS
6372 <  test -z "$as_dir" && as_dir=.
6373 <  for ac_exec_ext in '' $ac_executable_extensions; do
6374 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6375 <    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
6376 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6377 <    break 2
8329 <  fi
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
8331 done
6379  
6380    ;;
6381   esac
# Line 8336 | Line 6383 | if test -n "$DOT"; then
6383   DOT=$ac_cv_path_DOT
6384  
6385   if test -n "$DOT"; then
6386 <  echo "$as_me:$LINENO: result: $DOT" >&5
6386 >  echo "$as_me:6386: result: $DOT" >&5
6387   echo "${ECHO_T}$DOT" >&6
6388   else
6389 <  echo "$as_me:$LINENO: result: no" >&5
6389 >  echo "$as_me:6389: result: no" >&5
6390   echo "${ECHO_T}no" >&6
6391   fi
6392  
# Line 8352 | Line 6399 | fi
6399    DOC=0
6400   fi
6401  
8355
6402   if test x$DOT = x; then
6403          if test "x$enable_dot" = xyes; then
6404 <                { { echo "$as_me:$LINENO: error: could not find dot" >&5
6404 >                { { echo "$as_me:6404: error: could not find dot" >&5
6405   echo "$as_me: error: could not find dot" >&2;}
6406     { (exit 1); exit 1; }; }
6407          fi
# Line 8364 | Line 6410 | fi
6410          enable_dot=yes
6411   fi
6412  
8367
8368
8369
8370
8371
8372
6413   OBJEXT=".$OBJEXT"
6414  
6415   OOPSE=oopse
# Line 8410 | Line 6450 | esac
6450       ;;
6451   esac
6452  
6453 <
8414 <
8415 <
8416 <
8417 <
8418 <
8419 <
8420 <
8421 <
8422 <
8423 <
8424 <
8425 <
8426 <
8427 <
8428 <
6453 > ac_config_headers="$ac_config_headers src/config.h"
6454  
6455 <          ac_config_headers="$ac_config_headers src/config.h"
6455 > ac_config_files="$ac_config_files make/Makefile src/utils/Makefile"
6456  
8432                    ac_config_files="$ac_config_files make/Makefile src/utils/Makefile"
8433
8434
6457   cat >confcache <<\_ACEOF
6458   # This file is a shell script that caches the results of configure
6459   # tests run on this system so they can be shared between configure
# Line 8442 | Line 6464 | cat >confcache <<\_ACEOF
6464   # config.status only pays attention to the cache file if you give it
6465   # the --recheck option to rerun configure.
6466   #
6467 < # `ac_cv_env_foo' variables (set or unset) will be overridden when
6467 > # `ac_cv_env_foo' variables (set or unset) will be overriden when
6468   # loading this file, other *unset* `ac_cv_foo' will be assigned the
6469   # following values.
6470  
# Line 8460 | Line 6482 | _ACEOF
6482        # `set' does not quote correctly, so add quotes (double-quote
6483        # substitution turns \\\\ into \\, and sed turns \\ into \).
6484        sed -n \
6485 <        "s/'/'\\\\''/g;
6486 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6485 >        "s/'/'\\\\''/g;
6486 >          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6487        ;;
6488      *)
6489        # `set' quotes correctly as required by POSIX, so do not add quotes.
6490        sed -n \
6491 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6491 >        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6492        ;;
6493      esac;
6494   } |
# Line 8477 | Line 6499 | if diff $cache_file confcache >/dev/null 2>&1; then :;
6499       t end
6500       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6501       : end' >>confcache
6502 < if diff $cache_file confcache >/dev/null 2>&1; then :; else
6502 > if cmp -s $cache_file confcache; then :; else
6503    if test -w $cache_file; then
6504      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6505      cat confcache >$cache_file
# Line 8496 | Line 6518 | if test "x$srcdir" = x.; then
6518   # trailing colons and then remove the whole line if VPATH becomes empty
6519   # (actually we leave an empty line to preserve line numbers).
6520   if test "x$srcdir" = x.; then
6521 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
6521 >  ac_vpsub='/^[         ]*VPATH[        ]*=/{
6522   s/:*\$(srcdir):*/:/;
6523   s/:*\${srcdir}:*/:/;
6524   s/:*@srcdir@:*/:/;
6525 < s/^\([^=]*=[     ]*\):*/\1/;
6525 > s/^\([^=]*=[    ]*\):*/\1/;
6526   s/:*$//;
6527 < s/^[^=]*=[       ]*$//;
6527 > s/^[^=]*=[      ]*$//;
6528   }'
6529   fi
6530  
6531   DEFS=-DHAVE_CONFIG_H
6532  
8511 ac_libobjs=
8512 ac_ltlibobjs=
8513 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8514  # 1. Remove the extension, and $U if already installed.
8515  ac_i=`echo "$ac_i" |
8516         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8517  # 2. Add them.
8518  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
8519  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
8520 done
8521 LIBOBJS=$ac_libobjs
8522
8523 LTLIBOBJS=$ac_ltlibobjs
8524
8525
8526
6533   : ${CONFIG_STATUS=./config.status}
6534   ac_clean_files_save=$ac_clean_files
6535   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6536 < { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6536 > { echo "$as_me:6536: creating $CONFIG_STATUS" >&5
6537   echo "$as_me: creating $CONFIG_STATUS" >&6;}
6538   cat >$CONFIG_STATUS <<_ACEOF
6539   #! $SHELL
6540 < # Generated by $as_me.
6540 > # Generated automatically by configure.
6541   # Run this file to recreate the current configuration.
6542   # Compiler output produced by configure, useful for debugging
6543   # configure, is in config.log if it exists.
6544  
6545   debug=false
8540 ac_cs_recheck=false
8541 ac_cs_silent=false
6546   SHELL=\${CONFIG_SHELL-$SHELL}
6547 + ac_cs_invocation="\$0 \$@"
6548 +
6549   _ACEOF
6550  
6551   cat >>$CONFIG_STATUS <<\_ACEOF
8546 ## --------------------- ##
8547 ## M4sh Initialization.  ##
8548 ## --------------------- ##
8549
6552   # Be Bourne compatible
6553   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6554    emulate sh
6555    NULLCMD=:
8554  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8555  # is contrary to our usage.  Disable this feature.
8556  alias -g '${1+"$@"}'='"$@"'
6556   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6557    set -o posix
6558   fi
8560 DUALCASE=1; export DUALCASE # for MKS sh
6559  
8562 # Support unset when possible.
8563 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8564  as_unset=unset
8565 else
8566  as_unset=false
8567 fi
8568
8569
8570 # Work around bugs in pre-3.0 UWIN ksh.
8571 $as_unset ENV MAIL MAILPATH
8572 PS1='$ '
8573 PS2='> '
8574 PS4='+ '
8575
8576 # NLS nuisances.
8577 for as_var in \
8578  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8579  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8580  LC_TELEPHONE LC_TIME
8581 do
8582  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8583    eval $as_var=C; export $as_var
8584  else
8585    $as_unset $as_var
8586  fi
8587 done
8588
8589 # Required to use basename.
8590 if expr a : '\(a\)' >/dev/null 2>&1; then
8591  as_expr=expr
8592 else
8593  as_expr=false
8594 fi
8595
8596 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
8597  as_basename=basename
8598 else
8599  as_basename=false
8600 fi
8601
8602
6560   # Name of the executable.
6561 < as_me=`$as_basename "$0" ||
8605 < $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8606 <         X"$0" : 'X\(//\)$' \| \
8607 <         X"$0" : 'X\(/\)$' \| \
8608 <         .     : '\(.\)' 2>/dev/null ||
8609 < echo X/"$0" |
8610 <    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8611 <          /^X\/\(\/\/\)$/{ s//\1/; q; }
8612 <          /^X\/\(\/\).*/{ s//\1/; q; }
8613 <          s/.*/./; q'`
8614 <
8615 <
8616 < # PATH needs CR, and LINENO needs CR and PATH.
8617 < # Avoid depending upon Character Ranges.
8618 < as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8619 < as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8620 < as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8621 < as_cr_digits='0123456789'
8622 < as_cr_alnum=$as_cr_Letters$as_cr_digits
8623 <
8624 < # The user is always right.
8625 < if test "${PATH_SEPARATOR+set}" != set; then
8626 <  echo "#! /bin/sh" >conf$$.sh
8627 <  echo  "exit 0"   >>conf$$.sh
8628 <  chmod +x conf$$.sh
8629 <  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8630 <    PATH_SEPARATOR=';'
8631 <  else
8632 <    PATH_SEPARATOR=:
8633 <  fi
8634 <  rm -f conf$$.sh
8635 < fi
8636 <
8637 <
8638 <  as_lineno_1=$LINENO
8639 <  as_lineno_2=$LINENO
8640 <  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8641 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
8642 <  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
8643 <  # Find who we are.  Look in the path if we contain no path at all
8644 <  # relative or not.
8645 <  case $0 in
8646 <    *[\\/]* ) as_myself=$0 ;;
8647 <    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8648 < for as_dir in $PATH
8649 < do
8650 <  IFS=$as_save_IFS
8651 <  test -z "$as_dir" && as_dir=.
8652 <  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8653 < done
6561 > as_me=`echo "$0" |sed 's,.*[\\/],,'`
6562  
8655       ;;
8656  esac
8657  # We did not find ourselves, most probably we were run as `sh COMMAND'
8658  # in which case we are not to be found in the path.
8659  if test "x$as_myself" = x; then
8660    as_myself=$0
8661  fi
8662  if test ! -f "$as_myself"; then
8663    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8664 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8665   { (exit 1); exit 1; }; }
8666  fi
8667  case $CONFIG_SHELL in
8668  '')
8669    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8670 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
8671 do
8672  IFS=$as_save_IFS
8673  test -z "$as_dir" && as_dir=.
8674  for as_base in sh bash ksh sh5; do
8675         case $as_dir in
8676         /*)
8677           if ("$as_dir/$as_base" -c '
8678  as_lineno_1=$LINENO
8679  as_lineno_2=$LINENO
8680  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8681  test "x$as_lineno_1" != "x$as_lineno_2" &&
8682  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
8683             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
8684             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
8685             CONFIG_SHELL=$as_dir/$as_base
8686             export CONFIG_SHELL
8687             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8688           fi;;
8689         esac
8690       done
8691 done
8692 ;;
8693  esac
8694
8695  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8696  # uniformly replaced by the line number.  The first 'sed' inserts a
8697  # line-number line before each line; the second 'sed' does the real
8698  # work.  The second script uses 'N' to pair each line-number line
8699  # with the numbered line, and appends trailing '-' during
8700  # substitution so that $LINENO is not a special case at line end.
8701  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8702  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
8703  sed '=' <$as_myself |
8704    sed '
8705      N
8706      s,$,-,
8707      : loop
8708      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8709      t loop
8710      s,-$,,
8711      s,^['$as_cr_digits']*\n,,
8712    ' >$as_me.lineno &&
8713  chmod +x $as_me.lineno ||
8714    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8715 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8716   { (exit 1); exit 1; }; }
8717
8718  # Don't try to exec as it changes $[0], causing all sort of problems
8719  # (the dirname of $[0] is not the place where we might find the
8720  # original and so on.  Autoconf is especially sensible to this).
8721  . ./$as_me.lineno
8722  # Exit status is that of the last command.
8723  exit
8724 }
8725
8726
8727 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8728  *c*,-n*) ECHO_N= ECHO_C='
8729 ' ECHO_T='      ' ;;
8730  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
8731  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
8732 esac
8733
6563   if expr a : '\(a\)' >/dev/null 2>&1; then
6564    as_expr=expr
6565   else
# Line 8755 | Line 6584 | if mkdir -p . 2>/dev/null; then
6584   fi
6585   rm -f conf$$ conf$$.exe conf$$.file
6586  
6587 < if mkdir -p . 2>/dev/null; then
6588 <  as_mkdir_p=:
6587 > as_executable_p="test -f"
6588 >
6589 > # Support unset when possible.
6590 > if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
6591 >  as_unset=unset
6592   else
6593 <  test -d ./-p && rmdir ./-p
8762 <  as_mkdir_p=false
6593 >  as_unset=false
6594   fi
6595  
6596 < as_executable_p="test -f"
6596 > # 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; }
6605  
8767 # Sed expression to map a string onto a valid CPP name.
8768 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8769
8770 # Sed expression to map a string onto a valid variable name.
8771 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8772
8773
6606   # IFS
6607   # We need space, tab and new line, in precisely that order.
6608   as_nl='
# Line 8778 | Line 6610 | $as_unset CDPATH
6610   IFS="   $as_nl"
6611  
6612   # CDPATH.
6613 < $as_unset CDPATH
6613 > $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
6614  
6615   exec 6>&1
6616  
8785 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8786 # report actual input values of CONFIG_FILES etc. instead of their
8787 # values after options handling.  Logging --version etc. is OK.
8788 exec 5>>config.log
8789 {
8790  echo
8791  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8792 ## Running $as_me. ##
8793 _ASBOX
8794 } >&5
8795 cat >&5 <<_CSEOF
8796
8797 This file was extended by OOPSE $as_me 2.0, which was
8798 generated by GNU Autoconf 2.59.  Invocation command line was
8799
8800  CONFIG_FILES    = $CONFIG_FILES
8801  CONFIG_HEADERS  = $CONFIG_HEADERS
8802  CONFIG_LINKS    = $CONFIG_LINKS
8803  CONFIG_COMMANDS = $CONFIG_COMMANDS
8804  $ $0 $@
8805
8806 _CSEOF
8807 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8808 echo >&5
6617   _ACEOF
6618  
6619   # Files that config.status was made for.
# Line 8825 | Line 6633 | cat >>$CONFIG_STATUS <<\_ACEOF
6633    echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6634   fi
6635  
6636 < cat >>$CONFIG_STATUS <<\_ACEOF
6636 > cat >>$CONFIG_STATUS <<\EOF
6637  
6638   ac_cs_usage="\
6639   \`$as_me' instantiates files from templates according to the
# Line 8835 | Line 6643 | Usage: $0 [OPTIONS] [FILE]...
6643  
6644    -h, --help       print this help, then exit
6645    -V, --version    print version number, then exit
8838  -q, --quiet      do not print progress messages
6646    -d, --debug      don't remove temporary files
6647        --recheck    update $as_me by reconfiguring in the same conditions
6648    --file=FILE[:TEMPLATE]
6649 <                   instantiate the configuration file FILE
6649 >                   instantiate the configuration file FILE
6650    --header=FILE[:TEMPLATE]
6651 <                   instantiate the configuration header FILE
6651 >                   instantiate the configuration header FILE
6652  
6653   Configuration files:
6654   $config_files
# Line 8853 | Line 6660 | _ACEOF
6660   $config_links
6661  
6662   Report bugs to <bug-autoconf@gnu.org>."
6663 < _ACEOF
6663 > EOF
6664  
6665 < cat >>$CONFIG_STATUS <<_ACEOF
6665 > cat >>$CONFIG_STATUS <<EOF
6666   ac_cs_version="\\
6667   OOPSE config.status 2.0
6668 < configured by $0, generated by GNU Autoconf 2.59,
6668 > configured by $0, generated by GNU Autoconf 2.50,
6669    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6670  
6671 < Copyright (C) 2003 Free Software Foundation, Inc.
6671 > Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6672 > Free Software Foundation, Inc.
6673   This config.status script is free software; the Free Software Foundation
6674   gives unlimited permission to copy, distribute and modify it."
6675   srcdir=$srcdir
6676   INSTALL="$INSTALL"
6677 < _ACEOF
6677 > EOF
6678  
6679 < cat >>$CONFIG_STATUS <<\_ACEOF
6679 > cat >>$CONFIG_STATUS <<\EOF
6680   # If no file are specified by the user, then we need to provide default
6681   # value.  By we need to know if files were specified by the user.
6682   ac_need_defaults=:
# Line 8878 | Line 6686 | do
6686    --*=*)
6687      ac_option=`expr "x$1" : 'x\([^=]*\)='`
6688      ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6689 <    ac_shift=:
6689 >    shift
6690 >    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
6691 >    shift
6692      ;;
6693 <  -*)
8884 <    ac_option=$1
8885 <    ac_optarg=$2
8886 <    ac_shift=shift
8887 <    ;;
6693 >  -*);;
6694    *) # This is not an option, so the user has probably given explicit
6695       # arguments.
8890     ac_option=$1
6696       ac_need_defaults=false;;
6697    esac
6698  
6699 <  case $ac_option in
6699 >  case $1 in
6700    # Handling of the options.
6701 < _ACEOF
6702 < cat >>$CONFIG_STATUS <<\_ACEOF
6701 > EOF
6702 > cat >>$CONFIG_STATUS <<EOF
6703    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6704 <    ac_cs_recheck=: ;;
6704 >    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
6708    --version | --vers* | -V )
6709      echo "$ac_cs_version"; exit 0 ;;
6710    --he | --h)
6711      # Conflict between --help and --header
6712 <    { { echo "$as_me:$LINENO: error: ambiguous option: $1
6712 >    { { echo "$as_me:6712: error: ambiguous option: $1
6713   Try \`$0 --help' for more information." >&5
6714   echo "$as_me: error: ambiguous option: $1
6715   Try \`$0 --help' for more information." >&2;}
# Line 8911 | Line 6719 | Try \`$0 --help' for more information." >&2;}
6719    --debug | --d* | -d )
6720      debug=: ;;
6721    --file | --fil | --fi | --f )
6722 <    $ac_shift
6723 <    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6722 >    shift
6723 >    CONFIG_FILES="$CONFIG_FILES $1"
6724      ac_need_defaults=false;;
6725    --header | --heade | --head | --hea )
6726 <    $ac_shift
6727 <    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6726 >    shift
6727 >    CONFIG_HEADERS="$CONFIG_HEADERS $1"
6728      ac_need_defaults=false;;
8921  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8922  | -silent | --silent | --silen | --sile | --sil | --si | --s)
8923    ac_cs_silent=: ;;
6729  
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 +
6736    # This is an error.
6737 <  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6737 >  -*) { { echo "$as_me:6737: error: unrecognized option: $1
6738   Try \`$0 --help' for more information." >&5
6739   echo "$as_me: error: unrecognized option: $1
6740   Try \`$0 --help' for more information." >&2;}
6741     { (exit 1); exit 1; }; } ;;
6742 <
6743 <  *) ac_config_targets="$ac_config_targets $1" ;;
6744 <
6742 >  *) { { echo "$as_me:6742: error: invalid argument: $1" >&5
6743 > echo "$as_me: error: invalid argument: $1" >&2;}
6744 >   { (exit 1); exit 1; }; };;
6745    esac
6746    shift
6747   done
6748  
6749 < ac_configure_extra_args=
6749 > exec 5>>config.log
6750 > cat >&5 << _ACEOF
6751  
6752 < if $ac_cs_silent; then
6753 <  exec 6>/dev/null
6754 <  ac_configure_extra_args="$ac_configure_extra_args --silent"
8943 < fi
6752 > ## ----------------------- ##
6753 > ## Running config.status.  ##
6754 > ## ----------------------- ##
6755  
6756 < _ACEOF
6757 < cat >>$CONFIG_STATUS <<_ACEOF
6758 < if \$ac_cs_recheck; then
8948 <  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8949 <  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8950 < fi
6756 > This file was extended by $as_me (OOPSE 2.0) 2.50, executed with
6757 >  > $ac_cs_invocation
6758 > on `(hostname || uname -n) 2>/dev/null | sed 1q`
6759  
6760   _ACEOF
6761 + EOF
6762  
6763 <
8955 <
8956 <
8957 <
8958 < cat >>$CONFIG_STATUS <<\_ACEOF
8959 < for ac_config_target in $ac_config_targets
8960 < do
8961 <  case "$ac_config_target" in
8962 <  # Handling of arguments.
8963 <  "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
8964 <  "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
8965 <  "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
8966 <  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
8967 <  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8968 < echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8969 <   { (exit 1); exit 1; }; };;
8970 <  esac
8971 < done
8972 <
6763 > cat >>$CONFIG_STATUS <<\EOF
6764   # If the user did not use the arguments to specify the items to instantiate,
6765   # then the envvar interface is used.  Set only those that are not.
6766   # We use the long form for the default assignment because of an extremely
# Line 8980 | Line 6771 | fi
6771    test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
6772   fi
6773  
8983 # Have a temporary directory for convenience.  Make it in the build tree
8984 # simply because there is no reason to put it here, and in addition,
8985 # creating and moving files from /tmp can sometimes cause problems.
6774   # Create a temporary directory, and hook for its removal unless debugging.
6775   $debug ||
6776   {
6777    trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6778 <  trap '{ (exit 1); exit 1; }' 1 2 13 15
6778 >  trap '{ (exit $?); exit $?; }' 1 2 13 15
6779   }
6780  
6781   # Create a (secure) tmp directory for tmp files.
6782 <
6782 > : ${TMPDIR=/tmp}
6783   {
6784 <  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6784 >  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
6785    test -n "$tmp" && test -d "$tmp"
6786   }  ||
6787   {
6788 <  tmp=./confstat$$-$RANDOM
6788 >  tmp=$TMPDIR/cs$$-$RANDOM
6789    (umask 077 && mkdir $tmp)
6790   } ||
6791   {
6792 <   echo "$me: cannot create a temporary directory in ." >&2
6792 >   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
6793     { (exit 1); exit 1; }
6794   }
6795  
6796 < _ACEOF
6796 > EOF
6797  
6798 < cat >>$CONFIG_STATUS <<_ACEOF
6798 > cat >>$CONFIG_STATUS <<EOF
6799  
6800   #
6801   # CONFIG_FILES section.
# Line 9020 | Line 6808 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6808    sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6809     s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6810   s,@SHELL@,$SHELL,;t t
9023 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9024 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9025 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9026 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9027 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9028 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6811   s,@exec_prefix@,$exec_prefix,;t t
6812   s,@prefix@,$prefix,;t t
6813   s,@program_transform_name@,$program_transform_name,;t t
# Line 9041 | Line 6823 | s,@build_alias@,$build_alias,;t t
6823   s,@oldincludedir@,$oldincludedir,;t t
6824   s,@infodir@,$infodir,;t t
6825   s,@mandir@,$mandir,;t t
6826 < s,@build_alias@,$build_alias,;t t
6827 < s,@host_alias@,$host_alias,;t t
6828 < s,@target_alias@,$target_alias,;t t
6829 < s,@DEFS@,$DEFS,;t t
6826 > s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6827 > s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6828 > s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6829 > s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6830 > s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6831   s,@ECHO_C@,$ECHO_C,;t t
6832   s,@ECHO_N@,$ECHO_N,;t t
6833   s,@ECHO_T@,$ECHO_T,;t t
6834 + s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6835 + s,@DEFS@,$DEFS,;t t
6836   s,@LIBS@,$LIBS,;t t
6837   s,@PROGNAME@,$PROGNAME,;t t
6838   s,@debug@,$debug,;t t
# Line 9085 | Line 6870 | s,@EGREP@,$EGREP,;t t
6870   s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
6871   s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t
6872   s,@CPP@,$CPP,;t t
9088 s,@EGREP@,$EGREP,;t t
6873   s,@LIBOBJS@,$LIBOBJS,;t t
6874   s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6875   s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
# Line 9126 | Line 6910 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6910   s,@OOPSE_HOME@,$OOPSE_HOME,;t t
6911   s,@SUBDIRS@,$SUBDIRS,;t t
6912   s,@FFLAGS@,$FFLAGS,;t t
9129 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6913   CEOF
6914  
6915 < _ACEOF
6915 > EOF
6916  
6917 <  cat >>$CONFIG_STATUS <<\_ACEOF
6917 >  cat >>$CONFIG_STATUS <<\EOF
6918    # Split the substitutions into bite-sized pieces for seds with
6919    # small command number limits, like on Digital OSF/1 and HP-UX.
6920    ac_max_sed_lines=48
# Line 9156 | Line 6939 | _ACEOF
6939        (echo ':t
6940    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6941        if test -z "$ac_sed_cmds"; then
6942 <        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6942 >        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6943        else
6944 <        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6944 >        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6945        fi
6946        ac_sed_frag=`expr $ac_sed_frag + 1`
6947        ac_beg=$ac_end
# Line 9170 | Line 6953 | _ACEOF
6953    fi
6954   fi # test -n "$CONFIG_FILES"
6955  
6956 < _ACEOF
6957 < cat >>$CONFIG_STATUS <<\_ACEOF
6956 > EOF
6957 > cat >>$CONFIG_STATUS <<\EOF
6958   for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6959    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6960    case $ac_file in
6961    - | *:- | *:-:* ) # input from stdin
6962 <        cat >$tmp/stdin
6963 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6964 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6962 >        cat >$tmp/stdin
6963 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6964 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6965    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6966 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6966 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6967    * )   ac_file_in=$ac_file.in ;;
6968    esac
6969  
6970    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6971 <  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6972 < $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6973 <         X"$ac_file" : 'X\(//\)[^/]' \| \
6974 <         X"$ac_file" : 'X\(//\)$' \| \
6975 <         X"$ac_file" : 'X\(/\)' \| \
9193 <         .     : '\(.\)' 2>/dev/null ||
6971 >  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6972 >         X"$ac_file" : 'X\(//\)[^/]' \| \
6973 >         X"$ac_file" : 'X\(//\)$' \| \
6974 >         X"$ac_file" : 'X\(/\)' \| \
6975 >         .     : '\(.\)' 2>/dev/null ||
6976   echo X"$ac_file" |
6977      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6978            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6979            /^X\(\/\/\)$/{ s//\1/; q; }
6980            /^X\(\/\).*/{ s//\1/; q; }
6981            s/.*/./; q'`
6982 <  { if $as_mkdir_p; then
6983 <    mkdir -p "$ac_dir"
6982 >  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
6983 >    { 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'`
7002    else
7003 <    as_dir="$ac_dir"
7004 <    as_dirs=
9205 <    while test ! -d "$as_dir"; do
9206 <      as_dirs="$as_dir $as_dirs"
9207 <      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9208 < $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9209 <         X"$as_dir" : 'X\(//\)[^/]' \| \
9210 <         X"$as_dir" : 'X\(//\)$' \| \
9211 <         X"$as_dir" : 'X\(/\)' \| \
9212 <         .     : '\(.\)' 2>/dev/null ||
9213 < echo X"$as_dir" |
9214 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9215 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9216 <          /^X\(\/\/\)$/{ s//\1/; q; }
9217 <          /^X\(\/\).*/{ s//\1/; q; }
9218 <          s/.*/./; q'`
9219 <    done
9220 <    test ! -n "$as_dirs" || mkdir $as_dirs
9221 <  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9222 < echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9223 <   { (exit 1); exit 1; }; }; }
7003 >    ac_dir_suffix= ac_dots=
7004 >  fi
7005  
7006 <  ac_builddir=.
7007 <
7008 < if test "$ac_dir" != .; then
7009 <  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7010 <  # A "../" for each directory in $ac_dir_suffix.
7011 <  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7012 < else
7013 <  ac_dir_suffix= ac_top_builddir=
7014 < fi
7015 <
9235 < case $srcdir in
9236 <  .)  # No --srcdir option.  We are building in place.
9237 <    ac_srcdir=.
9238 <    if test -z "$ac_top_builddir"; then
9239 <       ac_top_srcdir=.
9240 <    else
9241 <       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9242 <    fi ;;
9243 <  [\\/]* | ?:[\\/]* )  # Absolute path.
9244 <    ac_srcdir=$srcdir$ac_dir_suffix;
9245 <    ac_top_srcdir=$srcdir ;;
7006 >  case $srcdir in
7007 >  .)  ac_srcdir=.
7008 >      if test -z "$ac_dots"; then
7009 >         ac_top_srcdir=.
7010 >      else
7011 >         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
7012 >      fi ;;
7013 >  [\\/]* | ?:[\\/]* )
7014 >      ac_srcdir=$srcdir$ac_dir_suffix;
7015 >      ac_top_srcdir=$srcdir ;;
7016    *) # Relative path.
7017 <    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7018 <    ac_top_srcdir=$ac_top_builddir$srcdir ;;
7019 < esac
9250 <
9251 < # Do not use `cd foo && pwd` to compute absolute paths, because
9252 < # the directories may not exist.
9253 < case `pwd` in
9254 < .) ac_abs_builddir="$ac_dir";;
9255 < *)
9256 <  case "$ac_dir" in
9257 <  .) ac_abs_builddir=`pwd`;;
9258 <  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9259 <  *) ac_abs_builddir=`pwd`/"$ac_dir";;
9260 <  esac;;
9261 < esac
9262 < case $ac_abs_builddir in
9263 < .) ac_abs_top_builddir=${ac_top_builddir}.;;
9264 < *)
9265 <  case ${ac_top_builddir}. in
9266 <  .) ac_abs_top_builddir=$ac_abs_builddir;;
9267 <  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9268 <  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9269 <  esac;;
9270 < esac
9271 < case $ac_abs_builddir in
9272 < .) ac_abs_srcdir=$ac_srcdir;;
9273 < *)
9274 <  case $ac_srcdir in
9275 <  .) ac_abs_srcdir=$ac_abs_builddir;;
9276 <  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9277 <  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9278 <  esac;;
9279 < esac
9280 < case $ac_abs_builddir in
9281 < .) ac_abs_top_srcdir=$ac_top_srcdir;;
9282 < *)
9283 <  case $ac_top_srcdir in
9284 <  .) ac_abs_top_srcdir=$ac_abs_builddir;;
9285 <  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9286 <  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9287 <  esac;;
9288 < esac
7017 >    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
7018 >    ac_top_srcdir=$ac_dots$srcdir ;;
7019 >  esac
7020  
9290
7021    case $INSTALL in
7022    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7023 <  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
7023 >  *) ac_INSTALL=$ac_dots$INSTALL ;;
7024    esac
7025  
7026    if test x"$ac_file" != x-; then
7027 <    { echo "$as_me:$LINENO: creating $ac_file" >&5
7027 >    { echo "$as_me:7027: creating $ac_file" >&5
7028   echo "$as_me: creating $ac_file" >&6;}
7029      rm -f "$ac_file"
7030    fi
7031    # Let's still pretend it is `configure' which instantiates (i.e., don't
7032    # use $as_me), people would be surprised to read:
7033 <  #    /* config.h.  Generated by config.status.  */
7034 <  if test x"$ac_file" = x-; then
7035 <    configure_input=
9306 <  else
9307 <    configure_input="$ac_file.  "
9308 <  fi
9309 <  configure_input=$configure_input"Generated from `echo $ac_file_in |
9310 <                                     sed 's,.*/,,'` by configure."
7033 >  #    /* config.h.  Generated automatically by config.status.  */
7034 >  configure_input="Generated automatically from `echo $ac_file_in |
7035 >                                                 sed 's,.*/,,'` by configure."
7036  
7037    # First look for the input files in the build tree, otherwise in the
7038    # src tree.
# Line 9316 | Line 7041 | echo "$as_me: creating $ac_file" >&6;}
7041        case $f in
7042        -) echo $tmp/stdin ;;
7043        [\\/$]*)
7044 <         # Absolute (can't be DOS-style, as IFS=:)
7045 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7044 >         # Absolute (can't be DOS-style, as IFS=:)
7045 >         test -f "$f" || { { echo "$as_me:7045: error: cannot find input file: $f" >&5
7046   echo "$as_me: error: cannot find input file: $f" >&2;}
7047     { (exit 1); exit 1; }; }
7048 <         echo "$f";;
7048 >         echo $f;;
7049        *) # Relative
7050 <         if test -f "$f"; then
7051 <           # Build tree
7052 <           echo "$f"
7053 <         elif test -f "$srcdir/$f"; then
7054 <           # Source tree
7055 <           echo "$srcdir/$f"
7056 <         else
7057 <           # /dev/null tree
7058 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7050 >         if test -f "$f"; then
7051 >           # Build tree
7052 >           echo $f
7053 >         elif test -f "$srcdir/$f"; then
7054 >           # Source tree
7055 >           echo $srcdir/$f
7056 >         else
7057 >           # /dev/null tree
7058 >           { { echo "$as_me:7058: error: cannot find input file: $f" >&5
7059   echo "$as_me: error: cannot find input file: $f" >&2;}
7060     { (exit 1); exit 1; }; }
7061 <         fi;;
7061 >         fi;;
7062        esac
7063      done` || { (exit 1); exit 1; }
7064 < _ACEOF
7065 < cat >>$CONFIG_STATUS <<_ACEOF
7064 > EOF
7065 > cat >>$CONFIG_STATUS <<EOF
7066    sed "$ac_vpsub
7067   $extrasub
7068 < _ACEOF
7069 < cat >>$CONFIG_STATUS <<\_ACEOF
7068 > EOF
7069 > cat >>$CONFIG_STATUS <<\EOF
7070   :t
7071   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7072   s,@configure_input@,$configure_input,;t t
7073   s,@srcdir@,$ac_srcdir,;t t
9349 s,@abs_srcdir@,$ac_abs_srcdir,;t t
7074   s,@top_srcdir@,$ac_top_srcdir,;t t
9351 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
9352 s,@builddir@,$ac_builddir,;t t
9353 s,@abs_builddir@,$ac_abs_builddir,;t t
9354 s,@top_builddir@,$ac_top_builddir,;t t
9355 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
7075   s,@INSTALL@,$ac_INSTALL,;t t
7076   " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7077    rm -f $tmp/stdin
# Line 9364 | Line 7083 | _ACEOF
7083    fi
7084  
7085   done
7086 < _ACEOF
7087 < cat >>$CONFIG_STATUS <<\_ACEOF
7086 > EOF
7087 > cat >>$CONFIG_STATUS <<\EOF
7088  
7089   #
7090   # CONFIG_HEADER section.
# Line 9375 | Line 7094 | ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
7094   # NAME is the cpp macro being defined and VALUE is the value it is being given.
7095   #
7096   # ac_d sets the value in "#define NAME VALUE" lines.
7097 < ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
7098 < ac_dB='[         ].*$,\1#\2'
7097 > ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
7098 > ac_dB='[        ].*$,\1#\2'
7099   ac_dC=' '
7100   ac_dD=',;t'
7101   # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7102 < ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
7102 > ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
7103   ac_uB='$,\1#\2define\3'
7104   ac_uC=' '
7105   ac_uD=',;t'
# Line 9389 | Line 7108 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file"
7108    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7109    case $ac_file in
7110    - | *:- | *:-:* ) # input from stdin
7111 <        cat >$tmp/stdin
7112 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7113 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7111 >        cat >$tmp/stdin
7112 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7113 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7114    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7115 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7115 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7116    * )   ac_file_in=$ac_file.in ;;
7117    esac
7118  
7119 <  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
7119 >  test x"$ac_file" != x- && { echo "$as_me:7119: creating $ac_file" >&5
7120   echo "$as_me: creating $ac_file" >&6;}
7121  
7122    # First look for the input files in the build tree, otherwise in the
# Line 9407 | Line 7126 | echo "$as_me: creating $ac_file" >&6;}
7126        case $f in
7127        -) echo $tmp/stdin ;;
7128        [\\/$]*)
7129 <         # Absolute (can't be DOS-style, as IFS=:)
7130 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7129 >         # Absolute (can't be DOS-style, as IFS=:)
7130 >         test -f "$f" || { { echo "$as_me:7130: error: cannot find input file: $f" >&5
7131   echo "$as_me: error: cannot find input file: $f" >&2;}
7132     { (exit 1); exit 1; }; }
7133 <         # Do quote $f, to prevent DOS paths from being IFS'd.
9415 <         echo "$f";;
7133 >         echo $f;;
7134        *) # Relative
7135 <         if test -f "$f"; then
7136 <           # Build tree
7137 <           echo "$f"
7138 <         elif test -f "$srcdir/$f"; then
7139 <           # Source tree
7140 <           echo "$srcdir/$f"
7141 <         else
7142 <           # /dev/null tree
7143 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7135 >         if test -f "$f"; then
7136 >           # Build tree
7137 >           echo $f
7138 >         elif test -f "$srcdir/$f"; then
7139 >           # Source tree
7140 >           echo $srcdir/$f
7141 >         else
7142 >           # /dev/null tree
7143 >           { { echo "$as_me:7143: error: cannot find input file: $f" >&5
7144   echo "$as_me: error: cannot find input file: $f" >&2;}
7145     { (exit 1); exit 1; }; }
7146 <         fi;;
7146 >         fi;;
7147        esac
7148      done` || { (exit 1); exit 1; }
7149    # Remove the trailing spaces.
7150 <  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
7150 >  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
7151  
7152 < _ACEOF
7152 > EOF
7153  
7154   # Transform confdefs.h into two sed scripts, `conftest.defines' and
7155   # `conftest.undefs', that substitutes the proper values into
# Line 9447 | Line 7165 | cat >confdef2sed.sed <<\_ACEOF
7165   # `end' is used to avoid that the second main sed command (meant for
7166   # 0-ary CPP macros) applies to n-ary macro definitions.
7167   # See the Autoconf documentation for `clear'.
7168 < cat >confdef2sed.sed <<\_ACEOF
7168 > cat >confdef2sed.sed <<\EOF
7169   s/[\\&,]/\\&/g
7170   s,[\\$`],\\&,g
7171   t clear
7172   : clear
7173 < s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7173 > s,^[    ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
7174   t end
7175 < s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7175 > s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7176   : end
7177 < _ACEOF
7177 > EOF
7178   # If some macros were called several times there might be several times
7179   # the same #defines, which is useless.  Nevertheless, we may not want to
7180   # sort them, since we want the *last* AC-DEFINE to be honored.
# Line 9467 | Line 7185 | cat >>conftest.undefs <<\_ACEOF
7185   # This sed command replaces #undef with comments.  This is necessary, for
7186   # example, in the case of _POSIX_SOURCE, which is predefined and required
7187   # on some systems where configure will not decide to define it.
7188 < cat >>conftest.undefs <<\_ACEOF
7189 < s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7190 < _ACEOF
7188 > cat >>conftest.undefs <<\EOF
7189 > s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7190 > EOF
7191  
7192   # Break up conftest.defines because some shells have a limit on the size
7193   # of here documents, and old seds have small limits too (100 cmds).
7194   echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7195 < echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7195 > echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7196   echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7197   echo '  :' >>$CONFIG_STATUS
7198   rm -f conftest.tail
# Line 9483 | Line 7201 | do
7201    # Write a limited-size here document to $tmp/defines.sed.
7202    echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7203    # Speed up: don't consider the non `#define' lines.
7204 <  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
7204 >  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
7205    # Work around the forget-to-reset-the-flag bug.
7206    echo 't clr' >>$CONFIG_STATUS
7207    echo ': clr' >>$CONFIG_STATUS
# Line 9498 | Line 7216 | echo '  fi # grep' >>$CONFIG_STATUS
7216    mv conftest.tail conftest.defines
7217   done
7218   rm -f conftest.defines
7219 < echo '  fi # grep' >>$CONFIG_STATUS
7219 > echo '  fi # egrep' >>$CONFIG_STATUS
7220   echo >>$CONFIG_STATUS
7221  
7222   # Break up conftest.undefs because some shells have a limit on the size
# Line 9510 | Line 7228 | do
7228    # Write a limited-size here document to $tmp/undefs.sed.
7229    echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7230    # Speed up: don't consider the non `#undef'
7231 <  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
7231 >  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
7232    # Work around the forget-to-reset-the-flag bug.
7233    echo 't clr' >>$CONFIG_STATUS
7234    echo ': clr' >>$CONFIG_STATUS
# Line 9526 | Line 7244 | cat >>$CONFIG_STATUS <<\_ACEOF
7244   done
7245   rm -f conftest.undefs
7246  
7247 < cat >>$CONFIG_STATUS <<\_ACEOF
7247 > cat >>$CONFIG_STATUS <<\EOF
7248    # Let's still pretend it is `configure' which instantiates (i.e., don't
7249    # use $as_me), people would be surprised to read:
7250 <  #    /* config.h.  Generated by config.status.  */
7250 >  #    /* config.h.  Generated automatically by config.status.  */
7251    if test x"$ac_file" = x-; then
7252 <    echo "/* Generated by configure.  */" >$tmp/config.h
7252 >    echo "/* Generated automatically by configure.  */" >$tmp/config.h
7253    else
7254 <    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
7254 >    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
7255    fi
7256    cat $tmp/in >>$tmp/config.h
7257    rm -f $tmp/in
7258    if test x"$ac_file" != x-; then
7259 <    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
7260 <      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7259 >    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
7260 >      { echo "$as_me:7260: $ac_file is unchanged" >&5
7261   echo "$as_me: $ac_file is unchanged" >&6;}
7262      else
7263 <      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7264 < $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7265 <         X"$ac_file" : 'X\(//\)[^/]' \| \
7266 <         X"$ac_file" : 'X\(//\)$' \| \
7267 <         X"$ac_file" : 'X\(/\)' \| \
9550 <         .     : '\(.\)' 2>/dev/null ||
7263 >      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7264 >         X"$ac_file" : 'X\(//\)[^/]' \| \
7265 >         X"$ac_file" : 'X\(//\)$' \| \
7266 >         X"$ac_file" : 'X\(/\)' \| \
7267 >         .     : '\(.\)' 2>/dev/null ||
7268   echo X"$ac_file" |
7269      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7270            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7271            /^X\(\/\/\)$/{ s//\1/; q; }
7272            /^X\(\/\).*/{ s//\1/; q; }
7273            s/.*/./; q'`
7274 <      { if $as_mkdir_p; then
7275 <    mkdir -p "$ac_dir"
7276 <  else
7277 <    as_dir="$ac_dir"
7278 <    as_dirs=
7279 <    while test ! -d "$as_dir"; do
7280 <      as_dirs="$as_dir $as_dirs"
7281 <      as_dir=`(dirname "$as_dir") 2>/dev/null ||
7282 < $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7283 <         X"$as_dir" : 'X\(//\)[^/]' \| \
7284 <         X"$as_dir" : 'X\(//\)$' \| \
7285 <         X"$as_dir" : 'X\(/\)' \| \
7286 <         .     : '\(.\)' 2>/dev/null ||
7287 < echo X"$as_dir" |
7288 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7289 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9573 <          /^X\(\/\/\)$/{ s//\1/; q; }
9574 <          /^X\(\/\).*/{ s//\1/; q; }
9575 <          s/.*/./; q'`
9576 <    done
9577 <    test ! -n "$as_dirs" || mkdir $as_dirs
9578 <  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9579 < echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9580 <   { (exit 1); exit 1; }; }; }
7274 >      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
7275 >        { case "$ac_dir" in
7276 >  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
7277 >  *)                      as_incr_dir=.;;
7278 > esac
7279 > as_dummy="$ac_dir"
7280 > for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
7281 >  case $as_mkdir_dir in
7282 >    # Skip DOS drivespec
7283 >    ?:) as_incr_dir=$as_mkdir_dir ;;
7284 >    *)
7285 >      as_incr_dir=$as_incr_dir/$as_mkdir_dir
7286 >      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
7287 >    ;;
7288 >  esac
7289 > done; }
7290  
7291 +      fi
7292        rm -f $ac_file
7293        mv $tmp/config.h $ac_file
7294      fi
# Line 9587 | Line 7297 | _ACEOF
7297      rm -f $tmp/config.h
7298    fi
7299   done
7300 < _ACEOF
7301 < cat >>$CONFIG_STATUS <<\_ACEOF
7300 > EOF
7301 > cat >>$CONFIG_STATUS <<\EOF
7302  
7303   #
7304   # CONFIG_LINKS section.
# Line 9598 | Line 7308 | for ac_file in : $CONFIG_LINKS; do test "x$ac_file" =
7308    ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7309    ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7310  
7311 <  { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
7311 >  { echo "$as_me:7311: linking $srcdir/$ac_source to $ac_dest" >&5
7312   echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
7313  
7314    if test ! -r $srcdir/$ac_source; then
7315 <    { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
7316 < echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
7315 >    { { echo "$as_me:7315: error: $srcdir/$ac_source: File not found" >&5
7316 > echo "$as_me: error: $srcdir/$ac_source: File not found" >&2;}
7317     { (exit 1); exit 1; }; }
7318    fi
7319    rm -f $ac_dest
7320  
7321    # Make relative symlinks.
7322 <  ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
7323 < $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7324 <         X"$ac_dest" : 'X\(//\)[^/]' \| \
7325 <         X"$ac_dest" : 'X\(//\)$' \| \
7326 <         X"$ac_dest" : 'X\(/\)' \| \
9617 <         .     : '\(.\)' 2>/dev/null ||
7322 >  ac_dest_dir=`$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7323 >         X"$ac_dest" : 'X\(//\)[^/]' \| \
7324 >         X"$ac_dest" : 'X\(//\)$' \| \
7325 >         X"$ac_dest" : 'X\(/\)' \| \
7326 >         .     : '\(.\)' 2>/dev/null ||
7327   echo X"$ac_dest" |
7328      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7329            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7330            /^X\(\/\/\)$/{ s//\1/; q; }
7331            /^X\(\/\).*/{ s//\1/; q; }
7332            s/.*/./; q'`
7333 <  { if $as_mkdir_p; then
7334 <    mkdir -p "$ac_dest_dir"
7333 >  if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
7334 >    { case "$ac_dest_dir" in
7335 >  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
7336 >  *)                      as_incr_dir=.;;
7337 > 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; }
7349 >
7350 >    ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's,^\./,,'`"
7351 >    # A "../" for each directory in $ac_dest_dir_suffix.
7352 >    ac_dots=`echo $ac_dest_dir_suffix|sed 's,/[^/]*,../,g'`
7353    else
7354 <    as_dir="$ac_dest_dir"
7355 <    as_dirs=
9629 <    while test ! -d "$as_dir"; do
9630 <      as_dirs="$as_dir $as_dirs"
9631 <      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9632 < $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9633 <         X"$as_dir" : 'X\(//\)[^/]' \| \
9634 <         X"$as_dir" : 'X\(//\)$' \| \
9635 <         X"$as_dir" : 'X\(/\)' \| \
9636 <         .     : '\(.\)' 2>/dev/null ||
9637 < echo X"$as_dir" |
9638 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9639 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9640 <          /^X\(\/\/\)$/{ s//\1/; q; }
9641 <          /^X\(\/\).*/{ s//\1/; q; }
9642 <          s/.*/./; q'`
9643 <    done
9644 <    test ! -n "$as_dirs" || mkdir $as_dirs
9645 <  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
9646 < echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
9647 <   { (exit 1); exit 1; }; }; }
7354 >    ac_dest_dir_suffix= ac_dots=
7355 >  fi
7356  
9649  ac_builddir=.
9650
9651 if test "$ac_dest_dir" != .; then
9652  ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
9653  # A "../" for each directory in $ac_dir_suffix.
9654  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9655 else
9656  ac_dir_suffix= ac_top_builddir=
9657 fi
9658
9659 case $srcdir in
9660  .)  # No --srcdir option.  We are building in place.
9661    ac_srcdir=.
9662    if test -z "$ac_top_builddir"; then
9663       ac_top_srcdir=.
9664    else
9665       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9666    fi ;;
9667  [\\/]* | ?:[\\/]* )  # Absolute path.
9668    ac_srcdir=$srcdir$ac_dir_suffix;
9669    ac_top_srcdir=$srcdir ;;
9670  *) # Relative path.
9671    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9672    ac_top_srcdir=$ac_top_builddir$srcdir ;;
9673 esac
9674
9675 # Do not use `cd foo && pwd` to compute absolute paths, because
9676 # the directories may not exist.
9677 case `pwd` in
9678 .) ac_abs_builddir="$ac_dest_dir";;
9679 *)
9680  case "$ac_dest_dir" in
9681  .) ac_abs_builddir=`pwd`;;
9682  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
9683  *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
9684  esac;;
9685 esac
9686 case $ac_abs_builddir in
9687 .) ac_abs_top_builddir=${ac_top_builddir}.;;
9688 *)
9689  case ${ac_top_builddir}. in
9690  .) ac_abs_top_builddir=$ac_abs_builddir;;
9691  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9692  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9693  esac;;
9694 esac
9695 case $ac_abs_builddir in
9696 .) ac_abs_srcdir=$ac_srcdir;;
9697 *)
9698  case $ac_srcdir in
9699  .) ac_abs_srcdir=$ac_abs_builddir;;
9700  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9701  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9702  esac;;
9703 esac
9704 case $ac_abs_builddir in
9705 .) ac_abs_top_srcdir=$ac_top_srcdir;;
9706 *)
9707  case $ac_top_srcdir in
9708  .) ac_abs_top_srcdir=$ac_abs_builddir;;
9709  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9710  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9711  esac;;
9712 esac
9713
9714
7357    case $srcdir in
7358    [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
7359 <      *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
7359 >      *) ac_rel_source=$ac_dots$srcdir/$ac_source ;;
7360    esac
7361  
7362 <  # Try a symlink, then a hard link, then a copy.
7362 >  # Make a symlink if possible; otherwise try a hard link.
7363    ln -s $ac_rel_source $ac_dest 2>/dev/null ||
7364 <    ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
7365 <    cp -p $srcdir/$ac_source $ac_dest ||
7366 <    { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
9725 < echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
7364 >    ln $srcdir/$ac_source $ac_dest ||
7365 >    { { echo "$as_me:7365: error: cannot link $ac_dest to $srcdir/$ac_source" >&5
7366 > echo "$as_me: error: cannot link $ac_dest to $srcdir/$ac_source" >&2;}
7367     { (exit 1); exit 1; }; }
7368   done
7369 < _ACEOF
7369 > EOF
7370  
7371 < cat >>$CONFIG_STATUS <<\_ACEOF
7371 > cat >>$CONFIG_STATUS <<\EOF
7372  
7373   { (exit 0); exit 0; }
7374 < _ACEOF
7374 > EOF
7375   chmod +x $CONFIG_STATUS
7376   ac_clean_files=$ac_clean_files_save
7377  
9737
7378   # configure is writing to config.log, and then calls config.status.
7379   # config.status does its own redirection, appending to config.log.
7380   # Unfortunately, on DOS this fails, as config.log is still kept open
# Line 9745 | Line 7385 | if test "$no_create" != yes; then
7385   # need to make the FD available again.
7386   if test "$no_create" != yes; then
7387    ac_cs_success=:
9748  ac_config_status_args=
9749  test "$silent" = yes &&
9750    ac_config_status_args="$ac_config_status_args --quiet"
7388    exec 5>/dev/null
7389 <  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7389 >  $SHELL $CONFIG_STATUS || ac_cs_success=false
7390    exec 5>>config.log
7391    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7392    # would make configure fail if this is the last instruction.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines