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 2024 by gezelter, Tue Feb 15 05:05:33 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.57 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 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
7 > # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8   # Free Software Foundation, Inc.
9   # This configure script is free software; the Free Software Foundation
10   # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization.  ##
13 ## --------------------- ##
11  
12   # Be Bourne compatible
13   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14    emulate sh
15    NULLCMD=:
19  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20  # is contrary to our usage.  Disable this feature.
21  alias -g '${1+"$@"}'='"$@"'
16   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
17    set -o posix
18   fi
19  
26 # Support unset when possible.
27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
28  as_unset=unset
29 else
30  as_unset=false
31 fi
32
33
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
39
40 # NLS nuisances.
41 for as_var in \
42  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44  LC_TELEPHONE LC_TIME
45 do
46  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47    eval $as_var=C; export $as_var
48  else
49    $as_unset $as_var
50  fi
51 done
52
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
55  as_expr=expr
56 else
57  as_expr=false
58 fi
59
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61  as_basename=basename
62 else
63  as_basename=false
64 fi
65
66
20   # Name of the executable.
21 < as_me=`$as_basename "$0" ||
69 < $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 <         X"$0" : 'X\(//\)$' \| \
71 <         X"$0" : 'X\(/\)$' \| \
72 <         .     : '\(.\)' 2>/dev/null ||
73 < echo X/"$0" |
74 <    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 <          /^X\/\(\/\/\)$/{ s//\1/; q; }
76 <          /^X\/\(\/\).*/{ s//\1/; q; }
77 <          s/.*/./; q'`
78 <
79 <
80 < # PATH needs CR, and LINENO needs CR and PATH.
81 < # Avoid depending upon Character Ranges.
82 < as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 < as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 < as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 < as_cr_digits='0123456789'
86 < as_cr_alnum=$as_cr_Letters$as_cr_digits
87 <
88 < # The user is always right.
89 < if test "${PATH_SEPARATOR+set}" != set; then
90 <  echo "#! /bin/sh" >conf$$.sh
91 <  echo  "exit 0"   >>conf$$.sh
92 <  chmod +x conf$$.sh
93 <  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 <    PATH_SEPARATOR=';'
95 <  else
96 <    PATH_SEPARATOR=:
97 <  fi
98 <  rm -f conf$$.sh
99 < fi
100 <
101 <
102 <  as_lineno_1=$LINENO
103 <  as_lineno_2=$LINENO
104 <  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
106 <  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107 <  # Find who we are.  Look in the path if we contain no path at all
108 <  # relative or not.
109 <  case $0 in
110 <    *[\\/]* ) as_myself=$0 ;;
111 <    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 < for as_dir in $PATH
113 < do
114 <  IFS=$as_save_IFS
115 <  test -z "$as_dir" && as_dir=.
116 <  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 < done
118 <
119 <       ;;
120 <  esac
121 <  # We did not find ourselves, most probably we were run as `sh COMMAND'
122 <  # in which case we are not to be found in the path.
123 <  if test "x$as_myself" = x; then
124 <    as_myself=$0
125 <  fi
126 <  if test ! -f "$as_myself"; then
127 <    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 <   { (exit 1); exit 1; }; }
129 <  fi
130 <  case $CONFIG_SHELL in
131 <  '')
132 <    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 < for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 < do
135 <  IFS=$as_save_IFS
136 <  test -z "$as_dir" && as_dir=.
137 <  for as_base in sh bash ksh sh5; do
138 <         case $as_dir in
139 <         /*)
140 <           if ("$as_dir/$as_base" -c '
141 <  as_lineno_1=$LINENO
142 <  as_lineno_2=$LINENO
143 <  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
145 <  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146 <             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 <             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 <             CONFIG_SHELL=$as_dir/$as_base
149 <             export CONFIG_SHELL
150 <             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 <           fi;;
152 <         esac
153 <       done
154 < done
155 < ;;
156 <  esac
21 > as_me=`echo "$0" |sed 's,.*[\\/],,'`
22  
158  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159  # uniformly replaced by the line number.  The first 'sed' inserts a
160  # line-number line before each line; the second 'sed' does the real
161  # work.  The second script uses 'N' to pair each line-number line
162  # with the numbered line, and appends trailing '-' during
163  # substitution so that $LINENO is not a special case at line end.
164  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166  sed '=' <$as_myself |
167    sed '
168      N
169      s,$,-,
170      : loop
171      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172      t loop
173      s,-$,,
174      s,^['$as_cr_digits']*\n,,
175    ' >$as_me.lineno &&
176  chmod +x $as_me.lineno ||
177    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178   { (exit 1); exit 1; }; }
179
180  # Don't try to exec as it changes $[0], causing all sort of problems
181  # (the dirname of $[0] is not the place where we might find the
182  # original and so on.  Autoconf is especially sensible to this).
183  . ./$as_me.lineno
184  # Exit status is that of the last command.
185  exit
186 }
187
188
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190  *c*,-n*) ECHO_N= ECHO_C='
191 ' ECHO_T='      ' ;;
192  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 esac
195
23   if expr a : '\(a\)' >/dev/null 2>&1; then
24    as_expr=expr
25   else
# Line 217 | Line 44 | if mkdir -p . 2>/dev/null; then
44   fi
45   rm -f conf$$ conf$$.exe conf$$.file
46  
47 < if mkdir -p . 2>/dev/null; then
48 <  as_mkdir_p=:
47 > as_executable_p="test -f"
48 >
49 > # Support unset when possible.
50 > if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
51 >  as_unset=unset
52   else
53 <  as_mkdir_p=false
53 >  as_unset=false
54   fi
55  
56 < as_executable_p="test -f"
56 > # NLS nuisances.
57 > $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
58 > $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
59 > $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
60 > $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
61 > $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
62 > $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
63 > $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
64 > $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
65  
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
230
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
233
234
66   # IFS
67   # We need space, tab and new line, in precisely that order.
68   as_nl='
# Line 239 | Line 70 | $as_unset CDPATH
70   IFS="   $as_nl"
71  
72   # CDPATH.
73 < $as_unset CDPATH
73 > $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
74  
244
75   # Name of the host.
76   # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
77   # so uname gets run too.
# Line 253 | Line 83 | ac_config_libobj_dir=.
83   # Initializations.
84   #
85   ac_default_prefix=/usr/local
256 ac_config_libobj_dir=.
86   cross_compiling=no
87   subdirs=
88 < MFLAGS=
260 < MAKEFLAGS=
88 > MFLAGS= MAKEFLAGS=
89   SHELL=${CONFIG_SHELL-/bin/sh}
90  
91   # Maximum number of lines to put in a shell here document.
# Line 265 | Line 93 | SHELL=${CONFIG_SHELL-/bin/sh}
93   # only ac_max_sed_lines should be used.
94   : ${ac_max_here_lines=38}
95  
96 < # Identity of this package.
97 < PACKAGE_NAME='OOPSE'
98 < PACKAGE_TARNAME='oopse'
99 < PACKAGE_VERSION='2.0'
100 < PACKAGE_STRING='OOPSE 2.0'
273 < PACKAGE_BUGREPORT='gezelter@nd.edu'
96 > # Avoid depending upon Character Ranges.
97 > ac_cr_az='abcdefghijklmnopqrstuvwxyz'
98 > ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
99 > ac_cr_09='0123456789'
100 > ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09
101  
102 + # Sed expression to map a string onto a valid sh and CPP variable names.
103 + ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g"
104 + ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g"
105 +
106   ac_unique_file="src/applications/oopse/oopse.cpp"
107   ac_default_prefix="/usr/local"
277 # Factoring default headers for most tests.
278 ac_includes_default="\
279 #include <stdio.h>
280 #if HAVE_SYS_TYPES_H
281 # include <sys/types.h>
282 #endif
283 #if HAVE_SYS_STAT_H
284 # include <sys/stat.h>
285 #endif
286 #if STDC_HEADERS
287 # include <stdlib.h>
288 # include <stddef.h>
289 #else
290 # if HAVE_STDLIB_H
291 #  include <stdlib.h>
292 # endif
293 #endif
294 #if HAVE_STRING_H
295 # if !STDC_HEADERS && HAVE_MEMORY_H
296 #  include <memory.h>
297 # endif
298 # include <string.h>
299 #endif
300 #if HAVE_STRINGS_H
301 # include <strings.h>
302 #endif
303 #if HAVE_INTTYPES_H
304 # include <inttypes.h>
305 #else
306 # if HAVE_STDINT_H
307 #  include <stdint.h>
308 # endif
309 #endif
310 #if HAVE_UNISTD_H
311 # include <unistd.h>
312 #endif"
108  
314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX 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'
315 ac_subst_files=''
316
109   # Initialize some variables set by options.
110   ac_init_help=
111   ac_init_version=false
# Line 352 | Line 144 | ac_prev=
144   infodir='${prefix}/info'
145   mandir='${prefix}/man'
146  
147 + # Identity of this package.
148 + PACKAGE_NAME='OOPSE'
149 + PACKAGE_TARNAME='oopse'
150 + PACKAGE_VERSION='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 397 | Line 196 | do
196    -disable-* | --disable-*)
197      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
198      # Reject names that are not valid shell variable names.
199 <    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
199 >    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
200        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
201     { (exit 1); exit 1; }; }
202      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
# Line 406 | Line 205 | do
205    -enable-* | --enable-*)
206      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
207      # Reject names that are not valid shell variable names.
208 <    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
208 >    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
209        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
210     { (exit 1); exit 1; }; }
211      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
# Line 484 | Line 283 | do
283      with_fp=no ;;
284  
285    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
286 <  | --no-cr | --no-c | -n)
286 >  | --no-cr | --no-c)
287      no_create=yes ;;
288  
289    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
# Line 588 | Line 387 | do
387    -with-* | --with-*)
388      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
389      # Reject names that are not valid shell variable names.
390 <    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
390 >    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
391        { echo "$as_me: error: invalid package name: $ac_package" >&2
392     { (exit 1); exit 1; }; }
393      ac_package=`echo $ac_package| sed 's/-/_/g'`
# Line 601 | Line 400 | do
400    -without-* | --without-*)
401      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
402      # Reject names that are not valid shell variable names.
403 <    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 >    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
404        { echo "$as_me: error: invalid package name: $ac_package" >&2
405     { (exit 1); exit 1; }; }
406      ac_package=`echo $ac_package | sed 's/-/_/g'`
# Line 633 | Line 432 | Try \`$0 --help' for more information." >&2
432    *=*)
433      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
434      # Reject names that are not valid shell variable names.
435 <    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
435 >    expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null &&
436        { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
437     { (exit 1); exit 1; }; }
438      ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
# Line 643 | Line 442 | Try \`$0 --help' for more information." >&2
442    *)
443      # FIXME: should be removed in autoconf 3.0.
444      echo "$as_me: WARNING: you should use --build, --host, --target" >&2
445 <    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
445 >    expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null &&
446        echo "$as_me: WARNING: invalid host type: $ac_option" >&2
447      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
448      ;;
# Line 658 | Line 457 | for ac_var in exec_prefix prefix
457   fi
458  
459   # Be sure to have absolute paths.
661 for ac_var in exec_prefix prefix
662 do
663  eval ac_val=$`echo $ac_var`
664  case $ac_val in
665    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667   { (exit 1); exit 1; }; };;
668  esac
669 done
670
671 # Be sure to have absolute paths.
460   for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
461 <              localstatedir libdir includedir oldincludedir infodir mandir
461 >              localstatedir libdir includedir oldincludedir infodir mandir \
462 >              exec_prefix prefix
463   do
464    eval ac_val=$`echo $ac_var`
465    case $ac_val in
466      [\\/$]* | ?:[\\/]* ) ;;
467 <    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
467 >    NONE ) ;;
468 >    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
469     { (exit 1); exit 1; }; };;
470    esac
471   done
472  
473   # There might be people who depend on the old broken behavior: `$host'
474   # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
475   build=$build_alias
476   host=$host_alias
477   target=$target_alias
478  
479 < # FIXME: To remove some day.
479 > # FIXME: should be removed in autoconf 3.0.
480   if test "x$host_alias" != x; then
481    if test "x$build_alias" = x; then
482      cross_compiling=maybe
# Line 703 | Line 492 | test "$silent" = yes && exec 6>/dev/null
492  
493   test "$silent" = yes && exec 6>/dev/null
494  
706
495   # Find the source files, if location was not specified.
496   if test -z "$srcdir"; then
497    ac_srcdir_defaulted=yes
498    # Try the directory containing this script, then its parent.
499 <  ac_confdir=`(dirname "$0") 2>/dev/null ||
500 < $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
501 <         X"$0" : 'X\(//\)[^/]' \| \
714 <         X"$0" : 'X\(//\)$' \| \
715 <         X"$0" : 'X\(/\)' \| \
716 <         .     : '\(.\)' 2>/dev/null ||
717 < echo X"$0" |
718 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 <          /^X\(\/\/\)$/{ s//\1/; q; }
721 <          /^X\(\/\).*/{ s//\1/; q; }
722 <          s/.*/./; q'`
499 >  ac_prog=$0
500 >  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
501 >  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
502    srcdir=$ac_confdir
503    if test ! -r $srcdir/$ac_unique_file; then
504      srcdir=..
# Line 729 | Line 508 | if test ! -r $srcdir/$ac_unique_file; then
508   fi
509   if test ! -r $srcdir/$ac_unique_file; then
510    if test "$ac_srcdir_defaulted" = yes; then
511 <    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
511 >    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
512     { (exit 1); exit 1; }; }
513    else
514 <    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
514 >    { echo "$as_me: error: cannot find sources in $srcdir" >&2
515     { (exit 1); exit 1; }; }
516    fi
517   fi
739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741   { (exit 1); exit 1; }; }
518   srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
519   ac_env_build_alias_set=${build_alias+set}
520   ac_env_build_alias_value=$build_alias
# Line 795 | 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 816 | 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]
# Line 845 | 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 896 | 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  
917 case $srcdir in
918  .)  # No --srcdir option.  We are building in place.
919    ac_srcdir=.
920    if test -z "$ac_top_builddir"; then
921       ac_top_srcdir=.
922    else
923       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
924    fi ;;
925  [\\/]* | ?:[\\/]* )  # Absolute path.
926    ac_srcdir=$srcdir$ac_dir_suffix;
927    ac_top_srcdir=$srcdir ;;
928  *) # Relative path.
929    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
930    ac_top_srcdir=$ac_top_builddir$srcdir ;;
931 esac
932 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
933 # absolute.
934 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
935 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
936 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
937 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
938
939    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 957 | 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.57
718 > generated by GNU Autoconf 2.50
719  
720 < Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
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.57.  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 1002 | 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
1008 < for as_dir in $PATH
1009 < do
1010 <  IFS=$as_save_IFS
1011 <  test -z "$as_dir" && as_dir=.
1012 <  echo "PATH: $as_dir"
1013 < done
1014 <
763 > _ASUNAME
764   } >&5
765  
766 < cat >&5 <<_ACEOF
766 > cat >&5 <<EOF
767 > ## ------------ ##
768 > ## Core tests.  ##
769 > ## ------------ ##
770  
771 + EOF
772  
1020 ## ----------- ##
1021 ## Core tests. ##
1022 ## ----------- ##
1023
1024 _ACEOF
1025
1026
773   # Keep a trace of the command line.
774   # Strip out --no-create and --no-recursion so they do not pile up.
1029 # Strip out --silent because we don't want to record it for future runs.
775   # Also quote any args containing shell meta-characters.
1031 # Make two passes to allow for proper duplicate-argument suppression.
776   ac_configure_args=
1033 ac_configure_args0=
1034 ac_configure_args1=
777   ac_sep=
778 < ac_must_keep_next=false
1037 < 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)
1052 <      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1053 <      if test $ac_must_keep_next = true; then
1054 <        ac_must_keep_next=false # Got value, back to normal.
1055 <      else
1056 <        case $ac_arg in
1057 <          *=* | --config-cache | -C | -disable-* | --disable-* \
1058 <          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1059 <          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1060 <          | -with-* | --with-* | -without-* | --without-* | --x)
1061 <            case "$ac_configure_args0 " in
1062 <              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1063 <            esac
1064 <            ;;
1065 <          -* ) ac_must_keep_next=true ;;
1066 <        esac
1067 <      fi
1068 <      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1069 <      # Get rid of the leading space.
1070 <      ac_sep=" "
1071 <      ;;
1072 <    esac
1073 <  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
1075 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1076 $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.
1081 # WARNING: Be sure not to use single quotes in there, as some shells,
1082 # 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. ##
1091 < ## ---------------- ##
1092 < _ASBOX
1093 <    echo
1094 <    # 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"
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
1123 <
1124 <    if test -n "$ac_subst_files"; then
1125 <      cat <<\_ASBOX
1126 < ## ------------- ##
1127 < ## Output files. ##
1128 < ## ------------- ##
1129 < _ASBOX
1130 <      echo
1131 <      for ac_var in $ac_subst_files
1132 <      do
1133 <        eval ac_val=$`echo $ac_var`
1134 <        echo "$ac_var='"'"'$ac_val'"'"'"
1135 <      done | sort
1136 <      echo
1137 <    fi
1138 <
1139 <    if test -s confdefs.h; then
1140 <      cat <<\_ASBOX
1141 < ## ----------- ##
1142 < ## confdefs.h. ##
1143 < ## ----------- ##
1144 < _ASBOX
1145 <      echo
1146 <      sed "/^$/d" confdefs.h | sort
1147 <      echo
1148 <    fi
1149 <    test "$ac_signal" != 0 &&
1150 <      echo "$as_me: caught signal $ac_signal"
1151 <    echo "$as_me: exit $exit_status"
1152 <  } >&5
1153 <  rm -f core core.* *.core &&
1154 <  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 1164 | 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  
1167 # Predefined preprocessor variables.
1168
1169 cat >>confdefs.h <<_ACEOF
1170 #define PACKAGE_NAME "$PACKAGE_NAME"
1171 _ACEOF
1172
1173
1174 cat >>confdefs.h <<_ACEOF
1175 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1176 _ACEOF
1177
1178
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1181 _ACEOF
1182
1183
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_STRING "$PACKAGE_STRING"
1186 _ACEOF
1187
1188
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1191 _ACEOF
1192
1193
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 1202 | 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 1213 | 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 1221 | 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
886    eval ac_old_set=\$ac_cv_env_${ac_var}_set
# Line 1237 | Line 889 | for ac_var in `(set) 2>&1 |
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
1259  # Pass precious variables to config.status.
1260  if test "$ac_new_set" = set; then
1261    case $ac_new_val in
1262    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1263      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1264    *) ac_arg=$ac_var=$ac_new_val ;;
1265    esac
1266    case " $ac_configure_args " in
1267      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1268      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1269    esac
1270  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;}
1277 <   { (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 1283 | 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 <
926 <
927 <
928 <
929 <
930 <
931 <
932 <
933 <
934 <
935 <
936 <
937 <
938 <
939 <
940 <
941 <
942 <
943 <
944 <
1306 <
1307 <
1308 <
1309 <
1310 <
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  
946   ac_aux_dir=
947   for ac_dir in ac-tools $srcdir/ac-tools; do
# Line 1326 | 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 1334 | 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  
1337
971   # This file is part of Autoconf.                       -*- Autoconf -*-
972   # Programming languages support.
973   # Copyright 2000, 2001
# Line 1385 | 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  
1388
1021   # Table of Contents:
1022   #
1023   # 1. Language selection
# Line 1421 | Line 1053 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1053   # ACTION-IF-NOT-FOUND.
1054   # _AC_LIST_MEMBER_IF
1055  
1424
1425
1056   # _AC_LINKER_OPTION(LINKER-OPTIONS, SHELL-VARIABLE)
1057   # -------------------------------------------------
1058   #
# Line 1453 | Line 1083 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1083   # FIXME: Get rid of this macro.
1084   # _AC_LINKER_OPTION
1085  
1456
1457
1086   ## ----------------------- ##
1087   ## 1. Language selection.  ##
1088   ## ----------------------- ##
# Line 1466 | Line 1094 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1094   # AC_LANG(Fortran 90)
1095   # -------------------
1096  
1469
1470
1097   # _AC_LANG_ABBREV(Fortran 90)
1098   # ---------------------------
1099  
1474
1475
1100   # ----------------------------- #
1101   # 1c. The Fortran 95 language.  #
1102   # ----------------------------- #
# Line 1480 | Line 1104 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1104   # AC_LANG(Fortran 95)
1105   # -------------------
1106  
1483
1484
1107   # _AC_LANG_ABBREV(Fortran 95)
1108   # ---------------------------
1109  
1488
1489
1110   ## ---------------------- ##
1111   ## 2.Producing programs.  ##
1112   ## ---------------------- ##
# Line 1498 | Line 1118 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1118   # AC_LANG_SOURCE(Fortran 90)(BODY)
1119   # --------------------------------
1120  
1501
1502
1121   # AC_LANG_PROGRAM(Fortran 90)([PROLOGUE], [BODY])
1122   # -----------------------------------------------
1123  
1506
1124   # AC_LANG_CALL(Fortran 90)(PROLOGUE, FUNCTION)
1125   # --------------------------------------------
1126  
1510
1511
1127   # ------------------------ #
1128   # 2c. Fortran 95 sources.  #
1129   # ------------------------ #
# Line 1516 | Line 1131 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1131   # AC_LANG_SOURCE(Fortran 95)(BODY)
1132   # --------------------------------
1133  
1519
1134   # AC_LANG_PROGRAM(Fortran 95)([PROLOGUE], [BODY])
1135   # -----------------------------------------------
1136  
1523
1137   # AC_LANG_CALL(Fortran 95)(PROLOGUE, FUNCTION)
1138   # --------------------------------------------
1139  
1527
1528
1140   ## -------------------------------------------- ##
1141   ## 3. Looking for Compilers and Preprocessors.  ##
1142   ## -------------------------------------------- ##
# Line 1534 | Line 1145 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1145   # 3b. The Fortran 90 compiler.  #
1146   # ----------------------------- #
1147  
1537
1148   # AC_LANG_PREPROC(Fortran 90)
1149   # ---------------------------
1150   # Find the Fortran 90 preprocessor.  Must be AC_DEFUN'd to be AC_REQUIRE'able.
1151  
1542
1543
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  
1549
1550
1157   # AC_PROG_F90([COMPILERS...])
1158   # ---------------------------
1159   # COMPILERS is a space separated list of Fortran 90 compilers to search
# Line 1564 | 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  
1567
1173   # ----------------------------- #
1174   # 3c. The Fortran 95 compiler.  #
1175   # ----------------------------- #
1176  
1572
1177   # AC_LANG_PREPROC(Fortran 95)
1178   # ---------------------------
1179   # Find the Fortran 95 preprocessor.  Must be AC_DEFUN'd to be AC_REQUIRE'able.
1180  
1577
1578
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  
1584
1585
1186   # AC_PROG_F95([COMPILERS...])
1187   # ---------------------------
1188   # COMPILERS is a space separated list of Fortran 95 compilers to search
# Line 1596 | 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  
1599
1199   ## ------------------------------- ##
1200   ## 4. Compilers' characteristics.  ##
1201   ## ------------------------------- ##
1202  
1604
1203   # ---------------------------------------- #
1204   # 4b. Fortan 90 compiler characteristics.  #
1205   # ---------------------------------------- #
1206  
1609
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 1617 | Line 1214 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1214   # space-separated items.
1215   # _AC_PROG_F90_V_OUTPUT
1216  
1620
1217   # _AC_PROG_F90_V
1218   # --------------
1219   #
# Line 1627 | 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  
1630
1226   # AC_F90_LIBRARY_LDFLAGS
1227   # ----------------------
1228   #
# Line 1655 | 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  
1658
1253   # _AC_F90_NAME_MANGLING
1254   # ---------------------
1255   # Test for the name mangling scheme used by the Fortran 90 compiler.
# Line 1675 | Line 1269 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1269  
1270   # The replacement is empty.
1271  
1678
1679
1272   # AC_F90_WRAPPERS
1273   # ---------------
1274   # Defines C macros F90_FUNC(name,NAME) and F90_FUNC_(name,NAME) to
# Line 1685 | Line 1277 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1277   # scheme used by the Fortran 90 compiler.
1278   # AC_F90_WRAPPERS
1279  
1688
1280   # AC_F90_FUNC(NAME, [SHELLVAR = NAME])
1281   # ------------------------------------
1282   # For a Fortran subroutine of given NAME, define a shell variable
# Line 1693 | 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  
1696
1287   # ---------------------------------------- #
1288   # 4c. Fortan 95 compiler characteristics.  #
1289   # ---------------------------------------- #
1290  
1701
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 1709 | Line 1298 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1298   # space-separated items.
1299   # _AC_PROG_F95_V_OUTPUT
1300  
1712
1301   # _AC_PROG_F95_V
1302   # --------------
1303   #
# Line 1719 | 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  
1722
1310   # AC_F95_LIBRARY_LDFLAGS
1311   # ----------------------
1312   #
# Line 1747 | 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  
1750
1337   # _AC_F95_NAME_MANGLING
1338   # ---------------------
1339   # Test for the name mangling scheme used by the Fortran 95 compiler.
# Line 1766 | Line 1352 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1352   # _AC_F95_NAME_MANGLING
1353  
1354   # The replacement is empty.
1769
1770
1355  
1356   # AC_F95_WRAPPERS
1357   # ---------------
# Line 1777 | Line 1361 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1361   # scheme used by the Fortran 95 compiler.
1362   # AC_F95_WRAPPERS
1363  
1780
1364   # AC_F95_FUNC(NAME, [SHELLVAR = NAME])
1365   # ------------------------------------
1366   # For a Fortran subroutine of given NAME, define a shell variable
# Line 1792 | Line 1375 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1375   #
1376   # AC_F90_MODULE_NAMES
1377  
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1378   # set program name
1379   PROGNAME="oopse"
1380  
1856
1381   # there are two ways to do debugging.  One with the --enable-debug flag
1382   # and one using the DEBUG environment variable
1383  
# Line 1865 | 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  
1875
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 1889 | 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 <
1909 < 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 1915 | 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  
1930
1931
1932
1933
1452   ac_ext=c
1453   ac_cpp='$CPP $CPPFLAGS'
1454   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 1941 | 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 1949 | 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
1961 <    break 2
1962 <  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
1964 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 1983 | 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 1991 | 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
2003 <    break 2
2004 <  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
2006 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 2022 | 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
2027 < See \`config.log' for more details." >&5
2028 < echo "$as_me: error: no acceptable C compiler found in \$PATH
2029 < 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  
2032 # Provide some information about the compiler.
2033 echo "$as_me:$LINENO:" \
2034     "checking for C compiler version" >&5
2035 ac_compiler=`set X $ac_compile; echo $2`
2036 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2037  (eval $ac_compiler --version </dev/null >&5) 2>&5
2038  ac_status=$?
2039  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2040  (exit $ac_status); }
2041 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2042  (eval $ac_compiler -v </dev/null >&5) 2>&5
2043  ac_status=$?
2044  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2045  (exit $ac_status); }
2046 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2047  (eval $ac_compiler -V </dev/null >&5) 2>&5
2048  ac_status=$?
2049  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2050  (exit $ac_status); }
2051
1541   cat >conftest.$ac_ext <<_ACEOF
1542 < #line $LINENO "configure"
1543 < /* confdefs.h.  */
2055 < _ACEOF
2056 < cat confdefs.h >>conftest.$ac_ext
2057 < cat >>conftest.$ac_ext <<_ACEOF
2058 < /* end confdefs.h.  */
1542 > #line 1542 "configure"
1543 > #include "confdefs.h"
1544  
1545   int
1546   main ()
# Line 2066 | 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" >&5
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
2082 < # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2083 < # resort.
2084 <
2085 < # Be careful to initialize this variable, since it used to be cached.
2086 < # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2087 < ac_cv_exeext=
2088 < # b.out is created by i960 compilers.
2089 < for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2090 < do
2091 <  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.
2101 <        break;;
2102 <    *.* )
2103 <        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2104 <        # FIXME: I believe we export ac_cv_exeext for Libtool,
2105 <        # but it would be cool to find out if it's true.  Does anybody
2106 <        # maintain Libtool? --akim.
2107 <        export ac_cv_exeext
2108 <        break;;
2109 <    * )
2110 <        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
2118 < See \`config.log' for more details." >&5
2119 < echo "$as_me: error: C compiler cannot create executables
2120 < 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'.
2148 < 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'.
2151 < 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
2180 <  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;;
# Line 2187 | Line 1646 | else
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
2192 < echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2193 < 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 < #line $LINENO "configure"
1668 < /* confdefs.h.  */
2212 < _ACEOF
2213 < cat confdefs.h >>conftest.$ac_ext
2214 < cat >>conftest.$ac_ext <<_ACEOF
2215 < /* end confdefs.h.  */
1667 > #line 1667 "configure"
1668 > #include "confdefs.h"
1669  
1670   int
1671   main ()
# Line 2223 | 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
2243 < See \`config.log' for more details." >&5
2244 < echo "$as_me: error: cannot compute suffix of object files: cannot compile
2245 < 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 < #line $LINENO "configure"
1712 < /* confdefs.h.  */
2263 < _ACEOF
2264 < cat confdefs.h >>conftest.$ac_ext
2265 < cat >>conftest.$ac_ext <<_ACEOF
2266 < /* end confdefs.h.  */
1711 > #line 1711 "configure"
1712 > #include "confdefs.h"
1713  
1714   int
1715   main ()
# Line 2277 | 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
1726 > if { (eval echo "$as_me:1726: \"$ac_compile\"") >&5
1727    (eval $ac_compile) 2>&5
1728    ac_status=$?
1729 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1729 >  echo "$as_me:1729: \$? = $ac_status" >&5
1730    (exit $ac_status); } &&
1731           { ac_try='test -s conftest.$ac_objext'
1732 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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
2295 <
1740 > cat conftest.$ac_ext >&5
1741   ac_compiler_gnu=no
1742   fi
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 < #line $LINENO "configure"
1760 < /* confdefs.h.  */
2316 < _ACEOF
2317 < cat confdefs.h >>conftest.$ac_ext
2318 < cat >>conftest.$ac_ext <<_ACEOF
2319 < /* end confdefs.h.  */
1759 > #line 1759 "configure"
1760 > #include "confdefs.h"
1761  
1762   int
1763   main ()
# Line 2327 | 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
1771 > if { (eval echo "$as_me:1771: \"$ac_compile\"") >&5
1772    (eval $ac_compile) 2>&5
1773    ac_status=$?
1774 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1774 >  echo "$as_me:1774: \$? = $ac_status" >&5
1775    (exit $ac_status); } &&
1776           { ac_try='test -s conftest.$ac_objext'
1777 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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
2345 <
1785 > cat conftest.$ac_ext >&5
1786   ac_cv_prog_cc_g=no
1787   fi
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 2363 | Line 1803 | fi
1803    else
1804      CFLAGS=
1805    fi
2366 fi
2367 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2368 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2369 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2370  echo $ECHO_N "(cached) $ECHO_C" >&6
2371 else
2372  ac_cv_prog_cc_stdc=no
2373 ac_save_CC=$CC
2374 cat >conftest.$ac_ext <<_ACEOF
2375 #line $LINENO "configure"
2376 /* confdefs.h.  */
2377 _ACEOF
2378 cat confdefs.h >>conftest.$ac_ext
2379 cat >>conftest.$ac_ext <<_ACEOF
2380 /* end confdefs.h.  */
2381 #include <stdarg.h>
2382 #include <stdio.h>
2383 #include <sys/types.h>
2384 #include <sys/stat.h>
2385 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2386 struct buf { int x; };
2387 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2388 static char *e (p, i)
2389     char **p;
2390     int i;
2391 {
2392  return p[i];
2393 }
2394 static char *f (char * (*g) (char **, int), char **p, ...)
2395 {
2396  char *s;
2397  va_list v;
2398  va_start (v,p);
2399  s = g (p, va_arg (v,int));
2400  va_end (v);
2401  return s;
2402 }
2403 int test (int i, double x);
2404 struct s1 {int (*f) (int a);};
2405 struct s2 {int (*f) (double a);};
2406 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2407 int argc;
2408 char **argv;
2409 int
2410 main ()
2411 {
2412 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2413  ;
2414  return 0;
2415 }
2416 _ACEOF
2417 # Don't try gcc -ansi; that turns off useful extensions and
2418 # breaks some systems' header files.
2419 # AIX                   -qlanglvl=ansi
2420 # Ultrix and OSF/1      -std1
2421 # HP-UX 10.20 and later -Ae
2422 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2423 # SVR4                  -Xc -D__EXTENSIONS__
2424 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2425 do
2426  CC="$ac_save_CC $ac_arg"
2427  rm -f conftest.$ac_objext
2428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2429  (eval $ac_compile) 2>&5
2430  ac_status=$?
2431  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432  (exit $ac_status); } &&
2433         { ac_try='test -s conftest.$ac_objext'
2434  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2435  (eval $ac_try) 2>&5
2436  ac_status=$?
2437  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438  (exit $ac_status); }; }; then
2439  ac_cv_prog_cc_stdc=$ac_arg
2440 break
2441 else
2442  echo "$as_me: failed program was:" >&5
2443 sed 's/^/| /' conftest.$ac_ext >&5
2444
1806   fi
2446 rm -f conftest.$ac_objext
2447 done
2448 rm -f conftest.$ac_ext conftest.$ac_objext
2449 CC=$ac_save_CC
2450
2451 fi
2452
2453 case "x$ac_cv_prog_cc_stdc" in
2454  x|xno)
2455    echo "$as_me:$LINENO: result: none needed" >&5
2456 echo "${ECHO_T}none needed" >&6 ;;
2457  *)
2458    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2459 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2460    CC="$CC $ac_cv_prog_cc_stdc" ;;
2461 esac
2462
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 2470 | 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
1817 > if { (eval echo "$as_me:1817: \"$ac_compile\"") >&5
1818    (eval $ac_compile) 2>&5
1819    ac_status=$?
1820 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1820 >  echo "$as_me:1820: \$? = $ac_status" >&5
1821    (exit $ac_status); } &&
1822           { ac_try='test -s conftest.$ac_objext'
1823 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
1826 >  echo "$as_me:1826: \$? = $ac_status" >&5
1827    (exit $ac_status); }; }; then
1828    for ac_declaration in \
1829     ''\
# Line 2491 | Line 1835 | do
1835     'void exit (int);'
1836   do
1837    cat >conftest.$ac_ext <<_ACEOF
1838 < #line $LINENO "configure"
1839 < /* confdefs.h.  */
2496 < _ACEOF
2497 < cat confdefs.h >>conftest.$ac_ext
2498 < cat >>conftest.$ac_ext <<_ACEOF
2499 < /* end confdefs.h.  */
1838 > #line 1838 "configure"
1839 > #include "confdefs.h"
1840   #include <stdlib.h>
1841   $ac_declaration
1842   int
# Line 2508 | 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
1851 > if { (eval echo "$as_me:1851: \"$ac_compile\"") >&5
1852    (eval $ac_compile) 2>&5
1853    ac_status=$?
1854 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1854 >  echo "$as_me:1854: \$? = $ac_status" >&5
1855    (exit $ac_status); } &&
1856           { ac_try='test -s conftest.$ac_objext'
1857 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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
2526 <
1865 > cat conftest.$ac_ext >&5
1866   continue
1867   fi
1868   rm -f conftest.$ac_objext conftest.$ac_ext
1869    cat >conftest.$ac_ext <<_ACEOF
1870 < #line $LINENO "configure"
1871 < /* confdefs.h.  */
2533 < _ACEOF
2534 < cat confdefs.h >>conftest.$ac_ext
2535 < cat >>conftest.$ac_ext <<_ACEOF
2536 < /* end confdefs.h.  */
1870 > #line 1870 "configure"
1871 > #include "confdefs.h"
1872   $ac_declaration
1873   int
1874   main ()
# Line 2544 | 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
1882 > if { (eval echo "$as_me:1882: \"$ac_compile\"") >&5
1883    (eval $ac_compile) 2>&5
1884    ac_status=$?
1885 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1885 >  echo "$as_me:1885: \$? = $ac_status" >&5
1886    (exit $ac_status); } &&
1887           { ac_try='test -s conftest.$ac_objext'
1888 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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
2562 <
1896 > cat conftest.$ac_ext >&5
1897   fi
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
2569 <  echo $ac_declaration      >>confdefs.h
2570 <  echo '#endif'             >>confdefs.h
2571 < 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
2576 <
1906 > cat conftest.$ac_ext >&5
1907   fi
1908   rm -f conftest.$ac_objext conftest.$ac_ext
1909   ac_ext=c
# Line 2582 | Line 1912 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
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  
2585
1915   ac_ext=cc
1916   ac_cpp='$CXXCPP $CPPFLAGS'
1917   ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 2593 | 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 2601 | 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
2613 <    break 2
2614 <  fi
2615 < 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 2635 | 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 2643 | 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
2655 <    break 2
2656 <  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
2658 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 2675 | Line 1998 | fi
1998    CXX=$ac_ct_CXX
1999   fi
2000  
2001 <
2679 < # Provide some information about the compiler.
2680 < echo "$as_me:$LINENO:" \
2681 <     "checking for C++ compiler version" >&5
2682 < ac_compiler=`set X $ac_compile; echo $2`
2683 < { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2684 <  (eval $ac_compiler --version </dev/null >&5) 2>&5
2685 <  ac_status=$?
2686 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687 <  (exit $ac_status); }
2688 < { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2689 <  (eval $ac_compiler -v </dev/null >&5) 2>&5
2690 <  ac_status=$?
2691 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 <  (exit $ac_status); }
2693 < { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2694 <  (eval $ac_compiler -V </dev/null >&5) 2>&5
2695 <  ac_status=$?
2696 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 <  (exit $ac_status); }
2698 <
2699 < 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 < #line $LINENO "configure"
2008 < /* confdefs.h.  */
2707 < _ACEOF
2708 < cat confdefs.h >>conftest.$ac_ext
2709 < cat >>conftest.$ac_ext <<_ACEOF
2710 < /* end confdefs.h.  */
2007 > #line 2007 "configure"
2008 > #include "confdefs.h"
2009  
2010   int
2011   main ()
# Line 2721 | 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
2022 > if { (eval echo "$as_me:2022: \"$ac_compile\"") >&5
2023    (eval $ac_compile) 2>&5
2024    ac_status=$?
2025 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2025 >  echo "$as_me:2025: \$? = $ac_status" >&5
2026    (exit $ac_status); } &&
2027           { ac_try='test -s conftest.$ac_objext'
2028 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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
2739 <
2036 > cat conftest.$ac_ext >&5
2037   ac_compiler_gnu=no
2038   fi
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 < #line $LINENO "configure"
2056 < /* confdefs.h.  */
2760 < _ACEOF
2761 < cat confdefs.h >>conftest.$ac_ext
2762 < cat >>conftest.$ac_ext <<_ACEOF
2763 < /* end confdefs.h.  */
2055 > #line 2055 "configure"
2056 > #include "confdefs.h"
2057  
2058   int
2059   main ()
# Line 2771 | 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
2067 > if { (eval echo "$as_me:2067: \"$ac_compile\"") >&5
2068    (eval $ac_compile) 2>&5
2069    ac_status=$?
2070 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2070 >  echo "$as_me:2070: \$? = $ac_status" >&5
2071    (exit $ac_status); } &&
2072           { ac_try='test -s conftest.$ac_objext'
2073 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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
2789 <
2081 > cat conftest.$ac_ext >&5
2082   ac_cv_prog_cxx_g=no
2083   fi
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 2818 | Line 2110 | do
2110     'void exit (int);'
2111   do
2112    cat >conftest.$ac_ext <<_ACEOF
2113 < #line $LINENO "configure"
2114 < /* confdefs.h.  */
2823 < _ACEOF
2824 < cat confdefs.h >>conftest.$ac_ext
2825 < cat >>conftest.$ac_ext <<_ACEOF
2826 < /* end confdefs.h.  */
2113 > #line 2113 "configure"
2114 > #include "confdefs.h"
2115   #include <stdlib.h>
2116   $ac_declaration
2117   int
# Line 2835 | 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
2126 > if { (eval echo "$as_me:2126: \"$ac_compile\"") >&5
2127    (eval $ac_compile) 2>&5
2128    ac_status=$?
2129 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2129 >  echo "$as_me:2129: \$? = $ac_status" >&5
2130    (exit $ac_status); } &&
2131           { ac_try='test -s conftest.$ac_objext'
2132 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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
2853 <
2140 > cat conftest.$ac_ext >&5
2141   continue
2142   fi
2143   rm -f conftest.$ac_objext conftest.$ac_ext
2144    cat >conftest.$ac_ext <<_ACEOF
2145 < #line $LINENO "configure"
2146 < /* confdefs.h.  */
2860 < _ACEOF
2861 < cat confdefs.h >>conftest.$ac_ext
2862 < cat >>conftest.$ac_ext <<_ACEOF
2863 < /* end confdefs.h.  */
2145 > #line 2145 "configure"
2146 > #include "confdefs.h"
2147   $ac_declaration
2148   int
2149   main ()
# Line 2871 | 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
2157 > if { (eval echo "$as_me:2157: \"$ac_compile\"") >&5
2158    (eval $ac_compile) 2>&5
2159    ac_status=$?
2160 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 >  echo "$as_me:2160: \$? = $ac_status" >&5
2161    (exit $ac_status); } &&
2162           { ac_try='test -s conftest.$ac_objext'
2163 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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
2889 <
2171 > cat conftest.$ac_ext >&5
2172   fi
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
2896 <  echo $ac_declaration      >>confdefs.h
2897 <  echo '#endif'             >>confdefs.h
2898 < 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 2903 | 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  
2906
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  
2952
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  
2960
2961
2962
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 2969 | 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 2977 | 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
2989 <    break 2
2990 <  fi
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
2992 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 3011 | 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 3019 | 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
3031 <    break 2
3032 <  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
3034 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 3050 | Line 2318 | fi
2318    F90=$ac_ct_F90
2319   fi
2320  
3053
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 3072 | 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
2342 > if { (eval echo "$as_me:2342: \"$ac_compile\"") >&5
2343    (eval $ac_compile) 2>&5
2344    ac_status=$?
2345 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345 >  echo "$as_me:2345: \$? = $ac_status" >&5
2346    (exit $ac_status); } &&
2347           { ac_try='test -s conftest.$ac_objext'
2348 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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
3090 <
2356 > cat conftest.$ac_ext >&5
2357   ac_compiler_gnu=no
2358   fi
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 3104 | 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  
3107
3108
3109
3110
2373   # Try to determine native compiler flags that allow us to use F90 suffix
2374   # for preprocessed f90 source.
2375  
# Line 3128 | 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  
3139
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 3152 | Line 2413 | fi
2413  
2414      cat >conftest.$ac_ext <<_ACEOF
2415  
3155
2416   program main
2417  
2418    integer :: i
2419    i = 1
2420  
3161
2421   end program main
2422  
2423   _ACEOF
2424   rm -f conftest.$ac_objext
2425 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2425 > if { (eval echo "$as_me:2425: \"$ac_compile\"") >&5
2426    (eval $ac_compile) 2>&5
2427    ac_status=$?
2428 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2428 >  echo "$as_me:2428: \$? = $ac_status" >&5
2429    (exit $ac_status); } &&
2430           { ac_try='test -s conftest.$ac_objext'
2431 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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
3181 <
2439 > cat conftest.$ac_ext >&5
2440   prepflagworks=0
2441   fi
2442   rm -f conftest.$ac_objext conftest.$ac_ext
# Line 3191 | 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  
3194
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  
3208
3209
3210
3211
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 3229 | 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  
3240
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 3253 | Line 2505 | fi
2505  
2506      cat >conftest.$ac_ext <<_ACEOF
2507  
3256
2508   program main
2509  
2510    integer :: i
# Line 3263 | Line 2514 | program main
2514    choke me
2515   #endif
2516  
3266
2517   end program main
2518  
2519   _ACEOF
2520   rm -f conftest.$ac_objext
2521 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2521 > if { (eval echo "$as_me:2521: \"$ac_compile\"") >&5
2522    (eval $ac_compile) 2>&5
2523    ac_status=$?
2524 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524 >  echo "$as_me:2524: \$? = $ac_status" >&5
2525    (exit $ac_status); } &&
2526           { ac_try='test -s conftest.$ac_objext'
2527 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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
3286 <
2535 > cat conftest.$ac_ext >&5
2536   prepdefflagworks=0
2537   fi
2538   rm -f conftest.$ac_objext conftest.$ac_ext
# Line 3296 | 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  
3299
3300
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 3316 | 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  
3319
3320
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 3332 | Line 2577 | program main
2577  
2578   program main
2579  
3335
2580   end program main
2581  
2582   _ACEOF
2583   rm -f conftest.$ac_objext
2584 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2584 > if { (eval echo "$as_me:2584: \"$ac_compile\"") >&5
2585    (eval $ac_compile) 2>&5
2586    ac_status=$?
2587 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 >  echo "$as_me:2587: \$? = $ac_status" >&5
2588    (exit $ac_status); } &&
2589           { ac_try='test -s conftest.$ac_objext'
2590 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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 3360 | Line 2604 | program main
2604  
2605   program main
2606  
3363
2607   end program main
2608  
2609   _ACEOF
# Line 3372 | Line 2615 | F90FLAGS="$F90FLAGS $ac_verb"
2615   ac_save_F90FLAGS=$F90FLAGS
2616   F90FLAGS="$F90FLAGS $ac_verb"
2617  
2618 < (eval echo $as_me:3375: \"$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 3404 | 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 <
3414 < { 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.$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 3437 | Line 2679 | program main
2679  
2680   program main
2681  
3440
2682   end program main
2683  
2684   _ACEOF
# Line 3449 | 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:3452: \"$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 3602 | 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 3611 | 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 <
3615 < 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 3630 | 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
2873 > if { (eval echo "$as_me:2873: \"$ac_compile\"") >&5
2874    (eval $ac_compile) 2>&5
2875    ac_status=$?
2876 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 >  echo "$as_me:2876: \$? = $ac_status" >&5
2877    (exit $ac_status); } &&
2878           { ac_try='test -s conftest.$ac_objext'
2879 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
2882 >  echo "$as_me:2882: \$? = $ac_status" >&5
2883    (exit $ac_status); }; }; then
2884    mv conftest.$ac_objext cf90_test.$ac_objext
2885  
# Line 3657 | 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 < #line $LINENO "configure"
2901 < /* confdefs.h.  */
3662 < _ACEOF
3663 < cat confdefs.h >>conftest.$ac_ext
3664 < cat >>conftest.$ac_ext <<_ACEOF
3665 < /* 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 3680 | 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
2919 > if { (eval echo "$as_me:2919: \"$ac_link\"") >&5
2920    (eval $ac_link) 2>&5
2921    ac_status=$?
2922 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 >  echo "$as_me:2922: \$? = $ac_status" >&5
2923    (exit $ac_status); } &&
2924           { ac_try='test -s conftest$ac_exeext'
2925 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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
3698 <
2933 > cat conftest.$ac_ext >&5
2934   fi
2935   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2936      done
# Line 3718 | Line 2953 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
2953          ac_func="$ac_foo_bar$ac_underscore$ac_extra"
2954  
2955          cat >conftest.$ac_ext <<_ACEOF
2956 < #line $LINENO "configure"
2957 < /* confdefs.h.  */
3723 < _ACEOF
3724 < cat confdefs.h >>conftest.$ac_ext
3725 < cat >>conftest.$ac_ext <<_ACEOF
3726 < /* 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 3741 | 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
2975 > if { (eval echo "$as_me:2975: \"$ac_link\"") >&5
2976    (eval $ac_link) 2>&5
2977    ac_status=$?
2978 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 >  echo "$as_me:2978: \$? = $ac_status" >&5
2979    (exit $ac_status); } &&
2980           { ac_try='test -s conftest$ac_exeext'
2981 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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
3759 <
2989 > cat conftest.$ac_ext >&5
2990   fi
2991   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2992       done
# Line 3790 | 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
3794 <
3023 > cat conftest.$ac_ext >&5
3024   fi
3025   rm -f conftest.$ac_objext conftest.$ac_ext
3026   ac_ext=f90
# Line 3800 | Line 3029 | echo "$as_me:$LINENO: result: $ac_cv_f90_mangling" >&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  
3806
3807
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 <
3888 <
3889 <
3890 <
3891 < 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 3915 | 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  
3935
3936
3937
3938
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 3976 | 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 3994 | 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 4007 | 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  
4014
3233     rm -f conftest* conf/conftest* conf/CONFTEST* CONFTEST* conf/mpimod*
3234     if test $madedir = 1 ; then rmdir conf ; fi
3235   fi
3236  
3237 <
4020 < 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 4035 | 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
3255 > if { (eval echo "$as_me:3255: \"$ac_compile\"") >&5
3256    (eval $ac_compile) 2>&5
3257    ac_status=$?
3258 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258 >  echo "$as_me:3258: \$? = $ac_status" >&5
3259    (exit $ac_status); } &&
3260           { ac_try='test -s conftest.$ac_objext'
3261 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
3264 >  echo "$as_me:3264: \$? = $ac_status" >&5
3265    (exit $ac_status); }; }; then
3266    ac_cv_f90_module_names=
3267   ac_file_list=*
# Line 4127 | 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
4143 <
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.$ac_objext conftest.$ac_ext
# Line 4155 | 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 4240 | 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  
4243
3459   ac_ext=c
3460   ac_cpp='$CPP $CPPFLAGS'
3461   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 4252 | 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 4265 | 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.
4273  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4274  # <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 < #line $LINENO "configure"
3493 < /* confdefs.h.  */
3494 < _ACEOF
4281 < cat confdefs.h >>conftest.$ac_ext
4282 < cat >>conftest.$ac_ext <<_ACEOF
4283 < /* end confdefs.h.  */
4284 < #ifdef __STDC__
4285 < # include <limits.h>
4286 < #else
4287 < # include <assert.h>
4288 < #endif
3492 > #line 3492 "configure"
3493 > #include "confdefs.h"
3494 > #include <assert.h>
3495                       Syntax error
3496   _ACEOF
3497 < 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
# Line 4308 | 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
4312 <
3517 >  cat conftest.$ac_ext >&5
3518    # Broken: fails on valid input.
3519   continue
3520   fi
# Line 4318 | 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 < #line $LINENO "configure"
3527 < /* confdefs.h.  */
4323 < _ACEOF
4324 < cat confdefs.h >>conftest.$ac_ext
4325 < cat >>conftest.$ac_ext <<_ACEOF
4326 < /* 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
# Line 4347 | 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
4351 <
3551 >  cat conftest.$ac_ext >&5
3552    # Passes both tests.
3553   ac_preproc_ok=:
3554   break
# Line 4359 | 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 4370 | 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.
4380  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4381  # <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 < #line $LINENO "configure"
3584 < /* confdefs.h.  */
3585 < _ACEOF
4388 < cat confdefs.h >>conftest.$ac_ext
4389 < cat >>conftest.$ac_ext <<_ACEOF
4390 < /* end confdefs.h.  */
4391 < #ifdef __STDC__
4392 < # include <limits.h>
4393 < #else
4394 < # include <assert.h>
4395 < #endif
3583 > #line 3583 "configure"
3584 > #include "confdefs.h"
3585 > #include <assert.h>
3586                       Syntax error
3587   _ACEOF
3588 < 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
# Line 4415 | 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
4419 <
3608 >  cat conftest.$ac_ext >&5
3609    # Broken: fails on valid input.
3610   continue
3611   fi
# Line 4425 | 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 < #line $LINENO "configure"
3618 < /* confdefs.h.  */
4430 < _ACEOF
4431 < cat confdefs.h >>conftest.$ac_ext
4432 < cat >>conftest.$ac_ext <<_ACEOF
4433 < /* 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
# Line 4454 | 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
4458 <
3642 >  cat conftest.$ac_ext >&5
3643    # Passes both tests.
3644   ac_preproc_ok=:
3645   break
# Line 4468 | 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
4473 < echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4474 < 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 4481 | 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 <
3667 < echo "$as_me:$LINENO: checking for egrep" >&5
3668 < echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3669 < if test "${ac_cv_prog_egrep+set}" = set; then
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 > 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 \"\${$ac_ac_Header+set}\" = set"; then
3672    echo $ECHO_N "(cached) $ECHO_C" >&6
3673   else
3674 <  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3675 <    then ac_cv_prog_egrep='grep -E'
3676 <    else ac_cv_prog_egrep='egrep'
3677 <    fi
3678 < fi
3679 < echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3680 < echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3681 < EGREP=$ac_cv_prog_egrep
3674 >  cat >conftest.$ac_ext <<_ACEOF
3675 > #line 3675 "configure"
3676 > #include "confdefs.h"
3677 > #include <$ac_header>
3678 > _ACEOF
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 >  egrep -v '^ *\+' conftest.er1 >conftest.err
3683 >  rm -f conftest.er1
3684 >  cat conftest.err >&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
3689 >  else
3690 >    ac_cpp_err=
3691 >  fi
3692 > else
3693 >  ac_cpp_err=yes
3694 > fi
3695 > if test -z "$ac_cpp_err"; then
3696 >  eval "$ac_ac_Header=yes"
3697 > else
3698 >  echo "$as_me: failed program was:" >&5
3699 >  cat conftest.$ac_ext >&5
3700 >  eval "$ac_ac_Header=no"
3701 > fi
3702 > rm -f conftest.err conftest.$ac_ext
3703 > fi
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
3712 + done
3713  
3714 < echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3715 < echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3716 < if test "${ac_cv_header_stdc+set}" = set; then
3714 > for ac_func in pstat_getstatic sysmp getsysinfo sysctl table
3715 > do
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 \"\${$ac_ac_var+set}\" = set"; then
3720    echo $ECHO_N "(cached) $ECHO_C" >&6
3721   else
3722    cat >conftest.$ac_ext <<_ACEOF
3723 < #line $LINENO "configure"
3724 < /* confdefs.h.  */
3725 < _ACEOF
3726 < cat confdefs.h >>conftest.$ac_ext
3727 < cat >>conftest.$ac_ext <<_ACEOF
3728 < /* end confdefs.h.  */
3729 < #include <stdlib.h>
3730 < #include <stdarg.h>
3731 < #include <string.h>
3732 < #include <float.h>
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 > #include <assert.h>
3728 > /* Override any gcc2 internal prototype to avoid an error.  */
3729 > #ifdef __cplusplus
3730 > extern "C"
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 + f = $ac_func;
3747 + #endif
3748  
3749    ;
3750    return 0;
3751   }
3752   _ACEOF
3753 < rm -f conftest.$ac_objext
3754 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3755 <  (eval $ac_compile) 2>&5
3753 > rm -f conftest.$ac_objext conftest$ac_exeext
3754 > if { (eval echo "$as_me:3754: \"$ac_link\"") >&5
3755 >  (eval $ac_link) 2>&5
3756    ac_status=$?
3757 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757 >  echo "$as_me:3757: \$? = $ac_status" >&5
3758    (exit $ac_status); } &&
3759 <         { ac_try='test -s conftest.$ac_objext'
3760 <  { (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
3763 >  echo "$as_me:3763: \$? = $ac_status" >&5
3764    (exit $ac_status); }; }; then
3765 <  ac_cv_header_stdc=yes
3765 >  eval "$ac_ac_var=yes"
3766   else
3767    echo "$as_me: failed program was:" >&5
3768 < sed 's/^/| /' conftest.$ac_ext >&5
3768 > cat conftest.$ac_ext >&5
3769 > eval "$ac_ac_var=no"
3770 > fi
3771 > rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3772 > fi
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  
4542 ac_cv_header_stdc=no
3780   fi
3781 < rm -f conftest.$ac_objext conftest.$ac_ext
3781 > done
3782  
4546 if test $ac_cv_header_stdc = yes; then
4547  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4548  cat >conftest.$ac_ext <<_ACEOF
4549 #line $LINENO "configure"
4550 /* confdefs.h.  */
4551 _ACEOF
4552 cat confdefs.h >>conftest.$ac_ext
4553 cat >>conftest.$ac_ext <<_ACEOF
4554 /* end confdefs.h.  */
4555 #include <string.h>
4556
4557 _ACEOF
4558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4559  $EGREP "memchr" >/dev/null 2>&1; then
4560  :
4561 else
4562  ac_cv_header_stdc=no
4563 fi
4564 rm -f conftest*
4565
4566 fi
4567
4568 if test $ac_cv_header_stdc = yes; then
4569  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4570  cat >conftest.$ac_ext <<_ACEOF
4571 #line $LINENO "configure"
4572 /* confdefs.h.  */
4573 _ACEOF
4574 cat confdefs.h >>conftest.$ac_ext
4575 cat >>conftest.$ac_ext <<_ACEOF
4576 /* end confdefs.h.  */
4577 #include <stdlib.h>
4578
4579 _ACEOF
4580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4581  $EGREP "free" >/dev/null 2>&1; then
4582  :
4583 else
4584  ac_cv_header_stdc=no
4585 fi
4586 rm -f conftest*
4587
4588 fi
4589
4590 if test $ac_cv_header_stdc = yes; then
4591  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4592  if test "$cross_compiling" = yes; then
4593  :
4594 else
4595  cat >conftest.$ac_ext <<_ACEOF
4596 #line $LINENO "configure"
4597 /* confdefs.h.  */
4598 _ACEOF
4599 cat confdefs.h >>conftest.$ac_ext
4600 cat >>conftest.$ac_ext <<_ACEOF
4601 /* end confdefs.h.  */
4602 #include <ctype.h>
4603 #if ((' ' & 0x0FF) == 0x020)
4604 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4605 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4606 #else
4607 # define ISLOWER(c) \
4608                   (('a' <= (c) && (c) <= 'i') \
4609                     || ('j' <= (c) && (c) <= 'r') \
4610                     || ('s' <= (c) && (c) <= 'z'))
4611 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4612 #endif
4613
4614 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4615 int
4616 main ()
4617 {
4618  int i;
4619  for (i = 0; i < 256; i++)
4620    if (XOR (islower (i), ISLOWER (i))
4621        || toupper (i) != TOUPPER (i))
4622      exit(2);
4623  exit (0);
4624 }
4625 _ACEOF
4626 rm -f conftest$ac_exeext
4627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4628  (eval $ac_link) 2>&5
4629  ac_status=$?
4630  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4632  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4633  (eval $ac_try) 2>&5
4634  ac_status=$?
4635  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4636  (exit $ac_status); }; }; then
4637  :
4638 else
4639  echo "$as_me: program exited with status $ac_status" >&5
4640 echo "$as_me: failed program was:" >&5
4641 sed 's/^/| /' conftest.$ac_ext >&5
4642
4643 ( exit $ac_status )
4644 ac_cv_header_stdc=no
4645 fi
4646 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4647 fi
4648 fi
4649 fi
4650 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4651 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4652 if test $ac_cv_header_stdc = yes; then
4653
4654 cat >>confdefs.h <<\_ACEOF
4655 #define STDC_HEADERS 1
4656 _ACEOF
4657
4658 fi
4659
4660 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4671                  inttypes.h stdint.h unistd.h
4672 do
4673 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4674 echo "$as_me:$LINENO: checking for $ac_header" >&5
4675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4677  echo $ECHO_N "(cached) $ECHO_C" >&6
4678 else
4679  cat >conftest.$ac_ext <<_ACEOF
4680 #line $LINENO "configure"
4681 /* confdefs.h.  */
4682 _ACEOF
4683 cat confdefs.h >>conftest.$ac_ext
4684 cat >>conftest.$ac_ext <<_ACEOF
4685 /* end confdefs.h.  */
4686 $ac_includes_default
4687
4688 #include <$ac_header>
4689 _ACEOF
4690 rm -f conftest.$ac_objext
4691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4692  (eval $ac_compile) 2>&5
4693  ac_status=$?
4694  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4695  (exit $ac_status); } &&
4696         { ac_try='test -s conftest.$ac_objext'
4697  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4698  (eval $ac_try) 2>&5
4699  ac_status=$?
4700  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701  (exit $ac_status); }; }; then
4702  eval "$as_ac_Header=yes"
4703 else
4704  echo "$as_me: failed program was:" >&5
4705 sed 's/^/| /' conftest.$ac_ext >&5
4706
4707 eval "$as_ac_Header=no"
4708 fi
4709 rm -f conftest.$ac_objext conftest.$ac_ext
4710 fi
4711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4712 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4713 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4714  cat >>confdefs.h <<_ACEOF
4715 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4716 _ACEOF
4717
4718 fi
4719
4720 done
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732 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
4733 do
4734 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4736  echo "$as_me:$LINENO: checking for $ac_header" >&5
4737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4739  echo $ECHO_N "(cached) $ECHO_C" >&6
4740 fi
4741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4742 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4743 else
4744  # Is the header compilable?
4745 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4746 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4747 cat >conftest.$ac_ext <<_ACEOF
4748 #line $LINENO "configure"
4749 /* confdefs.h.  */
4750 _ACEOF
4751 cat confdefs.h >>conftest.$ac_ext
4752 cat >>conftest.$ac_ext <<_ACEOF
4753 /* end confdefs.h.  */
4754 $ac_includes_default
4755 #include <$ac_header>
4756 _ACEOF
4757 rm -f conftest.$ac_objext
4758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4759  (eval $ac_compile) 2>&5
4760  ac_status=$?
4761  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762  (exit $ac_status); } &&
4763         { ac_try='test -s conftest.$ac_objext'
4764  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4765  (eval $ac_try) 2>&5
4766  ac_status=$?
4767  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768  (exit $ac_status); }; }; then
4769  ac_header_compiler=yes
4770 else
4771  echo "$as_me: failed program was:" >&5
4772 sed 's/^/| /' conftest.$ac_ext >&5
4773
4774 ac_header_compiler=no
4775 fi
4776 rm -f conftest.$ac_objext conftest.$ac_ext
4777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4778 echo "${ECHO_T}$ac_header_compiler" >&6
4779
4780 # Is the header present?
4781 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4782 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4783 cat >conftest.$ac_ext <<_ACEOF
4784 #line $LINENO "configure"
4785 /* confdefs.h.  */
4786 _ACEOF
4787 cat confdefs.h >>conftest.$ac_ext
4788 cat >>conftest.$ac_ext <<_ACEOF
4789 /* end confdefs.h.  */
4790 #include <$ac_header>
4791 _ACEOF
4792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4793  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4794  ac_status=$?
4795  grep -v '^ *+' conftest.er1 >conftest.err
4796  rm -f conftest.er1
4797  cat conftest.err >&5
4798  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799  (exit $ac_status); } >/dev/null; then
4800  if test -s conftest.err; then
4801    ac_cpp_err=$ac_c_preproc_warn_flag
4802  else
4803    ac_cpp_err=
4804  fi
4805 else
4806  ac_cpp_err=yes
4807 fi
4808 if test -z "$ac_cpp_err"; then
4809  ac_header_preproc=yes
4810 else
4811  echo "$as_me: failed program was:" >&5
4812 sed 's/^/| /' conftest.$ac_ext >&5
4813
4814  ac_header_preproc=no
4815 fi
4816 rm -f conftest.err conftest.$ac_ext
4817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4818 echo "${ECHO_T}$ac_header_preproc" >&6
4819
4820 # So?  What about this header?
4821 case $ac_header_compiler:$ac_header_preproc in
4822  yes:no )
4823    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4824 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4825    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4826 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4827    (
4828      cat <<\_ASBOX
4829 ## ------------------------------------ ##
4830 ## Report this to bug-autoconf@gnu.org. ##
4831 ## ------------------------------------ ##
4832 _ASBOX
4833    ) |
4834      sed "s/^/$as_me: WARNING:     /" >&2
4835    ;;
4836  no:yes )
4837    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4838 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4839    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4840 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4841    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4842 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4843    (
4844      cat <<\_ASBOX
4845 ## ------------------------------------ ##
4846 ## Report this to bug-autoconf@gnu.org. ##
4847 ## ------------------------------------ ##
4848 _ASBOX
4849    ) |
4850      sed "s/^/$as_me: WARNING:     /" >&2
4851    ;;
4852 esac
4853 echo "$as_me:$LINENO: checking for $ac_header" >&5
4854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4856  echo $ECHO_N "(cached) $ECHO_C" >&6
4857 else
4858  eval "$as_ac_Header=$ac_header_preproc"
4859 fi
4860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4862
4863 fi
4864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4865  cat >>confdefs.h <<_ACEOF
4866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4867 _ACEOF
4868
4869 fi
4870
4871 done
4872
4873
4874
4875
4876
4877
4878 for ac_func in pstat_getstatic sysmp getsysinfo sysctl table
4879 do
4880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4881 echo "$as_me:$LINENO: checking for $ac_func" >&5
4882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4883 if eval "test \"\${$as_ac_var+set}\" = set"; then
4884  echo $ECHO_N "(cached) $ECHO_C" >&6
4885 else
4886  cat >conftest.$ac_ext <<_ACEOF
4887 #line $LINENO "configure"
4888 /* confdefs.h.  */
4889 _ACEOF
4890 cat confdefs.h >>conftest.$ac_ext
4891 cat >>conftest.$ac_ext <<_ACEOF
4892 /* end confdefs.h.  */
4893 /* System header to define __stub macros and hopefully few prototypes,
4894    which can conflict with char $ac_func (); below.
4895    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4896    <limits.h> exists even on freestanding compilers.  */
4897 #ifdef __STDC__
4898 # include <limits.h>
4899 #else
4900 # include <assert.h>
4901 #endif
4902 /* Override any gcc2 internal prototype to avoid an error.  */
4903 #ifdef __cplusplus
4904 extern "C"
4905 {
4906 #endif
4907 /* We use char because int might match the return type of a gcc2
4908   builtin and then its argument prototype would still apply.  */
4909 char $ac_func ();
4910 /* The GNU C library defines this for functions which it implements
4911    to always fail with ENOSYS.  Some functions are actually named
4912    something starting with __ and the normal name is an alias.  */
4913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4914 choke me
4915 #else
4916 char (*f) () = $ac_func;
4917 #endif
4918 #ifdef __cplusplus
4919 }
4920 #endif
4921
4922 int
4923 main ()
4924 {
4925 return f != $ac_func;
4926  ;
4927  return 0;
4928 }
4929 _ACEOF
4930 rm -f conftest.$ac_objext conftest$ac_exeext
4931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4932  (eval $ac_link) 2>&5
4933  ac_status=$?
4934  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935  (exit $ac_status); } &&
4936         { ac_try='test -s conftest$ac_exeext'
4937  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4938  (eval $ac_try) 2>&5
4939  ac_status=$?
4940  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941  (exit $ac_status); }; }; then
4942  eval "$as_ac_var=yes"
4943 else
4944  echo "$as_me: failed program was:" >&5
4945 sed 's/^/| /' conftest.$ac_ext >&5
4946
4947 eval "$as_ac_var=no"
4948 fi
4949 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4950 fi
4951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4953 if test `eval echo '${'$as_ac_var'}'` = yes; then
4954  cat >>confdefs.h <<_ACEOF
4955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4956 _ACEOF
4957
4958 fi
4959 done
4960
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 < #line $LINENO "configure"
3789 < /* confdefs.h.  */
4968 < _ACEOF
4969 < cat confdefs.h >>conftest.$ac_ext
4970 < cat >>conftest.$ac_ext <<_ACEOF
4971 < /* end confdefs.h.  */
3788 > #line 3788 "configure"
3789 > #include "confdefs.h"
3790   #include <sys/systemcfg.h>
3791   int
3792   main ()
# Line 4979 | 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
3800 > if { (eval echo "$as_me:3800: \"$ac_compile\"") >&5
3801    (eval $ac_compile) 2>&5
3802    ac_status=$?
3803 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 >  echo "$as_me:3803: \$? = $ac_status" >&5
3804    (exit $ac_status); } &&
3805           { ac_try='test -s conftest.$ac_objext'
3806 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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 <
5004 < 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.$ac_objext conftest.$ac_ext
# Line 5012 | 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
5017 <  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
5021 fi
5022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5023 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
5028 < cat >conftest.$ac_ext <<_ACEOF
5029 < #line $LINENO "configure"
5030 < /* confdefs.h.  */
5031 < _ACEOF
5032 < cat confdefs.h >>conftest.$ac_ext
5033 < cat >>conftest.$ac_ext <<_ACEOF
5034 < /* end confdefs.h.  */
5035 < $ac_includes_default
3838 >  cat >conftest.$ac_ext <<_ACEOF
3839 > #line 3839 "configure"
3840 > #include "confdefs.h"
3841   #include <$ac_header>
3842   _ACEOF
3843 < rm -f conftest.$ac_objext
5039 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5040 <  (eval $ac_compile) 2>&5
5041 <  ac_status=$?
5042 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043 <  (exit $ac_status); } &&
5044 <         { ac_try='test -s conftest.$ac_objext'
5045 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5046 <  (eval $ac_try) 2>&5
5047 <  ac_status=$?
5048 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5049 <  (exit $ac_status); }; }; then
5050 <  ac_header_compiler=yes
5051 < else
5052 <  echo "$as_me: failed program was:" >&5
5053 < sed 's/^/| /' conftest.$ac_ext >&5
5054 <
5055 < ac_header_compiler=no
5056 < fi
5057 < rm -f conftest.$ac_objext conftest.$ac_ext
5058 < echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5059 < echo "${ECHO_T}$ac_header_compiler" >&6
5060 <
5061 < # Is the header present?
5062 < echo "$as_me:$LINENO: checking $ac_header presence" >&5
5063 < echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5064 < cat >conftest.$ac_ext <<_ACEOF
5065 < #line $LINENO "configure"
5066 < /* confdefs.h.  */
5067 < _ACEOF
5068 < cat confdefs.h >>conftest.$ac_ext
5069 < cat >>conftest.$ac_ext <<_ACEOF
5070 < /* end confdefs.h.  */
5071 < #include <$ac_header>
5072 < _ACEOF
5073 < 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
# Line 5087 | 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 <
5095 <  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
5098 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5099 echo "${ECHO_T}$ac_header_preproc" >&6
5100
5101 # So?  What about this header?
5102 case $ac_header_compiler:$ac_header_preproc in
5103  yes:no )
5104    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5105 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5106    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5107 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5108    (
5109      cat <<\_ASBOX
5110 ## ------------------------------------ ##
5111 ## Report this to bug-autoconf@gnu.org. ##
5112 ## ------------------------------------ ##
5113 _ASBOX
5114    ) |
5115      sed "s/^/$as_me: WARNING:     /" >&2
5116    ;;
5117  no:yes )
5118    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5119 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5120    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5121 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5122    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5123 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5124    (
5125      cat <<\_ASBOX
5126 ## ------------------------------------ ##
5127 ## Report this to bug-autoconf@gnu.org. ##
5128 ## ------------------------------------ ##
5129 _ASBOX
5130    ) |
5131      sed "s/^/$as_me: WARNING:     /" >&2
5132    ;;
5133 esac
5134 echo "$as_me:$LINENO: checking for $ac_header" >&5
5135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5137  echo $ECHO_N "(cached) $ECHO_C" >&6
5138 else
5139  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
5145 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5146  cat >>confdefs.h <<_ACEOF
5147 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5148 _ACEOF
5149
5150 fi
5151
3876   done
3877  
5154
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 < #line $LINENO "configure"
3888 < /* confdefs.h.  */
5166 < _ACEOF
5167 < cat confdefs.h >>conftest.$ac_ext
5168 < cat >>conftest.$ac_ext <<_ACEOF
5169 < /* end confdefs.h.  */
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
5173 <    <limits.h> exists even on freestanding compilers.  */
5174 < #ifdef __STDC__
5175 < # include <limits.h>
5176 < #else
5177 < # include <assert.h>
5178 < #endif
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"
5182 {
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
5195 #ifdef __cplusplus
5196 }
5197 #endif
3912  
5199 int
5200 main ()
5201 {
5202 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
3918 > if { (eval echo "$as_me:3918: \"$ac_link\"") >&5
3919    (eval $ac_link) 2>&5
3920    ac_status=$?
3921 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921 >  echo "$as_me:3921: \$? = $ac_status" >&5
3922    (exit $ac_status); } &&
3923           { ac_try='test -s conftest$ac_exeext'
3924 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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 <
5224 < eval "$as_ac_var=no"
3932 > cat conftest.$ac_ext >&5
3933 > eval "$ac_ac_var=no"
3934   fi
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 5242 | 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 < #line $LINENO "configure"
3955 < /* confdefs.h.  */
5247 < _ACEOF
5248 < cat confdefs.h >>conftest.$ac_ext
5249 < cat >>conftest.$ac_ext <<_ACEOF
5250 < /* 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 5265 | 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
3973 > if { (eval echo "$as_me:3973: \"$ac_link\"") >&5
3974    (eval $ac_link) 2>&5
3975    ac_status=$?
3976 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976 >  echo "$as_me:3976: \$? = $ac_status" >&5
3977    (exit $ac_status); } &&
3978           { ac_try='test -s conftest$ac_exeext'
3979 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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
5283 <
3987 > cat conftest.$ac_ext >&5
3988   ac_cv_lib_gnugetopt_getopt_long=no
3989   fi
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        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"
4004 >      ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
4005  
4006   fi
4007  
4008   fi
4009   done
4010  
5307
5308
4011   case $debug in
4012    1)
4013       ;;
4014    *)
4015  
4016 <
5315 <
5316 <
5317 <
5318 <
5319 < 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 5330 | 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 5341 | 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 5351 | Line 4048 | fi
4048  
4049   fi
4050  
5354
4051   # Try to determine "good" native compiler flags if none specified on command
4052   # line
4053   if test "$ac_test_CFLAGS" != "set"; then
# Line 5404 | 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 <
5408 < 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 5419 | 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 5431 | Line 4126 | fi
4126  
4127      # -fstrict-aliasing for gcc-2.95+
4128  
4129 <
5435 < 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 5446 | 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 5463 | 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 5477 | 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 5485 | Line 4179 | else
4179   else
4180          :
4181  
4182 <
5489 < 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 5500 | 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 5515 | 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 5529 | 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 5537 | Line 4230 | else
4230   else
4231          :
4232  
4233 <
5541 < 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 5552 | 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 5570 | Line 4262 | fi
4262                  is60x=`echo $cputype | egrep "^600-9e?$"`
4263                  if test -n "$is60x"; then
4264  
4265 <
5574 < 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 5585 | 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 5597 | Line 4288 | fi
4288  
4289                  elif test "$cputype" = 750; then
4290  
4291 <
5601 < 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 5612 | 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 5623 | 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 <
5632 < 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 5643 | 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 5661 | Line 4350 | fi
4350                  fi
4351                  if test -z "$CPU_FLAGS"; then
4352  
4353 <
5665 < 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 5676 | 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 5689 | Line 4377 | fi
4377                  fi
4378                  if test -z "$CPU_FLAGS"; then
4379  
4380 <
5693 < 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 5704 | 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 5733 | Line 4420 | fi
4420          CFLAGS="-O3"
4421    fi
4422  
4423 <
5737 <
5738 < 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 5749 | 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 5768 | Line 4453 | fi
4453  
4454   fi
4455  
5771
4456   fi
5773
4457  
4458 <
5776 <
5777 <
5778 <
5779 <
5780 < 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 5791 | 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 5802 | 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 5812 | Line 4490 | fi
4490  
4491   fi
4492  
5815
4493   # Try to determine "good" native compiler flags if none specified on command
4494   # line
4495   if test "$ac_test_CXXFLAGS" != "set"; then
# Line 5856 | 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 <
5860 < 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 5871 | 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 5883 | Line 4559 | fi
4559  
4560      # -fstrict-aliasing for gcc-2.95+
4561  
4562 <
5887 < 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 5898 | 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 5915 | 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 5929 | 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 5937 | Line 4612 | else
4612   else
4613          :
4614  
4615 <
5941 < 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 5952 | 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 5967 | 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 5981 | 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 5989 | Line 4663 | else
4663   else
4664          :
4665  
4666 <
5993 < 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 6004 | 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 6022 | Line 4695 | fi
4695                  is60x=`echo $cputype | egrep "^600-9e?$"`
4696                  if test -n "$is60x"; then
4697  
4698 <
6026 < 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 6037 | 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 6049 | Line 4721 | fi
4721  
4722                  elif test "$cputype" = 750; then
4723  
4724 <
6053 < 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 6064 | 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 6075 | 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 <
6084 < 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 6095 | 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 6113 | Line 4783 | fi
4783                  fi
4784                  if test -z "$CPU_FLAGS"; then
4785  
4786 <
6117 < 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 6128 | 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 6141 | Line 4810 | fi
4810                  fi
4811                  if test -z "$CPU_FLAGS"; then
4812  
4813 <
6145 < 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 6156 | 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 6185 | Line 4853 | fi
4853          CXXFLAGS="-O3"
4854    fi
4855  
4856 <
6189 <
6190 < 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 6201 | 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 6220 | Line 4886 | fi
4886  
4887   fi
4888  
6223
4889   fi
4890  
6226
6227
6228
6229
4891   # Try to determine "good" native compiler flags if none specified on command
4892   # line
4893  
# Line 6274 | Line 4935 | if test x"$F90FLAGS" = x ; then
4935          F90FLAGS="-O3"
4936    fi
4937  
4938 <
6278 < 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  
6284
6285
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 6291 | 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 6307 | 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  
6310
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 6327 | Line 4984 | fi
4984          F90FLAGS=""
4985  
4986   fi
6330
4987  
4988   fi
4989  
# Line 6346 | Line 5002 | echo "$as_me:$LINENO: checking for a BSD-compatible in
5002   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5003   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
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 <  /usr/ucb/* ) ;;
5021 <  *)
5022 <    # OSF1 and SCO ODT 3.0 have their own names for install.
5023 <    # Don't use installbsd from OSF since it installs stuff as root
5024 <    # by default.
5025 <    for ac_prog in ginstall scoinst install; do
5026 <      for ac_exec_ext in '' $ac_executable_extensions; do
5027 <        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5028 <          if test $ac_prog = install &&
5029 <            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5030 <            # AIX install.  It has an incompatible calling convention.
5031 <            :
5032 <          elif test $ac_prog = install &&
5033 <            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5034 <            # program-specific install script used by HP pwplus--don't use.
5035 <            :
5036 <          else
5037 <            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6382 <            break 3
6383 <          fi
6384 <        fi
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 "$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 "$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="$ac_dir/$ac_prog -c"
5035 >            break 2
5036 >          fi
5037 >        fi
5038        done
5039 <    done
5040 <    ;;
5041 < esac
6389 < done
5039 >      ;;
5040 >    esac
5041 >  done
5042  
6391
5043   fi
5044    if test "${ac_cv_path_install+set}" = set; then
5045      INSTALL=$ac_cv_path_install
# Line 6400 | 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 6411 | 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
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 6442 | 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 6454 | 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 6462 | 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
6474 <    break 2
6475 <  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
6477 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 6492 | 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 6500 | 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
6512 <    break 2
6513 <  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
6515 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 6535 | 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 6543 | 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
6555 <    break 2
6556 <  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
6558 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 6576 | 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 6584 | 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
5238 <    break 2
6597 <  fi
6598 < done
6599 < done
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
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 6615 | 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 6623 | 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 < #line $LINENO "configure"
5266 < /* confdefs.h.  */
6628 < _ACEOF
6629 < cat confdefs.h >>conftest.$ac_ext
6630 < cat >>conftest.$ac_ext <<_ACEOF
6631 < /* 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 6646 | 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
5284 > if { (eval echo "$as_me:5284: \"$ac_link\"") >&5
5285    (eval $ac_link) 2>&5
5286    ac_status=$?
5287 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287 >  echo "$as_me:5287: \$? = $ac_status" >&5
5288    (exit $ac_status); } &&
5289           { ac_try='test -s conftest$ac_exeext'
5290 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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
6664 <
5298 > cat conftest.$ac_ext >&5
5299   ac_cv_lib_fl_yywrap=no
5300   fi
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 6680 | 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 < #line $LINENO "configure"
5318 < /* confdefs.h.  */
6685 < _ACEOF
6686 < cat confdefs.h >>conftest.$ac_ext
6687 < cat >>conftest.$ac_ext <<_ACEOF
6688 < /* 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 6703 | 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
5336 > if { (eval echo "$as_me:5336: \"$ac_link\"") >&5
5337    (eval $ac_link) 2>&5
5338    ac_status=$?
5339 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5339 >  echo "$as_me:5339: \$? = $ac_status" >&5
5340    (exit $ac_status); } &&
5341           { ac_try='test -s conftest$ac_exeext'
5342 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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
6721 <
5350 > cat conftest.$ac_ext >&5
5351   ac_cv_lib_l_yywrap=no
5352   fi
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 6735 | 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 < %%
6747 < %%
6748 < _ACEOF
6749 < { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
6750 <  (eval $LEX conftest.l) 2>&5
6751 <  ac_status=$?
6752 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6753 <  (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
6766 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 6782 | 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
5406 > if { (eval echo "$as_me:5406: \"$ac_link\"") >&5
5407    (eval $ac_link) 2>&5
5408    ac_status=$?
5409 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409 >  echo "$as_me:5409: \$? = $ac_status" >&5
5410    (exit $ac_status); } &&
5411           { ac_try='test -s conftest$ac_exeext'
5412 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5412 >  { (eval echo "$as_me:5412: \"$ac_try\"") >&5
5413    (eval $ac_try) 2>&5
5414    ac_status=$?
5415 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5415 >  echo "$as_me:5415: \$? = $ac_status" >&5
5416    (exit $ac_status); }; }; then
5417    ac_cv_prog_lex_yytext_pointer=yes
5418   else
5419    echo "$as_me: failed program was:" >&5
5420 < sed 's/^/| /' conftest.$ac_ext >&5
6800 <
5420 > cat conftest.$ac_ext >&5
5421   fi
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 6825 | 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
6837 <    break 2
6838 <  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
6840 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 6865 | 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 6884 | Line 5501 | _ACEOF
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"
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 6900 | 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 6914 | 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 6924 | 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
6937 <  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
6939 done
5555  
5556    ;;
5557   esac
# Line 6944 | 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
5573   else
5574  
6960        if $PS -ef -o rss > /dev/null 2>&1; then
6961                ac_cv_prog_ps_ef=yes
6962        else
6963                ac_cv_prog_ps_ef=no
6964        fi
5575          if $PS ax -o rss > /dev/null 2>&1; then
5576                  ac_cv_prog_ps_ax=yes
5577          else
5578                  ac_cv_prog_ps_ax=no
5579          fi
5580 <        if test "$ac_cv_prog_ps_ef" = yes; then
5581 <                ac_cv_prog_ps_syntax=POSIX
5580 >        if $PS -ef -o rss > /dev/null 2>&1; then
5581 >                ac_cv_prog_ps_ef=yes
5582 >        else
5583 >                ac_cv_prog_ps_ef=no
5584 >        fi
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_ax" = yes; then
5589 <                        ac_cv_prog_ps_syntax=BSD
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
5602 < #define PS $PS
5603 < _ACEOF
5601 > cat >>confdefs.h <<EOF
5602 > #define PSCOMMAND $PS
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 +   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  
6996
6997
5623   # Check whether --with-mpi or --without-mpi was given.
5624   if test "${with_mpi+set}" = set; then
5625    withval="$with_mpi"
# Line 7013 | Line 5638 | if test "$USE_MPI" = "yes"; then
5638   fi
5639   if test "$USE_MPI" = "yes"; then
5640  
7016
5641   # Set variables...
5642   MPI_LIB_DIR="$MPI/lib"
5643   MPI_INC_DIR="$MPI/include"
5644  
5645 <
7022 <
7023 < 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 7052 | 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 7060 | 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 7068 | 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 7084 | 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 7092 | 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 < #line $LINENO "configure"
5718 < /* confdefs.h.  */
7097 < _ACEOF
7098 < cat confdefs.h >>conftest.$ac_ext
7099 < cat >>conftest.$ac_ext <<_ACEOF
7100 < /* 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 7115 | 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
5736 > if { (eval echo "$as_me:5736: \"$ac_link\"") >&5
5737    (eval $ac_link) 2>&5
5738    ac_status=$?
5739 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 >  echo "$as_me:5739: \$? = $ac_status" >&5
5740    (exit $ac_status); } &&
5741           { ac_try='test -s conftest$ac_exeext'
5742 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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
7133 <
5750 > cat conftest.$ac_ext >&5
5751   ac_cv_lib_mpich_MPI_Init=no
5752   fi
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 7144 | 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 7152 | 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 < #line $LINENO "configure"
5773 < /* confdefs.h.  */
7157 < _ACEOF
7158 < cat confdefs.h >>conftest.$ac_ext
7159 < cat >>conftest.$ac_ext <<_ACEOF
7160 < /* 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 7175 | 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
5791 > if { (eval echo "$as_me:5791: \"$ac_link\"") >&5
5792    (eval $ac_link) 2>&5
5793    ac_status=$?
5794 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5794 >  echo "$as_me:5794: \$? = $ac_status" >&5
5795    (exit $ac_status); } &&
5796           { ac_try='test -s conftest$ac_exeext'
5797 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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
7193 <
5805 > cat conftest.$ac_ext >&5
5806   ac_cv_lib_mpi_MPI_Init=no
5807   fi
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 7205 | 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 7213 | 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 < #line $LINENO "configure"
5829 < /* confdefs.h.  */
7218 < _ACEOF
7219 < cat confdefs.h >>conftest.$ac_ext
7220 < cat >>conftest.$ac_ext <<_ACEOF
7221 < /* 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 7236 | 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
5847 > if { (eval echo "$as_me:5847: \"$ac_link\"") >&5
5848    (eval $ac_link) 2>&5
5849    ac_status=$?
5850 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850 >  echo "$as_me:5850: \$? = $ac_status" >&5
5851    (exit $ac_status); } &&
5852           { ac_try='test -s conftest$ac_exeext'
5853 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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
7254 <
5861 > cat conftest.$ac_ext >&5
5862   ac_cv_lib_mpi_MPI_Init=no
5863   fi
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 7266 | 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 7274 | 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 < #line $LINENO "configure"
5885 < /* confdefs.h.  */
7279 < _ACEOF
7280 < cat confdefs.h >>conftest.$ac_ext
7281 < cat >>conftest.$ac_ext <<_ACEOF
7282 < /* 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 7297 | 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
5903 > if { (eval echo "$as_me:5903: \"$ac_link\"") >&5
5904    (eval $ac_link) 2>&5
5905    ac_status=$?
5906 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906 >  echo "$as_me:5906: \$? = $ac_status" >&5
5907    (exit $ac_status); } &&
5908           { ac_try='test -s conftest$ac_exeext'
5909 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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
7315 <
5917 > cat conftest.$ac_ext >&5
5918   ac_cv_lib_mpich_MPI_Init=no
5919   fi
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 7328 | 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 7336 | 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 < #line $LINENO "configure"
5942 < /* confdefs.h.  */
7341 < _ACEOF
7342 < cat confdefs.h >>conftest.$ac_ext
7343 < cat >>conftest.$ac_ext <<_ACEOF
7344 < /* 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 7359 | 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
5960 > if { (eval echo "$as_me:5960: \"$ac_link\"") >&5
5961    (eval $ac_link) 2>&5
5962    ac_status=$?
5963 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5963 >  echo "$as_me:5963: \$? = $ac_status" >&5
5964    (exit $ac_status); } &&
5965           { ac_try='test -s conftest$ac_exeext'
5966 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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
7377 <
5974 > cat conftest.$ac_ext >&5
5975   ac_cv_lib_mpi_MPI_Init=no
5976   fi
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 7395 | Line 5992 | fi
5992  
5993   fi
5994  
5995 <
7399 <
7400 < 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 7407 | 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  
7413
6008   fi
6009  
7416
7417
6010   # Check whether --with-sprng or --without-sprng was given.
6011   if test "${with_sprng+set}" = set; then
6012    withval="$with_sprng"
# Line 7433 | Line 6025 | if test "$USE_SPRNG" = "yes"; then
6025   fi
6026   if test "$USE_SPRNG" = "yes"; then
6027  
7436
6028   # Set variables...
6029   SPRNG_LIB_DIR="$SPRNG/lib"
6030   SPRNG_INC_DIR="$SPRNG/include"
6031  
6032 <
7442 <
7443 < 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 7471 | 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 7479 | 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 < #line $LINENO "configure"
6072 < /* confdefs.h.  */
7484 < _ACEOF
7485 < cat confdefs.h >>conftest.$ac_ext
7486 < cat >>conftest.$ac_ext <<_ACEOF
7487 < /* 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 7502 | 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
6090 > if { (eval echo "$as_me:6090: \"$ac_link\"") >&5
6091    (eval $ac_link) 2>&5
6092    ac_status=$?
6093 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6093 >  echo "$as_me:6093: \$? = $ac_status" >&5
6094    (exit $ac_status); } &&
6095           { ac_try='test -s conftest$ac_exeext'
6096 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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
7520 <
6104 > cat conftest.$ac_ext >&5
6105   ac_cv_lib_sprng_init_rng=no
6106   fi
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  
7539
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  
7546
6129   fi
6130  
6131 <
7550 <
7551 < 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 7564 | 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  
7574
7575
6154    ac_ext=c
6155   ac_cpp='$CPP $CPPFLAGS'
6156   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 7583 | 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
7587 <  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
7591 fi
7592 echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5
7593 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
7598 < cat >conftest.$ac_ext <<_ACEOF
7599 < #line $LINENO "configure"
7600 < /* confdefs.h.  */
7601 < _ACEOF
7602 < cat confdefs.h >>conftest.$ac_ext
7603 < cat >>conftest.$ac_ext <<_ACEOF
7604 < /* end confdefs.h.  */
7605 < $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
7609 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7610 <  (eval $ac_compile) 2>&5
7611 <  ac_status=$?
7612 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7613 <  (exit $ac_status); } &&
7614 <         { ac_try='test -s conftest.$ac_objext'
7615 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7616 <  (eval $ac_try) 2>&5
7617 <  ac_status=$?
7618 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7619 <  (exit $ac_status); }; }; then
7620 <  ac_header_compiler=yes
7621 < else
7622 <  echo "$as_me: failed program was:" >&5
7623 < sed 's/^/| /' conftest.$ac_ext >&5
7624 <
7625 < ac_header_compiler=no
7626 < fi
7627 < rm -f conftest.$ac_objext conftest.$ac_ext
7628 < echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7629 < echo "${ECHO_T}$ac_header_compiler" >&6
7630 <
7631 < # Is the header present?
7632 < echo "$as_me:$LINENO: checking mkl.h presence" >&5
7633 < echo $ECHO_N "checking mkl.h presence... $ECHO_C" >&6
7634 < cat >conftest.$ac_ext <<_ACEOF
7635 < #line $LINENO "configure"
7636 < /* confdefs.h.  */
7637 < _ACEOF
7638 < cat confdefs.h >>conftest.$ac_ext
7639 < cat >>conftest.$ac_ext <<_ACEOF
7640 < /* end confdefs.h.  */
7641 < #include <mkl.h>
7642 < _ACEOF
7643 < 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
# Line 7657 | 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 <
7665 <  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
7668 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7669 echo "${ECHO_T}$ac_header_preproc" >&6
7670
7671 # So?  What about this header?
7672 case $ac_header_compiler:$ac_header_preproc in
7673  yes:no )
7674    { echo "$as_me:$LINENO: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&5
7675 echo "$as_me: WARNING: mkl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7676    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5
7677 echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;}
7678    (
7679      cat <<\_ASBOX
7680 ## ------------------------------------ ##
7681 ## Report this to bug-autoconf@gnu.org. ##
7682 ## ------------------------------------ ##
7683 _ASBOX
7684    ) |
7685      sed "s/^/$as_me: WARNING:     /" >&2
7686    ;;
7687  no:yes )
7688    { echo "$as_me:$LINENO: WARNING: mkl.h: present but cannot be compiled" >&5
7689 echo "$as_me: WARNING: mkl.h: present but cannot be compiled" >&2;}
7690    { echo "$as_me:$LINENO: WARNING: mkl.h: check for missing prerequisite headers?" >&5
7691 echo "$as_me: WARNING: mkl.h: check for missing prerequisite headers?" >&2;}
7692    { echo "$as_me:$LINENO: WARNING: mkl.h: proceeding with the preprocessor's result" >&5
7693 echo "$as_me: WARNING: mkl.h: proceeding with the preprocessor's result" >&2;}
7694    (
7695      cat <<\_ASBOX
7696 ## ------------------------------------ ##
7697 ## Report this to bug-autoconf@gnu.org. ##
7698 ## ------------------------------------ ##
7699 _ASBOX
7700    ) |
7701      sed "s/^/$as_me: WARNING:     /" >&2
7702    ;;
7703 esac
7704 echo "$as_me:$LINENO: checking for mkl.h" >&5
7705 echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
7706 if test "${ac_cv_header_mkl_h+set}" = set; then
7707  echo $ECHO_N "(cached) $ECHO_C" >&6
7708 else
7709  ac_cv_header_mkl_h=$ac_header_preproc
6198   fi
6199 < echo "$as_me:$LINENO: result: $ac_cv_header_mkl_h" >&5
6199 > echo "$as_me:6199: result: $ac_cv_header_mkl_h" >&5
6200   echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
7713
7714 fi
6201   if test $ac_cv_header_mkl_h = yes; then
6202  
6203 <    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 7722 | 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 < #line $LINENO "configure"
6212 < /* confdefs.h.  */
7727 < _ACEOF
7728 < cat confdefs.h >>conftest.$ac_ext
7729 < cat >>conftest.$ac_ext <<_ACEOF
7730 < /* 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 7745 | 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
6230 > if { (eval echo "$as_me:6230: \"$ac_link\"") >&5
6231    (eval $ac_link) 2>&5
6232    ac_status=$?
6233 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233 >  echo "$as_me:6233: \$? = $ac_status" >&5
6234    (exit $ac_status); } &&
6235           { ac_try='test -s conftest$ac_exeext'
6236 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
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
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
7763 <
6244 > cat conftest.$ac_ext >&5
6245   ac_cv_lib_mkl_vslNewStream=no
6246   fi
6247   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6248   LIBS=$ac_check_lib_save_LIBS
6249   fi
6250 < echo "$as_me:$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 7774 | Line 6255 | fi
6255                       HAVE_MKL="yes"
6256   fi
6257  
7777
6258   else
6259    MKL_INC="-I${mkldir}/include"
6260   fi
6261  
7782
6262    CPPFLAGS=$ac_save_CPPFLAGS
6263    LDFLAGS=$ac_save_LDFLAGS
6264    ac_ext=c
# Line 7788 | 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  
7791
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  
7798
7799
7800
7801
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  
7809
7810
6283   # Check whether --enable-doxygen or --disable-doxygen was given.
6284   if test "${enable_doxygen+set}" = set; then
6285    enableval="$enable_doxygen"
# Line 7837 | 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 7847 | 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
7860 <  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
7862 done
6333  
6334    ;;
6335   esac
# Line 7867 | 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 7885 | 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 7895 | 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
7908 <  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
7910 done
6379  
6380    ;;
6381   esac
# Line 7915 | 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 7931 | Line 6399 | fi
6399    DOC=0
6400   fi
6401  
7934
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 7942 | Line 6409 | fi
6409   else
6410          enable_dot=yes
6411   fi
7945
7946
7947
7948
7949
7950
6412  
6413   OBJEXT=".$OBJEXT"
6414  
# Line 7989 | Line 6450 | esac
6450       ;;
6451   esac
6452  
6453 + ac_config_headers="$ac_config_headers src/config.h"
6454  
6455 + ac_config_files="$ac_config_files make/Makefile src/utils/Makefile"
6456  
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009          ac_config_headers="$ac_config_headers src/config.h"
8010
8011                    ac_config_files="$ac_config_files make/Makefile src/utils/Makefile"
8012
8013
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 8021 | 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 8040 | Line 6483 | _ACEOF
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"
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 8056 | 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 8087 | Line 6530 | ac_libobjs=
6530  
6531   DEFS=-DHAVE_CONFIG_H
6532  
8090 ac_libobjs=
8091 ac_ltlibobjs=
8092 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8093  # 1. Remove the extension, and $U if already installed.
8094  ac_i=`echo "$ac_i" |
8095         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8096  # 2. Add them.
8097  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
8098  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
8099 done
8100 LIBOBJS=$ac_libobjs
8101
8102 LTLIBOBJS=$ac_ltlibobjs
8103
8104
8105
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
8119 ac_cs_recheck=false
8120 ac_cs_silent=false
6546   SHELL=\${CONFIG_SHELL-$SHELL}
6547 + ac_cs_invocation="\$0 \$@"
6548 +
6549   _ACEOF
6550  
6551   cat >>$CONFIG_STATUS <<\_ACEOF
8125 ## --------------------- ##
8126 ## M4sh Initialization.  ##
8127 ## --------------------- ##
8128
6552   # Be Bourne compatible
6553   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6554    emulate sh
6555    NULLCMD=:
8133  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8134  # is contrary to our usage.  Disable this feature.
8135  alias -g '${1+"$@"}'='"$@"'
6556   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6557    set -o posix
6558   fi
6559  
8140 # Support unset when possible.
8141 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
8142  as_unset=unset
8143 else
8144  as_unset=false
8145 fi
8146
8147
8148 # Work around bugs in pre-3.0 UWIN ksh.
8149 $as_unset ENV MAIL MAILPATH
8150 PS1='$ '
8151 PS2='> '
8152 PS4='+ '
8153
8154 # NLS nuisances.
8155 for as_var in \
8156  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8157  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8158  LC_TELEPHONE LC_TIME
8159 do
8160  if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
8161    eval $as_var=C; export $as_var
8162  else
8163    $as_unset $as_var
8164  fi
8165 done
8166
8167 # Required to use basename.
8168 if expr a : '\(a\)' >/dev/null 2>&1; then
8169  as_expr=expr
8170 else
8171  as_expr=false
8172 fi
8173
8174 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
8175  as_basename=basename
8176 else
8177  as_basename=false
8178 fi
8179
8180
6560   # Name of the executable.
6561 < as_me=`$as_basename "$0" ||
8183 < $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8184 <         X"$0" : 'X\(//\)$' \| \
8185 <         X"$0" : 'X\(/\)$' \| \
8186 <         .     : '\(.\)' 2>/dev/null ||
8187 < echo X/"$0" |
8188 <    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8189 <          /^X\/\(\/\/\)$/{ s//\1/; q; }
8190 <          /^X\/\(\/\).*/{ s//\1/; q; }
8191 <          s/.*/./; q'`
6561 > as_me=`echo "$0" |sed 's,.*[\\/],,'`
6562  
8193
8194 # PATH needs CR, and LINENO needs CR and PATH.
8195 # Avoid depending upon Character Ranges.
8196 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8197 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8198 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8199 as_cr_digits='0123456789'
8200 as_cr_alnum=$as_cr_Letters$as_cr_digits
8201
8202 # The user is always right.
8203 if test "${PATH_SEPARATOR+set}" != set; then
8204  echo "#! /bin/sh" >conf$$.sh
8205  echo  "exit 0"   >>conf$$.sh
8206  chmod +x conf$$.sh
8207  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8208    PATH_SEPARATOR=';'
8209  else
8210    PATH_SEPARATOR=:
8211  fi
8212  rm -f conf$$.sh
8213 fi
8214
8215
8216  as_lineno_1=$LINENO
8217  as_lineno_2=$LINENO
8218  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8219  test "x$as_lineno_1" != "x$as_lineno_2" &&
8220  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
8221  # Find who we are.  Look in the path if we contain no path at all
8222  # relative or not.
8223  case $0 in
8224    *[\\/]* ) as_myself=$0 ;;
8225    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8226 for as_dir in $PATH
8227 do
8228  IFS=$as_save_IFS
8229  test -z "$as_dir" && as_dir=.
8230  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8231 done
8232
8233       ;;
8234  esac
8235  # We did not find ourselves, most probably we were run as `sh COMMAND'
8236  # in which case we are not to be found in the path.
8237  if test "x$as_myself" = x; then
8238    as_myself=$0
8239  fi
8240  if test ! -f "$as_myself"; then
8241    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8242 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8243   { (exit 1); exit 1; }; }
8244  fi
8245  case $CONFIG_SHELL in
8246  '')
8247    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8248 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
8249 do
8250  IFS=$as_save_IFS
8251  test -z "$as_dir" && as_dir=.
8252  for as_base in sh bash ksh sh5; do
8253         case $as_dir in
8254         /*)
8255           if ("$as_dir/$as_base" -c '
8256  as_lineno_1=$LINENO
8257  as_lineno_2=$LINENO
8258  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8259  test "x$as_lineno_1" != "x$as_lineno_2" &&
8260  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
8261             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
8262             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
8263             CONFIG_SHELL=$as_dir/$as_base
8264             export CONFIG_SHELL
8265             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8266           fi;;
8267         esac
8268       done
8269 done
8270 ;;
8271  esac
8272
8273  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8274  # uniformly replaced by the line number.  The first 'sed' inserts a
8275  # line-number line before each line; the second 'sed' does the real
8276  # work.  The second script uses 'N' to pair each line-number line
8277  # with the numbered line, and appends trailing '-' during
8278  # substitution so that $LINENO is not a special case at line end.
8279  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8280  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
8281  sed '=' <$as_myself |
8282    sed '
8283      N
8284      s,$,-,
8285      : loop
8286      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8287      t loop
8288      s,-$,,
8289      s,^['$as_cr_digits']*\n,,
8290    ' >$as_me.lineno &&
8291  chmod +x $as_me.lineno ||
8292    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8293 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8294   { (exit 1); exit 1; }; }
8295
8296  # Don't try to exec as it changes $[0], causing all sort of problems
8297  # (the dirname of $[0] is not the place where we might find the
8298  # original and so on.  Autoconf is especially sensible to this).
8299  . ./$as_me.lineno
8300  # Exit status is that of the last command.
8301  exit
8302 }
8303
8304
8305 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8306  *c*,-n*) ECHO_N= ECHO_C='
8307 ' ECHO_T='      ' ;;
8308  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
8309  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
8310 esac
8311
6563   if expr a : '\(a\)' >/dev/null 2>&1; then
6564    as_expr=expr
6565   else
# Line 8333 | 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 <  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  
8344 # Sed expression to map a string onto a valid CPP name.
8345 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
8346
8347 # Sed expression to map a string onto a valid variable name.
8348 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
8349
8350
6606   # IFS
6607   # We need space, tab and new line, in precisely that order.
6608   as_nl='
# Line 8355 | 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
8361
8362 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8363 # report actual input values of CONFIG_FILES etc. instead of their
8364 # values after options handling.  Logging --version etc. is OK.
8365 exec 5>>config.log
8366 {
8367  echo
8368  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8369 ## Running $as_me. ##
8370 _ASBOX
8371 } >&5
8372 cat >&5 <<_CSEOF
6616  
8374 This file was extended by OOPSE $as_me 2.0, which was
8375 generated by GNU Autoconf 2.57.  Invocation command line was
8376
8377  CONFIG_FILES    = $CONFIG_FILES
8378  CONFIG_HEADERS  = $CONFIG_HEADERS
8379  CONFIG_LINKS    = $CONFIG_LINKS
8380  CONFIG_COMMANDS = $CONFIG_COMMANDS
8381  $ $0 $@
8382
8383 _CSEOF
8384 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8385 echo >&5
6617   _ACEOF
6618  
6619   # Files that config.status was made for.
# Line 8402 | 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 8412 | Line 6643 | Usage: $0 [OPTIONS] [FILE]...
6643  
6644    -h, --help       print this help, then exit
6645    -V, --version    print version number, then exit
8415  -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]
# Line 8430 | 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.57,
6668 > configured by $0, generated by GNU Autoconf 2.50,
6669    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6670  
6671   Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
# Line 8444 | Line 6674 | _ACEOF
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 8456 | 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 <  -*)
8462 <    ac_option=$1
8463 <    ac_optarg=$2
8464 <    ac_shift=shift
8465 <    ;;
6693 >  -*);;
6694    *) # This is not an option, so the user has probably given explicit
6695       # arguments.
8468     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 8489 | 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;;
8499  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8500  | -silent | --silent | --silen | --sile | --sil | --si | --s)
8501    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"
8521 < fi
6752 > ## ----------------------- ##
6753 > ## Running config.status.  ##
6754 > ## ----------------------- ##
6755  
6756 < _ACEOF
6757 < cat >>$CONFIG_STATUS <<_ACEOF
6758 < if \$ac_cs_recheck; then
8526 <  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8527 <  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8528 < 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 <
8533 <
8534 <
8535 <
8536 < cat >>$CONFIG_STATUS <<\_ACEOF
8537 < for ac_config_target in $ac_config_targets
8538 < do
8539 <  case "$ac_config_target" in
8540 <  # Handling of arguments.
8541 <  "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
8542 <  "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
8543 <  "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
8544 <  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
8545 <  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8546 < echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8547 <   { (exit 1); exit 1; }; };;
8548 <  esac
8549 < done
8550 <
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 8558 | Line 6771 | fi
6771    test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
6772   fi
6773  
8561 # Have a temporary directory for convenience.  Make it in the build tree
8562 # simply because there is no reason to put it here, and in addition,
8563 # 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 8598 | 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
8601 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8602 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8603 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8604 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8605 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8606 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 8619 | 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 8663 | 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
8666 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 8704 | 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
8707 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 8748 | 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
# Line 8763 | Line 6968 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" =
6968    esac
6969  
6970    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6971 <  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8767 < $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6971 >  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6972           X"$ac_file" : 'X\(//\)[^/]' \| \
6973           X"$ac_file" : 'X\(//\)$' \| \
6974           X"$ac_file" : 'X\(/\)' \| \
# Line 8775 | Line 6979 | echo X"$ac_file" |
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=
8783 <    while test ! -d "$as_dir"; do
8784 <      as_dirs="$as_dir $as_dirs"
8785 <      as_dir=`(dirname "$as_dir") 2>/dev/null ||
8786 < $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8787 <         X"$as_dir" : 'X\(//\)[^/]' \| \
8788 <         X"$as_dir" : 'X\(//\)$' \| \
8789 <         X"$as_dir" : 'X\(/\)' \| \
8790 <         .     : '\(.\)' 2>/dev/null ||
8791 < echo X"$as_dir" |
8792 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8793 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8794 <          /^X\(\/\/\)$/{ s//\1/; q; }
8795 <          /^X\(\/\).*/{ s//\1/; q; }
8796 <          s/.*/./; q'`
8797 <    done
8798 <    test ! -n "$as_dirs" || mkdir $as_dirs
8799 <  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8800 < echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8801 <   { (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 <
8813 < case $srcdir in
8814 <  .)  # No --srcdir option.  We are building in place.
8815 <    ac_srcdir=.
8816 <    if test -z "$ac_top_builddir"; then
8817 <       ac_top_srcdir=.
8818 <    else
8819 <       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8820 <    fi ;;
8821 <  [\\/]* | ?:[\\/]* )  # Absolute path.
8822 <    ac_srcdir=$srcdir$ac_dir_suffix;
8823 <    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
8828 < # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
8829 < # absolute.
8830 < ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
8831 < ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
8832 < ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
8833 < ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7017 >    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
7018 >    ac_top_srcdir=$ac_dots$srcdir ;;
7019 >  esac
7020  
8835
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=
8851 <  else
8852 <    configure_input="$ac_file.  "
8853 <  fi
8854 <  configure_input=$configure_input"Generated from `echo $ac_file_in |
8855 <                                     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 8862 | Line 7042 | echo "$as_me: creating $ac_file" >&6;}
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
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;;
# Line 8875 | Line 7055 | echo "$as_me: error: cannot find input file: $f" >&2;}
7055             echo $srcdir/$f
7056           else
7057             # /dev/null tree
7058 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
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;;
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
8894 s,@abs_srcdir@,$ac_abs_srcdir,;t t
7074   s,@top_srcdir@,$ac_top_srcdir,;t t
8896 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
8897 s,@builddir@,$ac_builddir,;t t
8898 s,@abs_builddir@,$ac_abs_builddir,;t t
8899 s,@top_builddir@,$ac_top_builddir,;t t
8900 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 8909 | 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 8942 | Line 7116 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file"
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 8953 | Line 7127 | echo "$as_me: creating $ac_file" >&6;}
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
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           echo $f;;
# Line 8966 | Line 7140 | echo "$as_me: error: cannot find input file: $f" >&2;}
7140             echo $srcdir/$f
7141           else
7142             # /dev/null tree
7143 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
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;;
# Line 8975 | Line 7149 | _ACEOF
7149    # Remove the trailing spaces.
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 8991 | 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
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 9011 | 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
7188 > cat >>conftest.undefs <<\EOF
7189   s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7190 < _ACEOF
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 9042 | 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 9070 | 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 ||
9090 < $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7263 >      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7264           X"$ac_file" : 'X\(//\)[^/]' \| \
7265           X"$ac_file" : 'X\(//\)$' \| \
7266           X"$ac_file" : 'X\(/\)' \| \
# Line 9098 | Line 7271 | echo X"$ac_file" |
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; }
9117 <          /^X\(\/\/\)$/{ s//\1/; q; }
9118 <          /^X\(\/\).*/{ s//\1/; q; }
9119 <          s/.*/./; q'`
9120 <    done
9121 <    test ! -n "$as_dirs" || mkdir $as_dirs
9122 <  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9123 < echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9124 <   { (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 9131 | 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 9142 | 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 ||
9157 < $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
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\(/\)' \| \
# Line 9165 | Line 7330 | echo X"$ac_dest" |
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"
7335 <  else
7336 <    as_dir="$ac_dest_dir"
9172 <    as_dirs=
9173 <    while test ! -d "$as_dir"; do
9174 <      as_dirs="$as_dir $as_dirs"
9175 <      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9176 < $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9177 <         X"$as_dir" : 'X\(//\)[^/]' \| \
9178 <         X"$as_dir" : 'X\(//\)$' \| \
9179 <         X"$as_dir" : 'X\(/\)' \| \
9180 <         .     : '\(.\)' 2>/dev/null ||
9181 < echo X"$as_dir" |
9182 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9183 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9184 <          /^X\(\/\/\)$/{ s//\1/; q; }
9185 <          /^X\(\/\).*/{ s//\1/; q; }
9186 <          s/.*/./; q'`
9187 <    done
9188 <    test ! -n "$as_dirs" || mkdir $as_dirs
9189 <  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
9190 < echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
9191 <   { (exit 1); exit 1; }; }; }
9192 <
9193 <  ac_builddir=.
9194 <
9195 < if test "$ac_dest_dir" != .; then
9196 <  ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
9197 <  # A "../" for each directory in $ac_dir_suffix.
9198 <  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9199 < else
9200 <  ac_dir_suffix= ac_top_builddir=
9201 < fi
9202 <
9203 < case $srcdir in
9204 <  .)  # No --srcdir option.  We are building in place.
9205 <    ac_srcdir=.
9206 <    if test -z "$ac_top_builddir"; then
9207 <       ac_top_srcdir=.
9208 <    else
9209 <       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9210 <    fi ;;
9211 <  [\\/]* | ?:[\\/]* )  # Absolute path.
9212 <    ac_srcdir=$srcdir$ac_dir_suffix;
9213 <    ac_top_srcdir=$srcdir ;;
9214 <  *) # Relative path.
9215 <    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9216 <    ac_top_srcdir=$ac_top_builddir$srcdir ;;
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 < # Don't blindly perform a `cd "$ac_dest_dir"/$ac_foo && pwd` since $ac_foo can be
7339 < # absolute.
7340 < ac_abs_builddir=`cd "$ac_dest_dir" && cd $ac_builddir && pwd`
7341 < ac_abs_top_builddir=`cd "$ac_dest_dir" && cd ${ac_top_builddir}. && pwd`
7342 < ac_abs_srcdir=`cd "$ac_dest_dir" && cd $ac_srcdir && pwd`
7343 < ac_abs_top_srcdir=`cd "$ac_dest_dir" && cd $ac_top_srcdir && pwd`
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 +    ac_dest_dir_suffix= ac_dots=
7355 +  fi
7356  
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
9236 < 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  
9248
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 9256 | 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=:
9259  ac_config_status_args=
9260  test "$silent" = yes &&
9261    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