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 2029 by gezelter, Tue Feb 15 15:17:01 2005 UTC vs.
Revision 2190 by gezelter, Wed Apr 13 22:30:22 2005 UTC

# Line 1 | Line 1
1   #! /bin/sh
2   # Guess values for system-dependent variables and create Makefiles.
3 < # Generated by Autoconf 2.50 for OOPSE 2.0.
3 > # Generated by GNU Autoconf 2.59 for OOPSE 2.0.
4   #
5   # Report bugs to <gezelter@nd.edu>.
6   #
7 < # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8 < # Free Software Foundation, Inc.
7 > # Copyright (C) 2003 Free Software Foundation, Inc.
8   # This configure script is free software; the Free Software Foundation
9   # gives unlimited permission to copy, distribute and modify it.
10 + ## --------------------- ##
11 + ## M4sh Initialization.  ##
12 + ## --------------------- ##
13  
14   # Be Bourne compatible
15   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16    emulate sh
17    NULLCMD=:
18 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 +  # is contrary to our usage.  Disable this feature.
20 +  alias -g '${1+"$@"}'='"$@"'
21   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22    set -o posix
23   fi
24 + DUALCASE=1; export DUALCASE # for MKS sh
25  
26 + # Support unset when possible.
27 + if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28 +  as_unset=unset
29 + else
30 +  as_unset=false
31 + fi
32 +
33 +
34 + # Work around bugs in pre-3.0 UWIN ksh.
35 + $as_unset ENV MAIL MAILPATH
36 + PS1='$ '
37 + PS2='> '
38 + PS4='+ '
39 +
40 + # NLS nuisances.
41 + for as_var in \
42 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 +  LC_TELEPHONE LC_TIME
45 + do
46 +  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 +    eval $as_var=C; export $as_var
48 +  else
49 +    $as_unset $as_var
50 +  fi
51 + done
52 +
53 + # Required to use basename.
54 + if expr a : '\(a\)' >/dev/null 2>&1; then
55 +  as_expr=expr
56 + else
57 +  as_expr=false
58 + fi
59 +
60 + if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 +  as_basename=basename
62 + else
63 +  as_basename=false
64 + fi
65 +
66 +
67   # Name of the executable.
68 < as_me=`echo "$0" |sed 's,.*[\\/],,'`
68 > as_me=`$as_basename "$0" ||
69 > $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 >         X"$0" : 'X\(//\)$' \| \
71 >         X"$0" : 'X\(/\)$' \| \
72 >         .     : '\(.\)' 2>/dev/null ||
73 > echo X/"$0" |
74 >    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 >          /^X\/\(\/\/\)$/{ s//\1/; q; }
76 >          /^X\/\(\/\).*/{ s//\1/; q; }
77 >          s/.*/./; q'`
78  
79 +
80 + # PATH needs CR, and LINENO needs CR and PATH.
81 + # Avoid depending upon Character Ranges.
82 + as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 + as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 + as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 + as_cr_digits='0123456789'
86 + as_cr_alnum=$as_cr_Letters$as_cr_digits
87 +
88 + # The user is always right.
89 + if test "${PATH_SEPARATOR+set}" != set; then
90 +  echo "#! /bin/sh" >conf$$.sh
91 +  echo  "exit 0"   >>conf$$.sh
92 +  chmod +x conf$$.sh
93 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 +    PATH_SEPARATOR=';'
95 +  else
96 +    PATH_SEPARATOR=:
97 +  fi
98 +  rm -f conf$$.sh
99 + fi
100 +
101 +
102 +  as_lineno_1=$LINENO
103 +  as_lineno_2=$LINENO
104 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
106 +  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107 +  # Find who we are.  Look in the path if we contain no path at all
108 +  # relative or not.
109 +  case $0 in
110 +    *[\\/]* ) as_myself=$0 ;;
111 +    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 + for as_dir in $PATH
113 + do
114 +  IFS=$as_save_IFS
115 +  test -z "$as_dir" && as_dir=.
116 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 + done
118 +
119 +       ;;
120 +  esac
121 +  # We did not find ourselves, most probably we were run as `sh COMMAND'
122 +  # in which case we are not to be found in the path.
123 +  if test "x$as_myself" = x; then
124 +    as_myself=$0
125 +  fi
126 +  if test ! -f "$as_myself"; then
127 +    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 +   { (exit 1); exit 1; }; }
129 +  fi
130 +  case $CONFIG_SHELL in
131 +  '')
132 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 + for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 + do
135 +  IFS=$as_save_IFS
136 +  test -z "$as_dir" && as_dir=.
137 +  for as_base in sh bash ksh sh5; do
138 +         case $as_dir in
139 +         /*)
140 +           if ("$as_dir/$as_base" -c '
141 +  as_lineno_1=$LINENO
142 +  as_lineno_2=$LINENO
143 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
145 +  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146 +             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 +             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 +             CONFIG_SHELL=$as_dir/$as_base
149 +             export CONFIG_SHELL
150 +             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 +           fi;;
152 +         esac
153 +       done
154 + done
155 + ;;
156 +  esac
157 +
158 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 +  # uniformly replaced by the line number.  The first 'sed' inserts a
160 +  # line-number line before each line; the second 'sed' does the real
161 +  # work.  The second script uses 'N' to pair each line-number line
162 +  # with the numbered line, and appends trailing '-' during
163 +  # substitution so that $LINENO is not a special case at line end.
164 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 +  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166 +  sed '=' <$as_myself |
167 +    sed '
168 +      N
169 +      s,$,-,
170 +      : loop
171 +      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 +      t loop
173 +      s,-$,,
174 +      s,^['$as_cr_digits']*\n,,
175 +    ' >$as_me.lineno &&
176 +  chmod +x $as_me.lineno ||
177 +    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 +   { (exit 1); exit 1; }; }
179 +
180 +  # Don't try to exec as it changes $[0], causing all sort of problems
181 +  # (the dirname of $[0] is not the place where we might find the
182 +  # original and so on.  Autoconf is especially sensible to this).
183 +  . ./$as_me.lineno
184 +  # Exit status is that of the last command.
185 +  exit
186 + }
187 +
188 +
189 + case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 +  *c*,-n*) ECHO_N= ECHO_C='
191 + ' ECHO_T='      ' ;;
192 +  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 +  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 + esac
195 +
196   if expr a : '\(a\)' >/dev/null 2>&1; then
197    as_expr=expr
198   else
# Line 44 | Line 217 | as_executable_p="test -f"
217   fi
218   rm -f conf$$ conf$$.exe conf$$.file
219  
220 < as_executable_p="test -f"
221 <
49 < # Support unset when possible.
50 < if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
51 <  as_unset=unset
220 > if mkdir -p . 2>/dev/null; then
221 >  as_mkdir_p=:
222   else
223 <  as_unset=false
223 >  test -d ./-p && rmdir ./-p
224 >  as_mkdir_p=false
225   fi
226  
227 < # NLS nuisances.
57 < $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
58 < $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
59 < $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
60 < $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
61 < $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
62 < $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
63 < $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
64 < $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
227 > as_executable_p="test -f"
228  
229 + # Sed expression to map a string onto a valid CPP name.
230 + as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231 +
232 + # Sed expression to map a string onto a valid variable name.
233 + as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 +
235 +
236   # IFS
237   # We need space, tab and new line, in precisely that order.
238   as_nl='
# Line 70 | Line 240 | $as_unset CDPATH || test "${CDPATH+set}" != set || { C
240   IFS="   $as_nl"
241  
242   # CDPATH.
243 < $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
243 > $as_unset CDPATH
244  
245 +
246   # Name of the host.
247   # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248   # so uname gets run too.
# Line 83 | Line 254 | cross_compiling=no
254   # Initializations.
255   #
256   ac_default_prefix=/usr/local
257 + ac_config_libobj_dir=.
258   cross_compiling=no
259   subdirs=
260 < MFLAGS= MAKEFLAGS=
260 > MFLAGS=
261 > MAKEFLAGS=
262   SHELL=${CONFIG_SHELL-/bin/sh}
263  
264   # Maximum number of lines to put in a shell here document.
# Line 93 | Line 266 | SHELL=${CONFIG_SHELL-/bin/sh}
266   # only ac_max_sed_lines should be used.
267   : ${ac_max_here_lines=38}
268  
269 < # Avoid depending upon Character Ranges.
270 < ac_cr_az='abcdefghijklmnopqrstuvwxyz'
271 < ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
272 < ac_cr_09='0123456789'
273 < ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09
269 > # Identity of this package.
270 > PACKAGE_NAME='OOPSE'
271 > PACKAGE_TARNAME='oopse'
272 > PACKAGE_VERSION='2.0'
273 > PACKAGE_STRING='OOPSE 2.0'
274 > PACKAGE_BUGREPORT='gezelter@nd.edu'
275  
102 # Sed expression to map a string onto a valid sh and CPP variable names.
103 ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g"
104 ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g"
105
276   ac_unique_file="src/applications/oopse/oopse.cpp"
277   ac_default_prefix="/usr/local"
278 + # Factoring default headers for most tests.
279 + ac_includes_default="\
280 + #include <stdio.h>
281 + #if HAVE_SYS_TYPES_H
282 + # include <sys/types.h>
283 + #endif
284 + #if HAVE_SYS_STAT_H
285 + # include <sys/stat.h>
286 + #endif
287 + #if STDC_HEADERS
288 + # include <stdlib.h>
289 + # include <stddef.h>
290 + #else
291 + # if HAVE_STDLIB_H
292 + #  include <stdlib.h>
293 + # endif
294 + #endif
295 + #if HAVE_STRING_H
296 + # if !STDC_HEADERS && HAVE_MEMORY_H
297 + #  include <memory.h>
298 + # endif
299 + # include <string.h>
300 + #endif
301 + #if HAVE_STRINGS_H
302 + # include <strings.h>
303 + #endif
304 + #if HAVE_INTTYPES_H
305 + # include <inttypes.h>
306 + #else
307 + # if HAVE_STDINT_H
308 + #  include <stdint.h>
309 + # endif
310 + #endif
311 + #if HAVE_UNISTD_H
312 + # include <unistd.h>
313 + #endif"
314  
315 + ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI CXXCPP USE_CGAL CGAL_INC_DIR CGAL_LIB_DIR CGAL_RLIB_DIR CGAL_DEFINES CGAL_CXXFLAGS CGAL_LIBS DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS'
316 + ac_subst_files=''
317 +
318   # Initialize some variables set by options.
319   ac_init_help=
320   ac_init_version=false
# Line 144 | Line 353 | mandir='${prefix}/man'
353   infodir='${prefix}/info'
354   mandir='${prefix}/man'
355  
147 # Identity of this package.
148 PACKAGE_NAME='OOPSE'
149 PACKAGE_TARNAME='oopse'
150 PACKAGE_VERSION='2.0'
151 PACKAGE_STRING='OOPSE 2.0'
152 PACKAGE_BUGREPORT='gezelter@nd.edu'
153
356   ac_prev=
357   for ac_option
358   do
# Line 196 | Line 398 | do
398    -disable-* | --disable-*)
399      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400      # Reject names that are not valid shell variable names.
401 <    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
401 >    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403     { (exit 1); exit 1; }; }
404      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
# Line 205 | Line 407 | do
407    -enable-* | --enable-*)
408      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409      # Reject names that are not valid shell variable names.
410 <    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
410 >    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412     { (exit 1); exit 1; }; }
413      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
# Line 283 | Line 485 | do
485      with_fp=no ;;
486  
487    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 <  | --no-cr | --no-c)
488 >  | --no-cr | --no-c | -n)
489      no_create=yes ;;
490  
491    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
# Line 387 | Line 589 | do
589    -with-* | --with-*)
590      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591      # Reject names that are not valid shell variable names.
592 <    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
592 >    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593        { echo "$as_me: error: invalid package name: $ac_package" >&2
594     { (exit 1); exit 1; }; }
595      ac_package=`echo $ac_package| sed 's/-/_/g'`
# Line 400 | Line 602 | do
602    -without-* | --without-*)
603      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604      # Reject names that are not valid shell variable names.
605 <    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
605 >    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606        { echo "$as_me: error: invalid package name: $ac_package" >&2
607     { (exit 1); exit 1; }; }
608      ac_package=`echo $ac_package | sed 's/-/_/g'`
# Line 432 | Line 634 | Try \`$0 --help' for more information." >&2
634    *=*)
635      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636      # Reject names that are not valid shell variable names.
637 <    expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null &&
637 >    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638        { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639     { (exit 1); exit 1; }; }
640      ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
# Line 442 | Line 644 | Try \`$0 --help' for more information." >&2
644    *)
645      # FIXME: should be removed in autoconf 3.0.
646      echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 <    expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null &&
647 >    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648        echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
650      ;;
# Line 457 | Line 659 | for ac_var in bindir sbindir libexecdir datadir syscon
659   fi
660  
661   # Be sure to have absolute paths.
662 + for ac_var in exec_prefix prefix
663 + do
664 +  eval ac_val=$`echo $ac_var`
665 +  case $ac_val in
666 +    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667 +    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 +   { (exit 1); exit 1; }; };;
669 +  esac
670 + done
671 +
672 + # Be sure to have absolute paths.
673   for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 <              localstatedir libdir includedir oldincludedir infodir mandir \
462 <              exec_prefix prefix
674 >              localstatedir libdir includedir oldincludedir infodir mandir
675   do
676    eval ac_val=$`echo $ac_var`
677    case $ac_val in
678      [\\/$]* | ?:[\\/]* ) ;;
679 <    NONE ) ;;
468 <    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
679 >    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680     { (exit 1); exit 1; }; };;
681    esac
682   done
683  
684   # There might be people who depend on the old broken behavior: `$host'
685   # used to hold the argument of --host etc.
686 + # FIXME: To remove some day.
687   build=$build_alias
688   host=$host_alias
689   target=$target_alias
690  
691 < # FIXME: should be removed in autoconf 3.0.
691 > # FIXME: To remove some day.
692   if test "x$host_alias" != x; then
693    if test "x$build_alias" = x; then
694      cross_compiling=maybe
# Line 492 | Line 704 | test "$silent" = yes && exec 6>/dev/null
704  
705   test "$silent" = yes && exec 6>/dev/null
706  
707 +
708   # Find the source files, if location was not specified.
709   if test -z "$srcdir"; then
710    ac_srcdir_defaulted=yes
711    # Try the directory containing this script, then its parent.
712 <  ac_prog=$0
713 <  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
714 <  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
712 >  ac_confdir=`(dirname "$0") 2>/dev/null ||
713 > $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 >         X"$0" : 'X\(//\)[^/]' \| \
715 >         X"$0" : 'X\(//\)$' \| \
716 >         X"$0" : 'X\(/\)' \| \
717 >         .     : '\(.\)' 2>/dev/null ||
718 > echo X"$0" |
719 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 >          /^X\(\/\/\)$/{ s//\1/; q; }
722 >          /^X\(\/\).*/{ s//\1/; q; }
723 >          s/.*/./; q'`
724    srcdir=$ac_confdir
725    if test ! -r $srcdir/$ac_unique_file; then
726      srcdir=..
# Line 508 | Line 730 | if test ! -r $srcdir/$ac_unique_file; then
730   fi
731   if test ! -r $srcdir/$ac_unique_file; then
732    if test "$ac_srcdir_defaulted" = yes; then
733 <    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
733 >    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734     { (exit 1); exit 1; }; }
735    else
736 <    { echo "$as_me: error: cannot find sources in $srcdir" >&2
736 >    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737     { (exit 1); exit 1; }; }
738    fi
739   fi
740 + (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741 +  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 +   { (exit 1); exit 1; }; }
743   srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744   ac_env_build_alias_set=${build_alias+set}
745   ac_env_build_alias_value=$build_alias
# Line 564 | Line 789 | ac_cv_env_CPP_value=$CPP
789   ac_env_CPP_value=$CPP
790   ac_cv_env_CPP_set=${CPP+set}
791   ac_cv_env_CPP_value=$CPP
792 + ac_env_CXXCPP_set=${CXXCPP+set}
793 + ac_env_CXXCPP_value=$CXXCPP
794 + ac_cv_env_CXXCPP_set=${CXXCPP+set}
795 + ac_cv_env_CXXCPP_value=$CXXCPP
796  
797   #
798   # Report the --help message.
# Line 571 | Line 800 | if test "$ac_init_help" = "long"; then
800   if test "$ac_init_help" = "long"; then
801    # Omit some internal or obsolete options to make the list less imposing.
802    # This message is too long to be a string in the A/UX 3.1 sh.
803 <  cat <<EOF
803 >  cat <<_ACEOF
804   \`configure' configures OOPSE 2.0 to adapt to many kinds of systems.
805  
806   Usage: $0 [OPTION]... [VAR=VALUE]...
# Line 592 | Line 821 | EOF
821    -n, --no-create         do not create output files
822        --srcdir=DIR        find the sources in DIR [configure dir or \`..']
823  
824 < EOF
824 > _ACEOF
825  
826 <  cat <<EOF
826 >  cat <<_ACEOF
827   Installation directories:
828    --prefix=PREFIX         install architecture-independent files in PREFIX
829 <                          [$ac_default_prefix]
829 >                          [$ac_default_prefix]
830    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
831 <                          [PREFIX]
831 >                          [PREFIX]
832  
833   By default, \`make install' will install all the files in
834   \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
# Line 621 | Line 850 | EOF
850    --oldincludedir=DIR    C header files for non-gcc [/usr/include]
851    --infodir=DIR          info documentation [PREFIX/info]
852    --mandir=DIR           man documentation [PREFIX/man]
853 < EOF
853 > _ACEOF
854  
855 <  cat <<\EOF
855 >  cat <<\_ACEOF
856  
857   System types:
858    --build=BUILD     configure for building on BUILD [guessed]
859 <  --host=HOST       build programs to run on HOST [BUILD]
860 < EOF
859 >  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
860 > _ACEOF
861   fi
862  
863   if test -n "$ac_init_help"; then
864    case $ac_init_help in
865       short | recursive ) echo "Configuration of OOPSE 2.0:";;
866     esac
867 <  cat <<\EOF
867 >  cat <<\_ACEOF
868  
869   Optional Features:
870    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
# Line 651 | Line 880 | Optional Packages:
880    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
881    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
882    --with-mpi=<prefix>     compile with MPI installed in <prefix> [default=no]
883 <  --with-sprng=<prefix>   compile with SPRNG installed in <prefix>
655 <                          [default=/usr/local]
656 <  --with-mkl              Do we want MKL will check /usr/local/intel/mkl61 /opt/intel/mkl61
883 >  --with-cgal-makefile=FILE  CGAL makefile that should be used
884  
885   Some influential environment variables:
886    CC          C compiler command
# Line 667 | Line 894 | Some influential environment variables:
894    F90         Fortran 90 compiler command
895    F90FLAGS    Fortran 90 compiler flags
896    CPP         C preprocessor
897 +  CXXCPP      C++ preprocessor
898  
899   Use these variables to override the choices made by `configure' or to help
900   it to find libraries and programs with nonstandard names/locations.
901  
902   Report bugs to <gezelter@nd.edu>.
903 < EOF
903 > _ACEOF
904   fi
905  
906   if test "$ac_init_help" = "recursive"; then
907    # If there are subdirs, report their specific --help.
908    ac_popdir=`pwd`
909 <  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
910 <    cd $ac_subdir
911 <    # A "../" for each directory in /$ac_subdir.
684 <    ac_dots=`echo $ac_subdir |
685 <             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
909 >  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
910 >    test -d $ac_dir || continue
911 >    ac_builddir=.
912  
913 <    case $srcdir in
914 <    .) # No --srcdir option.  We are building in place.
915 <      ac_sub_srcdir=$srcdir ;;
916 <    [\\/]* | ?:[\\/]* ) # Absolute path.
917 <      ac_sub_srcdir=$srcdir/$ac_subdir ;;
918 <    *) # Relative path.
919 <      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
694 <    esac
913 > if test "$ac_dir" != .; then
914 >  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
915 >  # A "../" for each directory in $ac_dir_suffix.
916 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
917 > else
918 >  ac_dir_suffix= ac_top_builddir=
919 > fi
920  
921 <    # Check for guested configure; otherwise get Cygnus style configure.
922 <    if test -f $ac_sub_srcdir/configure.gnu; then
923 <      echo
924 <      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
925 <    elif test -f $ac_sub_srcdir/configure; then
921 > case $srcdir in
922 >  .)  # No --srcdir option.  We are building in place.
923 >    ac_srcdir=.
924 >    if test -z "$ac_top_builddir"; then
925 >       ac_top_srcdir=.
926 >    else
927 >       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
928 >    fi ;;
929 >  [\\/]* | ?:[\\/]* )  # Absolute path.
930 >    ac_srcdir=$srcdir$ac_dir_suffix;
931 >    ac_top_srcdir=$srcdir ;;
932 >  *) # Relative path.
933 >    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
934 >    ac_top_srcdir=$ac_top_builddir$srcdir ;;
935 > esac
936 >
937 > # Do not use `cd foo && pwd` to compute absolute paths, because
938 > # the directories may not exist.
939 > case `pwd` in
940 > .) ac_abs_builddir="$ac_dir";;
941 > *)
942 >  case "$ac_dir" in
943 >  .) ac_abs_builddir=`pwd`;;
944 >  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
945 >  *) ac_abs_builddir=`pwd`/"$ac_dir";;
946 >  esac;;
947 > esac
948 > case $ac_abs_builddir in
949 > .) ac_abs_top_builddir=${ac_top_builddir}.;;
950 > *)
951 >  case ${ac_top_builddir}. in
952 >  .) ac_abs_top_builddir=$ac_abs_builddir;;
953 >  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
954 >  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
955 >  esac;;
956 > esac
957 > case $ac_abs_builddir in
958 > .) ac_abs_srcdir=$ac_srcdir;;
959 > *)
960 >  case $ac_srcdir in
961 >  .) ac_abs_srcdir=$ac_abs_builddir;;
962 >  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
963 >  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
964 >  esac;;
965 > esac
966 > case $ac_abs_builddir in
967 > .) ac_abs_top_srcdir=$ac_top_srcdir;;
968 > *)
969 >  case $ac_top_srcdir in
970 >  .) ac_abs_top_srcdir=$ac_abs_builddir;;
971 >  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
972 >  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
973 >  esac;;
974 > esac
975 >
976 >    cd $ac_dir
977 >    # Check for guested configure; otherwise get Cygnus style configure.
978 >    if test -f $ac_srcdir/configure.gnu; then
979        echo
980 <      $SHELL $ac_sub_srcdir/configure  --help=recursive
981 <    elif test -f $ac_sub_srcdir/configure.ac ||
704 <           test -f $ac_sub_srcdir/configure.in; then
980 >      $SHELL $ac_srcdir/configure.gnu  --help=recursive
981 >    elif test -f $ac_srcdir/configure; then
982        echo
983 +      $SHELL $ac_srcdir/configure  --help=recursive
984 +    elif test -f $ac_srcdir/configure.ac ||
985 +           test -f $ac_srcdir/configure.in; then
986 +      echo
987        $ac_configure --help
988      else
989 <      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
989 >      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
990      fi
991      cd $ac_popdir
992    done
# Line 713 | Line 994 | if $ac_init_version; then
994  
995   test -n "$ac_init_help" && exit 0
996   if $ac_init_version; then
997 <  cat <<\EOF
997 >  cat <<\_ACEOF
998   OOPSE configure 2.0
999 < generated by GNU Autoconf 2.50
999 > generated by GNU Autoconf 2.59
1000  
1001 < Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
721 < Free Software Foundation, Inc.
1001 > Copyright (C) 2003 Free Software Foundation, Inc.
1002   This configure script is free software; the Free Software Foundation
1003   gives unlimited permission to copy, distribute and modify it.
1004 < EOF
1004 > _ACEOF
1005    exit 0
1006   fi
1007   exec 5>config.log
1008 < cat >&5 <<EOF
1008 > cat >&5 <<_ACEOF
1009   This file contains any messages produced by compilers while
1010   running configure, to aid debugging if configure makes a mistake.
1011  
1012   It was created by OOPSE $as_me 2.0, which was
1013 < generated by GNU Autoconf 2.50.  Invocation command line was
1013 > generated by GNU Autoconf 2.59.  Invocation command line was
1014  
1015    $ $0 $@
1016  
1017 < EOF
1017 > _ACEOF
1018   {
1019   cat <<_ASUNAME
1020 < ## ---------- ##
1021 < ## Platform.  ##
1022 < ## ---------- ##
1020 > ## --------- ##
1021 > ## Platform. ##
1022 > ## --------- ##
1023  
1024   hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1025   uname -m = `(uname -m) 2>/dev/null || echo unknown`
# Line 758 | Line 1038 | PATH = $PATH
1038   /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1039   /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1040  
761 PATH = $PATH
762
1041   _ASUNAME
1042 +
1043 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1044 + for as_dir in $PATH
1045 + do
1046 +  IFS=$as_save_IFS
1047 +  test -z "$as_dir" && as_dir=.
1048 +  echo "PATH: $as_dir"
1049 + done
1050 +
1051   } >&5
1052  
1053 < cat >&5 <<EOF
767 < ## ------------ ##
768 < ## Core tests.  ##
769 < ## ------------ ##
1053 > cat >&5 <<_ACEOF
1054  
771 EOF
1055  
1056 + ## ----------- ##
1057 + ## Core tests. ##
1058 + ## ----------- ##
1059 +
1060 + _ACEOF
1061 +
1062 +
1063   # Keep a trace of the command line.
1064   # Strip out --no-create and --no-recursion so they do not pile up.
1065 + # Strip out --silent because we don't want to record it for future runs.
1066   # Also quote any args containing shell meta-characters.
1067 + # Make two passes to allow for proper duplicate-argument suppression.
1068   ac_configure_args=
1069 + ac_configure_args0=
1070 + ac_configure_args1=
1071   ac_sep=
1072 < for ac_arg
1073 < do
1074 <  case $ac_arg in
1075 <  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1076 <  | --no-cr | --no-c) ;;
1077 <  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1078 <  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
1079 <  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1080 <    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1081 <    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1082 <    ac_sep=" " ;;
1083 <  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
1084 <     ac_sep=" " ;;
1085 <  esac
1086 <  # Get rid of the leading space.
1072 > ac_must_keep_next=false
1073 > for ac_pass in 1 2
1074 > do
1075 >  for ac_arg
1076 >  do
1077 >    case $ac_arg in
1078 >    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1079 >    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1080 >    | -silent | --silent | --silen | --sile | --sil)
1081 >      continue ;;
1082 >    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1083 >      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1084 >    esac
1085 >    case $ac_pass in
1086 >    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1087 >    2)
1088 >      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1089 >      if test $ac_must_keep_next = true; then
1090 >        ac_must_keep_next=false # Got value, back to normal.
1091 >      else
1092 >        case $ac_arg in
1093 >          *=* | --config-cache | -C | -disable-* | --disable-* \
1094 >          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1095 >          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1096 >          | -with-* | --with-* | -without-* | --without-* | --x)
1097 >            case "$ac_configure_args0 " in
1098 >              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1099 >            esac
1100 >            ;;
1101 >          -* ) ac_must_keep_next=true ;;
1102 >        esac
1103 >      fi
1104 >      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1105 >      # Get rid of the leading space.
1106 >      ac_sep=" "
1107 >      ;;
1108 >    esac
1109 >  done
1110   done
1111 + $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1112 + $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1113  
1114   # When interrupted or exit'd, cleanup temporary files, and complete
1115   # config.log.  We remove comments because anyway the quotes in there
1116   # would cause problems or look ugly.
1117 + # WARNING: Be sure not to use single quotes in there, as some shells,
1118 + # such as our DU 5.0 friend, will then `close' the trap.
1119   trap 'exit_status=$?
1120    # Save into config.log some information that might help in debugging.
1121 <  echo >&5
1122 <  echo "## ----------------- ##" >&5
1123 <  echo "## Cache variables.  ##" >&5
1124 <  echo "## ----------------- ##" >&5
1125 <  echo >&5
1126 <  # The following way of writing the cache mishandles newlines in values,
1121 >  {
1122 >    echo
1123 >
1124 >    cat <<\_ASBOX
1125 > ## ---------------- ##
1126 > ## Cache variables. ##
1127 > ## ---------------- ##
1128 > _ASBOX
1129 >    echo
1130 >    # The following way of writing the cache mishandles newlines in values,
1131   {
1132    (set) 2>&1 |
1133      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1134      *ac_space=\ *)
1135        sed -n \
1136 <        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1137 <          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1136 >        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1137 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1138        ;;
1139      *)
1140        sed -n \
1141 <        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1141 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1142        ;;
1143      esac;
1144 < } >&5
1145 <  sed "/^$/d" confdefs.h >conftest.log
1146 <  if test -s conftest.log; then
1147 <    echo >&5
1148 <    echo "## ------------ ##" >&5
1149 <    echo "## confdefs.h.  ##" >&5
1150 <    echo "## ------------ ##" >&5
1151 <    echo >&5
1152 <    cat conftest.log >&5
1153 <  fi
1154 <  (echo; echo) >&5
1155 <  test "$ac_signal" != 0 &&
1156 <    echo "$as_me: caught signal $ac_signal" >&5
1157 <  echo "$as_me: exit $exit_status" >&5
1158 <  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
1144 > }
1145 >    echo
1146 >
1147 >    cat <<\_ASBOX
1148 > ## ----------------- ##
1149 > ## Output variables. ##
1150 > ## ----------------- ##
1151 > _ASBOX
1152 >    echo
1153 >    for ac_var in $ac_subst_vars
1154 >    do
1155 >      eval ac_val=$`echo $ac_var`
1156 >      echo "$ac_var='"'"'$ac_val'"'"'"
1157 >    done | sort
1158 >    echo
1159 >
1160 >    if test -n "$ac_subst_files"; then
1161 >      cat <<\_ASBOX
1162 > ## ------------- ##
1163 > ## Output files. ##
1164 > ## ------------- ##
1165 > _ASBOX
1166 >      echo
1167 >      for ac_var in $ac_subst_files
1168 >      do
1169 >        eval ac_val=$`echo $ac_var`
1170 >        echo "$ac_var='"'"'$ac_val'"'"'"
1171 >      done | sort
1172 >      echo
1173 >    fi
1174 >
1175 >    if test -s confdefs.h; then
1176 >      cat <<\_ASBOX
1177 > ## ----------- ##
1178 > ## confdefs.h. ##
1179 > ## ----------- ##
1180 > _ASBOX
1181 >      echo
1182 >      sed "/^$/d" confdefs.h | sort
1183 >      echo
1184 >    fi
1185 >    test "$ac_signal" != 0 &&
1186 >      echo "$as_me: caught signal $ac_signal"
1187 >    echo "$as_me: exit $exit_status"
1188 >  } >&5
1189 >  rm -f core *.core &&
1190 >  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1191      exit $exit_status
1192       ' 0
1193   for ac_signal in 1 2 13 15; do
1194 <  trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal
1194 >  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1195   done
1196   ac_signal=0
1197  
# Line 843 | Line 1200 | echo >confdefs.h
1200   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1201   echo >confdefs.h
1202  
1203 + # Predefined preprocessor variables.
1204 +
1205 + cat >>confdefs.h <<_ACEOF
1206 + #define PACKAGE_NAME "$PACKAGE_NAME"
1207 + _ACEOF
1208 +
1209 +
1210 + cat >>confdefs.h <<_ACEOF
1211 + #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1212 + _ACEOF
1213 +
1214 +
1215 + cat >>confdefs.h <<_ACEOF
1216 + #define PACKAGE_VERSION "$PACKAGE_VERSION"
1217 + _ACEOF
1218 +
1219 +
1220 + cat >>confdefs.h <<_ACEOF
1221 + #define PACKAGE_STRING "$PACKAGE_STRING"
1222 + _ACEOF
1223 +
1224 +
1225 + cat >>confdefs.h <<_ACEOF
1226 + #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1227 + _ACEOF
1228 +
1229 +
1230   # Let the site file select an alternate cache file if it wants to.
1231   # Prefer explicitly selected file to automatically selected ones.
1232   if test -z "$CONFIG_SITE"; then
# Line 854 | Line 1238 | for ac_site_file in $CONFIG_SITE; do
1238   fi
1239   for ac_site_file in $CONFIG_SITE; do
1240    if test -r "$ac_site_file"; then
1241 <    { echo "$as_me:857: loading site script $ac_site_file" >&5
1241 >    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1242   echo "$as_me: loading site script $ac_site_file" >&6;}
1243 <    cat "$ac_site_file" >&5
1243 >    sed 's/^/| /' "$ac_site_file" >&5
1244      . "$ac_site_file"
1245    fi
1246   done
# Line 865 | Line 1249 | if test -r "$cache_file"; then
1249    # Some versions of bash will fail to source /dev/null (special
1250    # files actually), so we avoid doing that.
1251    if test -f "$cache_file"; then
1252 <    { echo "$as_me:868: loading cache $cache_file" >&5
1252 >    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1253   echo "$as_me: loading cache $cache_file" >&6;}
1254      case $cache_file in
1255        [\\/]* | ?:[\\/]* ) . $cache_file;;
# Line 873 | Line 1257 | else
1257      esac
1258    fi
1259   else
1260 <  { echo "$as_me:876: creating cache $cache_file" >&5
1260 >  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1261   echo "$as_me: creating cache $cache_file" >&6;}
1262    >$cache_file
1263   fi
1264  
1265   # Check that the precious variables saved in the cache have kept the same
1266   # value.
1267 < ac_suggest_removing_cache=false
1267 > ac_cache_corrupted=false
1268   for ac_var in `(set) 2>&1 |
1269 <               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1269 >               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1270    eval ac_old_set=\$ac_cv_env_${ac_var}_set
1271    eval ac_new_set=\$ac_env_${ac_var}_set
1272    eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1273    eval ac_new_val="\$ac_env_${ac_var}_value"
1274    case $ac_old_set,$ac_new_set in
1275      set,)
1276 <      { echo "$as_me:892: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1277 < echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1278 <      ac_suggest_removing_cache=: ;;
1276 >      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1277 > echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1278 >      ac_cache_corrupted=: ;;
1279      ,set)
1280 <      { echo "$as_me:896: WARNING: \`$ac_var' was not set in the previous run" >&5
1281 < echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;}
1282 <      ac_suggest_removing_cache=: ;;
1280 >      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1281 > echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1282 >      ac_cache_corrupted=: ;;
1283      ,);;
1284      *)
1285        if test "x$ac_old_val" != "x$ac_new_val"; then
1286 <        { echo "$as_me:902: WARNING: \`$ac_var' has changed since the previous run:" >&5
1287 < echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;}
1288 <        { echo "$as_me:904: WARNING:   former value:  $ac_old_val" >&5
1289 < echo "$as_me: WARNING:   former value:  $ac_old_val" >&2;}
1290 <        { echo "$as_me:906: WARNING:   current value: $ac_new_val" >&5
1291 < echo "$as_me: WARNING:   current value: $ac_new_val" >&2;}
1292 <        ac_suggest_removing_cache=:
1286 >        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1287 > echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1288 >        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1289 > echo "$as_me:   former value:  $ac_old_val" >&2;}
1290 >        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1291 > echo "$as_me:   current value: $ac_new_val" >&2;}
1292 >        ac_cache_corrupted=:
1293        fi;;
1294    esac
1295 +  # Pass precious variables to config.status.
1296 +  if test "$ac_new_set" = set; then
1297 +    case $ac_new_val in
1298 +    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1299 +      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1300 +    *) ac_arg=$ac_var=$ac_new_val ;;
1301 +    esac
1302 +    case " $ac_configure_args " in
1303 +      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1304 +      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1305 +    esac
1306 +  fi
1307   done
1308 < if $ac_suggest_removing_cache; then
1309 <  { echo "$as_me:913: WARNING: changes in the environment can compromise the build" >&5
1310 < echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;}
1311 <  { echo "$as_me:915: WARNING: consider removing $cache_file and starting over" >&5
1312 < echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;}
1308 > if $ac_cache_corrupted; then
1309 >  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1310 > echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1311 >  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1312 > echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1313 >   { (exit 1); exit 1; }; }
1314   fi
1315  
1316   ac_ext=c
# Line 922 | Line 1319 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing;
1319   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1320   ac_compiler_gnu=$ac_cv_c_compiler_gnu
1321  
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
1322  
1323 +
1324 +
1325 +
1326 +
1327 +
1328 +
1329 +
1330 +
1331 +
1332 +
1333 +
1334 +
1335 +
1336 +
1337 +
1338 +
1339 +
1340 +
1341 +
1342 +
1343 +
1344 +
1345 +
1346 +
1347 +
1348   ac_aux_dir=
1349   for ac_dir in ac-tools $srcdir/ac-tools; do
1350    if test -f $ac_dir/install-sh; then
# Line 960 | Line 1362 | if test -z "$ac_aux_dir"; then
1362    fi
1363   done
1364   if test -z "$ac_aux_dir"; then
1365 <  { { echo "$as_me:963: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5
1365 >  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5
1366   echo "$as_me: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&2;}
1367     { (exit 1); exit 1; }; }
1368   fi
# Line 968 | Line 1370 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1370   ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1371   ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1372  
1373 +
1374   # This file is part of Autoconf.                       -*- Autoconf -*-
1375   # Programming languages support.
1376   # Copyright 2000, 2001
# Line 1018 | Line 1421 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1421   # Written by Akim Demaille, Christian Marquardt, Martin Wilks (and probably
1422   # many others).
1423  
1424 +
1425   # Table of Contents:
1426   #
1427   # 1. Language selection
# Line 1053 | Line 1457 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1457   # ACTION-IF-NOT-FOUND.
1458   # _AC_LIST_MEMBER_IF
1459  
1460 +
1461 +
1462   # _AC_LINKER_OPTION(LINKER-OPTIONS, SHELL-VARIABLE)
1463   # -------------------------------------------------
1464   #
# Line 1083 | Line 1489 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1489   # FIXME: Get rid of this macro.
1490   # _AC_LINKER_OPTION
1491  
1492 +
1493 +
1494   ## ----------------------- ##
1495   ## 1. Language selection.  ##
1496   ## ----------------------- ##
# Line 1094 | Line 1502 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1502   # AC_LANG(Fortran 90)
1503   # -------------------
1504  
1505 +
1506 +
1507   # _AC_LANG_ABBREV(Fortran 90)
1508   # ---------------------------
1509  
1510 +
1511 +
1512   # ----------------------------- #
1513   # 1c. The Fortran 95 language.  #
1514   # ----------------------------- #
# Line 1104 | Line 1516 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1516   # AC_LANG(Fortran 95)
1517   # -------------------
1518  
1519 +
1520 +
1521   # _AC_LANG_ABBREV(Fortran 95)
1522   # ---------------------------
1523  
1524 +
1525 +
1526   ## ---------------------- ##
1527   ## 2.Producing programs.  ##
1528   ## ---------------------- ##
# Line 1118 | Line 1534 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1534   # AC_LANG_SOURCE(Fortran 90)(BODY)
1535   # --------------------------------
1536  
1537 +
1538 +
1539   # AC_LANG_PROGRAM(Fortran 90)([PROLOGUE], [BODY])
1540   # -----------------------------------------------
1541  
1542 +
1543   # AC_LANG_CALL(Fortran 90)(PROLOGUE, FUNCTION)
1544   # --------------------------------------------
1545  
1546 +
1547 +
1548   # ------------------------ #
1549   # 2c. Fortran 95 sources.  #
1550   # ------------------------ #
# Line 1131 | Line 1552 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1552   # AC_LANG_SOURCE(Fortran 95)(BODY)
1553   # --------------------------------
1554  
1555 +
1556   # AC_LANG_PROGRAM(Fortran 95)([PROLOGUE], [BODY])
1557   # -----------------------------------------------
1558  
1559 +
1560   # AC_LANG_CALL(Fortran 95)(PROLOGUE, FUNCTION)
1561   # --------------------------------------------
1562  
1563 +
1564 +
1565   ## -------------------------------------------- ##
1566   ## 3. Looking for Compilers and Preprocessors.  ##
1567   ## -------------------------------------------- ##
# Line 1145 | Line 1570 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1570   # 3b. The Fortran 90 compiler.  #
1571   # ----------------------------- #
1572  
1573 +
1574   # AC_LANG_PREPROC(Fortran 90)
1575   # ---------------------------
1576   # Find the Fortran 90 preprocessor.  Must be AC_DEFUN'd to be AC_REQUIRE'able.
1577  
1578 +
1579 +
1580   # AC_LANG_COMPILER(Fortran 90)
1581   # ----------------------------
1582   # Find the Fortran 90 compiler.  Must be AC_DEFUN'd to be
1583   # AC_REQUIRE'able.
1584 +
1585 +
1586  
1587   # AC_PROG_F90([COMPILERS...])
1588   # ---------------------------
# Line 1170 | Line 1600 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1600   # fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha.
1601   # AC_PROG_F90
1602  
1603 +
1604   # ----------------------------- #
1605   # 3c. The Fortran 95 compiler.  #
1606   # ----------------------------- #
1607  
1608 +
1609   # AC_LANG_PREPROC(Fortran 95)
1610   # ---------------------------
1611   # Find the Fortran 95 preprocessor.  Must be AC_DEFUN'd to be AC_REQUIRE'able.
1612  
1613 +
1614 +
1615   # AC_LANG_COMPILER(Fortran 95)
1616   # ----------------------------
1617   # Find the Fortran 95 compiler.  Must be AC_DEFUN'd to be
1618   # AC_REQUIRE'able.
1619  
1620 +
1621 +
1622   # AC_PROG_F95([COMPILERS...])
1623   # ---------------------------
1624   # COMPILERS is a space separated list of Fortran 95 compilers to search
# Line 1196 | Line 1632 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1632   # fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha.
1633   # AC_PROG_F95
1634  
1635 +
1636   ## ------------------------------- ##
1637   ## 4. Compilers' characteristics.  ##
1638   ## ------------------------------- ##
1639  
1640 +
1641   # ---------------------------------------- #
1642   # 4b. Fortan 90 compiler characteristics.  #
1643   # ---------------------------------------- #
1644  
1645 +
1646   # _AC_PROG_F90_V_OUTPUT([FLAG = $ac_cv_prog_f90_v])
1647   # -------------------------------------------------
1648   # Link a trivial Fortran program, compiling with a verbose output FLAG
# Line 1214 | Line 1653 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1653   # space-separated items.
1654   # _AC_PROG_F90_V_OUTPUT
1655  
1656 +
1657   # _AC_PROG_F90_V
1658   # --------------
1659   #
# Line 1223 | Line 1663 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1663   # Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###)
1664   # _AC_PROG_F90_V
1665  
1666 +
1667   # AC_F90_LIBRARY_LDFLAGS
1668   # ----------------------
1669   #
# Line 1250 | Line 1691 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1691   # This macro was copied from the Fortran 77 version by Matthew D. Langston.
1692   # AC_F90_LIBRARY_LDFLAGS
1693  
1694 +
1695   # _AC_F90_NAME_MANGLING
1696   # ---------------------
1697   # Test for the name mangling scheme used by the Fortran 90 compiler.
# Line 1269 | Line 1711 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1711  
1712   # The replacement is empty.
1713  
1714 +
1715 +
1716   # AC_F90_WRAPPERS
1717   # ---------------
1718   # Defines C macros F90_FUNC(name,NAME) and F90_FUNC_(name,NAME) to
# Line 1277 | Line 1721 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1721   # scheme used by the Fortran 90 compiler.
1722   # AC_F90_WRAPPERS
1723  
1724 +
1725   # AC_F90_FUNC(NAME, [SHELLVAR = NAME])
1726   # ------------------------------------
1727   # For a Fortran subroutine of given NAME, define a shell variable
# Line 1284 | Line 1729 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1729   # argument is not supplied, it defaults to NAME.
1730   # AC_F90_FUNC
1731  
1732 +
1733   # ---------------------------------------- #
1734   # 4c. Fortan 95 compiler characteristics.  #
1735   # ---------------------------------------- #
1736  
1737 +
1738   # _AC_PROG_F95_V_OUTPUT([FLAG = $ac_cv_prog_f95_v])
1739   # -------------------------------------------------
1740   # Link a trivial Fortran program, compiling with a verbose output FLAG
# Line 1298 | Line 1745 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1745   # space-separated items.
1746   # _AC_PROG_F95_V_OUTPUT
1747  
1748 +
1749   # _AC_PROG_F95_V
1750   # --------------
1751   #
# Line 1307 | Line 1755 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1755   # Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###)
1756   # _AC_PROG_F95_V
1757  
1758 +
1759   # AC_F95_LIBRARY_LDFLAGS
1760   # ----------------------
1761   #
# Line 1334 | Line 1783 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1783   # This macro was copied from the Fortran 77 version by Matthew D. Langston.
1784   # AC_F95_LIBRARY_LDFLAGS
1785  
1786 +
1787   # _AC_F95_NAME_MANGLING
1788   # ---------------------
1789   # Test for the name mangling scheme used by the Fortran 95 compiler.
# Line 1353 | Line 1803 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1803  
1804   # The replacement is empty.
1805  
1806 +
1807 +
1808   # AC_F95_WRAPPERS
1809   # ---------------
1810   # Defines C macros F95_FUNC(name,NAME) and F95_FUNC_(name,NAME) to
# Line 1361 | Line 1813 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1813   # scheme used by the Fortran 95 compiler.
1814   # AC_F95_WRAPPERS
1815  
1816 +
1817   # AC_F95_FUNC(NAME, [SHELLVAR = NAME])
1818   # ------------------------------------
1819   # For a Fortran subroutine of given NAME, define a shell variable
# Line 1375 | Line 1828 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1828   #
1829   # AC_F90_MODULE_NAMES
1830  
1831 +
1832 +
1833 +
1834 +
1835 +
1836 +
1837 +
1838 +
1839 +
1840 +
1841 +
1842 +
1843 +
1844 +
1845 +
1846 +
1847 +
1848 +
1849 +
1850 +
1851 +
1852 +
1853 +
1854 +
1855 +
1856 +
1857 +
1858 +
1859 +
1860 +
1861 +
1862 +
1863 +
1864 +
1865 +
1866 +
1867 +
1868 +
1869 +
1870 +
1871 +
1872 +
1873 +
1874 +
1875 +
1876 +
1877 +
1878 +
1879 +
1880 +
1881 +
1882 +
1883 +
1884 +
1885 +
1886 +
1887 +
1888 +
1889 +
1890   # set program name
1891   PROGNAME="oopse"
1892  
1893 +
1894   # there are two ways to do debugging.  One with the --enable-debug flag
1895   # and one using the DEBUG environment variable
1896  
# Line 1389 | Line 1902 | cat >>confdefs.h <<\EOF
1902   fi;
1903   if test "${DEBUG}"; then
1904  
1905 < cat >>confdefs.h <<\EOF
1905 > cat >>confdefs.h <<\_ACEOF
1906   #define debug 1
1907 < EOF
1907 > _ACEOF
1908  
1909    msg="$msg, debug mode"
1910   fi
1911  
1912 +
1913   # who am i
1914   # Make sure we can run config.sub.
1915   $ac_config_sub sun4 >/dev/null 2>&1 ||
1916 <  { { echo "$as_me:1402: error: cannot run $ac_config_sub" >&5
1916 >  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1917   echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1918     { (exit 1); exit 1; }; }
1919  
1920 < echo "$as_me:1406: checking build system type" >&5
1920 > echo "$as_me:$LINENO: checking build system type" >&5
1921   echo $ECHO_N "checking build system type... $ECHO_C" >&6
1922   if test "${ac_cv_build+set}" = set; then
1923    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1412 | Line 1926 | test -z "$ac_cv_build_alias" &&
1926   test -z "$ac_cv_build_alias" &&
1927    ac_cv_build_alias=`$ac_config_guess`
1928   test -z "$ac_cv_build_alias" &&
1929 <  { { echo "$as_me:1415: error: cannot guess build type; you must specify one" >&5
1929 >  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1930   echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1931     { (exit 1); exit 1; }; }
1932   ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1933 <  { { echo "$as_me:1419: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1934 < echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1933 >  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1934 > echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1935     { (exit 1); exit 1; }; }
1936  
1937   fi
1938 < echo "$as_me:1424: result: $ac_cv_build" >&5
1938 > echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1939   echo "${ECHO_T}$ac_cv_build" >&6
1940   build=$ac_cv_build
1941   build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1942   build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1943   build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1944  
1945 < echo "$as_me:1431: checking host system type" >&5
1945 >
1946 > echo "$as_me:$LINENO: checking host system type" >&5
1947   echo $ECHO_N "checking host system type... $ECHO_C" >&6
1948   if test "${ac_cv_host+set}" = set; then
1949    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1437 | Line 1952 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1952   test -z "$ac_cv_host_alias" &&
1953    ac_cv_host_alias=$ac_cv_build_alias
1954   ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1955 <  { { echo "$as_me:1440: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1955 >  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1956   echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1957     { (exit 1); exit 1; }; }
1958  
1959   fi
1960 < echo "$as_me:1445: result: $ac_cv_host" >&5
1960 > echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1961   echo "${ECHO_T}$ac_cv_host" >&6
1962   host=$ac_cv_host
1963   host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1964   host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1965   host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1966  
1967 +
1968 +
1969 +
1970 +
1971   ac_ext=c
1972   ac_cpp='$CPP $CPPFLAGS'
1973   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 1459 | Line 1978 | echo "$as_me:1462: checking for $ac_word" >&5
1978    do
1979      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1980   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1981 < echo "$as_me:1462: checking for $ac_word" >&5
1981 > echo "$as_me:$LINENO: checking for $ac_word" >&5
1982   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1983   if test "${ac_cv_prog_CC+set}" = set; then
1984    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1467 | Line 1986 | else
1986    if test -n "$CC"; then
1987    ac_cv_prog_CC="$CC" # Let the user override the test.
1988   else
1989 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
1990 < ac_dummy="$PATH"
1991 < for ac_dir in $ac_dummy; do
1992 <  IFS=$ac_save_IFS
1993 <  test -z "$ac_dir" && ac_dir=.
1994 <  $as_executable_p "$ac_dir/$ac_word" || continue
1995 < ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1996 < echo "$as_me:1477: found $ac_dir/$ac_word" >&5
1997 < break
1989 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1990 > for as_dir in $PATH
1991 > do
1992 >  IFS=$as_save_IFS
1993 >  test -z "$as_dir" && as_dir=.
1994 >  for ac_exec_ext in '' $ac_executable_extensions; do
1995 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1996 >    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1997 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1998 >    break 2
1999 >  fi
2000   done
2001 + done
2002  
2003   fi
2004   fi
2005   CC=$ac_cv_prog_CC
2006   if test -n "$CC"; then
2007 <  echo "$as_me:1485: result: $CC" >&5
2007 >  echo "$as_me:$LINENO: result: $CC" >&5
2008   echo "${ECHO_T}$CC" >&6
2009   else
2010 <  echo "$as_me:1488: result: no" >&5
2010 >  echo "$as_me:$LINENO: result: no" >&5
2011   echo "${ECHO_T}no" >&6
2012   fi
2013  
# Line 1498 | Line 2020 | echo "$as_me:1501: checking for $ac_word" >&5
2020   do
2021    # Extract the first word of "$ac_prog", so it can be a program name with args.
2022   set dummy $ac_prog; ac_word=$2
2023 < echo "$as_me:1501: checking for $ac_word" >&5
2023 > echo "$as_me:$LINENO: checking for $ac_word" >&5
2024   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2025   if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2026    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1506 | Line 2028 | else
2028    if test -n "$ac_ct_CC"; then
2029    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2030   else
2031 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
2032 < ac_dummy="$PATH"
2033 < for ac_dir in $ac_dummy; do
2034 <  IFS=$ac_save_IFS
2035 <  test -z "$ac_dir" && ac_dir=.
2036 <  $as_executable_p "$ac_dir/$ac_word" || continue
2037 < ac_cv_prog_ac_ct_CC="$ac_prog"
2038 < echo "$as_me:1516: found $ac_dir/$ac_word" >&5
2039 < break
2031 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2032 > for as_dir in $PATH
2033 > do
2034 >  IFS=$as_save_IFS
2035 >  test -z "$as_dir" && as_dir=.
2036 >  for ac_exec_ext in '' $ac_executable_extensions; do
2037 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2038 >    ac_cv_prog_ac_ct_CC="$ac_prog"
2039 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2040 >    break 2
2041 >  fi
2042   done
2043 + done
2044  
2045   fi
2046   fi
2047   ac_ct_CC=$ac_cv_prog_ac_ct_CC
2048   if test -n "$ac_ct_CC"; then
2049 <  echo "$as_me:1524: result: $ac_ct_CC" >&5
2049 >  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2050   echo "${ECHO_T}$ac_ct_CC" >&6
2051   else
2052 <  echo "$as_me:1527: result: no" >&5
2052 >  echo "$as_me:$LINENO: result: no" >&5
2053   echo "${ECHO_T}no" >&6
2054   fi
2055  
# Line 1534 | Line 2059 | test -z "$CC" && { { echo "$as_me:1537: error: no acce
2059    CC=$ac_ct_CC
2060   fi
2061  
2062 < test -z "$CC" && { { echo "$as_me:1537: error: no acceptable cc found in \$PATH" >&5
2063 < echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2062 >
2063 > test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2064 > See \`config.log' for more details." >&5
2065 > echo "$as_me: error: no acceptable C compiler found in \$PATH
2066 > See \`config.log' for more details." >&2;}
2067     { (exit 1); exit 1; }; }
2068  
2069 + # Provide some information about the compiler.
2070 + echo "$as_me:$LINENO:" \
2071 +     "checking for C compiler version" >&5
2072 + ac_compiler=`set X $ac_compile; echo $2`
2073 + { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2074 +  (eval $ac_compiler --version </dev/null >&5) 2>&5
2075 +  ac_status=$?
2076 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2077 +  (exit $ac_status); }
2078 + { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2079 +  (eval $ac_compiler -v </dev/null >&5) 2>&5
2080 +  ac_status=$?
2081 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2082 +  (exit $ac_status); }
2083 + { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2084 +  (eval $ac_compiler -V </dev/null >&5) 2>&5
2085 +  ac_status=$?
2086 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2087 +  (exit $ac_status); }
2088 +
2089   cat >conftest.$ac_ext <<_ACEOF
2090 < #line 1542 "configure"
2091 < #include "confdefs.h"
2090 > /* confdefs.h.  */
2091 > _ACEOF
2092 > cat confdefs.h >>conftest.$ac_ext
2093 > cat >>conftest.$ac_ext <<_ACEOF
2094 > /* end confdefs.h.  */
2095  
2096   int
2097   main ()
# Line 1551 | Line 2102 | ac_clean_files="$ac_clean_files a.out a.exe"
2102   }
2103   _ACEOF
2104   ac_clean_files_save=$ac_clean_files
2105 < ac_clean_files="$ac_clean_files a.out a.exe"
2105 > ac_clean_files="$ac_clean_files a.out a.exe b.out"
2106   # Try to create an executable without -o first, disregard a.out.
2107 < # It will help us diagnose broken compiler, and finding out an intuition
2107 > # It will help us diagnose broken compilers, and finding out an intuition
2108   # of exeext.
2109 < echo "$as_me:1558: checking for C compiler default output" >&5
2110 < echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2109 > echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2110 > echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2111   ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2112 < if { (eval echo "$as_me:1561: \"$ac_link_default\"") >&5
2112 > if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2113    (eval $ac_link_default) 2>&5
2114    ac_status=$?
2115 <  echo "$as_me:1564: \$? = $ac_status" >&5
2115 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2116    (exit $ac_status); }; then
2117 <  for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
2118 <  case $ac_file in
2119 <    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2120 <    a.out ) # We found the default executable, but exeext='' is most
2121 <            # certainly right.
2122 <            break;;
2123 <    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2124 <          export ac_cv_exeext
2125 <          break;;
2126 <    * ) break;;
2117 >  # Find the output, starting from the most likely.  This scheme is
2118 > # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2119 > # resort.
2120 >
2121 > # Be careful to initialize this variable, since it used to be cached.
2122 > # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2123 > ac_cv_exeext=
2124 > # b.out is created by i960 compilers.
2125 > for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2126 > do
2127 >  test -f "$ac_file" || continue
2128 >  case $ac_file in
2129 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2130 >        ;;
2131 >    conftest.$ac_ext )
2132 >        # This is the source file.
2133 >        ;;
2134 >    [ab].out )
2135 >        # We found the default executable, but exeext='' is most
2136 >        # certainly right.
2137 >        break;;
2138 >    *.* )
2139 >        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2140 >        # FIXME: I believe we export ac_cv_exeext for Libtool,
2141 >        # but it would be cool to find out if it's true.  Does anybody
2142 >        # maintain Libtool? --akim.
2143 >        export ac_cv_exeext
2144 >        break;;
2145 >    * )
2146 >        break;;
2147    esac
2148   done
2149   else
2150    echo "$as_me: failed program was:" >&5
2151 < cat conftest.$ac_ext >&5
2152 < { { echo "$as_me:1581: error: C compiler cannot create executables" >&5
2153 < echo "$as_me: error: C compiler cannot create executables" >&2;}
2151 > sed 's/^/| /' conftest.$ac_ext >&5
2152 >
2153 > { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2154 > See \`config.log' for more details." >&5
2155 > echo "$as_me: error: C compiler cannot create executables
2156 > See \`config.log' for more details." >&2;}
2157     { (exit 77); exit 77; }; }
2158   fi
2159  
2160   ac_exeext=$ac_cv_exeext
2161 < echo "$as_me:1587: result: $ac_file" >&5
2161 > echo "$as_me:$LINENO: result: $ac_file" >&5
2162   echo "${ECHO_T}$ac_file" >&6
2163  
2164   # Check the compiler produces executables we can run.  If not, either
2165   # the compiler is broken, or we cross compile.
2166 < echo "$as_me:1592: checking whether the C compiler works" >&5
2166 > echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2167   echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2168   # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2169   # If not cross compiling, check that we can run a simple program.
2170   if test "$cross_compiling" != yes; then
2171    if { ac_try='./$ac_file'
2172 <  { (eval echo "$as_me:1598: \"$ac_try\"") >&5
2172 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2173    (eval $ac_try) 2>&5
2174    ac_status=$?
2175 <  echo "$as_me:1601: \$? = $ac_status" >&5
2175 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2176    (exit $ac_status); }; }; then
2177      cross_compiling=no
2178    else
2179      if test "$cross_compiling" = maybe; then
2180          cross_compiling=yes
2181      else
2182 <        { { echo "$as_me:1608: error: cannot run C compiled programs.
2183 < If you meant to cross compile, use \`--host'." >&5
2182 >        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2183 > If you meant to cross compile, use \`--host'.
2184 > See \`config.log' for more details." >&5
2185   echo "$as_me: error: cannot run C compiled programs.
2186 < If you meant to cross compile, use \`--host'." >&2;}
2186 > If you meant to cross compile, use \`--host'.
2187 > See \`config.log' for more details." >&2;}
2188     { (exit 1); exit 1; }; }
2189      fi
2190    fi
2191   fi
2192 < echo "$as_me:1616: result: yes" >&5
2192 > echo "$as_me:$LINENO: result: yes" >&5
2193   echo "${ECHO_T}yes" >&6
2194  
2195 < rm -f a.out a.exe conftest$ac_cv_exeext
2195 > rm -f a.out a.exe conftest$ac_cv_exeext b.out
2196   ac_clean_files=$ac_clean_files_save
2197   # Check the compiler produces executables we can run.  If not, either
2198   # the compiler is broken, or we cross compile.
2199 < echo "$as_me:1623: checking whether we are cross compiling" >&5
2199 > echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2200   echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2201 < echo "$as_me:1625: result: $cross_compiling" >&5
2201 > echo "$as_me:$LINENO: result: $cross_compiling" >&5
2202   echo "${ECHO_T}$cross_compiling" >&6
2203  
2204 < echo "$as_me:1628: checking for executable suffix" >&5
2205 < echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2206 < if { (eval echo "$as_me:1630: \"$ac_link\"") >&5
2204 > echo "$as_me:$LINENO: checking for suffix of executables" >&5
2205 > echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2206 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2207    (eval $ac_link) 2>&5
2208    ac_status=$?
2209 <  echo "$as_me:1633: \$? = $ac_status" >&5
2209 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2210    (exit $ac_status); }; then
2211    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2212   # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2213   # work properly (i.e., refer to `conftest.exe'), while it won't with
2214   # `rm'.
2215 < for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2215 > for ac_file in conftest.exe conftest conftest.*; do
2216 >  test -f "$ac_file" || continue
2217    case $ac_file in
2218 <    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2218 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2219      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2220 <          export ac_cv_exeext
2221 <          break;;
2220 >          export ac_cv_exeext
2221 >          break;;
2222      * ) break;;
2223    esac
2224   done
2225   else
2226 <  { { echo "$as_me:1649: error: cannot compute EXEEXT: cannot compile and link" >&5
2227 < echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2226 >  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2227 > See \`config.log' for more details." >&5
2228 > echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2229 > See \`config.log' for more details." >&2;}
2230     { (exit 1); exit 1; }; }
2231   fi
2232  
2233   rm -f conftest$ac_cv_exeext
2234 < echo "$as_me:1655: result: $ac_cv_exeext" >&5
2234 > echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2235   echo "${ECHO_T}$ac_cv_exeext" >&6
2236  
2237   rm -f conftest.$ac_ext
2238   EXEEXT=$ac_cv_exeext
2239   ac_exeext=$EXEEXT
2240 < echo "$as_me:1661: checking for object suffix" >&5
2241 < echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2240 > echo "$as_me:$LINENO: checking for suffix of object files" >&5
2241 > echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2242   if test "${ac_cv_objext+set}" = set; then
2243    echo $ECHO_N "(cached) $ECHO_C" >&6
2244   else
2245    cat >conftest.$ac_ext <<_ACEOF
2246 < #line 1667 "configure"
2247 < #include "confdefs.h"
2246 > /* confdefs.h.  */
2247 > _ACEOF
2248 > cat confdefs.h >>conftest.$ac_ext
2249 > cat >>conftest.$ac_ext <<_ACEOF
2250 > /* end confdefs.h.  */
2251  
2252   int
2253   main ()
# Line 1676 | Line 2258 | if { (eval echo "$as_me:1679: \"$ac_compile\"") >&5
2258   }
2259   _ACEOF
2260   rm -f conftest.o conftest.obj
2261 < if { (eval echo "$as_me:1679: \"$ac_compile\"") >&5
2261 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2262    (eval $ac_compile) 2>&5
2263    ac_status=$?
2264 <  echo "$as_me:1682: \$? = $ac_status" >&5
2264 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265    (exit $ac_status); }; then
2266    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2267    case $ac_file in
2268 <    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2268 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2269      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2270         break;;
2271    esac
2272   done
2273   else
2274    echo "$as_me: failed program was:" >&5
2275 < cat conftest.$ac_ext >&5
2276 < { { echo "$as_me:1694: error: cannot compute OBJEXT: cannot compile" >&5
2277 < echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2275 > sed 's/^/| /' conftest.$ac_ext >&5
2276 >
2277 > { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2278 > See \`config.log' for more details." >&5
2279 > echo "$as_me: error: cannot compute suffix of object files: cannot compile
2280 > See \`config.log' for more details." >&2;}
2281     { (exit 1); exit 1; }; }
2282   fi
2283  
2284   rm -f conftest.$ac_cv_objext conftest.$ac_ext
2285   fi
2286 < echo "$as_me:1701: result: $ac_cv_objext" >&5
2286 > echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2287   echo "${ECHO_T}$ac_cv_objext" >&6
2288   OBJEXT=$ac_cv_objext
2289   ac_objext=$OBJEXT
2290 < echo "$as_me:1705: checking whether we are using the GNU C compiler" >&5
2290 > echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2291   echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2292   if test "${ac_cv_c_compiler_gnu+set}" = set; then
2293    echo $ECHO_N "(cached) $ECHO_C" >&6
2294   else
2295    cat >conftest.$ac_ext <<_ACEOF
2296 < #line 1711 "configure"
2297 < #include "confdefs.h"
2296 > /* confdefs.h.  */
2297 > _ACEOF
2298 > cat confdefs.h >>conftest.$ac_ext
2299 > cat >>conftest.$ac_ext <<_ACEOF
2300 > /* end confdefs.h.  */
2301  
2302   int
2303   main ()
# Line 1723 | Line 2311 | if { (eval echo "$as_me:1726: \"$ac_compile\"") >&5
2311   }
2312   _ACEOF
2313   rm -f conftest.$ac_objext
2314 < if { (eval echo "$as_me:1726: \"$ac_compile\"") >&5
2315 <  (eval $ac_compile) 2>&5
2314 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2315 >  (eval $ac_compile) 2>conftest.er1
2316    ac_status=$?
2317 <  echo "$as_me:1729: \$? = $ac_status" >&5
2317 >  grep -v '^ *+' conftest.er1 >conftest.err
2318 >  rm -f conftest.er1
2319 >  cat conftest.err >&5
2320 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321    (exit $ac_status); } &&
2322 <         { ac_try='test -s conftest.$ac_objext'
2323 <  { (eval echo "$as_me:1732: \"$ac_try\"") >&5
2322 >         { ac_try='test -z "$ac_c_werror_flag"
2323 >                         || test ! -s conftest.err'
2324 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2325 >  (eval $ac_try) 2>&5
2326 >  ac_status=$?
2327 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 >  (exit $ac_status); }; } &&
2329 >         { ac_try='test -s conftest.$ac_objext'
2330 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2331    (eval $ac_try) 2>&5
2332    ac_status=$?
2333 <  echo "$as_me:1735: \$? = $ac_status" >&5
2333 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334    (exit $ac_status); }; }; then
2335    ac_compiler_gnu=yes
2336   else
2337    echo "$as_me: failed program was:" >&5
2338 < cat conftest.$ac_ext >&5
2338 > sed 's/^/| /' conftest.$ac_ext >&5
2339 >
2340   ac_compiler_gnu=no
2341   fi
2342 < rm -f conftest.$ac_objext conftest.$ac_ext
2342 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2343   ac_cv_c_compiler_gnu=$ac_compiler_gnu
2344  
2345   fi
2346 < echo "$as_me:1747: result: $ac_cv_c_compiler_gnu" >&5
2346 > echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2347   echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2348   GCC=`test $ac_compiler_gnu = yes && echo yes`
2349   ac_test_CFLAGS=${CFLAGS+set}
2350   ac_save_CFLAGS=$CFLAGS
2351   CFLAGS="-g"
2352 < echo "$as_me:1753: checking whether $CC accepts -g" >&5
2352 > echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2353   echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2354   if test "${ac_cv_prog_cc_g+set}" = set; then
2355    echo $ECHO_N "(cached) $ECHO_C" >&6
2356   else
2357    cat >conftest.$ac_ext <<_ACEOF
2358 < #line 1759 "configure"
2359 < #include "confdefs.h"
2358 > /* confdefs.h.  */
2359 > _ACEOF
2360 > cat confdefs.h >>conftest.$ac_ext
2361 > cat >>conftest.$ac_ext <<_ACEOF
2362 > /* end confdefs.h.  */
2363  
2364   int
2365   main ()
# Line 1768 | Line 2370 | if { (eval echo "$as_me:1771: \"$ac_compile\"") >&5
2370   }
2371   _ACEOF
2372   rm -f conftest.$ac_objext
2373 < if { (eval echo "$as_me:1771: \"$ac_compile\"") >&5
2374 <  (eval $ac_compile) 2>&5
2373 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2374 >  (eval $ac_compile) 2>conftest.er1
2375    ac_status=$?
2376 <  echo "$as_me:1774: \$? = $ac_status" >&5
2376 >  grep -v '^ *+' conftest.er1 >conftest.err
2377 >  rm -f conftest.er1
2378 >  cat conftest.err >&5
2379 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2380    (exit $ac_status); } &&
2381 <         { ac_try='test -s conftest.$ac_objext'
2382 <  { (eval echo "$as_me:1777: \"$ac_try\"") >&5
2381 >         { ac_try='test -z "$ac_c_werror_flag"
2382 >                         || test ! -s conftest.err'
2383 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2384    (eval $ac_try) 2>&5
2385    ac_status=$?
2386 <  echo "$as_me:1780: \$? = $ac_status" >&5
2386 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 >  (exit $ac_status); }; } &&
2388 >         { ac_try='test -s conftest.$ac_objext'
2389 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2390 >  (eval $ac_try) 2>&5
2391 >  ac_status=$?
2392 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393    (exit $ac_status); }; }; then
2394    ac_cv_prog_cc_g=yes
2395   else
2396    echo "$as_me: failed program was:" >&5
2397 < cat conftest.$ac_ext >&5
2397 > sed 's/^/| /' conftest.$ac_ext >&5
2398 >
2399   ac_cv_prog_cc_g=no
2400   fi
2401 < rm -f conftest.$ac_objext conftest.$ac_ext
2401 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2402   fi
2403 < echo "$as_me:1790: result: $ac_cv_prog_cc_g" >&5
2403 > echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2404   echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2405   if test "$ac_test_CFLAGS" = set; then
2406    CFLAGS=$ac_save_CFLAGS
# Line 1804 | Line 2417 | fi
2417      CFLAGS=
2418    fi
2419   fi
2420 + echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2421 + echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2422 + if test "${ac_cv_prog_cc_stdc+set}" = set; then
2423 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2424 + else
2425 +  ac_cv_prog_cc_stdc=no
2426 + ac_save_CC=$CC
2427 + cat >conftest.$ac_ext <<_ACEOF
2428 + /* confdefs.h.  */
2429 + _ACEOF
2430 + cat confdefs.h >>conftest.$ac_ext
2431 + cat >>conftest.$ac_ext <<_ACEOF
2432 + /* end confdefs.h.  */
2433 + #include <stdarg.h>
2434 + #include <stdio.h>
2435 + #include <sys/types.h>
2436 + #include <sys/stat.h>
2437 + /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2438 + struct buf { int x; };
2439 + FILE * (*rcsopen) (struct buf *, struct stat *, int);
2440 + static char *e (p, i)
2441 +     char **p;
2442 +     int i;
2443 + {
2444 +  return p[i];
2445 + }
2446 + static char *f (char * (*g) (char **, int), char **p, ...)
2447 + {
2448 +  char *s;
2449 +  va_list v;
2450 +  va_start (v,p);
2451 +  s = g (p, va_arg (v,int));
2452 +  va_end (v);
2453 +  return s;
2454 + }
2455 +
2456 + /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2457 +   function prototypes and stuff, but not '\xHH' hex character constants.
2458 +   These don't provoke an error unfortunately, instead are silently treated
2459 +   as 'x'.  The following induces an error, until -std1 is added to get
2460 +   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2461 +   array size at least.  It's necessary to write '\x00'==0 to get something
2462 +   that's true only with -std1.  */
2463 + int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2464 +
2465 + int test (int i, double x);
2466 + struct s1 {int (*f) (int a);};
2467 + struct s2 {int (*f) (double a);};
2468 + int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2469 + int argc;
2470 + char **argv;
2471 + int
2472 + main ()
2473 + {
2474 + return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2475 +  ;
2476 +  return 0;
2477 + }
2478 + _ACEOF
2479 + # Don't try gcc -ansi; that turns off useful extensions and
2480 + # breaks some systems' header files.
2481 + # AIX                   -qlanglvl=ansi
2482 + # Ultrix and OSF/1      -std1
2483 + # HP-UX 10.20 and later -Ae
2484 + # HP-UX older versions  -Aa -D_HPUX_SOURCE
2485 + # SVR4                  -Xc -D__EXTENSIONS__
2486 + for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2487 + do
2488 +  CC="$ac_save_CC $ac_arg"
2489 +  rm -f conftest.$ac_objext
2490 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2491 +  (eval $ac_compile) 2>conftest.er1
2492 +  ac_status=$?
2493 +  grep -v '^ *+' conftest.er1 >conftest.err
2494 +  rm -f conftest.er1
2495 +  cat conftest.err >&5
2496 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 +  (exit $ac_status); } &&
2498 +         { ac_try='test -z "$ac_c_werror_flag"
2499 +                         || test ! -s conftest.err'
2500 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2501 +  (eval $ac_try) 2>&5
2502 +  ac_status=$?
2503 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504 +  (exit $ac_status); }; } &&
2505 +         { ac_try='test -s conftest.$ac_objext'
2506 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507 +  (eval $ac_try) 2>&5
2508 +  ac_status=$?
2509 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510 +  (exit $ac_status); }; }; then
2511 +  ac_cv_prog_cc_stdc=$ac_arg
2512 + break
2513 + else
2514 +  echo "$as_me: failed program was:" >&5
2515 + sed 's/^/| /' conftest.$ac_ext >&5
2516 +
2517 + fi
2518 + rm -f conftest.err conftest.$ac_objext
2519 + done
2520 + rm -f conftest.$ac_ext conftest.$ac_objext
2521 + CC=$ac_save_CC
2522 +
2523 + fi
2524 +
2525 + case "x$ac_cv_prog_cc_stdc" in
2526 +  x|xno)
2527 +    echo "$as_me:$LINENO: result: none needed" >&5
2528 + echo "${ECHO_T}none needed" >&6 ;;
2529 +  *)
2530 +    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2531 + echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2532 +    CC="$CC $ac_cv_prog_cc_stdc" ;;
2533 + esac
2534 +
2535   # Some people use a C++ compiler to compile C.  Since we use `exit',
2536   # in C++ we need to declare it.  In case someone uses the same compiler
2537   # for both compiling C and C++ we need to have the C++ compiler decide
# Line 1814 | Line 2542 | if { (eval echo "$as_me:1817: \"$ac_compile\"") >&5
2542   #endif
2543   _ACEOF
2544   rm -f conftest.$ac_objext
2545 < if { (eval echo "$as_me:1817: \"$ac_compile\"") >&5
2546 <  (eval $ac_compile) 2>&5
2545 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2546 >  (eval $ac_compile) 2>conftest.er1
2547    ac_status=$?
2548 <  echo "$as_me:1820: \$? = $ac_status" >&5
2548 >  grep -v '^ *+' conftest.er1 >conftest.err
2549 >  rm -f conftest.er1
2550 >  cat conftest.err >&5
2551 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552    (exit $ac_status); } &&
2553 <         { ac_try='test -s conftest.$ac_objext'
2554 <  { (eval echo "$as_me:1823: \"$ac_try\"") >&5
2553 >         { ac_try='test -z "$ac_c_werror_flag"
2554 >                         || test ! -s conftest.err'
2555 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2556    (eval $ac_try) 2>&5
2557    ac_status=$?
2558 <  echo "$as_me:1826: \$? = $ac_status" >&5
2558 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 >  (exit $ac_status); }; } &&
2560 >         { ac_try='test -s conftest.$ac_objext'
2561 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2562 >  (eval $ac_try) 2>&5
2563 >  ac_status=$?
2564 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2565    (exit $ac_status); }; }; then
2566    for ac_declaration in \
2567 <   ''\
1830 <   '#include <stdlib.h>' \
2567 >   '' \
2568     'extern "C" void std::exit (int) throw (); using std::exit;' \
2569     'extern "C" void std::exit (int); using std::exit;' \
2570     'extern "C" void exit (int) throw ();' \
# Line 1835 | Line 2572 | do
2572     'void exit (int);'
2573   do
2574    cat >conftest.$ac_ext <<_ACEOF
2575 < #line 1838 "configure"
2576 < #include "confdefs.h"
2577 < #include <stdlib.h>
2575 > /* confdefs.h.  */
2576 > _ACEOF
2577 > cat confdefs.h >>conftest.$ac_ext
2578 > cat >>conftest.$ac_ext <<_ACEOF
2579 > /* end confdefs.h.  */
2580   $ac_declaration
2581 + #include <stdlib.h>
2582   int
2583   main ()
2584   {
# Line 1848 | Line 2588 | if { (eval echo "$as_me:1851: \"$ac_compile\"") >&5
2588   }
2589   _ACEOF
2590   rm -f conftest.$ac_objext
2591 < if { (eval echo "$as_me:1851: \"$ac_compile\"") >&5
2592 <  (eval $ac_compile) 2>&5
2591 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2592 >  (eval $ac_compile) 2>conftest.er1
2593    ac_status=$?
2594 <  echo "$as_me:1854: \$? = $ac_status" >&5
2594 >  grep -v '^ *+' conftest.er1 >conftest.err
2595 >  rm -f conftest.er1
2596 >  cat conftest.err >&5
2597 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598    (exit $ac_status); } &&
2599 <         { ac_try='test -s conftest.$ac_objext'
2600 <  { (eval echo "$as_me:1857: \"$ac_try\"") >&5
2599 >         { ac_try='test -z "$ac_c_werror_flag"
2600 >                         || test ! -s conftest.err'
2601 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2602    (eval $ac_try) 2>&5
2603    ac_status=$?
2604 <  echo "$as_me:1860: \$? = $ac_status" >&5
2604 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 >  (exit $ac_status); }; } &&
2606 >         { ac_try='test -s conftest.$ac_objext'
2607 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2608 >  (eval $ac_try) 2>&5
2609 >  ac_status=$?
2610 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2611    (exit $ac_status); }; }; then
2612    :
2613   else
2614    echo "$as_me: failed program was:" >&5
2615 < cat conftest.$ac_ext >&5
2615 > sed 's/^/| /' conftest.$ac_ext >&5
2616 >
2617   continue
2618   fi
2619 < rm -f conftest.$ac_objext conftest.$ac_ext
2619 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2620    cat >conftest.$ac_ext <<_ACEOF
2621 < #line 1870 "configure"
2622 < #include "confdefs.h"
2621 > /* confdefs.h.  */
2622 > _ACEOF
2623 > cat confdefs.h >>conftest.$ac_ext
2624 > cat >>conftest.$ac_ext <<_ACEOF
2625 > /* end confdefs.h.  */
2626   $ac_declaration
2627   int
2628   main ()
# Line 1879 | Line 2633 | if { (eval echo "$as_me:1882: \"$ac_compile\"") >&5
2633   }
2634   _ACEOF
2635   rm -f conftest.$ac_objext
2636 < if { (eval echo "$as_me:1882: \"$ac_compile\"") >&5
2637 <  (eval $ac_compile) 2>&5
2636 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2637 >  (eval $ac_compile) 2>conftest.er1
2638    ac_status=$?
2639 <  echo "$as_me:1885: \$? = $ac_status" >&5
2639 >  grep -v '^ *+' conftest.er1 >conftest.err
2640 >  rm -f conftest.er1
2641 >  cat conftest.err >&5
2642 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643    (exit $ac_status); } &&
2644 <         { ac_try='test -s conftest.$ac_objext'
2645 <  { (eval echo "$as_me:1888: \"$ac_try\"") >&5
2644 >         { ac_try='test -z "$ac_c_werror_flag"
2645 >                         || test ! -s conftest.err'
2646 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2647    (eval $ac_try) 2>&5
2648    ac_status=$?
2649 <  echo "$as_me:1891: \$? = $ac_status" >&5
2649 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 >  (exit $ac_status); }; } &&
2651 >         { ac_try='test -s conftest.$ac_objext'
2652 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2653 >  (eval $ac_try) 2>&5
2654 >  ac_status=$?
2655 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656    (exit $ac_status); }; }; then
2657    break
2658   else
2659    echo "$as_me: failed program was:" >&5
2660 < cat conftest.$ac_ext >&5
2660 > sed 's/^/| /' conftest.$ac_ext >&5
2661 >
2662   fi
2663 < rm -f conftest.$ac_objext conftest.$ac_ext
2663 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2664   done
2665 < echo '#ifdef __cplusplus' >>confdefs.h
2666 < echo $ac_declaration      >>confdefs.h
2667 < echo '#endif'             >>confdefs.h
2665 > rm -f conftest*
2666 > if test -n "$ac_declaration"; then
2667 >  echo '#ifdef __cplusplus' >>confdefs.h
2668 >  echo $ac_declaration      >>confdefs.h
2669 >  echo '#endif'             >>confdefs.h
2670 > fi
2671  
2672   else
2673    echo "$as_me: failed program was:" >&5
2674 < cat conftest.$ac_ext >&5
2674 > sed 's/^/| /' conftest.$ac_ext >&5
2675 >
2676   fi
2677 < rm -f conftest.$ac_objext conftest.$ac_ext
2677 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2678   ac_ext=c
2679   ac_cpp='$CPP $CPPFLAGS'
2680   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2681   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2682   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2683  
2684 +
2685   ac_ext=cc
2686   ac_cpp='$CXXCPP $CPPFLAGS'
2687   ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 1922 | Line 2692 | echo "$as_me:1925: checking for $ac_word" >&5
2692    do
2693      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2694   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2695 < echo "$as_me:1925: checking for $ac_word" >&5
2695 > echo "$as_me:$LINENO: checking for $ac_word" >&5
2696   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2697   if test "${ac_cv_prog_CXX+set}" = set; then
2698    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1930 | Line 2700 | else
2700    if test -n "$CXX"; then
2701    ac_cv_prog_CXX="$CXX" # Let the user override the test.
2702   else
2703 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
2704 < ac_dummy="$PATH"
2705 < for ac_dir in $ac_dummy; do
2706 <  IFS=$ac_save_IFS
2707 <  test -z "$ac_dir" && ac_dir=.
2708 <  $as_executable_p "$ac_dir/$ac_word" || continue
2709 < ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2710 < echo "$as_me:1940: found $ac_dir/$ac_word" >&5
2711 < break
2703 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2704 > for as_dir in $PATH
2705 > do
2706 >  IFS=$as_save_IFS
2707 >  test -z "$as_dir" && as_dir=.
2708 >  for ac_exec_ext in '' $ac_executable_extensions; do
2709 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2710 >    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2711 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2712 >    break 2
2713 >  fi
2714   done
2715 + done
2716  
2717   fi
2718   fi
2719   CXX=$ac_cv_prog_CXX
2720   if test -n "$CXX"; then
2721 <  echo "$as_me:1948: result: $CXX" >&5
2721 >  echo "$as_me:$LINENO: result: $CXX" >&5
2722   echo "${ECHO_T}$CXX" >&6
2723   else
2724 <  echo "$as_me:1951: result: no" >&5
2724 >  echo "$as_me:$LINENO: result: no" >&5
2725   echo "${ECHO_T}no" >&6
2726   fi
2727  
# Line 1961 | Line 2734 | echo "$as_me:1964: checking for $ac_word" >&5
2734   do
2735    # Extract the first word of "$ac_prog", so it can be a program name with args.
2736   set dummy $ac_prog; ac_word=$2
2737 < echo "$as_me:1964: checking for $ac_word" >&5
2737 > echo "$as_me:$LINENO: checking for $ac_word" >&5
2738   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2739   if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2740    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1969 | Line 2742 | else
2742    if test -n "$ac_ct_CXX"; then
2743    ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2744   else
2745 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
2746 < ac_dummy="$PATH"
2747 < for ac_dir in $ac_dummy; do
2748 <  IFS=$ac_save_IFS
2749 <  test -z "$ac_dir" && ac_dir=.
2750 <  $as_executable_p "$ac_dir/$ac_word" || continue
2751 < ac_cv_prog_ac_ct_CXX="$ac_prog"
2752 < echo "$as_me:1979: found $ac_dir/$ac_word" >&5
2753 < break
2745 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2746 > for as_dir in $PATH
2747 > do
2748 >  IFS=$as_save_IFS
2749 >  test -z "$as_dir" && as_dir=.
2750 >  for ac_exec_ext in '' $ac_executable_extensions; do
2751 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2752 >    ac_cv_prog_ac_ct_CXX="$ac_prog"
2753 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2754 >    break 2
2755 >  fi
2756   done
2757 + done
2758  
2759   fi
2760   fi
2761   ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2762   if test -n "$ac_ct_CXX"; then
2763 <  echo "$as_me:1987: result: $ac_ct_CXX" >&5
2763 >  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2764   echo "${ECHO_T}$ac_ct_CXX" >&6
2765   else
2766 <  echo "$as_me:1990: result: no" >&5
2766 >  echo "$as_me:$LINENO: result: no" >&5
2767   echo "${ECHO_T}no" >&6
2768   fi
2769  
# Line 1998 | Line 2774 | echo "$as_me:2001: checking whether we are using the G
2774    CXX=$ac_ct_CXX
2775   fi
2776  
2777 < echo "$as_me:2001: checking whether we are using the GNU C++ compiler" >&5
2777 >
2778 > # Provide some information about the compiler.
2779 > echo "$as_me:$LINENO:" \
2780 >     "checking for C++ compiler version" >&5
2781 > ac_compiler=`set X $ac_compile; echo $2`
2782 > { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2783 >  (eval $ac_compiler --version </dev/null >&5) 2>&5
2784 >  ac_status=$?
2785 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 >  (exit $ac_status); }
2787 > { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2788 >  (eval $ac_compiler -v </dev/null >&5) 2>&5
2789 >  ac_status=$?
2790 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2791 >  (exit $ac_status); }
2792 > { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2793 >  (eval $ac_compiler -V </dev/null >&5) 2>&5
2794 >  ac_status=$?
2795 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 >  (exit $ac_status); }
2797 >
2798 > echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2799   echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2800   if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2801    echo $ECHO_N "(cached) $ECHO_C" >&6
2802   else
2803    cat >conftest.$ac_ext <<_ACEOF
2804 < #line 2007 "configure"
2805 < #include "confdefs.h"
2804 > /* confdefs.h.  */
2805 > _ACEOF
2806 > cat confdefs.h >>conftest.$ac_ext
2807 > cat >>conftest.$ac_ext <<_ACEOF
2808 > /* end confdefs.h.  */
2809  
2810   int
2811   main ()
# Line 2019 | Line 2819 | if { (eval echo "$as_me:2022: \"$ac_compile\"") >&5
2819   }
2820   _ACEOF
2821   rm -f conftest.$ac_objext
2822 < if { (eval echo "$as_me:2022: \"$ac_compile\"") >&5
2823 <  (eval $ac_compile) 2>&5
2822 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2823 >  (eval $ac_compile) 2>conftest.er1
2824    ac_status=$?
2825 <  echo "$as_me:2025: \$? = $ac_status" >&5
2825 >  grep -v '^ *+' conftest.er1 >conftest.err
2826 >  rm -f conftest.er1
2827 >  cat conftest.err >&5
2828 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829    (exit $ac_status); } &&
2830 <         { ac_try='test -s conftest.$ac_objext'
2831 <  { (eval echo "$as_me:2028: \"$ac_try\"") >&5
2830 >         { ac_try='test -z "$ac_cxx_werror_flag"
2831 >                         || test ! -s conftest.err'
2832 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2833    (eval $ac_try) 2>&5
2834    ac_status=$?
2835 <  echo "$as_me:2031: \$? = $ac_status" >&5
2835 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 >  (exit $ac_status); }; } &&
2837 >         { ac_try='test -s conftest.$ac_objext'
2838 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2839 >  (eval $ac_try) 2>&5
2840 >  ac_status=$?
2841 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842    (exit $ac_status); }; }; then
2843    ac_compiler_gnu=yes
2844   else
2845    echo "$as_me: failed program was:" >&5
2846 < cat conftest.$ac_ext >&5
2846 > sed 's/^/| /' conftest.$ac_ext >&5
2847 >
2848   ac_compiler_gnu=no
2849   fi
2850 < rm -f conftest.$ac_objext conftest.$ac_ext
2850 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2851   ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2852  
2853   fi
2854 < echo "$as_me:2043: result: $ac_cv_cxx_compiler_gnu" >&5
2854 > echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2855   echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2856   GXX=`test $ac_compiler_gnu = yes && echo yes`
2857   ac_test_CXXFLAGS=${CXXFLAGS+set}
2858   ac_save_CXXFLAGS=$CXXFLAGS
2859   CXXFLAGS="-g"
2860 < echo "$as_me:2049: checking whether $CXX accepts -g" >&5
2860 > echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2861   echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2862   if test "${ac_cv_prog_cxx_g+set}" = set; then
2863    echo $ECHO_N "(cached) $ECHO_C" >&6
2864   else
2865    cat >conftest.$ac_ext <<_ACEOF
2866 < #line 2055 "configure"
2867 < #include "confdefs.h"
2866 > /* confdefs.h.  */
2867 > _ACEOF
2868 > cat confdefs.h >>conftest.$ac_ext
2869 > cat >>conftest.$ac_ext <<_ACEOF
2870 > /* end confdefs.h.  */
2871  
2872   int
2873   main ()
# Line 2064 | Line 2878 | if { (eval echo "$as_me:2067: \"$ac_compile\"") >&5
2878   }
2879   _ACEOF
2880   rm -f conftest.$ac_objext
2881 < if { (eval echo "$as_me:2067: \"$ac_compile\"") >&5
2882 <  (eval $ac_compile) 2>&5
2881 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2882 >  (eval $ac_compile) 2>conftest.er1
2883    ac_status=$?
2884 <  echo "$as_me:2070: \$? = $ac_status" >&5
2884 >  grep -v '^ *+' conftest.er1 >conftest.err
2885 >  rm -f conftest.er1
2886 >  cat conftest.err >&5
2887 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888    (exit $ac_status); } &&
2889 <         { ac_try='test -s conftest.$ac_objext'
2890 <  { (eval echo "$as_me:2073: \"$ac_try\"") >&5
2889 >         { ac_try='test -z "$ac_cxx_werror_flag"
2890 >                         || test ! -s conftest.err'
2891 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2892    (eval $ac_try) 2>&5
2893    ac_status=$?
2894 <  echo "$as_me:2076: \$? = $ac_status" >&5
2894 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 >  (exit $ac_status); }; } &&
2896 >         { ac_try='test -s conftest.$ac_objext'
2897 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2898 >  (eval $ac_try) 2>&5
2899 >  ac_status=$?
2900 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901    (exit $ac_status); }; }; then
2902    ac_cv_prog_cxx_g=yes
2903   else
2904    echo "$as_me: failed program was:" >&5
2905 < cat conftest.$ac_ext >&5
2905 > sed 's/^/| /' conftest.$ac_ext >&5
2906 >
2907   ac_cv_prog_cxx_g=no
2908   fi
2909 < rm -f conftest.$ac_objext conftest.$ac_ext
2909 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2910   fi
2911 < echo "$as_me:2086: result: $ac_cv_prog_cxx_g" >&5
2911 > echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2912   echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2913   if test "$ac_test_CXXFLAGS" = set; then
2914    CXXFLAGS=$ac_save_CXXFLAGS
# Line 2101 | Line 2926 | for ac_declaration in \
2926    fi
2927   fi
2928   for ac_declaration in \
2929 <   ''\
2105 <   '#include <stdlib.h>' \
2929 >   '' \
2930     'extern "C" void std::exit (int) throw (); using std::exit;' \
2931     'extern "C" void std::exit (int); using std::exit;' \
2932     'extern "C" void exit (int) throw ();' \
# Line 2110 | Line 2934 | do
2934     'void exit (int);'
2935   do
2936    cat >conftest.$ac_ext <<_ACEOF
2937 < #line 2113 "configure"
2938 < #include "confdefs.h"
2939 < #include <stdlib.h>
2937 > /* confdefs.h.  */
2938 > _ACEOF
2939 > cat confdefs.h >>conftest.$ac_ext
2940 > cat >>conftest.$ac_ext <<_ACEOF
2941 > /* end confdefs.h.  */
2942   $ac_declaration
2943 + #include <stdlib.h>
2944   int
2945   main ()
2946   {
# Line 2123 | Line 2950 | if { (eval echo "$as_me:2126: \"$ac_compile\"") >&5
2950   }
2951   _ACEOF
2952   rm -f conftest.$ac_objext
2953 < if { (eval echo "$as_me:2126: \"$ac_compile\"") >&5
2954 <  (eval $ac_compile) 2>&5
2953 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2954 >  (eval $ac_compile) 2>conftest.er1
2955    ac_status=$?
2956 <  echo "$as_me:2129: \$? = $ac_status" >&5
2956 >  grep -v '^ *+' conftest.er1 >conftest.err
2957 >  rm -f conftest.er1
2958 >  cat conftest.err >&5
2959 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960    (exit $ac_status); } &&
2961 <         { ac_try='test -s conftest.$ac_objext'
2962 <  { (eval echo "$as_me:2132: \"$ac_try\"") >&5
2961 >         { ac_try='test -z "$ac_cxx_werror_flag"
2962 >                         || test ! -s conftest.err'
2963 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2964    (eval $ac_try) 2>&5
2965    ac_status=$?
2966 <  echo "$as_me:2135: \$? = $ac_status" >&5
2966 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967 >  (exit $ac_status); }; } &&
2968 >         { ac_try='test -s conftest.$ac_objext'
2969 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2970 >  (eval $ac_try) 2>&5
2971 >  ac_status=$?
2972 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973    (exit $ac_status); }; }; then
2974    :
2975   else
2976    echo "$as_me: failed program was:" >&5
2977 < cat conftest.$ac_ext >&5
2977 > sed 's/^/| /' conftest.$ac_ext >&5
2978 >
2979   continue
2980   fi
2981 < rm -f conftest.$ac_objext conftest.$ac_ext
2981 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2982    cat >conftest.$ac_ext <<_ACEOF
2983 < #line 2145 "configure"
2984 < #include "confdefs.h"
2983 > /* confdefs.h.  */
2984 > _ACEOF
2985 > cat confdefs.h >>conftest.$ac_ext
2986 > cat >>conftest.$ac_ext <<_ACEOF
2987 > /* end confdefs.h.  */
2988   $ac_declaration
2989   int
2990   main ()
# Line 2154 | Line 2995 | if { (eval echo "$as_me:2157: \"$ac_compile\"") >&5
2995   }
2996   _ACEOF
2997   rm -f conftest.$ac_objext
2998 < if { (eval echo "$as_me:2157: \"$ac_compile\"") >&5
2999 <  (eval $ac_compile) 2>&5
2998 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2999 >  (eval $ac_compile) 2>conftest.er1
3000    ac_status=$?
3001 <  echo "$as_me:2160: \$? = $ac_status" >&5
3001 >  grep -v '^ *+' conftest.er1 >conftest.err
3002 >  rm -f conftest.er1
3003 >  cat conftest.err >&5
3004 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005    (exit $ac_status); } &&
3006 <         { ac_try='test -s conftest.$ac_objext'
3007 <  { (eval echo "$as_me:2163: \"$ac_try\"") >&5
3006 >         { ac_try='test -z "$ac_cxx_werror_flag"
3007 >                         || test ! -s conftest.err'
3008 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3009    (eval $ac_try) 2>&5
3010    ac_status=$?
3011 <  echo "$as_me:2166: \$? = $ac_status" >&5
3011 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012 >  (exit $ac_status); }; } &&
3013 >         { ac_try='test -s conftest.$ac_objext'
3014 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3015 >  (eval $ac_try) 2>&5
3016 >  ac_status=$?
3017 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018    (exit $ac_status); }; }; then
3019    break
3020   else
3021    echo "$as_me: failed program was:" >&5
3022 < cat conftest.$ac_ext >&5
3022 > sed 's/^/| /' conftest.$ac_ext >&5
3023 >
3024   fi
3025 < rm -f conftest.$ac_objext conftest.$ac_ext
3025 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3026   done
3027 < echo '#ifdef __cplusplus' >>confdefs.h
3028 < echo $ac_declaration      >>confdefs.h
3029 < echo '#endif'             >>confdefs.h
3027 > rm -f conftest*
3028 > if test -n "$ac_declaration"; then
3029 >  echo '#ifdef __cplusplus' >>confdefs.h
3030 >  echo $ac_declaration      >>confdefs.h
3031 >  echo '#endif'             >>confdefs.h
3032 > fi
3033  
3034   ac_ext=c
3035   ac_cpp='$CPP $CPPFLAGS'
# Line 2182 | Line 3037 | OOPSE_TEMPLATE_FLAGS=""
3037   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3038   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3039  
3040 +
3041   OOPSE_TEMPLATE_FLAGS=""
3042   if test $ac_cv_cxx_compiler_gnu = no; then
3043 <  echo "$as_me:2187: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5
3043 >  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5
3044   echo $ECHO_N "checking checking whether ${CXX} accepts -ptused -no_prelink... $ECHO_C" >&6
3045    echo 'void f(){}' > conftest.cc
3046    if test -z "`${CXX} -ptused -no_prelink -c conftest.cc 2>&1`"; then
3047 <    echo "$as_me:2191: result: yes" >&5
3047 >    echo "$as_me:$LINENO: result: yes" >&5
3048   echo "${ECHO_T}yes" >&6
3049      OOPSE_TEMPLATE_FLAGS="-ptused -no_prelink"
3050    else
3051 <    echo "$as_me:2195: result: no" >&5
3051 >    echo "$as_me:$LINENO: result: no" >&5
3052   echo "${ECHO_T}no" >&6
3053    fi
3054    rm -f conftest*
3055 <  echo "$as_me:2199: checking checking whether ${CXX} accepts -instances=static" >&5
3055 >  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -instances=static" >&5
3056   echo $ECHO_N "checking checking whether ${CXX} accepts -instances=static... $ECHO_C" >&6
3057    echo 'void f(){}' > conftest.cc
3058    if test -z "`${CXX} -instances=static -c conftest.cc 2>&1`"; then
3059 <    echo "$as_me:2203: result: yes" >&5
3059 >    echo "$as_me:$LINENO: result: yes" >&5
3060   echo "${ECHO_T}yes" >&6
3061      OOPSE_TEMPLATE_FLAGS="-instances=static"
3062    else
3063 <    echo "$as_me:2207: result: no" >&5
3063 >    echo "$as_me:$LINENO: result: no" >&5
3064   echo "${ECHO_T}no" >&6
3065    fi
3066    rm -f conftest*
3067 <  echo "$as_me:2211: checking checking whether ${CXX} accepts -pto" >&5
3067 >  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -pto" >&5
3068   echo $ECHO_N "checking checking whether ${CXX} accepts -pto... $ECHO_C" >&6
3069    echo 'void f(){}' > conftest.cc
3070    if test -z "`${CXX} -pto -c conftest.cc 2>&1`"; then
3071 <    echo "$as_me:2215: result: yes" >&5
3071 >    echo "$as_me:$LINENO: result: yes" >&5
3072   echo "${ECHO_T}yes" >&6
3073      OOPSE_TEMPLATE_FLAGS="-pto"
3074    else
3075 <    echo "$as_me:2219: result: no" >&5
3075 >    echo "$as_me:$LINENO: result: no" >&5
3076   echo "${ECHO_T}no" >&6
3077    fi
3078    rm -f conftest*
3079 <  echo "$as_me:2223: checking checking whether ${CXX} accepts -LANG:std" >&5
3079 >  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -LANG:std" >&5
3080   echo $ECHO_N "checking checking whether ${CXX} accepts -LANG:std... $ECHO_C" >&6
3081    echo 'void f(){}' > conftest.cc
3082    if test -z "`${CXX} -LANG:std -c conftest.cc 2>&1`"; then
3083 <    echo "$as_me:2227: result: yes" >&5
3083 >    echo "$as_me:$LINENO: result: yes" >&5
3084   echo "${ECHO_T}yes" >&6
3085  
3086 +
3087      EXTRA_CC_FLAG=${EXTRA_CC_FLAG}" -LANG:std"
3088    else
3089 <    echo "$as_me:2232: result: no" >&5
3089 >    echo "$as_me:$LINENO: result: no" >&5
3090   echo "${ECHO_T}no" >&6
3091    fi
3092   fi
3093  
3094 +
3095 +
3096 +
3097   ac_ext=f90
3098   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3099   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 2243 | Line 3103 | echo "$as_me:2246: checking for $ac_word" >&5
3103    do
3104      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3105   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3106 < echo "$as_me:2246: checking for $ac_word" >&5
3106 > echo "$as_me:$LINENO: checking for $ac_word" >&5
3107   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3108   if test "${ac_cv_prog_F90+set}" = set; then
3109    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2251 | Line 3111 | else
3111    if test -n "$F90"; then
3112    ac_cv_prog_F90="$F90" # Let the user override the test.
3113   else
3114 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
3115 < ac_dummy="$PATH"
3116 < for ac_dir in $ac_dummy; do
3117 <  IFS=$ac_save_IFS
3118 <  test -z "$ac_dir" && ac_dir=.
3119 <  $as_executable_p "$ac_dir/$ac_word" || continue
3120 < ac_cv_prog_F90="$ac_tool_prefix$ac_prog"
3121 < echo "$as_me:2261: found $ac_dir/$ac_word" >&5
3122 < break
3114 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3115 > for as_dir in $PATH
3116 > do
3117 >  IFS=$as_save_IFS
3118 >  test -z "$as_dir" && as_dir=.
3119 >  for ac_exec_ext in '' $ac_executable_extensions; do
3120 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3121 >    ac_cv_prog_F90="$ac_tool_prefix$ac_prog"
3122 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3123 >    break 2
3124 >  fi
3125   done
3126 + done
3127  
3128   fi
3129   fi
3130   F90=$ac_cv_prog_F90
3131   if test -n "$F90"; then
3132 <  echo "$as_me:2269: result: $F90" >&5
3132 >  echo "$as_me:$LINENO: result: $F90" >&5
3133   echo "${ECHO_T}$F90" >&6
3134   else
3135 <  echo "$as_me:2272: result: no" >&5
3135 >  echo "$as_me:$LINENO: result: no" >&5
3136   echo "${ECHO_T}no" >&6
3137   fi
3138  
# Line 2282 | Line 3145 | echo "$as_me:2285: checking for $ac_word" >&5
3145   do
3146    # Extract the first word of "$ac_prog", so it can be a program name with args.
3147   set dummy $ac_prog; ac_word=$2
3148 < echo "$as_me:2285: checking for $ac_word" >&5
3148 > echo "$as_me:$LINENO: checking for $ac_word" >&5
3149   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3150   if test "${ac_cv_prog_ac_ct_F90+set}" = set; then
3151    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2290 | Line 3153 | else
3153    if test -n "$ac_ct_F90"; then
3154    ac_cv_prog_ac_ct_F90="$ac_ct_F90" # Let the user override the test.
3155   else
3156 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
3157 < ac_dummy="$PATH"
3158 < for ac_dir in $ac_dummy; do
3159 <  IFS=$ac_save_IFS
3160 <  test -z "$ac_dir" && ac_dir=.
3161 <  $as_executable_p "$ac_dir/$ac_word" || continue
3162 < ac_cv_prog_ac_ct_F90="$ac_prog"
3163 < echo "$as_me:2300: found $ac_dir/$ac_word" >&5
3164 < break
3156 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157 > for as_dir in $PATH
3158 > do
3159 >  IFS=$as_save_IFS
3160 >  test -z "$as_dir" && as_dir=.
3161 >  for ac_exec_ext in '' $ac_executable_extensions; do
3162 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3163 >    ac_cv_prog_ac_ct_F90="$ac_prog"
3164 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3165 >    break 2
3166 >  fi
3167   done
3168 + done
3169  
3170   fi
3171   fi
3172   ac_ct_F90=$ac_cv_prog_ac_ct_F90
3173   if test -n "$ac_ct_F90"; then
3174 <  echo "$as_me:2308: result: $ac_ct_F90" >&5
3174 >  echo "$as_me:$LINENO: result: $ac_ct_F90" >&5
3175   echo "${ECHO_T}$ac_ct_F90" >&6
3176   else
3177 <  echo "$as_me:2311: result: no" >&5
3177 >  echo "$as_me:$LINENO: result: no" >&5
3178   echo "${ECHO_T}no" >&6
3179   fi
3180  
# Line 2318 | Line 3184 | fi
3184    F90=$ac_ct_F90
3185   fi
3186  
3187 +
3188   # If we don't use `.F90' as extension, the preprocessor is not run on the
3189   # input file.
3190   ac_save_ext=$ac_ext
3191   ac_ext=F90
3192 < echo "$as_me:2325: checking whether we are using the GNU Fortran 90 compiler" >&5
3192 > echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 90 compiler" >&5
3193   echo $ECHO_N "checking whether we are using the GNU Fortran 90 compiler... $ECHO_C" >&6
3194   if test "${ac_cv_f90_compiler_gnu+set}" = set; then
3195    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2339 | Line 3206 | if { (eval echo "$as_me:2342: \"$ac_compile\"") >&5
3206  
3207   _ACEOF
3208   rm -f conftest.$ac_objext
3209 < if { (eval echo "$as_me:2342: \"$ac_compile\"") >&5
3210 <  (eval $ac_compile) 2>&5
3209 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3210 >  (eval $ac_compile) 2>conftest.er1
3211    ac_status=$?
3212 <  echo "$as_me:2345: \$? = $ac_status" >&5
3212 >  grep -v '^ *+' conftest.er1 >conftest.err
3213 >  rm -f conftest.er1
3214 >  cat conftest.err >&5
3215 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216    (exit $ac_status); } &&
3217 <         { ac_try='test -s conftest.$ac_objext'
3218 <  { (eval echo "$as_me:2348: \"$ac_try\"") >&5
3217 >         { ac_try='test -z "$ac_f90_werror_flag"
3218 >                         || test ! -s conftest.err'
3219 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3220    (eval $ac_try) 2>&5
3221    ac_status=$?
3222 <  echo "$as_me:2351: \$? = $ac_status" >&5
3222 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 >  (exit $ac_status); }; } &&
3224 >         { ac_try='test -s conftest.$ac_objext'
3225 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3226 >  (eval $ac_try) 2>&5
3227 >  ac_status=$?
3228 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229    (exit $ac_status); }; }; then
3230    ac_compiler_gnu=yes
3231   else
3232    echo "$as_me: failed program was:" >&5
3233 < cat conftest.$ac_ext >&5
3233 > sed 's/^/| /' conftest.$ac_ext >&5
3234 >
3235   ac_compiler_gnu=no
3236   fi
3237 < rm -f conftest.$ac_objext conftest.$ac_ext
3237 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3238   ac_cv_f90_compiler_gnu=$ac_compiler_gnu
3239  
3240   fi
3241 < echo "$as_me:2363: result: $ac_cv_f90_compiler_gnu" >&5
3241 > echo "$as_me:$LINENO: result: $ac_cv_f90_compiler_gnu" >&5
3242   echo "${ECHO_T}$ac_cv_f90_compiler_gnu" >&6
3243   ac_ext=$ac_save_ext
3244   G95=`test $ac_compiler_gnu = yes && echo yes`
# Line 2370 | Line 3248 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3248   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3249   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3250  
3251 +
3252 +
3253 +
3254 +
3255   # Try to determine native compiler flags that allow us to use F90 suffix
3256   # for preprocessed f90 source.
3257  
# Line 2390 | Line 3272 | if test "$ac_test_PREPFLAG" != "set"; then
3272    esac
3273  
3274    if test -z "$PREPFLAG"; then
3275 <        { echo "$as_me:2393: WARNING: \"Using empty PREPFLAG\"" >&5
3275 >        { echo "$as_me:$LINENO: WARNING: \"Using empty PREPFLAG\"" >&5
3276   echo "$as_me: WARNING: \"Using empty PREPFLAG\"" >&2;}
3277          PREPFLAG=""
3278    fi
3279  
3280 <  echo "$as_me:2398: checking to make sure F90 preprocessor flag works" >&5
3280 >  echo "$as_me:$LINENO: checking to make sure F90 preprocessor flag works" >&5
3281   echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6
3282  
3283 +
3284    ac_ext=f90
3285   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3286   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 2413 | Line 3296 | program main
3296  
3297      cat >conftest.$ac_ext <<_ACEOF
3298  
3299 +
3300   program main
3301  
3302    integer :: i
3303    i = 1
3304  
3305 +
3306   end program main
3307  
3308   _ACEOF
3309   rm -f conftest.$ac_objext
3310 < if { (eval echo "$as_me:2425: \"$ac_compile\"") >&5
3311 <  (eval $ac_compile) 2>&5
3310 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3311 >  (eval $ac_compile) 2>conftest.er1
3312    ac_status=$?
3313 <  echo "$as_me:2428: \$? = $ac_status" >&5
3313 >  grep -v '^ *+' conftest.er1 >conftest.err
3314 >  rm -f conftest.er1
3315 >  cat conftest.err >&5
3316 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317    (exit $ac_status); } &&
3318 <         { ac_try='test -s conftest.$ac_objext'
3319 <  { (eval echo "$as_me:2431: \"$ac_try\"") >&5
3318 >         { ac_try='test -z "$ac_f90_werror_flag"
3319 >                         || test ! -s conftest.err'
3320 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3321    (eval $ac_try) 2>&5
3322    ac_status=$?
3323 <  echo "$as_me:2434: \$? = $ac_status" >&5
3323 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 >  (exit $ac_status); }; } &&
3325 >         { ac_try='test -s conftest.$ac_objext'
3326 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3327 >  (eval $ac_try) 2>&5
3328 >  ac_status=$?
3329 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330    (exit $ac_status); }; }; then
3331    prepflagworks=1
3332   else
3333    echo "$as_me: failed program was:" >&5
3334 < cat conftest.$ac_ext >&5
3334 > sed 's/^/| /' conftest.$ac_ext >&5
3335 >
3336   prepflagworks=0
3337   fi
3338 < rm -f conftest.$ac_objext conftest.$ac_ext
3338 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3339  
3340    F90FLAGS=$ac_save_F90FLAGS
3341    ac_ext=$ac_save_ext
# Line 2449 | Line 3345 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3345   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3346   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3347  
3348 +
3349    if test "$prepflagworks" = 1; then
3350 <    echo "$as_me:2453: result: yes" >&5
3350 >    echo "$as_me:$LINENO: result: yes" >&5
3351   echo "${ECHO_T}yes" >&6
3352  
3353    else
3354 <    echo "$as_me:2457: result: no" >&5
3354 >    echo "$as_me:$LINENO: result: no" >&5
3355   echo "${ECHO_T}no" >&6
3356 <    { { echo "$as_me:2459: error: Can't figure out working Fortran90 preprocessor flag" >&5
3356 >    { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor flag" >&5
3357   echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;}
3358     { (exit 1); exit 1; }; }
3359    fi
3360   fi
3361  
3362 +
3363 +
3364 +
3365 +
3366   # Try to determine native compiler flags that allow us to use F90 suffix
3367   # for preprocessed f90 source with -D type defines
3368  
# Line 2482 | Line 3383 | if test "$ac_test_PREPDEFFLAG" != "set"; then
3383    esac
3384  
3385    if test -z "$PREPDEFFLAG"; then
3386 <        { echo "$as_me:2485: WARNING: \"Using empty PREPDEFFLAG\"" >&5
3386 >        { echo "$as_me:$LINENO: WARNING: \"Using empty PREPDEFFLAG\"" >&5
3387   echo "$as_me: WARNING: \"Using empty PREPDEFFLAG\"" >&2;}
3388          PREPDEFFLAG=" "
3389    fi
3390  
3391 <  echo "$as_me:2490: checking to make sure F90 preprocessor define flag works" >&5
3391 >  echo "$as_me:$LINENO: checking to make sure F90 preprocessor define flag works" >&5
3392   echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6
3393  
3394 +
3395    ac_ext=f90
3396   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3397   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 2505 | Line 3407 | program main
3407  
3408      cat >conftest.$ac_ext <<_ACEOF
3409  
3410 +
3411   program main
3412  
3413    integer :: i
# Line 2514 | Line 3417 | end program main
3417    choke me
3418   #endif
3419  
3420 +
3421   end program main
3422  
3423   _ACEOF
3424   rm -f conftest.$ac_objext
3425 < if { (eval echo "$as_me:2521: \"$ac_compile\"") >&5
3426 <  (eval $ac_compile) 2>&5
3425 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3426 >  (eval $ac_compile) 2>conftest.er1
3427    ac_status=$?
3428 <  echo "$as_me:2524: \$? = $ac_status" >&5
3428 >  grep -v '^ *+' conftest.er1 >conftest.err
3429 >  rm -f conftest.er1
3430 >  cat conftest.err >&5
3431 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432    (exit $ac_status); } &&
3433 <         { ac_try='test -s conftest.$ac_objext'
3434 <  { (eval echo "$as_me:2527: \"$ac_try\"") >&5
3433 >         { ac_try='test -z "$ac_f90_werror_flag"
3434 >                         || test ! -s conftest.err'
3435 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3436    (eval $ac_try) 2>&5
3437    ac_status=$?
3438 <  echo "$as_me:2530: \$? = $ac_status" >&5
3438 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439 >  (exit $ac_status); }; } &&
3440 >         { ac_try='test -s conftest.$ac_objext'
3441 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3442 >  (eval $ac_try) 2>&5
3443 >  ac_status=$?
3444 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445    (exit $ac_status); }; }; then
3446    prepdefflagworks=1
3447   else
3448    echo "$as_me: failed program was:" >&5
3449 < cat conftest.$ac_ext >&5
3449 > sed 's/^/| /' conftest.$ac_ext >&5
3450 >
3451   prepdefflagworks=0
3452   fi
3453 < rm -f conftest.$ac_objext conftest.$ac_ext
3453 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3454  
3455    F90FLAGS=$ac_save_F90FLAGS
3456    ac_ext=$ac_save_ext
# Line 2545 | Line 3460 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3460   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3461   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3462  
3463 +
3464 +
3465    if test "$prepdefflagworks" = 1; then
3466 <    echo "$as_me:2549: result: yes" >&5
3466 >    echo "$as_me:$LINENO: result: yes" >&5
3467   echo "${ECHO_T}yes" >&6
3468  
3469    else
3470 <    echo "$as_me:2553: result: no" >&5
3470 >    echo "$as_me:$LINENO: result: no" >&5
3471   echo "${ECHO_T}no" >&6
3472 <    { { echo "$as_me:2555: error: Can't figure out working Fortran90 preprocessor define flag" >&5
3472 >    { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor define flag" >&5
3473   echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;}
3474     { (exit 1); exit 1; }; }
3475    fi
# Line 2563 | Line 3480 | ac_ext=f90
3480   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3481   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3482  
3483 +
3484 +
3485   ac_ext=f90
3486   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3487   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3488   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3489 < echo "$as_me:2570: checking how to get verbose linking output from $F90" >&5
3489 > echo "$as_me:$LINENO: checking how to get verbose linking output from $F90" >&5
3490   echo $ECHO_N "checking how to get verbose linking output from $F90... $ECHO_C" >&6
3491   if test "${ac_cv_prog_f90_v+set}" = set; then
3492    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2577 | Line 3496 | end program main
3496  
3497   program main
3498  
3499 +
3500   end program main
3501  
3502   _ACEOF
3503   rm -f conftest.$ac_objext
3504 < if { (eval echo "$as_me:2584: \"$ac_compile\"") >&5
3505 <  (eval $ac_compile) 2>&5
3506 <  ac_status=$?
3507 <  echo "$as_me:2587: \$? = $ac_status" >&5
3504 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3505 >  (eval $ac_compile) 2>conftest.er1
3506 >  ac_status=$?
3507 >  grep -v '^ *+' conftest.er1 >conftest.err
3508 >  rm -f conftest.er1
3509 >  cat conftest.err >&5
3510 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511    (exit $ac_status); } &&
3512 <         { ac_try='test -s conftest.$ac_objext'
3513 <  { (eval echo "$as_me:2590: \"$ac_try\"") >&5
3512 >         { ac_try='test -z "$ac_f90_werror_flag"
3513 >                         || test ! -s conftest.err'
3514 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3515    (eval $ac_try) 2>&5
3516    ac_status=$?
3517 <  echo "$as_me:2593: \$? = $ac_status" >&5
3517 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518 >  (exit $ac_status); }; } &&
3519 >         { ac_try='test -s conftest.$ac_objext'
3520 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3521 >  (eval $ac_try) 2>&5
3522 >  ac_status=$?
3523 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524    (exit $ac_status); }; }; then
3525    ac_cv_prog_f90_v=
3526   # Try some options frequently used verbose output
# Line 2604 | Line 3534 | end program main
3534  
3535   program main
3536  
3537 +
3538   end program main
3539  
3540   _ACEOF
# Line 2615 | Line 3546 | F90FLAGS="$F90FLAGS $ac_verb"
3546   ac_save_F90FLAGS=$F90FLAGS
3547   F90FLAGS="$F90FLAGS $ac_verb"
3548  
3549 < (eval echo $as_me:2618: \"$ac_link\") >&5
3549 > (eval echo $as_me:3549: \"$ac_link\") >&5
3550   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3551   echo "$ac_f90_v_output" >&5
3552   F90FLAGS=$ac_save_F90FLAGS
# Line 2647 | Line 3578 | if test -z "$ac_cv_prog_f90_v"; then
3578    done
3579   done
3580   if test -z "$ac_cv_prog_f90_v"; then
3581 <   { echo "$as_me:2650: WARNING: cannot determine how to obtain linking information from $F90" >&5
3581 >   { echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $F90" >&5
3582   echo "$as_me: WARNING: cannot determine how to obtain linking information from $F90" >&2;}
3583   fi
3584   else
3585    echo "$as_me: failed program was:" >&5
3586 < cat conftest.$ac_ext >&5
3587 < { echo "$as_me:2656: WARNING: compilation failed" >&5
3586 > sed 's/^/| /' conftest.$ac_ext >&5
3587 >
3588 > { echo "$as_me:$LINENO: WARNING: compilation failed" >&5
3589   echo "$as_me: WARNING: compilation failed" >&2;}
3590   fi
3591 < rm -f conftest.$ac_objext conftest.$ac_ext
3591 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3592  
3593   fi
3594 < echo "$as_me:2662: result: $ac_cv_prog_f90_v" >&5
3594 > echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5
3595   echo "${ECHO_T}$ac_cv_prog_f90_v" >&6
3596 < echo "$as_me:2664: checking for Fortran 90 libraries" >&5
3596 > echo "$as_me:$LINENO: checking for Fortran 90 libraries" >&5
3597   echo $ECHO_N "checking for Fortran 90 libraries... $ECHO_C" >&6
3598   if test "${ac_cv_flibs+set}" = set; then
3599    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2679 | Line 3611 | end program main
3611  
3612   program main
3613  
3614 +
3615   end program main
3616  
3617   _ACEOF
# Line 2690 | Line 3623 | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3623   ac_save_F90FLAGS=$F90FLAGS
3624   F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3625  
3626 < (eval echo $as_me:2693: \"$ac_link\") >&5
3626 > (eval echo $as_me:3626: \"$ac_link\") >&5
3627   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3628   echo "$ac_f90_v_output" >&5
3629   F90FLAGS=$ac_save_F90FLAGS
# Line 2843 | Line 3776 | echo "$as_me:2846: result: $ac_cv_flibs" >&5
3776   fi # test "x$F90LIBS" = "x"
3777  
3778   fi
3779 < echo "$as_me:2846: result: $ac_cv_flibs" >&5
3779 > echo "$as_me:$LINENO: result: $ac_cv_flibs" >&5
3780   echo "${ECHO_T}$ac_cv_flibs" >&6
3781   F90LIBS="$ac_cv_f90libs"
3782  
# Line 2852 | Line 3785 | echo "$as_me:2855: checking for Fortran 90 name-mangli
3785   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3786   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3787  
3788 < echo "$as_me:2855: checking for Fortran 90 name-mangling scheme" >&5
3788 >
3789 > echo "$as_me:$LINENO: checking for Fortran 90 name-mangling scheme" >&5
3790   echo $ECHO_N "checking for Fortran 90 name-mangling scheme... $ECHO_C" >&6
3791   if test "${ac_cv_f90_mangling+set}" = set; then
3792    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2870 | Line 3804 | if { (eval echo "$as_me:2873: \"$ac_compile\"") >&5
3804   end
3805   _ACEOF
3806   rm -f conftest.$ac_objext
3807 < if { (eval echo "$as_me:2873: \"$ac_compile\"") >&5
3808 <  (eval $ac_compile) 2>&5
3807 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3808 >  (eval $ac_compile) 2>conftest.er1
3809    ac_status=$?
3810 <  echo "$as_me:2876: \$? = $ac_status" >&5
3810 >  grep -v '^ *+' conftest.er1 >conftest.err
3811 >  rm -f conftest.er1
3812 >  cat conftest.err >&5
3813 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814    (exit $ac_status); } &&
3815 <         { ac_try='test -s conftest.$ac_objext'
3816 <  { (eval echo "$as_me:2879: \"$ac_try\"") >&5
3815 >         { ac_try='test -z "$ac_f90_werror_flag"
3816 >                         || test ! -s conftest.err'
3817 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3818    (eval $ac_try) 2>&5
3819    ac_status=$?
3820 <  echo "$as_me:2882: \$? = $ac_status" >&5
3820 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821 >  (exit $ac_status); }; } &&
3822 >         { ac_try='test -s conftest.$ac_objext'
3823 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3824 >  (eval $ac_try) 2>&5
3825 >  ac_status=$?
3826 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3827    (exit $ac_status); }; }; then
3828    mv conftest.$ac_objext cf90_test.$ac_objext
3829  
# Line 2897 | Line 3841 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3841      for ac_underscore in "" "_"; do
3842        ac_func="$ac_foobar$ac_underscore"
3843        cat >conftest.$ac_ext <<_ACEOF
3844 < #line 2900 "configure"
3845 < #include "confdefs.h"
3844 > /* confdefs.h.  */
3845 > _ACEOF
3846 > cat confdefs.h >>conftest.$ac_ext
3847 > cat >>conftest.$ac_ext <<_ACEOF
3848 > /* end confdefs.h.  */
3849  
3850   /* Override any gcc2 internal prototype to avoid an error.  */
3851   #ifdef __cplusplus
# Line 2916 | Line 3863 | if { (eval echo "$as_me:2919: \"$ac_link\"") >&5
3863   }
3864   _ACEOF
3865   rm -f conftest.$ac_objext conftest$ac_exeext
3866 < if { (eval echo "$as_me:2919: \"$ac_link\"") >&5
3867 <  (eval $ac_link) 2>&5
3866 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3867 >  (eval $ac_link) 2>conftest.er1
3868    ac_status=$?
3869 <  echo "$as_me:2922: \$? = $ac_status" >&5
3869 >  grep -v '^ *+' conftest.er1 >conftest.err
3870 >  rm -f conftest.er1
3871 >  cat conftest.err >&5
3872 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873    (exit $ac_status); } &&
3874 <         { ac_try='test -s conftest$ac_exeext'
3875 <  { (eval echo "$as_me:2925: \"$ac_try\"") >&5
3874 >         { ac_try='test -z "$ac_c_werror_flag"
3875 >                         || test ! -s conftest.err'
3876 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3877    (eval $ac_try) 2>&5
3878    ac_status=$?
3879 <  echo "$as_me:2928: \$? = $ac_status" >&5
3879 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3880 >  (exit $ac_status); }; } &&
3881 >         { ac_try='test -s conftest$ac_exeext'
3882 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3883 >  (eval $ac_try) 2>&5
3884 >  ac_status=$?
3885 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886    (exit $ac_status); }; }; then
3887    ac_success=yes; break 2
3888   else
3889    echo "$as_me: failed program was:" >&5
3890 < cat conftest.$ac_ext >&5
3890 > sed 's/^/| /' conftest.$ac_ext >&5
3891 >
3892   fi
3893 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3893 > rm -f conftest.err conftest.$ac_objext \
3894 >      conftest$ac_exeext conftest.$ac_ext
3895      done
3896    done
3897  
# Line 2953 | Line 3912 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
3912          ac_func="$ac_foo_bar$ac_underscore$ac_extra"
3913  
3914          cat >conftest.$ac_ext <<_ACEOF
3915 < #line 2956 "configure"
3916 < #include "confdefs.h"
3915 > /* confdefs.h.  */
3916 > _ACEOF
3917 > cat confdefs.h >>conftest.$ac_ext
3918 > cat >>conftest.$ac_ext <<_ACEOF
3919 > /* end confdefs.h.  */
3920  
3921   /* Override any gcc2 internal prototype to avoid an error.  */
3922   #ifdef __cplusplus
# Line 2972 | Line 3934 | if { (eval echo "$as_me:2975: \"$ac_link\"") >&5
3934   }
3935   _ACEOF
3936   rm -f conftest.$ac_objext conftest$ac_exeext
3937 < if { (eval echo "$as_me:2975: \"$ac_link\"") >&5
3938 <  (eval $ac_link) 2>&5
3937 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3938 >  (eval $ac_link) 2>conftest.er1
3939    ac_status=$?
3940 <  echo "$as_me:2978: \$? = $ac_status" >&5
3940 >  grep -v '^ *+' conftest.er1 >conftest.err
3941 >  rm -f conftest.er1
3942 >  cat conftest.err >&5
3943 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944    (exit $ac_status); } &&
3945 <         { ac_try='test -s conftest$ac_exeext'
3946 <  { (eval echo "$as_me:2981: \"$ac_try\"") >&5
3945 >         { ac_try='test -z "$ac_c_werror_flag"
3946 >                         || test ! -s conftest.err'
3947 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3948    (eval $ac_try) 2>&5
3949    ac_status=$?
3950 <  echo "$as_me:2984: \$? = $ac_status" >&5
3950 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3951 >  (exit $ac_status); }; } &&
3952 >         { ac_try='test -s conftest$ac_exeext'
3953 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3954 >  (eval $ac_try) 2>&5
3955 >  ac_status=$?
3956 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957    (exit $ac_status); }; }; then
3958    ac_success_extra=yes; break
3959   else
3960    echo "$as_me: failed program was:" >&5
3961 < cat conftest.$ac_ext >&5
3961 > sed 's/^/| /' conftest.$ac_ext >&5
3962 >
3963   fi
3964 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3964 > rm -f conftest.err conftest.$ac_objext \
3965 >      conftest$ac_exeext conftest.$ac_ext
3966       done
3967  
3968       if test "$ac_success_extra" = "yes"; then
# Line 3020 | Line 3994 | cat conftest.$ac_ext >&5
3994    rm -f cf90_test* conftest*
3995   else
3996    echo "$as_me: failed program was:" >&5
3997 < cat conftest.$ac_ext >&5
3997 > sed 's/^/| /' conftest.$ac_ext >&5
3998 >
3999   fi
4000 < rm -f conftest.$ac_objext conftest.$ac_ext
4000 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4001   ac_ext=f90
4002   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4003   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4004   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4005  
4006   fi
4007 < echo "$as_me:3032: result: $ac_cv_f90_mangling" >&5
4007 > echo "$as_me:$LINENO: result: $ac_cv_f90_mangling" >&5
4008   echo "${ECHO_T}$ac_cv_f90_mangling" >&6
4009  
4010 +
4011 +
4012   case $ac_cv_f90_mangling in
4013    "lower case, no underscore, no extra underscore")
4014 <          cat >>confdefs.h <<\EOF
4014 >          cat >>confdefs.h <<\_ACEOF
4015   #define F90_FUNC(name,NAME) name
4016 < EOF
4016 > _ACEOF
4017  
4018 <          cat >>confdefs.h <<\EOF
4018 >          cat >>confdefs.h <<\_ACEOF
4019   #define F90_FUNC_(name,NAME) name
4020 < EOF
4020 > _ACEOF
4021   ;;
4022    "lower case, no underscore, extra underscore")
4023 <          cat >>confdefs.h <<\EOF
4023 >          cat >>confdefs.h <<\_ACEOF
4024   #define F90_FUNC(name,NAME) name
4025 < EOF
4025 > _ACEOF
4026  
4027 <          cat >>confdefs.h <<\EOF
4027 >          cat >>confdefs.h <<\_ACEOF
4028   #define F90_FUNC_(name,NAME) name ## _
4029 < EOF
4029 > _ACEOF
4030   ;;
4031    "lower case, underscore, no extra underscore")
4032 <          cat >>confdefs.h <<\EOF
4032 >          cat >>confdefs.h <<\_ACEOF
4033   #define F90_FUNC(name,NAME) name ## _
4034 < EOF
4034 > _ACEOF
4035  
4036 <          cat >>confdefs.h <<\EOF
4036 >          cat >>confdefs.h <<\_ACEOF
4037   #define F90_FUNC_(name,NAME) name ## _
4038 < EOF
4038 > _ACEOF
4039   ;;
4040    "lower case, underscore, extra underscore")
4041 <          cat >>confdefs.h <<\EOF
4041 >          cat >>confdefs.h <<\_ACEOF
4042   #define F90_FUNC(name,NAME) name ## _
4043 < EOF
4043 > _ACEOF
4044  
4045 <          cat >>confdefs.h <<\EOF
4045 >          cat >>confdefs.h <<\_ACEOF
4046   #define F90_FUNC_(name,NAME) name ## __
4047 < EOF
4047 > _ACEOF
4048   ;;
4049    "upper case, no underscore, no extra underscore")
4050 <          cat >>confdefs.h <<\EOF
4050 >          cat >>confdefs.h <<\_ACEOF
4051   #define F90_FUNC(name,NAME) NAME
4052 < EOF
4052 > _ACEOF
4053  
4054 <          cat >>confdefs.h <<\EOF
4054 >          cat >>confdefs.h <<\_ACEOF
4055   #define F90_FUNC_(name,NAME) NAME
4056 < EOF
4056 > _ACEOF
4057   ;;
4058    "upper case, no underscore, extra underscore")
4059 <          cat >>confdefs.h <<\EOF
4059 >          cat >>confdefs.h <<\_ACEOF
4060   #define F90_FUNC(name,NAME) NAME
4061 < EOF
4061 > _ACEOF
4062  
4063 <          cat >>confdefs.h <<\EOF
4063 >          cat >>confdefs.h <<\_ACEOF
4064   #define F90_FUNC_(name,NAME) NAME ## _
4065 < EOF
4065 > _ACEOF
4066   ;;
4067    "upper case, underscore, no extra underscore")
4068 <          cat >>confdefs.h <<\EOF
4068 >          cat >>confdefs.h <<\_ACEOF
4069   #define F90_FUNC(name,NAME) NAME ## _
4070 < EOF
4070 > _ACEOF
4071  
4072 <          cat >>confdefs.h <<\EOF
4072 >          cat >>confdefs.h <<\_ACEOF
4073   #define F90_FUNC_(name,NAME) NAME ## _
4074 < EOF
4074 > _ACEOF
4075   ;;
4076    "upper case, underscore, extra underscore")
4077 <          cat >>confdefs.h <<\EOF
4077 >          cat >>confdefs.h <<\_ACEOF
4078   #define F90_FUNC(name,NAME) NAME ## _
4079 < EOF
4079 > _ACEOF
4080  
4081 <          cat >>confdefs.h <<\EOF
4081 >          cat >>confdefs.h <<\_ACEOF
4082   #define F90_FUNC_(name,NAME) NAME ## __
4083 < EOF
4083 > _ACEOF
4084   ;;
4085    *)
4086 <          { echo "$as_me:3109: WARNING: unknown Fortran 90 name-mangling scheme" >&5
4086 >          { echo "$as_me:$LINENO: WARNING: unknown Fortran 90 name-mangling scheme" >&5
4087   echo "$as_me: WARNING: unknown Fortran 90 name-mangling scheme" >&2;}
4088            ;;
4089   esac
4090  
4091 < echo "$as_me:3114: checking for module suffix" >&5
4091 >
4092 >
4093 >
4094 >
4095 > echo "$as_me:$LINENO: checking for module suffix" >&5
4096   echo $ECHO_N "checking for module suffix... $ECHO_C" >&6
4097   rm -f conftest*
4098   # Intel ifc compiler generates files by the name of work.pc and work.pcl (!)
# Line 3138 | Line 4119 | if $F90 -c conftest.f90 > conftest.out 2>&1 ; then
4119          fi
4120      fi
4121      if test -z "$MOD" ; then
4122 <        echo "$as_me:3141: result: unknown" >&5
4122 >        echo "$as_me:$LINENO: result: unknown" >&5
4123   echo "${ECHO_T}unknown" >&6
4124          # Use mod if we can't figure it out
4125          MOD="mod"
4126      else
4127 <        echo "$as_me:3146: result: $MOD" >&5
4127 >        echo "$as_me:$LINENO: result: $MOD" >&5
4128   echo "${ECHO_T}$MOD" >&6
4129      fi
4130      if test -s work.pcl ; then
4131 <        { echo "$as_me:3150: WARNING: Compiler generates auxillery files!" >&5
4131 >        { echo "$as_me:$LINENO: WARNING: Compiler generates auxillery files!" >&5
4132   echo "$as_me: WARNING: Compiler generates auxillery files!" >&2;}
4133      fi
4134   else
4135 <    echo "$as_me:3154: result: unknown" >&5
4135 >    echo "$as_me:$LINENO: result: unknown" >&5
4136   echo "${ECHO_T}unknown" >&6
4137   fi
4138  
4139 +
4140 +
4141 +
4142 +
4143   # Check for module include path (some use -I, some (Solaris) use -M, some
4144   # (absoft) use -p).
4145   # Intel compilers use a wierd system: -cl,filename.pcl .  If no file is
4146   # specified, work.pcl and work.pc are created.  However, if you specify
4147   # a file, it must contain a the name of a file ending in .pc .  Ugh!
4148   # Use the module made above
4149 < echo "$as_me:3164: checking for module directory path flag" >&5
4149 > echo "$as_me:$LINENO: checking for module directory path flag" >&5
4150   echo $ECHO_N "checking for module directory path flag... $ECHO_C" >&6
4151   rm -f conftest*
4152   # Intel ifc compiler generates files by the name of work.pc and work.pcl (!)
# Line 3195 | Line 4180 | EOF
4180     if $F90 -c -Iconf conftest1.f90 > conftest.out 2>&1 ; then
4181         MODDIRFLAG="-I"
4182         F90MODINCSPEC="-I<dir>"
4183 <       echo "$as_me:3198: result: -I" >&5
4183 >       echo "$as_me:$LINENO: result: -I" >&5
4184   echo "${ECHO_T}-I" >&6
4185     elif $F90 -c -Mconf conftest1.f90 >> conftest.out 2>&1 ; then
4186         MODDIRFLAG="-M"
4187         F90MODINCSPEC="-M<dir>"
4188 <       echo "$as_me:3203: result: -M" >&5
4188 >       echo "$as_me:$LINENO: result: -M" >&5
4189   echo "${ECHO_T}-M" >&6
4190     elif $F90 -c -pconf conftest1.f90 >> conftest.out 2>&1 ; then
4191         MODDIRFLAG="-p"
4192         F90MODINCSPEC="-p<dir>"
4193 <       echo "$as_me:3208: result: -p" >&5
4193 >       echo "$as_me:$LINENO: result: -p" >&5
4194   echo "${ECHO_T}-p" >&6
4195     elif test -s work.pc ; then
4196          cp work.pc conf/mpimod.pc
# Line 3213 | Line 4198 | echo "${ECHO_T}-p" >&6
4198          echo "`pwd`/conf/mpimod.pc" >> conf/mpimod.pcl
4199          if $F90 -c -cl,conf/mpimod.pcl conftest1.f >>conftest.out 2>&1 ; then
4200              MODDIRFLAG='-cl,mpimod.pcl'
4201 <            echo "$as_me:3216: result: -cl,filename where filename contains a list of files and directories" >&5
4201 >            echo "$as_me:$LINENO: result: -cl,filename where filename contains a list of files and directories" >&5
4202   echo "${ECHO_T}-cl,filename where filename contains a list of files and directories" >&6
4203              F90_WORK_FILES_ARG="-cl,mpimod.pcl"
4204              F90MODINCSPEC="-cl,<dir>/<file>mod.pcl"
# Line 3226 | Line 4211 | echo "${ECHO_T}-cl,filename where filename contains a
4211          fi
4212     fi
4213     if test -z "MODDIRFLAG" ; then
4214 <       echo "$as_me:3229: result: unknown" >&5
4214 >       echo "$as_me:$LINENO: result: unknown" >&5
4215   echo "${ECHO_T}unknown" >&6
4216     fi
4217  
4218 +
4219     rm -f conftest* conf/conftest* conf/CONFTEST* CONFTEST* conf/mpimod*
4220     if test $madedir = 1 ; then rmdir conf ; fi
4221   fi
4222  
4223 < echo "$as_me:3237: checking for Fortran 90 module file names" >&5
4223 >
4224 > echo "$as_me:$LINENO: checking for Fortran 90 module file names" >&5
4225   echo $ECHO_N "checking for Fortran 90 module file names... $ECHO_C" >&6
4226   if test "${ac_cv_f90_module_names+set}" = set; then
4227    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3252 | Line 4239 | if { (eval echo "$as_me:3255: \"$ac_compile\"") >&5
4239   END MODULE Bar
4240   _ACEOF
4241   rm -f conftest.$ac_objext
4242 < if { (eval echo "$as_me:3255: \"$ac_compile\"") >&5
4243 <  (eval $ac_compile) 2>&5
4242 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4243 >  (eval $ac_compile) 2>conftest.er1
4244    ac_status=$?
4245 <  echo "$as_me:3258: \$? = $ac_status" >&5
4245 >  grep -v '^ *+' conftest.er1 >conftest.err
4246 >  rm -f conftest.er1
4247 >  cat conftest.err >&5
4248 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249    (exit $ac_status); } &&
4250 <         { ac_try='test -s conftest.$ac_objext'
4251 <  { (eval echo "$as_me:3261: \"$ac_try\"") >&5
4250 >         { ac_try='test -z "$ac_f90_werror_flag"
4251 >                         || test ! -s conftest.err'
4252 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4253    (eval $ac_try) 2>&5
4254    ac_status=$?
4255 <  echo "$as_me:3264: \$? = $ac_status" >&5
4255 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 >  (exit $ac_status); }; } &&
4257 >         { ac_try='test -s conftest.$ac_objext'
4258 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4259 >  (eval $ac_try) 2>&5
4260 >  ac_status=$?
4261 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262    (exit $ac_status); }; }; then
4263    ac_cv_f90_module_names=
4264   ac_file_list=*
# Line 3344 | Line 4341 | fi
4341            ;;
4342         # Other files - we have no idea how they are generated
4343         *)
4344 <          { echo "$as_me:3347: WARNING: Bogus file found: $ac_file" >&5
4344 >          { echo "$as_me:$LINENO: WARNING: Bogus file found: $ac_file" >&5
4345   echo "$as_me: WARNING: Bogus file found: $ac_file" >&2;}
4346            ;;
4347     esac
4348   done
4349   if test "x$ac_cv_f90_module_names" = "x"; then
4350 <  { echo "$as_me:3353: WARNING: Couldn't determine module file names" >&5
4350 >  { echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5
4351   echo "$as_me: WARNING: Couldn't determine module file names" >&2;}
4352   fi
4353  
4354   else
4355    echo "$as_me: failed program was:" >&5
4356 < cat conftest.$ac_ext >&5
4356 > sed 's/^/| /' conftest.$ac_ext >&5
4357 >
4358   ac_cv_f90_module_names=
4359 < { echo "$as_me:3361: WARNING: Couldn't determine module file names" >&5
4359 > { echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5
4360   echo "$as_me: WARNING: Couldn't determine module file names" >&2;}
4361   fi
4362 < rm -f conftest.$ac_objext conftest.$ac_ext
4362 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4363   cd ..
4364   # cleanup
4365   rm -rf conftest
# Line 3371 | Line 4369 | echo "$as_me:3374: result: $ac_cv_f90_module_names" >&
4369   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4370  
4371   fi
4372 < echo "$as_me:3374: result: $ac_cv_f90_module_names" >&5
4372 > echo "$as_me:$LINENO: result: $ac_cv_f90_module_names" >&5
4373   echo "${ECHO_T}$ac_cv_f90_module_names" >&6 # AC_CACHE_CHECK
4374  
4375   # We now generate a shell script that will help us to figure out the correct
# Line 3456 | Line 4454 | ac_ext=c
4454   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4455   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4456  
4457 +
4458   ac_ext=c
4459   ac_cpp='$CPP $CPPFLAGS'
4460   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 3467 | Line 4466 | echo "$as_me:3470: checking how to run the C preproces
4466   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4467   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4468   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4469 < echo "$as_me:3470: checking how to run the C preprocessor" >&5
4469 > echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4470   echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4471   # On Suns, sometimes $CPP names a directory.
4472   if test -n "$CPP" && test -d "$CPP"; then
# Line 3480 | Line 4479 | else
4479        # Double quotes because CPP needs to be expanded
4480      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4481      do
3483      # break 2 since there is a loop in there.
4482        ac_preproc_ok=false
4483   for ac_c_preproc_warn_flag in '' yes
4484   do
4485    # Use a header file that comes with gcc, so configuring glibc
4486    # with a fresh cross-compiler works.
4487 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4488 +  # <limits.h> exists even on freestanding compilers.
4489    # On the NeXT, cc -E runs the code through the compiler's parser,
4490    # not just through cpp. "Syntax error" is here to catch this case.
4491    cat >conftest.$ac_ext <<_ACEOF
4492 < #line 3492 "configure"
3493 < #include "confdefs.h"
3494 < #include <assert.h>
3495 <                     Syntax error
4492 > /* confdefs.h.  */
4493   _ACEOF
4494 < if { (eval echo "$as_me:3497: \"$ac_cpp conftest.$ac_ext\"") >&5
4494 > cat confdefs.h >>conftest.$ac_ext
4495 > cat >>conftest.$ac_ext <<_ACEOF
4496 > /* end confdefs.h.  */
4497 > #ifdef __STDC__
4498 > # include <limits.h>
4499 > #else
4500 > # include <assert.h>
4501 > #endif
4502 >                     Syntax error
4503 > _ACEOF
4504 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4505    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4506    ac_status=$?
4507 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4507 >  grep -v '^ *+' conftest.er1 >conftest.err
4508    rm -f conftest.er1
4509    cat conftest.err >&5
4510 <  echo "$as_me:3503: \$? = $ac_status" >&5
4510 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511    (exit $ac_status); } >/dev/null; then
4512    if test -s conftest.err; then
4513      ac_cpp_err=$ac_c_preproc_warn_flag
4514 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4515    else
4516      ac_cpp_err=
4517    fi
# Line 3514 | Line 4522 | else
4522    :
4523   else
4524    echo "$as_me: failed program was:" >&5
4525 <  cat conftest.$ac_ext >&5
4525 > sed 's/^/| /' conftest.$ac_ext >&5
4526 >
4527    # Broken: fails on valid input.
4528   continue
4529   fi
# Line 3523 | Line 4532 | rm -f conftest.err conftest.$ac_ext
4532    # OK, works on sane cases.  Now check whether non-existent headers
4533    # can be detected and how.
4534    cat >conftest.$ac_ext <<_ACEOF
4535 < #line 3526 "configure"
4536 < #include "confdefs.h"
4535 > /* confdefs.h.  */
4536 > _ACEOF
4537 > cat confdefs.h >>conftest.$ac_ext
4538 > cat >>conftest.$ac_ext <<_ACEOF
4539 > /* end confdefs.h.  */
4540   #include <ac_nonexistent.h>
4541   _ACEOF
4542 < if { (eval echo "$as_me:3530: \"$ac_cpp conftest.$ac_ext\"") >&5
4542 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4543    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4544    ac_status=$?
4545 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4545 >  grep -v '^ *+' conftest.er1 >conftest.err
4546    rm -f conftest.er1
4547    cat conftest.err >&5
4548 <  echo "$as_me:3536: \$? = $ac_status" >&5
4548 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549    (exit $ac_status); } >/dev/null; then
4550    if test -s conftest.err; then
4551      ac_cpp_err=$ac_c_preproc_warn_flag
4552 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4553    else
4554      ac_cpp_err=
4555    fi
# Line 3548 | Line 4561 | else
4561   continue
4562   else
4563    echo "$as_me: failed program was:" >&5
4564 <  cat conftest.$ac_ext >&5
4564 > sed 's/^/| /' conftest.$ac_ext >&5
4565 >
4566    # Passes both tests.
4567   ac_preproc_ok=:
4568   break
# Line 3559 | Line 4573 | if $ac_preproc_ok; then
4573   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4574   rm -f conftest.err conftest.$ac_ext
4575   if $ac_preproc_ok; then
4576 <  break 2
4576 >  break
4577   fi
4578  
4579      done
# Line 3570 | Line 4584 | echo "$as_me:3573: result: $CPP" >&5
4584   else
4585    ac_cv_prog_CPP=$CPP
4586   fi
4587 < echo "$as_me:3573: result: $CPP" >&5
4587 > echo "$as_me:$LINENO: result: $CPP" >&5
4588   echo "${ECHO_T}$CPP" >&6
4589   ac_preproc_ok=false
4590   for ac_c_preproc_warn_flag in '' yes
4591   do
4592    # Use a header file that comes with gcc, so configuring glibc
4593    # with a fresh cross-compiler works.
4594 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4595 +  # <limits.h> exists even on freestanding compilers.
4596    # On the NeXT, cc -E runs the code through the compiler's parser,
4597    # not just through cpp. "Syntax error" is here to catch this case.
4598    cat >conftest.$ac_ext <<_ACEOF
4599 < #line 3583 "configure"
3584 < #include "confdefs.h"
3585 < #include <assert.h>
3586 <                     Syntax error
4599 > /* confdefs.h.  */
4600   _ACEOF
4601 < if { (eval echo "$as_me:3588: \"$ac_cpp conftest.$ac_ext\"") >&5
4601 > cat confdefs.h >>conftest.$ac_ext
4602 > cat >>conftest.$ac_ext <<_ACEOF
4603 > /* end confdefs.h.  */
4604 > #ifdef __STDC__
4605 > # include <limits.h>
4606 > #else
4607 > # include <assert.h>
4608 > #endif
4609 >                     Syntax error
4610 > _ACEOF
4611 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4612    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4613    ac_status=$?
4614 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4614 >  grep -v '^ *+' conftest.er1 >conftest.err
4615    rm -f conftest.er1
4616    cat conftest.err >&5
4617 <  echo "$as_me:3594: \$? = $ac_status" >&5
4617 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4618    (exit $ac_status); } >/dev/null; then
4619    if test -s conftest.err; then
4620      ac_cpp_err=$ac_c_preproc_warn_flag
4621 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4622    else
4623      ac_cpp_err=
4624    fi
# Line 3605 | Line 4629 | else
4629    :
4630   else
4631    echo "$as_me: failed program was:" >&5
4632 <  cat conftest.$ac_ext >&5
4632 > sed 's/^/| /' conftest.$ac_ext >&5
4633 >
4634    # Broken: fails on valid input.
4635   continue
4636   fi
# Line 3614 | Line 4639 | rm -f conftest.err conftest.$ac_ext
4639    # OK, works on sane cases.  Now check whether non-existent headers
4640    # can be detected and how.
4641    cat >conftest.$ac_ext <<_ACEOF
4642 < #line 3617 "configure"
4643 < #include "confdefs.h"
4642 > /* confdefs.h.  */
4643 > _ACEOF
4644 > cat confdefs.h >>conftest.$ac_ext
4645 > cat >>conftest.$ac_ext <<_ACEOF
4646 > /* end confdefs.h.  */
4647   #include <ac_nonexistent.h>
4648   _ACEOF
4649 < if { (eval echo "$as_me:3621: \"$ac_cpp conftest.$ac_ext\"") >&5
4649 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4650    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4651    ac_status=$?
4652 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4652 >  grep -v '^ *+' conftest.er1 >conftest.err
4653    rm -f conftest.er1
4654    cat conftest.err >&5
4655 <  echo "$as_me:3627: \$? = $ac_status" >&5
4655 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656    (exit $ac_status); } >/dev/null; then
4657    if test -s conftest.err; then
4658      ac_cpp_err=$ac_c_preproc_warn_flag
4659 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4660    else
4661      ac_cpp_err=
4662    fi
# Line 3639 | Line 4668 | else
4668   continue
4669   else
4670    echo "$as_me: failed program was:" >&5
4671 <  cat conftest.$ac_ext >&5
4671 > sed 's/^/| /' conftest.$ac_ext >&5
4672 >
4673    # Passes both tests.
4674   ac_preproc_ok=:
4675   break
# Line 3652 | Line 4682 | else
4682   if $ac_preproc_ok; then
4683    :
4684   else
4685 <  { { echo "$as_me:3655: error: C preprocessor \"$CPP\" fails sanity check" >&5
4686 < echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
4685 >  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4686 > See \`config.log' for more details." >&5
4687 > echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4688 > See \`config.log' for more details." >&2;}
4689     { (exit 1); exit 1; }; }
4690   fi
4691  
# Line 3663 | Line 4695 | for ac_header in unistd.h sys/pstat.h sys/sysmp.h sys/
4695   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4696   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4697  
4698 < 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
4698 >
4699 > echo "$as_me:$LINENO: checking for egrep" >&5
4700 > echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4701 > if test "${ac_cv_prog_egrep+set}" = set; then
4702 >  echo $ECHO_N "(cached) $ECHO_C" >&6
4703 > else
4704 >  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4705 >    then ac_cv_prog_egrep='grep -E'
4706 >    else ac_cv_prog_egrep='egrep'
4707 >    fi
4708 > fi
4709 > echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4710 > echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4711 > EGREP=$ac_cv_prog_egrep
4712 >
4713 >
4714 > echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4715 > echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4716 > if test "${ac_cv_header_stdc+set}" = set; then
4717 >  echo $ECHO_N "(cached) $ECHO_C" >&6
4718 > else
4719 >  cat >conftest.$ac_ext <<_ACEOF
4720 > /* confdefs.h.  */
4721 > _ACEOF
4722 > cat confdefs.h >>conftest.$ac_ext
4723 > cat >>conftest.$ac_ext <<_ACEOF
4724 > /* end confdefs.h.  */
4725 > #include <stdlib.h>
4726 > #include <stdarg.h>
4727 > #include <string.h>
4728 > #include <float.h>
4729 >
4730 > int
4731 > main ()
4732 > {
4733 >
4734 >  ;
4735 >  return 0;
4736 > }
4737 > _ACEOF
4738 > rm -f conftest.$ac_objext
4739 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4740 >  (eval $ac_compile) 2>conftest.er1
4741 >  ac_status=$?
4742 >  grep -v '^ *+' conftest.er1 >conftest.err
4743 >  rm -f conftest.er1
4744 >  cat conftest.err >&5
4745 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 >  (exit $ac_status); } &&
4747 >         { ac_try='test -z "$ac_c_werror_flag"
4748 >                         || test ! -s conftest.err'
4749 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4750 >  (eval $ac_try) 2>&5
4751 >  ac_status=$?
4752 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4753 >  (exit $ac_status); }; } &&
4754 >         { ac_try='test -s conftest.$ac_objext'
4755 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4756 >  (eval $ac_try) 2>&5
4757 >  ac_status=$?
4758 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 >  (exit $ac_status); }; }; then
4760 >  ac_cv_header_stdc=yes
4761 > else
4762 >  echo "$as_me: failed program was:" >&5
4763 > sed 's/^/| /' conftest.$ac_ext >&5
4764 >
4765 > ac_cv_header_stdc=no
4766 > fi
4767 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4768 >
4769 > if test $ac_cv_header_stdc = yes; then
4770 >  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4771 >  cat >conftest.$ac_ext <<_ACEOF
4772 > /* confdefs.h.  */
4773 > _ACEOF
4774 > cat confdefs.h >>conftest.$ac_ext
4775 > cat >>conftest.$ac_ext <<_ACEOF
4776 > /* end confdefs.h.  */
4777 > #include <string.h>
4778 >
4779 > _ACEOF
4780 > if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4781 >  $EGREP "memchr" >/dev/null 2>&1; then
4782 >  :
4783 > else
4784 >  ac_cv_header_stdc=no
4785 > fi
4786 > rm -f conftest*
4787 >
4788 > fi
4789 >
4790 > if test $ac_cv_header_stdc = yes; then
4791 >  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4792 >  cat >conftest.$ac_ext <<_ACEOF
4793 > /* confdefs.h.  */
4794 > _ACEOF
4795 > cat confdefs.h >>conftest.$ac_ext
4796 > cat >>conftest.$ac_ext <<_ACEOF
4797 > /* end confdefs.h.  */
4798 > #include <stdlib.h>
4799 >
4800 > _ACEOF
4801 > if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4802 >  $EGREP "free" >/dev/null 2>&1; then
4803 >  :
4804 > else
4805 >  ac_cv_header_stdc=no
4806 > fi
4807 > rm -f conftest*
4808 >
4809 > fi
4810 >
4811 > if test $ac_cv_header_stdc = yes; then
4812 >  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4813 >  if test "$cross_compiling" = yes; then
4814 >  :
4815 > else
4816 >  cat >conftest.$ac_ext <<_ACEOF
4817 > /* confdefs.h.  */
4818 > _ACEOF
4819 > cat confdefs.h >>conftest.$ac_ext
4820 > cat >>conftest.$ac_ext <<_ACEOF
4821 > /* end confdefs.h.  */
4822 > #include <ctype.h>
4823 > #if ((' ' & 0x0FF) == 0x020)
4824 > # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4825 > # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4826 > #else
4827 > # define ISLOWER(c) \
4828 >                   (('a' <= (c) && (c) <= 'i') \
4829 >                     || ('j' <= (c) && (c) <= 'r') \
4830 >                     || ('s' <= (c) && (c) <= 'z'))
4831 > # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4832 > #endif
4833 >
4834 > #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4835 > int
4836 > main ()
4837 > {
4838 >  int i;
4839 >  for (i = 0; i < 256; i++)
4840 >    if (XOR (islower (i), ISLOWER (i))
4841 >        || toupper (i) != TOUPPER (i))
4842 >      exit(2);
4843 >  exit (0);
4844 > }
4845 > _ACEOF
4846 > rm -f conftest$ac_exeext
4847 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4848 >  (eval $ac_link) 2>&5
4849 >  ac_status=$?
4850 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851 >  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4852 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4853 >  (eval $ac_try) 2>&5
4854 >  ac_status=$?
4855 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4856 >  (exit $ac_status); }; }; then
4857 >  :
4858 > else
4859 >  echo "$as_me: program exited with status $ac_status" >&5
4860 > echo "$as_me: failed program was:" >&5
4861 > sed 's/^/| /' conftest.$ac_ext >&5
4862 >
4863 > ( exit $ac_status )
4864 > ac_cv_header_stdc=no
4865 > fi
4866 > rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4867 > fi
4868 > fi
4869 > fi
4870 > echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4871 > echo "${ECHO_T}$ac_cv_header_stdc" >&6
4872 > if test $ac_cv_header_stdc = yes; then
4873 >
4874 > cat >>confdefs.h <<\_ACEOF
4875 > #define STDC_HEADERS 1
4876 > _ACEOF
4877 >
4878 > fi
4879 >
4880 > # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4881 >
4882 >
4883 >
4884 >
4885 >
4886 >
4887 >
4888 >
4889 >
4890 > for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4891 >                  inttypes.h stdint.h unistd.h
4892   do
4893 < ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4894 < echo "$as_me:3669: checking for $ac_header" >&5
4893 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4894 > echo "$as_me:$LINENO: checking for $ac_header" >&5
4895   echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4896 < if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4896 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
4897    echo $ECHO_N "(cached) $ECHO_C" >&6
4898   else
4899    cat >conftest.$ac_ext <<_ACEOF
4900 < #line 3675 "configure"
4901 < #include "confdefs.h"
4900 > /* confdefs.h.  */
4901 > _ACEOF
4902 > cat confdefs.h >>conftest.$ac_ext
4903 > cat >>conftest.$ac_ext <<_ACEOF
4904 > /* end confdefs.h.  */
4905 > $ac_includes_default
4906 >
4907   #include <$ac_header>
4908   _ACEOF
4909 < if { (eval echo "$as_me:3679: \"$ac_cpp conftest.$ac_ext\"") >&5
4909 > rm -f conftest.$ac_objext
4910 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4911 >  (eval $ac_compile) 2>conftest.er1
4912 >  ac_status=$?
4913 >  grep -v '^ *+' conftest.er1 >conftest.err
4914 >  rm -f conftest.er1
4915 >  cat conftest.err >&5
4916 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917 >  (exit $ac_status); } &&
4918 >         { ac_try='test -z "$ac_c_werror_flag"
4919 >                         || test ! -s conftest.err'
4920 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4921 >  (eval $ac_try) 2>&5
4922 >  ac_status=$?
4923 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 >  (exit $ac_status); }; } &&
4925 >         { ac_try='test -s conftest.$ac_objext'
4926 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4927 >  (eval $ac_try) 2>&5
4928 >  ac_status=$?
4929 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4930 >  (exit $ac_status); }; }; then
4931 >  eval "$as_ac_Header=yes"
4932 > else
4933 >  echo "$as_me: failed program was:" >&5
4934 > sed 's/^/| /' conftest.$ac_ext >&5
4935 >
4936 > eval "$as_ac_Header=no"
4937 > fi
4938 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4939 > fi
4940 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4941 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4942 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
4943 >  cat >>confdefs.h <<_ACEOF
4944 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4945 > _ACEOF
4946 >
4947 > fi
4948 >
4949 > done
4950 >
4951 >
4952 >
4953 >
4954 >
4955 >
4956 >
4957 >
4958 >
4959 >
4960 >
4961 > 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
4962 > do
4963 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4964 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
4965 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
4966 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4967 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
4968 >  echo $ECHO_N "(cached) $ECHO_C" >&6
4969 > fi
4970 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4971 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4972 > else
4973 >  # Is the header compilable?
4974 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
4975 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4976 > cat >conftest.$ac_ext <<_ACEOF
4977 > /* confdefs.h.  */
4978 > _ACEOF
4979 > cat confdefs.h >>conftest.$ac_ext
4980 > cat >>conftest.$ac_ext <<_ACEOF
4981 > /* end confdefs.h.  */
4982 > $ac_includes_default
4983 > #include <$ac_header>
4984 > _ACEOF
4985 > rm -f conftest.$ac_objext
4986 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4987 >  (eval $ac_compile) 2>conftest.er1
4988 >  ac_status=$?
4989 >  grep -v '^ *+' conftest.er1 >conftest.err
4990 >  rm -f conftest.er1
4991 >  cat conftest.err >&5
4992 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993 >  (exit $ac_status); } &&
4994 >         { ac_try='test -z "$ac_c_werror_flag"
4995 >                         || test ! -s conftest.err'
4996 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4997 >  (eval $ac_try) 2>&5
4998 >  ac_status=$?
4999 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5000 >  (exit $ac_status); }; } &&
5001 >         { ac_try='test -s conftest.$ac_objext'
5002 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5003 >  (eval $ac_try) 2>&5
5004 >  ac_status=$?
5005 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5006 >  (exit $ac_status); }; }; then
5007 >  ac_header_compiler=yes
5008 > else
5009 >  echo "$as_me: failed program was:" >&5
5010 > sed 's/^/| /' conftest.$ac_ext >&5
5011 >
5012 > ac_header_compiler=no
5013 > fi
5014 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5015 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5016 > echo "${ECHO_T}$ac_header_compiler" >&6
5017 >
5018 > # Is the header present?
5019 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
5020 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5021 > cat >conftest.$ac_ext <<_ACEOF
5022 > /* confdefs.h.  */
5023 > _ACEOF
5024 > cat confdefs.h >>conftest.$ac_ext
5025 > cat >>conftest.$ac_ext <<_ACEOF
5026 > /* end confdefs.h.  */
5027 > #include <$ac_header>
5028 > _ACEOF
5029 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5030    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5031    ac_status=$?
5032 <  egrep -v '^ *\+' conftest.er1 >conftest.err
5032 >  grep -v '^ *+' conftest.er1 >conftest.err
5033    rm -f conftest.er1
5034    cat conftest.err >&5
5035 <  echo "$as_me:3685: \$? = $ac_status" >&5
5035 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036    (exit $ac_status); } >/dev/null; then
5037    if test -s conftest.err; then
5038      ac_cpp_err=$ac_c_preproc_warn_flag
5039 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5040    else
5041      ac_cpp_err=
5042    fi
# Line 3693 | Line 5044 | if test -z "$ac_cpp_err"; then
5044    ac_cpp_err=yes
5045   fi
5046   if test -z "$ac_cpp_err"; then
5047 <  eval "$ac_ac_Header=yes"
5047 >  ac_header_preproc=yes
5048   else
5049    echo "$as_me: failed program was:" >&5
5050 <  cat conftest.$ac_ext >&5
5051 <  eval "$ac_ac_Header=no"
5050 > sed 's/^/| /' conftest.$ac_ext >&5
5051 >
5052 >  ac_header_preproc=no
5053   fi
5054   rm -f conftest.err conftest.$ac_ext
5055 + echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5056 + echo "${ECHO_T}$ac_header_preproc" >&6
5057 +
5058 + # So?  What about this header?
5059 + case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5060 +  yes:no: )
5061 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5062 + echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5063 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5064 + echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5065 +    ac_header_preproc=yes
5066 +    ;;
5067 +  no:yes:* )
5068 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5069 + echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5070 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5071 + echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5072 +    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5073 + echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5074 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5075 + echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5076 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5077 + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5078 +    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5079 + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5080 +    (
5081 +      cat <<\_ASBOX
5082 + ## ------------------------------ ##
5083 + ## Report this to gezelter@nd.edu ##
5084 + ## ------------------------------ ##
5085 + _ASBOX
5086 +    ) |
5087 +      sed "s/^/$as_me: WARNING:     /" >&2
5088 +    ;;
5089 + esac
5090 + echo "$as_me:$LINENO: checking for $ac_header" >&5
5091 + echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5092 + if eval "test \"\${$as_ac_Header+set}\" = set"; then
5093 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5094 + else
5095 +  eval "$as_ac_Header=\$ac_header_preproc"
5096   fi
5097 < echo "$as_me:3704: result: `eval echo '${'$ac_ac_Header'}'`" >&5
5098 < 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
5097 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5098 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5099  
5100   fi
5101 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
5102 +  cat >>confdefs.h <<_ACEOF
5103 + #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5104 + _ACEOF
5105 +
5106 + fi
5107 +
5108   done
5109  
5110 +
5111 +
5112 +
5113 +
5114 +
5115   for ac_func in pstat_getstatic sysmp getsysinfo sysctl table
5116   do
5117 < ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
5118 < echo "$as_me:3717: checking for $ac_func" >&5
5117 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5118 > echo "$as_me:$LINENO: checking for $ac_func" >&5
5119   echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5120 < if eval "test \"\${$ac_ac_var+set}\" = set"; then
5120 > if eval "test \"\${$as_ac_var+set}\" = set"; then
5121    echo $ECHO_N "(cached) $ECHO_C" >&6
5122   else
5123    cat >conftest.$ac_ext <<_ACEOF
5124 < #line 3723 "configure"
5125 < #include "confdefs.h"
5124 > /* confdefs.h.  */
5125 > _ACEOF
5126 > cat confdefs.h >>conftest.$ac_ext
5127 > cat >>conftest.$ac_ext <<_ACEOF
5128 > /* end confdefs.h.  */
5129 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5130 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5131 > #define $ac_func innocuous_$ac_func
5132 >
5133   /* System header to define __stub macros and hopefully few prototypes,
5134 <    which can conflict with char $ac_func (); below.  */
5135 < #include <assert.h>
5134 >    which can conflict with char $ac_func (); below.
5135 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5136 >    <limits.h> exists even on freestanding compilers.  */
5137 >
5138 > #ifdef __STDC__
5139 > # include <limits.h>
5140 > #else
5141 > # include <assert.h>
5142 > #endif
5143 >
5144 > #undef $ac_func
5145 >
5146   /* Override any gcc2 internal prototype to avoid an error.  */
5147   #ifdef __cplusplus
5148   extern "C"
5149 + {
5150   #endif
5151   /* We use char because int might match the return type of a gcc2
5152     builtin and then its argument prototype would still apply.  */
5153   char $ac_func ();
3735 char (*f) ();
3736
3737 int
3738 main ()
3739 {
5154   /* The GNU C library defines this for functions which it implements
5155      to always fail with ENOSYS.  Some functions are actually named
5156      something starting with __ and the normal name is an alias.  */
5157   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5158   choke me
5159   #else
5160 < f = $ac_func;
5160 > char (*f) () = $ac_func;
5161   #endif
5162 + #ifdef __cplusplus
5163 + }
5164 + #endif
5165  
5166 + int
5167 + main ()
5168 + {
5169 + return f != $ac_func;
5170    ;
5171    return 0;
5172   }
5173   _ACEOF
5174   rm -f conftest.$ac_objext conftest$ac_exeext
5175 < if { (eval echo "$as_me:3754: \"$ac_link\"") >&5
5176 <  (eval $ac_link) 2>&5
5175 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5176 >  (eval $ac_link) 2>conftest.er1
5177    ac_status=$?
5178 <  echo "$as_me:3757: \$? = $ac_status" >&5
5178 >  grep -v '^ *+' conftest.er1 >conftest.err
5179 >  rm -f conftest.er1
5180 >  cat conftest.err >&5
5181 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182    (exit $ac_status); } &&
5183 <         { ac_try='test -s conftest$ac_exeext'
5184 <  { (eval echo "$as_me:3760: \"$ac_try\"") >&5
5183 >         { ac_try='test -z "$ac_c_werror_flag"
5184 >                         || test ! -s conftest.err'
5185 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5186    (eval $ac_try) 2>&5
5187    ac_status=$?
5188 <  echo "$as_me:3763: \$? = $ac_status" >&5
5188 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189 >  (exit $ac_status); }; } &&
5190 >         { ac_try='test -s conftest$ac_exeext'
5191 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5192 >  (eval $ac_try) 2>&5
5193 >  ac_status=$?
5194 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5195    (exit $ac_status); }; }; then
5196 <  eval "$ac_ac_var=yes"
5196 >  eval "$as_ac_var=yes"
5197   else
5198    echo "$as_me: failed program was:" >&5
5199 < cat conftest.$ac_ext >&5
5200 < eval "$ac_ac_var=no"
5199 > sed 's/^/| /' conftest.$ac_ext >&5
5200 >
5201 > eval "$as_ac_var=no"
5202   fi
5203 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5203 > rm -f conftest.err conftest.$ac_objext \
5204 >      conftest$ac_exeext conftest.$ac_ext
5205   fi
5206 < echo "$as_me:3773: result: `eval echo '${'$ac_ac_var'}'`" >&5
5207 < echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
5208 < if test `eval echo '${'$ac_ac_var'}'` = yes; then
5209 <  cat >>confdefs.h <<EOF
5210 < #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
5211 < EOF
5206 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5207 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5208 > if test `eval echo '${'$as_ac_var'}'` = yes; then
5209 >  cat >>confdefs.h <<_ACEOF
5210 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5211 > _ACEOF
5212  
5213   fi
5214   done
5215  
5216   # special check for _system_configuration because AIX <4.3.2 do not
5217   # contain the `physmem' member.
5218 < echo "$as_me:3785: checking for external symbol _system_configuration" >&5
5218 > echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
5219   echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
5220   cat >conftest.$ac_ext <<_ACEOF
5221 < #line 3788 "configure"
5222 < #include "confdefs.h"
5221 > /* confdefs.h.  */
5222 > _ACEOF
5223 > cat confdefs.h >>conftest.$ac_ext
5224 > cat >>conftest.$ac_ext <<_ACEOF
5225 > /* end confdefs.h.  */
5226   #include <sys/systemcfg.h>
5227   int
5228   main ()
# Line 3797 | Line 5233 | if { (eval echo "$as_me:3800: \"$ac_compile\"") >&5
5233   }
5234   _ACEOF
5235   rm -f conftest.$ac_objext
5236 < if { (eval echo "$as_me:3800: \"$ac_compile\"") >&5
5237 <  (eval $ac_compile) 2>&5
5236 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5237 >  (eval $ac_compile) 2>conftest.er1
5238    ac_status=$?
5239 <  echo "$as_me:3803: \$? = $ac_status" >&5
5239 >  grep -v '^ *+' conftest.er1 >conftest.err
5240 >  rm -f conftest.er1
5241 >  cat conftest.err >&5
5242 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243    (exit $ac_status); } &&
5244 <         { ac_try='test -s conftest.$ac_objext'
5245 <  { (eval echo "$as_me:3806: \"$ac_try\"") >&5
5244 >         { ac_try='test -z "$ac_c_werror_flag"
5245 >                         || test ! -s conftest.err'
5246 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5247    (eval $ac_try) 2>&5
5248    ac_status=$?
5249 <  echo "$as_me:3809: \$? = $ac_status" >&5
5249 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5250 >  (exit $ac_status); }; } &&
5251 >         { ac_try='test -s conftest.$ac_objext'
5252 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5253 >  (eval $ac_try) 2>&5
5254 >  ac_status=$?
5255 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5256    (exit $ac_status); }; }; then
5257 <  echo "$as_me:3811: result: yes" >&5
5257 >  echo "$as_me:$LINENO: result: yes" >&5
5258   echo "${ECHO_T}yes" >&6
5259  
5260 < cat >>confdefs.h <<\EOF
5260 > cat >>confdefs.h <<\_ACEOF
5261   #define HAVE__SYSTEM_CONFIGURATION 1
5262 < EOF
5262 > _ACEOF
5263  
5264   else
5265    echo "$as_me: failed program was:" >&5
5266 < cat conftest.$ac_ext >&5
5267 < echo "$as_me:3821: result: no" >&5
5266 > sed 's/^/| /' conftest.$ac_ext >&5
5267 >
5268 > echo "$as_me:$LINENO: result: no" >&5
5269   echo "${ECHO_T}no" >&6
5270   fi
5271 < rm -f conftest.$ac_objext conftest.$ac_ext
5271 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5272  
5273    # clean out junk possibly left behind by a previous configuration
5274    rm -f src/getopt.h
# Line 3829 | Line 5276 | ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_
5276  
5277   for ac_header in getopt.h
5278   do
5279 < ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
5280 < echo "$as_me:3833: checking for $ac_header" >&5
5279 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5280 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5281 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5282   echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5283 < if eval "test \"\${$ac_ac_Header+set}\" = set"; then
5283 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5284    echo $ECHO_N "(cached) $ECHO_C" >&6
5285 + fi
5286 + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5287 + echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5288   else
5289 <  cat >conftest.$ac_ext <<_ACEOF
5290 < #line 3839 "configure"
5291 < #include "confdefs.h"
5289 >  # Is the header compilable?
5290 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
5291 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5292 > cat >conftest.$ac_ext <<_ACEOF
5293 > /* confdefs.h.  */
5294 > _ACEOF
5295 > cat confdefs.h >>conftest.$ac_ext
5296 > cat >>conftest.$ac_ext <<_ACEOF
5297 > /* end confdefs.h.  */
5298 > $ac_includes_default
5299   #include <$ac_header>
5300   _ACEOF
5301 < if { (eval echo "$as_me:3843: \"$ac_cpp conftest.$ac_ext\"") >&5
5301 > rm -f conftest.$ac_objext
5302 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5303 >  (eval $ac_compile) 2>conftest.er1
5304 >  ac_status=$?
5305 >  grep -v '^ *+' conftest.er1 >conftest.err
5306 >  rm -f conftest.er1
5307 >  cat conftest.err >&5
5308 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5309 >  (exit $ac_status); } &&
5310 >         { ac_try='test -z "$ac_c_werror_flag"
5311 >                         || test ! -s conftest.err'
5312 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5313 >  (eval $ac_try) 2>&5
5314 >  ac_status=$?
5315 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5316 >  (exit $ac_status); }; } &&
5317 >         { ac_try='test -s conftest.$ac_objext'
5318 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5319 >  (eval $ac_try) 2>&5
5320 >  ac_status=$?
5321 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5322 >  (exit $ac_status); }; }; then
5323 >  ac_header_compiler=yes
5324 > else
5325 >  echo "$as_me: failed program was:" >&5
5326 > sed 's/^/| /' conftest.$ac_ext >&5
5327 >
5328 > ac_header_compiler=no
5329 > fi
5330 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5331 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5332 > echo "${ECHO_T}$ac_header_compiler" >&6
5333 >
5334 > # Is the header present?
5335 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
5336 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5337 > cat >conftest.$ac_ext <<_ACEOF
5338 > /* confdefs.h.  */
5339 > _ACEOF
5340 > cat confdefs.h >>conftest.$ac_ext
5341 > cat >>conftest.$ac_ext <<_ACEOF
5342 > /* end confdefs.h.  */
5343 > #include <$ac_header>
5344 > _ACEOF
5345 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5346    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5347    ac_status=$?
5348 <  egrep -v '^ *\+' conftest.er1 >conftest.err
5348 >  grep -v '^ *+' conftest.er1 >conftest.err
5349    rm -f conftest.er1
5350    cat conftest.err >&5
5351 <  echo "$as_me:3849: \$? = $ac_status" >&5
5351 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5352    (exit $ac_status); } >/dev/null; then
5353    if test -s conftest.err; then
5354      ac_cpp_err=$ac_c_preproc_warn_flag
5355 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5356    else
5357      ac_cpp_err=
5358    fi
# Line 3857 | Line 5360 | if test -z "$ac_cpp_err"; then
5360    ac_cpp_err=yes
5361   fi
5362   if test -z "$ac_cpp_err"; then
5363 <  eval "$ac_ac_Header=yes"
5363 >  ac_header_preproc=yes
5364   else
5365    echo "$as_me: failed program was:" >&5
5366 <  cat conftest.$ac_ext >&5
5367 <  eval "$ac_ac_Header=no"
5366 > sed 's/^/| /' conftest.$ac_ext >&5
5367 >
5368 >  ac_header_preproc=no
5369   fi
5370   rm -f conftest.err conftest.$ac_ext
5371 + echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5372 + echo "${ECHO_T}$ac_header_preproc" >&6
5373 +
5374 + # So?  What about this header?
5375 + case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5376 +  yes:no: )
5377 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5378 + echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5379 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5380 + echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5381 +    ac_header_preproc=yes
5382 +    ;;
5383 +  no:yes:* )
5384 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5385 + echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5386 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5387 + echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5388 +    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5389 + echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5390 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5391 + echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5392 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5393 + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5394 +    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5395 + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5396 +    (
5397 +      cat <<\_ASBOX
5398 + ## ------------------------------ ##
5399 + ## Report this to gezelter@nd.edu ##
5400 + ## ------------------------------ ##
5401 + _ASBOX
5402 +    ) |
5403 +      sed "s/^/$as_me: WARNING:     /" >&2
5404 +    ;;
5405 + esac
5406 + echo "$as_me:$LINENO: checking for $ac_header" >&5
5407 + echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5408 + if eval "test \"\${$as_ac_Header+set}\" = set"; then
5409 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5410 + else
5411 +  eval "$as_ac_Header=\$ac_header_preproc"
5412   fi
5413 < echo "$as_me:3868: result: `eval echo '${'$ac_ac_Header'}'`" >&5
5414 < 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
5413 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5414 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5415  
5416   fi
5417 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
5418 +  cat >>confdefs.h <<_ACEOF
5419 + #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5420 + _ACEOF
5421 +
5422 + fi
5423 +
5424   done
5425  
5426 +
5427   for ac_func in getopt_long
5428   do
5429 < ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
5430 < echo "$as_me:3881: checking for $ac_func" >&5
5429 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5430 > echo "$as_me:$LINENO: checking for $ac_func" >&5
5431   echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5432 < if eval "test \"\${$ac_ac_var+set}\" = set"; then
5432 > if eval "test \"\${$as_ac_var+set}\" = set"; then
5433    echo $ECHO_N "(cached) $ECHO_C" >&6
5434   else
5435    cat >conftest.$ac_ext <<_ACEOF
5436 < #line 3887 "configure"
5437 < #include "confdefs.h"
5436 > /* confdefs.h.  */
5437 > _ACEOF
5438 > cat confdefs.h >>conftest.$ac_ext
5439 > cat >>conftest.$ac_ext <<_ACEOF
5440 > /* end confdefs.h.  */
5441 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5442 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5443 > #define $ac_func innocuous_$ac_func
5444 >
5445   /* System header to define __stub macros and hopefully few prototypes,
5446 <    which can conflict with char $ac_func (); below.  */
5447 < #include <assert.h>
5446 >    which can conflict with char $ac_func (); below.
5447 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5448 >    <limits.h> exists even on freestanding compilers.  */
5449 >
5450 > #ifdef __STDC__
5451 > # include <limits.h>
5452 > #else
5453 > # include <assert.h>
5454 > #endif
5455 >
5456 > #undef $ac_func
5457 >
5458   /* Override any gcc2 internal prototype to avoid an error.  */
5459   #ifdef __cplusplus
5460   extern "C"
5461 + {
5462   #endif
5463   /* We use char because int might match the return type of a gcc2
5464     builtin and then its argument prototype would still apply.  */
5465   char $ac_func ();
3899 char (*f) ();
3900
3901 int
3902 main ()
3903 {
5466   /* The GNU C library defines this for functions which it implements
5467      to always fail with ENOSYS.  Some functions are actually named
5468      something starting with __ and the normal name is an alias.  */
5469   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5470   choke me
5471   #else
5472 < f = $ac_func;
5472 > char (*f) () = $ac_func;
5473   #endif
5474 + #ifdef __cplusplus
5475 + }
5476 + #endif
5477  
5478 + int
5479 + main ()
5480 + {
5481 + return f != $ac_func;
5482    ;
5483    return 0;
5484   }
5485   _ACEOF
5486   rm -f conftest.$ac_objext conftest$ac_exeext
5487 < if { (eval echo "$as_me:3918: \"$ac_link\"") >&5
5488 <  (eval $ac_link) 2>&5
5487 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5488 >  (eval $ac_link) 2>conftest.er1
5489    ac_status=$?
5490 <  echo "$as_me:3921: \$? = $ac_status" >&5
5490 >  grep -v '^ *+' conftest.er1 >conftest.err
5491 >  rm -f conftest.er1
5492 >  cat conftest.err >&5
5493 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5494    (exit $ac_status); } &&
5495 <         { ac_try='test -s conftest$ac_exeext'
5496 <  { (eval echo "$as_me:3924: \"$ac_try\"") >&5
5495 >         { ac_try='test -z "$ac_c_werror_flag"
5496 >                         || test ! -s conftest.err'
5497 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5498    (eval $ac_try) 2>&5
5499    ac_status=$?
5500 <  echo "$as_me:3927: \$? = $ac_status" >&5
5500 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501 >  (exit $ac_status); }; } &&
5502 >         { ac_try='test -s conftest$ac_exeext'
5503 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5504 >  (eval $ac_try) 2>&5
5505 >  ac_status=$?
5506 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507    (exit $ac_status); }; }; then
5508 <  eval "$ac_ac_var=yes"
5508 >  eval "$as_ac_var=yes"
5509   else
5510    echo "$as_me: failed program was:" >&5
5511 < cat conftest.$ac_ext >&5
5512 < eval "$ac_ac_var=no"
5511 > sed 's/^/| /' conftest.$ac_ext >&5
5512 >
5513 > eval "$as_ac_var=no"
5514   fi
5515 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5515 > rm -f conftest.err conftest.$ac_objext \
5516 >      conftest$ac_exeext conftest.$ac_ext
5517   fi
5518 < echo "$as_me:3937: result: `eval echo '${'$ac_ac_var'}'`" >&5
5519 < echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
5520 < if test `eval echo '${'$ac_ac_var'}'` = yes; then
5521 <  cat >>confdefs.h <<EOF
5522 < #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
5523 < EOF
5518 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5519 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5520 > if test `eval echo '${'$as_ac_var'}'` = yes; then
5521 >  cat >>confdefs.h <<_ACEOF
5522 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5523 > _ACEOF
5524  
5525   else
5526    # FreeBSD has a gnugetopt library for this
5527 <    echo "$as_me:3946: checking for getopt_long in -lgnugetopt" >&5
5527 >    echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
5528   echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
5529   if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
5530    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3951 | Line 5532 | cat >conftest.$ac_ext <<_ACEOF
5532    ac_check_lib_save_LIBS=$LIBS
5533   LIBS="-lgnugetopt  $LIBS"
5534   cat >conftest.$ac_ext <<_ACEOF
5535 < #line 3954 "configure"
5536 < #include "confdefs.h"
5535 > /* confdefs.h.  */
5536 > _ACEOF
5537 > cat confdefs.h >>conftest.$ac_ext
5538 > cat >>conftest.$ac_ext <<_ACEOF
5539 > /* end confdefs.h.  */
5540  
5541   /* Override any gcc2 internal prototype to avoid an error.  */
5542   #ifdef __cplusplus
# Line 3970 | Line 5554 | if { (eval echo "$as_me:3973: \"$ac_link\"") >&5
5554   }
5555   _ACEOF
5556   rm -f conftest.$ac_objext conftest$ac_exeext
5557 < if { (eval echo "$as_me:3973: \"$ac_link\"") >&5
5558 <  (eval $ac_link) 2>&5
5557 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5558 >  (eval $ac_link) 2>conftest.er1
5559    ac_status=$?
5560 <  echo "$as_me:3976: \$? = $ac_status" >&5
5560 >  grep -v '^ *+' conftest.er1 >conftest.err
5561 >  rm -f conftest.er1
5562 >  cat conftest.err >&5
5563 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564    (exit $ac_status); } &&
5565 <         { ac_try='test -s conftest$ac_exeext'
5566 <  { (eval echo "$as_me:3979: \"$ac_try\"") >&5
5565 >         { ac_try='test -z "$ac_c_werror_flag"
5566 >                         || test ! -s conftest.err'
5567 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5568    (eval $ac_try) 2>&5
5569    ac_status=$?
5570 <  echo "$as_me:3982: \$? = $ac_status" >&5
5570 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5571 >  (exit $ac_status); }; } &&
5572 >         { ac_try='test -s conftest$ac_exeext'
5573 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5574 >  (eval $ac_try) 2>&5
5575 >  ac_status=$?
5576 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5577    (exit $ac_status); }; }; then
5578    ac_cv_lib_gnugetopt_getopt_long=yes
5579   else
5580    echo "$as_me: failed program was:" >&5
5581 < cat conftest.$ac_ext >&5
5581 > sed 's/^/| /' conftest.$ac_ext >&5
5582 >
5583   ac_cv_lib_gnugetopt_getopt_long=no
5584   fi
5585 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5585 > rm -f conftest.err conftest.$ac_objext \
5586 >      conftest$ac_exeext conftest.$ac_ext
5587   LIBS=$ac_check_lib_save_LIBS
5588   fi
5589 < echo "$as_me:3993: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
5589 > echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
5590   echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
5591   if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
5592 <  cat >>confdefs.h <<\EOF
5592 >  cat >>confdefs.h <<\_ACEOF
5593   #define HAVE_GETOPT_LONG 1
5594 < EOF
5594 > _ACEOF
5595  
5596   else
5597    # use the GNU replacement
5598 <      LIBOBJS="$LIBOBJS getopt.$ac_objext"
5599 <      LIBOBJS="$LIBOBJS getopt1.$ac_objext"
5600 <      ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
5598 >      case $LIBOBJS in
5599 >    "getopt.$ac_objext"   | \
5600 >  *" getopt.$ac_objext"   | \
5601 >    "getopt.$ac_objext "* | \
5602 >  *" getopt.$ac_objext "* ) ;;
5603 >  *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
5604 > esac
5605  
5606 +      case $LIBOBJS in
5607 +    "getopt1.$ac_objext"   | \
5608 +  *" getopt1.$ac_objext"   | \
5609 +    "getopt1.$ac_objext "* | \
5610 +  *" getopt1.$ac_objext "* ) ;;
5611 +  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
5612 + esac
5613 +
5614 +                ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
5615 +
5616   fi
5617  
5618   fi
5619   done
5620  
5621 +
5622 +
5623   case $debug in
5624    1)
5625       ;;
5626    *)
5627  
5628 < echo "$as_me:4016: checking whether we are *really* using GNU cc" >&5
5628 >
5629 >
5630 >
5631 >
5632 >
5633 > echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5
5634   echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6
5635   if test "${ac_cv_prog_really_gcc+set}" = set; then
5636    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4027 | Line 5644 | if { ac_try='${CC-cc} -E conftest.c'
5644   #endif
5645   EOF
5646   if { ac_try='${CC-cc} -E conftest.c'
5647 <  { (eval echo "$as_me:4030: \"$ac_try\"") >&5
5647 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5648    (eval $ac_try) 2>&5
5649    ac_status=$?
5650 <  echo "$as_me:4033: \$? = $ac_status" >&5
5650 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
5652    ac_cv_prog_really_gcc=yes
5653   else
# Line 4038 | Line 5655 | echo "$as_me:4041: result: $ac_cv_prog_really_gcc" >&5
5655   fi
5656  
5657   fi
5658 < echo "$as_me:4041: result: $ac_cv_prog_really_gcc" >&5
5658 > echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5
5659   echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6
5660   if test "$ac_cv_prog_really_gcc" = yes; then
5661          :
# Line 4048 | Line 5665 | fi
5665  
5666   fi
5667  
5668 +
5669   # Try to determine "good" native compiler flags if none specified on command
5670   # line
5671   if test "$ac_test_CFLAGS" != "set"; then
# Line 4100 | Line 5718 | echo "$as_me:4103: checking whether ${CC-cc} accepts -
5718    if test $ac_cv_prog_really_gcc = yes; then
5719      # -malign-double for x86 systems
5720  
5721 < echo "$as_me:4103: checking whether ${CC-cc} accepts -malign-double" >&5
5721 >
5722 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5
5723   echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6
5724   if test "${ac_align_double+set}" = set; then
5725    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4114 | Line 5733 | echo "$as_me:4117: result: $ac_align_double" >&5
5733   rm -f conftest*
5734  
5735   fi
5736 < echo "$as_me:4117: result: $ac_align_double" >&5
5736 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
5737   echo "${ECHO_T}$ac_align_double" >&6
5738   if test "$ac_align_double" = yes; then
5739          :
# Line 4126 | Line 5745 | echo "$as_me:4129: checking whether ${CC-cc} accepts -
5745  
5746      # -fstrict-aliasing for gcc-2.95+
5747  
5748 < echo "$as_me:4129: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
5748 >
5749 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
5750   echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6
5751   if test "${ac_fstrict_aliasing+set}" = set; then
5752    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4140 | Line 5760 | echo "$as_me:4143: result: $ac_fstrict_aliasing" >&5
5760   rm -f conftest*
5761  
5762   fi
5763 < echo "$as_me:4143: result: $ac_fstrict_aliasing" >&5
5763 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
5764   echo "${ECHO_T}$ac_fstrict_aliasing" >&6
5765   if test "$ac_fstrict_aliasing" = yes; then
5766          :
# Line 4157 | Line 5777 | echo "$as_me:4160: checking whether ${CC-cc} accepts -
5777                    case "${host_cpu}" in
5778            i586*)
5779  
5780 < echo "$as_me:4160: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
5780 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
5781   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
5782   if test "${ac_cpu_pentium+set}" = set; then
5783    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4171 | Line 5791 | echo "$as_me:4174: result: $ac_cpu_pentium" >&5
5791   rm -f conftest*
5792  
5793   fi
5794 < echo "$as_me:4174: result: $ac_cpu_pentium" >&5
5794 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
5795   echo "${ECHO_T}$ac_cpu_pentium" >&6
5796   if test "$ac_cpu_pentium" = yes; then
5797          :
# Line 4179 | Line 5799 | echo "$as_me:4182: checking whether ${CC-cc} accepts -
5799   else
5800          :
5801  
5802 < echo "$as_me:4182: checking whether ${CC-cc} accepts -mpentium" >&5
5802 >
5803 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5
5804   echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6
5805   if test "${ac_pentium+set}" = set; then
5806    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4193 | Line 5814 | echo "$as_me:4196: result: $ac_pentium" >&5
5814   rm -f conftest*
5815  
5816   fi
5817 < echo "$as_me:4196: result: $ac_pentium" >&5
5817 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
5818   echo "${ECHO_T}$ac_pentium" >&6
5819   if test "$ac_pentium" = yes; then
5820          :
# Line 4208 | Line 5829 | echo "$as_me:4211: checking whether ${CC-cc} accepts -
5829                    ;;
5830            i686*)
5831  
5832 < echo "$as_me:4211: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
5832 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
5833   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6
5834   if test "${ac_cpu_pentiumpro+set}" = set; then
5835    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4222 | Line 5843 | echo "$as_me:4225: result: $ac_cpu_pentiumpro" >&5
5843   rm -f conftest*
5844  
5845   fi
5846 < echo "$as_me:4225: result: $ac_cpu_pentiumpro" >&5
5846 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
5847   echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
5848   if test "$ac_cpu_pentiumpro" = yes; then
5849          :
# Line 4230 | Line 5851 | echo "$as_me:4233: checking whether ${CC-cc} accepts -
5851   else
5852          :
5853  
5854 < echo "$as_me:4233: checking whether ${CC-cc} accepts -mpentiumpro" >&5
5854 >
5855 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5
5856   echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6
5857   if test "${ac_pentiumpro+set}" = set; then
5858    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4244 | Line 5866 | echo "$as_me:4247: result: $ac_pentiumpro" >&5
5866   rm -f conftest*
5867  
5868   fi
5869 < echo "$as_me:4247: result: $ac_pentiumpro" >&5
5869 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
5870   echo "${ECHO_T}$ac_pentiumpro" >&6
5871   if test "$ac_pentiumpro" = yes; then
5872          :
# Line 4262 | Line 5884 | echo "$as_me:4265: checking whether ${CC-cc} accepts -
5884                  is60x=`echo $cputype | egrep "^600-9e?$"`
5885                  if test -n "$is60x"; then
5886  
5887 < echo "$as_me:4265: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
5887 >
5888 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
5889   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6
5890   if test "${ac_m_cpu_60x+set}" = set; then
5891    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4276 | Line 5899 | echo "$as_me:4279: result: $ac_m_cpu_60x" >&5
5899   rm -f conftest*
5900  
5901   fi
5902 < echo "$as_me:4279: result: $ac_m_cpu_60x" >&5
5902 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
5903   echo "${ECHO_T}$ac_m_cpu_60x" >&6
5904   if test "$ac_m_cpu_60x" = yes; then
5905          :
# Line 4288 | Line 5911 | echo "$as_me:4291: checking whether we are using gcc 2
5911  
5912                  elif test "$cputype" = 750; then
5913  
5914 < echo "$as_me:4291: checking whether we are using gcc 2.95 or later" >&5
5914 >
5915 > echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
5916   echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
5917   if test "${ac_cv_prog_gcc_2_95+set}" = set; then
5918    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4302 | Line 5926 | if { ac_try='${CC-cc} -E conftest.c'
5926   #endif
5927   EOF
5928   if { ac_try='${CC-cc} -E conftest.c'
5929 <  { (eval echo "$as_me:4305: \"$ac_try\"") >&5
5929 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5930    (eval $ac_try) 2>&5
5931    ac_status=$?
5932 <  echo "$as_me:4308: \$? = $ac_status" >&5
5932 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5933    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
5934    ac_cv_prog_gcc_2_95=yes
5935   else
# Line 4313 | Line 5937 | echo "$as_me:4316: result: $ac_cv_prog_gcc_2_95" >&5
5937   fi
5938  
5939   fi
5940 < echo "$as_me:4316: result: $ac_cv_prog_gcc_2_95" >&5
5940 > echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
5941   echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
5942   if test "$ac_cv_prog_gcc_2_95" = yes; then
5943          :
5944  
5945 < echo "$as_me:4321: checking whether ${CC-cc} accepts -mcpu=750" >&5
5945 >
5946 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5
5947   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6
5948   if test "${ac_m_cpu_750+set}" = set; then
5949    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4332 | Line 5957 | echo "$as_me:4335: result: $ac_m_cpu_750" >&5
5957   rm -f conftest*
5958  
5959   fi
5960 < echo "$as_me:4335: result: $ac_m_cpu_750" >&5
5960 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
5961   echo "${ECHO_T}$ac_m_cpu_750" >&6
5962   if test "$ac_m_cpu_750" = yes; then
5963          :
# Line 4350 | Line 5975 | echo "$as_me:4353: checking whether ${CC-cc} accepts -
5975                  fi
5976                  if test -z "$CPU_FLAGS"; then
5977  
5978 < echo "$as_me:4353: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
5978 >
5979 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
5980   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6
5981   if test "${ac_m_cpu_powerpc+set}" = set; then
5982    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4364 | Line 5990 | echo "$as_me:4367: result: $ac_m_cpu_powerpc" >&5
5990   rm -f conftest*
5991  
5992   fi
5993 < echo "$as_me:4367: result: $ac_m_cpu_powerpc" >&5
5993 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
5994   echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
5995   if test "$ac_m_cpu_powerpc" = yes; then
5996          :
# Line 4377 | Line 6003 | echo "$as_me:4380: checking whether ${CC-cc} accepts -
6003                  fi
6004                  if test -z "$CPU_FLAGS"; then
6005  
6006 < echo "$as_me:4380: checking whether ${CC-cc} accepts -mpowerpc" >&5
6006 >
6007 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5
6008   echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6
6009   if test "${ac_m_powerpc+set}" = set; then
6010    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4391 | Line 6018 | echo "$as_me:4394: result: $ac_m_powerpc" >&5
6018   rm -f conftest*
6019  
6020   fi
6021 < echo "$as_me:4394: result: $ac_m_powerpc" >&5
6021 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
6022   echo "${ECHO_T}$ac_m_powerpc" >&6
6023   if test "$ac_m_powerpc" = yes; then
6024          :
# Line 4420 | Line 6047 | echo "$as_me:4423: checking whether ${CC-cc} accepts $
6047          CFLAGS="-O3"
6048    fi
6049  
6050 < echo "$as_me:4423: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
6050 >
6051 >
6052 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
6053   echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6
6054   if test "${ac_guessed_cflags+set}" = set; then
6055    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4434 | Line 6063 | echo "$as_me:4437: result: $ac_guessed_cflags" >&5
6063   rm -f conftest*
6064  
6065   fi
6066 < echo "$as_me:4437: result: $ac_guessed_cflags" >&5
6066 > echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
6067   echo "${ECHO_T}$ac_guessed_cflags" >&6
6068   if test "$ac_guessed_cflags" = yes; then
6069          :
# Line 4453 | Line 6082 | fi
6082  
6083   fi
6084  
6085 +
6086   fi
6087  
6088 < echo "$as_me:4458: checking whether we are *really* using GNU c++" >&5
6088 >
6089 >
6090 >
6091 >
6092 >
6093 >
6094 > echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5
6095   echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6
6096   if test "${ac_cv_prog_really_gxx+set}" = set; then
6097    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4469 | Line 6105 | if { ac_try='${CXX-c++} -E conftest.cpp'
6105   #endif
6106   EOF
6107   if { ac_try='${CXX-c++} -E conftest.cpp'
6108 <  { (eval echo "$as_me:4472: \"$ac_try\"") >&5
6108 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6109    (eval $ac_try) 2>&5
6110    ac_status=$?
6111 <  echo "$as_me:4475: \$? = $ac_status" >&5
6111 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6112    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6113    ac_cv_prog_really_gxx=yes
6114   else
# Line 4480 | Line 6116 | echo "$as_me:4483: result: $ac_cv_prog_really_gxx" >&5
6116   fi
6117  
6118   fi
6119 < echo "$as_me:4483: result: $ac_cv_prog_really_gxx" >&5
6119 > echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5
6120   echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6
6121   if test "$ac_cv_prog_really_gxx" = yes; then
6122          :
# Line 4490 | Line 6126 | fi
6126  
6127   fi
6128  
6129 +
6130   # Try to determine "good" native compiler flags if none specified on command
6131   # line
6132   if test "$ac_test_CXXFLAGS" != "set"; then
# Line 4533 | Line 6170 | echo "$as_me:4536: checking whether ${CXX-c++} accepts
6170    if test $ac_cv_prog_really_gxx = yes; then
6171      # -malign-double for x86 systems
6172  
6173 < echo "$as_me:4536: checking whether ${CXX-c++} accepts -malign-double" >&5
6173 >
6174 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5
6175   echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6
6176   if test "${ac_align_double+set}" = set; then
6177    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4547 | Line 6185 | echo "$as_me:4550: result: $ac_align_double" >&5
6185   rm -f conftest*
6186  
6187   fi
6188 < echo "$as_me:4550: result: $ac_align_double" >&5
6188 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
6189   echo "${ECHO_T}$ac_align_double" >&6
6190   if test "$ac_align_double" = yes; then
6191          :
# Line 4559 | Line 6197 | echo "$as_me:4562: checking whether ${CXX-c++} accepts
6197  
6198      # -fstrict-aliasing for gcc-2.95+
6199  
6200 < echo "$as_me:4562: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
6200 >
6201 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
6202   echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6
6203   if test "${ac_fstrict_aliasing+set}" = set; then
6204    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4573 | Line 6212 | echo "$as_me:4576: result: $ac_fstrict_aliasing" >&5
6212   rm -f conftest*
6213  
6214   fi
6215 < echo "$as_me:4576: result: $ac_fstrict_aliasing" >&5
6215 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
6216   echo "${ECHO_T}$ac_fstrict_aliasing" >&6
6217   if test "$ac_fstrict_aliasing" = yes; then
6218          :
# Line 4590 | Line 6229 | echo "$as_me:4593: checking whether ${CXX-c++} accepts
6229                    case "${host_cpu}" in
6230            i586*)
6231  
6232 < echo "$as_me:4593: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5
6232 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5
6233   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentium... $ECHO_C" >&6
6234   if test "${ac_cpu_pentium+set}" = set; then
6235    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4604 | Line 6243 | echo "$as_me:4607: result: $ac_cpu_pentium" >&5
6243   rm -f conftest*
6244  
6245   fi
6246 < echo "$as_me:4607: result: $ac_cpu_pentium" >&5
6246 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
6247   echo "${ECHO_T}$ac_cpu_pentium" >&6
6248   if test "$ac_cpu_pentium" = yes; then
6249          :
# Line 4612 | Line 6251 | echo "$as_me:4615: checking whether ${CXX-c++} accepts
6251   else
6252          :
6253  
6254 < echo "$as_me:4615: checking whether ${CXX-c++} accepts -mpentium" >&5
6254 >
6255 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5
6256   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6
6257   if test "${ac_pentium+set}" = set; then
6258    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4626 | Line 6266 | echo "$as_me:4629: result: $ac_pentium" >&5
6266   rm -f conftest*
6267  
6268   fi
6269 < echo "$as_me:4629: result: $ac_pentium" >&5
6269 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
6270   echo "${ECHO_T}$ac_pentium" >&6
6271   if test "$ac_pentium" = yes; then
6272          :
# Line 4641 | Line 6281 | echo "$as_me:4644: checking whether ${CXX-c++} accepts
6281                    ;;
6282            i686*)
6283  
6284 < echo "$as_me:4644: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
6284 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
6285   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6
6286   if test "${ac_cpu_pentiumpro+set}" = set; then
6287    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4655 | Line 6295 | echo "$as_me:4658: result: $ac_cpu_pentiumpro" >&5
6295   rm -f conftest*
6296  
6297   fi
6298 < echo "$as_me:4658: result: $ac_cpu_pentiumpro" >&5
6298 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
6299   echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
6300   if test "$ac_cpu_pentiumpro" = yes; then
6301          :
# Line 4663 | Line 6303 | echo "$as_me:4666: checking whether ${CXX-c++} accepts
6303   else
6304          :
6305  
6306 < echo "$as_me:4666: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
6306 >
6307 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
6308   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6
6309   if test "${ac_pentiumpro+set}" = set; then
6310    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4677 | Line 6318 | echo "$as_me:4680: result: $ac_pentiumpro" >&5
6318   rm -f conftest*
6319  
6320   fi
6321 < echo "$as_me:4680: result: $ac_pentiumpro" >&5
6321 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
6322   echo "${ECHO_T}$ac_pentiumpro" >&6
6323   if test "$ac_pentiumpro" = yes; then
6324          :
# Line 4695 | Line 6336 | echo "$as_me:4698: checking whether ${CXX-c++} accepts
6336                  is60x=`echo $cputype | egrep "^600-9e?$"`
6337                  if test -n "$is60x"; then
6338  
6339 < echo "$as_me:4698: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
6339 >
6340 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
6341   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6
6342   if test "${ac_m_cpu_60x+set}" = set; then
6343    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4709 | Line 6351 | echo "$as_me:4712: result: $ac_m_cpu_60x" >&5
6351   rm -f conftest*
6352  
6353   fi
6354 < echo "$as_me:4712: result: $ac_m_cpu_60x" >&5
6354 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
6355   echo "${ECHO_T}$ac_m_cpu_60x" >&6
6356   if test "$ac_m_cpu_60x" = yes; then
6357          :
# Line 4721 | Line 6363 | echo "$as_me:4724: checking whether we are using g++ 2
6363  
6364                  elif test "$cputype" = 750; then
6365  
6366 < echo "$as_me:4724: checking whether we are using g++ 2.95 or later" >&5
6366 >
6367 > echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5
6368   echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6
6369   if test "${ac_cv_prog_gxx_2_95+set}" = set; then
6370    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4735 | Line 6378 | if { ac_try='${CXX-c++} -E conftest.cpp'
6378   #endif
6379   EOF
6380   if { ac_try='${CXX-c++} -E conftest.cpp'
6381 <  { (eval echo "$as_me:4738: \"$ac_try\"") >&5
6381 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6382    (eval $ac_try) 2>&5
6383    ac_status=$?
6384 <  echo "$as_me:4741: \$? = $ac_status" >&5
6384 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6385    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6386    ac_cv_prog_gxx_2_95=yes
6387   else
# Line 4746 | Line 6389 | echo "$as_me:4749: result: $ac_cv_prog_gxx_2_95" >&5
6389   fi
6390  
6391   fi
6392 < echo "$as_me:4749: result: $ac_cv_prog_gxx_2_95" >&5
6392 > echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5
6393   echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6
6394   if test "$ac_cv_prog_gxx_2_95" = yes; then
6395          :
6396  
6397 < echo "$as_me:4754: checking whether ${CXX-c++} accepts -mcpu=750" >&5
6397 >
6398 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5
6399   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6
6400   if test "${ac_m_cpu_750+set}" = set; then
6401    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4765 | Line 6409 | echo "$as_me:4768: result: $ac_m_cpu_750" >&5
6409   rm -f conftest*
6410  
6411   fi
6412 < echo "$as_me:4768: result: $ac_m_cpu_750" >&5
6412 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
6413   echo "${ECHO_T}$ac_m_cpu_750" >&6
6414   if test "$ac_m_cpu_750" = yes; then
6415          :
# Line 4783 | Line 6427 | echo "$as_me:4786: checking whether ${CXX-c++} accepts
6427                  fi
6428                  if test -z "$CPU_FLAGS"; then
6429  
6430 < echo "$as_me:4786: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
6430 >
6431 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
6432   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6
6433   if test "${ac_m_cpu_powerpc+set}" = set; then
6434    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4797 | Line 6442 | echo "$as_me:4800: result: $ac_m_cpu_powerpc" >&5
6442   rm -f conftest*
6443  
6444   fi
6445 < echo "$as_me:4800: result: $ac_m_cpu_powerpc" >&5
6445 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
6446   echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
6447   if test "$ac_m_cpu_powerpc" = yes; then
6448          :
# Line 4810 | Line 6455 | echo "$as_me:4813: checking whether ${CXX-c++} accepts
6455                  fi
6456                  if test -z "$CPU_FLAGS"; then
6457  
6458 < echo "$as_me:4813: checking whether ${CXX-c++} accepts -mpowerpc" >&5
6458 >
6459 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5
6460   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6
6461   if test "${ac_m_powerpc+set}" = set; then
6462    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4824 | Line 6470 | echo "$as_me:4827: result: $ac_m_powerpc" >&5
6470   rm -f conftest*
6471  
6472   fi
6473 < echo "$as_me:4827: result: $ac_m_powerpc" >&5
6473 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
6474   echo "${ECHO_T}$ac_m_powerpc" >&6
6475   if test "$ac_m_powerpc" = yes; then
6476          :
# Line 4853 | Line 6499 | echo "$as_me:4856: checking whether ${CXX-c++} accepts
6499          CXXFLAGS="-O3"
6500    fi
6501  
6502 < echo "$as_me:4856: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
6502 >
6503 >
6504 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
6505   echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6
6506   if test "${ac_guessed_cxxflags+set}" = set; then
6507    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4867 | Line 6515 | echo "$as_me:4870: result: $ac_guessed_cxxflags" >&5
6515   rm -f conftest*
6516  
6517   fi
6518 < echo "$as_me:4870: result: $ac_guessed_cxxflags" >&5
6518 > echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5
6519   echo "${ECHO_T}$ac_guessed_cxxflags" >&6
6520   if test "$ac_guessed_cxxflags" = yes; then
6521          :
# Line 4886 | Line 6534 | fi
6534  
6535   fi
6536  
6537 +
6538   fi
6539  
6540 +
6541 +
6542 +
6543 +
6544   # Try to determine "good" native compiler flags if none specified on command
6545   # line
6546  
# Line 4935 | Line 6588 | echo "$as_me:4938: checking whether ${F90-f90} accepts
6588          F90FLAGS="-O3"
6589    fi
6590  
6591 < echo "$as_me:4938: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
6591 >
6592 > echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
6593   echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6
6594   if test "${ac_guessed_f90flags+set}" = set; then
6595    echo $ECHO_N "(cached) $ECHO_C" >&6
6596   else
6597  
6598 +
6599 +
6600   ac_ext=f90
6601   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
6602   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 4949 | Line 6605 | if { (eval echo "$as_me:4952: \"$ac_compile\"") >&5
6605   echo 'program main' > conftest.$ac_ext
6606   echo 'end program main' >> conftest.$ac_ext
6607   ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5'
6608 < if { (eval echo "$as_me:4952: \"$ac_compile\"") >&5
6608 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6609    (eval $ac_compile) 2>&5
6610    ac_status=$?
6611 <  echo "$as_me:4955: \$? = $ac_status" >&5
6611 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6612    (exit $ac_status); }; then
6613          ac_guessed_f90flags=yes
6614   else
# Line 4965 | Line 6621 | fi
6621   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6622   ac_compiler_gnu=$ac_cv_c_compiler_gnu
6623  
6624 +
6625   fi
6626 < echo "$as_me:4969: result: $ac_guessed_f90flags" >&5
6626 > echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5
6627   echo "${ECHO_T}$ac_guessed_f90flags" >&6
6628   if test "$ac_guessed_f90flags" = yes; then
6629          :
# Line 4985 | Line 6642 | fi
6642  
6643   fi
6644  
6645 +
6646   fi
6647  
6648       ;;
# Line 5001 | Line 6659 | esac
6659   # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6660   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6661   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6662 + # OS/2's system install, which has a completely different semantic
6663   # ./install, which can be erroneously created by make from ./install.sh.
6664 < echo "$as_me:5005: checking for a BSD compatible install" >&5
6665 < echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
6664 > echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6665 > echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6666   if test -z "$INSTALL"; then
6667   if test "${ac_cv_path_install+set}" = set; then
6668    echo $ECHO_N "(cached) $ECHO_C" >&6
6669   else
6670 <    ac_save_IFS=$IFS; IFS=$ac_path_separator
6671 <  for ac_dir in $PATH; do
6672 <    IFS=$ac_save_IFS
6673 <    # Account for people who put trailing slashes in PATH elements.
6674 <    case $ac_dir/ in
6675 <    / | ./ | .// | /cC/* \
6676 <    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
6677 <    | /usr/ucb/* ) ;;
6678 <    *)
6679 <      # OSF1 and SCO ODT 3.0 have their own names for install.
6680 <      # Don't use installbsd from OSF since it installs stuff as root
6681 <      # by default.
6682 <      for ac_prog in ginstall scoinst install; do
6683 <        if $as_executable_p "$ac_dir/$ac_prog"; then
6670 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6671 > for as_dir in $PATH
6672 > do
6673 >  IFS=$as_save_IFS
6674 >  test -z "$as_dir" && as_dir=.
6675 >  # Account for people who put trailing slashes in PATH elements.
6676 > case $as_dir/ in
6677 >  ./ | .// | /cC/* | \
6678 >  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6679 >  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6680 >  /usr/ucb/* ) ;;
6681 >  *)
6682 >    # OSF1 and SCO ODT 3.0 have their own names for install.
6683 >    # Don't use installbsd from OSF since it installs stuff as root
6684 >    # by default.
6685 >    for ac_prog in ginstall scoinst install; do
6686 >      for ac_exec_ext in '' $ac_executable_extensions; do
6687 >        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6688            if test $ac_prog = install &&
6689 <            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
6689 >            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6690              # AIX install.  It has an incompatible calling convention.
6691              :
6692            elif test $ac_prog = install &&
6693 <            grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
6693 >            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6694              # program-specific install script used by HP pwplus--don't use.
6695              :
6696            else
6697 <            ac_cv_path_install="$ac_dir/$ac_prog -c"
6698 <            break 2
6697 >            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6698 >            break 3
6699            fi
6700          fi
6701        done
6702 <      ;;
6703 <    esac
6704 <  done
6702 >    done
6703 >    ;;
6704 > esac
6705 > done
6706  
6707 +
6708   fi
6709    if test "${ac_cv_path_install+set}" = set; then
6710      INSTALL=$ac_cv_path_install
# Line 5051 | Line 6716 | echo "$as_me:5054: result: $INSTALL" >&5
6716      INSTALL=$ac_install_sh
6717    fi
6718   fi
6719 < echo "$as_me:5054: result: $INSTALL" >&5
6719 > echo "$as_me:$LINENO: result: $INSTALL" >&5
6720   echo "${ECHO_T}$INSTALL" >&6
6721  
6722   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 5062 | Line 6727 | echo "$as_me:5065: checking whether ln -s works" >&5
6727  
6728   test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6729  
6730 < echo "$as_me:5065: checking whether ln -s works" >&5
6730 > echo "$as_me:$LINENO: checking whether ln -s works" >&5
6731   echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
6732   LN_S=$as_ln_s
6733   if test "$LN_S" = "ln -s"; then
6734 <  echo "$as_me:5069: result: yes" >&5
6734 >  echo "$as_me:$LINENO: result: yes" >&5
6735   echo "${ECHO_T}yes" >&6
6736   else
6737 <  echo "$as_me:5072: result: no, using $LN_S" >&5
6737 >  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6738   echo "${ECHO_T}no, using $LN_S" >&6
6739   fi
6740  
6741 < echo "$as_me:5076: checking whether ${MAKE-make} sets \${MAKE}" >&5
6742 < echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
6743 < set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
6741 > echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6742 > echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
6743 > set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
6744   if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6745    echo $ECHO_N "(cached) $ECHO_C" >&6
6746   else
6747 <  cat >conftest.make <<\EOF
6747 >  cat >conftest.make <<\_ACEOF
6748   all:
6749 <        @echo 'ac_maketemp="${MAKE}"'
6750 < EOF
6749 >        @echo 'ac_maketemp="$(MAKE)"'
6750 > _ACEOF
6751   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6752   eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
6753   if test -n "$ac_maketemp"; then
# Line 5093 | Line 6758 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_se
6758   rm -f conftest.make
6759   fi
6760   if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
6761 <  echo "$as_me:5096: result: yes" >&5
6761 >  echo "$as_me:$LINENO: result: yes" >&5
6762   echo "${ECHO_T}yes" >&6
6763    SET_MAKE=
6764   else
6765 <  echo "$as_me:5100: result: no" >&5
6765 >  echo "$as_me:$LINENO: result: no" >&5
6766   echo "${ECHO_T}no" >&6
6767    SET_MAKE="MAKE=${MAKE-make}"
6768   fi
# Line 5105 | Line 6770 | echo "$as_me:5108: checking for $ac_word" >&5
6770   if test -n "$ac_tool_prefix"; then
6771    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6772   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6773 < echo "$as_me:5108: checking for $ac_word" >&5
6773 > echo "$as_me:$LINENO: checking for $ac_word" >&5
6774   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6775   if test "${ac_cv_prog_RANLIB+set}" = set; then
6776    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5113 | Line 6778 | else
6778    if test -n "$RANLIB"; then
6779    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6780   else
6781 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
6782 < ac_dummy="$PATH"
6783 < for ac_dir in $ac_dummy; do
6784 <  IFS=$ac_save_IFS
6785 <  test -z "$ac_dir" && ac_dir=.
6786 <  $as_executable_p "$ac_dir/$ac_word" || continue
6787 < ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6788 < echo "$as_me:5123: found $ac_dir/$ac_word" >&5
6789 < break
6781 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6782 > for as_dir in $PATH
6783 > do
6784 >  IFS=$as_save_IFS
6785 >  test -z "$as_dir" && as_dir=.
6786 >  for ac_exec_ext in '' $ac_executable_extensions; do
6787 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6788 >    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6789 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6790 >    break 2
6791 >  fi
6792   done
6793 + done
6794  
6795   fi
6796   fi
6797   RANLIB=$ac_cv_prog_RANLIB
6798   if test -n "$RANLIB"; then
6799 <  echo "$as_me:5131: result: $RANLIB" >&5
6799 >  echo "$as_me:$LINENO: result: $RANLIB" >&5
6800   echo "${ECHO_T}$RANLIB" >&6
6801   else
6802 <  echo "$as_me:5134: result: no" >&5
6802 >  echo "$as_me:$LINENO: result: no" >&5
6803   echo "${ECHO_T}no" >&6
6804   fi
6805  
# Line 5140 | Line 6808 | echo "$as_me:5143: checking for $ac_word" >&5
6808    ac_ct_RANLIB=$RANLIB
6809    # Extract the first word of "ranlib", so it can be a program name with args.
6810   set dummy ranlib; ac_word=$2
6811 < echo "$as_me:5143: checking for $ac_word" >&5
6811 > echo "$as_me:$LINENO: checking for $ac_word" >&5
6812   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6813   if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6814    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5148 | Line 6816 | else
6816    if test -n "$ac_ct_RANLIB"; then
6817    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6818   else
6819 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
6820 < ac_dummy="$PATH"
6821 < for ac_dir in $ac_dummy; do
6822 <  IFS=$ac_save_IFS
6823 <  test -z "$ac_dir" && ac_dir=.
6824 <  $as_executable_p "$ac_dir/$ac_word" || continue
6825 < ac_cv_prog_ac_ct_RANLIB="ranlib"
6826 < echo "$as_me:5158: found $ac_dir/$ac_word" >&5
6827 < break
6819 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6820 > for as_dir in $PATH
6821 > do
6822 >  IFS=$as_save_IFS
6823 >  test -z "$as_dir" && as_dir=.
6824 >  for ac_exec_ext in '' $ac_executable_extensions; do
6825 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6826 >    ac_cv_prog_ac_ct_RANLIB="ranlib"
6827 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6828 >    break 2
6829 >  fi
6830   done
6831 + done
6832  
6833    test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6834   fi
6835   fi
6836   ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6837   if test -n "$ac_ct_RANLIB"; then
6838 <  echo "$as_me:5167: result: $ac_ct_RANLIB" >&5
6838 >  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6839   echo "${ECHO_T}$ac_ct_RANLIB" >&6
6840   else
6841 <  echo "$as_me:5170: result: no" >&5
6841 >  echo "$as_me:$LINENO: result: no" >&5
6842   echo "${ECHO_T}no" >&6
6843   fi
6844  
# Line 5180 | Line 6851 | echo "$as_me:5183: checking for $ac_word" >&5
6851   do
6852    # Extract the first word of "$ac_prog", so it can be a program name with args.
6853   set dummy $ac_prog; ac_word=$2
6854 < echo "$as_me:5183: checking for $ac_word" >&5
6854 > echo "$as_me:$LINENO: checking for $ac_word" >&5
6855   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6856   if test "${ac_cv_prog_YACC+set}" = set; then
6857    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5188 | Line 6859 | else
6859    if test -n "$YACC"; then
6860    ac_cv_prog_YACC="$YACC" # Let the user override the test.
6861   else
6862 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
6863 < ac_dummy="$PATH"
6864 < for ac_dir in $ac_dummy; do
6865 <  IFS=$ac_save_IFS
6866 <  test -z "$ac_dir" && ac_dir=.
6867 <  $as_executable_p "$ac_dir/$ac_word" || continue
6868 < ac_cv_prog_YACC="$ac_prog"
6869 < echo "$as_me:5198: found $ac_dir/$ac_word" >&5
6870 < break
6862 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6863 > for as_dir in $PATH
6864 > do
6865 >  IFS=$as_save_IFS
6866 >  test -z "$as_dir" && as_dir=.
6867 >  for ac_exec_ext in '' $ac_executable_extensions; do
6868 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6869 >    ac_cv_prog_YACC="$ac_prog"
6870 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6871 >    break 2
6872 >  fi
6873   done
6874 + done
6875  
6876   fi
6877   fi
6878   YACC=$ac_cv_prog_YACC
6879   if test -n "$YACC"; then
6880 <  echo "$as_me:5206: result: $YACC" >&5
6880 >  echo "$as_me:$LINENO: result: $YACC" >&5
6881   echo "${ECHO_T}$YACC" >&6
6882   else
6883 <  echo "$as_me:5209: result: no" >&5
6883 >  echo "$as_me:$LINENO: result: no" >&5
6884   echo "${ECHO_T}no" >&6
6885   fi
6886  
# Line 5218 | Line 6892 | echo "$as_me:5221: checking for $ac_word" >&5
6892   do
6893    # Extract the first word of "$ac_prog", so it can be a program name with args.
6894   set dummy $ac_prog; ac_word=$2
6895 < echo "$as_me:5221: checking for $ac_word" >&5
6895 > echo "$as_me:$LINENO: checking for $ac_word" >&5
6896   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6897   if test "${ac_cv_prog_LEX+set}" = set; then
6898    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5226 | Line 6900 | else
6900    if test -n "$LEX"; then
6901    ac_cv_prog_LEX="$LEX" # Let the user override the test.
6902   else
6903 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
6904 < ac_dummy="$PATH"
6905 < for ac_dir in $ac_dummy; do
6906 <  IFS=$ac_save_IFS
6907 <  test -z "$ac_dir" && ac_dir=.
6908 <  $as_executable_p "$ac_dir/$ac_word" || continue
6909 < ac_cv_prog_LEX="$ac_prog"
6910 < echo "$as_me:5236: found $ac_dir/$ac_word" >&5
6911 < break
6903 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6904 > for as_dir in $PATH
6905 > do
6906 >  IFS=$as_save_IFS
6907 >  test -z "$as_dir" && as_dir=.
6908 >  for ac_exec_ext in '' $ac_executable_extensions; do
6909 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6910 >    ac_cv_prog_LEX="$ac_prog"
6911 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6912 >    break 2
6913 >  fi
6914   done
6915 + done
6916  
6917   fi
6918   fi
6919   LEX=$ac_cv_prog_LEX
6920   if test -n "$LEX"; then
6921 <  echo "$as_me:5244: result: $LEX" >&5
6921 >  echo "$as_me:$LINENO: result: $LEX" >&5
6922   echo "${ECHO_T}$LEX" >&6
6923   else
6924 <  echo "$as_me:5247: result: no" >&5
6924 >  echo "$as_me:$LINENO: result: no" >&5
6925   echo "${ECHO_T}no" >&6
6926   fi
6927  
# Line 5254 | Line 6931 | then
6931  
6932   if test -z "$LEXLIB"
6933   then
6934 <  echo "$as_me:5257: checking for yywrap in -lfl" >&5
6934 >  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
6935   echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
6936   if test "${ac_cv_lib_fl_yywrap+set}" = set; then
6937    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5262 | Line 6939 | cat >conftest.$ac_ext <<_ACEOF
6939    ac_check_lib_save_LIBS=$LIBS
6940   LIBS="-lfl  $LIBS"
6941   cat >conftest.$ac_ext <<_ACEOF
6942 < #line 5265 "configure"
6943 < #include "confdefs.h"
6942 > /* confdefs.h.  */
6943 > _ACEOF
6944 > cat confdefs.h >>conftest.$ac_ext
6945 > cat >>conftest.$ac_ext <<_ACEOF
6946 > /* end confdefs.h.  */
6947  
6948   /* Override any gcc2 internal prototype to avoid an error.  */
6949   #ifdef __cplusplus
# Line 5281 | Line 6961 | if { (eval echo "$as_me:5284: \"$ac_link\"") >&5
6961   }
6962   _ACEOF
6963   rm -f conftest.$ac_objext conftest$ac_exeext
6964 < if { (eval echo "$as_me:5284: \"$ac_link\"") >&5
6965 <  (eval $ac_link) 2>&5
6964 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6965 >  (eval $ac_link) 2>conftest.er1
6966    ac_status=$?
6967 <  echo "$as_me:5287: \$? = $ac_status" >&5
6967 >  grep -v '^ *+' conftest.er1 >conftest.err
6968 >  rm -f conftest.er1
6969 >  cat conftest.err >&5
6970 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6971    (exit $ac_status); } &&
6972 <         { ac_try='test -s conftest$ac_exeext'
6973 <  { (eval echo "$as_me:5290: \"$ac_try\"") >&5
6972 >         { ac_try='test -z "$ac_c_werror_flag"
6973 >                         || test ! -s conftest.err'
6974 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6975    (eval $ac_try) 2>&5
6976    ac_status=$?
6977 <  echo "$as_me:5293: \$? = $ac_status" >&5
6977 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6978 >  (exit $ac_status); }; } &&
6979 >         { ac_try='test -s conftest$ac_exeext'
6980 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6981 >  (eval $ac_try) 2>&5
6982 >  ac_status=$?
6983 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6984    (exit $ac_status); }; }; then
6985    ac_cv_lib_fl_yywrap=yes
6986   else
6987    echo "$as_me: failed program was:" >&5
6988 < cat conftest.$ac_ext >&5
6988 > sed 's/^/| /' conftest.$ac_ext >&5
6989 >
6990   ac_cv_lib_fl_yywrap=no
6991   fi
6992 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6992 > rm -f conftest.err conftest.$ac_objext \
6993 >      conftest$ac_exeext conftest.$ac_ext
6994   LIBS=$ac_check_lib_save_LIBS
6995   fi
6996 < echo "$as_me:5304: result: $ac_cv_lib_fl_yywrap" >&5
6996 > echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
6997   echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
6998   if test $ac_cv_lib_fl_yywrap = yes; then
6999    LEXLIB="-lfl"
7000   else
7001 <  echo "$as_me:5309: checking for yywrap in -ll" >&5
7001 >  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
7002   echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
7003   if test "${ac_cv_lib_l_yywrap+set}" = set; then
7004    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5314 | Line 7006 | cat >conftest.$ac_ext <<_ACEOF
7006    ac_check_lib_save_LIBS=$LIBS
7007   LIBS="-ll  $LIBS"
7008   cat >conftest.$ac_ext <<_ACEOF
7009 < #line 5317 "configure"
7010 < #include "confdefs.h"
7009 > /* confdefs.h.  */
7010 > _ACEOF
7011 > cat confdefs.h >>conftest.$ac_ext
7012 > cat >>conftest.$ac_ext <<_ACEOF
7013 > /* end confdefs.h.  */
7014  
7015   /* Override any gcc2 internal prototype to avoid an error.  */
7016   #ifdef __cplusplus
# Line 5333 | Line 7028 | if { (eval echo "$as_me:5336: \"$ac_link\"") >&5
7028   }
7029   _ACEOF
7030   rm -f conftest.$ac_objext conftest$ac_exeext
7031 < if { (eval echo "$as_me:5336: \"$ac_link\"") >&5
7032 <  (eval $ac_link) 2>&5
7031 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7032 >  (eval $ac_link) 2>conftest.er1
7033    ac_status=$?
7034 <  echo "$as_me:5339: \$? = $ac_status" >&5
7034 >  grep -v '^ *+' conftest.er1 >conftest.err
7035 >  rm -f conftest.er1
7036 >  cat conftest.err >&5
7037 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7038    (exit $ac_status); } &&
7039 <         { ac_try='test -s conftest$ac_exeext'
7040 <  { (eval echo "$as_me:5342: \"$ac_try\"") >&5
7039 >         { ac_try='test -z "$ac_c_werror_flag"
7040 >                         || test ! -s conftest.err'
7041 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7042    (eval $ac_try) 2>&5
7043    ac_status=$?
7044 <  echo "$as_me:5345: \$? = $ac_status" >&5
7044 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7045 >  (exit $ac_status); }; } &&
7046 >         { ac_try='test -s conftest$ac_exeext'
7047 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7048 >  (eval $ac_try) 2>&5
7049 >  ac_status=$?
7050 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7051    (exit $ac_status); }; }; then
7052    ac_cv_lib_l_yywrap=yes
7053   else
7054    echo "$as_me: failed program was:" >&5
7055 < cat conftest.$ac_ext >&5
7055 > sed 's/^/| /' conftest.$ac_ext >&5
7056 >
7057   ac_cv_lib_l_yywrap=no
7058   fi
7059 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7059 > rm -f conftest.err conftest.$ac_objext \
7060 >      conftest$ac_exeext conftest.$ac_ext
7061   LIBS=$ac_check_lib_save_LIBS
7062   fi
7063 < echo "$as_me:5356: result: $ac_cv_lib_l_yywrap" >&5
7063 > echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
7064   echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
7065   if test $ac_cv_lib_l_yywrap = yes; then
7066    LEXLIB="-ll"
# Line 5364 | Line 7071 | if test "x$LEX" != "x:"; then
7071   fi
7072  
7073   if test "x$LEX" != "x:"; then
7074 <  echo "$as_me:5367: checking lex output file root" >&5
7074 >  echo "$as_me:$LINENO: checking lex output file root" >&5
7075   echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
7076   if test "${ac_cv_prog_lex_root+set}" = set; then
7077    echo $ECHO_N "(cached) $ECHO_C" >&6
7078   else
7079    # The minimal lex program is just a single line: %%.  But some broken lexes
7080   # (Solaris, I think it was) want two %% lines, so accommodate them.
7081 < echo '%%
7082 < %%' | $LEX
7081 > cat >conftest.l <<_ACEOF
7082 > %%
7083 > %%
7084 > _ACEOF
7085 > { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
7086 >  (eval $LEX conftest.l) 2>&5
7087 >  ac_status=$?
7088 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7089 >  (exit $ac_status); }
7090   if test -f lex.yy.c; then
7091    ac_cv_prog_lex_root=lex.yy
7092   elif test -f lexyy.c; then
7093    ac_cv_prog_lex_root=lexyy
7094   else
7095 <  { { echo "$as_me:5381: error: cannot find output from $LEX; giving up" >&5
7095 >  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
7096   echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
7097     { (exit 1); exit 1; }; }
7098   fi
7099   fi
7100 < echo "$as_me:5386: result: $ac_cv_prog_lex_root" >&5
7100 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
7101   echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
7102 + rm -f conftest.l
7103   LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
7104  
7105 < echo "$as_me:5390: checking whether yytext is a pointer" >&5
7105 > echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
7106   echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
7107   if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
7108    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5403 | Line 7118 | if { (eval echo "$as_me:5406: \"$ac_link\"") >&5
7118   `cat $LEX_OUTPUT_ROOT.c`
7119   _ACEOF
7120   rm -f conftest.$ac_objext conftest$ac_exeext
7121 < if { (eval echo "$as_me:5406: \"$ac_link\"") >&5
7122 <  (eval $ac_link) 2>&5
7121 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7122 >  (eval $ac_link) 2>conftest.er1
7123    ac_status=$?
7124 <  echo "$as_me:5409: \$? = $ac_status" >&5
7124 >  grep -v '^ *+' conftest.er1 >conftest.err
7125 >  rm -f conftest.er1
7126 >  cat conftest.err >&5
7127 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128    (exit $ac_status); } &&
7129 <         { ac_try='test -s conftest$ac_exeext'
7130 <  { (eval echo "$as_me:5412: \"$ac_try\"") >&5
7129 >         { ac_try='test -z "$ac_c_werror_flag"
7130 >                         || test ! -s conftest.err'
7131 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7132    (eval $ac_try) 2>&5
7133    ac_status=$?
7134 <  echo "$as_me:5415: \$? = $ac_status" >&5
7134 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7135 >  (exit $ac_status); }; } &&
7136 >         { ac_try='test -s conftest$ac_exeext'
7137 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7138 >  (eval $ac_try) 2>&5
7139 >  ac_status=$?
7140 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141    (exit $ac_status); }; }; then
7142    ac_cv_prog_lex_yytext_pointer=yes
7143   else
7144    echo "$as_me: failed program was:" >&5
7145 < cat conftest.$ac_ext >&5
7145 > sed 's/^/| /' conftest.$ac_ext >&5
7146 >
7147   fi
7148 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7148 > rm -f conftest.err conftest.$ac_objext \
7149 >      conftest$ac_exeext conftest.$ac_ext
7150   LIBS=$ac_save_LIBS
7151   rm -f "${LEX_OUTPUT_ROOT}.c"
7152  
7153   fi
7154 < echo "$as_me:5427: result: $ac_cv_prog_lex_yytext_pointer" >&5
7154 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
7155   echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
7156   if test $ac_cv_prog_lex_yytext_pointer = yes; then
7157  
7158 < cat >>confdefs.h <<\EOF
7158 > cat >>confdefs.h <<\_ACEOF
7159   #define YYTEXT_POINTER 1
7160 < EOF
7160 > _ACEOF
7161  
7162   fi
7163  
7164   fi
7165   # Extract the first word of "ar", so it can be a program name with args.
7166   set dummy ar; ac_word=$2
7167 < echo "$as_me:5440: checking for $ac_word" >&5
7167 > echo "$as_me:$LINENO: checking for $ac_word" >&5
7168   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7169   if test "${ac_cv_prog_AR+set}" = set; then
7170    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5445 | Line 7172 | else
7172    if test -n "$AR"; then
7173    ac_cv_prog_AR="$AR" # Let the user override the test.
7174   else
7175 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
7176 < ac_dummy="$PATH"
7177 < for ac_dir in $ac_dummy; do
7178 <  IFS=$ac_save_IFS
7179 <  test -z "$ac_dir" && ac_dir=.
7180 <  $as_executable_p "$ac_dir/$ac_word" || continue
7181 < ac_cv_prog_AR="ar"
7182 < echo "$as_me:5455: found $ac_dir/$ac_word" >&5
7183 < break
7175 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7176 > for as_dir in $PATH
7177 > do
7178 >  IFS=$as_save_IFS
7179 >  test -z "$as_dir" && as_dir=.
7180 >  for ac_exec_ext in '' $ac_executable_extensions; do
7181 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7182 >    ac_cv_prog_AR="ar"
7183 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7184 >    break 2
7185 >  fi
7186   done
7187 + done
7188  
7189    test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE"
7190   fi
7191   fi
7192   AR=$ac_cv_prog_AR
7193   if test -n "$AR"; then
7194 <  echo "$as_me:5464: result: $AR" >&5
7194 >  echo "$as_me:$LINENO: result: $AR" >&5
7195   echo "${ECHO_T}$AR" >&6
7196   else
7197 <  echo "$as_me:5467: result: no" >&5
7197 >  echo "$as_me:$LINENO: result: no" >&5
7198   echo "${ECHO_T}no" >&6
7199   fi
7200  
7201   if test "$AR" = "NONE"; then
7202 <  { { echo "$as_me:5472: error: --> Can't find \`ar'!" >&5
7202 >  { { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5
7203   echo "$as_me: error: --> Can't find \`ar'!" >&2;}
7204     { (exit 1); exit 1; }; }
7205    cat >confcache <<\_ACEOF
# Line 5482 | Line 7212 | echo "$as_me: error: --> Can't find \`ar'!" >&2;}
7212   # config.status only pays attention to the cache file if you give it
7213   # the --recheck option to rerun configure.
7214   #
7215 < # `ac_cv_env_foo' variables (set or unset) will be overriden when
7215 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
7216   # loading this file, other *unset* `ac_cv_foo' will be assigned the
7217   # following values.
7218  
# Line 5500 | Line 7230 | _ACEOF
7230        # `set' does not quote correctly, so add quotes (double-quote
7231        # substitution turns \\\\ into \\, and sed turns \\ into \).
7232        sed -n \
7233 <        "s/'/'\\\\''/g;
7234 <          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7233 >        "s/'/'\\\\''/g;
7234 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7235        ;;
7236      *)
7237        # `set' quotes correctly as required by POSIX, so do not add quotes.
7238        sed -n \
7239 <        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7239 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7240        ;;
7241      esac;
7242   } |
# Line 5517 | Line 7247 | if cmp -s $cache_file confcache; then :; else
7247       t end
7248       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7249       : end' >>confcache
7250 < if cmp -s $cache_file confcache; then :; else
7250 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
7251    if test -w $cache_file; then
7252      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7253      cat confcache >$cache_file
# Line 5531 | Line 7261 | echo "$as_me:5534: checking for $ac_word" >&5
7261  
7262   # Extract the first word of "ps", so it can be a program name with args.
7263   set dummy ps; ac_word=$2
7264 < echo "$as_me:5534: checking for $ac_word" >&5
7264 > echo "$as_me:$LINENO: checking for $ac_word" >&5
7265   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7266   if test "${ac_cv_path_PS+set}" = set; then
7267    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5541 | Line 7271 | else
7271    ac_cv_path_PS="$PS" # Let the user override the test with a path.
7272    ;;
7273    *)
7274 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
7275 < ac_dummy="$PATH"
7276 < for ac_dir in $ac_dummy; do
7277 <  IFS=$ac_save_IFS
7278 <  test -z "$ac_dir" && ac_dir=.
7279 <  if $as_executable_p "$ac_dir/$ac_word"; then
7280 <   ac_cv_path_PS="$ac_dir/$ac_word"
7281 <   echo "$as_me:5551: found $ac_dir/$ac_word" >&5
7282 <   break
7283 < fi
7274 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7275 > for as_dir in $PATH
7276 > do
7277 >  IFS=$as_save_IFS
7278 >  test -z "$as_dir" && as_dir=.
7279 >  for ac_exec_ext in '' $ac_executable_extensions; do
7280 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7281 >    ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
7282 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7283 >    break 2
7284 >  fi
7285   done
7286 + done
7287  
7288    ;;
7289   esac
# Line 5559 | Line 7291 | if test -n "$PS"; then
7291   PS=$ac_cv_path_PS
7292  
7293   if test -n "$PS"; then
7294 <  echo "$as_me:5562: result: $PS" >&5
7294 >  echo "$as_me:$LINENO: result: $PS" >&5
7295   echo "${ECHO_T}$PS" >&6
7296   else
7297 <  echo "$as_me:5565: result: no" >&5
7297 >  echo "$as_me:$LINENO: result: no" >&5
7298   echo "${ECHO_T}no" >&6
7299   fi
7300  
7301 < echo "$as_me:5569: checking for POSIX or BSD ps syntax" >&5
7301 > echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5
7302   echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6
7303   if test "${ac_cv_prog_ps_syntax+set}" = set; then
7304    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5588 | Line 7320 | else
7320                  if test "$ac_cv_prog_ps_ef" = yes; then
7321                          ac_cv_prog_ps_syntax=POSIX
7322                  else
7323 <                        { { echo "$as_me:5591: error: Could not determine ps syntax" >&5
7323 >                        { { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5
7324   echo "$as_me: error: Could not determine ps syntax" >&2;}
7325     { (exit 1); exit 1; }; }
7326                  fi
7327          fi
7328  
7329   fi
7330 < echo "$as_me:5598: result: $ac_cv_prog_ps_syntax" >&5
7330 > echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5
7331   echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6
7332  
7333 < cat >>confdefs.h <<EOF
7333 >
7334 > cat >>confdefs.h <<_ACEOF
7335   #define PSCOMMAND $PS
7336 < EOF
7336 > _ACEOF
7337  
7338 +
7339   if test "$ac_cv_prog_ps_syntax" = BSD; then
7340 <  cat >>confdefs.h <<\EOF
7340 >  cat >>confdefs.h <<\_ACEOF
7341   #define PSTYPE_IS_BSD 1
7342 < EOF
7342 > _ACEOF
7343  
7344   else
7345     if test "$ac_cv_prog_ps_syntax" = POSIX; then
7346 <       cat >>confdefs.h <<\EOF
7346 >       cat >>confdefs.h <<\_ACEOF
7347   #define PSTYPE_IS_POSIX 1
7348 < EOF
7348 > _ACEOF
7349  
7350     else
7351 <       { { echo "$as_me:5617: error: Unknown ps syntax type!" >&5
7351 >       { { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5
7352   echo "$as_me: error: Unknown ps syntax type!" >&2;}
7353     { (exit 1); exit 1; }; }
7354     fi
7355   fi
7356  
7357 +
7358   # Check whether --with-mpi or --without-mpi was given.
7359   if test "${with_mpi+set}" = set; then
7360    withval="$with_mpi"
# Line 5638 | Line 7373 | if test "$USE_MPI" = "yes"; then
7373   fi
7374   if test "$USE_MPI" = "yes"; then
7375  
7376 +
7377   # Set variables...
7378   MPI_LIB_DIR="$MPI/lib"
7379   MPI_INC_DIR="$MPI/include"
7380  
7381 < echo "$as_me:5645: checking for mpi.h" >&5
7381 >
7382 >
7383 > echo "$as_me:$LINENO: checking for mpi.h" >&5
7384   echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
7385   have_mpi_h=0
7386   echo '#include <mpi.h>' > conftest.cc
7387   if test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then
7388 <        echo "$as_me:5650: result: yes" >&5
7388 >        echo "$as_me:$LINENO: result: yes" >&5
7389   echo "${ECHO_T}yes" >&6
7390          have_mpi_h=1
7391   else
7392 <        echo "$as_me:5654: result: no! Check MPI include paths" >&5
7392 >        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
7393   echo "${ECHO_T}no! Check MPI include paths" >&6
7394          USE_MPI="no"
7395   fi
7396   rm -f conftest*
7397   if test "$have_mpi_h" = 1; then
7398  
7399 < cat >>confdefs.h <<\EOF
7399 > cat >>confdefs.h <<\_ACEOF
7400   #define HAVE_MPI_H 1
7401 < EOF
7401 > _ACEOF
7402  
7403   fi
7404  
7405 < echo "$as_me:5667: checking whether mpif.h is usable" >&5
7405 > echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5
7406   echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6
7407   have_mpif_h=0
7408   rm -f conftest*
# Line 5674 | Line 7412 | if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out
7412   end
7413   EOF
7414   if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out 2>&1 ; then
7415 <        echo "$as_me:5677: result: yes" >&5
7415 >        echo "$as_me:$LINENO: result: yes" >&5
7416   echo "${ECHO_T}yes" >&6
7417          MPI_F90_INC="$MPI_INC_DIR"
7418          have_mpif_h=1
# Line 5682 | Line 7420 | else
7420          if test -s conftest.out ; then
7421                  cat conftest.out >> config.log
7422          fi
7423 <        echo "$as_me:5685: result: no! Check MPI include paths" >&5
7423 >        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
7424   echo "${ECHO_T}no! Check MPI include paths" >&6
7425          USE_MPI="no"
7426   fi
# Line 5690 | Line 7428 | cat >>confdefs.h <<\EOF
7428  
7429   if test "$have_mpif_h" = 1; then
7430  
7431 < cat >>confdefs.h <<\EOF
7431 > cat >>confdefs.h <<\_ACEOF
7432   #define HAVE_MPIF_H 1
7433 < EOF
7433 > _ACEOF
7434  
7435   fi
7436  
# Line 5706 | Line 7444 | if test x = x"$MPI_LIB"; then
7444   LDFLAGS="${LDFLAGS} -L${MPI_LIB_DIR} "
7445  
7446   if test x = x"$MPI_LIB"; then
7447 <        echo "$as_me:5709: checking for MPI_Init in -lmpich" >&5
7447 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
7448   echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
7449   if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
7450    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5714 | Line 7452 | cat >conftest.$ac_ext <<_ACEOF
7452    ac_check_lib_save_LIBS=$LIBS
7453   LIBS="-lmpich  $LIBS"
7454   cat >conftest.$ac_ext <<_ACEOF
7455 < #line 5717 "configure"
7456 < #include "confdefs.h"
7455 > /* confdefs.h.  */
7456 > _ACEOF
7457 > cat confdefs.h >>conftest.$ac_ext
7458 > cat >>conftest.$ac_ext <<_ACEOF
7459 > /* end confdefs.h.  */
7460  
7461   /* Override any gcc2 internal prototype to avoid an error.  */
7462   #ifdef __cplusplus
# Line 5733 | Line 7474 | if { (eval echo "$as_me:5736: \"$ac_link\"") >&5
7474   }
7475   _ACEOF
7476   rm -f conftest.$ac_objext conftest$ac_exeext
7477 < if { (eval echo "$as_me:5736: \"$ac_link\"") >&5
7478 <  (eval $ac_link) 2>&5
7477 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7478 >  (eval $ac_link) 2>conftest.er1
7479    ac_status=$?
7480 <  echo "$as_me:5739: \$? = $ac_status" >&5
7480 >  grep -v '^ *+' conftest.er1 >conftest.err
7481 >  rm -f conftest.er1
7482 >  cat conftest.err >&5
7483 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7484    (exit $ac_status); } &&
7485 <         { ac_try='test -s conftest$ac_exeext'
7486 <  { (eval echo "$as_me:5742: \"$ac_try\"") >&5
7485 >         { ac_try='test -z "$ac_c_werror_flag"
7486 >                         || test ! -s conftest.err'
7487 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7488    (eval $ac_try) 2>&5
7489    ac_status=$?
7490 <  echo "$as_me:5745: \$? = $ac_status" >&5
7490 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7491 >  (exit $ac_status); }; } &&
7492 >         { ac_try='test -s conftest$ac_exeext'
7493 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7494 >  (eval $ac_try) 2>&5
7495 >  ac_status=$?
7496 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7497    (exit $ac_status); }; }; then
7498    ac_cv_lib_mpich_MPI_Init=yes
7499   else
7500    echo "$as_me: failed program was:" >&5
7501 < cat conftest.$ac_ext >&5
7501 > sed 's/^/| /' conftest.$ac_ext >&5
7502 >
7503   ac_cv_lib_mpich_MPI_Init=no
7504   fi
7505 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7505 > rm -f conftest.err conftest.$ac_objext \
7506 >      conftest$ac_exeext conftest.$ac_ext
7507   LIBS=$ac_check_lib_save_LIBS
7508   fi
7509 < echo "$as_me:5756: result: $ac_cv_lib_mpich_MPI_Init" >&5
7509 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
7510   echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
7511   if test $ac_cv_lib_mpich_MPI_Init = yes; then
7512    MPI_LIB="-lmpich"
# Line 5761 | Line 7514 | if test x = x"$MPI_LIB"; then
7514  
7515   fi
7516   if test x = x"$MPI_LIB"; then
7517 <        echo "$as_me:5764: checking for MPI_Init in -lmpi" >&5
7517 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
7518   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
7519   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
7520    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5769 | Line 7522 | cat >conftest.$ac_ext <<_ACEOF
7522    ac_check_lib_save_LIBS=$LIBS
7523   LIBS="-lmpi  $LIBS"
7524   cat >conftest.$ac_ext <<_ACEOF
7525 < #line 5772 "configure"
7526 < #include "confdefs.h"
7525 > /* confdefs.h.  */
7526 > _ACEOF
7527 > cat confdefs.h >>conftest.$ac_ext
7528 > cat >>conftest.$ac_ext <<_ACEOF
7529 > /* end confdefs.h.  */
7530  
7531   /* Override any gcc2 internal prototype to avoid an error.  */
7532   #ifdef __cplusplus
# Line 5788 | Line 7544 | if { (eval echo "$as_me:5791: \"$ac_link\"") >&5
7544   }
7545   _ACEOF
7546   rm -f conftest.$ac_objext conftest$ac_exeext
7547 < if { (eval echo "$as_me:5791: \"$ac_link\"") >&5
7548 <  (eval $ac_link) 2>&5
7547 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7548 >  (eval $ac_link) 2>conftest.er1
7549    ac_status=$?
7550 <  echo "$as_me:5794: \$? = $ac_status" >&5
7550 >  grep -v '^ *+' conftest.er1 >conftest.err
7551 >  rm -f conftest.er1
7552 >  cat conftest.err >&5
7553 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7554    (exit $ac_status); } &&
7555 <         { ac_try='test -s conftest$ac_exeext'
7556 <  { (eval echo "$as_me:5797: \"$ac_try\"") >&5
7555 >         { ac_try='test -z "$ac_c_werror_flag"
7556 >                         || test ! -s conftest.err'
7557 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7558    (eval $ac_try) 2>&5
7559    ac_status=$?
7560 <  echo "$as_me:5800: \$? = $ac_status" >&5
7560 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7561 >  (exit $ac_status); }; } &&
7562 >         { ac_try='test -s conftest$ac_exeext'
7563 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7564 >  (eval $ac_try) 2>&5
7565 >  ac_status=$?
7566 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7567    (exit $ac_status); }; }; then
7568    ac_cv_lib_mpi_MPI_Init=yes
7569   else
7570    echo "$as_me: failed program was:" >&5
7571 < cat conftest.$ac_ext >&5
7571 > sed 's/^/| /' conftest.$ac_ext >&5
7572 >
7573   ac_cv_lib_mpi_MPI_Init=no
7574   fi
7575 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7575 > rm -f conftest.err conftest.$ac_objext \
7576 >      conftest$ac_exeext conftest.$ac_ext
7577   LIBS=$ac_check_lib_save_LIBS
7578   fi
7579 < echo "$as_me:5811: result: $ac_cv_lib_mpi_MPI_Init" >&5
7579 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
7580   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
7581   if test $ac_cv_lib_mpi_MPI_Init = yes; then
7582    MPI_LIB="-lmpi"
# Line 5817 | Line 7585 | if test x = x"$MPI_LIB"; then
7585   fi
7586   $as_unset ac_cv_lib_mpi_MPI_Init
7587   if test x = x"$MPI_LIB"; then
7588 <        echo "$as_me:5820: checking for MPI_Init in -lmpi" >&5
7588 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
7589   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
7590   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
7591    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5825 | Line 7593 | cat >conftest.$ac_ext <<_ACEOF
7593    ac_check_lib_save_LIBS=$LIBS
7594   LIBS="-lmpi "-llam" $LIBS"
7595   cat >conftest.$ac_ext <<_ACEOF
7596 < #line 5828 "configure"
7597 < #include "confdefs.h"
7596 > /* confdefs.h.  */
7597 > _ACEOF
7598 > cat confdefs.h >>conftest.$ac_ext
7599 > cat >>conftest.$ac_ext <<_ACEOF
7600 > /* end confdefs.h.  */
7601  
7602   /* Override any gcc2 internal prototype to avoid an error.  */
7603   #ifdef __cplusplus
# Line 5844 | Line 7615 | if { (eval echo "$as_me:5847: \"$ac_link\"") >&5
7615   }
7616   _ACEOF
7617   rm -f conftest.$ac_objext conftest$ac_exeext
7618 < if { (eval echo "$as_me:5847: \"$ac_link\"") >&5
7619 <  (eval $ac_link) 2>&5
7618 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7619 >  (eval $ac_link) 2>conftest.er1
7620    ac_status=$?
7621 <  echo "$as_me:5850: \$? = $ac_status" >&5
7621 >  grep -v '^ *+' conftest.er1 >conftest.err
7622 >  rm -f conftest.er1
7623 >  cat conftest.err >&5
7624 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7625    (exit $ac_status); } &&
7626 <         { ac_try='test -s conftest$ac_exeext'
7627 <  { (eval echo "$as_me:5853: \"$ac_try\"") >&5
7626 >         { ac_try='test -z "$ac_c_werror_flag"
7627 >                         || test ! -s conftest.err'
7628 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7629    (eval $ac_try) 2>&5
7630    ac_status=$?
7631 <  echo "$as_me:5856: \$? = $ac_status" >&5
7631 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7632 >  (exit $ac_status); }; } &&
7633 >         { ac_try='test -s conftest$ac_exeext'
7634 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7635 >  (eval $ac_try) 2>&5
7636 >  ac_status=$?
7637 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7638    (exit $ac_status); }; }; then
7639    ac_cv_lib_mpi_MPI_Init=yes
7640   else
7641    echo "$as_me: failed program was:" >&5
7642 < cat conftest.$ac_ext >&5
7642 > sed 's/^/| /' conftest.$ac_ext >&5
7643 >
7644   ac_cv_lib_mpi_MPI_Init=no
7645   fi
7646 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7646 > rm -f conftest.err conftest.$ac_objext \
7647 >      conftest$ac_exeext conftest.$ac_ext
7648   LIBS=$ac_check_lib_save_LIBS
7649   fi
7650 < echo "$as_me:5867: result: $ac_cv_lib_mpi_MPI_Init" >&5
7650 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
7651   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
7652   if test $ac_cv_lib_mpi_MPI_Init = yes; then
7653    MPI_LIB="-lmpi -llam"
# Line 5873 | Line 7656 | if test x = x"$MPI_LIB"; then
7656   fi
7657   $as_unset ac_cv_lib_mpich_MPI_Init
7658   if test x = x"$MPI_LIB"; then
7659 <        echo "$as_me:5876: checking for MPI_Init in -lmpich" >&5
7659 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
7660   echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
7661   if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
7662    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5881 | Line 7664 | cat >conftest.$ac_ext <<_ACEOF
7664    ac_check_lib_save_LIBS=$LIBS
7665   LIBS="-lmpich "-lpmpich" $LIBS"
7666   cat >conftest.$ac_ext <<_ACEOF
7667 < #line 5884 "configure"
7668 < #include "confdefs.h"
7667 > /* confdefs.h.  */
7668 > _ACEOF
7669 > cat confdefs.h >>conftest.$ac_ext
7670 > cat >>conftest.$ac_ext <<_ACEOF
7671 > /* end confdefs.h.  */
7672  
7673   /* Override any gcc2 internal prototype to avoid an error.  */
7674   #ifdef __cplusplus
# Line 5900 | Line 7686 | if { (eval echo "$as_me:5903: \"$ac_link\"") >&5
7686   }
7687   _ACEOF
7688   rm -f conftest.$ac_objext conftest$ac_exeext
7689 < if { (eval echo "$as_me:5903: \"$ac_link\"") >&5
7690 <  (eval $ac_link) 2>&5
7689 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7690 >  (eval $ac_link) 2>conftest.er1
7691    ac_status=$?
7692 <  echo "$as_me:5906: \$? = $ac_status" >&5
7692 >  grep -v '^ *+' conftest.er1 >conftest.err
7693 >  rm -f conftest.er1
7694 >  cat conftest.err >&5
7695 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7696    (exit $ac_status); } &&
7697 <         { ac_try='test -s conftest$ac_exeext'
7698 <  { (eval echo "$as_me:5909: \"$ac_try\"") >&5
7697 >         { ac_try='test -z "$ac_c_werror_flag"
7698 >                         || test ! -s conftest.err'
7699 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7700    (eval $ac_try) 2>&5
7701    ac_status=$?
7702 <  echo "$as_me:5912: \$? = $ac_status" >&5
7702 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7703 >  (exit $ac_status); }; } &&
7704 >         { ac_try='test -s conftest$ac_exeext'
7705 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7706 >  (eval $ac_try) 2>&5
7707 >  ac_status=$?
7708 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7709    (exit $ac_status); }; }; then
7710    ac_cv_lib_mpich_MPI_Init=yes
7711   else
7712    echo "$as_me: failed program was:" >&5
7713 < cat conftest.$ac_ext >&5
7713 > sed 's/^/| /' conftest.$ac_ext >&5
7714 >
7715   ac_cv_lib_mpich_MPI_Init=no
7716   fi
7717 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7717 > rm -f conftest.err conftest.$ac_objext \
7718 >      conftest$ac_exeext conftest.$ac_ext
7719   LIBS=$ac_check_lib_save_LIBS
7720   fi
7721 < echo "$as_me:5923: result: $ac_cv_lib_mpich_MPI_Init" >&5
7721 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
7722   echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
7723   if test $ac_cv_lib_mpich_MPI_Init = yes; then
7724    MPI_LIB="-lmpich -lpmpich"
# Line 5930 | Line 7728 | echo "$as_me:5933: checking for MPI_Init in -lmpi" >&5
7728  
7729   $as_unset ac_cv_lib_mpi_MPI_Init
7730   if test x = x"$MPI_LIB"; then
7731 < echo "$as_me:5933: checking for MPI_Init in -lmpi" >&5
7731 > echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
7732   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
7733   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
7734    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5938 | Line 7736 | cat >conftest.$ac_ext <<_ACEOF
7736    ac_check_lib_save_LIBS=$LIBS
7737   LIBS="-lmpi -llam -lpthread $LIBS"
7738   cat >conftest.$ac_ext <<_ACEOF
7739 < #line 5941 "configure"
7740 < #include "confdefs.h"
7739 > /* confdefs.h.  */
7740 > _ACEOF
7741 > cat confdefs.h >>conftest.$ac_ext
7742 > cat >>conftest.$ac_ext <<_ACEOF
7743 > /* end confdefs.h.  */
7744  
7745   /* Override any gcc2 internal prototype to avoid an error.  */
7746   #ifdef __cplusplus
# Line 5957 | Line 7758 | if { (eval echo "$as_me:5960: \"$ac_link\"") >&5
7758   }
7759   _ACEOF
7760   rm -f conftest.$ac_objext conftest$ac_exeext
7761 < if { (eval echo "$as_me:5960: \"$ac_link\"") >&5
7762 <  (eval $ac_link) 2>&5
7761 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7762 >  (eval $ac_link) 2>conftest.er1
7763    ac_status=$?
7764 <  echo "$as_me:5963: \$? = $ac_status" >&5
7764 >  grep -v '^ *+' conftest.er1 >conftest.err
7765 >  rm -f conftest.er1
7766 >  cat conftest.err >&5
7767 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7768    (exit $ac_status); } &&
7769 <         { ac_try='test -s conftest$ac_exeext'
7770 <  { (eval echo "$as_me:5966: \"$ac_try\"") >&5
7769 >         { ac_try='test -z "$ac_c_werror_flag"
7770 >                         || test ! -s conftest.err'
7771 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7772    (eval $ac_try) 2>&5
7773    ac_status=$?
7774 <  echo "$as_me:5969: \$? = $ac_status" >&5
7774 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7775 >  (exit $ac_status); }; } &&
7776 >         { ac_try='test -s conftest$ac_exeext'
7777 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7778 >  (eval $ac_try) 2>&5
7779 >  ac_status=$?
7780 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7781    (exit $ac_status); }; }; then
7782    ac_cv_lib_mpi_MPI_Init=yes
7783   else
7784    echo "$as_me: failed program was:" >&5
7785 < cat conftest.$ac_ext >&5
7785 > sed 's/^/| /' conftest.$ac_ext >&5
7786 >
7787   ac_cv_lib_mpi_MPI_Init=no
7788   fi
7789 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7789 > rm -f conftest.err conftest.$ac_objext \
7790 >      conftest$ac_exeext conftest.$ac_ext
7791   LIBS=$ac_check_lib_save_LIBS
7792   fi
7793 < echo "$as_me:5980: result: $ac_cv_lib_mpi_MPI_Init" >&5
7793 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
7794   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
7795   if test $ac_cv_lib_mpi_MPI_Init = yes; then
7796    MPI_LIB="-lmpi -llam -lpthread"
7797   else
7798  
7799 <             { { echo "$as_me:5986: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
7799 >             { { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
7800   echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;}
7801     { (exit 1); exit 1; }; }
7802               USE_MPI="no"
# Line 5992 | Line 7805 | echo "$as_me:5995: checking for MPI Fortran library" >
7805  
7806   fi
7807  
7808 < echo "$as_me:5995: checking for MPI Fortran library" >&5
7808 >
7809 >
7810 > echo "$as_me:$LINENO: checking for MPI Fortran library" >&5
7811   echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6
7812   MPI_F90_LIB=""
7813   if test -f "$MPI_LIB_DIR/libfmpich.a" ; then
# Line 6002 | Line 7817 | echo "$as_me:6005: result: found $MPI_F90_LIB" >&5
7817   else
7818                          MPI_F90_LIB="  "
7819   fi
7820 < echo "$as_me:6005: result: found $MPI_F90_LIB" >&5
7820 > echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5
7821   echo "${ECHO_T}found $MPI_F90_LIB" >&6
7822  
7823 +
7824   fi
7825  
6010 # Check whether --with-sprng or --without-sprng was given.
6011 if test "${with_sprng+set}" = set; then
6012  withval="$with_sprng"
6013  with_sprng=$withval
6014 else
6015  with_sprng="/usr/local"
6016 fi;
7826  
6018 case "x$with_sprng" in
6019        xyes | "x")  USE_SPRNG=yes;;
6020        xno) USE_SPRNG=no ;;
6021        *) SPRNG="$with_sprng"; USE_SPRNG=yes ;;
6022 esac
6023 if test "$USE_SPRNG" = "yes" -a -z "$with_sprng"; then
6024        SPRNG="/usr/local"
6025 fi
6026 if test "$USE_SPRNG" = "yes"; then
7827  
6028 # Set variables...
6029 SPRNG_LIB_DIR="$SPRNG/lib"
6030 SPRNG_INC_DIR="$SPRNG/include"
7828  
7829 < echo "$as_me:6032: checking for sprng.h" >&5
7830 < echo $ECHO_N "checking for sprng.h... $ECHO_C" >&6
6034 < have_sprng_h=0
6035 < echo '#include <sprng.h>' > conftest.cc
6036 < if test -z "`${CXX} -I${SPRNG_INC_DIR} -c conftest.cc 2>&1`"; then
6037 <        echo "$as_me:6037: result: yes" >&5
6038 < echo "${ECHO_T}yes" >&6
6039 <        have_sprng_h=1
6040 < else
6041 <        echo "$as_me:6041: result: no! Check SPRNG include path!" >&5
6042 < echo "${ECHO_T}no! Check SPRNG include path!" >&6
6043 <        USE_SPRNG="no"
6044 < fi
6045 < rm -f conftest*
6046 < if test "$have_sprng_h" = 1; then
7829 > USE_CGAL=no
7830 > cgal_makefile=auto
7831  
7832 < cat >>confdefs.h <<\EOF
7833 < #define HAVE_SPRNG_H 1
7834 < EOF
7832 > # Check whether --with-cgal-makefile or --without-cgal-makefile was given.
7833 > if test "${with_cgal_makefile+set}" = set; then
7834 >  withval="$with_cgal_makefile"
7835 >  cgal_makefile="$withval"
7836 > fi;
7837  
7838 < fi
7838 > if test "x$cgal_makefile" != xno; then
7839  
7840 < ac_ext=c
7841 < ac_cpp='$CPP $CPPFLAGS'
7842 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6057 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6058 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
7840 >  if test "x$cgal_makefile" = xauto -a "x$CGAL_MAKEFILE" != x; then
7841 >    cgal_makefile="$CGAL_MAKEFILE"
7842 >  fi
7843  
7844 < ac_save_LDFLAGS=$LDFLAGS
6061 < LDFLAGS="${LDFLAGS} -L${SPRNG_LIB_DIR} "
7844 >  echo "cgal_makefile      $cgal_makefile"
7845  
7846 < 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
6067 < else
6068 <  ac_check_lib_save_LIBS=$LIBS
6069 < LIBS="-lsprng  $LIBS"
6070 < cat >conftest.$ac_ext <<_ACEOF
6071 < #line 6071 "configure"
6072 < #include "confdefs.h"
7846 >  if test -f "$cgal_makefile"; then
7847  
7848 < /* Override any gcc2 internal prototype to avoid an error.  */
7849 < #ifdef __cplusplus
7850 < extern "C"
7851 < #endif
7852 < /* We use char because int might match the return type of a gcc2
7853 <   builtin and then its argument prototype would still apply.  */
7854 < char init_rng ();
7855 < int
7856 < main ()
7857 < {
7858 < init_rng ();
7859 <  ;
7860 <  return 0;
7861 < }
7862 < _ACEOF
7863 < rm -f conftest.$ac_objext conftest$ac_exeext
6090 < if { (eval echo "$as_me:6090: \"$ac_link\"") >&5
6091 <  (eval $ac_link) 2>&5
6092 <  ac_status=$?
6093 <  echo "$as_me:6093: \$? = $ac_status" >&5
6094 <  (exit $ac_status); } &&
6095 <         { ac_try='test -s conftest$ac_exeext'
6096 <  { (eval echo "$as_me:6096: \"$ac_try\"") >&5
6097 <  (eval $ac_try) 2>&5
6098 <  ac_status=$?
6099 <  echo "$as_me:6099: \$? = $ac_status" >&5
6100 <  (exit $ac_status); }; }; then
6101 <  ac_cv_lib_sprng_init_rng=yes
6102 < else
6103 <  echo "$as_me: failed program was:" >&5
6104 < cat conftest.$ac_ext >&5
6105 < ac_cv_lib_sprng_init_rng=no
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: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
7848 >    cat >config.tmp.Makefile <<EOF
7849 > include $cgal_makefile
7850 > default:
7851 >        @echo CGAL_OS_COMPILER=\"\${CGAL_OS_COMPILER}\" >config.tmp.cgalvariables
7852 >        @echo CGAL_INCLDIR=\"\${CGAL_INCL_DIR}\" >>config.tmp.cgalvariables
7853 >        @echo CGAL_INCLCONFDIR=\"\${CGAL_INCL_CONF_DIR}\" >>config.tmp.cgalvariables
7854 >        @echo CGAL_LIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
7855 >        @echo CGAL_RLIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
7856 >        @echo CGAL_CXXFLAGS=\"\${CGAL_CXXFLAGS}\" >>config.tmp.cgalvariables
7857 >        @echo GMP_INCLDIR=\"\${GMP_INCL_DIR}\" >>config.tmp.cgalvariables
7858 >        @echo GMP_LIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
7859 >        @echo GMP_RLIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
7860 >        @echo LEDA_INCLDIR=\"\${LEDA_INCL_DIR}\" >>config.tmp.cgalvariables
7861 >        @echo LEDA_LIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
7862 >        @echo LEDA_RLIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
7863 > EOF
7864  
7865 <             { { echo "$as_me:6116: error: Didn't find libsprng; check path for SPRNG package first..." >&5
7866 < echo "$as_me: error: Didn't find libsprng; check path for SPRNG package first..." >&2;}
6118 <   { (exit 1); exit 1; }; }
6119 <             USE_SPRNG="no"
7865 >    make -s -f config.tmp.Makefile
7866 >    . config.tmp.cgalvariables
7867  
7868 < fi
7868 >    rm -f config.tmp.Makefile config.tmp.cgalvariables
7869  
7870 < if test "$USE_SPRNG" = "no"; then
7871 <  { { echo "$as_me:6124: error: No working SPRNG library found" >&5
7872 < echo "$as_me: error: No working SPRNG library found" >&2;}
6126 <   { (exit 1); exit 1; }; }
6127 < fi
7870 >    if test "x$CGAL_INCLDIR" = "x"; then
7871 >      CGAL_INCLDIR=""
7872 >    fi
7873  
7874 < fi
7874 >    if test "x$CGAL_LIBDIR" = "x"; then
7875 >      CGAL_LIBDIR=""
7876 >    fi
7877  
7878 < echo "$as_me:6131: checking if MKL is wanted" >&5
7879 < echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6
7878 >    if test "x$CGAL_RLIBDIR" = "x"; then
7879 >      CGAL_RLIBDIR=""
7880 >    fi
7881  
7882 < # Check whether --with-mkl or --without-mkl was given.
7883 < if test "${with_mkl+set}" = set; then
6136 <  withval="$with_mkl"
6137 <     echo "$as_me:6137: result: yes" >&5
6138 < echo "${ECHO_T}yes" >&6
6139 <    for dir in $withval /usr/local/intel/mkl61 /opt/intel/mkl61; do
6140 <        mkldir="$dir"
6141 <        if test -f "$dir/include/mkl.h"; then
6142 <            found_mkl="yes";
6143 <            break;
6144 <        fi
6145 <    done
6146 <    if test x_$found_mkl != x_yes; then
6147 <        { { echo "$as_me:6147: error: Cannot find MKL includes" >&5
6148 < echo "$as_me: error: Cannot find MKL includes" >&2;}
6149 <   { (exit 1); exit 1; }; }
6150 <    else
6151 <        printf "MKL includes found in $mkldir/include\n";
7882 >    if test "x$LEDA_INCLDIR" = "x"; then
7883 >      LEDA_INCLDIR=""
7884      fi
7885  
7886 <  ac_ext=c
7887 < ac_cpp='$CPP $CPPFLAGS'
7888 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6157 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6158 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
7886 >    if test "x$LEDA_LIBDIR" = "x"; then
7887 >      LEDA_LIBDIR=""
7888 >    fi
7889  
7890 <  ac_save_CPPFLAGS=$CPPFLAGS
7891 <  CPPFLAGS="${CPPFLAGS} -I${mkldir}/include"
7892 <  ac_save_LDFLAGS=$LDFLAGS
7893 <  LDFLAGS="${LDFLAGS} -L${mkldir}/lib/32 -lmkl -lvml -lguide"
7894 <  echo "$as_me:6164: checking for mkl.h" >&5
7895 < echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
7896 < if test "${ac_cv_header_mkl_h+set}" = set; then
7890 >    if test "x$LEDA_RLIBDIR" = "x"; then
7891 >      LEDA_RLIBDIR=""
7892 >    fi
7893 >
7894 >    if test "x$GMP_INCLDIR" = "x"; then
7895 >      GMP_INCLDIR=""
7896 >    fi
7897 >
7898 >    if test "x$GMP_LIBDIR" = "x"; then
7899 >      GMP_LIBDIR=""
7900 >    fi
7901 >
7902 >    if test "x$GMP_RLIBDIR" = "x"; then
7903 >      GMP_RLIBDIR=""
7904 >    fi
7905 >
7906 >    echo "CGAL_OS_COMPILER   $CGAL_OS_COMPILER"
7907 >    echo "CGAL_INCLDIR       $CGAL_INCLDIR"
7908 >    echo "CGAL_INCLCONFDIR   $CGAL_INCLCONFDIR"
7909 >    echo "CGAL_LIBDIR        $CGAL_LIBDIR"
7910 >    echo "CGAL_CXXFLAGS      $CGAL_CXXFLAGS"
7911 >    echo "LEDA_INCLDIR       $LEDA_INCLDIR"
7912 >    echo "LEDA_LIBDIR        $LEDA_LIBDIR"
7913 >    echo "GMP_INCLDIR        $GMP_INCLDIR"
7914 >    echo "GMP_LIBDIR         $GMP_LIBDIR"
7915 >
7916 >    ac_ext=cc
7917 > ac_cpp='$CXXCPP $CPPFLAGS'
7918 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7919 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7920 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7921 >
7922 >    save_CXXFLAGS="$CXXFLAGS"
7923 >    CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
7924 >
7925 > ac_ext=cc
7926 > ac_cpp='$CXXCPP $CPPFLAGS'
7927 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7928 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7929 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7930 > echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7931 > echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
7932 > if test -z "$CXXCPP"; then
7933 >  if test "${ac_cv_prog_CXXCPP+set}" = set; then
7934    echo $ECHO_N "(cached) $ECHO_C" >&6
7935   else
7936 +      # Double quotes because CXXCPP needs to be expanded
7937 +    for CXXCPP in "$CXX -E" "/lib/cpp"
7938 +    do
7939 +      ac_preproc_ok=false
7940 + for ac_cxx_preproc_warn_flag in '' yes
7941 + do
7942 +  # Use a header file that comes with gcc, so configuring glibc
7943 +  # with a fresh cross-compiler works.
7944 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7945 +  # <limits.h> exists even on freestanding compilers.
7946 +  # On the NeXT, cc -E runs the code through the compiler's parser,
7947 +  # not just through cpp. "Syntax error" is here to catch this case.
7948    cat >conftest.$ac_ext <<_ACEOF
7949 < #line 6170 "configure"
6171 < #include "confdefs.h"
6172 < #include <mkl.h>
7949 > /* confdefs.h.  */
7950   _ACEOF
7951 < if { (eval echo "$as_me:6174: \"$ac_cpp conftest.$ac_ext\"") >&5
7951 > cat confdefs.h >>conftest.$ac_ext
7952 > cat >>conftest.$ac_ext <<_ACEOF
7953 > /* end confdefs.h.  */
7954 > #ifdef __STDC__
7955 > # include <limits.h>
7956 > #else
7957 > # include <assert.h>
7958 > #endif
7959 >                     Syntax error
7960 > _ACEOF
7961 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7962    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7963    ac_status=$?
7964 <  egrep -v '^ *\+' conftest.er1 >conftest.err
7964 >  grep -v '^ *+' conftest.er1 >conftest.err
7965    rm -f conftest.er1
7966    cat conftest.err >&5
7967 <  echo "$as_me:6180: \$? = $ac_status" >&5
7967 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7968    (exit $ac_status); } >/dev/null; then
7969    if test -s conftest.err; then
7970 <    ac_cpp_err=$ac_c_preproc_warn_flag
7970 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
7971 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7972    else
7973      ac_cpp_err=
7974    fi
# Line 6188 | Line 7976 | if test -z "$ac_cpp_err"; then
7976    ac_cpp_err=yes
7977   fi
7978   if test -z "$ac_cpp_err"; then
7979 <  ac_cv_header_mkl_h=yes
7979 >  :
7980   else
7981    echo "$as_me: failed program was:" >&5
7982 <  cat conftest.$ac_ext >&5
7983 <  ac_cv_header_mkl_h=no
7982 > sed 's/^/| /' conftest.$ac_ext >&5
7983 >
7984 >  # Broken: fails on valid input.
7985 > continue
7986   fi
7987   rm -f conftest.err conftest.$ac_ext
6198 fi
6199 echo "$as_me:6199: result: $ac_cv_header_mkl_h" >&5
6200 echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
6201 if test $ac_cv_header_mkl_h = yes; then
7988  
7989 <    echo "$as_me:6203: checking for vslNewStream in -lmkl" >&5
7990 < echo $ECHO_N "checking for vslNewStream in -lmkl... $ECHO_C" >&6
7991 < if test "${ac_cv_lib_mkl_vslNewStream+set}" = set; then
7992 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7989 >  # OK, works on sane cases.  Now check whether non-existent headers
7990 >  # can be detected and how.
7991 >  cat >conftest.$ac_ext <<_ACEOF
7992 > /* confdefs.h.  */
7993 > _ACEOF
7994 > cat confdefs.h >>conftest.$ac_ext
7995 > cat >>conftest.$ac_ext <<_ACEOF
7996 > /* end confdefs.h.  */
7997 > #include <ac_nonexistent.h>
7998 > _ACEOF
7999 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8000 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8001 >  ac_status=$?
8002 >  grep -v '^ *+' conftest.er1 >conftest.err
8003 >  rm -f conftest.er1
8004 >  cat conftest.err >&5
8005 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8006 >  (exit $ac_status); } >/dev/null; then
8007 >  if test -s conftest.err; then
8008 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
8009 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8010 >  else
8011 >    ac_cpp_err=
8012 >  fi
8013   else
8014 <  ac_check_lib_save_LIBS=$LIBS
8015 < LIBS="-lmkl  $LIBS"
8016 < cat >conftest.$ac_ext <<_ACEOF
8017 < #line 6211 "configure"
8018 < #include "confdefs.h"
8014 >  ac_cpp_err=yes
8015 > fi
8016 > if test -z "$ac_cpp_err"; then
8017 >  # Broken: success on invalid input.
8018 > continue
8019 > else
8020 >  echo "$as_me: failed program was:" >&5
8021 > sed 's/^/| /' conftest.$ac_ext >&5
8022  
8023 < /* Override any gcc2 internal prototype to avoid an error.  */
8024 < #ifdef __cplusplus
8025 < extern "C"
8023 >  # Passes both tests.
8024 > ac_preproc_ok=:
8025 > break
8026 > fi
8027 > rm -f conftest.err conftest.$ac_ext
8028 >
8029 > done
8030 > # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8031 > rm -f conftest.err conftest.$ac_ext
8032 > if $ac_preproc_ok; then
8033 >  break
8034 > fi
8035 >
8036 >    done
8037 >    ac_cv_prog_CXXCPP=$CXXCPP
8038 >
8039 > fi
8040 >  CXXCPP=$ac_cv_prog_CXXCPP
8041 > else
8042 >  ac_cv_prog_CXXCPP=$CXXCPP
8043 > fi
8044 > echo "$as_me:$LINENO: result: $CXXCPP" >&5
8045 > echo "${ECHO_T}$CXXCPP" >&6
8046 > ac_preproc_ok=false
8047 > for ac_cxx_preproc_warn_flag in '' yes
8048 > do
8049 >  # Use a header file that comes with gcc, so configuring glibc
8050 >  # with a fresh cross-compiler works.
8051 >  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8052 >  # <limits.h> exists even on freestanding compilers.
8053 >  # On the NeXT, cc -E runs the code through the compiler's parser,
8054 >  # not just through cpp. "Syntax error" is here to catch this case.
8055 >  cat >conftest.$ac_ext <<_ACEOF
8056 > /* confdefs.h.  */
8057 > _ACEOF
8058 > cat confdefs.h >>conftest.$ac_ext
8059 > cat >>conftest.$ac_ext <<_ACEOF
8060 > /* end confdefs.h.  */
8061 > #ifdef __STDC__
8062 > # include <limits.h>
8063 > #else
8064 > # include <assert.h>
8065   #endif
8066 < /* We use char because int might match the return type of a gcc2
6219 <   builtin and then its argument prototype would still apply.  */
6220 < char vslNewStream ();
6221 < int
6222 < main ()
6223 < {
6224 < vslNewStream ();
6225 <  ;
6226 <  return 0;
6227 < }
8066 >                     Syntax error
8067   _ACEOF
8068 < rm -f conftest.$ac_objext conftest$ac_exeext
8069 < if { (eval echo "$as_me:6230: \"$ac_link\"") >&5
6231 <  (eval $ac_link) 2>&5
8068 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8069 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8070    ac_status=$?
8071 <  echo "$as_me:6233: \$? = $ac_status" >&5
8072 <  (exit $ac_status); } &&
8073 <         { ac_try='test -s conftest$ac_exeext'
8074 <  { (eval echo "$as_me:6236: \"$ac_try\"") >&5
8075 <  (eval $ac_try) 2>&5
8076 <  ac_status=$?
8077 <  echo "$as_me:6239: \$? = $ac_status" >&5
8078 <  (exit $ac_status); }; }; then
8079 <  ac_cv_lib_mkl_vslNewStream=yes
8071 >  grep -v '^ *+' conftest.er1 >conftest.err
8072 >  rm -f conftest.er1
8073 >  cat conftest.err >&5
8074 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8075 >  (exit $ac_status); } >/dev/null; then
8076 >  if test -s conftest.err; then
8077 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
8078 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8079 >  else
8080 >    ac_cpp_err=
8081 >  fi
8082   else
8083 <  echo "$as_me: failed program was:" >&5
6244 < cat conftest.$ac_ext >&5
6245 < ac_cv_lib_mkl_vslNewStream=no
8083 >  ac_cpp_err=yes
8084   fi
8085 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8086 < LIBS=$ac_check_lib_save_LIBS
8085 > if test -z "$ac_cpp_err"; then
8086 >  :
8087 > else
8088 >  echo "$as_me: failed program was:" >&5
8089 > sed 's/^/| /' conftest.$ac_ext >&5
8090 >
8091 >  # Broken: fails on valid input.
8092 > continue
8093   fi
8094 < echo "$as_me:6250: result: $ac_cv_lib_mkl_vslNewStream" >&5
8095 < echo "${ECHO_T}$ac_cv_lib_mkl_vslNewStream" >&6
8096 < if test $ac_cv_lib_mkl_vslNewStream = yes; then
8097 <  MKL_LIBDIR="${mkldir}/lib/32",
8098 <                     MKL_LIB="-lmkl -lvml -lguide",
8099 <                     HAVE_MKL="yes"
8094 > rm -f conftest.err conftest.$ac_ext
8095 >
8096 >  # OK, works on sane cases.  Now check whether non-existent headers
8097 >  # can be detected and how.
8098 >  cat >conftest.$ac_ext <<_ACEOF
8099 > /* confdefs.h.  */
8100 > _ACEOF
8101 > cat confdefs.h >>conftest.$ac_ext
8102 > cat >>conftest.$ac_ext <<_ACEOF
8103 > /* end confdefs.h.  */
8104 > #include <ac_nonexistent.h>
8105 > _ACEOF
8106 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8107 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8108 >  ac_status=$?
8109 >  grep -v '^ *+' conftest.er1 >conftest.err
8110 >  rm -f conftest.er1
8111 >  cat conftest.err >&5
8112 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8113 >  (exit $ac_status); } >/dev/null; then
8114 >  if test -s conftest.err; then
8115 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
8116 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8117 >  else
8118 >    ac_cpp_err=
8119 >  fi
8120 > else
8121 >  ac_cpp_err=yes
8122   fi
8123 + if test -z "$ac_cpp_err"; then
8124 +  # Broken: success on invalid input.
8125 + continue
8126 + else
8127 +  echo "$as_me: failed program was:" >&5
8128 + sed 's/^/| /' conftest.$ac_ext >&5
8129  
8130 +  # Passes both tests.
8131 + ac_preproc_ok=:
8132 + break
8133 + fi
8134 + rm -f conftest.err conftest.$ac_ext
8135 +
8136 + done
8137 + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8138 + rm -f conftest.err conftest.$ac_ext
8139 + if $ac_preproc_ok; then
8140 +  :
8141   else
8142 <  MKL_INC="-I${mkldir}/include"
8142 >  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8143 > See \`config.log' for more details." >&5
8144 > echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8145 > See \`config.log' for more details." >&2;}
8146 >   { (exit 1); exit 1; }; }
8147   fi
8148  
8149 <  CPPFLAGS=$ac_save_CPPFLAGS
8150 <  LDFLAGS=$ac_save_LDFLAGS
8149 > ac_ext=cc
8150 > ac_cpp='$CXXCPP $CPPFLAGS'
8151 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8152 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8153 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8154 >
8155 >
8156 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
8157 >  echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
8158 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
8159 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
8160 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8161 > fi
8162 > echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
8163 > echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
8164 > else
8165 >  # Is the header compilable?
8166 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h usability" >&5
8167 > echo $ECHO_N "checking CGAL/Cartesian.h usability... $ECHO_C" >&6
8168 > cat >conftest.$ac_ext <<_ACEOF
8169 > /* confdefs.h.  */
8170 > _ACEOF
8171 > cat confdefs.h >>conftest.$ac_ext
8172 > cat >>conftest.$ac_ext <<_ACEOF
8173 > /* end confdefs.h.  */
8174 > $ac_includes_default
8175 > #include <CGAL/Cartesian.h>
8176 > _ACEOF
8177 > rm -f conftest.$ac_objext
8178 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8179 >  (eval $ac_compile) 2>conftest.er1
8180 >  ac_status=$?
8181 >  grep -v '^ *+' conftest.er1 >conftest.err
8182 >  rm -f conftest.er1
8183 >  cat conftest.err >&5
8184 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8185 >  (exit $ac_status); } &&
8186 >         { ac_try='test -z "$ac_cxx_werror_flag"
8187 >                         || test ! -s conftest.err'
8188 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8189 >  (eval $ac_try) 2>&5
8190 >  ac_status=$?
8191 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8192 >  (exit $ac_status); }; } &&
8193 >         { ac_try='test -s conftest.$ac_objext'
8194 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8195 >  (eval $ac_try) 2>&5
8196 >  ac_status=$?
8197 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8198 >  (exit $ac_status); }; }; then
8199 >  ac_header_compiler=yes
8200 > else
8201 >  echo "$as_me: failed program was:" >&5
8202 > sed 's/^/| /' conftest.$ac_ext >&5
8203 >
8204 > ac_header_compiler=no
8205 > fi
8206 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8207 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8208 > echo "${ECHO_T}$ac_header_compiler" >&6
8209 >
8210 > # Is the header present?
8211 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h presence" >&5
8212 > echo $ECHO_N "checking CGAL/Cartesian.h presence... $ECHO_C" >&6
8213 > cat >conftest.$ac_ext <<_ACEOF
8214 > /* confdefs.h.  */
8215 > _ACEOF
8216 > cat confdefs.h >>conftest.$ac_ext
8217 > cat >>conftest.$ac_ext <<_ACEOF
8218 > /* end confdefs.h.  */
8219 > #include <CGAL/Cartesian.h>
8220 > _ACEOF
8221 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8222 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8223 >  ac_status=$?
8224 >  grep -v '^ *+' conftest.er1 >conftest.err
8225 >  rm -f conftest.er1
8226 >  cat conftest.err >&5
8227 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228 >  (exit $ac_status); } >/dev/null; then
8229 >  if test -s conftest.err; then
8230 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
8231 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8232 >  else
8233 >    ac_cpp_err=
8234 >  fi
8235 > else
8236 >  ac_cpp_err=yes
8237 > fi
8238 > if test -z "$ac_cpp_err"; then
8239 >  ac_header_preproc=yes
8240 > else
8241 >  echo "$as_me: failed program was:" >&5
8242 > sed 's/^/| /' conftest.$ac_ext >&5
8243 >
8244 >  ac_header_preproc=no
8245 > fi
8246 > rm -f conftest.err conftest.$ac_ext
8247 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8248 > echo "${ECHO_T}$ac_header_preproc" >&6
8249 >
8250 > # So?  What about this header?
8251 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8252 >  yes:no: )
8253 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&5
8254 > echo "$as_me: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8255 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&5
8256 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&2;}
8257 >    ac_header_preproc=yes
8258 >    ;;
8259 >  no:yes:* )
8260 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&5
8261 > echo "$as_me: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&2;}
8262 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&5
8263 > echo "$as_me: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&2;}
8264 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&5
8265 > echo "$as_me: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&2;}
8266 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&5
8267 > echo "$as_me: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&2;}
8268 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&5
8269 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&2;}
8270 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&5
8271 > echo "$as_me: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&2;}
8272 >    (
8273 >      cat <<\_ASBOX
8274 > ## ------------------------------ ##
8275 > ## Report this to gezelter@nd.edu ##
8276 > ## ------------------------------ ##
8277 > _ASBOX
8278 >    ) |
8279 >      sed "s/^/$as_me: WARNING:     /" >&2
8280 >    ;;
8281 > esac
8282 > echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
8283 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
8284 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
8285 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8286 > else
8287 >  ac_cv_header_CGAL_Cartesian_h=$ac_header_preproc
8288 > fi
8289 > echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
8290 > echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
8291 >
8292 > fi
8293 > if test $ac_cv_header_CGAL_Cartesian_h = yes; then
8294 >  cgal=yes
8295 > else
8296 >  cgal=no
8297 > fi
8298 >
8299 >
8300 >    CXXFLAGS="$save_CXXFLAGS"
8301 >
8302 >    if test "x$cgal" = xyes; then
8303 >      echo "$as_me:$LINENO: checking for CGAL version" >&5
8304 > echo $ECHO_N "checking for CGAL version... $ECHO_C" >&6
8305 >      LOCATION=${CGAL_INCLDIR}
8306 >      LOCATION=${LOCATION:-/usr/include}
8307 >      if test -f $LOCATION/CGAL/version.h; then
8308 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/version.h | sed 's/[^0-9\.]*//g'`
8309 >      else
8310 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/config.h | sed 's/[^0-9\.]*//g'`
8311 >      fi
8312 >      if echo $CGAL_VERSION | grep -q "^[3456789]"; then
8313 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) yes" >&5
8314 > echo "${ECHO_T}($CGAL_VERSION) yes" >&6
8315 >      else
8316 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) no" >&5
8317 > echo "${ECHO_T}($CGAL_VERSION) no" >&6
8318 >        cgal=no
8319 >      fi
8320 >    fi
8321 >
8322 >    if test "x$cgal" = xyes; then
8323 >      CGAL_LIBS="-lCGAL"
8324 >      echo "$as_me:$LINENO: checking whether CGAL uses LEDA" >&5
8325 > echo $ECHO_N "checking whether CGAL uses LEDA... $ECHO_C" >&6
8326 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_LEDA; then
8327 >        CGAL_USES_LEDA=yes
8328 >        echo "$as_me:$LINENO: result: yes" >&5
8329 > echo "${ECHO_T}yes" >&6
8330 >        CGAL_DEFINES="-DCGAL_USE_LEDA -DLEDA_PREFIX"
8331 >      else
8332 >        echo "$as_me:$LINENO: result: no" >&5
8333 > echo "${ECHO_T}no" >&6
8334 >        CGAL_USES_LEDA=no
8335 >      fi
8336 >
8337 >      echo "$as_me:$LINENO: checking whether CGAL uses GMP" >&5
8338 > echo $ECHO_N "checking whether CGAL uses GMP... $ECHO_C" >&6
8339 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_GMP; then
8340 >        CGAL_USES_GMP=yes
8341 >        echo "$as_me:$LINENO: result: yes" >&5
8342 > echo "${ECHO_T}yes" >&6
8343 >        CGAL_DEFINES="-DCGAL_USE_GMP $CGAL_DEFINES"
8344 >      else
8345 >        echo "$as_me:$LINENO: result: no" >&5
8346 > echo "${ECHO_T}no" >&6
8347 >        CGAL_USES_GMP=no
8348 >      fi
8349 >
8350 >      CGAL_LIBS="$CGAL_LIBS -lm"
8351 >
8352 >      CGAL_CXXFLAGS="-ftemplate-depth-50"
8353 >
8354 >      echo "CGAL_USES_LEDA     $CGAL_USES_LEDA"
8355 >      echo "CGAL_USES_GMP      $CGAL_USES_GMP"
8356 >      echo "CGAL_INCLDIR       $CGAL_INCLDIR"
8357 >      echo "CGAL_LIBDIR        $CGAL_LIBDIR"
8358 >      echo "CGAL_DEFINES       $CGAL_DEFINES"
8359 >      echo "CGAL_CXXFLAGS      $CGAL_CXXFLAGS"
8360 >      echo "CGAL_LIBS          $CGAL_LIBS"
8361 >    fi
8362 >
8363 >    if test "x$cgal" = xyes; then
8364 >      save_LIBS="$LIBS"
8365 >      LIBS="$LIBS -L$CGAL_LIBDIR"
8366 >      if test "x$CGAL_USES_LEDA" = xyes; then
8367 >        LIBS="-lL $LIBS -L$LEDA_LIBDIR"
8368 >      fi
8369 >      # if test "x$CGAL_USES_GMP" = xyes; then
8370 >      #   LIBS="-lgmp $LIBS $GMP_LIBDIR"
8371 >      # fi
8372 >      echo "$as_me:$LINENO: checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL" >&5
8373 > echo $ECHO_N "checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL... $ECHO_C" >&6
8374 > save_CXXFLAGS_CHECK_CXX_LIB="$CXXFLAGS"
8375 > CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
8376 > save_LIBS_CHECK_CXX_LIB="$LIBS"
8377 > LIBS="-lCGAL  $LIBS"
8378 > cat >conftest.$ac_ext <<_ACEOF
8379 > /* confdefs.h.  */
8380 > _ACEOF
8381 > cat confdefs.h >>conftest.$ac_ext
8382 > cat >>conftest.$ac_ext <<_ACEOF
8383 > /* end confdefs.h.  */
8384 > #include <CGAL/Cartesian.h>
8385 > int
8386 > main ()
8387 > {
8388 > ::CGAL::Cartesian<int>::Point_2 P
8389 >  ;
8390 >  return 0;
8391 > }
8392 > _ACEOF
8393 > rm -f conftest.$ac_objext conftest$ac_exeext
8394 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8395 >  (eval $ac_link) 2>conftest.er1
8396 >  ac_status=$?
8397 >  grep -v '^ *+' conftest.er1 >conftest.err
8398 >  rm -f conftest.er1
8399 >  cat conftest.err >&5
8400 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401 >  (exit $ac_status); } &&
8402 >         { ac_try='test -z "$ac_cxx_werror_flag"
8403 >                         || test ! -s conftest.err'
8404 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8405 >  (eval $ac_try) 2>&5
8406 >  ac_status=$?
8407 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8408 >  (exit $ac_status); }; } &&
8409 >         { ac_try='test -s conftest$ac_exeext'
8410 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8411 >  (eval $ac_try) 2>&5
8412 >  ac_status=$?
8413 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8414 >  (exit $ac_status); }; }; then
8415 >  echo "$as_me:$LINENO: result: yes" >&5
8416 > echo "${ECHO_T}yes" >&6
8417 > cgal=yes
8418 > else
8419 >  echo "$as_me: failed program was:" >&5
8420 > sed 's/^/| /' conftest.$ac_ext >&5
8421 >
8422 > echo "$as_me:$LINENO: result: no" >&5
8423 > echo "${ECHO_T}no" >&6
8424 > cgal=no
8425 > fi
8426 > rm -f conftest.err conftest.$ac_objext \
8427 >      conftest$ac_exeext conftest.$ac_ext
8428 > CXXFLAGS="$save_CXXFLAGS_CHECK_CXX_LIB"
8429 > LIBS="$save_LIBS_CHECK_CXX_LIB"
8430 >      LIBS="$save_LIBS"
8431 >    fi
8432 >
8433 >  fi
8434    ac_ext=c
8435   ac_cpp='$CPP $CPPFLAGS'
8436   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8437   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8438   ac_compiler_gnu=$ac_cv_c_compiler_gnu
8439  
6270  if test x_$HAVE_MKL != x_yes; then
6271        { { echo "$as_me:6271: error: Can't build with MKL" >&5
6272 echo "$as_me: error: Can't build with MKL" >&2;}
6273   { (exit 1); exit 1; }; }
6274  fi
8440  
8441 + fi
8442 +
8443 + if test "x$cgal" = xyes; then
8444 +  USE_CGAL=yes
8445 +
8446 + cat >>confdefs.h <<\_ACEOF
8447 + #define HAVE_CGAL 1
8448 + _ACEOF
8449 +
8450 +
8451 + cat >>confdefs.h <<_ACEOF
8452 + #define CGAL_VERSION $CGAL_VERSION
8453 + _ACEOF
8454 +
8455 +  if ! echo $CGAL_VERSION | grep -q "^3.0"; then
8456 +    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
8457 + echo "$as_me: WARNING: *****************************************************" >&2;}
8458 +    { echo "$as_me:$LINENO: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&5
8459 + echo "$as_me: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&2;}
8460 +    { echo "$as_me:$LINENO: WARNING: *** supported versions. It may still work though. ***" >&5
8461 + echo "$as_me: WARNING: *** supported versions. It may still work though. ***" >&2;}
8462 +    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
8463 + echo "$as_me: WARNING: *****************************************************" >&2;}
8464 +  fi
8465   else
8466 +   if test "x$cgal_makefile" != xno; then
8467 +    { echo "$as_me:$LINENO: WARNING: *********************************************************" >&5
8468 + echo "$as_me: WARNING: *********************************************************" >&2;}
8469 +    { echo "$as_me:$LINENO: WARNING: *** Warning: CGAL was not found.                      ***" >&5
8470 + echo "$as_me: WARNING: *** Warning: CGAL was not found.                      ***" >&2;}
8471 +    { echo "$as_me:$LINENO: WARNING: *** Run \"configure\" with the appropriate options.     ***" >&5
8472 + echo "$as_me: WARNING: *** Run \"configure\" with the appropriate options.     ***" >&2;}
8473 +    { echo "$as_me:$LINENO: WARNING: *** CGAL support will be disabled.                    ***" >&5
8474 + echo "$as_me: WARNING: *** CGAL support will be disabled.                    ***" >&2;}
8475 +    { echo "$as_me:$LINENO: WARNING: *********************************************************" >&5
8476 + echo "$as_me: WARNING: *********************************************************" >&2;}
8477 +  fi
8478 +  CGAL_INCLDIR=
8479 +  CGAL_LIBDIR=
8480 +  CGAL_RLIBDIR=
8481 +  CGAL_DEFINES=
8482 +  CGAL_CXXFLAGS=
8483 +  CGAL_LIBS=
8484 + fi
8485  
6278    echo "$as_me:6278: result: no" >&5
6279 echo "${ECHO_T}no" >&6
8486  
8487 < fi;
8487 > CGAL_INC_DIR="${CGAL_INCLDIR} ${CGAL_INCLCONFDIR}"
8488  
8489 + CGAL_LIB_DIR=${CGAL_LIBDIR}
8490 +
8491 + CGAL_RLIB_DIR=${CGAL_RLIBDIR}
8492 +
8493 +
8494 +
8495 +
8496 +
8497 +
8498 +
8499   # Check whether --enable-doxygen or --disable-doxygen was given.
8500   if test "${enable_doxygen+set}" = set; then
8501    enableval="$enable_doxygen"
# Line 6309 | Line 8525 | echo "$as_me:6312: checking for $ac_word" >&5
8525   else
8526          # Extract the first word of "doxygen", so it can be a program name with args.
8527   set dummy doxygen; ac_word=$2
8528 < echo "$as_me:6312: checking for $ac_word" >&5
8528 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8529   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8530   if test "${ac_cv_path_DOXYGEN+set}" = set; then
8531    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6319 | Line 8535 | else
8535    ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
8536    ;;
8537    *)
8538 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
8539 < ac_dummy="$PATH"
8540 < for ac_dir in $ac_dummy; do
8541 <  IFS=$ac_save_IFS
8542 <  test -z "$ac_dir" && ac_dir=.
8543 <  if $as_executable_p "$ac_dir/$ac_word"; then
8544 <   ac_cv_path_DOXYGEN="$ac_dir/$ac_word"
8545 <   echo "$as_me:6329: found $ac_dir/$ac_word" >&5
8546 <   break
8547 < fi
8538 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8539 > for as_dir in $PATH
8540 > do
8541 >  IFS=$as_save_IFS
8542 >  test -z "$as_dir" && as_dir=.
8543 >  for ac_exec_ext in '' $ac_executable_extensions; do
8544 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8545 >    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
8546 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8547 >    break 2
8548 >  fi
8549   done
8550 + done
8551  
8552    ;;
8553   esac
# Line 6337 | Line 8555 | if test -n "$DOXYGEN"; then
8555   DOXYGEN=$ac_cv_path_DOXYGEN
8556  
8557   if test -n "$DOXYGEN"; then
8558 <  echo "$as_me:6340: result: $DOXYGEN" >&5
8558 >  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
8559   echo "${ECHO_T}$DOXYGEN" >&6
8560   else
8561 <  echo "$as_me:6343: result: no" >&5
8561 >  echo "$as_me:$LINENO: result: no" >&5
8562   echo "${ECHO_T}no" >&6
8563   fi
8564  
8565          if test "x$DOXYGEN" = x; then
8566                  if test "x$enable_doxygen" = xyes; then
8567 <                        { { echo "$as_me:6349: error: could not find doxygen" >&5
8567 >                        { { echo "$as_me:$LINENO: error: could not find doxygen" >&5
8568   echo "$as_me: error: could not find doxygen" >&2;}
8569     { (exit 1); exit 1; }; }
8570                  fi
# Line 6355 | Line 8573 | echo "$as_me:6358: checking for $ac_word" >&5
8573                  enable_doc=yes
8574                  # Extract the first word of "dot", so it can be a program name with args.
8575   set dummy dot; ac_word=$2
8576 < echo "$as_me:6358: checking for $ac_word" >&5
8576 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8577   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8578   if test "${ac_cv_path_DOT+set}" = set; then
8579    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6365 | Line 8583 | else
8583    ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
8584    ;;
8585    *)
8586 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
8587 < ac_dummy="$PATH"
8588 < for ac_dir in $ac_dummy; do
8589 <  IFS=$ac_save_IFS
8590 <  test -z "$ac_dir" && ac_dir=.
8591 <  if $as_executable_p "$ac_dir/$ac_word"; then
8592 <   ac_cv_path_DOT="$ac_dir/$ac_word"
8593 <   echo "$as_me:6375: found $ac_dir/$ac_word" >&5
8594 <   break
8595 < fi
8586 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8587 > for as_dir in $PATH
8588 > do
8589 >  IFS=$as_save_IFS
8590 >  test -z "$as_dir" && as_dir=.
8591 >  for ac_exec_ext in '' $ac_executable_extensions; do
8592 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8593 >    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
8594 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8595 >    break 2
8596 >  fi
8597   done
8598 + done
8599  
8600    ;;
8601   esac
# Line 6383 | Line 8603 | if test -n "$DOT"; then
8603   DOT=$ac_cv_path_DOT
8604  
8605   if test -n "$DOT"; then
8606 <  echo "$as_me:6386: result: $DOT" >&5
8606 >  echo "$as_me:$LINENO: result: $DOT" >&5
8607   echo "${ECHO_T}$DOT" >&6
8608   else
8609 <  echo "$as_me:6389: result: no" >&5
8609 >  echo "$as_me:$LINENO: result: no" >&5
8610   echo "${ECHO_T}no" >&6
8611   fi
8612  
# Line 6399 | Line 8619 | if test x$DOT = x; then
8619    DOC=0
8620   fi
8621  
8622 +
8623   if test x$DOT = x; then
8624          if test "x$enable_dot" = xyes; then
8625 <                { { echo "$as_me:6404: error: could not find dot" >&5
8625 >                { { echo "$as_me:$LINENO: error: could not find dot" >&5
8626   echo "$as_me: error: could not find dot" >&2;}
8627     { (exit 1); exit 1; }; }
8628          fi
# Line 6410 | Line 8631 | OBJEXT=".$OBJEXT"
8631          enable_dot=yes
8632   fi
8633  
8634 +
8635 +
8636 +
8637 +
8638 +
8639 +
8640   OBJEXT=".$OBJEXT"
8641  
8642   OOPSE=oopse
# Line 6450 | Line 8677 | ac_config_headers="$ac_config_headers src/config.h"
8677       ;;
8678   esac
8679  
6453 ac_config_headers="$ac_config_headers src/config.h"
8680  
6455 ac_config_files="$ac_config_files make/Makefile src/utils/Makefile"
8681  
8682 +
8683 +
8684 +
8685 +
8686 +
8687 +
8688 +
8689 +
8690 +
8691 +
8692 +
8693 +
8694 +
8695 +
8696 +
8697 +          ac_config_headers="$ac_config_headers src/config.h"
8698 +
8699 +                              ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile"
8700 +
8701 +
8702   cat >confcache <<\_ACEOF
8703   # This file is a shell script that caches the results of configure
8704   # tests run on this system so they can be shared between configure
# Line 6464 | Line 8709 | cat >confcache <<\_ACEOF
8709   # config.status only pays attention to the cache file if you give it
8710   # the --recheck option to rerun configure.
8711   #
8712 < # `ac_cv_env_foo' variables (set or unset) will be overriden when
8712 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
8713   # loading this file, other *unset* `ac_cv_foo' will be assigned the
8714   # following values.
8715  
# Line 6482 | Line 8727 | _ACEOF
8727        # `set' does not quote correctly, so add quotes (double-quote
8728        # substitution turns \\\\ into \\, and sed turns \\ into \).
8729        sed -n \
8730 <        "s/'/'\\\\''/g;
8731 <          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8730 >        "s/'/'\\\\''/g;
8731 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8732        ;;
8733      *)
8734        # `set' quotes correctly as required by POSIX, so do not add quotes.
8735        sed -n \
8736 <        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8736 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8737        ;;
8738      esac;
8739   } |
# Line 6499 | Line 8744 | if cmp -s $cache_file confcache; then :; else
8744       t end
8745       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8746       : end' >>confcache
8747 < if cmp -s $cache_file confcache; then :; else
8747 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
8748    if test -w $cache_file; then
8749      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8750      cat confcache >$cache_file
# Line 6518 | Line 8763 | if test "x$srcdir" = x.; then
8763   # trailing colons and then remove the whole line if VPATH becomes empty
8764   # (actually we leave an empty line to preserve line numbers).
8765   if test "x$srcdir" = x.; then
8766 <  ac_vpsub='/^[         ]*VPATH[        ]*=/{
8766 >  ac_vpsub='/^[  ]*VPATH[        ]*=/{
8767   s/:*\$(srcdir):*/:/;
8768   s/:*\${srcdir}:*/:/;
8769   s/:*@srcdir@:*/:/;
8770 < s/^\([^=]*=[    ]*\):*/\1/;
8770 > s/^\([^=]*=[     ]*\):*/\1/;
8771   s/:*$//;
8772 < s/^[^=]*=[      ]*$//;
8772 > s/^[^=]*=[       ]*$//;
8773   }'
8774   fi
8775  
8776   DEFS=-DHAVE_CONFIG_H
8777  
8778 + ac_libobjs=
8779 + ac_ltlibobjs=
8780 + for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8781 +  # 1. Remove the extension, and $U if already installed.
8782 +  ac_i=`echo "$ac_i" |
8783 +         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8784 +  # 2. Add them.
8785 +  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
8786 +  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
8787 + done
8788 + LIBOBJS=$ac_libobjs
8789 +
8790 + LTLIBOBJS=$ac_ltlibobjs
8791 +
8792 +
8793 +
8794   : ${CONFIG_STATUS=./config.status}
8795   ac_clean_files_save=$ac_clean_files
8796   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8797 < { echo "$as_me:6536: creating $CONFIG_STATUS" >&5
8797 > { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8798   echo "$as_me: creating $CONFIG_STATUS" >&6;}
8799   cat >$CONFIG_STATUS <<_ACEOF
8800   #! $SHELL
8801 < # Generated automatically by configure.
8801 > # Generated by $as_me.
8802   # Run this file to recreate the current configuration.
8803   # Compiler output produced by configure, useful for debugging
8804   # configure, is in config.log if it exists.
8805  
8806   debug=false
8807 + ac_cs_recheck=false
8808 + ac_cs_silent=false
8809   SHELL=\${CONFIG_SHELL-$SHELL}
6547 ac_cs_invocation="\$0 \$@"
6548
8810   _ACEOF
8811  
8812   cat >>$CONFIG_STATUS <<\_ACEOF
8813 + ## --------------------- ##
8814 + ## M4sh Initialization.  ##
8815 + ## --------------------- ##
8816 +
8817   # Be Bourne compatible
8818   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8819    emulate sh
8820    NULLCMD=:
8821 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8822 +  # is contrary to our usage.  Disable this feature.
8823 +  alias -g '${1+"$@"}'='"$@"'
8824   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
8825    set -o posix
8826   fi
8827 + DUALCASE=1; export DUALCASE # for MKS sh
8828  
8829 + # Support unset when possible.
8830 + if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8831 +  as_unset=unset
8832 + else
8833 +  as_unset=false
8834 + fi
8835 +
8836 +
8837 + # Work around bugs in pre-3.0 UWIN ksh.
8838 + $as_unset ENV MAIL MAILPATH
8839 + PS1='$ '
8840 + PS2='> '
8841 + PS4='+ '
8842 +
8843 + # NLS nuisances.
8844 + for as_var in \
8845 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8846 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8847 +  LC_TELEPHONE LC_TIME
8848 + do
8849 +  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8850 +    eval $as_var=C; export $as_var
8851 +  else
8852 +    $as_unset $as_var
8853 +  fi
8854 + done
8855 +
8856 + # Required to use basename.
8857 + if expr a : '\(a\)' >/dev/null 2>&1; then
8858 +  as_expr=expr
8859 + else
8860 +  as_expr=false
8861 + fi
8862 +
8863 + if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
8864 +  as_basename=basename
8865 + else
8866 +  as_basename=false
8867 + fi
8868 +
8869 +
8870   # Name of the executable.
8871 < as_me=`echo "$0" |sed 's,.*[\\/],,'`
8871 > as_me=`$as_basename "$0" ||
8872 > $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8873 >         X"$0" : 'X\(//\)$' \| \
8874 >         X"$0" : 'X\(/\)$' \| \
8875 >         .     : '\(.\)' 2>/dev/null ||
8876 > echo X/"$0" |
8877 >    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8878 >          /^X\/\(\/\/\)$/{ s//\1/; q; }
8879 >          /^X\/\(\/\).*/{ s//\1/; q; }
8880 >          s/.*/./; q'`
8881  
8882 +
8883 + # PATH needs CR, and LINENO needs CR and PATH.
8884 + # Avoid depending upon Character Ranges.
8885 + as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8886 + as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8887 + as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8888 + as_cr_digits='0123456789'
8889 + as_cr_alnum=$as_cr_Letters$as_cr_digits
8890 +
8891 + # The user is always right.
8892 + if test "${PATH_SEPARATOR+set}" != set; then
8893 +  echo "#! /bin/sh" >conf$$.sh
8894 +  echo  "exit 0"   >>conf$$.sh
8895 +  chmod +x conf$$.sh
8896 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8897 +    PATH_SEPARATOR=';'
8898 +  else
8899 +    PATH_SEPARATOR=:
8900 +  fi
8901 +  rm -f conf$$.sh
8902 + fi
8903 +
8904 +
8905 +  as_lineno_1=$LINENO
8906 +  as_lineno_2=$LINENO
8907 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8908 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
8909 +  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
8910 +  # Find who we are.  Look in the path if we contain no path at all
8911 +  # relative or not.
8912 +  case $0 in
8913 +    *[\\/]* ) as_myself=$0 ;;
8914 +    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8915 + for as_dir in $PATH
8916 + do
8917 +  IFS=$as_save_IFS
8918 +  test -z "$as_dir" && as_dir=.
8919 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8920 + done
8921 +
8922 +       ;;
8923 +  esac
8924 +  # We did not find ourselves, most probably we were run as `sh COMMAND'
8925 +  # in which case we are not to be found in the path.
8926 +  if test "x$as_myself" = x; then
8927 +    as_myself=$0
8928 +  fi
8929 +  if test ! -f "$as_myself"; then
8930 +    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8931 + echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8932 +   { (exit 1); exit 1; }; }
8933 +  fi
8934 +  case $CONFIG_SHELL in
8935 +  '')
8936 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8937 + for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
8938 + do
8939 +  IFS=$as_save_IFS
8940 +  test -z "$as_dir" && as_dir=.
8941 +  for as_base in sh bash ksh sh5; do
8942 +         case $as_dir in
8943 +         /*)
8944 +           if ("$as_dir/$as_base" -c '
8945 +  as_lineno_1=$LINENO
8946 +  as_lineno_2=$LINENO
8947 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8948 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
8949 +  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
8950 +             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
8951 +             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
8952 +             CONFIG_SHELL=$as_dir/$as_base
8953 +             export CONFIG_SHELL
8954 +             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8955 +           fi;;
8956 +         esac
8957 +       done
8958 + done
8959 + ;;
8960 +  esac
8961 +
8962 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8963 +  # uniformly replaced by the line number.  The first 'sed' inserts a
8964 +  # line-number line before each line; the second 'sed' does the real
8965 +  # work.  The second script uses 'N' to pair each line-number line
8966 +  # with the numbered line, and appends trailing '-' during
8967 +  # substitution so that $LINENO is not a special case at line end.
8968 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8969 +  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
8970 +  sed '=' <$as_myself |
8971 +    sed '
8972 +      N
8973 +      s,$,-,
8974 +      : loop
8975 +      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8976 +      t loop
8977 +      s,-$,,
8978 +      s,^['$as_cr_digits']*\n,,
8979 +    ' >$as_me.lineno &&
8980 +  chmod +x $as_me.lineno ||
8981 +    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8982 + echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8983 +   { (exit 1); exit 1; }; }
8984 +
8985 +  # Don't try to exec as it changes $[0], causing all sort of problems
8986 +  # (the dirname of $[0] is not the place where we might find the
8987 +  # original and so on.  Autoconf is especially sensible to this).
8988 +  . ./$as_me.lineno
8989 +  # Exit status is that of the last command.
8990 +  exit
8991 + }
8992 +
8993 +
8994 + case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8995 +  *c*,-n*) ECHO_N= ECHO_C='
8996 + ' ECHO_T='      ' ;;
8997 +  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
8998 +  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
8999 + esac
9000 +
9001   if expr a : '\(a\)' >/dev/null 2>&1; then
9002    as_expr=expr
9003   else
# Line 6584 | Line 9022 | as_executable_p="test -f"
9022   fi
9023   rm -f conf$$ conf$$.exe conf$$.file
9024  
9025 < as_executable_p="test -f"
9026 <
6589 < # Support unset when possible.
6590 < if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
6591 <  as_unset=unset
9025 > if mkdir -p . 2>/dev/null; then
9026 >  as_mkdir_p=:
9027   else
9028 <  as_unset=false
9028 >  test -d ./-p && rmdir ./-p
9029 >  as_mkdir_p=false
9030   fi
9031  
9032 < # 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; }
9032 > as_executable_p="test -f"
9033  
9034 + # Sed expression to map a string onto a valid CPP name.
9035 + as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9036 +
9037 + # Sed expression to map a string onto a valid variable name.
9038 + as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9039 +
9040 +
9041   # IFS
9042   # We need space, tab and new line, in precisely that order.
9043   as_nl='
# Line 6610 | Line 9045 | $as_unset CDPATH || test "${CDPATH+set}" != set || { C
9045   IFS="   $as_nl"
9046  
9047   # CDPATH.
9048 < $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
9048 > $as_unset CDPATH
9049  
9050   exec 6>&1
9051  
9052 + # Open the log real soon, to keep \$[0] and so on meaningful, and to
9053 + # report actual input values of CONFIG_FILES etc. instead of their
9054 + # values after options handling.  Logging --version etc. is OK.
9055 + exec 5>>config.log
9056 + {
9057 +  echo
9058 +  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9059 + ## Running $as_me. ##
9060 + _ASBOX
9061 + } >&5
9062 + cat >&5 <<_CSEOF
9063 +
9064 + This file was extended by OOPSE $as_me 2.0, which was
9065 + generated by GNU Autoconf 2.59.  Invocation command line was
9066 +
9067 +  CONFIG_FILES    = $CONFIG_FILES
9068 +  CONFIG_HEADERS  = $CONFIG_HEADERS
9069 +  CONFIG_LINKS    = $CONFIG_LINKS
9070 +  CONFIG_COMMANDS = $CONFIG_COMMANDS
9071 +  $ $0 $@
9072 +
9073 + _CSEOF
9074 + echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9075 + echo >&5
9076   _ACEOF
9077  
9078   # Files that config.status was made for.
# Line 6633 | Line 9092 | cat >>$CONFIG_STATUS <<\EOF
9092    echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9093   fi
9094  
9095 < cat >>$CONFIG_STATUS <<\EOF
9095 > cat >>$CONFIG_STATUS <<\_ACEOF
9096  
9097   ac_cs_usage="\
9098   \`$as_me' instantiates files from templates according to the
# Line 6643 | Line 9102 | Usage: $0 [OPTIONS] [FILE]...
9102  
9103    -h, --help       print this help, then exit
9104    -V, --version    print version number, then exit
9105 +  -q, --quiet      do not print progress messages
9106    -d, --debug      don't remove temporary files
9107        --recheck    update $as_me by reconfiguring in the same conditions
9108    --file=FILE[:TEMPLATE]
9109 <                   instantiate the configuration file FILE
9109 >                   instantiate the configuration file FILE
9110    --header=FILE[:TEMPLATE]
9111 <                   instantiate the configuration header FILE
9111 >                   instantiate the configuration header FILE
9112  
9113   Configuration files:
9114   $config_files
# Line 6660 | Line 9120 | EOF
9120   $config_links
9121  
9122   Report bugs to <bug-autoconf@gnu.org>."
9123 < EOF
9123 > _ACEOF
9124  
9125 < cat >>$CONFIG_STATUS <<EOF
9125 > cat >>$CONFIG_STATUS <<_ACEOF
9126   ac_cs_version="\\
9127   OOPSE config.status 2.0
9128 < configured by $0, generated by GNU Autoconf 2.50,
9128 > configured by $0, generated by GNU Autoconf 2.59,
9129    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9130  
9131 < Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6672 < Free Software Foundation, Inc.
9131 > Copyright (C) 2003 Free Software Foundation, Inc.
9132   This config.status script is free software; the Free Software Foundation
9133   gives unlimited permission to copy, distribute and modify it."
9134   srcdir=$srcdir
9135   INSTALL="$INSTALL"
9136 < EOF
9136 > _ACEOF
9137  
9138 < cat >>$CONFIG_STATUS <<\EOF
9138 > cat >>$CONFIG_STATUS <<\_ACEOF
9139   # If no file are specified by the user, then we need to provide default
9140   # value.  By we need to know if files were specified by the user.
9141   ac_need_defaults=:
# Line 6686 | Line 9145 | do
9145    --*=*)
9146      ac_option=`expr "x$1" : 'x\([^=]*\)='`
9147      ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
9148 <    shift
6690 <    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
6691 <    shift
9148 >    ac_shift=:
9149      ;;
9150 <  -*);;
9150 >  -*)
9151 >    ac_option=$1
9152 >    ac_optarg=$2
9153 >    ac_shift=shift
9154 >    ;;
9155    *) # This is not an option, so the user has probably given explicit
9156       # arguments.
9157 +     ac_option=$1
9158       ac_need_defaults=false;;
9159    esac
9160  
9161 <  case $1 in
9161 >  case $ac_option in
9162    # Handling of the options.
9163 < EOF
9164 < cat >>$CONFIG_STATUS <<EOF
9163 > _ACEOF
9164 > cat >>$CONFIG_STATUS <<\_ACEOF
9165    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9166 <    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
9166 >    ac_cs_recheck=: ;;
9167    --version | --vers* | -V )
9168      echo "$ac_cs_version"; exit 0 ;;
9169    --he | --h)
9170      # Conflict between --help and --header
9171 <    { { echo "$as_me:6712: error: ambiguous option: $1
9171 >    { { echo "$as_me:$LINENO: error: ambiguous option: $1
9172   Try \`$0 --help' for more information." >&5
9173   echo "$as_me: error: ambiguous option: $1
9174   Try \`$0 --help' for more information." >&2;}
# Line 6719 | Line 9178 | Try \`$0 --help' for more information." >&2;}
9178    --debug | --d* | -d )
9179      debug=: ;;
9180    --file | --fil | --fi | --f )
9181 <    shift
9182 <    CONFIG_FILES="$CONFIG_FILES $1"
9181 >    $ac_shift
9182 >    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
9183      ac_need_defaults=false;;
9184    --header | --heade | --head | --hea )
9185 <    shift
9186 <    CONFIG_HEADERS="$CONFIG_HEADERS $1"
9185 >    $ac_shift
9186 >    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
9187      ac_need_defaults=false;;
9188 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9189 +  | -silent | --silent | --silen | --sile | --sil | --si | --s)
9190 +    ac_cs_silent=: ;;
9191  
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
9192    # This is an error.
9193 <  -*) { { echo "$as_me:6737: error: unrecognized option: $1
9193 >  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9194   Try \`$0 --help' for more information." >&5
9195   echo "$as_me: error: unrecognized option: $1
9196   Try \`$0 --help' for more information." >&2;}
9197     { (exit 1); exit 1; }; } ;;
9198 <  *) { { echo "$as_me:6742: error: invalid argument: $1" >&5
9199 < echo "$as_me: error: invalid argument: $1" >&2;}
9200 <   { (exit 1); exit 1; }; };;
9198 >
9199 >  *) ac_config_targets="$ac_config_targets $1" ;;
9200 >
9201    esac
9202    shift
9203   done
9204  
9205 < exec 5>>config.log
6750 < cat >&5 << _ACEOF
9205 > ac_configure_extra_args=
9206  
9207 < ## ----------------------- ##
9208 < ## Running config.status.  ##
9209 < ## ----------------------- ##
9207 > if $ac_cs_silent; then
9208 >  exec 6>/dev/null
9209 >  ac_configure_extra_args="$ac_configure_extra_args --silent"
9210 > fi
9211  
9212 < This file was extended by $as_me (OOPSE 2.0) 2.50, executed with
9213 <  > $ac_cs_invocation
9214 < on `(hostname || uname -n) 2>/dev/null | sed 1q`
9212 > _ACEOF
9213 > cat >>$CONFIG_STATUS <<_ACEOF
9214 > if \$ac_cs_recheck; then
9215 >  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9216 >  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9217 > fi
9218  
9219   _ACEOF
6761 EOF
9220  
9221 < cat >>$CONFIG_STATUS <<\EOF
9221 >
9222 >
9223 >
9224 >
9225 > cat >>$CONFIG_STATUS <<\_ACEOF
9226 > for ac_config_target in $ac_config_targets
9227 > do
9228 >  case "$ac_config_target" in
9229 >  # Handling of arguments.
9230 >  "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
9231 >  "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
9232 >  "src/applications/nanoRodBuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/nanoRodBuilder/Makefile" ;;
9233 >  "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
9234 >  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
9235 >  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9236 > echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9237 >   { (exit 1); exit 1; }; };;
9238 >  esac
9239 > done
9240 >
9241   # If the user did not use the arguments to specify the items to instantiate,
9242   # then the envvar interface is used.  Set only those that are not.
9243   # We use the long form for the default assignment because of an extremely
# Line 6771 | Line 9248 | fi
9248    test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
9249   fi
9250  
9251 + # Have a temporary directory for convenience.  Make it in the build tree
9252 + # simply because there is no reason to put it here, and in addition,
9253 + # creating and moving files from /tmp can sometimes cause problems.
9254   # Create a temporary directory, and hook for its removal unless debugging.
9255   $debug ||
9256   {
9257    trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9258 <  trap '{ (exit $?); exit $?; }' 1 2 13 15
9258 >  trap '{ (exit 1); exit 1; }' 1 2 13 15
9259   }
9260  
9261   # Create a (secure) tmp directory for tmp files.
9262 < : ${TMPDIR=/tmp}
9262 >
9263   {
9264 <  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
9264 >  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9265    test -n "$tmp" && test -d "$tmp"
9266   }  ||
9267   {
9268 <  tmp=$TMPDIR/cs$$-$RANDOM
9268 >  tmp=./confstat$$-$RANDOM
9269    (umask 077 && mkdir $tmp)
9270   } ||
9271   {
9272 <   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
9272 >   echo "$me: cannot create a temporary directory in ." >&2
9273     { (exit 1); exit 1; }
9274   }
9275  
9276 < EOF
9276 > _ACEOF
9277  
9278 < cat >>$CONFIG_STATUS <<EOF
9278 > cat >>$CONFIG_STATUS <<_ACEOF
9279  
9280   #
9281   # CONFIG_FILES section.
# Line 6808 | Line 9288 | s,@exec_prefix@,$exec_prefix,;t t
9288    sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9289     s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9290   s,@SHELL@,$SHELL,;t t
9291 + s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9292 + s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9293 + s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9294 + s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9295 + s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9296 + s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9297   s,@exec_prefix@,$exec_prefix,;t t
9298   s,@prefix@,$prefix,;t t
9299   s,@program_transform_name@,$program_transform_name,;t t
# Line 6823 | Line 9309 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9309   s,@oldincludedir@,$oldincludedir,;t t
9310   s,@infodir@,$infodir,;t t
9311   s,@mandir@,$mandir,;t t
9312 < s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9313 < s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9314 < s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9315 < s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6830 < s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9312 > s,@build_alias@,$build_alias,;t t
9313 > s,@host_alias@,$host_alias,;t t
9314 > s,@target_alias@,$target_alias,;t t
9315 > s,@DEFS@,$DEFS,;t t
9316   s,@ECHO_C@,$ECHO_C,;t t
9317   s,@ECHO_N@,$ECHO_N,;t t
9318   s,@ECHO_T@,$ECHO_T,;t t
6834 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6835 s,@DEFS@,$DEFS,;t t
9319   s,@LIBS@,$LIBS,;t t
9320   s,@PROGNAME@,$PROGNAME,;t t
9321   s,@debug@,$debug,;t t
# Line 6870 | Line 9353 | s,@LIBOBJS@,$LIBOBJS,;t t
9353   s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
9354   s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t
9355   s,@CPP@,$CPP,;t t
9356 + s,@EGREP@,$EGREP,;t t
9357   s,@LIBOBJS@,$LIBOBJS,;t t
9358   s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9359   s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
# Line 6890 | Line 9374 | s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t
9374   s,@MPI_LIB@,$MPI_LIB,;t t
9375   s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t
9376   s,@USE_MPI@,$USE_MPI,;t t
9377 < s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t
9378 < s,@SPRNG_INC_DIR@,$SPRNG_INC_DIR,;t t
9379 < s,@SPRNG_LIB@,$SPRNG_LIB,;t t
9380 < s,@USE_SPRNG@,$USE_SPRNG,;t t
9381 < s,@MKL_LIBDIR@,$MKL_LIBDIR,;t t
9382 < s,@MKL_LIB@,$MKL_LIB,;t t
9383 < s,@MKL_INC@,$MKL_INC,;t t
9384 < s,@HAVE_MKL@,$HAVE_MKL,;t t
9377 > s,@CXXCPP@,$CXXCPP,;t t
9378 > s,@USE_CGAL@,$USE_CGAL,;t t
9379 > s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t
9380 > s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t
9381 > s,@CGAL_RLIB_DIR@,$CGAL_RLIB_DIR,;t t
9382 > s,@CGAL_DEFINES@,$CGAL_DEFINES,;t t
9383 > s,@CGAL_CXXFLAGS@,$CGAL_CXXFLAGS,;t t
9384 > s,@CGAL_LIBS@,$CGAL_LIBS,;t t
9385   s,@DOXYGEN@,$DOXYGEN,;t t
9386   s,@DOT@,$DOT,;t t
9387   s,@DOC@,$DOC,;t t
# Line 6910 | Line 9394 | CEOF
9394   s,@OOPSE_HOME@,$OOPSE_HOME,;t t
9395   s,@SUBDIRS@,$SUBDIRS,;t t
9396   s,@FFLAGS@,$FFLAGS,;t t
9397 + s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9398   CEOF
9399  
9400 < EOF
9400 > _ACEOF
9401  
9402 <  cat >>$CONFIG_STATUS <<\EOF
9402 >  cat >>$CONFIG_STATUS <<\_ACEOF
9403    # Split the substitutions into bite-sized pieces for seds with
9404    # small command number limits, like on Digital OSF/1 and HP-UX.
9405    ac_max_sed_lines=48
# Line 6939 | Line 9424 | EOF
9424        (echo ':t
9425    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
9426        if test -z "$ac_sed_cmds"; then
9427 <        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9427 >        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9428        else
9429 <        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9429 >        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9430        fi
9431        ac_sed_frag=`expr $ac_sed_frag + 1`
9432        ac_beg=$ac_end
# Line 6953 | Line 9438 | EOF
9438    fi
9439   fi # test -n "$CONFIG_FILES"
9440  
9441 < EOF
9442 < cat >>$CONFIG_STATUS <<\EOF
9441 > _ACEOF
9442 > cat >>$CONFIG_STATUS <<\_ACEOF
9443   for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
9444    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9445    case $ac_file in
9446    - | *:- | *:-:* ) # input from stdin
9447 <        cat >$tmp/stdin
9448 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9449 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9447 >        cat >$tmp/stdin
9448 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9449 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9450    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9451 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9451 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9452    * )   ac_file_in=$ac_file.in ;;
9453    esac
9454  
9455    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9456 <  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9457 <         X"$ac_file" : 'X\(//\)[^/]' \| \
9458 <         X"$ac_file" : 'X\(//\)$' \| \
9459 <         X"$ac_file" : 'X\(/\)' \| \
9460 <         .     : '\(.\)' 2>/dev/null ||
9456 >  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9457 > $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9458 >         X"$ac_file" : 'X\(//\)[^/]' \| \
9459 >         X"$ac_file" : 'X\(//\)$' \| \
9460 >         X"$ac_file" : 'X\(/\)' \| \
9461 >         .     : '\(.\)' 2>/dev/null ||
9462   echo X"$ac_file" |
9463      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9464            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9465            /^X\(\/\/\)$/{ s//\1/; q; }
9466            /^X\(\/\).*/{ s//\1/; q; }
9467            s/.*/./; q'`
9468 <  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
9469 <    { 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'`
9468 >  { if $as_mkdir_p; then
9469 >    mkdir -p "$ac_dir"
9470    else
9471 <    ac_dir_suffix= ac_dots=
9472 <  fi
9471 >    as_dir="$ac_dir"
9472 >    as_dirs=
9473 >    while test ! -d "$as_dir"; do
9474 >      as_dirs="$as_dir $as_dirs"
9475 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9476 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9477 >         X"$as_dir" : 'X\(//\)[^/]' \| \
9478 >         X"$as_dir" : 'X\(//\)$' \| \
9479 >         X"$as_dir" : 'X\(/\)' \| \
9480 >         .     : '\(.\)' 2>/dev/null ||
9481 > echo X"$as_dir" |
9482 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9483 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9484 >          /^X\(\/\/\)$/{ s//\1/; q; }
9485 >          /^X\(\/\).*/{ s//\1/; q; }
9486 >          s/.*/./; q'`
9487 >    done
9488 >    test ! -n "$as_dirs" || mkdir $as_dirs
9489 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9490 > echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9491 >   { (exit 1); exit 1; }; }; }
9492  
9493 <  case $srcdir in
9494 <  .)  ac_srcdir=.
9495 <      if test -z "$ac_dots"; then
9496 <         ac_top_srcdir=.
9497 <      else
9498 <         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
9499 <      fi ;;
9500 <  [\\/]* | ?:[\\/]* )
9501 <      ac_srcdir=$srcdir$ac_dir_suffix;
9502 <      ac_top_srcdir=$srcdir ;;
9493 >  ac_builddir=.
9494 >
9495 > if test "$ac_dir" != .; then
9496 >  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9497 >  # A "../" for each directory in $ac_dir_suffix.
9498 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9499 > else
9500 >  ac_dir_suffix= ac_top_builddir=
9501 > fi
9502 >
9503 > case $srcdir in
9504 >  .)  # No --srcdir option.  We are building in place.
9505 >    ac_srcdir=.
9506 >    if test -z "$ac_top_builddir"; then
9507 >       ac_top_srcdir=.
9508 >    else
9509 >       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9510 >    fi ;;
9511 >  [\\/]* | ?:[\\/]* )  # Absolute path.
9512 >    ac_srcdir=$srcdir$ac_dir_suffix;
9513 >    ac_top_srcdir=$srcdir ;;
9514    *) # Relative path.
9515 <    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
9516 <    ac_top_srcdir=$ac_dots$srcdir ;;
9517 <  esac
9515 >    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9516 >    ac_top_srcdir=$ac_top_builddir$srcdir ;;
9517 > esac
9518  
9519 + # Do not use `cd foo && pwd` to compute absolute paths, because
9520 + # the directories may not exist.
9521 + case `pwd` in
9522 + .) ac_abs_builddir="$ac_dir";;
9523 + *)
9524 +  case "$ac_dir" in
9525 +  .) ac_abs_builddir=`pwd`;;
9526 +  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
9527 +  *) ac_abs_builddir=`pwd`/"$ac_dir";;
9528 +  esac;;
9529 + esac
9530 + case $ac_abs_builddir in
9531 + .) ac_abs_top_builddir=${ac_top_builddir}.;;
9532 + *)
9533 +  case ${ac_top_builddir}. in
9534 +  .) ac_abs_top_builddir=$ac_abs_builddir;;
9535 +  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9536 +  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9537 +  esac;;
9538 + esac
9539 + case $ac_abs_builddir in
9540 + .) ac_abs_srcdir=$ac_srcdir;;
9541 + *)
9542 +  case $ac_srcdir in
9543 +  .) ac_abs_srcdir=$ac_abs_builddir;;
9544 +  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9545 +  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9546 +  esac;;
9547 + esac
9548 + case $ac_abs_builddir in
9549 + .) ac_abs_top_srcdir=$ac_top_srcdir;;
9550 + *)
9551 +  case $ac_top_srcdir in
9552 +  .) ac_abs_top_srcdir=$ac_abs_builddir;;
9553 +  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9554 +  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9555 +  esac;;
9556 + esac
9557 +
9558 +
9559    case $INSTALL in
9560    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9561 <  *) ac_INSTALL=$ac_dots$INSTALL ;;
9561 >  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
9562    esac
9563  
9564    if test x"$ac_file" != x-; then
9565 <    { echo "$as_me:7027: creating $ac_file" >&5
9565 >    { echo "$as_me:$LINENO: creating $ac_file" >&5
9566   echo "$as_me: creating $ac_file" >&6;}
9567      rm -f "$ac_file"
9568    fi
9569    # Let's still pretend it is `configure' which instantiates (i.e., don't
9570    # use $as_me), people would be surprised to read:
9571 <  #    /* config.h.  Generated automatically by config.status.  */
9572 <  configure_input="Generated automatically from `echo $ac_file_in |
9573 <                                                 sed 's,.*/,,'` by configure."
9571 >  #    /* config.h.  Generated by config.status.  */
9572 >  if test x"$ac_file" = x-; then
9573 >    configure_input=
9574 >  else
9575 >    configure_input="$ac_file.  "
9576 >  fi
9577 >  configure_input=$configure_input"Generated from `echo $ac_file_in |
9578 >                                     sed 's,.*/,,'` by configure."
9579  
9580    # First look for the input files in the build tree, otherwise in the
9581    # src tree.
# Line 7041 | Line 9584 | echo "$as_me: creating $ac_file" >&6;}
9584        case $f in
9585        -) echo $tmp/stdin ;;
9586        [\\/$]*)
9587 <         # Absolute (can't be DOS-style, as IFS=:)
9588 <         test -f "$f" || { { echo "$as_me:7045: error: cannot find input file: $f" >&5
9587 >         # Absolute (can't be DOS-style, as IFS=:)
9588 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9589   echo "$as_me: error: cannot find input file: $f" >&2;}
9590     { (exit 1); exit 1; }; }
9591 <         echo $f;;
9591 >         echo "$f";;
9592        *) # Relative
9593 <         if test -f "$f"; then
9594 <           # Build tree
9595 <           echo $f
9596 <         elif test -f "$srcdir/$f"; then
9597 <           # Source tree
9598 <           echo $srcdir/$f
9599 <         else
9600 <           # /dev/null tree
9601 <           { { echo "$as_me:7058: error: cannot find input file: $f" >&5
9593 >         if test -f "$f"; then
9594 >           # Build tree
9595 >           echo "$f"
9596 >         elif test -f "$srcdir/$f"; then
9597 >           # Source tree
9598 >           echo "$srcdir/$f"
9599 >         else
9600 >           # /dev/null tree
9601 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9602   echo "$as_me: error: cannot find input file: $f" >&2;}
9603     { (exit 1); exit 1; }; }
9604 <         fi;;
9604 >         fi;;
9605        esac
9606      done` || { (exit 1); exit 1; }
9607 < EOF
9608 < cat >>$CONFIG_STATUS <<EOF
9607 > _ACEOF
9608 > cat >>$CONFIG_STATUS <<_ACEOF
9609    sed "$ac_vpsub
9610   $extrasub
9611 < EOF
9612 < cat >>$CONFIG_STATUS <<\EOF
9611 > _ACEOF
9612 > cat >>$CONFIG_STATUS <<\_ACEOF
9613   :t
9614   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9615   s,@configure_input@,$configure_input,;t t
9616   s,@srcdir@,$ac_srcdir,;t t
9617 + s,@abs_srcdir@,$ac_abs_srcdir,;t t
9618   s,@top_srcdir@,$ac_top_srcdir,;t t
9619 + s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
9620 + s,@builddir@,$ac_builddir,;t t
9621 + s,@abs_builddir@,$ac_abs_builddir,;t t
9622 + s,@top_builddir@,$ac_top_builddir,;t t
9623 + s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
9624   s,@INSTALL@,$ac_INSTALL,;t t
9625   " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9626    rm -f $tmp/stdin
# Line 7083 | Line 9632 | EOF
9632    fi
9633  
9634   done
9635 < EOF
9636 < cat >>$CONFIG_STATUS <<\EOF
9635 > _ACEOF
9636 > cat >>$CONFIG_STATUS <<\_ACEOF
9637  
9638   #
9639   # CONFIG_HEADER section.
# Line 7094 | Line 9643 | ac_dA='s,^\([  ]*\)#\([        ]*define[       ][      ]*\)'
9643   # NAME is the cpp macro being defined and VALUE is the value it is being given.
9644   #
9645   # ac_d sets the value in "#define NAME VALUE" lines.
9646 < ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
9647 < ac_dB='[        ].*$,\1#\2'
9646 > ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
9647 > ac_dB='[         ].*$,\1#\2'
9648   ac_dC=' '
9649   ac_dD=',;t'
9650   # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9651 < ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
9651 > ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
9652   ac_uB='$,\1#\2define\3'
9653   ac_uC=' '
9654   ac_uD=',;t'
# Line 7108 | Line 9657 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file"
9657    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9658    case $ac_file in
9659    - | *:- | *:-:* ) # input from stdin
9660 <        cat >$tmp/stdin
9661 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9662 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9660 >        cat >$tmp/stdin
9661 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9662 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9663    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9664 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9664 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9665    * )   ac_file_in=$ac_file.in ;;
9666    esac
9667  
9668 <  test x"$ac_file" != x- && { echo "$as_me:7119: creating $ac_file" >&5
9668 >  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
9669   echo "$as_me: creating $ac_file" >&6;}
9670  
9671    # First look for the input files in the build tree, otherwise in the
# Line 7126 | Line 9675 | echo "$as_me: creating $ac_file" >&6;}
9675        case $f in
9676        -) echo $tmp/stdin ;;
9677        [\\/$]*)
9678 <         # Absolute (can't be DOS-style, as IFS=:)
9679 <         test -f "$f" || { { echo "$as_me:7130: error: cannot find input file: $f" >&5
9678 >         # Absolute (can't be DOS-style, as IFS=:)
9679 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9680   echo "$as_me: error: cannot find input file: $f" >&2;}
9681     { (exit 1); exit 1; }; }
9682 <         echo $f;;
9682 >         # Do quote $f, to prevent DOS paths from being IFS'd.
9683 >         echo "$f";;
9684        *) # Relative
9685 <         if test -f "$f"; then
9686 <           # Build tree
9687 <           echo $f
9688 <         elif test -f "$srcdir/$f"; then
9689 <           # Source tree
9690 <           echo $srcdir/$f
9691 <         else
9692 <           # /dev/null tree
9693 <           { { echo "$as_me:7143: error: cannot find input file: $f" >&5
9685 >         if test -f "$f"; then
9686 >           # Build tree
9687 >           echo "$f"
9688 >         elif test -f "$srcdir/$f"; then
9689 >           # Source tree
9690 >           echo "$srcdir/$f"
9691 >         else
9692 >           # /dev/null tree
9693 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9694   echo "$as_me: error: cannot find input file: $f" >&2;}
9695     { (exit 1); exit 1; }; }
9696 <         fi;;
9696 >         fi;;
9697        esac
9698      done` || { (exit 1); exit 1; }
9699    # Remove the trailing spaces.
9700 <  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
9700 >  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
9701  
9702 < EOF
9702 > _ACEOF
9703  
9704   # Transform confdefs.h into two sed scripts, `conftest.defines' and
9705   # `conftest.undefs', that substitutes the proper values into
# Line 7165 | Line 9715 | cat >confdef2sed.sed <<\EOF
9715   # `end' is used to avoid that the second main sed command (meant for
9716   # 0-ary CPP macros) applies to n-ary macro definitions.
9717   # See the Autoconf documentation for `clear'.
9718 < cat >confdef2sed.sed <<\EOF
9718 > cat >confdef2sed.sed <<\_ACEOF
9719   s/[\\&,]/\\&/g
9720   s,[\\$`],\\&,g
9721   t clear
9722   : clear
9723 < s,^[    ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
9723 > s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9724   t end
9725 < s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9725 > s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9726   : end
9727 < EOF
9727 > _ACEOF
9728   # If some macros were called several times there might be several times
9729   # the same #defines, which is useless.  Nevertheless, we may not want to
9730   # sort them, since we want the *last* AC-DEFINE to be honored.
# Line 7185 | Line 9735 | cat >>conftest.undefs <<\EOF
9735   # This sed command replaces #undef with comments.  This is necessary, for
9736   # example, in the case of _POSIX_SOURCE, which is predefined and required
9737   # on some systems where configure will not decide to define it.
9738 < cat >>conftest.undefs <<\EOF
9739 < s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9740 < EOF
9738 > cat >>conftest.undefs <<\_ACEOF
9739 > s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9740 > _ACEOF
9741  
9742   # Break up conftest.defines because some shells have a limit on the size
9743   # of here documents, and old seds have small limits too (100 cmds).
9744   echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9745 < echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9745 > echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9746   echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9747   echo '  :' >>$CONFIG_STATUS
9748   rm -f conftest.tail
# Line 7201 | Line 9751 | do
9751    # Write a limited-size here document to $tmp/defines.sed.
9752    echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9753    # Speed up: don't consider the non `#define' lines.
9754 <  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
9754 >  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
9755    # Work around the forget-to-reset-the-flag bug.
9756    echo 't clr' >>$CONFIG_STATUS
9757    echo ': clr' >>$CONFIG_STATUS
# Line 7216 | Line 9766 | echo '  fi # egrep' >>$CONFIG_STATUS
9766    mv conftest.tail conftest.defines
9767   done
9768   rm -f conftest.defines
9769 < echo '  fi # egrep' >>$CONFIG_STATUS
9769 > echo '  fi # grep' >>$CONFIG_STATUS
9770   echo >>$CONFIG_STATUS
9771  
9772   # Break up conftest.undefs because some shells have a limit on the size
# Line 7228 | Line 9778 | do
9778    # Write a limited-size here document to $tmp/undefs.sed.
9779    echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9780    # Speed up: don't consider the non `#undef'
9781 <  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
9781 >  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
9782    # Work around the forget-to-reset-the-flag bug.
9783    echo 't clr' >>$CONFIG_STATUS
9784    echo ': clr' >>$CONFIG_STATUS
# Line 7244 | Line 9794 | cat >>$CONFIG_STATUS <<\EOF
9794   done
9795   rm -f conftest.undefs
9796  
9797 < cat >>$CONFIG_STATUS <<\EOF
9797 > cat >>$CONFIG_STATUS <<\_ACEOF
9798    # Let's still pretend it is `configure' which instantiates (i.e., don't
9799    # use $as_me), people would be surprised to read:
9800 <  #    /* config.h.  Generated automatically by config.status.  */
9800 >  #    /* config.h.  Generated by config.status.  */
9801    if test x"$ac_file" = x-; then
9802 <    echo "/* Generated automatically by configure.  */" >$tmp/config.h
9802 >    echo "/* Generated by configure.  */" >$tmp/config.h
9803    else
9804 <    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
9804 >    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
9805    fi
9806    cat $tmp/in >>$tmp/config.h
9807    rm -f $tmp/in
9808    if test x"$ac_file" != x-; then
9809 <    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
9810 <      { echo "$as_me:7260: $ac_file is unchanged" >&5
9809 >    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
9810 >      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9811   echo "$as_me: $ac_file is unchanged" >&6;}
9812      else
9813 <      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9814 <         X"$ac_file" : 'X\(//\)[^/]' \| \
9815 <         X"$ac_file" : 'X\(//\)$' \| \
9816 <         X"$ac_file" : 'X\(/\)' \| \
9817 <         .     : '\(.\)' 2>/dev/null ||
9813 >      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9814 > $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9815 >         X"$ac_file" : 'X\(//\)[^/]' \| \
9816 >         X"$ac_file" : 'X\(//\)$' \| \
9817 >         X"$ac_file" : 'X\(/\)' \| \
9818 >         .     : '\(.\)' 2>/dev/null ||
9819   echo X"$ac_file" |
9820      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9821            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9822            /^X\(\/\/\)$/{ s//\1/; q; }
9823            /^X\(\/\).*/{ s//\1/; q; }
9824            s/.*/./; q'`
9825 <      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
9826 <        { case "$ac_dir" in
9827 <  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
9828 <  *)                      as_incr_dir=.;;
9829 < esac
9830 < as_dummy="$ac_dir"
9831 < for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
9832 <  case $as_mkdir_dir in
9833 <    # Skip DOS drivespec
9834 <    ?:) as_incr_dir=$as_mkdir_dir ;;
9835 <    *)
9836 <      as_incr_dir=$as_incr_dir/$as_mkdir_dir
9837 <      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
9838 <    ;;
9839 <  esac
9840 < done; }
9825 >      { if $as_mkdir_p; then
9826 >    mkdir -p "$ac_dir"
9827 >  else
9828 >    as_dir="$ac_dir"
9829 >    as_dirs=
9830 >    while test ! -d "$as_dir"; do
9831 >      as_dirs="$as_dir $as_dirs"
9832 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9833 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9834 >         X"$as_dir" : 'X\(//\)[^/]' \| \
9835 >         X"$as_dir" : 'X\(//\)$' \| \
9836 >         X"$as_dir" : 'X\(/\)' \| \
9837 >         .     : '\(.\)' 2>/dev/null ||
9838 > echo X"$as_dir" |
9839 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9840 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9841 >          /^X\(\/\/\)$/{ s//\1/; q; }
9842 >          /^X\(\/\).*/{ s//\1/; q; }
9843 >          s/.*/./; q'`
9844 >    done
9845 >    test ! -n "$as_dirs" || mkdir $as_dirs
9846 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9847 > echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9848 >   { (exit 1); exit 1; }; }; }
9849  
7291      fi
9850        rm -f $ac_file
9851        mv $tmp/config.h $ac_file
9852      fi
# Line 7297 | Line 9855 | EOF
9855      rm -f $tmp/config.h
9856    fi
9857   done
9858 < EOF
9859 < cat >>$CONFIG_STATUS <<\EOF
9858 > _ACEOF
9859 > cat >>$CONFIG_STATUS <<\_ACEOF
9860  
9861   #
9862   # CONFIG_LINKS section.
# Line 7308 | Line 9866 | for ac_file in : $CONFIG_LINKS; do test "x$ac_file" =
9866    ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
9867    ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
9868  
9869 <  { echo "$as_me:7311: linking $srcdir/$ac_source to $ac_dest" >&5
9869 >  { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
9870   echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
9871  
9872    if test ! -r $srcdir/$ac_source; then
9873 <    { { echo "$as_me:7315: error: $srcdir/$ac_source: File not found" >&5
9874 < echo "$as_me: error: $srcdir/$ac_source: File not found" >&2;}
9873 >    { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
9874 > echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
9875     { (exit 1); exit 1; }; }
9876    fi
9877    rm -f $ac_dest
9878  
9879    # Make relative symlinks.
9880 <  ac_dest_dir=`$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9881 <         X"$ac_dest" : 'X\(//\)[^/]' \| \
9882 <         X"$ac_dest" : 'X\(//\)$' \| \
9883 <         X"$ac_dest" : 'X\(/\)' \| \
9884 <         .     : '\(.\)' 2>/dev/null ||
9880 >  ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
9881 > $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9882 >         X"$ac_dest" : 'X\(//\)[^/]' \| \
9883 >         X"$ac_dest" : 'X\(//\)$' \| \
9884 >         X"$ac_dest" : 'X\(/\)' \| \
9885 >         .     : '\(.\)' 2>/dev/null ||
9886   echo X"$ac_dest" |
9887      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9888            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9889            /^X\(\/\/\)$/{ s//\1/; q; }
9890            /^X\(\/\).*/{ s//\1/; q; }
9891            s/.*/./; q'`
9892 <  if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
9893 <    { case "$ac_dest_dir" in
9894 <  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
9895 <  *)                      as_incr_dir=.;;
9892 >  { if $as_mkdir_p; then
9893 >    mkdir -p "$ac_dest_dir"
9894 >  else
9895 >    as_dir="$ac_dest_dir"
9896 >    as_dirs=
9897 >    while test ! -d "$as_dir"; do
9898 >      as_dirs="$as_dir $as_dirs"
9899 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9900 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9901 >         X"$as_dir" : 'X\(//\)[^/]' \| \
9902 >         X"$as_dir" : 'X\(//\)$' \| \
9903 >         X"$as_dir" : 'X\(/\)' \| \
9904 >         .     : '\(.\)' 2>/dev/null ||
9905 > echo X"$as_dir" |
9906 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9907 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9908 >          /^X\(\/\/\)$/{ s//\1/; q; }
9909 >          /^X\(\/\).*/{ s//\1/; q; }
9910 >          s/.*/./; q'`
9911 >    done
9912 >    test ! -n "$as_dirs" || mkdir $as_dirs
9913 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
9914 > echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
9915 >   { (exit 1); exit 1; }; }; }
9916 >
9917 >  ac_builddir=.
9918 >
9919 > if test "$ac_dest_dir" != .; then
9920 >  ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
9921 >  # A "../" for each directory in $ac_dir_suffix.
9922 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9923 > else
9924 >  ac_dir_suffix= ac_top_builddir=
9925 > fi
9926 >
9927 > case $srcdir in
9928 >  .)  # No --srcdir option.  We are building in place.
9929 >    ac_srcdir=.
9930 >    if test -z "$ac_top_builddir"; then
9931 >       ac_top_srcdir=.
9932 >    else
9933 >       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
9934 >    fi ;;
9935 >  [\\/]* | ?:[\\/]* )  # Absolute path.
9936 >    ac_srcdir=$srcdir$ac_dir_suffix;
9937 >    ac_top_srcdir=$srcdir ;;
9938 >  *) # Relative path.
9939 >    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
9940 >    ac_top_srcdir=$ac_top_builddir$srcdir ;;
9941   esac
7338 as_dummy="$ac_dest_dir"
7339 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
7340  case $as_mkdir_dir in
7341    # Skip DOS drivespec
7342    ?:) as_incr_dir=$as_mkdir_dir ;;
7343    *)
7344      as_incr_dir=$as_incr_dir/$as_mkdir_dir
7345      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
7346    ;;
7347  esac
7348 done; }
9942  
9943 <    ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's,^\./,,'`"
9944 <    # A "../" for each directory in $ac_dest_dir_suffix.
9945 <    ac_dots=`echo $ac_dest_dir_suffix|sed 's,/[^/]*,../,g'`
9946 <  else
9947 <    ac_dest_dir_suffix= ac_dots=
9948 <  fi
9943 > # Do not use `cd foo && pwd` to compute absolute paths, because
9944 > # the directories may not exist.
9945 > case `pwd` in
9946 > .) ac_abs_builddir="$ac_dest_dir";;
9947 > *)
9948 >  case "$ac_dest_dir" in
9949 >  .) ac_abs_builddir=`pwd`;;
9950 >  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
9951 >  *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
9952 >  esac;;
9953 > esac
9954 > case $ac_abs_builddir in
9955 > .) ac_abs_top_builddir=${ac_top_builddir}.;;
9956 > *)
9957 >  case ${ac_top_builddir}. in
9958 >  .) ac_abs_top_builddir=$ac_abs_builddir;;
9959 >  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
9960 >  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
9961 >  esac;;
9962 > esac
9963 > case $ac_abs_builddir in
9964 > .) ac_abs_srcdir=$ac_srcdir;;
9965 > *)
9966 >  case $ac_srcdir in
9967 >  .) ac_abs_srcdir=$ac_abs_builddir;;
9968 >  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
9969 >  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
9970 >  esac;;
9971 > esac
9972 > case $ac_abs_builddir in
9973 > .) ac_abs_top_srcdir=$ac_top_srcdir;;
9974 > *)
9975 >  case $ac_top_srcdir in
9976 >  .) ac_abs_top_srcdir=$ac_abs_builddir;;
9977 >  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
9978 >  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9979 >  esac;;
9980 > esac
9981  
9982 +
9983    case $srcdir in
9984    [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
9985 <      *) ac_rel_source=$ac_dots$srcdir/$ac_source ;;
9985 >      *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
9986    esac
9987  
9988 <  # Make a symlink if possible; otherwise try a hard link.
9988 >  # Try a symlink, then a hard link, then a copy.
9989    ln -s $ac_rel_source $ac_dest 2>/dev/null ||
9990 <    ln $srcdir/$ac_source $ac_dest ||
9991 <    { { echo "$as_me:7365: error: cannot link $ac_dest to $srcdir/$ac_source" >&5
9992 < echo "$as_me: error: cannot link $ac_dest to $srcdir/$ac_source" >&2;}
9990 >    ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
9991 >    cp -p $srcdir/$ac_source $ac_dest ||
9992 >    { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
9993 > echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
9994     { (exit 1); exit 1; }; }
9995   done
9996 < EOF
9996 > _ACEOF
9997  
9998 < cat >>$CONFIG_STATUS <<\EOF
9998 > cat >>$CONFIG_STATUS <<\_ACEOF
9999  
10000   { (exit 0); exit 0; }
10001 < EOF
10001 > _ACEOF
10002   chmod +x $CONFIG_STATUS
10003   ac_clean_files=$ac_clean_files_save
10004  
10005 +
10006   # configure is writing to config.log, and then calls config.status.
10007   # config.status does its own redirection, appending to config.log.
10008   # Unfortunately, on DOS this fails, as config.log is still kept open
# Line 7385 | Line 10013 | if test "$no_create" != yes; then
10013   # need to make the FD available again.
10014   if test "$no_create" != yes; then
10015    ac_cs_success=:
10016 +  ac_config_status_args=
10017 +  test "$silent" = yes &&
10018 +    ac_config_status_args="$ac_config_status_args --quiet"
10019    exec 5>/dev/null
10020 <  $SHELL $CONFIG_STATUS || ac_cs_success=false
10020 >  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10021    exec 5>>config.log
10022    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10023    # would make configure fail if this is the last instruction.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines