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 2473 by gezelter, Fri Dec 2 20:09:55 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 CPP EGREP 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 CXXCPP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT PERLINTERP PERL_SHEBANG AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI 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 552 | Line 777 | ac_env_F90_set=${F90+set}
777   ac_env_CXXFLAGS_value=$CXXFLAGS
778   ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
779   ac_cv_env_CXXFLAGS_value=$CXXFLAGS
780 + ac_env_CPP_set=${CPP+set}
781 + ac_env_CPP_value=$CPP
782 + ac_cv_env_CPP_set=${CPP+set}
783 + ac_cv_env_CPP_value=$CPP
784   ac_env_F90_set=${F90+set}
785   ac_env_F90_value=$F90
786   ac_cv_env_F90_set=${F90+set}
# Line 560 | Line 789 | ac_env_CPP_set=${CPP+set}
789   ac_env_F90FLAGS_value=$F90FLAGS
790   ac_cv_env_F90FLAGS_set=${F90FLAGS+set}
791   ac_cv_env_F90FLAGS_value=$F90FLAGS
792 < ac_env_CPP_set=${CPP+set}
793 < ac_env_CPP_value=$CPP
794 < ac_cv_env_CPP_set=${CPP+set}
795 < 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 650 | Line 879 | Optional Packages:
879   Optional Packages:
880    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
881    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
882 +  --with-zlib=DIR root directory path of zlib installation defaults to
883 +                    /usr/local or /usr if not found in /usr/local
884 +  --without-zlib to disable zlib usage completely
885 +  --with-perl-shebang     override what perl thinks is the way for the kernel
886 +                          to start it (seldom needed)
887    --with-mpi=<prefix>     compile with MPI installed in <prefix> [default=no]
888 <  --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
888 >  --with-cgal-makefile=FILE  CGAL makefile that should be used
889  
890   Some influential environment variables:
891    CC          C compiler command
# Line 664 | Line 896 | Some influential environment variables:
896                headers in a nonstandard directory <include dir>
897    CXX         C++ compiler command
898    CXXFLAGS    C++ compiler flags
899 +  CPP         C preprocessor
900    F90         Fortran 90 compiler command
901    F90FLAGS    Fortran 90 compiler flags
902 <  CPP         C preprocessor
902 >  CXXCPP      C++ preprocessor
903  
904   Use these variables to override the choices made by `configure' or to help
905   it to find libraries and programs with nonstandard names/locations.
906  
907   Report bugs to <gezelter@nd.edu>.
908 < EOF
908 > _ACEOF
909   fi
910  
911   if test "$ac_init_help" = "recursive"; then
912    # If there are subdirs, report their specific --help.
913    ac_popdir=`pwd`
914 <  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
915 <    cd $ac_subdir
916 <    # A "../" for each directory in /$ac_subdir.
684 <    ac_dots=`echo $ac_subdir |
685 <             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
914 >  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
915 >    test -d $ac_dir || continue
916 >    ac_builddir=.
917  
918 <    case $srcdir in
919 <    .) # No --srcdir option.  We are building in place.
920 <      ac_sub_srcdir=$srcdir ;;
921 <    [\\/]* | ?:[\\/]* ) # Absolute path.
922 <      ac_sub_srcdir=$srcdir/$ac_subdir ;;
923 <    *) # Relative path.
924 <      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
694 <    esac
918 > if test "$ac_dir" != .; then
919 >  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
920 >  # A "../" for each directory in $ac_dir_suffix.
921 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
922 > else
923 >  ac_dir_suffix= ac_top_builddir=
924 > fi
925  
926 + case $srcdir in
927 +  .)  # No --srcdir option.  We are building in place.
928 +    ac_srcdir=.
929 +    if test -z "$ac_top_builddir"; then
930 +       ac_top_srcdir=.
931 +    else
932 +       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
933 +    fi ;;
934 +  [\\/]* | ?:[\\/]* )  # Absolute path.
935 +    ac_srcdir=$srcdir$ac_dir_suffix;
936 +    ac_top_srcdir=$srcdir ;;
937 +  *) # Relative path.
938 +    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
939 +    ac_top_srcdir=$ac_top_builddir$srcdir ;;
940 + esac
941 +
942 + # Do not use `cd foo && pwd` to compute absolute paths, because
943 + # the directories may not exist.
944 + case `pwd` in
945 + .) ac_abs_builddir="$ac_dir";;
946 + *)
947 +  case "$ac_dir" in
948 +  .) ac_abs_builddir=`pwd`;;
949 +  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
950 +  *) ac_abs_builddir=`pwd`/"$ac_dir";;
951 +  esac;;
952 + esac
953 + case $ac_abs_builddir in
954 + .) ac_abs_top_builddir=${ac_top_builddir}.;;
955 + *)
956 +  case ${ac_top_builddir}. in
957 +  .) ac_abs_top_builddir=$ac_abs_builddir;;
958 +  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
959 +  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
960 +  esac;;
961 + esac
962 + case $ac_abs_builddir in
963 + .) ac_abs_srcdir=$ac_srcdir;;
964 + *)
965 +  case $ac_srcdir in
966 +  .) ac_abs_srcdir=$ac_abs_builddir;;
967 +  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
968 +  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
969 +  esac;;
970 + esac
971 + case $ac_abs_builddir in
972 + .) ac_abs_top_srcdir=$ac_top_srcdir;;
973 + *)
974 +  case $ac_top_srcdir in
975 +  .) ac_abs_top_srcdir=$ac_abs_builddir;;
976 +  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
977 +  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
978 +  esac;;
979 + esac
980 +
981 +    cd $ac_dir
982      # Check for guested configure; otherwise get Cygnus style configure.
983 <    if test -f $ac_sub_srcdir/configure.gnu; then
983 >    if test -f $ac_srcdir/configure.gnu; then
984        echo
985 <      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
986 <    elif test -f $ac_sub_srcdir/configure; then
985 >      $SHELL $ac_srcdir/configure.gnu  --help=recursive
986 >    elif test -f $ac_srcdir/configure; then
987        echo
988 <      $SHELL $ac_sub_srcdir/configure  --help=recursive
989 <    elif test -f $ac_sub_srcdir/configure.ac ||
990 <           test -f $ac_sub_srcdir/configure.in; then
988 >      $SHELL $ac_srcdir/configure  --help=recursive
989 >    elif test -f $ac_srcdir/configure.ac ||
990 >           test -f $ac_srcdir/configure.in; then
991        echo
992        $ac_configure --help
993      else
994 <      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
994 >      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
995      fi
996      cd $ac_popdir
997    done
# Line 713 | Line 999 | if $ac_init_version; then
999  
1000   test -n "$ac_init_help" && exit 0
1001   if $ac_init_version; then
1002 <  cat <<\EOF
1002 >  cat <<\_ACEOF
1003   OOPSE configure 2.0
1004 < generated by GNU Autoconf 2.50
1004 > generated by GNU Autoconf 2.59
1005  
1006 < Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
721 < Free Software Foundation, Inc.
1006 > Copyright (C) 2003 Free Software Foundation, Inc.
1007   This configure script is free software; the Free Software Foundation
1008   gives unlimited permission to copy, distribute and modify it.
1009 < EOF
1009 > _ACEOF
1010    exit 0
1011   fi
1012   exec 5>config.log
1013 < cat >&5 <<EOF
1013 > cat >&5 <<_ACEOF
1014   This file contains any messages produced by compilers while
1015   running configure, to aid debugging if configure makes a mistake.
1016  
1017   It was created by OOPSE $as_me 2.0, which was
1018 < generated by GNU Autoconf 2.50.  Invocation command line was
1018 > generated by GNU Autoconf 2.59.  Invocation command line was
1019  
1020    $ $0 $@
1021  
1022 < EOF
1022 > _ACEOF
1023   {
1024   cat <<_ASUNAME
1025 < ## ---------- ##
1026 < ## Platform.  ##
1027 < ## ---------- ##
1025 > ## --------- ##
1026 > ## Platform. ##
1027 > ## --------- ##
1028  
1029   hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1030   uname -m = `(uname -m) 2>/dev/null || echo unknown`
# Line 758 | Line 1043 | PATH = $PATH
1043   /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1044   /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1045  
761 PATH = $PATH
762
1046   _ASUNAME
1047 +
1048 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1049 + for as_dir in $PATH
1050 + do
1051 +  IFS=$as_save_IFS
1052 +  test -z "$as_dir" && as_dir=.
1053 +  echo "PATH: $as_dir"
1054 + done
1055 +
1056   } >&5
1057  
1058 < cat >&5 <<EOF
767 < ## ------------ ##
768 < ## Core tests.  ##
769 < ## ------------ ##
1058 > cat >&5 <<_ACEOF
1059  
771 EOF
1060  
1061 + ## ----------- ##
1062 + ## Core tests. ##
1063 + ## ----------- ##
1064 +
1065 + _ACEOF
1066 +
1067 +
1068   # Keep a trace of the command line.
1069   # Strip out --no-create and --no-recursion so they do not pile up.
1070 + # Strip out --silent because we don't want to record it for future runs.
1071   # Also quote any args containing shell meta-characters.
1072 + # Make two passes to allow for proper duplicate-argument suppression.
1073   ac_configure_args=
1074 + ac_configure_args0=
1075 + ac_configure_args1=
1076   ac_sep=
1077 < for ac_arg
1077 > ac_must_keep_next=false
1078 > for ac_pass in 1 2
1079   do
1080 <  case $ac_arg in
1081 <  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1082 <  | --no-cr | --no-c) ;;
1083 <  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1084 <  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
1085 <  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1086 <    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1087 <    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1088 <    ac_sep=" " ;;
1089 <  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
1090 <     ac_sep=" " ;;
1091 <  esac
1092 <  # Get rid of the leading space.
1080 >  for ac_arg
1081 >  do
1082 >    case $ac_arg in
1083 >    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1084 >    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1085 >    | -silent | --silent | --silen | --sile | --sil)
1086 >      continue ;;
1087 >    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1088 >      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1089 >    esac
1090 >    case $ac_pass in
1091 >    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1092 >    2)
1093 >      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1094 >      if test $ac_must_keep_next = true; then
1095 >        ac_must_keep_next=false # Got value, back to normal.
1096 >      else
1097 >        case $ac_arg in
1098 >          *=* | --config-cache | -C | -disable-* | --disable-* \
1099 >          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1100 >          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1101 >          | -with-* | --with-* | -without-* | --without-* | --x)
1102 >            case "$ac_configure_args0 " in
1103 >              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1104 >            esac
1105 >            ;;
1106 >          -* ) ac_must_keep_next=true ;;
1107 >        esac
1108 >      fi
1109 >      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1110 >      # Get rid of the leading space.
1111 >      ac_sep=" "
1112 >      ;;
1113 >    esac
1114 >  done
1115   done
1116 + $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1117 + $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1118  
1119   # When interrupted or exit'd, cleanup temporary files, and complete
1120   # config.log.  We remove comments because anyway the quotes in there
1121   # would cause problems or look ugly.
1122 + # WARNING: Be sure not to use single quotes in there, as some shells,
1123 + # such as our DU 5.0 friend, will then `close' the trap.
1124   trap 'exit_status=$?
1125    # Save into config.log some information that might help in debugging.
1126 <  echo >&5
1127 <  echo "## ----------------- ##" >&5
1128 <  echo "## Cache variables.  ##" >&5
1129 <  echo "## ----------------- ##" >&5
1130 <  echo >&5
1131 <  # The following way of writing the cache mishandles newlines in values,
1126 >  {
1127 >    echo
1128 >
1129 >    cat <<\_ASBOX
1130 > ## ---------------- ##
1131 > ## Cache variables. ##
1132 > ## ---------------- ##
1133 > _ASBOX
1134 >    echo
1135 >    # The following way of writing the cache mishandles newlines in values,
1136   {
1137    (set) 2>&1 |
1138      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1139      *ac_space=\ *)
1140        sed -n \
1141 <        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1142 <          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1141 >        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1142 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1143        ;;
1144      *)
1145        sed -n \
1146 <        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1146 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1147        ;;
1148      esac;
1149 < } >&5
1150 <  sed "/^$/d" confdefs.h >conftest.log
1151 <  if test -s conftest.log; then
1152 <    echo >&5
1153 <    echo "## ------------ ##" >&5
1154 <    echo "## confdefs.h.  ##" >&5
1155 <    echo "## ------------ ##" >&5
1156 <    echo >&5
1157 <    cat conftest.log >&5
1158 <  fi
1159 <  (echo; echo) >&5
1160 <  test "$ac_signal" != 0 &&
1161 <    echo "$as_me: caught signal $ac_signal" >&5
1162 <  echo "$as_me: exit $exit_status" >&5
1163 <  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
1149 > }
1150 >    echo
1151 >
1152 >    cat <<\_ASBOX
1153 > ## ----------------- ##
1154 > ## Output variables. ##
1155 > ## ----------------- ##
1156 > _ASBOX
1157 >    echo
1158 >    for ac_var in $ac_subst_vars
1159 >    do
1160 >      eval ac_val=$`echo $ac_var`
1161 >      echo "$ac_var='"'"'$ac_val'"'"'"
1162 >    done | sort
1163 >    echo
1164 >
1165 >    if test -n "$ac_subst_files"; then
1166 >      cat <<\_ASBOX
1167 > ## ------------- ##
1168 > ## Output files. ##
1169 > ## ------------- ##
1170 > _ASBOX
1171 >      echo
1172 >      for ac_var in $ac_subst_files
1173 >      do
1174 >        eval ac_val=$`echo $ac_var`
1175 >        echo "$ac_var='"'"'$ac_val'"'"'"
1176 >      done | sort
1177 >      echo
1178 >    fi
1179 >
1180 >    if test -s confdefs.h; then
1181 >      cat <<\_ASBOX
1182 > ## ----------- ##
1183 > ## confdefs.h. ##
1184 > ## ----------- ##
1185 > _ASBOX
1186 >      echo
1187 >      sed "/^$/d" confdefs.h | sort
1188 >      echo
1189 >    fi
1190 >    test "$ac_signal" != 0 &&
1191 >      echo "$as_me: caught signal $ac_signal"
1192 >    echo "$as_me: exit $exit_status"
1193 >  } >&5
1194 >  rm -f core *.core &&
1195 >  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1196      exit $exit_status
1197       ' 0
1198   for ac_signal in 1 2 13 15; do
1199 <  trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal
1199 >  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1200   done
1201   ac_signal=0
1202  
# Line 843 | Line 1205 | echo >confdefs.h
1205   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1206   echo >confdefs.h
1207  
1208 + # Predefined preprocessor variables.
1209 +
1210 + cat >>confdefs.h <<_ACEOF
1211 + #define PACKAGE_NAME "$PACKAGE_NAME"
1212 + _ACEOF
1213 +
1214 +
1215 + cat >>confdefs.h <<_ACEOF
1216 + #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1217 + _ACEOF
1218 +
1219 +
1220 + cat >>confdefs.h <<_ACEOF
1221 + #define PACKAGE_VERSION "$PACKAGE_VERSION"
1222 + _ACEOF
1223 +
1224 +
1225 + cat >>confdefs.h <<_ACEOF
1226 + #define PACKAGE_STRING "$PACKAGE_STRING"
1227 + _ACEOF
1228 +
1229 +
1230 + cat >>confdefs.h <<_ACEOF
1231 + #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1232 + _ACEOF
1233 +
1234 +
1235   # Let the site file select an alternate cache file if it wants to.
1236   # Prefer explicitly selected file to automatically selected ones.
1237   if test -z "$CONFIG_SITE"; then
# Line 854 | Line 1243 | for ac_site_file in $CONFIG_SITE; do
1243   fi
1244   for ac_site_file in $CONFIG_SITE; do
1245    if test -r "$ac_site_file"; then
1246 <    { echo "$as_me:857: loading site script $ac_site_file" >&5
1246 >    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1247   echo "$as_me: loading site script $ac_site_file" >&6;}
1248 <    cat "$ac_site_file" >&5
1248 >    sed 's/^/| /' "$ac_site_file" >&5
1249      . "$ac_site_file"
1250    fi
1251   done
# Line 865 | Line 1254 | if test -r "$cache_file"; then
1254    # Some versions of bash will fail to source /dev/null (special
1255    # files actually), so we avoid doing that.
1256    if test -f "$cache_file"; then
1257 <    { echo "$as_me:868: loading cache $cache_file" >&5
1257 >    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1258   echo "$as_me: loading cache $cache_file" >&6;}
1259      case $cache_file in
1260        [\\/]* | ?:[\\/]* ) . $cache_file;;
# Line 873 | Line 1262 | else
1262      esac
1263    fi
1264   else
1265 <  { echo "$as_me:876: creating cache $cache_file" >&5
1265 >  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1266   echo "$as_me: creating cache $cache_file" >&6;}
1267    >$cache_file
1268   fi
1269  
1270   # Check that the precious variables saved in the cache have kept the same
1271   # value.
1272 < ac_suggest_removing_cache=false
1272 > ac_cache_corrupted=false
1273   for ac_var in `(set) 2>&1 |
1274 <               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1274 >               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1275    eval ac_old_set=\$ac_cv_env_${ac_var}_set
1276    eval ac_new_set=\$ac_env_${ac_var}_set
1277    eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1278    eval ac_new_val="\$ac_env_${ac_var}_value"
1279    case $ac_old_set,$ac_new_set in
1280      set,)
1281 <      { echo "$as_me:892: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1282 < echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1283 <      ac_suggest_removing_cache=: ;;
1281 >      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1282 > echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1283 >      ac_cache_corrupted=: ;;
1284      ,set)
1285 <      { echo "$as_me:896: WARNING: \`$ac_var' was not set in the previous run" >&5
1286 < echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;}
1287 <      ac_suggest_removing_cache=: ;;
1285 >      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1286 > echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1287 >      ac_cache_corrupted=: ;;
1288      ,);;
1289      *)
1290        if test "x$ac_old_val" != "x$ac_new_val"; then
1291 <        { echo "$as_me:902: WARNING: \`$ac_var' has changed since the previous run:" >&5
1292 < echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;}
1293 <        { echo "$as_me:904: WARNING:   former value:  $ac_old_val" >&5
1294 < echo "$as_me: WARNING:   former value:  $ac_old_val" >&2;}
1295 <        { echo "$as_me:906: WARNING:   current value: $ac_new_val" >&5
1296 < echo "$as_me: WARNING:   current value: $ac_new_val" >&2;}
1297 <        ac_suggest_removing_cache=:
1291 >        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1292 > echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1293 >        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1294 > echo "$as_me:   former value:  $ac_old_val" >&2;}
1295 >        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1296 > echo "$as_me:   current value: $ac_new_val" >&2;}
1297 >        ac_cache_corrupted=:
1298        fi;;
1299    esac
1300 +  # Pass precious variables to config.status.
1301 +  if test "$ac_new_set" = set; then
1302 +    case $ac_new_val in
1303 +    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1304 +      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1305 +    *) ac_arg=$ac_var=$ac_new_val ;;
1306 +    esac
1307 +    case " $ac_configure_args " in
1308 +      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1309 +      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1310 +    esac
1311 +  fi
1312   done
1313 < if $ac_suggest_removing_cache; then
1314 <  { echo "$as_me:913: WARNING: changes in the environment can compromise the build" >&5
1315 < echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;}
1316 <  { echo "$as_me:915: WARNING: consider removing $cache_file and starting over" >&5
1317 < echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;}
1313 > if $ac_cache_corrupted; then
1314 >  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1315 > echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1316 >  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1317 > echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1318 >   { (exit 1); exit 1; }; }
1319   fi
1320  
1321   ac_ext=c
# Line 922 | Line 1324 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing;
1324   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1325   ac_compiler_gnu=$ac_cv_c_compiler_gnu
1326  
1327 < case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1328 <  *c*,-n*) ECHO_N= ECHO_C='
1329 < ' ECHO_T='      ' ;;
1330 <  *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
1327 >
1328 >
1329 >
1330 >
1331  
1332 +
1333 +
1334 +
1335 +
1336 +
1337 +
1338 +
1339 +
1340 +
1341 +
1342 +
1343 +
1344 +
1345 +
1346 +
1347 +
1348 +
1349 +
1350 +
1351 +
1352 +
1353   ac_aux_dir=
1354   for ac_dir in ac-tools $srcdir/ac-tools; do
1355    if test -f $ac_dir/install-sh; then
# Line 960 | Line 1367 | if test -z "$ac_aux_dir"; then
1367    fi
1368   done
1369   if test -z "$ac_aux_dir"; then
1370 <  { { echo "$as_me:963: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5
1370 >  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5
1371   echo "$as_me: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&2;}
1372     { (exit 1); exit 1; }; }
1373   fi
# Line 968 | Line 1375 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1375   ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1376   ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1377  
1378 +
1379   # This file is part of Autoconf.                       -*- Autoconf -*-
1380   # Programming languages support.
1381   # Copyright 2000, 2001
# Line 1018 | Line 1426 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1426   # Written by Akim Demaille, Christian Marquardt, Martin Wilks (and probably
1427   # many others).
1428  
1429 +
1430   # Table of Contents:
1431   #
1432   # 1. Language selection
# Line 1053 | Line 1462 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1462   # ACTION-IF-NOT-FOUND.
1463   # _AC_LIST_MEMBER_IF
1464  
1465 +
1466 +
1467   # _AC_LINKER_OPTION(LINKER-OPTIONS, SHELL-VARIABLE)
1468   # -------------------------------------------------
1469   #
# Line 1083 | Line 1494 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1494   # FIXME: Get rid of this macro.
1495   # _AC_LINKER_OPTION
1496  
1497 +
1498 +
1499   ## ----------------------- ##
1500   ## 1. Language selection.  ##
1501   ## ----------------------- ##
# Line 1094 | Line 1507 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1507   # AC_LANG(Fortran 90)
1508   # -------------------
1509  
1510 +
1511 +
1512   # _AC_LANG_ABBREV(Fortran 90)
1513   # ---------------------------
1514  
1515 +
1516 +
1517   # ----------------------------- #
1518   # 1c. The Fortran 95 language.  #
1519   # ----------------------------- #
# Line 1104 | Line 1521 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1521   # AC_LANG(Fortran 95)
1522   # -------------------
1523  
1524 +
1525 +
1526   # _AC_LANG_ABBREV(Fortran 95)
1527   # ---------------------------
1528  
1529 +
1530 +
1531   ## ---------------------- ##
1532   ## 2.Producing programs.  ##
1533   ## ---------------------- ##
# Line 1118 | Line 1539 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1539   # AC_LANG_SOURCE(Fortran 90)(BODY)
1540   # --------------------------------
1541  
1542 +
1543 +
1544   # AC_LANG_PROGRAM(Fortran 90)([PROLOGUE], [BODY])
1545   # -----------------------------------------------
1546  
1547 +
1548   # AC_LANG_CALL(Fortran 90)(PROLOGUE, FUNCTION)
1549   # --------------------------------------------
1550  
1551 +
1552 +
1553   # ------------------------ #
1554   # 2c. Fortran 95 sources.  #
1555   # ------------------------ #
# Line 1131 | Line 1557 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1557   # AC_LANG_SOURCE(Fortran 95)(BODY)
1558   # --------------------------------
1559  
1560 +
1561   # AC_LANG_PROGRAM(Fortran 95)([PROLOGUE], [BODY])
1562   # -----------------------------------------------
1563  
1564 +
1565   # AC_LANG_CALL(Fortran 95)(PROLOGUE, FUNCTION)
1566   # --------------------------------------------
1567  
1568 +
1569 +
1570   ## -------------------------------------------- ##
1571   ## 3. Looking for Compilers and Preprocessors.  ##
1572   ## -------------------------------------------- ##
# Line 1145 | Line 1575 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1575   # 3b. The Fortran 90 compiler.  #
1576   # ----------------------------- #
1577  
1578 +
1579   # AC_LANG_PREPROC(Fortran 90)
1580   # ---------------------------
1581   # Find the Fortran 90 preprocessor.  Must be AC_DEFUN'd to be AC_REQUIRE'able.
1582  
1583 +
1584 +
1585   # AC_LANG_COMPILER(Fortran 90)
1586   # ----------------------------
1587   # Find the Fortran 90 compiler.  Must be AC_DEFUN'd to be
1588   # AC_REQUIRE'able.
1589  
1590 +
1591 +
1592   # AC_PROG_F90([COMPILERS...])
1593   # ---------------------------
1594   # COMPILERS is a space separated list of Fortran 90 compilers to search
# Line 1170 | Line 1605 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1605   # fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha.
1606   # AC_PROG_F90
1607  
1608 +
1609   # ----------------------------- #
1610   # 3c. The Fortran 95 compiler.  #
1611   # ----------------------------- #
1612  
1613 +
1614   # AC_LANG_PREPROC(Fortran 95)
1615   # ---------------------------
1616   # Find the Fortran 95 preprocessor.  Must be AC_DEFUN'd to be AC_REQUIRE'able.
1617  
1618 +
1619 +
1620   # AC_LANG_COMPILER(Fortran 95)
1621   # ----------------------------
1622   # Find the Fortran 95 compiler.  Must be AC_DEFUN'd to be
1623   # AC_REQUIRE'able.
1624  
1625 +
1626 +
1627   # AC_PROG_F95([COMPILERS...])
1628   # ---------------------------
1629   # COMPILERS is a space separated list of Fortran 95 compilers to search
# Line 1196 | Line 1637 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1637   # fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha.
1638   # AC_PROG_F95
1639  
1640 +
1641   ## ------------------------------- ##
1642   ## 4. Compilers' characteristics.  ##
1643   ## ------------------------------- ##
1644  
1645 +
1646   # ---------------------------------------- #
1647   # 4b. Fortan 90 compiler characteristics.  #
1648   # ---------------------------------------- #
1649  
1650 +
1651   # _AC_PROG_F90_V_OUTPUT([FLAG = $ac_cv_prog_f90_v])
1652   # -------------------------------------------------
1653   # Link a trivial Fortran program, compiling with a verbose output FLAG
# Line 1214 | Line 1658 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1658   # space-separated items.
1659   # _AC_PROG_F90_V_OUTPUT
1660  
1661 +
1662   # _AC_PROG_F90_V
1663   # --------------
1664   #
# Line 1223 | Line 1668 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1668   # Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###)
1669   # _AC_PROG_F90_V
1670  
1671 +
1672   # AC_F90_LIBRARY_LDFLAGS
1673   # ----------------------
1674   #
# Line 1249 | Line 1695 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1695   #
1696   # This macro was copied from the Fortran 77 version by Matthew D. Langston.
1697   # AC_F90_LIBRARY_LDFLAGS
1698 +
1699  
1700   # _AC_F90_NAME_MANGLING
1701   # ---------------------
# Line 1269 | Line 1716 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1716  
1717   # The replacement is empty.
1718  
1719 +
1720 +
1721   # AC_F90_WRAPPERS
1722   # ---------------
1723   # Defines C macros F90_FUNC(name,NAME) and F90_FUNC_(name,NAME) to
# Line 1277 | Line 1726 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1726   # scheme used by the Fortran 90 compiler.
1727   # AC_F90_WRAPPERS
1728  
1729 +
1730   # AC_F90_FUNC(NAME, [SHELLVAR = NAME])
1731   # ------------------------------------
1732   # For a Fortran subroutine of given NAME, define a shell variable
# Line 1284 | Line 1734 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1734   # argument is not supplied, it defaults to NAME.
1735   # AC_F90_FUNC
1736  
1737 +
1738   # ---------------------------------------- #
1739   # 4c. Fortan 95 compiler characteristics.  #
1740   # ---------------------------------------- #
1741  
1742 +
1743   # _AC_PROG_F95_V_OUTPUT([FLAG = $ac_cv_prog_f95_v])
1744   # -------------------------------------------------
1745   # Link a trivial Fortran program, compiling with a verbose output FLAG
# Line 1298 | Line 1750 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1750   # space-separated items.
1751   # _AC_PROG_F95_V_OUTPUT
1752  
1753 +
1754   # _AC_PROG_F95_V
1755   # --------------
1756   #
# Line 1307 | Line 1760 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1760   # Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###)
1761   # _AC_PROG_F95_V
1762  
1763 +
1764   # AC_F95_LIBRARY_LDFLAGS
1765   # ----------------------
1766   #
# Line 1334 | Line 1788 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1788   # This macro was copied from the Fortran 77 version by Matthew D. Langston.
1789   # AC_F95_LIBRARY_LDFLAGS
1790  
1791 +
1792   # _AC_F95_NAME_MANGLING
1793   # ---------------------
1794   # Test for the name mangling scheme used by the Fortran 95 compiler.
# Line 1353 | Line 1808 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1808  
1809   # The replacement is empty.
1810  
1811 +
1812 +
1813   # AC_F95_WRAPPERS
1814   # ---------------
1815   # Defines C macros F95_FUNC(name,NAME) and F95_FUNC_(name,NAME) to
# Line 1361 | Line 1818 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1818   # scheme used by the Fortran 95 compiler.
1819   # AC_F95_WRAPPERS
1820  
1821 +
1822   # AC_F95_FUNC(NAME, [SHELLVAR = NAME])
1823   # ------------------------------------
1824   # For a Fortran subroutine of given NAME, define a shell variable
# Line 1375 | Line 1833 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1833   #
1834   # AC_F90_MODULE_NAMES
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 + #
1891 +
1892 +
1893 +
1894 +
1895 +
1896 +
1897 +
1898 +
1899   # set program name
1900   PROGNAME="oopse"
1901  
1902 +
1903   # there are two ways to do debugging.  One with the --enable-debug flag
1904   # and one using the DEBUG environment variable
1905  
# Line 1389 | Line 1911 | cat >>confdefs.h <<\EOF
1911   fi;
1912   if test "${DEBUG}"; then
1913  
1914 < cat >>confdefs.h <<\EOF
1914 > cat >>confdefs.h <<\_ACEOF
1915   #define debug 1
1916 < EOF
1916 > _ACEOF
1917  
1918    msg="$msg, debug mode"
1919   fi
1920  
1921 +
1922   # who am i
1923   # Make sure we can run config.sub.
1924   $ac_config_sub sun4 >/dev/null 2>&1 ||
1925 <  { { echo "$as_me:1402: error: cannot run $ac_config_sub" >&5
1925 >  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1926   echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1927     { (exit 1); exit 1; }; }
1928  
1929 < echo "$as_me:1406: checking build system type" >&5
1929 > echo "$as_me:$LINENO: checking build system type" >&5
1930   echo $ECHO_N "checking build system type... $ECHO_C" >&6
1931   if test "${ac_cv_build+set}" = set; then
1932    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1412 | Line 1935 | test -z "$ac_cv_build_alias" &&
1935   test -z "$ac_cv_build_alias" &&
1936    ac_cv_build_alias=`$ac_config_guess`
1937   test -z "$ac_cv_build_alias" &&
1938 <  { { echo "$as_me:1415: error: cannot guess build type; you must specify one" >&5
1938 >  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1939   echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1940     { (exit 1); exit 1; }; }
1941   ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1942 <  { { echo "$as_me:1419: error: $ac_config_sub $ac_cv_build_alias failed." >&5
1943 < echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
1942 >  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1943 > echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1944     { (exit 1); exit 1; }; }
1945  
1946   fi
1947 < echo "$as_me:1424: result: $ac_cv_build" >&5
1947 > echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1948   echo "${ECHO_T}$ac_cv_build" >&6
1949   build=$ac_cv_build
1950   build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1951   build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1952   build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1953  
1954 < echo "$as_me:1431: checking host system type" >&5
1954 >
1955 > echo "$as_me:$LINENO: checking host system type" >&5
1956   echo $ECHO_N "checking host system type... $ECHO_C" >&6
1957   if test "${ac_cv_host+set}" = set; then
1958    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1437 | Line 1961 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1961   test -z "$ac_cv_host_alias" &&
1962    ac_cv_host_alias=$ac_cv_build_alias
1963   ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1964 <  { { echo "$as_me:1440: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1964 >  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1965   echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1966     { (exit 1); exit 1; }; }
1967  
1968   fi
1969 < echo "$as_me:1445: result: $ac_cv_host" >&5
1969 > echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1970   echo "${ECHO_T}$ac_cv_host" >&6
1971   host=$ac_cv_host
1972   host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1973   host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1974   host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1975  
1976 +
1977 +
1978 +
1979 +
1980   ac_ext=c
1981   ac_cpp='$CPP $CPPFLAGS'
1982   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 1459 | Line 1987 | echo "$as_me:1462: checking for $ac_word" >&5
1987    do
1988      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1989   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1990 < echo "$as_me:1462: checking for $ac_word" >&5
1990 > echo "$as_me:$LINENO: checking for $ac_word" >&5
1991   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1992   if test "${ac_cv_prog_CC+set}" = set; then
1993    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1467 | Line 1995 | else
1995    if test -n "$CC"; then
1996    ac_cv_prog_CC="$CC" # Let the user override the test.
1997   else
1998 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
1999 < ac_dummy="$PATH"
2000 < for ac_dir in $ac_dummy; do
2001 <  IFS=$ac_save_IFS
2002 <  test -z "$ac_dir" && ac_dir=.
2003 <  $as_executable_p "$ac_dir/$ac_word" || continue
2004 < ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2005 < echo "$as_me:1477: found $ac_dir/$ac_word" >&5
2006 < break
1998 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1999 > for as_dir in $PATH
2000 > do
2001 >  IFS=$as_save_IFS
2002 >  test -z "$as_dir" && as_dir=.
2003 >  for ac_exec_ext in '' $ac_executable_extensions; do
2004 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2005 >    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2006 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2007 >    break 2
2008 >  fi
2009   done
2010 + done
2011  
2012   fi
2013   fi
2014   CC=$ac_cv_prog_CC
2015   if test -n "$CC"; then
2016 <  echo "$as_me:1485: result: $CC" >&5
2016 >  echo "$as_me:$LINENO: result: $CC" >&5
2017   echo "${ECHO_T}$CC" >&6
2018   else
2019 <  echo "$as_me:1488: result: no" >&5
2019 >  echo "$as_me:$LINENO: result: no" >&5
2020   echo "${ECHO_T}no" >&6
2021   fi
2022  
# Line 1498 | Line 2029 | echo "$as_me:1501: checking for $ac_word" >&5
2029   do
2030    # Extract the first word of "$ac_prog", so it can be a program name with args.
2031   set dummy $ac_prog; ac_word=$2
2032 < echo "$as_me:1501: checking for $ac_word" >&5
2032 > echo "$as_me:$LINENO: checking for $ac_word" >&5
2033   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2034   if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2035    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1506 | Line 2037 | else
2037    if test -n "$ac_ct_CC"; then
2038    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2039   else
2040 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
2041 < ac_dummy="$PATH"
2042 < for ac_dir in $ac_dummy; do
2043 <  IFS=$ac_save_IFS
2044 <  test -z "$ac_dir" && ac_dir=.
2045 <  $as_executable_p "$ac_dir/$ac_word" || continue
2046 < ac_cv_prog_ac_ct_CC="$ac_prog"
2047 < echo "$as_me:1516: found $ac_dir/$ac_word" >&5
2048 < break
2040 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2041 > for as_dir in $PATH
2042 > do
2043 >  IFS=$as_save_IFS
2044 >  test -z "$as_dir" && as_dir=.
2045 >  for ac_exec_ext in '' $ac_executable_extensions; do
2046 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2047 >    ac_cv_prog_ac_ct_CC="$ac_prog"
2048 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2049 >    break 2
2050 >  fi
2051   done
2052 + done
2053  
2054   fi
2055   fi
2056   ac_ct_CC=$ac_cv_prog_ac_ct_CC
2057   if test -n "$ac_ct_CC"; then
2058 <  echo "$as_me:1524: result: $ac_ct_CC" >&5
2058 >  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2059   echo "${ECHO_T}$ac_ct_CC" >&6
2060   else
2061 <  echo "$as_me:1527: result: no" >&5
2061 >  echo "$as_me:$LINENO: result: no" >&5
2062   echo "${ECHO_T}no" >&6
2063   fi
2064  
# Line 1534 | Line 2068 | test -z "$CC" && { { echo "$as_me:1537: error: no acce
2068    CC=$ac_ct_CC
2069   fi
2070  
2071 < test -z "$CC" && { { echo "$as_me:1537: error: no acceptable cc found in \$PATH" >&5
2072 < echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2071 >
2072 > test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2073 > See \`config.log' for more details." >&5
2074 > echo "$as_me: error: no acceptable C compiler found in \$PATH
2075 > See \`config.log' for more details." >&2;}
2076     { (exit 1); exit 1; }; }
2077  
2078 < cat >conftest.$ac_ext <<_ACEOF
2079 < #line 1542 "configure"
2080 < #include "confdefs.h"
2078 > # Provide some information about the compiler.
2079 > echo "$as_me:$LINENO:" \
2080 >     "checking for C compiler version" >&5
2081 > ac_compiler=`set X $ac_compile; echo $2`
2082 > { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2083 >  (eval $ac_compiler --version </dev/null >&5) 2>&5
2084 >  ac_status=$?
2085 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2086 >  (exit $ac_status); }
2087 > { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2088 >  (eval $ac_compiler -v </dev/null >&5) 2>&5
2089 >  ac_status=$?
2090 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091 >  (exit $ac_status); }
2092 > { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2093 >  (eval $ac_compiler -V </dev/null >&5) 2>&5
2094 >  ac_status=$?
2095 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2096 >  (exit $ac_status); }
2097  
2098 < int
2099 < main ()
2098 > cat >conftest.$ac_ext <<_ACEOF
2099 > /* confdefs.h.  */
2100 > _ACEOF
2101 > cat confdefs.h >>conftest.$ac_ext
2102 > cat >>conftest.$ac_ext <<_ACEOF
2103 > /* end confdefs.h.  */
2104 >
2105 > int
2106 > main ()
2107   {
2108  
2109    ;
# Line 1551 | Line 2111 | ac_clean_files="$ac_clean_files a.out a.exe"
2111   }
2112   _ACEOF
2113   ac_clean_files_save=$ac_clean_files
2114 < ac_clean_files="$ac_clean_files a.out a.exe"
2114 > ac_clean_files="$ac_clean_files a.out a.exe b.out"
2115   # Try to create an executable without -o first, disregard a.out.
2116 < # It will help us diagnose broken compiler, and finding out an intuition
2116 > # It will help us diagnose broken compilers, and finding out an intuition
2117   # of exeext.
2118 < echo "$as_me:1558: checking for C compiler default output" >&5
2119 < echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2118 > echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2119 > echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2120   ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2121 < if { (eval echo "$as_me:1561: \"$ac_link_default\"") >&5
2121 > if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2122    (eval $ac_link_default) 2>&5
2123    ac_status=$?
2124 <  echo "$as_me:1564: \$? = $ac_status" >&5
2124 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125    (exit $ac_status); }; then
2126 <  for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
2126 >  # Find the output, starting from the most likely.  This scheme is
2127 > # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2128 > # resort.
2129 >
2130 > # Be careful to initialize this variable, since it used to be cached.
2131 > # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2132 > ac_cv_exeext=
2133 > # b.out is created by i960 compilers.
2134 > for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2135 > do
2136 >  test -f "$ac_file" || continue
2137    case $ac_file in
2138 <    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2139 <    a.out ) # We found the default executable, but exeext='' is most
2140 <            # certainly right.
2141 <            break;;
2142 <    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2143 <          export ac_cv_exeext
2144 <          break;;
2145 <    * ) break;;
2138 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2139 >        ;;
2140 >    conftest.$ac_ext )
2141 >        # This is the source file.
2142 >        ;;
2143 >    [ab].out )
2144 >        # We found the default executable, but exeext='' is most
2145 >        # certainly right.
2146 >        break;;
2147 >    *.* )
2148 >        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2149 >        # FIXME: I believe we export ac_cv_exeext for Libtool,
2150 >        # but it would be cool to find out if it's true.  Does anybody
2151 >        # maintain Libtool? --akim.
2152 >        export ac_cv_exeext
2153 >        break;;
2154 >    * )
2155 >        break;;
2156    esac
2157   done
2158   else
2159    echo "$as_me: failed program was:" >&5
2160 < cat conftest.$ac_ext >&5
2161 < { { echo "$as_me:1581: error: C compiler cannot create executables" >&5
2162 < echo "$as_me: error: C compiler cannot create executables" >&2;}
2160 > sed 's/^/| /' conftest.$ac_ext >&5
2161 >
2162 > { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2163 > See \`config.log' for more details." >&5
2164 > echo "$as_me: error: C compiler cannot create executables
2165 > See \`config.log' for more details." >&2;}
2166     { (exit 77); exit 77; }; }
2167   fi
2168  
2169   ac_exeext=$ac_cv_exeext
2170 < echo "$as_me:1587: result: $ac_file" >&5
2170 > echo "$as_me:$LINENO: result: $ac_file" >&5
2171   echo "${ECHO_T}$ac_file" >&6
2172  
2173   # Check the compiler produces executables we can run.  If not, either
2174   # the compiler is broken, or we cross compile.
2175 < echo "$as_me:1592: checking whether the C compiler works" >&5
2175 > echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2176   echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2177   # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2178   # If not cross compiling, check that we can run a simple program.
2179   if test "$cross_compiling" != yes; then
2180    if { ac_try='./$ac_file'
2181 <  { (eval echo "$as_me:1598: \"$ac_try\"") >&5
2181 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2182    (eval $ac_try) 2>&5
2183    ac_status=$?
2184 <  echo "$as_me:1601: \$? = $ac_status" >&5
2184 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185    (exit $ac_status); }; }; then
2186      cross_compiling=no
2187    else
2188      if test "$cross_compiling" = maybe; then
2189          cross_compiling=yes
2190      else
2191 <        { { echo "$as_me:1608: error: cannot run C compiled programs.
2192 < If you meant to cross compile, use \`--host'." >&5
2191 >        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2192 > If you meant to cross compile, use \`--host'.
2193 > See \`config.log' for more details." >&5
2194   echo "$as_me: error: cannot run C compiled programs.
2195 < If you meant to cross compile, use \`--host'." >&2;}
2195 > If you meant to cross compile, use \`--host'.
2196 > See \`config.log' for more details." >&2;}
2197     { (exit 1); exit 1; }; }
2198      fi
2199    fi
2200   fi
2201 < echo "$as_me:1616: result: yes" >&5
2201 > echo "$as_me:$LINENO: result: yes" >&5
2202   echo "${ECHO_T}yes" >&6
2203  
2204 < rm -f a.out a.exe conftest$ac_cv_exeext
2204 > rm -f a.out a.exe conftest$ac_cv_exeext b.out
2205   ac_clean_files=$ac_clean_files_save
2206   # Check the compiler produces executables we can run.  If not, either
2207   # the compiler is broken, or we cross compile.
2208 < echo "$as_me:1623: checking whether we are cross compiling" >&5
2208 > echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2209   echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2210 < echo "$as_me:1625: result: $cross_compiling" >&5
2210 > echo "$as_me:$LINENO: result: $cross_compiling" >&5
2211   echo "${ECHO_T}$cross_compiling" >&6
2212  
2213 < echo "$as_me:1628: checking for executable suffix" >&5
2214 < echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2215 < if { (eval echo "$as_me:1630: \"$ac_link\"") >&5
2213 > echo "$as_me:$LINENO: checking for suffix of executables" >&5
2214 > echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2215 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2216    (eval $ac_link) 2>&5
2217    ac_status=$?
2218 <  echo "$as_me:1633: \$? = $ac_status" >&5
2218 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2219    (exit $ac_status); }; then
2220    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2221   # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2222   # work properly (i.e., refer to `conftest.exe'), while it won't with
2223   # `rm'.
2224 < for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2224 > for ac_file in conftest.exe conftest conftest.*; do
2225 >  test -f "$ac_file" || continue
2226    case $ac_file in
2227 <    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2227 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2228      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2229 <          export ac_cv_exeext
2230 <          break;;
2229 >          export ac_cv_exeext
2230 >          break;;
2231      * ) break;;
2232    esac
2233   done
2234   else
2235 <  { { echo "$as_me:1649: error: cannot compute EXEEXT: cannot compile and link" >&5
2236 < echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2235 >  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2236 > See \`config.log' for more details." >&5
2237 > echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2238 > See \`config.log' for more details." >&2;}
2239     { (exit 1); exit 1; }; }
2240   fi
2241  
2242   rm -f conftest$ac_cv_exeext
2243 < echo "$as_me:1655: result: $ac_cv_exeext" >&5
2243 > echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2244   echo "${ECHO_T}$ac_cv_exeext" >&6
2245  
2246   rm -f conftest.$ac_ext
2247   EXEEXT=$ac_cv_exeext
2248   ac_exeext=$EXEEXT
2249 < echo "$as_me:1661: checking for object suffix" >&5
2250 < echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2249 > echo "$as_me:$LINENO: checking for suffix of object files" >&5
2250 > echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2251   if test "${ac_cv_objext+set}" = set; then
2252    echo $ECHO_N "(cached) $ECHO_C" >&6
2253   else
2254    cat >conftest.$ac_ext <<_ACEOF
2255 < #line 1667 "configure"
2256 < #include "confdefs.h"
2255 > /* confdefs.h.  */
2256 > _ACEOF
2257 > cat confdefs.h >>conftest.$ac_ext
2258 > cat >>conftest.$ac_ext <<_ACEOF
2259 > /* end confdefs.h.  */
2260  
2261   int
2262   main ()
# Line 1676 | Line 2267 | if { (eval echo "$as_me:1679: \"$ac_compile\"") >&5
2267   }
2268   _ACEOF
2269   rm -f conftest.o conftest.obj
2270 < if { (eval echo "$as_me:1679: \"$ac_compile\"") >&5
2270 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2271    (eval $ac_compile) 2>&5
2272    ac_status=$?
2273 <  echo "$as_me:1682: \$? = $ac_status" >&5
2273 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274    (exit $ac_status); }; then
2275    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2276    case $ac_file in
2277 <    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2277 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2278      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2279         break;;
2280    esac
2281   done
2282   else
2283    echo "$as_me: failed program was:" >&5
2284 < cat conftest.$ac_ext >&5
2285 < { { echo "$as_me:1694: error: cannot compute OBJEXT: cannot compile" >&5
2286 < echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2284 > sed 's/^/| /' conftest.$ac_ext >&5
2285 >
2286 > { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2287 > See \`config.log' for more details." >&5
2288 > echo "$as_me: error: cannot compute suffix of object files: cannot compile
2289 > See \`config.log' for more details." >&2;}
2290     { (exit 1); exit 1; }; }
2291   fi
2292  
2293   rm -f conftest.$ac_cv_objext conftest.$ac_ext
2294   fi
2295 < echo "$as_me:1701: result: $ac_cv_objext" >&5
2295 > echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2296   echo "${ECHO_T}$ac_cv_objext" >&6
2297   OBJEXT=$ac_cv_objext
2298   ac_objext=$OBJEXT
2299 < echo "$as_me:1705: checking whether we are using the GNU C compiler" >&5
2299 > echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2300   echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2301   if test "${ac_cv_c_compiler_gnu+set}" = set; then
2302    echo $ECHO_N "(cached) $ECHO_C" >&6
2303   else
2304    cat >conftest.$ac_ext <<_ACEOF
2305 < #line 1711 "configure"
2306 < #include "confdefs.h"
2305 > /* confdefs.h.  */
2306 > _ACEOF
2307 > cat confdefs.h >>conftest.$ac_ext
2308 > cat >>conftest.$ac_ext <<_ACEOF
2309 > /* end confdefs.h.  */
2310  
2311   int
2312   main ()
# Line 1723 | Line 2320 | if { (eval echo "$as_me:1726: \"$ac_compile\"") >&5
2320   }
2321   _ACEOF
2322   rm -f conftest.$ac_objext
2323 < if { (eval echo "$as_me:1726: \"$ac_compile\"") >&5
2324 <  (eval $ac_compile) 2>&5
2323 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2324 >  (eval $ac_compile) 2>conftest.er1
2325    ac_status=$?
2326 <  echo "$as_me:1729: \$? = $ac_status" >&5
2326 >  grep -v '^ *+' conftest.er1 >conftest.err
2327 >  rm -f conftest.er1
2328 >  cat conftest.err >&5
2329 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330    (exit $ac_status); } &&
2331 <         { ac_try='test -s conftest.$ac_objext'
2332 <  { (eval echo "$as_me:1732: \"$ac_try\"") >&5
2331 >         { ac_try='test -z "$ac_c_werror_flag"
2332 >                         || test ! -s conftest.err'
2333 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2334    (eval $ac_try) 2>&5
2335    ac_status=$?
2336 <  echo "$as_me:1735: \$? = $ac_status" >&5
2336 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337 >  (exit $ac_status); }; } &&
2338 >         { ac_try='test -s conftest.$ac_objext'
2339 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2340 >  (eval $ac_try) 2>&5
2341 >  ac_status=$?
2342 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343    (exit $ac_status); }; }; then
2344    ac_compiler_gnu=yes
2345   else
2346    echo "$as_me: failed program was:" >&5
2347 < cat conftest.$ac_ext >&5
2347 > sed 's/^/| /' conftest.$ac_ext >&5
2348 >
2349   ac_compiler_gnu=no
2350   fi
2351 < rm -f conftest.$ac_objext conftest.$ac_ext
2351 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2352   ac_cv_c_compiler_gnu=$ac_compiler_gnu
2353  
2354   fi
2355 < echo "$as_me:1747: result: $ac_cv_c_compiler_gnu" >&5
2355 > echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2356   echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2357   GCC=`test $ac_compiler_gnu = yes && echo yes`
2358   ac_test_CFLAGS=${CFLAGS+set}
2359   ac_save_CFLAGS=$CFLAGS
2360   CFLAGS="-g"
2361 < echo "$as_me:1753: checking whether $CC accepts -g" >&5
2361 > echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2362   echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2363   if test "${ac_cv_prog_cc_g+set}" = set; then
2364    echo $ECHO_N "(cached) $ECHO_C" >&6
2365   else
2366    cat >conftest.$ac_ext <<_ACEOF
2367 < #line 1759 "configure"
2368 < #include "confdefs.h"
2367 > /* confdefs.h.  */
2368 > _ACEOF
2369 > cat confdefs.h >>conftest.$ac_ext
2370 > cat >>conftest.$ac_ext <<_ACEOF
2371 > /* end confdefs.h.  */
2372  
2373   int
2374   main ()
# Line 1768 | Line 2379 | if { (eval echo "$as_me:1771: \"$ac_compile\"") >&5
2379   }
2380   _ACEOF
2381   rm -f conftest.$ac_objext
2382 < if { (eval echo "$as_me:1771: \"$ac_compile\"") >&5
2383 <  (eval $ac_compile) 2>&5
2382 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2383 >  (eval $ac_compile) 2>conftest.er1
2384    ac_status=$?
2385 <  echo "$as_me:1774: \$? = $ac_status" >&5
2385 >  grep -v '^ *+' conftest.er1 >conftest.err
2386 >  rm -f conftest.er1
2387 >  cat conftest.err >&5
2388 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389    (exit $ac_status); } &&
2390 <         { ac_try='test -s conftest.$ac_objext'
2391 <  { (eval echo "$as_me:1777: \"$ac_try\"") >&5
2390 >         { ac_try='test -z "$ac_c_werror_flag"
2391 >                         || test ! -s conftest.err'
2392 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2393    (eval $ac_try) 2>&5
2394    ac_status=$?
2395 <  echo "$as_me:1780: \$? = $ac_status" >&5
2395 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 >  (exit $ac_status); }; } &&
2397 >         { ac_try='test -s conftest.$ac_objext'
2398 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2399 >  (eval $ac_try) 2>&5
2400 >  ac_status=$?
2401 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402    (exit $ac_status); }; }; then
2403    ac_cv_prog_cc_g=yes
2404   else
2405    echo "$as_me: failed program was:" >&5
2406 < cat conftest.$ac_ext >&5
2406 > sed 's/^/| /' conftest.$ac_ext >&5
2407 >
2408   ac_cv_prog_cc_g=no
2409   fi
2410 < rm -f conftest.$ac_objext conftest.$ac_ext
2410 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2411   fi
2412 < echo "$as_me:1790: result: $ac_cv_prog_cc_g" >&5
2412 > echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2413   echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2414   if test "$ac_test_CFLAGS" = set; then
2415    CFLAGS=$ac_save_CFLAGS
# Line 1803 | Line 2425 | fi
2425    else
2426      CFLAGS=
2427    fi
2428 + fi
2429 + echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2430 + echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2431 + if test "${ac_cv_prog_cc_stdc+set}" = set; then
2432 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2433 + else
2434 +  ac_cv_prog_cc_stdc=no
2435 + ac_save_CC=$CC
2436 + cat >conftest.$ac_ext <<_ACEOF
2437 + /* confdefs.h.  */
2438 + _ACEOF
2439 + cat confdefs.h >>conftest.$ac_ext
2440 + cat >>conftest.$ac_ext <<_ACEOF
2441 + /* end confdefs.h.  */
2442 + #include <stdarg.h>
2443 + #include <stdio.h>
2444 + #include <sys/types.h>
2445 + #include <sys/stat.h>
2446 + /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2447 + struct buf { int x; };
2448 + FILE * (*rcsopen) (struct buf *, struct stat *, int);
2449 + static char *e (p, i)
2450 +     char **p;
2451 +     int i;
2452 + {
2453 +  return p[i];
2454 + }
2455 + static char *f (char * (*g) (char **, int), char **p, ...)
2456 + {
2457 +  char *s;
2458 +  va_list v;
2459 +  va_start (v,p);
2460 +  s = g (p, va_arg (v,int));
2461 +  va_end (v);
2462 +  return s;
2463 + }
2464 +
2465 + /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2466 +   function prototypes and stuff, but not '\xHH' hex character constants.
2467 +   These don't provoke an error unfortunately, instead are silently treated
2468 +   as 'x'.  The following induces an error, until -std1 is added to get
2469 +   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2470 +   array size at least.  It's necessary to write '\x00'==0 to get something
2471 +   that's true only with -std1.  */
2472 + int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2473 +
2474 + int test (int i, double x);
2475 + struct s1 {int (*f) (int a);};
2476 + struct s2 {int (*f) (double a);};
2477 + int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2478 + int argc;
2479 + char **argv;
2480 + int
2481 + main ()
2482 + {
2483 + return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2484 +  ;
2485 +  return 0;
2486 + }
2487 + _ACEOF
2488 + # Don't try gcc -ansi; that turns off useful extensions and
2489 + # breaks some systems' header files.
2490 + # AIX                   -qlanglvl=ansi
2491 + # Ultrix and OSF/1      -std1
2492 + # HP-UX 10.20 and later -Ae
2493 + # HP-UX older versions  -Aa -D_HPUX_SOURCE
2494 + # SVR4                  -Xc -D__EXTENSIONS__
2495 + for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2496 + do
2497 +  CC="$ac_save_CC $ac_arg"
2498 +  rm -f conftest.$ac_objext
2499 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2500 +  (eval $ac_compile) 2>conftest.er1
2501 +  ac_status=$?
2502 +  grep -v '^ *+' conftest.er1 >conftest.err
2503 +  rm -f conftest.er1
2504 +  cat conftest.err >&5
2505 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 +  (exit $ac_status); } &&
2507 +         { ac_try='test -z "$ac_c_werror_flag"
2508 +                         || test ! -s conftest.err'
2509 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2510 +  (eval $ac_try) 2>&5
2511 +  ac_status=$?
2512 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2513 +  (exit $ac_status); }; } &&
2514 +         { ac_try='test -s conftest.$ac_objext'
2515 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2516 +  (eval $ac_try) 2>&5
2517 +  ac_status=$?
2518 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2519 +  (exit $ac_status); }; }; then
2520 +  ac_cv_prog_cc_stdc=$ac_arg
2521 + break
2522 + else
2523 +  echo "$as_me: failed program was:" >&5
2524 + sed 's/^/| /' conftest.$ac_ext >&5
2525 +
2526   fi
2527 + rm -f conftest.err conftest.$ac_objext
2528 + done
2529 + rm -f conftest.$ac_ext conftest.$ac_objext
2530 + CC=$ac_save_CC
2531 +
2532 + fi
2533 +
2534 + case "x$ac_cv_prog_cc_stdc" in
2535 +  x|xno)
2536 +    echo "$as_me:$LINENO: result: none needed" >&5
2537 + echo "${ECHO_T}none needed" >&6 ;;
2538 +  *)
2539 +    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2540 + echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2541 +    CC="$CC $ac_cv_prog_cc_stdc" ;;
2542 + esac
2543 +
2544   # Some people use a C++ compiler to compile C.  Since we use `exit',
2545   # in C++ we need to declare it.  In case someone uses the same compiler
2546   # for both compiling C and C++ we need to have the C++ compiler decide
# Line 1814 | Line 2551 | if { (eval echo "$as_me:1817: \"$ac_compile\"") >&5
2551   #endif
2552   _ACEOF
2553   rm -f conftest.$ac_objext
2554 < if { (eval echo "$as_me:1817: \"$ac_compile\"") >&5
2555 <  (eval $ac_compile) 2>&5
2554 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2555 >  (eval $ac_compile) 2>conftest.er1
2556    ac_status=$?
2557 <  echo "$as_me:1820: \$? = $ac_status" >&5
2557 >  grep -v '^ *+' conftest.er1 >conftest.err
2558 >  rm -f conftest.er1
2559 >  cat conftest.err >&5
2560 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561    (exit $ac_status); } &&
2562 <         { ac_try='test -s conftest.$ac_objext'
2563 <  { (eval echo "$as_me:1823: \"$ac_try\"") >&5
2562 >         { ac_try='test -z "$ac_c_werror_flag"
2563 >                         || test ! -s conftest.err'
2564 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2565    (eval $ac_try) 2>&5
2566    ac_status=$?
2567 <  echo "$as_me:1826: \$? = $ac_status" >&5
2567 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 >  (exit $ac_status); }; } &&
2569 >         { ac_try='test -s conftest.$ac_objext'
2570 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2571 >  (eval $ac_try) 2>&5
2572 >  ac_status=$?
2573 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574    (exit $ac_status); }; }; then
2575    for ac_declaration in \
2576 <   ''\
1830 <   '#include <stdlib.h>' \
2576 >   '' \
2577     'extern "C" void std::exit (int) throw (); using std::exit;' \
2578     'extern "C" void std::exit (int); using std::exit;' \
2579     'extern "C" void exit (int) throw ();' \
# Line 1835 | Line 2581 | do
2581     'void exit (int);'
2582   do
2583    cat >conftest.$ac_ext <<_ACEOF
2584 < #line 1838 "configure"
2585 < #include "confdefs.h"
2586 < #include <stdlib.h>
2584 > /* confdefs.h.  */
2585 > _ACEOF
2586 > cat confdefs.h >>conftest.$ac_ext
2587 > cat >>conftest.$ac_ext <<_ACEOF
2588 > /* end confdefs.h.  */
2589   $ac_declaration
2590 + #include <stdlib.h>
2591   int
2592   main ()
2593   {
# Line 1848 | Line 2597 | if { (eval echo "$as_me:1851: \"$ac_compile\"") >&5
2597   }
2598   _ACEOF
2599   rm -f conftest.$ac_objext
2600 < if { (eval echo "$as_me:1851: \"$ac_compile\"") >&5
2601 <  (eval $ac_compile) 2>&5
2600 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2601 >  (eval $ac_compile) 2>conftest.er1
2602    ac_status=$?
2603 <  echo "$as_me:1854: \$? = $ac_status" >&5
2603 >  grep -v '^ *+' conftest.er1 >conftest.err
2604 >  rm -f conftest.er1
2605 >  cat conftest.err >&5
2606 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607    (exit $ac_status); } &&
2608 <         { ac_try='test -s conftest.$ac_objext'
2609 <  { (eval echo "$as_me:1857: \"$ac_try\"") >&5
2608 >         { ac_try='test -z "$ac_c_werror_flag"
2609 >                         || test ! -s conftest.err'
2610 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2611    (eval $ac_try) 2>&5
2612    ac_status=$?
2613 <  echo "$as_me:1860: \$? = $ac_status" >&5
2613 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614 >  (exit $ac_status); }; } &&
2615 >         { ac_try='test -s conftest.$ac_objext'
2616 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2617 >  (eval $ac_try) 2>&5
2618 >  ac_status=$?
2619 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620    (exit $ac_status); }; }; then
2621    :
2622   else
2623    echo "$as_me: failed program was:" >&5
2624 < cat conftest.$ac_ext >&5
2624 > sed 's/^/| /' conftest.$ac_ext >&5
2625 >
2626   continue
2627   fi
2628 < rm -f conftest.$ac_objext conftest.$ac_ext
2628 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2629    cat >conftest.$ac_ext <<_ACEOF
2630 < #line 1870 "configure"
2631 < #include "confdefs.h"
2630 > /* confdefs.h.  */
2631 > _ACEOF
2632 > cat confdefs.h >>conftest.$ac_ext
2633 > cat >>conftest.$ac_ext <<_ACEOF
2634 > /* end confdefs.h.  */
2635   $ac_declaration
2636   int
2637   main ()
# Line 1879 | Line 2642 | if { (eval echo "$as_me:1882: \"$ac_compile\"") >&5
2642   }
2643   _ACEOF
2644   rm -f conftest.$ac_objext
2645 < if { (eval echo "$as_me:1882: \"$ac_compile\"") >&5
2646 <  (eval $ac_compile) 2>&5
2645 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2646 >  (eval $ac_compile) 2>conftest.er1
2647    ac_status=$?
2648 <  echo "$as_me:1885: \$? = $ac_status" >&5
2648 >  grep -v '^ *+' conftest.er1 >conftest.err
2649 >  rm -f conftest.er1
2650 >  cat conftest.err >&5
2651 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652    (exit $ac_status); } &&
2653 <         { ac_try='test -s conftest.$ac_objext'
2654 <  { (eval echo "$as_me:1888: \"$ac_try\"") >&5
2653 >         { ac_try='test -z "$ac_c_werror_flag"
2654 >                         || test ! -s conftest.err'
2655 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2656    (eval $ac_try) 2>&5
2657    ac_status=$?
2658 <  echo "$as_me:1891: \$? = $ac_status" >&5
2658 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 >  (exit $ac_status); }; } &&
2660 >         { ac_try='test -s conftest.$ac_objext'
2661 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2662 >  (eval $ac_try) 2>&5
2663 >  ac_status=$?
2664 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665    (exit $ac_status); }; }; then
2666    break
2667   else
2668    echo "$as_me: failed program was:" >&5
2669 < cat conftest.$ac_ext >&5
2669 > sed 's/^/| /' conftest.$ac_ext >&5
2670 >
2671   fi
2672 < rm -f conftest.$ac_objext conftest.$ac_ext
2672 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2673   done
2674 < echo '#ifdef __cplusplus' >>confdefs.h
2675 < echo $ac_declaration      >>confdefs.h
2676 < echo '#endif'             >>confdefs.h
2674 > rm -f conftest*
2675 > if test -n "$ac_declaration"; then
2676 >  echo '#ifdef __cplusplus' >>confdefs.h
2677 >  echo $ac_declaration      >>confdefs.h
2678 >  echo '#endif'             >>confdefs.h
2679 > fi
2680  
2681   else
2682    echo "$as_me: failed program was:" >&5
2683 < cat conftest.$ac_ext >&5
2683 > sed 's/^/| /' conftest.$ac_ext >&5
2684 >
2685   fi
2686 < rm -f conftest.$ac_objext conftest.$ac_ext
2686 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2687   ac_ext=c
2688   ac_cpp='$CPP $CPPFLAGS'
2689   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2690   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2691   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2692  
2693 +
2694   ac_ext=cc
2695   ac_cpp='$CXXCPP $CPPFLAGS'
2696   ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 1922 | Line 2701 | echo "$as_me:1925: checking for $ac_word" >&5
2701    do
2702      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2703   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2704 < echo "$as_me:1925: checking for $ac_word" >&5
2704 > echo "$as_me:$LINENO: checking for $ac_word" >&5
2705   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2706   if test "${ac_cv_prog_CXX+set}" = set; then
2707    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1930 | Line 2709 | else
2709    if test -n "$CXX"; then
2710    ac_cv_prog_CXX="$CXX" # Let the user override the test.
2711   else
2712 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
2713 < ac_dummy="$PATH"
2714 < for ac_dir in $ac_dummy; do
2715 <  IFS=$ac_save_IFS
2716 <  test -z "$ac_dir" && ac_dir=.
2717 <  $as_executable_p "$ac_dir/$ac_word" || continue
2718 < ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2719 < echo "$as_me:1940: found $ac_dir/$ac_word" >&5
2720 < break
2712 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2713 > for as_dir in $PATH
2714 > do
2715 >  IFS=$as_save_IFS
2716 >  test -z "$as_dir" && as_dir=.
2717 >  for ac_exec_ext in '' $ac_executable_extensions; do
2718 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2719 >    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2720 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2721 >    break 2
2722 >  fi
2723   done
2724 + done
2725  
2726   fi
2727   fi
2728   CXX=$ac_cv_prog_CXX
2729   if test -n "$CXX"; then
2730 <  echo "$as_me:1948: result: $CXX" >&5
2730 >  echo "$as_me:$LINENO: result: $CXX" >&5
2731   echo "${ECHO_T}$CXX" >&6
2732   else
2733 <  echo "$as_me:1951: result: no" >&5
2733 >  echo "$as_me:$LINENO: result: no" >&5
2734   echo "${ECHO_T}no" >&6
2735   fi
2736  
# Line 1961 | Line 2743 | echo "$as_me:1964: checking for $ac_word" >&5
2743   do
2744    # Extract the first word of "$ac_prog", so it can be a program name with args.
2745   set dummy $ac_prog; ac_word=$2
2746 < echo "$as_me:1964: checking for $ac_word" >&5
2746 > echo "$as_me:$LINENO: checking for $ac_word" >&5
2747   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2748   if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2749    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1969 | Line 2751 | else
2751    if test -n "$ac_ct_CXX"; then
2752    ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2753   else
2754 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
2755 < ac_dummy="$PATH"
2756 < for ac_dir in $ac_dummy; do
2757 <  IFS=$ac_save_IFS
2758 <  test -z "$ac_dir" && ac_dir=.
2759 <  $as_executable_p "$ac_dir/$ac_word" || continue
2760 < ac_cv_prog_ac_ct_CXX="$ac_prog"
2761 < echo "$as_me:1979: found $ac_dir/$ac_word" >&5
2762 < break
2754 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2755 > for as_dir in $PATH
2756 > do
2757 >  IFS=$as_save_IFS
2758 >  test -z "$as_dir" && as_dir=.
2759 >  for ac_exec_ext in '' $ac_executable_extensions; do
2760 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2761 >    ac_cv_prog_ac_ct_CXX="$ac_prog"
2762 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2763 >    break 2
2764 >  fi
2765   done
2766 + done
2767  
2768   fi
2769   fi
2770   ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2771   if test -n "$ac_ct_CXX"; then
2772 <  echo "$as_me:1987: result: $ac_ct_CXX" >&5
2772 >  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2773   echo "${ECHO_T}$ac_ct_CXX" >&6
2774   else
2775 <  echo "$as_me:1990: result: no" >&5
2775 >  echo "$as_me:$LINENO: result: no" >&5
2776   echo "${ECHO_T}no" >&6
2777   fi
2778  
# Line 1998 | Line 2783 | echo "$as_me:2001: checking whether we are using the G
2783    CXX=$ac_ct_CXX
2784   fi
2785  
2786 < echo "$as_me:2001: checking whether we are using the GNU C++ compiler" >&5
2786 >
2787 > # Provide some information about the compiler.
2788 > echo "$as_me:$LINENO:" \
2789 >     "checking for C++ compiler version" >&5
2790 > ac_compiler=`set X $ac_compile; echo $2`
2791 > { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2792 >  (eval $ac_compiler --version </dev/null >&5) 2>&5
2793 >  ac_status=$?
2794 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 >  (exit $ac_status); }
2796 > { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2797 >  (eval $ac_compiler -v </dev/null >&5) 2>&5
2798 >  ac_status=$?
2799 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 >  (exit $ac_status); }
2801 > { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2802 >  (eval $ac_compiler -V </dev/null >&5) 2>&5
2803 >  ac_status=$?
2804 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 >  (exit $ac_status); }
2806 >
2807 > echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2808   echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2809   if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2810    echo $ECHO_N "(cached) $ECHO_C" >&6
2811   else
2812    cat >conftest.$ac_ext <<_ACEOF
2813 < #line 2007 "configure"
2814 < #include "confdefs.h"
2813 > /* confdefs.h.  */
2814 > _ACEOF
2815 > cat confdefs.h >>conftest.$ac_ext
2816 > cat >>conftest.$ac_ext <<_ACEOF
2817 > /* end confdefs.h.  */
2818  
2819   int
2820   main ()
# Line 2019 | Line 2828 | if { (eval echo "$as_me:2022: \"$ac_compile\"") >&5
2828   }
2829   _ACEOF
2830   rm -f conftest.$ac_objext
2831 < if { (eval echo "$as_me:2022: \"$ac_compile\"") >&5
2832 <  (eval $ac_compile) 2>&5
2831 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2832 >  (eval $ac_compile) 2>conftest.er1
2833    ac_status=$?
2834 <  echo "$as_me:2025: \$? = $ac_status" >&5
2834 >  grep -v '^ *+' conftest.er1 >conftest.err
2835 >  rm -f conftest.er1
2836 >  cat conftest.err >&5
2837 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838    (exit $ac_status); } &&
2839 <         { ac_try='test -s conftest.$ac_objext'
2840 <  { (eval echo "$as_me:2028: \"$ac_try\"") >&5
2839 >         { ac_try='test -z "$ac_cxx_werror_flag"
2840 >                         || test ! -s conftest.err'
2841 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2842    (eval $ac_try) 2>&5
2843    ac_status=$?
2844 <  echo "$as_me:2031: \$? = $ac_status" >&5
2844 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 >  (exit $ac_status); }; } &&
2846 >         { ac_try='test -s conftest.$ac_objext'
2847 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2848 >  (eval $ac_try) 2>&5
2849 >  ac_status=$?
2850 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851    (exit $ac_status); }; }; then
2852    ac_compiler_gnu=yes
2853   else
2854    echo "$as_me: failed program was:" >&5
2855 < cat conftest.$ac_ext >&5
2855 > sed 's/^/| /' conftest.$ac_ext >&5
2856 >
2857   ac_compiler_gnu=no
2858   fi
2859 < rm -f conftest.$ac_objext conftest.$ac_ext
2859 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2860   ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2861  
2862   fi
2863 < echo "$as_me:2043: result: $ac_cv_cxx_compiler_gnu" >&5
2863 > echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2864   echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2865   GXX=`test $ac_compiler_gnu = yes && echo yes`
2866   ac_test_CXXFLAGS=${CXXFLAGS+set}
2867   ac_save_CXXFLAGS=$CXXFLAGS
2868   CXXFLAGS="-g"
2869 < echo "$as_me:2049: checking whether $CXX accepts -g" >&5
2869 > echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2870   echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2871   if test "${ac_cv_prog_cxx_g+set}" = set; then
2872    echo $ECHO_N "(cached) $ECHO_C" >&6
2873   else
2874    cat >conftest.$ac_ext <<_ACEOF
2875 < #line 2055 "configure"
2876 < #include "confdefs.h"
2875 > /* confdefs.h.  */
2876 > _ACEOF
2877 > cat confdefs.h >>conftest.$ac_ext
2878 > cat >>conftest.$ac_ext <<_ACEOF
2879 > /* end confdefs.h.  */
2880  
2881   int
2882   main ()
# Line 2064 | Line 2887 | if { (eval echo "$as_me:2067: \"$ac_compile\"") >&5
2887   }
2888   _ACEOF
2889   rm -f conftest.$ac_objext
2890 < if { (eval echo "$as_me:2067: \"$ac_compile\"") >&5
2891 <  (eval $ac_compile) 2>&5
2890 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2891 >  (eval $ac_compile) 2>conftest.er1
2892    ac_status=$?
2893 <  echo "$as_me:2070: \$? = $ac_status" >&5
2893 >  grep -v '^ *+' conftest.er1 >conftest.err
2894 >  rm -f conftest.er1
2895 >  cat conftest.err >&5
2896 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897    (exit $ac_status); } &&
2898 <         { ac_try='test -s conftest.$ac_objext'
2899 <  { (eval echo "$as_me:2073: \"$ac_try\"") >&5
2898 >         { ac_try='test -z "$ac_cxx_werror_flag"
2899 >                         || test ! -s conftest.err'
2900 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2901    (eval $ac_try) 2>&5
2902    ac_status=$?
2903 <  echo "$as_me:2076: \$? = $ac_status" >&5
2903 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2904 >  (exit $ac_status); }; } &&
2905 >         { ac_try='test -s conftest.$ac_objext'
2906 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2907 >  (eval $ac_try) 2>&5
2908 >  ac_status=$?
2909 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910    (exit $ac_status); }; }; then
2911    ac_cv_prog_cxx_g=yes
2912   else
2913    echo "$as_me: failed program was:" >&5
2914 < cat conftest.$ac_ext >&5
2914 > sed 's/^/| /' conftest.$ac_ext >&5
2915 >
2916   ac_cv_prog_cxx_g=no
2917   fi
2918 < rm -f conftest.$ac_objext conftest.$ac_ext
2918 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2919   fi
2920 < echo "$as_me:2086: result: $ac_cv_prog_cxx_g" >&5
2920 > echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2921   echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2922   if test "$ac_test_CXXFLAGS" = set; then
2923    CXXFLAGS=$ac_save_CXXFLAGS
# Line 2101 | Line 2935 | for ac_declaration in \
2935    fi
2936   fi
2937   for ac_declaration in \
2938 <   ''\
2105 <   '#include <stdlib.h>' \
2938 >   '' \
2939     'extern "C" void std::exit (int) throw (); using std::exit;' \
2940     'extern "C" void std::exit (int); using std::exit;' \
2941     'extern "C" void exit (int) throw ();' \
# Line 2110 | Line 2943 | do
2943     'void exit (int);'
2944   do
2945    cat >conftest.$ac_ext <<_ACEOF
2946 < #line 2113 "configure"
2947 < #include "confdefs.h"
2948 < #include <stdlib.h>
2946 > /* confdefs.h.  */
2947 > _ACEOF
2948 > cat confdefs.h >>conftest.$ac_ext
2949 > cat >>conftest.$ac_ext <<_ACEOF
2950 > /* end confdefs.h.  */
2951   $ac_declaration
2952 + #include <stdlib.h>
2953   int
2954   main ()
2955   {
# Line 2123 | Line 2959 | if { (eval echo "$as_me:2126: \"$ac_compile\"") >&5
2959   }
2960   _ACEOF
2961   rm -f conftest.$ac_objext
2962 < if { (eval echo "$as_me:2126: \"$ac_compile\"") >&5
2963 <  (eval $ac_compile) 2>&5
2962 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2963 >  (eval $ac_compile) 2>conftest.er1
2964    ac_status=$?
2965 <  echo "$as_me:2129: \$? = $ac_status" >&5
2965 >  grep -v '^ *+' conftest.er1 >conftest.err
2966 >  rm -f conftest.er1
2967 >  cat conftest.err >&5
2968 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969    (exit $ac_status); } &&
2970 <         { ac_try='test -s conftest.$ac_objext'
2971 <  { (eval echo "$as_me:2132: \"$ac_try\"") >&5
2970 >         { ac_try='test -z "$ac_cxx_werror_flag"
2971 >                         || test ! -s conftest.err'
2972 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2973    (eval $ac_try) 2>&5
2974    ac_status=$?
2975 <  echo "$as_me:2135: \$? = $ac_status" >&5
2975 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976 >  (exit $ac_status); }; } &&
2977 >         { ac_try='test -s conftest.$ac_objext'
2978 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2979 >  (eval $ac_try) 2>&5
2980 >  ac_status=$?
2981 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982    (exit $ac_status); }; }; then
2983    :
2984   else
2985    echo "$as_me: failed program was:" >&5
2986 < cat conftest.$ac_ext >&5
2986 > sed 's/^/| /' conftest.$ac_ext >&5
2987 >
2988   continue
2989   fi
2990 < rm -f conftest.$ac_objext conftest.$ac_ext
2990 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2991    cat >conftest.$ac_ext <<_ACEOF
2992 < #line 2145 "configure"
2993 < #include "confdefs.h"
2992 > /* confdefs.h.  */
2993 > _ACEOF
2994 > cat confdefs.h >>conftest.$ac_ext
2995 > cat >>conftest.$ac_ext <<_ACEOF
2996 > /* end confdefs.h.  */
2997   $ac_declaration
2998   int
2999   main ()
# Line 2154 | Line 3004 | if { (eval echo "$as_me:2157: \"$ac_compile\"") >&5
3004   }
3005   _ACEOF
3006   rm -f conftest.$ac_objext
3007 < if { (eval echo "$as_me:2157: \"$ac_compile\"") >&5
3008 <  (eval $ac_compile) 2>&5
3007 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3008 >  (eval $ac_compile) 2>conftest.er1
3009    ac_status=$?
3010 <  echo "$as_me:2160: \$? = $ac_status" >&5
3010 >  grep -v '^ *+' conftest.er1 >conftest.err
3011 >  rm -f conftest.er1
3012 >  cat conftest.err >&5
3013 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014    (exit $ac_status); } &&
3015 <         { ac_try='test -s conftest.$ac_objext'
3016 <  { (eval echo "$as_me:2163: \"$ac_try\"") >&5
3015 >         { ac_try='test -z "$ac_cxx_werror_flag"
3016 >                         || test ! -s conftest.err'
3017 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3018    (eval $ac_try) 2>&5
3019    ac_status=$?
3020 <  echo "$as_me:2166: \$? = $ac_status" >&5
3020 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 >  (exit $ac_status); }; } &&
3022 >         { ac_try='test -s conftest.$ac_objext'
3023 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3024 >  (eval $ac_try) 2>&5
3025 >  ac_status=$?
3026 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027    (exit $ac_status); }; }; then
3028    break
3029   else
3030    echo "$as_me: failed program was:" >&5
3031 < cat conftest.$ac_ext >&5
3031 > sed 's/^/| /' conftest.$ac_ext >&5
3032 >
3033   fi
3034 < rm -f conftest.$ac_objext conftest.$ac_ext
3034 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3035   done
3036 < echo '#ifdef __cplusplus' >>confdefs.h
3037 < echo $ac_declaration      >>confdefs.h
3038 < echo '#endif'             >>confdefs.h
3036 > rm -f conftest*
3037 > if test -n "$ac_declaration"; then
3038 >  echo '#ifdef __cplusplus' >>confdefs.h
3039 >  echo $ac_declaration      >>confdefs.h
3040 >  echo '#endif'             >>confdefs.h
3041 > fi
3042 >
3043 > ac_ext=c
3044 > ac_cpp='$CPP $CPPFLAGS'
3045 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3046 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3047 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
3048 >
3049 >
3050 > ac_ext=c
3051 > ac_cpp='$CPP $CPPFLAGS'
3052 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3053 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3054 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
3055 > echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3056 > echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3057 > # On Suns, sometimes $CPP names a directory.
3058 > if test -n "$CPP" && test -d "$CPP"; then
3059 >  CPP=
3060 > fi
3061 > if test -z "$CPP"; then
3062 >  if test "${ac_cv_prog_CPP+set}" = set; then
3063 >  echo $ECHO_N "(cached) $ECHO_C" >&6
3064 > else
3065 >      # Double quotes because CPP needs to be expanded
3066 >    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3067 >    do
3068 >      ac_preproc_ok=false
3069 > for ac_c_preproc_warn_flag in '' yes
3070 > do
3071 >  # Use a header file that comes with gcc, so configuring glibc
3072 >  # with a fresh cross-compiler works.
3073 >  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3074 >  # <limits.h> exists even on freestanding compilers.
3075 >  # On the NeXT, cc -E runs the code through the compiler's parser,
3076 >  # not just through cpp. "Syntax error" is here to catch this case.
3077 >  cat >conftest.$ac_ext <<_ACEOF
3078 > /* confdefs.h.  */
3079 > _ACEOF
3080 > cat confdefs.h >>conftest.$ac_ext
3081 > cat >>conftest.$ac_ext <<_ACEOF
3082 > /* end confdefs.h.  */
3083 > #ifdef __STDC__
3084 > # include <limits.h>
3085 > #else
3086 > # include <assert.h>
3087 > #endif
3088 >                     Syntax error
3089 > _ACEOF
3090 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3091 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3092 >  ac_status=$?
3093 >  grep -v '^ *+' conftest.er1 >conftest.err
3094 >  rm -f conftest.er1
3095 >  cat conftest.err >&5
3096 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 >  (exit $ac_status); } >/dev/null; then
3098 >  if test -s conftest.err; then
3099 >    ac_cpp_err=$ac_c_preproc_warn_flag
3100 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3101 >  else
3102 >    ac_cpp_err=
3103 >  fi
3104 > else
3105 >  ac_cpp_err=yes
3106 > fi
3107 > if test -z "$ac_cpp_err"; then
3108 >  :
3109 > else
3110 >  echo "$as_me: failed program was:" >&5
3111 > sed 's/^/| /' conftest.$ac_ext >&5
3112 >
3113 >  # Broken: fails on valid input.
3114 > continue
3115 > fi
3116 > rm -f conftest.err conftest.$ac_ext
3117 >
3118 >  # OK, works on sane cases.  Now check whether non-existent headers
3119 >  # can be detected and how.
3120 >  cat >conftest.$ac_ext <<_ACEOF
3121 > /* confdefs.h.  */
3122 > _ACEOF
3123 > cat confdefs.h >>conftest.$ac_ext
3124 > cat >>conftest.$ac_ext <<_ACEOF
3125 > /* end confdefs.h.  */
3126 > #include <ac_nonexistent.h>
3127 > _ACEOF
3128 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3129 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3130 >  ac_status=$?
3131 >  grep -v '^ *+' conftest.er1 >conftest.err
3132 >  rm -f conftest.er1
3133 >  cat conftest.err >&5
3134 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 >  (exit $ac_status); } >/dev/null; then
3136 >  if test -s conftest.err; then
3137 >    ac_cpp_err=$ac_c_preproc_warn_flag
3138 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3139 >  else
3140 >    ac_cpp_err=
3141 >  fi
3142 > else
3143 >  ac_cpp_err=yes
3144 > fi
3145 > if test -z "$ac_cpp_err"; then
3146 >  # Broken: success on invalid input.
3147 > continue
3148 > else
3149 >  echo "$as_me: failed program was:" >&5
3150 > sed 's/^/| /' conftest.$ac_ext >&5
3151  
3152 +  # Passes both tests.
3153 + ac_preproc_ok=:
3154 + break
3155 + fi
3156 + rm -f conftest.err conftest.$ac_ext
3157 +
3158 + done
3159 + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3160 + rm -f conftest.err conftest.$ac_ext
3161 + if $ac_preproc_ok; then
3162 +  break
3163 + fi
3164 +
3165 +    done
3166 +    ac_cv_prog_CPP=$CPP
3167 +
3168 + fi
3169 +  CPP=$ac_cv_prog_CPP
3170 + else
3171 +  ac_cv_prog_CPP=$CPP
3172 + fi
3173 + echo "$as_me:$LINENO: result: $CPP" >&5
3174 + echo "${ECHO_T}$CPP" >&6
3175 + ac_preproc_ok=false
3176 + for ac_c_preproc_warn_flag in '' yes
3177 + do
3178 +  # Use a header file that comes with gcc, so configuring glibc
3179 +  # with a fresh cross-compiler works.
3180 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3181 +  # <limits.h> exists even on freestanding compilers.
3182 +  # On the NeXT, cc -E runs the code through the compiler's parser,
3183 +  # not just through cpp. "Syntax error" is here to catch this case.
3184 +  cat >conftest.$ac_ext <<_ACEOF
3185 + /* confdefs.h.  */
3186 + _ACEOF
3187 + cat confdefs.h >>conftest.$ac_ext
3188 + cat >>conftest.$ac_ext <<_ACEOF
3189 + /* end confdefs.h.  */
3190 + #ifdef __STDC__
3191 + # include <limits.h>
3192 + #else
3193 + # include <assert.h>
3194 + #endif
3195 +                     Syntax error
3196 + _ACEOF
3197 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3198 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3199 +  ac_status=$?
3200 +  grep -v '^ *+' conftest.er1 >conftest.err
3201 +  rm -f conftest.er1
3202 +  cat conftest.err >&5
3203 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204 +  (exit $ac_status); } >/dev/null; then
3205 +  if test -s conftest.err; then
3206 +    ac_cpp_err=$ac_c_preproc_warn_flag
3207 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3208 +  else
3209 +    ac_cpp_err=
3210 +  fi
3211 + else
3212 +  ac_cpp_err=yes
3213 + fi
3214 + if test -z "$ac_cpp_err"; then
3215 +  :
3216 + else
3217 +  echo "$as_me: failed program was:" >&5
3218 + sed 's/^/| /' conftest.$ac_ext >&5
3219 +
3220 +  # Broken: fails on valid input.
3221 + continue
3222 + fi
3223 + rm -f conftest.err conftest.$ac_ext
3224 +
3225 +  # OK, works on sane cases.  Now check whether non-existent headers
3226 +  # can be detected and how.
3227 +  cat >conftest.$ac_ext <<_ACEOF
3228 + /* confdefs.h.  */
3229 + _ACEOF
3230 + cat confdefs.h >>conftest.$ac_ext
3231 + cat >>conftest.$ac_ext <<_ACEOF
3232 + /* end confdefs.h.  */
3233 + #include <ac_nonexistent.h>
3234 + _ACEOF
3235 + if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3236 +  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3237 +  ac_status=$?
3238 +  grep -v '^ *+' conftest.er1 >conftest.err
3239 +  rm -f conftest.er1
3240 +  cat conftest.err >&5
3241 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 +  (exit $ac_status); } >/dev/null; then
3243 +  if test -s conftest.err; then
3244 +    ac_cpp_err=$ac_c_preproc_warn_flag
3245 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3246 +  else
3247 +    ac_cpp_err=
3248 +  fi
3249 + else
3250 +  ac_cpp_err=yes
3251 + fi
3252 + if test -z "$ac_cpp_err"; then
3253 +  # Broken: success on invalid input.
3254 + continue
3255 + else
3256 +  echo "$as_me: failed program was:" >&5
3257 + sed 's/^/| /' conftest.$ac_ext >&5
3258 +
3259 +  # Passes both tests.
3260 + ac_preproc_ok=:
3261 + break
3262 + fi
3263 + rm -f conftest.err conftest.$ac_ext
3264 +
3265 + done
3266 + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3267 + rm -f conftest.err conftest.$ac_ext
3268 + if $ac_preproc_ok; then
3269 +  :
3270 + else
3271 +  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3272 + See \`config.log' for more details." >&5
3273 + echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3274 + See \`config.log' for more details." >&2;}
3275 +   { (exit 1); exit 1; }; }
3276 + fi
3277 +
3278   ac_ext=c
3279   ac_cpp='$CPP $CPPFLAGS'
3280   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3281   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3282   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3283  
3284 +
3285 + echo "$as_me:$LINENO: checking for egrep" >&5
3286 + echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3287 + if test "${ac_cv_prog_egrep+set}" = set; then
3288 +  echo $ECHO_N "(cached) $ECHO_C" >&6
3289 + else
3290 +  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3291 +    then ac_cv_prog_egrep='grep -E'
3292 +    else ac_cv_prog_egrep='egrep'
3293 +    fi
3294 + fi
3295 + echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3296 + echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3297 + EGREP=$ac_cv_prog_egrep
3298 +
3299 +
3300 +
3301   OOPSE_TEMPLATE_FLAGS=""
3302   if test $ac_cv_cxx_compiler_gnu = no; then
3303 <  echo "$as_me:2187: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5
3303 >  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5
3304   echo $ECHO_N "checking checking whether ${CXX} accepts -ptused -no_prelink... $ECHO_C" >&6
3305    echo 'void f(){}' > conftest.cc
3306    if test -z "`${CXX} -ptused -no_prelink -c conftest.cc 2>&1`"; then
3307 <    echo "$as_me:2191: result: yes" >&5
3307 >    echo "$as_me:$LINENO: result: yes" >&5
3308   echo "${ECHO_T}yes" >&6
3309      OOPSE_TEMPLATE_FLAGS="-ptused -no_prelink"
3310    else
3311 <    echo "$as_me:2195: result: no" >&5
3311 >    echo "$as_me:$LINENO: result: no" >&5
3312   echo "${ECHO_T}no" >&6
3313    fi
3314    rm -f conftest*
3315 <  echo "$as_me:2199: checking checking whether ${CXX} accepts -instances=static" >&5
3315 >  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -instances=static" >&5
3316   echo $ECHO_N "checking checking whether ${CXX} accepts -instances=static... $ECHO_C" >&6
3317    echo 'void f(){}' > conftest.cc
3318    if test -z "`${CXX} -instances=static -c conftest.cc 2>&1`"; then
3319 <    echo "$as_me:2203: result: yes" >&5
3319 >    echo "$as_me:$LINENO: result: yes" >&5
3320   echo "${ECHO_T}yes" >&6
3321      OOPSE_TEMPLATE_FLAGS="-instances=static"
3322    else
3323 <    echo "$as_me:2207: result: no" >&5
3323 >    echo "$as_me:$LINENO: result: no" >&5
3324   echo "${ECHO_T}no" >&6
3325    fi
3326    rm -f conftest*
3327 <  echo "$as_me:2211: checking checking whether ${CXX} accepts -pto" >&5
3327 >  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -pto" >&5
3328   echo $ECHO_N "checking checking whether ${CXX} accepts -pto... $ECHO_C" >&6
3329    echo 'void f(){}' > conftest.cc
3330    if test -z "`${CXX} -pto -c conftest.cc 2>&1`"; then
3331 <    echo "$as_me:2215: result: yes" >&5
3331 >    echo "$as_me:$LINENO: result: yes" >&5
3332   echo "${ECHO_T}yes" >&6
3333      OOPSE_TEMPLATE_FLAGS="-pto"
3334    else
3335 <    echo "$as_me:2219: result: no" >&5
3335 >    echo "$as_me:$LINENO: result: no" >&5
3336   echo "${ECHO_T}no" >&6
3337    fi
3338    rm -f conftest*
3339 <  echo "$as_me:2223: checking checking whether ${CXX} accepts -LANG:std" >&5
3339 >  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -LANG:std" >&5
3340   echo $ECHO_N "checking checking whether ${CXX} accepts -LANG:std... $ECHO_C" >&6
3341    echo 'void f(){}' > conftest.cc
3342    if test -z "`${CXX} -LANG:std -c conftest.cc 2>&1`"; then
3343 <    echo "$as_me:2227: result: yes" >&5
3343 >    echo "$as_me:$LINENO: result: yes" >&5
3344   echo "${ECHO_T}yes" >&6
3345  
3346 +
3347      EXTRA_CC_FLAG=${EXTRA_CC_FLAG}" -LANG:std"
3348    else
3349 <    echo "$as_me:2232: result: no" >&5
3349 >    echo "$as_me:$LINENO: result: no" >&5
3350   echo "${ECHO_T}no" >&6
3351    fi
3352   fi
3353  
3354 +
3355 +
3356 +
3357   ac_ext=f90
3358   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3359   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 2243 | Line 3363 | echo "$as_me:2246: checking for $ac_word" >&5
3363    do
3364      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3365   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3366 < echo "$as_me:2246: checking for $ac_word" >&5
3366 > echo "$as_me:$LINENO: checking for $ac_word" >&5
3367   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3368   if test "${ac_cv_prog_F90+set}" = set; then
3369    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2251 | Line 3371 | else
3371    if test -n "$F90"; then
3372    ac_cv_prog_F90="$F90" # Let the user override the test.
3373   else
3374 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
3375 < ac_dummy="$PATH"
3376 < for ac_dir in $ac_dummy; do
3377 <  IFS=$ac_save_IFS
3378 <  test -z "$ac_dir" && ac_dir=.
3379 <  $as_executable_p "$ac_dir/$ac_word" || continue
3380 < ac_cv_prog_F90="$ac_tool_prefix$ac_prog"
3381 < echo "$as_me:2261: found $ac_dir/$ac_word" >&5
3382 < break
3374 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3375 > for as_dir in $PATH
3376 > do
3377 >  IFS=$as_save_IFS
3378 >  test -z "$as_dir" && as_dir=.
3379 >  for ac_exec_ext in '' $ac_executable_extensions; do
3380 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3381 >    ac_cv_prog_F90="$ac_tool_prefix$ac_prog"
3382 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3383 >    break 2
3384 >  fi
3385   done
3386 + done
3387  
3388   fi
3389   fi
3390   F90=$ac_cv_prog_F90
3391   if test -n "$F90"; then
3392 <  echo "$as_me:2269: result: $F90" >&5
3392 >  echo "$as_me:$LINENO: result: $F90" >&5
3393   echo "${ECHO_T}$F90" >&6
3394   else
3395 <  echo "$as_me:2272: result: no" >&5
3395 >  echo "$as_me:$LINENO: result: no" >&5
3396   echo "${ECHO_T}no" >&6
3397   fi
3398  
# Line 2282 | Line 3405 | echo "$as_me:2285: checking for $ac_word" >&5
3405   do
3406    # Extract the first word of "$ac_prog", so it can be a program name with args.
3407   set dummy $ac_prog; ac_word=$2
3408 < echo "$as_me:2285: checking for $ac_word" >&5
3408 > echo "$as_me:$LINENO: checking for $ac_word" >&5
3409   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3410   if test "${ac_cv_prog_ac_ct_F90+set}" = set; then
3411    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2290 | Line 3413 | else
3413    if test -n "$ac_ct_F90"; then
3414    ac_cv_prog_ac_ct_F90="$ac_ct_F90" # Let the user override the test.
3415   else
3416 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
3417 < ac_dummy="$PATH"
3418 < for ac_dir in $ac_dummy; do
3419 <  IFS=$ac_save_IFS
3420 <  test -z "$ac_dir" && ac_dir=.
3421 <  $as_executable_p "$ac_dir/$ac_word" || continue
3422 < ac_cv_prog_ac_ct_F90="$ac_prog"
3423 < echo "$as_me:2300: found $ac_dir/$ac_word" >&5
3424 < break
3416 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3417 > for as_dir in $PATH
3418 > do
3419 >  IFS=$as_save_IFS
3420 >  test -z "$as_dir" && as_dir=.
3421 >  for ac_exec_ext in '' $ac_executable_extensions; do
3422 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3423 >    ac_cv_prog_ac_ct_F90="$ac_prog"
3424 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3425 >    break 2
3426 >  fi
3427   done
3428 + done
3429  
3430   fi
3431   fi
3432   ac_ct_F90=$ac_cv_prog_ac_ct_F90
3433   if test -n "$ac_ct_F90"; then
3434 <  echo "$as_me:2308: result: $ac_ct_F90" >&5
3434 >  echo "$as_me:$LINENO: result: $ac_ct_F90" >&5
3435   echo "${ECHO_T}$ac_ct_F90" >&6
3436   else
3437 <  echo "$as_me:2311: result: no" >&5
3437 >  echo "$as_me:$LINENO: result: no" >&5
3438   echo "${ECHO_T}no" >&6
3439   fi
3440  
# Line 2318 | Line 3444 | fi
3444    F90=$ac_ct_F90
3445   fi
3446  
3447 +
3448   # If we don't use `.F90' as extension, the preprocessor is not run on the
3449   # input file.
3450   ac_save_ext=$ac_ext
3451   ac_ext=F90
3452 < echo "$as_me:2325: checking whether we are using the GNU Fortran 90 compiler" >&5
3452 > echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 90 compiler" >&5
3453   echo $ECHO_N "checking whether we are using the GNU Fortran 90 compiler... $ECHO_C" >&6
3454   if test "${ac_cv_f90_compiler_gnu+set}" = set; then
3455    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2339 | Line 3466 | if { (eval echo "$as_me:2342: \"$ac_compile\"") >&5
3466  
3467   _ACEOF
3468   rm -f conftest.$ac_objext
3469 < if { (eval echo "$as_me:2342: \"$ac_compile\"") >&5
3470 <  (eval $ac_compile) 2>&5
3469 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3470 >  (eval $ac_compile) 2>conftest.er1
3471    ac_status=$?
3472 <  echo "$as_me:2345: \$? = $ac_status" >&5
3472 >  grep -v '^ *+' conftest.er1 >conftest.err
3473 >  rm -f conftest.er1
3474 >  cat conftest.err >&5
3475 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3476    (exit $ac_status); } &&
3477 <         { ac_try='test -s conftest.$ac_objext'
3478 <  { (eval echo "$as_me:2348: \"$ac_try\"") >&5
3477 >         { ac_try='test -z "$ac_f90_werror_flag"
3478 >                         || test ! -s conftest.err'
3479 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3480    (eval $ac_try) 2>&5
3481    ac_status=$?
3482 <  echo "$as_me:2351: \$? = $ac_status" >&5
3482 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3483 >  (exit $ac_status); }; } &&
3484 >         { ac_try='test -s conftest.$ac_objext'
3485 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3486 >  (eval $ac_try) 2>&5
3487 >  ac_status=$?
3488 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3489    (exit $ac_status); }; }; then
3490    ac_compiler_gnu=yes
3491   else
3492    echo "$as_me: failed program was:" >&5
3493 < cat conftest.$ac_ext >&5
3493 > sed 's/^/| /' conftest.$ac_ext >&5
3494 >
3495   ac_compiler_gnu=no
3496   fi
3497 < rm -f conftest.$ac_objext conftest.$ac_ext
3497 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3498   ac_cv_f90_compiler_gnu=$ac_compiler_gnu
3499  
3500   fi
3501 < echo "$as_me:2363: result: $ac_cv_f90_compiler_gnu" >&5
3501 > echo "$as_me:$LINENO: result: $ac_cv_f90_compiler_gnu" >&5
3502   echo "${ECHO_T}$ac_cv_f90_compiler_gnu" >&6
3503   ac_ext=$ac_save_ext
3504   G95=`test $ac_compiler_gnu = yes && echo yes`
# Line 2370 | Line 3508 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3508   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3509   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3510  
3511 +
3512 +
3513 +
3514 +
3515   # Try to determine native compiler flags that allow us to use F90 suffix
3516   # for preprocessed f90 source.
3517  
# Line 2390 | Line 3532 | if test "$ac_test_PREPFLAG" != "set"; then
3532    esac
3533  
3534    if test -z "$PREPFLAG"; then
3535 <        { echo "$as_me:2393: WARNING: \"Using empty PREPFLAG\"" >&5
3535 >        { echo "$as_me:$LINENO: WARNING: \"Using empty PREPFLAG\"" >&5
3536   echo "$as_me: WARNING: \"Using empty PREPFLAG\"" >&2;}
3537          PREPFLAG=""
3538    fi
3539  
3540 <  echo "$as_me:2398: checking to make sure F90 preprocessor flag works" >&5
3540 >  echo "$as_me:$LINENO: checking to make sure F90 preprocessor flag works" >&5
3541   echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6
3542  
3543 +
3544    ac_ext=f90
3545   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3546   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 2413 | Line 3556 | program main
3556  
3557      cat >conftest.$ac_ext <<_ACEOF
3558  
3559 +
3560   program main
3561  
3562    integer :: i
3563    i = 1
3564  
3565 +
3566   end program main
3567  
3568   _ACEOF
3569   rm -f conftest.$ac_objext
3570 < if { (eval echo "$as_me:2425: \"$ac_compile\"") >&5
3571 <  (eval $ac_compile) 2>&5
3570 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3571 >  (eval $ac_compile) 2>conftest.er1
3572    ac_status=$?
3573 <  echo "$as_me:2428: \$? = $ac_status" >&5
3573 >  grep -v '^ *+' conftest.er1 >conftest.err
3574 >  rm -f conftest.er1
3575 >  cat conftest.err >&5
3576 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577    (exit $ac_status); } &&
3578 <         { ac_try='test -s conftest.$ac_objext'
3579 <  { (eval echo "$as_me:2431: \"$ac_try\"") >&5
3578 >         { ac_try='test -z "$ac_f90_werror_flag"
3579 >                         || test ! -s conftest.err'
3580 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3581    (eval $ac_try) 2>&5
3582    ac_status=$?
3583 <  echo "$as_me:2434: \$? = $ac_status" >&5
3583 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3584 >  (exit $ac_status); }; } &&
3585 >         { ac_try='test -s conftest.$ac_objext'
3586 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3587 >  (eval $ac_try) 2>&5
3588 >  ac_status=$?
3589 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590    (exit $ac_status); }; }; then
3591    prepflagworks=1
3592   else
3593    echo "$as_me: failed program was:" >&5
3594 < cat conftest.$ac_ext >&5
3594 > sed 's/^/| /' conftest.$ac_ext >&5
3595 >
3596   prepflagworks=0
3597   fi
3598 < rm -f conftest.$ac_objext conftest.$ac_ext
3598 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3599  
3600    F90FLAGS=$ac_save_F90FLAGS
3601    ac_ext=$ac_save_ext
# Line 2449 | Line 3605 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3605   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3606   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3607  
3608 +
3609    if test "$prepflagworks" = 1; then
3610 <    echo "$as_me:2453: result: yes" >&5
3610 >    echo "$as_me:$LINENO: result: yes" >&5
3611   echo "${ECHO_T}yes" >&6
3612  
3613    else
3614 <    echo "$as_me:2457: result: no" >&5
3614 >    echo "$as_me:$LINENO: result: no" >&5
3615   echo "${ECHO_T}no" >&6
3616 <    { { echo "$as_me:2459: error: Can't figure out working Fortran90 preprocessor flag" >&5
3616 >    { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor flag" >&5
3617   echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;}
3618     { (exit 1); exit 1; }; }
3619    fi
3620   fi
3621  
3622 +
3623 +
3624 +
3625 +
3626   # Try to determine native compiler flags that allow us to use F90 suffix
3627   # for preprocessed f90 source with -D type defines
3628  
# Line 2482 | Line 3643 | if test "$ac_test_PREPDEFFLAG" != "set"; then
3643    esac
3644  
3645    if test -z "$PREPDEFFLAG"; then
3646 <        { echo "$as_me:2485: WARNING: \"Using empty PREPDEFFLAG\"" >&5
3646 >        { echo "$as_me:$LINENO: WARNING: \"Using empty PREPDEFFLAG\"" >&5
3647   echo "$as_me: WARNING: \"Using empty PREPDEFFLAG\"" >&2;}
3648          PREPDEFFLAG=" "
3649    fi
3650  
3651 <  echo "$as_me:2490: checking to make sure F90 preprocessor define flag works" >&5
3651 >  echo "$as_me:$LINENO: checking to make sure F90 preprocessor define flag works" >&5
3652   echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6
3653  
3654 +
3655    ac_ext=f90
3656   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3657   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 2505 | Line 3667 | program main
3667  
3668      cat >conftest.$ac_ext <<_ACEOF
3669  
3670 +
3671   program main
3672  
3673    integer :: i
# Line 2514 | Line 3677 | end program main
3677    choke me
3678   #endif
3679  
3680 +
3681   end program main
3682  
3683   _ACEOF
3684   rm -f conftest.$ac_objext
3685 < if { (eval echo "$as_me:2521: \"$ac_compile\"") >&5
3686 <  (eval $ac_compile) 2>&5
3685 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3686 >  (eval $ac_compile) 2>conftest.er1
3687    ac_status=$?
3688 <  echo "$as_me:2524: \$? = $ac_status" >&5
3688 >  grep -v '^ *+' conftest.er1 >conftest.err
3689 >  rm -f conftest.er1
3690 >  cat conftest.err >&5
3691 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692    (exit $ac_status); } &&
3693 <         { ac_try='test -s conftest.$ac_objext'
3694 <  { (eval echo "$as_me:2527: \"$ac_try\"") >&5
3693 >         { ac_try='test -z "$ac_f90_werror_flag"
3694 >                         || test ! -s conftest.err'
3695 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3696    (eval $ac_try) 2>&5
3697    ac_status=$?
3698 <  echo "$as_me:2530: \$? = $ac_status" >&5
3698 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699 >  (exit $ac_status); }; } &&
3700 >         { ac_try='test -s conftest.$ac_objext'
3701 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3702 >  (eval $ac_try) 2>&5
3703 >  ac_status=$?
3704 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3705    (exit $ac_status); }; }; then
3706    prepdefflagworks=1
3707   else
3708    echo "$as_me: failed program was:" >&5
3709 < cat conftest.$ac_ext >&5
3709 > sed 's/^/| /' conftest.$ac_ext >&5
3710 >
3711   prepdefflagworks=0
3712   fi
3713 < rm -f conftest.$ac_objext conftest.$ac_ext
3713 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3714  
3715    F90FLAGS=$ac_save_F90FLAGS
3716    ac_ext=$ac_save_ext
# Line 2545 | Line 3720 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3720   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3721   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3722  
3723 +
3724 +
3725    if test "$prepdefflagworks" = 1; then
3726 <    echo "$as_me:2549: result: yes" >&5
3726 >    echo "$as_me:$LINENO: result: yes" >&5
3727   echo "${ECHO_T}yes" >&6
3728  
3729    else
3730 <    echo "$as_me:2553: result: no" >&5
3730 >    echo "$as_me:$LINENO: result: no" >&5
3731   echo "${ECHO_T}no" >&6
3732 <    { { echo "$as_me:2555: error: Can't figure out working Fortran90 preprocessor define flag" >&5
3732 >    { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor define flag" >&5
3733   echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;}
3734     { (exit 1); exit 1; }; }
3735    fi
# Line 2563 | Line 3740 | ac_ext=f90
3740   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3741   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3742  
3743 +
3744 +
3745   ac_ext=f90
3746   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3747   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3748   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3749 < echo "$as_me:2570: checking how to get verbose linking output from $F90" >&5
3749 > echo "$as_me:$LINENO: checking how to get verbose linking output from $F90" >&5
3750   echo $ECHO_N "checking how to get verbose linking output from $F90... $ECHO_C" >&6
3751   if test "${ac_cv_prog_f90_v+set}" = set; then
3752    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2577 | Line 3756 | end program main
3756  
3757   program main
3758  
3759 +
3760   end program main
3761  
3762   _ACEOF
3763   rm -f conftest.$ac_objext
3764 < if { (eval echo "$as_me:2584: \"$ac_compile\"") >&5
3765 <  (eval $ac_compile) 2>&5
3764 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3765 >  (eval $ac_compile) 2>conftest.er1
3766    ac_status=$?
3767 <  echo "$as_me:2587: \$? = $ac_status" >&5
3767 >  grep -v '^ *+' conftest.er1 >conftest.err
3768 >  rm -f conftest.er1
3769 >  cat conftest.err >&5
3770 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3771    (exit $ac_status); } &&
3772 <         { ac_try='test -s conftest.$ac_objext'
3773 <  { (eval echo "$as_me:2590: \"$ac_try\"") >&5
3772 >         { ac_try='test -z "$ac_f90_werror_flag"
3773 >                         || test ! -s conftest.err'
3774 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3775    (eval $ac_try) 2>&5
3776    ac_status=$?
3777 <  echo "$as_me:2593: \$? = $ac_status" >&5
3777 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 >  (exit $ac_status); }; } &&
3779 >         { ac_try='test -s conftest.$ac_objext'
3780 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3781 >  (eval $ac_try) 2>&5
3782 >  ac_status=$?
3783 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784    (exit $ac_status); }; }; then
3785    ac_cv_prog_f90_v=
3786   # Try some options frequently used verbose output
# Line 2604 | Line 3794 | end program main
3794  
3795   program main
3796  
3797 +
3798   end program main
3799  
3800   _ACEOF
# Line 2615 | Line 3806 | F90FLAGS="$F90FLAGS $ac_verb"
3806   ac_save_F90FLAGS=$F90FLAGS
3807   F90FLAGS="$F90FLAGS $ac_verb"
3808  
3809 < (eval echo $as_me:2618: \"$ac_link\") >&5
3809 > (eval echo $as_me:3809: \"$ac_link\") >&5
3810   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3811   echo "$ac_f90_v_output" >&5
3812   F90FLAGS=$ac_save_F90FLAGS
# Line 2647 | Line 3838 | if test -z "$ac_cv_prog_f90_v"; then
3838    done
3839   done
3840   if test -z "$ac_cv_prog_f90_v"; then
3841 <   { echo "$as_me:2650: WARNING: cannot determine how to obtain linking information from $F90" >&5
3841 >   { echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $F90" >&5
3842   echo "$as_me: WARNING: cannot determine how to obtain linking information from $F90" >&2;}
3843   fi
3844   else
3845    echo "$as_me: failed program was:" >&5
3846 < cat conftest.$ac_ext >&5
3847 < { echo "$as_me:2656: WARNING: compilation failed" >&5
3846 > sed 's/^/| /' conftest.$ac_ext >&5
3847 >
3848 > { echo "$as_me:$LINENO: WARNING: compilation failed" >&5
3849   echo "$as_me: WARNING: compilation failed" >&2;}
3850   fi
3851 < rm -f conftest.$ac_objext conftest.$ac_ext
3851 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3852  
3853   fi
3854 < echo "$as_me:2662: result: $ac_cv_prog_f90_v" >&5
3854 > echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5
3855   echo "${ECHO_T}$ac_cv_prog_f90_v" >&6
3856 < echo "$as_me:2664: checking for Fortran 90 libraries" >&5
3856 > echo "$as_me:$LINENO: checking for Fortran 90 libraries" >&5
3857   echo $ECHO_N "checking for Fortran 90 libraries... $ECHO_C" >&6
3858   if test "${ac_cv_flibs+set}" = set; then
3859    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2679 | Line 3871 | end program main
3871  
3872   program main
3873  
3874 +
3875   end program main
3876  
3877   _ACEOF
# Line 2690 | Line 3883 | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3883   ac_save_F90FLAGS=$F90FLAGS
3884   F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3885  
3886 < (eval echo $as_me:2693: \"$ac_link\") >&5
3886 > (eval echo $as_me:3886: \"$ac_link\") >&5
3887   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3888   echo "$ac_f90_v_output" >&5
3889   F90FLAGS=$ac_save_F90FLAGS
# Line 2843 | Line 4036 | echo "$as_me:2846: result: $ac_cv_flibs" >&5
4036   fi # test "x$F90LIBS" = "x"
4037  
4038   fi
4039 < echo "$as_me:2846: result: $ac_cv_flibs" >&5
4039 > echo "$as_me:$LINENO: result: $ac_cv_flibs" >&5
4040   echo "${ECHO_T}$ac_cv_flibs" >&6
4041   F90LIBS="$ac_cv_f90libs"
4042  
# Line 2852 | Line 4045 | echo "$as_me:2855: checking for Fortran 90 name-mangli
4045   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4046   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4047  
4048 < echo "$as_me:2855: checking for Fortran 90 name-mangling scheme" >&5
4048 >
4049 > echo "$as_me:$LINENO: checking for Fortran 90 name-mangling scheme" >&5
4050   echo $ECHO_N "checking for Fortran 90 name-mangling scheme... $ECHO_C" >&6
4051   if test "${ac_cv_f90_mangling+set}" = set; then
4052    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2870 | Line 4064 | if { (eval echo "$as_me:2873: \"$ac_compile\"") >&5
4064   end
4065   _ACEOF
4066   rm -f conftest.$ac_objext
4067 < if { (eval echo "$as_me:2873: \"$ac_compile\"") >&5
4068 <  (eval $ac_compile) 2>&5
4067 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4068 >  (eval $ac_compile) 2>conftest.er1
4069    ac_status=$?
4070 <  echo "$as_me:2876: \$? = $ac_status" >&5
4070 >  grep -v '^ *+' conftest.er1 >conftest.err
4071 >  rm -f conftest.er1
4072 >  cat conftest.err >&5
4073 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074    (exit $ac_status); } &&
4075 <         { ac_try='test -s conftest.$ac_objext'
4076 <  { (eval echo "$as_me:2879: \"$ac_try\"") >&5
4075 >         { ac_try='test -z "$ac_f90_werror_flag"
4076 >                         || test ! -s conftest.err'
4077 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4078 >  (eval $ac_try) 2>&5
4079 >  ac_status=$?
4080 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4081 >  (exit $ac_status); }; } &&
4082 >         { ac_try='test -s conftest.$ac_objext'
4083 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4084    (eval $ac_try) 2>&5
4085    ac_status=$?
4086 <  echo "$as_me:2882: \$? = $ac_status" >&5
4086 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4087    (exit $ac_status); }; }; then
4088    mv conftest.$ac_objext cf90_test.$ac_objext
4089  
# Line 2897 | Line 4101 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
4101      for ac_underscore in "" "_"; do
4102        ac_func="$ac_foobar$ac_underscore"
4103        cat >conftest.$ac_ext <<_ACEOF
4104 < #line 2900 "configure"
4105 < #include "confdefs.h"
4104 > /* confdefs.h.  */
4105 > _ACEOF
4106 > cat confdefs.h >>conftest.$ac_ext
4107 > cat >>conftest.$ac_ext <<_ACEOF
4108 > /* end confdefs.h.  */
4109  
4110   /* Override any gcc2 internal prototype to avoid an error.  */
4111   #ifdef __cplusplus
# Line 2916 | Line 4123 | if { (eval echo "$as_me:2919: \"$ac_link\"") >&5
4123   }
4124   _ACEOF
4125   rm -f conftest.$ac_objext conftest$ac_exeext
4126 < if { (eval echo "$as_me:2919: \"$ac_link\"") >&5
4127 <  (eval $ac_link) 2>&5
4126 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4127 >  (eval $ac_link) 2>conftest.er1
4128    ac_status=$?
4129 <  echo "$as_me:2922: \$? = $ac_status" >&5
4129 >  grep -v '^ *+' conftest.er1 >conftest.err
4130 >  rm -f conftest.er1
4131 >  cat conftest.err >&5
4132 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4133    (exit $ac_status); } &&
4134 <         { ac_try='test -s conftest$ac_exeext'
4135 <  { (eval echo "$as_me:2925: \"$ac_try\"") >&5
4134 >         { ac_try='test -z "$ac_c_werror_flag"
4135 >                         || test ! -s conftest.err'
4136 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4137    (eval $ac_try) 2>&5
4138    ac_status=$?
4139 <  echo "$as_me:2928: \$? = $ac_status" >&5
4139 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4140 >  (exit $ac_status); }; } &&
4141 >         { ac_try='test -s conftest$ac_exeext'
4142 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4143 >  (eval $ac_try) 2>&5
4144 >  ac_status=$?
4145 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4146    (exit $ac_status); }; }; then
4147    ac_success=yes; break 2
4148   else
4149    echo "$as_me: failed program was:" >&5
4150 < cat conftest.$ac_ext >&5
4150 > sed 's/^/| /' conftest.$ac_ext >&5
4151 >
4152   fi
4153 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4153 > rm -f conftest.err conftest.$ac_objext \
4154 >      conftest$ac_exeext conftest.$ac_ext
4155      done
4156    done
4157  
# Line 2953 | Line 4172 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
4172          ac_func="$ac_foo_bar$ac_underscore$ac_extra"
4173  
4174          cat >conftest.$ac_ext <<_ACEOF
4175 < #line 2956 "configure"
4176 < #include "confdefs.h"
4175 > /* confdefs.h.  */
4176 > _ACEOF
4177 > cat confdefs.h >>conftest.$ac_ext
4178 > cat >>conftest.$ac_ext <<_ACEOF
4179 > /* end confdefs.h.  */
4180  
4181   /* Override any gcc2 internal prototype to avoid an error.  */
4182   #ifdef __cplusplus
# Line 2972 | Line 4194 | if { (eval echo "$as_me:2975: \"$ac_link\"") >&5
4194   }
4195   _ACEOF
4196   rm -f conftest.$ac_objext conftest$ac_exeext
4197 < if { (eval echo "$as_me:2975: \"$ac_link\"") >&5
4198 <  (eval $ac_link) 2>&5
4197 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4198 >  (eval $ac_link) 2>conftest.er1
4199    ac_status=$?
4200 <  echo "$as_me:2978: \$? = $ac_status" >&5
4200 >  grep -v '^ *+' conftest.er1 >conftest.err
4201 >  rm -f conftest.er1
4202 >  cat conftest.err >&5
4203 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204    (exit $ac_status); } &&
4205 <         { ac_try='test -s conftest$ac_exeext'
4206 <  { (eval echo "$as_me:2981: \"$ac_try\"") >&5
4205 >         { ac_try='test -z "$ac_c_werror_flag"
4206 >                         || test ! -s conftest.err'
4207 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4208    (eval $ac_try) 2>&5
4209    ac_status=$?
4210 <  echo "$as_me:2984: \$? = $ac_status" >&5
4210 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4211 >  (exit $ac_status); }; } &&
4212 >         { ac_try='test -s conftest$ac_exeext'
4213 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4214 >  (eval $ac_try) 2>&5
4215 >  ac_status=$?
4216 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217    (exit $ac_status); }; }; then
4218    ac_success_extra=yes; break
4219   else
4220    echo "$as_me: failed program was:" >&5
4221 < cat conftest.$ac_ext >&5
4221 > sed 's/^/| /' conftest.$ac_ext >&5
4222 >
4223   fi
4224 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4224 > rm -f conftest.err conftest.$ac_objext \
4225 >      conftest$ac_exeext conftest.$ac_ext
4226       done
4227  
4228       if test "$ac_success_extra" = "yes"; then
# Line 3020 | Line 4254 | cat conftest.$ac_ext >&5
4254    rm -f cf90_test* conftest*
4255   else
4256    echo "$as_me: failed program was:" >&5
4257 < cat conftest.$ac_ext >&5
4257 > sed 's/^/| /' conftest.$ac_ext >&5
4258 >
4259   fi
4260 < rm -f conftest.$ac_objext conftest.$ac_ext
4260 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4261   ac_ext=f90
4262   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4263   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4264   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4265  
4266   fi
4267 < echo "$as_me:3032: result: $ac_cv_f90_mangling" >&5
4267 > echo "$as_me:$LINENO: result: $ac_cv_f90_mangling" >&5
4268   echo "${ECHO_T}$ac_cv_f90_mangling" >&6
4269  
4270 +
4271 +
4272   case $ac_cv_f90_mangling in
4273    "lower case, no underscore, no extra underscore")
4274 <          cat >>confdefs.h <<\EOF
4274 >          cat >>confdefs.h <<\_ACEOF
4275   #define F90_FUNC(name,NAME) name
4276 < EOF
4276 > _ACEOF
4277  
4278 <          cat >>confdefs.h <<\EOF
4278 >          cat >>confdefs.h <<\_ACEOF
4279   #define F90_FUNC_(name,NAME) name
4280 < EOF
4280 > _ACEOF
4281   ;;
4282    "lower case, no underscore, extra underscore")
4283 <          cat >>confdefs.h <<\EOF
4283 >          cat >>confdefs.h <<\_ACEOF
4284   #define F90_FUNC(name,NAME) name
4285 < EOF
4285 > _ACEOF
4286  
4287 <          cat >>confdefs.h <<\EOF
4287 >          cat >>confdefs.h <<\_ACEOF
4288   #define F90_FUNC_(name,NAME) name ## _
4289 < EOF
4289 > _ACEOF
4290   ;;
4291    "lower case, underscore, no extra underscore")
4292 <          cat >>confdefs.h <<\EOF
4292 >          cat >>confdefs.h <<\_ACEOF
4293   #define F90_FUNC(name,NAME) name ## _
4294 < EOF
4294 > _ACEOF
4295  
4296 <          cat >>confdefs.h <<\EOF
4296 >          cat >>confdefs.h <<\_ACEOF
4297   #define F90_FUNC_(name,NAME) name ## _
4298 < EOF
4298 > _ACEOF
4299   ;;
4300    "lower case, underscore, extra underscore")
4301 <          cat >>confdefs.h <<\EOF
4301 >          cat >>confdefs.h <<\_ACEOF
4302   #define F90_FUNC(name,NAME) name ## _
4303 < EOF
4303 > _ACEOF
4304  
4305 <          cat >>confdefs.h <<\EOF
4305 >          cat >>confdefs.h <<\_ACEOF
4306   #define F90_FUNC_(name,NAME) name ## __
4307 < EOF
4307 > _ACEOF
4308   ;;
4309    "upper case, no underscore, no extra underscore")
4310 <          cat >>confdefs.h <<\EOF
4310 >          cat >>confdefs.h <<\_ACEOF
4311   #define F90_FUNC(name,NAME) NAME
4312 < EOF
4313 <
4314 <          cat >>confdefs.h <<\EOF
4312 > _ACEOF
4313 >
4314 >          cat >>confdefs.h <<\_ACEOF
4315   #define F90_FUNC_(name,NAME) NAME
4316 < EOF
4316 > _ACEOF
4317   ;;
4318    "upper case, no underscore, extra underscore")
4319 <          cat >>confdefs.h <<\EOF
4319 >          cat >>confdefs.h <<\_ACEOF
4320   #define F90_FUNC(name,NAME) NAME
4321 < EOF
4321 > _ACEOF
4322  
4323 <          cat >>confdefs.h <<\EOF
4323 >          cat >>confdefs.h <<\_ACEOF
4324   #define F90_FUNC_(name,NAME) NAME ## _
4325 < EOF
4325 > _ACEOF
4326   ;;
4327    "upper case, underscore, no extra underscore")
4328 <          cat >>confdefs.h <<\EOF
4328 >          cat >>confdefs.h <<\_ACEOF
4329   #define F90_FUNC(name,NAME) NAME ## _
4330 < EOF
4330 > _ACEOF
4331  
4332 <          cat >>confdefs.h <<\EOF
4332 >          cat >>confdefs.h <<\_ACEOF
4333   #define F90_FUNC_(name,NAME) NAME ## _
4334 < EOF
4334 > _ACEOF
4335   ;;
4336    "upper case, underscore, extra underscore")
4337 <          cat >>confdefs.h <<\EOF
4337 >          cat >>confdefs.h <<\_ACEOF
4338   #define F90_FUNC(name,NAME) NAME ## _
4339 < EOF
4339 > _ACEOF
4340  
4341 <          cat >>confdefs.h <<\EOF
4341 >          cat >>confdefs.h <<\_ACEOF
4342   #define F90_FUNC_(name,NAME) NAME ## __
4343 < EOF
4343 > _ACEOF
4344   ;;
4345    *)
4346 <          { echo "$as_me:3109: WARNING: unknown Fortran 90 name-mangling scheme" >&5
4346 >          { echo "$as_me:$LINENO: WARNING: unknown Fortran 90 name-mangling scheme" >&5
4347   echo "$as_me: WARNING: unknown Fortran 90 name-mangling scheme" >&2;}
4348            ;;
4349   esac
4350  
4351 < echo "$as_me:3114: checking for module suffix" >&5
4351 >
4352 >
4353 >
4354 >
4355 > echo "$as_me:$LINENO: checking for module suffix" >&5
4356   echo $ECHO_N "checking for module suffix... $ECHO_C" >&6
4357   rm -f conftest*
4358   # Intel ifc compiler generates files by the name of work.pc and work.pcl (!)
# Line 3138 | Line 4379 | if $F90 -c conftest.f90 > conftest.out 2>&1 ; then
4379          fi
4380      fi
4381      if test -z "$MOD" ; then
4382 <        echo "$as_me:3141: result: unknown" >&5
4382 >        echo "$as_me:$LINENO: result: unknown" >&5
4383   echo "${ECHO_T}unknown" >&6
4384          # Use mod if we can't figure it out
4385          MOD="mod"
4386      else
4387 <        echo "$as_me:3146: result: $MOD" >&5
4387 >        echo "$as_me:$LINENO: result: $MOD" >&5
4388   echo "${ECHO_T}$MOD" >&6
4389      fi
4390      if test -s work.pcl ; then
4391 <        { echo "$as_me:3150: WARNING: Compiler generates auxillery files!" >&5
4391 >        { echo "$as_me:$LINENO: WARNING: Compiler generates auxillery files!" >&5
4392   echo "$as_me: WARNING: Compiler generates auxillery files!" >&2;}
4393      fi
4394   else
4395 <    echo "$as_me:3154: result: unknown" >&5
4395 >    echo "$as_me:$LINENO: result: unknown" >&5
4396   echo "${ECHO_T}unknown" >&6
4397   fi
4398  
4399 +
4400 +
4401 +
4402 +
4403   # Check for module include path (some use -I, some (Solaris) use -M, some
4404   # (absoft) use -p).
4405   # Intel compilers use a wierd system: -cl,filename.pcl .  If no file is
4406   # specified, work.pcl and work.pc are created.  However, if you specify
4407   # a file, it must contain a the name of a file ending in .pc .  Ugh!
4408   # Use the module made above
4409 < echo "$as_me:3164: checking for module directory path flag" >&5
4409 > echo "$as_me:$LINENO: checking for module directory path flag" >&5
4410   echo $ECHO_N "checking for module directory path flag... $ECHO_C" >&6
4411   rm -f conftest*
4412   # Intel ifc compiler generates files by the name of work.pc and work.pcl (!)
# Line 3195 | Line 4440 | EOF
4440     if $F90 -c -Iconf conftest1.f90 > conftest.out 2>&1 ; then
4441         MODDIRFLAG="-I"
4442         F90MODINCSPEC="-I<dir>"
4443 <       echo "$as_me:3198: result: -I" >&5
4443 >       echo "$as_me:$LINENO: result: -I" >&5
4444   echo "${ECHO_T}-I" >&6
4445     elif $F90 -c -Mconf conftest1.f90 >> conftest.out 2>&1 ; then
4446         MODDIRFLAG="-M"
4447         F90MODINCSPEC="-M<dir>"
4448 <       echo "$as_me:3203: result: -M" >&5
4448 >       echo "$as_me:$LINENO: result: -M" >&5
4449   echo "${ECHO_T}-M" >&6
4450     elif $F90 -c -pconf conftest1.f90 >> conftest.out 2>&1 ; then
4451         MODDIRFLAG="-p"
4452         F90MODINCSPEC="-p<dir>"
4453 <       echo "$as_me:3208: result: -p" >&5
4453 >       echo "$as_me:$LINENO: result: -p" >&5
4454   echo "${ECHO_T}-p" >&6
4455     elif test -s work.pc ; then
4456          cp work.pc conf/mpimod.pc
# Line 3213 | Line 4458 | echo "${ECHO_T}-p" >&6
4458          echo "`pwd`/conf/mpimod.pc" >> conf/mpimod.pcl
4459          if $F90 -c -cl,conf/mpimod.pcl conftest1.f >>conftest.out 2>&1 ; then
4460              MODDIRFLAG='-cl,mpimod.pcl'
4461 <            echo "$as_me:3216: result: -cl,filename where filename contains a list of files and directories" >&5
4461 >            echo "$as_me:$LINENO: result: -cl,filename where filename contains a list of files and directories" >&5
4462   echo "${ECHO_T}-cl,filename where filename contains a list of files and directories" >&6
4463              F90_WORK_FILES_ARG="-cl,mpimod.pcl"
4464              F90MODINCSPEC="-cl,<dir>/<file>mod.pcl"
# Line 3226 | Line 4471 | echo "${ECHO_T}-cl,filename where filename contains a
4471          fi
4472     fi
4473     if test -z "MODDIRFLAG" ; then
4474 <       echo "$as_me:3229: result: unknown" >&5
4474 >       echo "$as_me:$LINENO: result: unknown" >&5
4475   echo "${ECHO_T}unknown" >&6
4476     fi
4477  
4478 +
4479     rm -f conftest* conf/conftest* conf/CONFTEST* CONFTEST* conf/mpimod*
4480     if test $madedir = 1 ; then rmdir conf ; fi
4481   fi
4482  
4483 < echo "$as_me:3237: checking for Fortran 90 module file names" >&5
4483 >
4484 > echo "$as_me:$LINENO: checking for Fortran 90 module file names" >&5
4485   echo $ECHO_N "checking for Fortran 90 module file names... $ECHO_C" >&6
4486   if test "${ac_cv_f90_module_names+set}" = set; then
4487    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3252 | Line 4499 | if { (eval echo "$as_me:3255: \"$ac_compile\"") >&5
4499   END MODULE Bar
4500   _ACEOF
4501   rm -f conftest.$ac_objext
4502 < if { (eval echo "$as_me:3255: \"$ac_compile\"") >&5
4503 <  (eval $ac_compile) 2>&5
4504 <  ac_status=$?
4505 <  echo "$as_me:3258: \$? = $ac_status" >&5
4502 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4503 >  (eval $ac_compile) 2>conftest.er1
4504 >  ac_status=$?
4505 >  grep -v '^ *+' conftest.er1 >conftest.err
4506 >  rm -f conftest.er1
4507 >  cat conftest.err >&5
4508 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509    (exit $ac_status); } &&
4510 <         { ac_try='test -s conftest.$ac_objext'
4511 <  { (eval echo "$as_me:3261: \"$ac_try\"") >&5
4510 >         { ac_try='test -z "$ac_f90_werror_flag"
4511 >                         || test ! -s conftest.err'
4512 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4513    (eval $ac_try) 2>&5
4514    ac_status=$?
4515 <  echo "$as_me:3264: \$? = $ac_status" >&5
4515 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4516 >  (exit $ac_status); }; } &&
4517 >         { ac_try='test -s conftest.$ac_objext'
4518 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4519 >  (eval $ac_try) 2>&5
4520 >  ac_status=$?
4521 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4522    (exit $ac_status); }; }; then
4523    ac_cv_f90_module_names=
4524   ac_file_list=*
# Line 3344 | Line 4601 | fi
4601            ;;
4602         # Other files - we have no idea how they are generated
4603         *)
4604 <          { echo "$as_me:3347: WARNING: Bogus file found: $ac_file" >&5
4604 >          { echo "$as_me:$LINENO: WARNING: Bogus file found: $ac_file" >&5
4605   echo "$as_me: WARNING: Bogus file found: $ac_file" >&2;}
4606            ;;
4607     esac
4608   done
4609   if test "x$ac_cv_f90_module_names" = "x"; then
4610 <  { echo "$as_me:3353: WARNING: Couldn't determine module file names" >&5
4610 >  { echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5
4611   echo "$as_me: WARNING: Couldn't determine module file names" >&2;}
4612   fi
4613  
4614   else
4615    echo "$as_me: failed program was:" >&5
4616 < cat conftest.$ac_ext >&5
4616 > sed 's/^/| /' conftest.$ac_ext >&5
4617 >
4618   ac_cv_f90_module_names=
4619 < { echo "$as_me:3361: WARNING: Couldn't determine module file names" >&5
4619 > { echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5
4620   echo "$as_me: WARNING: Couldn't determine module file names" >&2;}
4621   fi
4622 < rm -f conftest.$ac_objext conftest.$ac_ext
4622 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4623   cd ..
4624   # cleanup
4625   rm -rf conftest
# Line 3371 | Line 4629 | echo "$as_me:3374: result: $ac_cv_f90_module_names" >&
4629   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4630  
4631   fi
4632 < echo "$as_me:3374: result: $ac_cv_f90_module_names" >&5
4632 > echo "$as_me:$LINENO: result: $ac_cv_f90_module_names" >&5
4633   echo "${ECHO_T}$ac_cv_f90_module_names" >&6 # AC_CACHE_CHECK
4634  
4635   # We now generate a shell script that will help us to figure out the correct
# Line 3456 | Line 4714 | ac_ext=c
4714   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4715   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4716  
3459 ac_ext=c
3460 ac_cpp='$CPP $CPPFLAGS'
3461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4717  
4718 < ac_ext=c
4719 < ac_cpp='$CPP $CPPFLAGS'
4720 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4721 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4722 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
4723 < echo "$as_me:3470: checking how to run the C preprocessor" >&5
4724 < echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4725 < # On Suns, sometimes $CPP names a directory.
4726 < if test -n "$CPP" && test -d "$CPP"; then
4727 <  CPP=
4728 < fi
3476 < if test -z "$CPP"; then
3477 <  if test "${ac_cv_prog_CPP+set}" = set; then
4718 > ac_ext=cc
4719 > ac_cpp='$CXXCPP $CPPFLAGS'
4720 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4721 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4722 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4723 >
4724 >
4725 >
4726 > echo "$as_me:$LINENO: checking for asin in -lm" >&5
4727 > echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
4728 > if test "${ac_cv_lib_m_asin+set}" = set; then
4729    echo $ECHO_N "(cached) $ECHO_C" >&6
4730   else
4731 <      # Double quotes because CPP needs to be expanded
4732 <    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4733 <    do
4734 <      # break 2 since there is a loop in there.
3484 <      ac_preproc_ok=false
3485 < for ac_c_preproc_warn_flag in '' yes
3486 < do
3487 <  # Use a header file that comes with gcc, so configuring glibc
3488 <  # with a fresh cross-compiler works.
3489 <  # On the NeXT, cc -E runs the code through the compiler's parser,
3490 <  # not just through cpp. "Syntax error" is here to catch this case.
3491 <  cat >conftest.$ac_ext <<_ACEOF
3492 < #line 3492 "configure"
3493 < #include "confdefs.h"
3494 < #include <assert.h>
3495 <                     Syntax error
4731 >  ac_check_lib_save_LIBS=$LIBS
4732 > LIBS="-lm  $LIBS"
4733 > cat >conftest.$ac_ext <<_ACEOF
4734 > /* confdefs.h.  */
4735   _ACEOF
4736 < if { (eval echo "$as_me:3497: \"$ac_cpp conftest.$ac_ext\"") >&5
4737 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4738 <  ac_status=$?
3500 <  egrep -v '^ *\+' conftest.er1 >conftest.err
3501 <  rm -f conftest.er1
3502 <  cat conftest.err >&5
3503 <  echo "$as_me:3503: \$? = $ac_status" >&5
3504 <  (exit $ac_status); } >/dev/null; then
3505 <  if test -s conftest.err; then
3506 <    ac_cpp_err=$ac_c_preproc_warn_flag
3507 <  else
3508 <    ac_cpp_err=
3509 <  fi
3510 < else
3511 <  ac_cpp_err=yes
3512 < fi
3513 < if test -z "$ac_cpp_err"; then
3514 <  :
3515 < else
3516 <  echo "$as_me: failed program was:" >&5
3517 <  cat conftest.$ac_ext >&5
3518 <  # Broken: fails on valid input.
3519 < continue
3520 < fi
3521 < rm -f conftest.err conftest.$ac_ext
4736 > cat confdefs.h >>conftest.$ac_ext
4737 > cat >>conftest.$ac_ext <<_ACEOF
4738 > /* end confdefs.h.  */
4739  
4740 <  # OK, works on sane cases.  Now check whether non-existent headers
4741 <  # can be detected and how.
4742 <  cat >conftest.$ac_ext <<_ACEOF
4743 < #line 3526 "configure"
4744 < #include "confdefs.h"
4745 < #include <ac_nonexistent.h>
4740 > /* Override any gcc2 internal prototype to avoid an error.  */
4741 > #ifdef __cplusplus
4742 > extern "C"
4743 > #endif
4744 > /* We use char because int might match the return type of a gcc2
4745 >   builtin and then its argument prototype would still apply.  */
4746 > char asin ();
4747 > int
4748 > main ()
4749 > {
4750 > asin ();
4751 >  ;
4752 >  return 0;
4753 > }
4754   _ACEOF
4755 < if { (eval echo "$as_me:3530: \"$ac_cpp conftest.$ac_ext\"") >&5
4756 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4755 > rm -f conftest.$ac_objext conftest$ac_exeext
4756 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4757 >  (eval $ac_link) 2>conftest.er1
4758    ac_status=$?
4759 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4759 >  grep -v '^ *+' conftest.er1 >conftest.err
4760    rm -f conftest.er1
4761    cat conftest.err >&5
4762 <  echo "$as_me:3536: \$? = $ac_status" >&5
4763 <  (exit $ac_status); } >/dev/null; then
4764 <  if test -s conftest.err; then
4765 <    ac_cpp_err=$ac_c_preproc_warn_flag
4766 <  else
4767 <    ac_cpp_err=
4768 <  fi
4762 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4763 >  (exit $ac_status); } &&
4764 >         { ac_try='test -z "$ac_cxx_werror_flag"
4765 >                         || test ! -s conftest.err'
4766 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4767 >  (eval $ac_try) 2>&5
4768 >  ac_status=$?
4769 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770 >  (exit $ac_status); }; } &&
4771 >         { ac_try='test -s conftest$ac_exeext'
4772 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4773 >  (eval $ac_try) 2>&5
4774 >  ac_status=$?
4775 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4776 >  (exit $ac_status); }; }; then
4777 >  ac_cv_lib_m_asin=yes
4778   else
3544  ac_cpp_err=yes
3545 fi
3546 if test -z "$ac_cpp_err"; then
3547  # Broken: success on invalid input.
3548 continue
3549 else
4779    echo "$as_me: failed program was:" >&5
4780 <  cat conftest.$ac_ext >&5
3552 <  # Passes both tests.
3553 < ac_preproc_ok=:
3554 < break
3555 < fi
3556 < rm -f conftest.err conftest.$ac_ext
4780 > sed 's/^/| /' conftest.$ac_ext >&5
4781  
4782 < done
3559 < # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3560 < rm -f conftest.err conftest.$ac_ext
3561 < if $ac_preproc_ok; then
3562 <  break 2
4782 > ac_cv_lib_m_asin=no
4783   fi
4784 <
4785 <    done
4786 <    ac_cv_prog_CPP=$CPP
3567 <
4784 > rm -f conftest.err conftest.$ac_objext \
4785 >      conftest$ac_exeext conftest.$ac_ext
4786 > LIBS=$ac_check_lib_save_LIBS
4787   fi
4788 <  CPP=$ac_cv_prog_CPP
4788 > echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
4789 > echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
4790 > if test $ac_cv_lib_m_asin = yes; then
4791 >  cat >>confdefs.h <<_ACEOF
4792 > #define HAVE_LIBM 1
4793 > _ACEOF
4794 >
4795 >  LIBS="-lm $LIBS"
4796 >
4797   else
4798 <  ac_cv_prog_CPP=$CPP
4798 >  exit
4799   fi
4800 < echo "$as_me:3573: result: $CPP" >&5
4801 < echo "${ECHO_T}$CPP" >&6
4802 < ac_preproc_ok=false
4803 < for ac_c_preproc_warn_flag in '' yes
4804 < do
4805 <  # Use a header file that comes with gcc, so configuring glibc
4806 <  # with a fresh cross-compiler works.
4807 <  # On the NeXT, cc -E runs the code through the compiler's parser,
4808 <  # not just through cpp. "Syntax error" is here to catch this case.
4800 >
4801 >
4802 > ac_ext=c
4803 > ac_cpp='$CPP $CPPFLAGS'
4804 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4805 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4806 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
4807 >
4808 >
4809 > echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4810 > echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4811 > if test "${ac_cv_header_stdc+set}" = set; then
4812 >  echo $ECHO_N "(cached) $ECHO_C" >&6
4813 > else
4814    cat >conftest.$ac_ext <<_ACEOF
4815 < #line 3583 "configure"
3584 < #include "confdefs.h"
3585 < #include <assert.h>
3586 <                     Syntax error
4815 > /* confdefs.h.  */
4816   _ACEOF
4817 < if { (eval echo "$as_me:3588: \"$ac_cpp conftest.$ac_ext\"") >&5
4818 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4817 > cat confdefs.h >>conftest.$ac_ext
4818 > cat >>conftest.$ac_ext <<_ACEOF
4819 > /* end confdefs.h.  */
4820 > #include <stdlib.h>
4821 > #include <stdarg.h>
4822 > #include <string.h>
4823 > #include <float.h>
4824 >
4825 > int
4826 > main ()
4827 > {
4828 >
4829 >  ;
4830 >  return 0;
4831 > }
4832 > _ACEOF
4833 > rm -f conftest.$ac_objext
4834 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4835 >  (eval $ac_compile) 2>conftest.er1
4836    ac_status=$?
4837 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4837 >  grep -v '^ *+' conftest.er1 >conftest.err
4838    rm -f conftest.er1
4839    cat conftest.err >&5
4840 <  echo "$as_me:3594: \$? = $ac_status" >&5
4841 <  (exit $ac_status); } >/dev/null; then
4842 <  if test -s conftest.err; then
4843 <    ac_cpp_err=$ac_c_preproc_warn_flag
4844 <  else
4845 <    ac_cpp_err=
4846 <  fi
4840 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841 >  (exit $ac_status); } &&
4842 >         { ac_try='test -z "$ac_c_werror_flag"
4843 >                         || test ! -s conftest.err'
4844 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4845 >  (eval $ac_try) 2>&5
4846 >  ac_status=$?
4847 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 >  (exit $ac_status); }; } &&
4849 >         { ac_try='test -s conftest.$ac_objext'
4850 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4851 >  (eval $ac_try) 2>&5
4852 >  ac_status=$?
4853 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 >  (exit $ac_status); }; }; then
4855 >  ac_cv_header_stdc=yes
4856   else
4857 <  ac_cpp_err=yes
4857 >  echo "$as_me: failed program was:" >&5
4858 > sed 's/^/| /' conftest.$ac_ext >&5
4859 >
4860 > ac_cv_header_stdc=no
4861   fi
4862 < if test -z "$ac_cpp_err"; then
4862 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4863 >
4864 > if test $ac_cv_header_stdc = yes; then
4865 >  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4866 >  cat >conftest.$ac_ext <<_ACEOF
4867 > /* confdefs.h.  */
4868 > _ACEOF
4869 > cat confdefs.h >>conftest.$ac_ext
4870 > cat >>conftest.$ac_ext <<_ACEOF
4871 > /* end confdefs.h.  */
4872 > #include <string.h>
4873 >
4874 > _ACEOF
4875 > if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4876 >  $EGREP "memchr" >/dev/null 2>&1; then
4877    :
4878   else
4879 <  echo "$as_me: failed program was:" >&5
3608 <  cat conftest.$ac_ext >&5
3609 <  # Broken: fails on valid input.
3610 < continue
4879 >  ac_cv_header_stdc=no
4880   fi
4881 < rm -f conftest.err conftest.$ac_ext
4881 > rm -f conftest*
4882  
4883 <  # OK, works on sane cases.  Now check whether non-existent headers
4884 <  # can be detected and how.
4883 > fi
4884 >
4885 > if test $ac_cv_header_stdc = yes; then
4886 >  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4887    cat >conftest.$ac_ext <<_ACEOF
4888 < #line 3617 "configure"
3618 < #include "confdefs.h"
3619 < #include <ac_nonexistent.h>
4888 > /* confdefs.h.  */
4889   _ACEOF
4890 < if { (eval echo "$as_me:3621: \"$ac_cpp conftest.$ac_ext\"") >&5
4891 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4892 <  ac_status=$?
4893 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4894 <  rm -f conftest.er1
4895 <  cat conftest.err >&5
4896 <  echo "$as_me:3627: \$? = $ac_status" >&5
4897 <  (exit $ac_status); } >/dev/null; then
4898 <  if test -s conftest.err; then
3630 <    ac_cpp_err=$ac_c_preproc_warn_flag
3631 <  else
3632 <    ac_cpp_err=
3633 <  fi
4890 > cat confdefs.h >>conftest.$ac_ext
4891 > cat >>conftest.$ac_ext <<_ACEOF
4892 > /* end confdefs.h.  */
4893 > #include <stdlib.h>
4894 >
4895 > _ACEOF
4896 > if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4897 >  $EGREP "free" >/dev/null 2>&1; then
4898 >  :
4899   else
4900 <  ac_cpp_err=yes
4900 >  ac_cv_header_stdc=no
4901   fi
4902 < if test -z "$ac_cpp_err"; then
4903 <  # Broken: success on invalid input.
3639 < continue
3640 < else
3641 <  echo "$as_me: failed program was:" >&5
3642 <  cat conftest.$ac_ext >&5
3643 <  # Passes both tests.
3644 < ac_preproc_ok=:
3645 < break
4902 > rm -f conftest*
4903 >
4904   fi
3647 rm -f conftest.err conftest.$ac_ext
4905  
4906 < done
4907 < # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4908 < rm -f conftest.err conftest.$ac_ext
3652 < if $ac_preproc_ok; then
4906 > if test $ac_cv_header_stdc = yes; then
4907 >  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4908 >  if test "$cross_compiling" = yes; then
4909    :
4910   else
4911 <  { { echo "$as_me:3655: error: C preprocessor \"$CPP\" fails sanity check" >&5
4912 < echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
4913 <   { (exit 1); exit 1; }; }
4911 >  cat >conftest.$ac_ext <<_ACEOF
4912 > /* confdefs.h.  */
4913 > _ACEOF
4914 > cat confdefs.h >>conftest.$ac_ext
4915 > cat >>conftest.$ac_ext <<_ACEOF
4916 > /* end confdefs.h.  */
4917 > #include <ctype.h>
4918 > #if ((' ' & 0x0FF) == 0x020)
4919 > # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4920 > # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4921 > #else
4922 > # define ISLOWER(c) \
4923 >                   (('a' <= (c) && (c) <= 'i') \
4924 >                     || ('j' <= (c) && (c) <= 'r') \
4925 >                     || ('s' <= (c) && (c) <= 'z'))
4926 > # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4927 > #endif
4928 >
4929 > #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4930 > int
4931 > main ()
4932 > {
4933 >  int i;
4934 >  for (i = 0; i < 256; i++)
4935 >    if (XOR (islower (i), ISLOWER (i))
4936 >        || toupper (i) != TOUPPER (i))
4937 >      exit(2);
4938 >  exit (0);
4939 > }
4940 > _ACEOF
4941 > rm -f conftest$ac_exeext
4942 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4943 >  (eval $ac_link) 2>&5
4944 >  ac_status=$?
4945 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946 >  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4947 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4948 >  (eval $ac_try) 2>&5
4949 >  ac_status=$?
4950 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4951 >  (exit $ac_status); }; }; then
4952 >  :
4953 > else
4954 >  echo "$as_me: program exited with status $ac_status" >&5
4955 > echo "$as_me: failed program was:" >&5
4956 > sed 's/^/| /' conftest.$ac_ext >&5
4957 >
4958 > ( exit $ac_status )
4959 > ac_cv_header_stdc=no
4960   fi
4961 + rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4962 + fi
4963 + fi
4964 + fi
4965 + echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4966 + echo "${ECHO_T}$ac_cv_header_stdc" >&6
4967 + if test $ac_cv_header_stdc = yes; then
4968  
4969 < ac_ext=c
4970 < ac_cpp='$CPP $CPPFLAGS'
4971 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3663 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3664 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
4969 > cat >>confdefs.h <<\_ACEOF
4970 > #define STDC_HEADERS 1
4971 > _ACEOF
4972  
4973 < 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
4973 > fi
4974 >
4975 > # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4976 >
4977 >
4978 >
4979 >
4980 >
4981 >
4982 >
4983 >
4984 >
4985 > for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4986 >                  inttypes.h stdint.h unistd.h
4987   do
4988 < ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4989 < echo "$as_me:3669: checking for $ac_header" >&5
4988 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4989 > echo "$as_me:$LINENO: checking for $ac_header" >&5
4990   echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4991 < if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4991 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
4992    echo $ECHO_N "(cached) $ECHO_C" >&6
4993   else
4994    cat >conftest.$ac_ext <<_ACEOF
4995 < #line 3675 "configure"
4996 < #include "confdefs.h"
4995 > /* confdefs.h.  */
4996 > _ACEOF
4997 > cat confdefs.h >>conftest.$ac_ext
4998 > cat >>conftest.$ac_ext <<_ACEOF
4999 > /* end confdefs.h.  */
5000 > $ac_includes_default
5001 >
5002   #include <$ac_header>
5003   _ACEOF
5004 < if { (eval echo "$as_me:3679: \"$ac_cpp conftest.$ac_ext\"") >&5
5005 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5004 > rm -f conftest.$ac_objext
5005 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5006 >  (eval $ac_compile) 2>conftest.er1
5007    ac_status=$?
5008 <  egrep -v '^ *\+' conftest.er1 >conftest.err
5008 >  grep -v '^ *+' conftest.er1 >conftest.err
5009    rm -f conftest.er1
5010    cat conftest.err >&5
5011 <  echo "$as_me:3685: \$? = $ac_status" >&5
5012 <  (exit $ac_status); } >/dev/null; then
5013 <  if test -s conftest.err; then
5014 <    ac_cpp_err=$ac_c_preproc_warn_flag
5015 <  else
5016 <    ac_cpp_err=
5017 <  fi
5011 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012 >  (exit $ac_status); } &&
5013 >         { ac_try='test -z "$ac_c_werror_flag"
5014 >                         || test ! -s conftest.err'
5015 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5016 >  (eval $ac_try) 2>&5
5017 >  ac_status=$?
5018 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5019 >  (exit $ac_status); }; } &&
5020 >         { ac_try='test -s conftest.$ac_objext'
5021 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5022 >  (eval $ac_try) 2>&5
5023 >  ac_status=$?
5024 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025 >  (exit $ac_status); }; }; then
5026 >  eval "$as_ac_Header=yes"
5027   else
3693  ac_cpp_err=yes
3694 fi
3695 if test -z "$ac_cpp_err"; then
3696  eval "$ac_ac_Header=yes"
3697 else
5028    echo "$as_me: failed program was:" >&5
5029 <  cat conftest.$ac_ext >&5
5030 <  eval "$ac_ac_Header=no"
5029 > sed 's/^/| /' conftest.$ac_ext >&5
5030 >
5031 > eval "$as_ac_Header=no"
5032   fi
5033 < rm -f conftest.err conftest.$ac_ext
5033 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5034   fi
5035 < echo "$as_me:3704: result: `eval echo '${'$ac_ac_Header'}'`" >&5
5036 < echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
5037 < if test `eval echo '${'$ac_ac_Header'}'` = yes; then
5038 <  cat >>confdefs.h <<EOF
5039 < #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
5040 < EOF
5035 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5036 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5037 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
5038 >  cat >>confdefs.h <<_ACEOF
5039 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5040 > _ACEOF
5041  
5042   fi
5043 +
5044   done
5045  
5046 < for ac_func in pstat_getstatic sysmp getsysinfo sysctl table
5047 < do
5048 < ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
5049 < echo "$as_me:3717: checking for $ac_func" >&5
5050 < echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5051 < if eval "test \"\${$ac_ac_var+set}\" = set"; then
5046 >
5047 > #
5048 > # Handle user hints
5049 > #
5050 > echo "$as_me:$LINENO: checking if zlib is wanted" >&5
5051 > echo $ECHO_N "checking if zlib is wanted... $ECHO_C" >&6
5052 >
5053 > # Check whether --with-zlib or --without-zlib was given.
5054 > if test "${with_zlib+set}" = set; then
5055 >  withval="$with_zlib"
5056 >  if test "$withval" != no ; then
5057 >  echo "$as_me:$LINENO: result: yes" >&5
5058 > echo "${ECHO_T}yes" >&6
5059 >  if test -d "$withval"
5060 >  then
5061 >    ZLIB_HOME="$withval"
5062 >  else
5063 >    { echo "$as_me:$LINENO: WARNING: Sorry, $withval does not exist, checking usual places" >&5
5064 > echo "$as_me: WARNING: Sorry, $withval does not exist, checking usual places" >&2;}
5065 >  fi
5066 > else
5067 >  echo "$as_me:$LINENO: result: no" >&5
5068 > echo "${ECHO_T}no" >&6
5069 > fi
5070 > fi;
5071 >
5072 > ZLIB_HOME=/usr/local
5073 > if test ! -f "${ZLIB_HOME}/include/zlib.h"
5074 > then
5075 >        ZLIB_HOME=/usr
5076 > fi
5077 >
5078 > #
5079 > # Locate zlib, if wanted
5080 > #
5081 > if test -n "${ZLIB_HOME}"
5082 > then
5083 >        ZLIB_OLD_LDFLAGS=$LDFLAGS
5084 >        ZLIB_OLD_CPPFLAGS=$LDFLAGS
5085 >        LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib"
5086 >        CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include"
5087 >
5088 >
5089 >        ac_ext=c
5090 > ac_cpp='$CPP $CPPFLAGS'
5091 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5092 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5093 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
5094 >
5095 >        echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
5096 > echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
5097 > if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
5098    echo $ECHO_N "(cached) $ECHO_C" >&6
5099   else
5100 <  cat >conftest.$ac_ext <<_ACEOF
5101 < #line 3723 "configure"
5102 < #include "confdefs.h"
5103 < /* System header to define __stub macros and hopefully few prototypes,
5104 <    which can conflict with char $ac_func (); below.  */
5105 < #include <assert.h>
5100 >  ac_check_lib_save_LIBS=$LIBS
5101 > LIBS="-lz  $LIBS"
5102 > cat >conftest.$ac_ext <<_ACEOF
5103 > /* confdefs.h.  */
5104 > _ACEOF
5105 > cat confdefs.h >>conftest.$ac_ext
5106 > cat >>conftest.$ac_ext <<_ACEOF
5107 > /* end confdefs.h.  */
5108 >
5109   /* Override any gcc2 internal prototype to avoid an error.  */
5110   #ifdef __cplusplus
5111   extern "C"
5112   #endif
5113   /* We use char because int might match the return type of a gcc2
5114     builtin and then its argument prototype would still apply.  */
5115 < char $ac_func ();
3735 < char (*f) ();
3736 <
5115 > char inflateEnd ();
5116   int
5117   main ()
5118   {
5119 < /* The GNU C library defines this for functions which it implements
3741 <    to always fail with ENOSYS.  Some functions are actually named
3742 <    something starting with __ and the normal name is an alias.  */
3743 < #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3744 < choke me
3745 < #else
3746 < f = $ac_func;
3747 < #endif
3748 <
5119 > inflateEnd ();
5120    ;
5121    return 0;
5122   }
5123   _ACEOF
5124   rm -f conftest.$ac_objext conftest$ac_exeext
5125 < if { (eval echo "$as_me:3754: \"$ac_link\"") >&5
5126 <  (eval $ac_link) 2>&5
5125 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5126 >  (eval $ac_link) 2>conftest.er1
5127    ac_status=$?
5128 <  echo "$as_me:3757: \$? = $ac_status" >&5
5128 >  grep -v '^ *+' conftest.er1 >conftest.err
5129 >  rm -f conftest.er1
5130 >  cat conftest.err >&5
5131 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5132    (exit $ac_status); } &&
5133 <         { ac_try='test -s conftest$ac_exeext'
5134 <  { (eval echo "$as_me:3760: \"$ac_try\"") >&5
5133 >         { ac_try='test -z "$ac_c_werror_flag"
5134 >                         || test ! -s conftest.err'
5135 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5136    (eval $ac_try) 2>&5
5137    ac_status=$?
5138 <  echo "$as_me:3763: \$? = $ac_status" >&5
5138 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5139 >  (exit $ac_status); }; } &&
5140 >         { ac_try='test -s conftest$ac_exeext'
5141 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5142 >  (eval $ac_try) 2>&5
5143 >  ac_status=$?
5144 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5145    (exit $ac_status); }; }; then
5146 <  eval "$ac_ac_var=yes"
5146 >  ac_cv_lib_z_inflateEnd=yes
5147   else
5148    echo "$as_me: failed program was:" >&5
5149 < cat conftest.$ac_ext >&5
5150 < eval "$ac_ac_var=no"
5149 > sed 's/^/| /' conftest.$ac_ext >&5
5150 >
5151 > ac_cv_lib_z_inflateEnd=no
5152   fi
5153 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5153 > rm -f conftest.err conftest.$ac_objext \
5154 >      conftest$ac_exeext conftest.$ac_ext
5155 > LIBS=$ac_check_lib_save_LIBS
5156   fi
5157 < echo "$as_me:3773: result: `eval echo '${'$ac_ac_var'}'`" >&5
5158 < echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
5159 < if test `eval echo '${'$ac_ac_var'}'` = yes; then
5160 <  cat >>confdefs.h <<EOF
5161 < #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
5162 < EOF
3779 <
5157 > echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
5158 > echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
5159 > if test $ac_cv_lib_z_inflateEnd = yes; then
5160 >  zlib_cv_libz=yes
5161 > else
5162 >  zlib_cv_libz=no
5163   fi
3781 done
5164  
5165 < # special check for _system_configuration because AIX <4.3.2 do not
5166 < # contain the `physmem' member.
5167 < echo "$as_me:3785: checking for external symbol _system_configuration" >&5
5168 < echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
5165 >        if test "${ac_cv_header_zlib_h+set}" = set; then
5166 >  echo "$as_me:$LINENO: checking for zlib.h" >&5
5167 > echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
5168 > if test "${ac_cv_header_zlib_h+set}" = set; then
5169 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5170 > fi
5171 > echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
5172 > echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
5173 > else
5174 >  # Is the header compilable?
5175 > echo "$as_me:$LINENO: checking zlib.h usability" >&5
5176 > echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
5177   cat >conftest.$ac_ext <<_ACEOF
5178 < #line 3788 "configure"
3789 < #include "confdefs.h"
3790 < #include <sys/systemcfg.h>
3791 < int
3792 < main ()
3793 < {
3794 < double x = _system_configuration.physmem;
3795 <  ;
3796 <  return 0;
3797 < }
5178 > /* confdefs.h.  */
5179   _ACEOF
5180 < rm -f conftest.$ac_objext
5181 < if { (eval echo "$as_me:3800: \"$ac_compile\"") >&5
5182 <  (eval $ac_compile) 2>&5
5183 <  ac_status=$?
5184 <  echo "$as_me:3803: \$? = $ac_status" >&5
5185 <  (exit $ac_status); } &&
5186 <         { ac_try='test -s conftest.$ac_objext'
5187 <  { (eval echo "$as_me:3806: \"$ac_try\"") >&5
5188 <  (eval $ac_try) 2>&5
5189 <  ac_status=$?
5190 <  echo "$as_me:3809: \$? = $ac_status" >&5
5191 <  (exit $ac_status); }; }; then
5192 <  echo "$as_me:3811: result: yes" >&5
5193 < echo "${ECHO_T}yes" >&6
5180 > cat confdefs.h >>conftest.$ac_ext
5181 > cat >>conftest.$ac_ext <<_ACEOF
5182 > /* end confdefs.h.  */
5183 > $ac_includes_default
5184 > #include <zlib.h>
5185 > _ACEOF
5186 > rm -f conftest.$ac_objext
5187 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5188 >  (eval $ac_compile) 2>conftest.er1
5189 >  ac_status=$?
5190 >  grep -v '^ *+' conftest.er1 >conftest.err
5191 >  rm -f conftest.er1
5192 >  cat conftest.err >&5
5193 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194 >  (exit $ac_status); } &&
5195 >         { ac_try='test -z "$ac_c_werror_flag"
5196 >                         || test ! -s conftest.err'
5197 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5198 >  (eval $ac_try) 2>&5
5199 >  ac_status=$?
5200 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5201 >  (exit $ac_status); }; } &&
5202 >         { ac_try='test -s conftest.$ac_objext'
5203 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5204 >  (eval $ac_try) 2>&5
5205 >  ac_status=$?
5206 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5207 >  (exit $ac_status); }; }; then
5208 >  ac_header_compiler=yes
5209 > else
5210 >  echo "$as_me: failed program was:" >&5
5211 > sed 's/^/| /' conftest.$ac_ext >&5
5212 >
5213 > ac_header_compiler=no
5214 > fi
5215 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5216 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5217 > echo "${ECHO_T}$ac_header_compiler" >&6
5218 >
5219 > # Is the header present?
5220 > echo "$as_me:$LINENO: checking zlib.h presence" >&5
5221 > echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
5222 > cat >conftest.$ac_ext <<_ACEOF
5223 > /* confdefs.h.  */
5224 > _ACEOF
5225 > cat confdefs.h >>conftest.$ac_ext
5226 > cat >>conftest.$ac_ext <<_ACEOF
5227 > /* end confdefs.h.  */
5228 > #include <zlib.h>
5229 > _ACEOF
5230 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5231 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5232 >  ac_status=$?
5233 >  grep -v '^ *+' conftest.er1 >conftest.err
5234 >  rm -f conftest.er1
5235 >  cat conftest.err >&5
5236 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5237 >  (exit $ac_status); } >/dev/null; then
5238 >  if test -s conftest.err; then
5239 >    ac_cpp_err=$ac_c_preproc_warn_flag
5240 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5241 >  else
5242 >    ac_cpp_err=
5243 >  fi
5244 > else
5245 >  ac_cpp_err=yes
5246 > fi
5247 > if test -z "$ac_cpp_err"; then
5248 >  ac_header_preproc=yes
5249 > else
5250 >  echo "$as_me: failed program was:" >&5
5251 > sed 's/^/| /' conftest.$ac_ext >&5
5252 >
5253 >  ac_header_preproc=no
5254 > fi
5255 > rm -f conftest.err conftest.$ac_ext
5256 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5257 > echo "${ECHO_T}$ac_header_preproc" >&6
5258 >
5259 > # So?  What about this header?
5260 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5261 >  yes:no: )
5262 >    { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
5263 > echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5264 >    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
5265 > echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
5266 >    ac_header_preproc=yes
5267 >    ;;
5268 >  no:yes:* )
5269 >    { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
5270 > echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
5271 >    { echo "$as_me:$LINENO: WARNING: zlib.h:     check for missing prerequisite headers?" >&5
5272 > echo "$as_me: WARNING: zlib.h:     check for missing prerequisite headers?" >&2;}
5273 >    { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
5274 > echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
5275 >    { echo "$as_me:$LINENO: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&5
5276 > echo "$as_me: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
5277 >    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
5278 > echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
5279 >    { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
5280 > echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
5281 >    (
5282 >      cat <<\_ASBOX
5283 > ## ------------------------------ ##
5284 > ## Report this to gezelter@nd.edu ##
5285 > ## ------------------------------ ##
5286 > _ASBOX
5287 >    ) |
5288 >      sed "s/^/$as_me: WARNING:     /" >&2
5289 >    ;;
5290 > esac
5291 > echo "$as_me:$LINENO: checking for zlib.h" >&5
5292 > echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
5293 > if test "${ac_cv_header_zlib_h+set}" = set; then
5294 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5295 > else
5296 >  ac_cv_header_zlib_h=$ac_header_preproc
5297 > fi
5298 > echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
5299 > echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
5300 >
5301 > fi
5302 > if test $ac_cv_header_zlib_h = yes; then
5303 >  zlib_cv_zlib_h=yes
5304 > else
5305 >  zlib_cv_zlib_h=no
5306 > fi
5307 >
5308 >
5309 >        ac_ext=c
5310 > ac_cpp='$CPP $CPPFLAGS'
5311 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5312 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5313 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
5314 >
5315 >        if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes"
5316 >        then
5317 >                #
5318 >                # If both library and header were found, use them
5319 >                #
5320 >
5321 > echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
5322 > echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
5323 > if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
5324 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5325 > else
5326 >  ac_check_lib_save_LIBS=$LIBS
5327 > LIBS="-lz  $LIBS"
5328 > cat >conftest.$ac_ext <<_ACEOF
5329 > /* confdefs.h.  */
5330 > _ACEOF
5331 > cat confdefs.h >>conftest.$ac_ext
5332 > cat >>conftest.$ac_ext <<_ACEOF
5333 > /* end confdefs.h.  */
5334 >
5335 > /* Override any gcc2 internal prototype to avoid an error.  */
5336 > #ifdef __cplusplus
5337 > extern "C"
5338 > #endif
5339 > /* We use char because int might match the return type of a gcc2
5340 >   builtin and then its argument prototype would still apply.  */
5341 > char inflateEnd ();
5342 > int
5343 > main ()
5344 > {
5345 > inflateEnd ();
5346 >  ;
5347 >  return 0;
5348 > }
5349 > _ACEOF
5350 > rm -f conftest.$ac_objext conftest$ac_exeext
5351 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5352 >  (eval $ac_link) 2>conftest.er1
5353 >  ac_status=$?
5354 >  grep -v '^ *+' conftest.er1 >conftest.err
5355 >  rm -f conftest.er1
5356 >  cat conftest.err >&5
5357 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5358 >  (exit $ac_status); } &&
5359 >         { ac_try='test -z "$ac_c_werror_flag"
5360 >                         || test ! -s conftest.err'
5361 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5362 >  (eval $ac_try) 2>&5
5363 >  ac_status=$?
5364 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5365 >  (exit $ac_status); }; } &&
5366 >         { ac_try='test -s conftest$ac_exeext'
5367 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5368 >  (eval $ac_try) 2>&5
5369 >  ac_status=$?
5370 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371 >  (exit $ac_status); }; }; then
5372 >  ac_cv_lib_z_inflateEnd=yes
5373 > else
5374 >  echo "$as_me: failed program was:" >&5
5375 > sed 's/^/| /' conftest.$ac_ext >&5
5376 >
5377 > ac_cv_lib_z_inflateEnd=no
5378 > fi
5379 > rm -f conftest.err conftest.$ac_objext \
5380 >      conftest$ac_exeext conftest.$ac_ext
5381 > LIBS=$ac_check_lib_save_LIBS
5382 > fi
5383 > echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
5384 > echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
5385 > if test $ac_cv_lib_z_inflateEnd = yes; then
5386 >  cat >>confdefs.h <<_ACEOF
5387 > #define HAVE_LIBZ 1
5388 > _ACEOF
5389 >
5390 >  LIBS="-lz $LIBS"
5391 >
5392 > fi
5393 >
5394 >                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
5395 > echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
5396 >                echo "$as_me:$LINENO: result: ok" >&5
5397 > echo "${ECHO_T}ok" >&6
5398 >        else
5399 >                #
5400 >                # If either header or library was not found, revert and bomb
5401 >                #
5402 >                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
5403 > echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
5404 >                LDFLAGS="$ZLIB_OLD_LDFLAGS"
5405 >                CPPFLAGS="$ZLIB_OLD_CPPFLAGS"
5406 >                echo "$as_me:$LINENO: result: failed" >&5
5407 > echo "${ECHO_T}failed" >&6
5408 >                { { echo "$as_me:$LINENO: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&5
5409 > echo "$as_me: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&2;}
5410 >   { (exit 1); exit 1; }; }
5411 >        fi
5412 > fi
5413 >
5414 >
5415 >
5416 >
5417 >
5418 >
5419 >
5420 >
5421 > for ac_header in sys/time.h unistd.h stdlib.h stdio.h conio.h string.h
5422 > do
5423 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5424 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5425 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5426 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5427 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5428 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5429 > fi
5430 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5431 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5432 > else
5433 >  # Is the header compilable?
5434 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
5435 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5436 > cat >conftest.$ac_ext <<_ACEOF
5437 > /* confdefs.h.  */
5438 > _ACEOF
5439 > cat confdefs.h >>conftest.$ac_ext
5440 > cat >>conftest.$ac_ext <<_ACEOF
5441 > /* end confdefs.h.  */
5442 > $ac_includes_default
5443 > #include <$ac_header>
5444 > _ACEOF
5445 > rm -f conftest.$ac_objext
5446 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5447 >  (eval $ac_compile) 2>conftest.er1
5448 >  ac_status=$?
5449 >  grep -v '^ *+' conftest.er1 >conftest.err
5450 >  rm -f conftest.er1
5451 >  cat conftest.err >&5
5452 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5453 >  (exit $ac_status); } &&
5454 >         { ac_try='test -z "$ac_c_werror_flag"
5455 >                         || test ! -s conftest.err'
5456 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5457 >  (eval $ac_try) 2>&5
5458 >  ac_status=$?
5459 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5460 >  (exit $ac_status); }; } &&
5461 >         { ac_try='test -s conftest.$ac_objext'
5462 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5463 >  (eval $ac_try) 2>&5
5464 >  ac_status=$?
5465 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5466 >  (exit $ac_status); }; }; then
5467 >  ac_header_compiler=yes
5468 > else
5469 >  echo "$as_me: failed program was:" >&5
5470 > sed 's/^/| /' conftest.$ac_ext >&5
5471 >
5472 > ac_header_compiler=no
5473 > fi
5474 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5475 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5476 > echo "${ECHO_T}$ac_header_compiler" >&6
5477 >
5478 > # Is the header present?
5479 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
5480 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5481 > cat >conftest.$ac_ext <<_ACEOF
5482 > /* confdefs.h.  */
5483 > _ACEOF
5484 > cat confdefs.h >>conftest.$ac_ext
5485 > cat >>conftest.$ac_ext <<_ACEOF
5486 > /* end confdefs.h.  */
5487 > #include <$ac_header>
5488 > _ACEOF
5489 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5490 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5491 >  ac_status=$?
5492 >  grep -v '^ *+' conftest.er1 >conftest.err
5493 >  rm -f conftest.er1
5494 >  cat conftest.err >&5
5495 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5496 >  (exit $ac_status); } >/dev/null; then
5497 >  if test -s conftest.err; then
5498 >    ac_cpp_err=$ac_c_preproc_warn_flag
5499 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5500 >  else
5501 >    ac_cpp_err=
5502 >  fi
5503 > else
5504 >  ac_cpp_err=yes
5505 > fi
5506 > if test -z "$ac_cpp_err"; then
5507 >  ac_header_preproc=yes
5508 > else
5509 >  echo "$as_me: failed program was:" >&5
5510 > sed 's/^/| /' conftest.$ac_ext >&5
5511 >
5512 >  ac_header_preproc=no
5513 > fi
5514 > rm -f conftest.err conftest.$ac_ext
5515 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5516 > echo "${ECHO_T}$ac_header_preproc" >&6
5517 >
5518 > # So?  What about this header?
5519 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5520 >  yes:no: )
5521 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5522 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5523 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5524 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5525 >    ac_header_preproc=yes
5526 >    ;;
5527 >  no:yes:* )
5528 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5529 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5530 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5531 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5532 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5533 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5534 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5535 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5536 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5537 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5538 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5539 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5540 >    (
5541 >      cat <<\_ASBOX
5542 > ## ------------------------------ ##
5543 > ## Report this to gezelter@nd.edu ##
5544 > ## ------------------------------ ##
5545 > _ASBOX
5546 >    ) |
5547 >      sed "s/^/$as_me: WARNING:     /" >&2
5548 >    ;;
5549 > esac
5550 > echo "$as_me:$LINENO: checking for $ac_header" >&5
5551 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5552 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5553 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5554 > else
5555 >  eval "$as_ac_Header=\$ac_header_preproc"
5556 > fi
5557 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5558 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5559 >
5560 > fi
5561 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
5562 >  cat >>confdefs.h <<_ACEOF
5563 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5564 > _ACEOF
5565 >
5566 > fi
5567 >
5568 > done
5569 >
5570 >
5571 >
5572 >
5573 >
5574 >
5575 > for ac_header in strstream.h iostream.h fstream.h math.h time.h
5576 > do
5577 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5578 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5579 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5580 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5581 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5582 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5583 > fi
5584 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5585 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5586 > else
5587 >  # Is the header compilable?
5588 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
5589 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5590 > cat >conftest.$ac_ext <<_ACEOF
5591 > /* confdefs.h.  */
5592 > _ACEOF
5593 > cat confdefs.h >>conftest.$ac_ext
5594 > cat >>conftest.$ac_ext <<_ACEOF
5595 > /* end confdefs.h.  */
5596 > $ac_includes_default
5597 > #include <$ac_header>
5598 > _ACEOF
5599 > rm -f conftest.$ac_objext
5600 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5601 >  (eval $ac_compile) 2>conftest.er1
5602 >  ac_status=$?
5603 >  grep -v '^ *+' conftest.er1 >conftest.err
5604 >  rm -f conftest.er1
5605 >  cat conftest.err >&5
5606 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607 >  (exit $ac_status); } &&
5608 >         { ac_try='test -z "$ac_c_werror_flag"
5609 >                         || test ! -s conftest.err'
5610 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5611 >  (eval $ac_try) 2>&5
5612 >  ac_status=$?
5613 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 >  (exit $ac_status); }; } &&
5615 >         { ac_try='test -s conftest.$ac_objext'
5616 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5617 >  (eval $ac_try) 2>&5
5618 >  ac_status=$?
5619 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5620 >  (exit $ac_status); }; }; then
5621 >  ac_header_compiler=yes
5622 > else
5623 >  echo "$as_me: failed program was:" >&5
5624 > sed 's/^/| /' conftest.$ac_ext >&5
5625 >
5626 > ac_header_compiler=no
5627 > fi
5628 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5629 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5630 > echo "${ECHO_T}$ac_header_compiler" >&6
5631 >
5632 > # Is the header present?
5633 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
5634 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5635 > cat >conftest.$ac_ext <<_ACEOF
5636 > /* confdefs.h.  */
5637 > _ACEOF
5638 > cat confdefs.h >>conftest.$ac_ext
5639 > cat >>conftest.$ac_ext <<_ACEOF
5640 > /* end confdefs.h.  */
5641 > #include <$ac_header>
5642 > _ACEOF
5643 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5644 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5645 >  ac_status=$?
5646 >  grep -v '^ *+' conftest.er1 >conftest.err
5647 >  rm -f conftest.er1
5648 >  cat conftest.err >&5
5649 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5650 >  (exit $ac_status); } >/dev/null; then
5651 >  if test -s conftest.err; then
5652 >    ac_cpp_err=$ac_c_preproc_warn_flag
5653 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5654 >  else
5655 >    ac_cpp_err=
5656 >  fi
5657 > else
5658 >  ac_cpp_err=yes
5659 > fi
5660 > if test -z "$ac_cpp_err"; then
5661 >  ac_header_preproc=yes
5662 > else
5663 >  echo "$as_me: failed program was:" >&5
5664 > sed 's/^/| /' conftest.$ac_ext >&5
5665 >
5666 >  ac_header_preproc=no
5667 > fi
5668 > rm -f conftest.err conftest.$ac_ext
5669 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5670 > echo "${ECHO_T}$ac_header_preproc" >&6
5671 >
5672 > # So?  What about this header?
5673 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5674 >  yes:no: )
5675 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5676 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5677 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5678 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5679 >    ac_header_preproc=yes
5680 >    ;;
5681 >  no:yes:* )
5682 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5683 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5684 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5685 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5686 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5687 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5688 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5689 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5690 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5691 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5692 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5693 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5694 >    (
5695 >      cat <<\_ASBOX
5696 > ## ------------------------------ ##
5697 > ## Report this to gezelter@nd.edu ##
5698 > ## ------------------------------ ##
5699 > _ASBOX
5700 >    ) |
5701 >      sed "s/^/$as_me: WARNING:     /" >&2
5702 >    ;;
5703 > esac
5704 > echo "$as_me:$LINENO: checking for $ac_header" >&5
5705 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5706 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5707 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5708 > else
5709 >  eval "$as_ac_Header=\$ac_header_preproc"
5710 > fi
5711 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5712 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5713 >
5714 > fi
5715 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
5716 >  cat >>confdefs.h <<_ACEOF
5717 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5718 > _ACEOF
5719 >
5720 > fi
5721 >
5722 > done
5723 >
5724 > ac_ext=cc
5725 > ac_cpp='$CXXCPP $CPPFLAGS'
5726 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5727 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5728 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5729 >
5730 > ac_ext=cc
5731 > ac_cpp='$CXXCPP $CPPFLAGS'
5732 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5733 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5734 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5735 > echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5736 > echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5737 > if test -z "$CXXCPP"; then
5738 >  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5739 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5740 > else
5741 >      # Double quotes because CXXCPP needs to be expanded
5742 >    for CXXCPP in "$CXX -E" "/lib/cpp"
5743 >    do
5744 >      ac_preproc_ok=false
5745 > for ac_cxx_preproc_warn_flag in '' yes
5746 > do
5747 >  # Use a header file that comes with gcc, so configuring glibc
5748 >  # with a fresh cross-compiler works.
5749 >  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5750 >  # <limits.h> exists even on freestanding compilers.
5751 >  # On the NeXT, cc -E runs the code through the compiler's parser,
5752 >  # not just through cpp. "Syntax error" is here to catch this case.
5753 >  cat >conftest.$ac_ext <<_ACEOF
5754 > /* confdefs.h.  */
5755 > _ACEOF
5756 > cat confdefs.h >>conftest.$ac_ext
5757 > cat >>conftest.$ac_ext <<_ACEOF
5758 > /* end confdefs.h.  */
5759 > #ifdef __STDC__
5760 > # include <limits.h>
5761 > #else
5762 > # include <assert.h>
5763 > #endif
5764 >                     Syntax error
5765 > _ACEOF
5766 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5767 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5768 >  ac_status=$?
5769 >  grep -v '^ *+' conftest.er1 >conftest.err
5770 >  rm -f conftest.er1
5771 >  cat conftest.err >&5
5772 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773 >  (exit $ac_status); } >/dev/null; then
5774 >  if test -s conftest.err; then
5775 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5776 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5777 >  else
5778 >    ac_cpp_err=
5779 >  fi
5780 > else
5781 >  ac_cpp_err=yes
5782 > fi
5783 > if test -z "$ac_cpp_err"; then
5784 >  :
5785 > else
5786 >  echo "$as_me: failed program was:" >&5
5787 > sed 's/^/| /' conftest.$ac_ext >&5
5788 >
5789 >  # Broken: fails on valid input.
5790 > continue
5791 > fi
5792 > rm -f conftest.err conftest.$ac_ext
5793 >
5794 >  # OK, works on sane cases.  Now check whether non-existent headers
5795 >  # can be detected and how.
5796 >  cat >conftest.$ac_ext <<_ACEOF
5797 > /* confdefs.h.  */
5798 > _ACEOF
5799 > cat confdefs.h >>conftest.$ac_ext
5800 > cat >>conftest.$ac_ext <<_ACEOF
5801 > /* end confdefs.h.  */
5802 > #include <ac_nonexistent.h>
5803 > _ACEOF
5804 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5805 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5806 >  ac_status=$?
5807 >  grep -v '^ *+' conftest.er1 >conftest.err
5808 >  rm -f conftest.er1
5809 >  cat conftest.err >&5
5810 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5811 >  (exit $ac_status); } >/dev/null; then
5812 >  if test -s conftest.err; then
5813 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5814 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5815 >  else
5816 >    ac_cpp_err=
5817 >  fi
5818 > else
5819 >  ac_cpp_err=yes
5820 > fi
5821 > if test -z "$ac_cpp_err"; then
5822 >  # Broken: success on invalid input.
5823 > continue
5824 > else
5825 >  echo "$as_me: failed program was:" >&5
5826 > sed 's/^/| /' conftest.$ac_ext >&5
5827 >
5828 >  # Passes both tests.
5829 > ac_preproc_ok=:
5830 > break
5831 > fi
5832 > rm -f conftest.err conftest.$ac_ext
5833 >
5834 > done
5835 > # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5836 > rm -f conftest.err conftest.$ac_ext
5837 > if $ac_preproc_ok; then
5838 >  break
5839 > fi
5840 >
5841 >    done
5842 >    ac_cv_prog_CXXCPP=$CXXCPP
5843 >
5844 > fi
5845 >  CXXCPP=$ac_cv_prog_CXXCPP
5846 > else
5847 >  ac_cv_prog_CXXCPP=$CXXCPP
5848 > fi
5849 > echo "$as_me:$LINENO: result: $CXXCPP" >&5
5850 > echo "${ECHO_T}$CXXCPP" >&6
5851 > ac_preproc_ok=false
5852 > for ac_cxx_preproc_warn_flag in '' yes
5853 > do
5854 >  # Use a header file that comes with gcc, so configuring glibc
5855 >  # with a fresh cross-compiler works.
5856 >  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5857 >  # <limits.h> exists even on freestanding compilers.
5858 >  # On the NeXT, cc -E runs the code through the compiler's parser,
5859 >  # not just through cpp. "Syntax error" is here to catch this case.
5860 >  cat >conftest.$ac_ext <<_ACEOF
5861 > /* confdefs.h.  */
5862 > _ACEOF
5863 > cat confdefs.h >>conftest.$ac_ext
5864 > cat >>conftest.$ac_ext <<_ACEOF
5865 > /* end confdefs.h.  */
5866 > #ifdef __STDC__
5867 > # include <limits.h>
5868 > #else
5869 > # include <assert.h>
5870 > #endif
5871 >                     Syntax error
5872 > _ACEOF
5873 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5874 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5875 >  ac_status=$?
5876 >  grep -v '^ *+' conftest.er1 >conftest.err
5877 >  rm -f conftest.er1
5878 >  cat conftest.err >&5
5879 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880 >  (exit $ac_status); } >/dev/null; then
5881 >  if test -s conftest.err; then
5882 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5883 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5884 >  else
5885 >    ac_cpp_err=
5886 >  fi
5887 > else
5888 >  ac_cpp_err=yes
5889 > fi
5890 > if test -z "$ac_cpp_err"; then
5891 >  :
5892 > else
5893 >  echo "$as_me: failed program was:" >&5
5894 > sed 's/^/| /' conftest.$ac_ext >&5
5895 >
5896 >  # Broken: fails on valid input.
5897 > continue
5898 > fi
5899 > rm -f conftest.err conftest.$ac_ext
5900 >
5901 >  # OK, works on sane cases.  Now check whether non-existent headers
5902 >  # can be detected and how.
5903 >  cat >conftest.$ac_ext <<_ACEOF
5904 > /* confdefs.h.  */
5905 > _ACEOF
5906 > cat confdefs.h >>conftest.$ac_ext
5907 > cat >>conftest.$ac_ext <<_ACEOF
5908 > /* end confdefs.h.  */
5909 > #include <ac_nonexistent.h>
5910 > _ACEOF
5911 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5912 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5913 >  ac_status=$?
5914 >  grep -v '^ *+' conftest.er1 >conftest.err
5915 >  rm -f conftest.er1
5916 >  cat conftest.err >&5
5917 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5918 >  (exit $ac_status); } >/dev/null; then
5919 >  if test -s conftest.err; then
5920 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5921 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5922 >  else
5923 >    ac_cpp_err=
5924 >  fi
5925 > else
5926 >  ac_cpp_err=yes
5927 > fi
5928 > if test -z "$ac_cpp_err"; then
5929 >  # Broken: success on invalid input.
5930 > continue
5931 > else
5932 >  echo "$as_me: failed program was:" >&5
5933 > sed 's/^/| /' conftest.$ac_ext >&5
5934 >
5935 >  # Passes both tests.
5936 > ac_preproc_ok=:
5937 > break
5938 > fi
5939 > rm -f conftest.err conftest.$ac_ext
5940 >
5941 > done
5942 > # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5943 > rm -f conftest.err conftest.$ac_ext
5944 > if $ac_preproc_ok; then
5945 >  :
5946 > else
5947 >  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5948 > See \`config.log' for more details." >&5
5949 > echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5950 > See \`config.log' for more details." >&2;}
5951 >   { (exit 1); exit 1; }; }
5952 > fi
5953 >
5954 > ac_ext=cc
5955 > ac_cpp='$CXXCPP $CPPFLAGS'
5956 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5957 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5958 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5959 >
5960 >
5961 >
5962 >
5963 >
5964 >
5965 >
5966 > for ac_header in ctype.h iostream fstream sstream strstream
5967 > do
5968 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5969 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5970 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5971 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5972 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5973 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5974 > fi
5975 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5976 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5977 > else
5978 >  # Is the header compilable?
5979 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
5980 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5981 > cat >conftest.$ac_ext <<_ACEOF
5982 > /* confdefs.h.  */
5983 > _ACEOF
5984 > cat confdefs.h >>conftest.$ac_ext
5985 > cat >>conftest.$ac_ext <<_ACEOF
5986 > /* end confdefs.h.  */
5987 > $ac_includes_default
5988 > #include <$ac_header>
5989 > _ACEOF
5990 > rm -f conftest.$ac_objext
5991 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5992 >  (eval $ac_compile) 2>conftest.er1
5993 >  ac_status=$?
5994 >  grep -v '^ *+' conftest.er1 >conftest.err
5995 >  rm -f conftest.er1
5996 >  cat conftest.err >&5
5997 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998 >  (exit $ac_status); } &&
5999 >         { ac_try='test -z "$ac_cxx_werror_flag"
6000 >                         || test ! -s conftest.err'
6001 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6002 >  (eval $ac_try) 2>&5
6003 >  ac_status=$?
6004 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6005 >  (exit $ac_status); }; } &&
6006 >         { ac_try='test -s conftest.$ac_objext'
6007 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6008 >  (eval $ac_try) 2>&5
6009 >  ac_status=$?
6010 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6011 >  (exit $ac_status); }; }; then
6012 >  ac_header_compiler=yes
6013 > else
6014 >  echo "$as_me: failed program was:" >&5
6015 > sed 's/^/| /' conftest.$ac_ext >&5
6016 >
6017 > ac_header_compiler=no
6018 > fi
6019 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6020 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6021 > echo "${ECHO_T}$ac_header_compiler" >&6
6022 >
6023 > # Is the header present?
6024 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
6025 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6026 > cat >conftest.$ac_ext <<_ACEOF
6027 > /* confdefs.h.  */
6028 > _ACEOF
6029 > cat confdefs.h >>conftest.$ac_ext
6030 > cat >>conftest.$ac_ext <<_ACEOF
6031 > /* end confdefs.h.  */
6032 > #include <$ac_header>
6033 > _ACEOF
6034 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6035 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6036 >  ac_status=$?
6037 >  grep -v '^ *+' conftest.er1 >conftest.err
6038 >  rm -f conftest.er1
6039 >  cat conftest.err >&5
6040 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6041 >  (exit $ac_status); } >/dev/null; then
6042 >  if test -s conftest.err; then
6043 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
6044 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6045 >  else
6046 >    ac_cpp_err=
6047 >  fi
6048 > else
6049 >  ac_cpp_err=yes
6050 > fi
6051 > if test -z "$ac_cpp_err"; then
6052 >  ac_header_preproc=yes
6053 > else
6054 >  echo "$as_me: failed program was:" >&5
6055 > sed 's/^/| /' conftest.$ac_ext >&5
6056 >
6057 >  ac_header_preproc=no
6058 > fi
6059 > rm -f conftest.err conftest.$ac_ext
6060 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6061 > echo "${ECHO_T}$ac_header_preproc" >&6
6062 >
6063 > # So?  What about this header?
6064 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6065 >  yes:no: )
6066 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6067 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6068 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6069 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6070 >    ac_header_preproc=yes
6071 >    ;;
6072 >  no:yes:* )
6073 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6074 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6075 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6076 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6077 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6078 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6079 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6080 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6081 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6082 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6083 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6084 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6085 >    (
6086 >      cat <<\_ASBOX
6087 > ## ------------------------------ ##
6088 > ## Report this to gezelter@nd.edu ##
6089 > ## ------------------------------ ##
6090 > _ASBOX
6091 >    ) |
6092 >      sed "s/^/$as_me: WARNING:     /" >&2
6093 >    ;;
6094 > esac
6095 > echo "$as_me:$LINENO: checking for $ac_header" >&5
6096 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6097 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6098 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6099 > else
6100 >  eval "$as_ac_Header=\$ac_header_preproc"
6101 > fi
6102 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6103 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6104 >
6105 > fi
6106 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
6107 >  cat >>confdefs.h <<_ACEOF
6108 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6109 > _ACEOF
6110 >
6111 > fi
6112 >
6113 > done
6114 >
6115 > ac_ext=c
6116 > ac_cpp='$CPP $CPPFLAGS'
6117 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6118 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6119 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
6120 >
6121 >
6122 >
6123 >
6124 > for ac_header in sys/pstat.h sys/sysmp.h sys/sysinfo.h
6125 > do
6126 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6127 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6128 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
6129 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6130 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6131 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6132 > fi
6133 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6134 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6135 > else
6136 >  # Is the header compilable?
6137 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
6138 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6139 > cat >conftest.$ac_ext <<_ACEOF
6140 > /* confdefs.h.  */
6141 > _ACEOF
6142 > cat confdefs.h >>conftest.$ac_ext
6143 > cat >>conftest.$ac_ext <<_ACEOF
6144 > /* end confdefs.h.  */
6145 > $ac_includes_default
6146 > #include <$ac_header>
6147 > _ACEOF
6148 > rm -f conftest.$ac_objext
6149 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6150 >  (eval $ac_compile) 2>conftest.er1
6151 >  ac_status=$?
6152 >  grep -v '^ *+' conftest.er1 >conftest.err
6153 >  rm -f conftest.er1
6154 >  cat conftest.err >&5
6155 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156 >  (exit $ac_status); } &&
6157 >         { ac_try='test -z "$ac_c_werror_flag"
6158 >                         || test ! -s conftest.err'
6159 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6160 >  (eval $ac_try) 2>&5
6161 >  ac_status=$?
6162 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163 >  (exit $ac_status); }; } &&
6164 >         { ac_try='test -s conftest.$ac_objext'
6165 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6166 >  (eval $ac_try) 2>&5
6167 >  ac_status=$?
6168 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6169 >  (exit $ac_status); }; }; then
6170 >  ac_header_compiler=yes
6171 > else
6172 >  echo "$as_me: failed program was:" >&5
6173 > sed 's/^/| /' conftest.$ac_ext >&5
6174 >
6175 > ac_header_compiler=no
6176 > fi
6177 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6178 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6179 > echo "${ECHO_T}$ac_header_compiler" >&6
6180 >
6181 > # Is the header present?
6182 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
6183 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6184 > cat >conftest.$ac_ext <<_ACEOF
6185 > /* confdefs.h.  */
6186 > _ACEOF
6187 > cat confdefs.h >>conftest.$ac_ext
6188 > cat >>conftest.$ac_ext <<_ACEOF
6189 > /* end confdefs.h.  */
6190 > #include <$ac_header>
6191 > _ACEOF
6192 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6193 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6194 >  ac_status=$?
6195 >  grep -v '^ *+' conftest.er1 >conftest.err
6196 >  rm -f conftest.er1
6197 >  cat conftest.err >&5
6198 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199 >  (exit $ac_status); } >/dev/null; then
6200 >  if test -s conftest.err; then
6201 >    ac_cpp_err=$ac_c_preproc_warn_flag
6202 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6203 >  else
6204 >    ac_cpp_err=
6205 >  fi
6206 > else
6207 >  ac_cpp_err=yes
6208 > fi
6209 > if test -z "$ac_cpp_err"; then
6210 >  ac_header_preproc=yes
6211 > else
6212 >  echo "$as_me: failed program was:" >&5
6213 > sed 's/^/| /' conftest.$ac_ext >&5
6214 >
6215 >  ac_header_preproc=no
6216 > fi
6217 > rm -f conftest.err conftest.$ac_ext
6218 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6219 > echo "${ECHO_T}$ac_header_preproc" >&6
6220 >
6221 > # So?  What about this header?
6222 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6223 >  yes:no: )
6224 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6225 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6226 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6227 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6228 >    ac_header_preproc=yes
6229 >    ;;
6230 >  no:yes:* )
6231 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6232 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6233 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6234 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6235 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6236 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6237 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6238 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6239 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6240 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6241 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6242 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6243 >    (
6244 >      cat <<\_ASBOX
6245 > ## ------------------------------ ##
6246 > ## Report this to gezelter@nd.edu ##
6247 > ## ------------------------------ ##
6248 > _ASBOX
6249 >    ) |
6250 >      sed "s/^/$as_me: WARNING:     /" >&2
6251 >    ;;
6252 > esac
6253 > echo "$as_me:$LINENO: checking for $ac_header" >&5
6254 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6255 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6256 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6257 > else
6258 >  eval "$as_ac_Header=\$ac_header_preproc"
6259 > fi
6260 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6261 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6262 >
6263 > fi
6264 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
6265 >  cat >>confdefs.h <<_ACEOF
6266 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6267 > _ACEOF
6268 >
6269 > fi
6270 >
6271 > done
6272 >
6273 >
6274 >
6275 >
6276 >
6277 > for ac_header in sys/table.h sys/param.h sys/sysctl.h sys/sytemcfg.h
6278 > do
6279 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6280 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6281 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
6282 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6283 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6284 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6285 > fi
6286 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6287 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6288 > else
6289 >  # Is the header compilable?
6290 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
6291 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6292 > cat >conftest.$ac_ext <<_ACEOF
6293 > /* confdefs.h.  */
6294 > _ACEOF
6295 > cat confdefs.h >>conftest.$ac_ext
6296 > cat >>conftest.$ac_ext <<_ACEOF
6297 > /* end confdefs.h.  */
6298 > $ac_includes_default
6299 > #include <$ac_header>
6300 > _ACEOF
6301 > rm -f conftest.$ac_objext
6302 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6303 >  (eval $ac_compile) 2>conftest.er1
6304 >  ac_status=$?
6305 >  grep -v '^ *+' conftest.er1 >conftest.err
6306 >  rm -f conftest.er1
6307 >  cat conftest.err >&5
6308 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6309 >  (exit $ac_status); } &&
6310 >         { ac_try='test -z "$ac_c_werror_flag"
6311 >                         || test ! -s conftest.err'
6312 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6313 >  (eval $ac_try) 2>&5
6314 >  ac_status=$?
6315 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6316 >  (exit $ac_status); }; } &&
6317 >         { ac_try='test -s conftest.$ac_objext'
6318 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6319 >  (eval $ac_try) 2>&5
6320 >  ac_status=$?
6321 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6322 >  (exit $ac_status); }; }; then
6323 >  ac_header_compiler=yes
6324 > else
6325 >  echo "$as_me: failed program was:" >&5
6326 > sed 's/^/| /' conftest.$ac_ext >&5
6327 >
6328 > ac_header_compiler=no
6329 > fi
6330 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6331 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6332 > echo "${ECHO_T}$ac_header_compiler" >&6
6333 >
6334 > # Is the header present?
6335 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
6336 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6337 > cat >conftest.$ac_ext <<_ACEOF
6338 > /* confdefs.h.  */
6339 > _ACEOF
6340 > cat confdefs.h >>conftest.$ac_ext
6341 > cat >>conftest.$ac_ext <<_ACEOF
6342 > /* end confdefs.h.  */
6343 > #include <$ac_header>
6344 > _ACEOF
6345 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6346 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6347 >  ac_status=$?
6348 >  grep -v '^ *+' conftest.er1 >conftest.err
6349 >  rm -f conftest.er1
6350 >  cat conftest.err >&5
6351 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6352 >  (exit $ac_status); } >/dev/null; then
6353 >  if test -s conftest.err; then
6354 >    ac_cpp_err=$ac_c_preproc_warn_flag
6355 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6356 >  else
6357 >    ac_cpp_err=
6358 >  fi
6359 > else
6360 >  ac_cpp_err=yes
6361 > fi
6362 > if test -z "$ac_cpp_err"; then
6363 >  ac_header_preproc=yes
6364 > else
6365 >  echo "$as_me: failed program was:" >&5
6366 > sed 's/^/| /' conftest.$ac_ext >&5
6367 >
6368 >  ac_header_preproc=no
6369 > fi
6370 > rm -f conftest.err conftest.$ac_ext
6371 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6372 > echo "${ECHO_T}$ac_header_preproc" >&6
6373 >
6374 > # So?  What about this header?
6375 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6376 >  yes:no: )
6377 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6378 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6379 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6380 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6381 >    ac_header_preproc=yes
6382 >    ;;
6383 >  no:yes:* )
6384 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6385 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6386 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6387 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6388 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6389 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6390 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6391 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6392 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6393 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6394 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6395 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6396 >    (
6397 >      cat <<\_ASBOX
6398 > ## ------------------------------ ##
6399 > ## Report this to gezelter@nd.edu ##
6400 > ## ------------------------------ ##
6401 > _ASBOX
6402 >    ) |
6403 >      sed "s/^/$as_me: WARNING:     /" >&2
6404 >    ;;
6405 > esac
6406 > echo "$as_me:$LINENO: checking for $ac_header" >&5
6407 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6408 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6409 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6410 > else
6411 >  eval "$as_ac_Header=\$ac_header_preproc"
6412 > fi
6413 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6414 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6415 >
6416 > fi
6417 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
6418 >  cat >>confdefs.h <<_ACEOF
6419 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6420 > _ACEOF
6421 >
6422 > fi
6423 >
6424 > done
6425 >
6426 >
6427 > for ac_header in machine/hal_sysinfo.h
6428 > do
6429 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6430 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6431 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
6432 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6433 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6434 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6435 > fi
6436 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6437 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6438 > else
6439 >  # Is the header compilable?
6440 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
6441 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6442 > cat >conftest.$ac_ext <<_ACEOF
6443 > /* confdefs.h.  */
6444 > _ACEOF
6445 > cat confdefs.h >>conftest.$ac_ext
6446 > cat >>conftest.$ac_ext <<_ACEOF
6447 > /* end confdefs.h.  */
6448 > $ac_includes_default
6449 > #include <$ac_header>
6450 > _ACEOF
6451 > rm -f conftest.$ac_objext
6452 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6453 >  (eval $ac_compile) 2>conftest.er1
6454 >  ac_status=$?
6455 >  grep -v '^ *+' conftest.er1 >conftest.err
6456 >  rm -f conftest.er1
6457 >  cat conftest.err >&5
6458 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6459 >  (exit $ac_status); } &&
6460 >         { ac_try='test -z "$ac_c_werror_flag"
6461 >                         || test ! -s conftest.err'
6462 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6463 >  (eval $ac_try) 2>&5
6464 >  ac_status=$?
6465 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466 >  (exit $ac_status); }; } &&
6467 >         { ac_try='test -s conftest.$ac_objext'
6468 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6469 >  (eval $ac_try) 2>&5
6470 >  ac_status=$?
6471 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6472 >  (exit $ac_status); }; }; then
6473 >  ac_header_compiler=yes
6474 > else
6475 >  echo "$as_me: failed program was:" >&5
6476 > sed 's/^/| /' conftest.$ac_ext >&5
6477 >
6478 > ac_header_compiler=no
6479 > fi
6480 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6481 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6482 > echo "${ECHO_T}$ac_header_compiler" >&6
6483 >
6484 > # Is the header present?
6485 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
6486 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6487 > cat >conftest.$ac_ext <<_ACEOF
6488 > /* confdefs.h.  */
6489 > _ACEOF
6490 > cat confdefs.h >>conftest.$ac_ext
6491 > cat >>conftest.$ac_ext <<_ACEOF
6492 > /* end confdefs.h.  */
6493 > #include <$ac_header>
6494 > _ACEOF
6495 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6496 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6497 >  ac_status=$?
6498 >  grep -v '^ *+' conftest.er1 >conftest.err
6499 >  rm -f conftest.er1
6500 >  cat conftest.err >&5
6501 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 >  (exit $ac_status); } >/dev/null; then
6503 >  if test -s conftest.err; then
6504 >    ac_cpp_err=$ac_c_preproc_warn_flag
6505 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6506 >  else
6507 >    ac_cpp_err=
6508 >  fi
6509 > else
6510 >  ac_cpp_err=yes
6511 > fi
6512 > if test -z "$ac_cpp_err"; then
6513 >  ac_header_preproc=yes
6514 > else
6515 >  echo "$as_me: failed program was:" >&5
6516 > sed 's/^/| /' conftest.$ac_ext >&5
6517 >
6518 >  ac_header_preproc=no
6519 > fi
6520 > rm -f conftest.err conftest.$ac_ext
6521 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6522 > echo "${ECHO_T}$ac_header_preproc" >&6
6523 >
6524 > # So?  What about this header?
6525 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6526 >  yes:no: )
6527 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6528 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6529 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6530 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6531 >    ac_header_preproc=yes
6532 >    ;;
6533 >  no:yes:* )
6534 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6535 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6536 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6537 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6538 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6539 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6540 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6541 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6542 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6543 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6544 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6545 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6546 >    (
6547 >      cat <<\_ASBOX
6548 > ## ------------------------------ ##
6549 > ## Report this to gezelter@nd.edu ##
6550 > ## ------------------------------ ##
6551 > _ASBOX
6552 >    ) |
6553 >      sed "s/^/$as_me: WARNING:     /" >&2
6554 >    ;;
6555 > esac
6556 > echo "$as_me:$LINENO: checking for $ac_header" >&5
6557 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6558 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6559 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6560 > else
6561 >  eval "$as_ac_Header=\$ac_header_preproc"
6562 > fi
6563 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6564 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6565 >
6566 > fi
6567 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
6568 >  cat >>confdefs.h <<_ACEOF
6569 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6570 > _ACEOF
6571 >
6572 > fi
6573 >
6574 > done
6575 >
6576 >
6577 >
6578 >
6579 >
6580 > for ac_func in rint snprintf sranddev strncasecmp
6581 > do
6582 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6583 > echo "$as_me:$LINENO: checking for $ac_func" >&5
6584 > echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6585 > if eval "test \"\${$as_ac_var+set}\" = set"; then
6586 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6587 > else
6588 >  cat >conftest.$ac_ext <<_ACEOF
6589 > /* confdefs.h.  */
6590 > _ACEOF
6591 > cat confdefs.h >>conftest.$ac_ext
6592 > cat >>conftest.$ac_ext <<_ACEOF
6593 > /* end confdefs.h.  */
6594 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6595 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6596 > #define $ac_func innocuous_$ac_func
6597 >
6598 > /* System header to define __stub macros and hopefully few prototypes,
6599 >    which can conflict with char $ac_func (); below.
6600 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6601 >    <limits.h> exists even on freestanding compilers.  */
6602 >
6603 > #ifdef __STDC__
6604 > # include <limits.h>
6605 > #else
6606 > # include <assert.h>
6607 > #endif
6608 >
6609 > #undef $ac_func
6610 >
6611 > /* Override any gcc2 internal prototype to avoid an error.  */
6612 > #ifdef __cplusplus
6613 > extern "C"
6614 > {
6615 > #endif
6616 > /* We use char because int might match the return type of a gcc2
6617 >   builtin and then its argument prototype would still apply.  */
6618 > char $ac_func ();
6619 > /* The GNU C library defines this for functions which it implements
6620 >    to always fail with ENOSYS.  Some functions are actually named
6621 >    something starting with __ and the normal name is an alias.  */
6622 > #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6623 > choke me
6624 > #else
6625 > char (*f) () = $ac_func;
6626 > #endif
6627 > #ifdef __cplusplus
6628 > }
6629 > #endif
6630 >
6631 > int
6632 > main ()
6633 > {
6634 > return f != $ac_func;
6635 >  ;
6636 >  return 0;
6637 > }
6638 > _ACEOF
6639 > rm -f conftest.$ac_objext conftest$ac_exeext
6640 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6641 >  (eval $ac_link) 2>conftest.er1
6642 >  ac_status=$?
6643 >  grep -v '^ *+' conftest.er1 >conftest.err
6644 >  rm -f conftest.er1
6645 >  cat conftest.err >&5
6646 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6647 >  (exit $ac_status); } &&
6648 >         { ac_try='test -z "$ac_c_werror_flag"
6649 >                         || test ! -s conftest.err'
6650 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6651 >  (eval $ac_try) 2>&5
6652 >  ac_status=$?
6653 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6654 >  (exit $ac_status); }; } &&
6655 >         { ac_try='test -s conftest$ac_exeext'
6656 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6657 >  (eval $ac_try) 2>&5
6658 >  ac_status=$?
6659 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6660 >  (exit $ac_status); }; }; then
6661 >  eval "$as_ac_var=yes"
6662 > else
6663 >  echo "$as_me: failed program was:" >&5
6664 > sed 's/^/| /' conftest.$ac_ext >&5
6665 >
6666 > eval "$as_ac_var=no"
6667 > fi
6668 > rm -f conftest.err conftest.$ac_objext \
6669 >      conftest$ac_exeext conftest.$ac_ext
6670 > fi
6671 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6672 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6673 > if test `eval echo '${'$as_ac_var'}'` = yes; then
6674 >  cat >>confdefs.h <<_ACEOF
6675 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6676 > _ACEOF
6677 >
6678 > fi
6679 > done
6680 >
6681 >
6682 >
6683 >
6684 >
6685 >
6686 > for ac_func in pstat_getstatic sysmp getsysinfo sysctl table
6687 > do
6688 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6689 > echo "$as_me:$LINENO: checking for $ac_func" >&5
6690 > echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6691 > if eval "test \"\${$as_ac_var+set}\" = set"; then
6692 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6693 > else
6694 >  cat >conftest.$ac_ext <<_ACEOF
6695 > /* confdefs.h.  */
6696 > _ACEOF
6697 > cat confdefs.h >>conftest.$ac_ext
6698 > cat >>conftest.$ac_ext <<_ACEOF
6699 > /* end confdefs.h.  */
6700 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6701 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6702 > #define $ac_func innocuous_$ac_func
6703 >
6704 > /* System header to define __stub macros and hopefully few prototypes,
6705 >    which can conflict with char $ac_func (); below.
6706 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6707 >    <limits.h> exists even on freestanding compilers.  */
6708 >
6709 > #ifdef __STDC__
6710 > # include <limits.h>
6711 > #else
6712 > # include <assert.h>
6713 > #endif
6714 >
6715 > #undef $ac_func
6716 >
6717 > /* Override any gcc2 internal prototype to avoid an error.  */
6718 > #ifdef __cplusplus
6719 > extern "C"
6720 > {
6721 > #endif
6722 > /* We use char because int might match the return type of a gcc2
6723 >   builtin and then its argument prototype would still apply.  */
6724 > char $ac_func ();
6725 > /* The GNU C library defines this for functions which it implements
6726 >    to always fail with ENOSYS.  Some functions are actually named
6727 >    something starting with __ and the normal name is an alias.  */
6728 > #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6729 > choke me
6730 > #else
6731 > char (*f) () = $ac_func;
6732 > #endif
6733 > #ifdef __cplusplus
6734 > }
6735 > #endif
6736 >
6737 > int
6738 > main ()
6739 > {
6740 > return f != $ac_func;
6741 >  ;
6742 >  return 0;
6743 > }
6744 > _ACEOF
6745 > rm -f conftest.$ac_objext conftest$ac_exeext
6746 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6747 >  (eval $ac_link) 2>conftest.er1
6748 >  ac_status=$?
6749 >  grep -v '^ *+' conftest.er1 >conftest.err
6750 >  rm -f conftest.er1
6751 >  cat conftest.err >&5
6752 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6753 >  (exit $ac_status); } &&
6754 >         { ac_try='test -z "$ac_c_werror_flag"
6755 >                         || test ! -s conftest.err'
6756 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6757 >  (eval $ac_try) 2>&5
6758 >  ac_status=$?
6759 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6760 >  (exit $ac_status); }; } &&
6761 >         { ac_try='test -s conftest$ac_exeext'
6762 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6763 >  (eval $ac_try) 2>&5
6764 >  ac_status=$?
6765 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6766 >  (exit $ac_status); }; }; then
6767 >  eval "$as_ac_var=yes"
6768 > else
6769 >  echo "$as_me: failed program was:" >&5
6770 > sed 's/^/| /' conftest.$ac_ext >&5
6771 >
6772 > eval "$as_ac_var=no"
6773 > fi
6774 > rm -f conftest.err conftest.$ac_objext \
6775 >      conftest$ac_exeext conftest.$ac_ext
6776 > fi
6777 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6778 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6779 > if test `eval echo '${'$as_ac_var'}'` = yes; then
6780 >  cat >>confdefs.h <<_ACEOF
6781 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6782 > _ACEOF
6783 >
6784 > fi
6785 > done
6786 >
6787 > # special check for _system_configuration because AIX <4.3.2 do not
6788 > # contain the `physmem' member.
6789 > echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
6790 > echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
6791 > cat >conftest.$ac_ext <<_ACEOF
6792 > /* confdefs.h.  */
6793 > _ACEOF
6794 > cat confdefs.h >>conftest.$ac_ext
6795 > cat >>conftest.$ac_ext <<_ACEOF
6796 > /* end confdefs.h.  */
6797 > #include <sys/systemcfg.h>
6798 > int
6799 > main ()
6800 > {
6801 > double x = _system_configuration.physmem;
6802 >  ;
6803 >  return 0;
6804 > }
6805 > _ACEOF
6806 > rm -f conftest.$ac_objext
6807 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6808 >  (eval $ac_compile) 2>conftest.er1
6809 >  ac_status=$?
6810 >  grep -v '^ *+' conftest.er1 >conftest.err
6811 >  rm -f conftest.er1
6812 >  cat conftest.err >&5
6813 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6814 >  (exit $ac_status); } &&
6815 >         { ac_try='test -z "$ac_c_werror_flag"
6816 >                         || test ! -s conftest.err'
6817 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6818 >  (eval $ac_try) 2>&5
6819 >  ac_status=$?
6820 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821 >  (exit $ac_status); }; } &&
6822 >         { ac_try='test -s conftest.$ac_objext'
6823 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6824 >  (eval $ac_try) 2>&5
6825 >  ac_status=$?
6826 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827 >  (exit $ac_status); }; }; then
6828 >  echo "$as_me:$LINENO: result: yes" >&5
6829 > echo "${ECHO_T}yes" >&6
6830 >
6831 > cat >>confdefs.h <<\_ACEOF
6832 > #define HAVE__SYSTEM_CONFIGURATION 1
6833 > _ACEOF
6834 >
6835 > else
6836 >  echo "$as_me: failed program was:" >&5
6837 > sed 's/^/| /' conftest.$ac_ext >&5
6838 >
6839 > echo "$as_me:$LINENO: result: no" >&5
6840 > echo "${ECHO_T}no" >&6
6841 > fi
6842 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6843 > echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6844 > echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
6845 > if test "${ac_cv_header_time+set}" = set; then
6846 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6847 > else
6848 >  cat >conftest.$ac_ext <<_ACEOF
6849 > /* confdefs.h.  */
6850 > _ACEOF
6851 > cat confdefs.h >>conftest.$ac_ext
6852 > cat >>conftest.$ac_ext <<_ACEOF
6853 > /* end confdefs.h.  */
6854 > #include <sys/types.h>
6855 > #include <sys/time.h>
6856 > #include <time.h>
6857 >
6858 > int
6859 > main ()
6860 > {
6861 > if ((struct tm *) 0)
6862 > return 0;
6863 >  ;
6864 >  return 0;
6865 > }
6866 > _ACEOF
6867 > rm -f conftest.$ac_objext
6868 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6869 >  (eval $ac_compile) 2>conftest.er1
6870 >  ac_status=$?
6871 >  grep -v '^ *+' conftest.er1 >conftest.err
6872 >  rm -f conftest.er1
6873 >  cat conftest.err >&5
6874 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6875 >  (exit $ac_status); } &&
6876 >         { ac_try='test -z "$ac_c_werror_flag"
6877 >                         || test ! -s conftest.err'
6878 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6879 >  (eval $ac_try) 2>&5
6880 >  ac_status=$?
6881 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6882 >  (exit $ac_status); }; } &&
6883 >         { ac_try='test -s conftest.$ac_objext'
6884 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6885 >  (eval $ac_try) 2>&5
6886 >  ac_status=$?
6887 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 >  (exit $ac_status); }; }; then
6889 >  ac_cv_header_time=yes
6890 > else
6891 >  echo "$as_me: failed program was:" >&5
6892 > sed 's/^/| /' conftest.$ac_ext >&5
6893 >
6894 > ac_cv_header_time=no
6895 > fi
6896 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6897 > fi
6898 > echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6899 > echo "${ECHO_T}$ac_cv_header_time" >&6
6900 > if test $ac_cv_header_time = yes; then
6901 >
6902 > cat >>confdefs.h <<\_ACEOF
6903 > #define TIME_WITH_SYS_TIME 1
6904 > _ACEOF
6905 >
6906 > fi
6907 >
6908 >
6909 > echo "$as_me:$LINENO: checking for clock_t" >&5
6910 > echo $ECHO_N "checking for clock_t... $ECHO_C" >&6
6911 > if test "${ac_cv_type_clock_t+set}" = set; then
6912 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6913 > else
6914 >  cat >conftest.$ac_ext <<_ACEOF
6915 > /* confdefs.h.  */
6916 > _ACEOF
6917 > cat confdefs.h >>conftest.$ac_ext
6918 > cat >>conftest.$ac_ext <<_ACEOF
6919 > /* end confdefs.h.  */
6920 > $ac_includes_default
6921 > int
6922 > main ()
6923 > {
6924 > if ((clock_t *) 0)
6925 >  return 0;
6926 > if (sizeof (clock_t))
6927 >  return 0;
6928 >  ;
6929 >  return 0;
6930 > }
6931 > _ACEOF
6932 > rm -f conftest.$ac_objext
6933 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6934 >  (eval $ac_compile) 2>conftest.er1
6935 >  ac_status=$?
6936 >  grep -v '^ *+' conftest.er1 >conftest.err
6937 >  rm -f conftest.er1
6938 >  cat conftest.err >&5
6939 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 >  (exit $ac_status); } &&
6941 >         { ac_try='test -z "$ac_c_werror_flag"
6942 >                         || test ! -s conftest.err'
6943 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6944 >  (eval $ac_try) 2>&5
6945 >  ac_status=$?
6946 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6947 >  (exit $ac_status); }; } &&
6948 >         { ac_try='test -s conftest.$ac_objext'
6949 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6950 >  (eval $ac_try) 2>&5
6951 >  ac_status=$?
6952 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 >  (exit $ac_status); }; }; then
6954 >  ac_cv_type_clock_t=yes
6955 > else
6956 >  echo "$as_me: failed program was:" >&5
6957 > sed 's/^/| /' conftest.$ac_ext >&5
6958 >
6959 > ac_cv_type_clock_t=no
6960 > fi
6961 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6962 > fi
6963 > echo "$as_me:$LINENO: result: $ac_cv_type_clock_t" >&5
6964 > echo "${ECHO_T}$ac_cv_type_clock_t" >&6
6965 > if test $ac_cv_type_clock_t = yes; then
6966 >
6967 > cat >>confdefs.h <<_ACEOF
6968 > #define HAVE_CLOCK_T 1
6969 > _ACEOF
6970 >
6971 >
6972 > fi
6973 >
6974 > echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6975 > echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6976 > if test "${ac_cv_c_const+set}" = set; then
6977 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6978 > else
6979 >  cat >conftest.$ac_ext <<_ACEOF
6980 > /* confdefs.h.  */
6981 > _ACEOF
6982 > cat confdefs.h >>conftest.$ac_ext
6983 > cat >>conftest.$ac_ext <<_ACEOF
6984 > /* end confdefs.h.  */
6985 >
6986 > int
6987 > main ()
6988 > {
6989 > /* FIXME: Include the comments suggested by Paul. */
6990 > #ifndef __cplusplus
6991 >  /* Ultrix mips cc rejects this.  */
6992 >  typedef int charset[2];
6993 >  const charset x;
6994 >  /* SunOS 4.1.1 cc rejects this.  */
6995 >  char const *const *ccp;
6996 >  char **p;
6997 >  /* NEC SVR4.0.2 mips cc rejects this.  */
6998 >  struct point {int x, y;};
6999 >  static struct point const zero = {0,0};
7000 >  /* AIX XL C 1.02.0.0 rejects this.
7001 >     It does not let you subtract one const X* pointer from another in
7002 >     an arm of an if-expression whose if-part is not a constant
7003 >     expression */
7004 >  const char *g = "string";
7005 >  ccp = &g + (g ? g-g : 0);
7006 >  /* HPUX 7.0 cc rejects these. */
7007 >  ++ccp;
7008 >  p = (char**) ccp;
7009 >  ccp = (char const *const *) p;
7010 >  { /* SCO 3.2v4 cc rejects this.  */
7011 >    char *t;
7012 >    char const *s = 0 ? (char *) 0 : (char const *) 0;
7013 >
7014 >    *t++ = 0;
7015 >  }
7016 >  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
7017 >    int x[] = {25, 17};
7018 >    const int *foo = &x[0];
7019 >    ++foo;
7020 >  }
7021 >  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7022 >    typedef const int *iptr;
7023 >    iptr p = 0;
7024 >    ++p;
7025 >  }
7026 >  { /* AIX XL C 1.02.0.0 rejects this saying
7027 >       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7028 >    struct s { int j; const int *ap[3]; };
7029 >    struct s *b; b->j = 5;
7030 >  }
7031 >  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7032 >    const int foo = 10;
7033 >  }
7034 > #endif
7035 >
7036 >  ;
7037 >  return 0;
7038 > }
7039 > _ACEOF
7040 > rm -f conftest.$ac_objext
7041 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7042 >  (eval $ac_compile) 2>conftest.er1
7043 >  ac_status=$?
7044 >  grep -v '^ *+' conftest.er1 >conftest.err
7045 >  rm -f conftest.er1
7046 >  cat conftest.err >&5
7047 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7048 >  (exit $ac_status); } &&
7049 >         { ac_try='test -z "$ac_c_werror_flag"
7050 >                         || test ! -s conftest.err'
7051 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7052 >  (eval $ac_try) 2>&5
7053 >  ac_status=$?
7054 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7055 >  (exit $ac_status); }; } &&
7056 >         { ac_try='test -s conftest.$ac_objext'
7057 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7058 >  (eval $ac_try) 2>&5
7059 >  ac_status=$?
7060 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7061 >  (exit $ac_status); }; }; then
7062 >  ac_cv_c_const=yes
7063 > else
7064 >  echo "$as_me: failed program was:" >&5
7065 > sed 's/^/| /' conftest.$ac_ext >&5
7066 >
7067 > ac_cv_c_const=no
7068 > fi
7069 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7070 > fi
7071 > echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7072 > echo "${ECHO_T}$ac_cv_c_const" >&6
7073 > if test $ac_cv_c_const = no; then
7074 >
7075 > cat >>confdefs.h <<\_ACEOF
7076 > #define const
7077 > _ACEOF
7078 >
7079 > fi
7080 >
7081 > echo "$as_me:$LINENO: checking for inline" >&5
7082 > echo $ECHO_N "checking for inline... $ECHO_C" >&6
7083 > if test "${ac_cv_c_inline+set}" = set; then
7084 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7085 > else
7086 >  ac_cv_c_inline=no
7087 > for ac_kw in inline __inline__ __inline; do
7088 >  cat >conftest.$ac_ext <<_ACEOF
7089 > /* confdefs.h.  */
7090 > _ACEOF
7091 > cat confdefs.h >>conftest.$ac_ext
7092 > cat >>conftest.$ac_ext <<_ACEOF
7093 > /* end confdefs.h.  */
7094 > #ifndef __cplusplus
7095 > typedef int foo_t;
7096 > static $ac_kw foo_t static_foo () {return 0; }
7097 > $ac_kw foo_t foo () {return 0; }
7098 > #endif
7099 >
7100 > _ACEOF
7101 > rm -f conftest.$ac_objext
7102 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7103 >  (eval $ac_compile) 2>conftest.er1
7104 >  ac_status=$?
7105 >  grep -v '^ *+' conftest.er1 >conftest.err
7106 >  rm -f conftest.er1
7107 >  cat conftest.err >&5
7108 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7109 >  (exit $ac_status); } &&
7110 >         { ac_try='test -z "$ac_c_werror_flag"
7111 >                         || test ! -s conftest.err'
7112 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7113 >  (eval $ac_try) 2>&5
7114 >  ac_status=$?
7115 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7116 >  (exit $ac_status); }; } &&
7117 >         { ac_try='test -s conftest.$ac_objext'
7118 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7119 >  (eval $ac_try) 2>&5
7120 >  ac_status=$?
7121 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 >  (exit $ac_status); }; }; then
7123 >  ac_cv_c_inline=$ac_kw; break
7124 > else
7125 >  echo "$as_me: failed program was:" >&5
7126 > sed 's/^/| /' conftest.$ac_ext >&5
7127 >
7128 > fi
7129 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7130 > done
7131 >
7132 > fi
7133 > echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7134 > echo "${ECHO_T}$ac_cv_c_inline" >&6
7135 >
7136 >
7137 > case $ac_cv_c_inline in
7138 >  inline | yes) ;;
7139 >  *)
7140 >    case $ac_cv_c_inline in
7141 >      no) ac_val=;;
7142 >      *) ac_val=$ac_cv_c_inline;;
7143 >    esac
7144 >    cat >>confdefs.h <<_ACEOF
7145 > #ifndef __cplusplus
7146 > #define inline $ac_val
7147 > #endif
7148 > _ACEOF
7149 >    ;;
7150 > esac
7151 >
7152 >
7153 >
7154 >
7155 > for ac_func in rint sranddev
7156 > do
7157 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7158 > echo "$as_me:$LINENO: checking for $ac_func" >&5
7159 > echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7160 > if eval "test \"\${$as_ac_var+set}\" = set"; then
7161 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7162 > else
7163 >  cat >conftest.$ac_ext <<_ACEOF
7164 > /* confdefs.h.  */
7165 > _ACEOF
7166 > cat confdefs.h >>conftest.$ac_ext
7167 > cat >>conftest.$ac_ext <<_ACEOF
7168 > /* end confdefs.h.  */
7169 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7170 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7171 > #define $ac_func innocuous_$ac_func
7172 >
7173 > /* System header to define __stub macros and hopefully few prototypes,
7174 >    which can conflict with char $ac_func (); below.
7175 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7176 >    <limits.h> exists even on freestanding compilers.  */
7177 >
7178 > #ifdef __STDC__
7179 > # include <limits.h>
7180 > #else
7181 > # include <assert.h>
7182 > #endif
7183 >
7184 > #undef $ac_func
7185 >
7186 > /* Override any gcc2 internal prototype to avoid an error.  */
7187 > #ifdef __cplusplus
7188 > extern "C"
7189 > {
7190 > #endif
7191 > /* We use char because int might match the return type of a gcc2
7192 >   builtin and then its argument prototype would still apply.  */
7193 > char $ac_func ();
7194 > /* The GNU C library defines this for functions which it implements
7195 >    to always fail with ENOSYS.  Some functions are actually named
7196 >    something starting with __ and the normal name is an alias.  */
7197 > #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7198 > choke me
7199 > #else
7200 > char (*f) () = $ac_func;
7201 > #endif
7202 > #ifdef __cplusplus
7203 > }
7204 > #endif
7205 >
7206 > int
7207 > main ()
7208 > {
7209 > return f != $ac_func;
7210 >  ;
7211 >  return 0;
7212 > }
7213 > _ACEOF
7214 > rm -f conftest.$ac_objext conftest$ac_exeext
7215 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7216 >  (eval $ac_link) 2>conftest.er1
7217 >  ac_status=$?
7218 >  grep -v '^ *+' conftest.er1 >conftest.err
7219 >  rm -f conftest.er1
7220 >  cat conftest.err >&5
7221 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222 >  (exit $ac_status); } &&
7223 >         { ac_try='test -z "$ac_c_werror_flag"
7224 >                         || test ! -s conftest.err'
7225 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7226 >  (eval $ac_try) 2>&5
7227 >  ac_status=$?
7228 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229 >  (exit $ac_status); }; } &&
7230 >         { ac_try='test -s conftest$ac_exeext'
7231 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7232 >  (eval $ac_try) 2>&5
7233 >  ac_status=$?
7234 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7235 >  (exit $ac_status); }; }; then
7236 >  eval "$as_ac_var=yes"
7237 > else
7238 >  echo "$as_me: failed program was:" >&5
7239 > sed 's/^/| /' conftest.$ac_ext >&5
7240 >
7241 > eval "$as_ac_var=no"
7242 > fi
7243 > rm -f conftest.err conftest.$ac_objext \
7244 >      conftest$ac_exeext conftest.$ac_ext
7245 > fi
7246 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7247 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7248 > if test `eval echo '${'$as_ac_var'}'` = yes; then
7249 >  cat >>confdefs.h <<_ACEOF
7250 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7251 > _ACEOF
7252  
3814 cat >>confdefs.h <<\EOF
3815 #define HAVE__SYSTEM_CONFIGURATION 1
3816 EOF
3817
3818 else
3819  echo "$as_me: failed program was:" >&5
3820 cat conftest.$ac_ext >&5
3821 echo "$as_me:3821: result: no" >&5
3822 echo "${ECHO_T}no" >&6
7253   fi
7254 < rm -f conftest.$ac_objext conftest.$ac_ext
7254 > done
7255  
7256 +
7257    # clean out junk possibly left behind by a previous configuration
7258    rm -f src/getopt.h
7259    # Check for getopt_long support
7260  
7261   for ac_header in getopt.h
7262   do
7263 < ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
7264 < echo "$as_me:3833: checking for $ac_header" >&5
7263 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7264 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7265 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
7266   echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7267 < if eval "test \"\${$ac_ac_Header+set}\" = set"; then
7267 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7268    echo $ECHO_N "(cached) $ECHO_C" >&6
7269 + fi
7270 + echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7271 + echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7272   else
7273 <  cat >conftest.$ac_ext <<_ACEOF
7274 < #line 3839 "configure"
7275 < #include "confdefs.h"
7273 >  # Is the header compilable?
7274 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
7275 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7276 > cat >conftest.$ac_ext <<_ACEOF
7277 > /* confdefs.h.  */
7278 > _ACEOF
7279 > cat confdefs.h >>conftest.$ac_ext
7280 > cat >>conftest.$ac_ext <<_ACEOF
7281 > /* end confdefs.h.  */
7282 > $ac_includes_default
7283   #include <$ac_header>
7284   _ACEOF
7285 < if { (eval echo "$as_me:3843: \"$ac_cpp conftest.$ac_ext\"") >&5
7285 > rm -f conftest.$ac_objext
7286 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7287 >  (eval $ac_compile) 2>conftest.er1
7288 >  ac_status=$?
7289 >  grep -v '^ *+' conftest.er1 >conftest.err
7290 >  rm -f conftest.er1
7291 >  cat conftest.err >&5
7292 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7293 >  (exit $ac_status); } &&
7294 >         { ac_try='test -z "$ac_c_werror_flag"
7295 >                         || test ! -s conftest.err'
7296 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7297 >  (eval $ac_try) 2>&5
7298 >  ac_status=$?
7299 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7300 >  (exit $ac_status); }; } &&
7301 >         { ac_try='test -s conftest.$ac_objext'
7302 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7303 >  (eval $ac_try) 2>&5
7304 >  ac_status=$?
7305 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7306 >  (exit $ac_status); }; }; then
7307 >  ac_header_compiler=yes
7308 > else
7309 >  echo "$as_me: failed program was:" >&5
7310 > sed 's/^/| /' conftest.$ac_ext >&5
7311 >
7312 > ac_header_compiler=no
7313 > fi
7314 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7315 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7316 > echo "${ECHO_T}$ac_header_compiler" >&6
7317 >
7318 > # Is the header present?
7319 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
7320 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7321 > cat >conftest.$ac_ext <<_ACEOF
7322 > /* confdefs.h.  */
7323 > _ACEOF
7324 > cat confdefs.h >>conftest.$ac_ext
7325 > cat >>conftest.$ac_ext <<_ACEOF
7326 > /* end confdefs.h.  */
7327 > #include <$ac_header>
7328 > _ACEOF
7329 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7330    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7331    ac_status=$?
7332 <  egrep -v '^ *\+' conftest.er1 >conftest.err
7332 >  grep -v '^ *+' conftest.er1 >conftest.err
7333    rm -f conftest.er1
7334    cat conftest.err >&5
7335 <  echo "$as_me:3849: \$? = $ac_status" >&5
7335 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7336    (exit $ac_status); } >/dev/null; then
7337    if test -s conftest.err; then
7338      ac_cpp_err=$ac_c_preproc_warn_flag
7339 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7340    else
7341      ac_cpp_err=
7342    fi
# Line 3857 | Line 7344 | if test -z "$ac_cpp_err"; then
7344    ac_cpp_err=yes
7345   fi
7346   if test -z "$ac_cpp_err"; then
7347 <  eval "$ac_ac_Header=yes"
7347 >  ac_header_preproc=yes
7348   else
7349    echo "$as_me: failed program was:" >&5
7350 <  cat conftest.$ac_ext >&5
7351 <  eval "$ac_ac_Header=no"
7350 > sed 's/^/| /' conftest.$ac_ext >&5
7351 >
7352 >  ac_header_preproc=no
7353   fi
7354   rm -f conftest.err conftest.$ac_ext
7355 + echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7356 + echo "${ECHO_T}$ac_header_preproc" >&6
7357 +
7358 + # So?  What about this header?
7359 + case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7360 +  yes:no: )
7361 +    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7362 + echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7363 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7364 + echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7365 +    ac_header_preproc=yes
7366 +    ;;
7367 +  no:yes:* )
7368 +    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7369 + echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7370 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7371 + echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7372 +    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7373 + echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7374 +    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7375 + echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7376 +    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7377 + echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7378 +    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7379 + echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7380 +    (
7381 +      cat <<\_ASBOX
7382 + ## ------------------------------ ##
7383 + ## Report this to gezelter@nd.edu ##
7384 + ## ------------------------------ ##
7385 + _ASBOX
7386 +    ) |
7387 +      sed "s/^/$as_me: WARNING:     /" >&2
7388 +    ;;
7389 + esac
7390 + echo "$as_me:$LINENO: checking for $ac_header" >&5
7391 + echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7392 + if eval "test \"\${$as_ac_Header+set}\" = set"; then
7393 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7394 + else
7395 +  eval "$as_ac_Header=\$ac_header_preproc"
7396   fi
7397 < echo "$as_me:3868: result: `eval echo '${'$ac_ac_Header'}'`" >&5
7398 < 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
7397 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7398 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7399  
7400   fi
7401 + if test `eval echo '${'$as_ac_Header'}'` = yes; then
7402 +  cat >>confdefs.h <<_ACEOF
7403 + #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7404 + _ACEOF
7405 +
7406 + fi
7407 +
7408   done
7409  
7410 +
7411   for ac_func in getopt_long
7412   do
7413 < ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
7414 < echo "$as_me:3881: checking for $ac_func" >&5
7413 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7414 > echo "$as_me:$LINENO: checking for $ac_func" >&5
7415   echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7416 < if eval "test \"\${$ac_ac_var+set}\" = set"; then
7416 > if eval "test \"\${$as_ac_var+set}\" = set"; then
7417    echo $ECHO_N "(cached) $ECHO_C" >&6
7418   else
7419    cat >conftest.$ac_ext <<_ACEOF
7420 < #line 3887 "configure"
7421 < #include "confdefs.h"
7420 > /* confdefs.h.  */
7421 > _ACEOF
7422 > cat confdefs.h >>conftest.$ac_ext
7423 > cat >>conftest.$ac_ext <<_ACEOF
7424 > /* end confdefs.h.  */
7425 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7426 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7427 > #define $ac_func innocuous_$ac_func
7428 >
7429   /* System header to define __stub macros and hopefully few prototypes,
7430 <    which can conflict with char $ac_func (); below.  */
7431 < #include <assert.h>
7430 >    which can conflict with char $ac_func (); below.
7431 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7432 >    <limits.h> exists even on freestanding compilers.  */
7433 >
7434 > #ifdef __STDC__
7435 > # include <limits.h>
7436 > #else
7437 > # include <assert.h>
7438 > #endif
7439 >
7440 > #undef $ac_func
7441 >
7442   /* Override any gcc2 internal prototype to avoid an error.  */
7443   #ifdef __cplusplus
7444   extern "C"
7445 + {
7446   #endif
7447   /* We use char because int might match the return type of a gcc2
7448     builtin and then its argument prototype would still apply.  */
7449   char $ac_func ();
3899 char (*f) ();
3900
3901 int
3902 main ()
3903 {
7450   /* The GNU C library defines this for functions which it implements
7451      to always fail with ENOSYS.  Some functions are actually named
7452      something starting with __ and the normal name is an alias.  */
7453   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7454   choke me
7455   #else
7456 < f = $ac_func;
7456 > char (*f) () = $ac_func;
7457   #endif
7458 + #ifdef __cplusplus
7459 + }
7460 + #endif
7461  
7462 + int
7463 + main ()
7464 + {
7465 + return f != $ac_func;
7466    ;
7467    return 0;
7468   }
7469   _ACEOF
7470   rm -f conftest.$ac_objext conftest$ac_exeext
7471 < if { (eval echo "$as_me:3918: \"$ac_link\"") >&5
7472 <  (eval $ac_link) 2>&5
7471 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7472 >  (eval $ac_link) 2>conftest.er1
7473    ac_status=$?
7474 <  echo "$as_me:3921: \$? = $ac_status" >&5
7474 >  grep -v '^ *+' conftest.er1 >conftest.err
7475 >  rm -f conftest.er1
7476 >  cat conftest.err >&5
7477 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7478    (exit $ac_status); } &&
7479 <         { ac_try='test -s conftest$ac_exeext'
7480 <  { (eval echo "$as_me:3924: \"$ac_try\"") >&5
7479 >         { ac_try='test -z "$ac_c_werror_flag"
7480 >                         || test ! -s conftest.err'
7481 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7482    (eval $ac_try) 2>&5
7483    ac_status=$?
7484 <  echo "$as_me:3927: \$? = $ac_status" >&5
7484 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7485 >  (exit $ac_status); }; } &&
7486 >         { ac_try='test -s conftest$ac_exeext'
7487 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7488 >  (eval $ac_try) 2>&5
7489 >  ac_status=$?
7490 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7491    (exit $ac_status); }; }; then
7492 <  eval "$ac_ac_var=yes"
7492 >  eval "$as_ac_var=yes"
7493   else
7494    echo "$as_me: failed program was:" >&5
7495 < cat conftest.$ac_ext >&5
7496 < eval "$ac_ac_var=no"
7495 > sed 's/^/| /' conftest.$ac_ext >&5
7496 >
7497 > eval "$as_ac_var=no"
7498   fi
7499 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7499 > rm -f conftest.err conftest.$ac_objext \
7500 >      conftest$ac_exeext conftest.$ac_ext
7501   fi
7502 < echo "$as_me:3937: result: `eval echo '${'$ac_ac_var'}'`" >&5
7503 < echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
7504 < if test `eval echo '${'$ac_ac_var'}'` = yes; then
7505 <  cat >>confdefs.h <<EOF
7506 < #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
7507 < EOF
7502 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7503 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7504 > if test `eval echo '${'$as_ac_var'}'` = yes; then
7505 >  cat >>confdefs.h <<_ACEOF
7506 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7507 > _ACEOF
7508  
7509   else
7510    # FreeBSD has a gnugetopt library for this
7511 <    echo "$as_me:3946: checking for getopt_long in -lgnugetopt" >&5
7511 >    echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
7512   echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
7513   if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
7514    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3951 | Line 7516 | cat >conftest.$ac_ext <<_ACEOF
7516    ac_check_lib_save_LIBS=$LIBS
7517   LIBS="-lgnugetopt  $LIBS"
7518   cat >conftest.$ac_ext <<_ACEOF
7519 < #line 3954 "configure"
7520 < #include "confdefs.h"
7519 > /* confdefs.h.  */
7520 > _ACEOF
7521 > cat confdefs.h >>conftest.$ac_ext
7522 > cat >>conftest.$ac_ext <<_ACEOF
7523 > /* end confdefs.h.  */
7524  
7525   /* Override any gcc2 internal prototype to avoid an error.  */
7526   #ifdef __cplusplus
# Line 3970 | Line 7538 | if { (eval echo "$as_me:3973: \"$ac_link\"") >&5
7538   }
7539   _ACEOF
7540   rm -f conftest.$ac_objext conftest$ac_exeext
7541 < if { (eval echo "$as_me:3973: \"$ac_link\"") >&5
7542 <  (eval $ac_link) 2>&5
7541 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7542 >  (eval $ac_link) 2>conftest.er1
7543    ac_status=$?
7544 <  echo "$as_me:3976: \$? = $ac_status" >&5
7544 >  grep -v '^ *+' conftest.er1 >conftest.err
7545 >  rm -f conftest.er1
7546 >  cat conftest.err >&5
7547 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7548    (exit $ac_status); } &&
7549 <         { ac_try='test -s conftest$ac_exeext'
7550 <  { (eval echo "$as_me:3979: \"$ac_try\"") >&5
7549 >         { ac_try='test -z "$ac_c_werror_flag"
7550 >                         || test ! -s conftest.err'
7551 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7552    (eval $ac_try) 2>&5
7553    ac_status=$?
7554 <  echo "$as_me:3982: \$? = $ac_status" >&5
7554 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7555 >  (exit $ac_status); }; } &&
7556 >         { ac_try='test -s conftest$ac_exeext'
7557 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7558 >  (eval $ac_try) 2>&5
7559 >  ac_status=$?
7560 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7561    (exit $ac_status); }; }; then
7562    ac_cv_lib_gnugetopt_getopt_long=yes
7563   else
7564    echo "$as_me: failed program was:" >&5
7565 < cat conftest.$ac_ext >&5
7565 > sed 's/^/| /' conftest.$ac_ext >&5
7566 >
7567   ac_cv_lib_gnugetopt_getopt_long=no
7568   fi
7569 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7569 > rm -f conftest.err conftest.$ac_objext \
7570 >      conftest$ac_exeext conftest.$ac_ext
7571   LIBS=$ac_check_lib_save_LIBS
7572   fi
7573 < echo "$as_me:3993: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
7573 > echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
7574   echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
7575   if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
7576 <  cat >>confdefs.h <<\EOF
7576 >  cat >>confdefs.h <<\_ACEOF
7577   #define HAVE_GETOPT_LONG 1
7578 < EOF
7578 > _ACEOF
7579  
7580   else
7581    # use the GNU replacement
7582 <      LIBOBJS="$LIBOBJS getopt.$ac_objext"
7583 <      LIBOBJS="$LIBOBJS getopt1.$ac_objext"
7584 <      ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
7582 >      case $LIBOBJS in
7583 >    "getopt.$ac_objext"   | \
7584 >  *" getopt.$ac_objext"   | \
7585 >    "getopt.$ac_objext "* | \
7586 >  *" getopt.$ac_objext "* ) ;;
7587 >  *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
7588 > esac
7589  
7590 +      case $LIBOBJS in
7591 +    "getopt1.$ac_objext"   | \
7592 +  *" getopt1.$ac_objext"   | \
7593 +    "getopt1.$ac_objext "* | \
7594 +  *" getopt1.$ac_objext "* ) ;;
7595 +  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
7596 + esac
7597 +
7598 +                ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
7599 +
7600   fi
7601  
7602   fi
7603   done
7604  
7605 +
7606 +
7607   case $debug in
7608    1)
7609       ;;
7610    *)
7611  
7612 < echo "$as_me:4016: checking whether we are *really* using GNU cc" >&5
7612 >
7613 >
7614 >
7615 >
7616 >
7617 > echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5
7618   echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6
7619   if test "${ac_cv_prog_really_gcc+set}" = set; then
7620    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4027 | Line 7628 | if { ac_try='${CC-cc} -E conftest.c'
7628   #endif
7629   EOF
7630   if { ac_try='${CC-cc} -E conftest.c'
7631 <  { (eval echo "$as_me:4030: \"$ac_try\"") >&5
7631 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7632    (eval $ac_try) 2>&5
7633    ac_status=$?
7634 <  echo "$as_me:4033: \$? = $ac_status" >&5
7634 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
7636    ac_cv_prog_really_gcc=yes
7637   else
# Line 4038 | Line 7639 | echo "$as_me:4041: result: $ac_cv_prog_really_gcc" >&5
7639   fi
7640  
7641   fi
7642 < echo "$as_me:4041: result: $ac_cv_prog_really_gcc" >&5
7642 > echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5
7643   echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6
7644   if test "$ac_cv_prog_really_gcc" = yes; then
7645          :
# Line 4048 | Line 7649 | fi
7649  
7650   fi
7651  
7652 +
7653   # Try to determine "good" native compiler flags if none specified on command
7654   # line
7655   if test "$ac_test_CFLAGS" != "set"; then
# Line 4100 | Line 7702 | echo "$as_me:4103: checking whether ${CC-cc} accepts -
7702    if test $ac_cv_prog_really_gcc = yes; then
7703      # -malign-double for x86 systems
7704  
7705 < echo "$as_me:4103: checking whether ${CC-cc} accepts -malign-double" >&5
7705 >
7706 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5
7707   echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6
7708   if test "${ac_align_double+set}" = set; then
7709    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4114 | Line 7717 | echo "$as_me:4117: result: $ac_align_double" >&5
7717   rm -f conftest*
7718  
7719   fi
7720 < echo "$as_me:4117: result: $ac_align_double" >&5
7720 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
7721   echo "${ECHO_T}$ac_align_double" >&6
7722   if test "$ac_align_double" = yes; then
7723          :
# Line 4126 | Line 7729 | echo "$as_me:4129: checking whether ${CC-cc} accepts -
7729  
7730      # -fstrict-aliasing for gcc-2.95+
7731  
7732 < echo "$as_me:4129: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
7732 >
7733 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
7734   echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6
7735   if test "${ac_fstrict_aliasing+set}" = set; then
7736    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4140 | Line 7744 | echo "$as_me:4143: result: $ac_fstrict_aliasing" >&5
7744   rm -f conftest*
7745  
7746   fi
7747 < echo "$as_me:4143: result: $ac_fstrict_aliasing" >&5
7747 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
7748   echo "${ECHO_T}$ac_fstrict_aliasing" >&6
7749   if test "$ac_fstrict_aliasing" = yes; then
7750          :
# Line 4157 | Line 7761 | echo "$as_me:4160: checking whether ${CC-cc} accepts -
7761                    case "${host_cpu}" in
7762            i586*)
7763  
7764 < echo "$as_me:4160: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
7764 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
7765   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
7766   if test "${ac_cpu_pentium+set}" = set; then
7767    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4171 | Line 7775 | echo "$as_me:4174: result: $ac_cpu_pentium" >&5
7775   rm -f conftest*
7776  
7777   fi
7778 < echo "$as_me:4174: result: $ac_cpu_pentium" >&5
7778 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
7779   echo "${ECHO_T}$ac_cpu_pentium" >&6
7780   if test "$ac_cpu_pentium" = yes; then
7781          :
# Line 4179 | Line 7783 | echo "$as_me:4182: checking whether ${CC-cc} accepts -
7783   else
7784          :
7785  
7786 < echo "$as_me:4182: checking whether ${CC-cc} accepts -mpentium" >&5
7786 >
7787 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5
7788   echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6
7789   if test "${ac_pentium+set}" = set; then
7790    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4193 | Line 7798 | echo "$as_me:4196: result: $ac_pentium" >&5
7798   rm -f conftest*
7799  
7800   fi
7801 < echo "$as_me:4196: result: $ac_pentium" >&5
7801 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
7802   echo "${ECHO_T}$ac_pentium" >&6
7803   if test "$ac_pentium" = yes; then
7804          :
# Line 4208 | Line 7813 | echo "$as_me:4211: checking whether ${CC-cc} accepts -
7813                    ;;
7814            i686*)
7815  
7816 < echo "$as_me:4211: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
7816 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
7817   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6
7818   if test "${ac_cpu_pentiumpro+set}" = set; then
7819    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4222 | Line 7827 | echo "$as_me:4225: result: $ac_cpu_pentiumpro" >&5
7827   rm -f conftest*
7828  
7829   fi
7830 < echo "$as_me:4225: result: $ac_cpu_pentiumpro" >&5
7830 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
7831   echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
7832   if test "$ac_cpu_pentiumpro" = yes; then
7833          :
# Line 4230 | Line 7835 | echo "$as_me:4233: checking whether ${CC-cc} accepts -
7835   else
7836          :
7837  
7838 < echo "$as_me:4233: checking whether ${CC-cc} accepts -mpentiumpro" >&5
7838 >
7839 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5
7840   echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6
7841   if test "${ac_pentiumpro+set}" = set; then
7842    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4244 | Line 7850 | echo "$as_me:4247: result: $ac_pentiumpro" >&5
7850   rm -f conftest*
7851  
7852   fi
7853 < echo "$as_me:4247: result: $ac_pentiumpro" >&5
7853 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
7854   echo "${ECHO_T}$ac_pentiumpro" >&6
7855   if test "$ac_pentiumpro" = yes; then
7856          :
# Line 4262 | Line 7868 | echo "$as_me:4265: checking whether ${CC-cc} accepts -
7868                  is60x=`echo $cputype | egrep "^600-9e?$"`
7869                  if test -n "$is60x"; then
7870  
7871 < echo "$as_me:4265: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
7871 >
7872 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
7873   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6
7874   if test "${ac_m_cpu_60x+set}" = set; then
7875    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4276 | Line 7883 | echo "$as_me:4279: result: $ac_m_cpu_60x" >&5
7883   rm -f conftest*
7884  
7885   fi
7886 < echo "$as_me:4279: result: $ac_m_cpu_60x" >&5
7886 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
7887   echo "${ECHO_T}$ac_m_cpu_60x" >&6
7888   if test "$ac_m_cpu_60x" = yes; then
7889          :
# Line 4288 | Line 7895 | echo "$as_me:4291: checking whether we are using gcc 2
7895  
7896                  elif test "$cputype" = 750; then
7897  
7898 < echo "$as_me:4291: checking whether we are using gcc 2.95 or later" >&5
7898 >
7899 > echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
7900   echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
7901   if test "${ac_cv_prog_gcc_2_95+set}" = set; then
7902    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4302 | Line 7910 | if { ac_try='${CC-cc} -E conftest.c'
7910   #endif
7911   EOF
7912   if { ac_try='${CC-cc} -E conftest.c'
7913 <  { (eval echo "$as_me:4305: \"$ac_try\"") >&5
7913 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7914    (eval $ac_try) 2>&5
7915    ac_status=$?
7916 <  echo "$as_me:4308: \$? = $ac_status" >&5
7916 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7917    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
7918    ac_cv_prog_gcc_2_95=yes
7919   else
# Line 4313 | Line 7921 | echo "$as_me:4316: result: $ac_cv_prog_gcc_2_95" >&5
7921   fi
7922  
7923   fi
7924 < echo "$as_me:4316: result: $ac_cv_prog_gcc_2_95" >&5
7924 > echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
7925   echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
7926   if test "$ac_cv_prog_gcc_2_95" = yes; then
7927          :
7928  
7929 < echo "$as_me:4321: checking whether ${CC-cc} accepts -mcpu=750" >&5
7929 >
7930 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5
7931   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6
7932   if test "${ac_m_cpu_750+set}" = set; then
7933    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4332 | Line 7941 | echo "$as_me:4335: result: $ac_m_cpu_750" >&5
7941   rm -f conftest*
7942  
7943   fi
7944 < echo "$as_me:4335: result: $ac_m_cpu_750" >&5
7944 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
7945   echo "${ECHO_T}$ac_m_cpu_750" >&6
7946   if test "$ac_m_cpu_750" = yes; then
7947          :
# Line 4350 | Line 7959 | echo "$as_me:4353: checking whether ${CC-cc} accepts -
7959                  fi
7960                  if test -z "$CPU_FLAGS"; then
7961  
7962 < echo "$as_me:4353: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
7962 >
7963 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
7964   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6
7965   if test "${ac_m_cpu_powerpc+set}" = set; then
7966    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4364 | Line 7974 | echo "$as_me:4367: result: $ac_m_cpu_powerpc" >&5
7974   rm -f conftest*
7975  
7976   fi
7977 < echo "$as_me:4367: result: $ac_m_cpu_powerpc" >&5
7977 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
7978   echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
7979   if test "$ac_m_cpu_powerpc" = yes; then
7980          :
# Line 4377 | Line 7987 | echo "$as_me:4380: checking whether ${CC-cc} accepts -
7987                  fi
7988                  if test -z "$CPU_FLAGS"; then
7989  
7990 < echo "$as_me:4380: checking whether ${CC-cc} accepts -mpowerpc" >&5
7990 >
7991 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5
7992   echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6
7993   if test "${ac_m_powerpc+set}" = set; then
7994    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4391 | Line 8002 | echo "$as_me:4394: result: $ac_m_powerpc" >&5
8002   rm -f conftest*
8003  
8004   fi
8005 < echo "$as_me:4394: result: $ac_m_powerpc" >&5
8005 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
8006   echo "${ECHO_T}$ac_m_powerpc" >&6
8007   if test "$ac_m_powerpc" = yes; then
8008          :
# Line 4420 | Line 8031 | echo "$as_me:4423: checking whether ${CC-cc} accepts $
8031          CFLAGS="-O3"
8032    fi
8033  
8034 < echo "$as_me:4423: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
8034 >
8035 >
8036 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
8037   echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6
8038   if test "${ac_guessed_cflags+set}" = set; then
8039    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4434 | Line 8047 | echo "$as_me:4437: result: $ac_guessed_cflags" >&5
8047   rm -f conftest*
8048  
8049   fi
8050 < echo "$as_me:4437: result: $ac_guessed_cflags" >&5
8050 > echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
8051   echo "${ECHO_T}$ac_guessed_cflags" >&6
8052   if test "$ac_guessed_cflags" = yes; then
8053          :
# Line 4453 | Line 8066 | fi
8066  
8067   fi
8068  
8069 +
8070   fi
8071  
8072 < echo "$as_me:4458: checking whether we are *really* using GNU c++" >&5
8072 >
8073 >
8074 >
8075 >
8076 >
8077 >
8078 > echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5
8079   echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6
8080   if test "${ac_cv_prog_really_gxx+set}" = set; then
8081    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4469 | Line 8089 | if { ac_try='${CXX-c++} -E conftest.cpp'
8089   #endif
8090   EOF
8091   if { ac_try='${CXX-c++} -E conftest.cpp'
8092 <  { (eval echo "$as_me:4472: \"$ac_try\"") >&5
8092 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8093    (eval $ac_try) 2>&5
8094    ac_status=$?
8095 <  echo "$as_me:4475: \$? = $ac_status" >&5
8095 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
8097    ac_cv_prog_really_gxx=yes
8098   else
# Line 4480 | Line 8100 | echo "$as_me:4483: result: $ac_cv_prog_really_gxx" >&5
8100   fi
8101  
8102   fi
8103 < echo "$as_me:4483: result: $ac_cv_prog_really_gxx" >&5
8103 > echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5
8104   echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6
8105   if test "$ac_cv_prog_really_gxx" = yes; then
8106          :
# Line 4490 | Line 8110 | fi
8110  
8111   fi
8112  
8113 +
8114   # Try to determine "good" native compiler flags if none specified on command
8115   # line
8116   if test "$ac_test_CXXFLAGS" != "set"; then
# Line 4533 | Line 8154 | echo "$as_me:4536: checking whether ${CXX-c++} accepts
8154    if test $ac_cv_prog_really_gxx = yes; then
8155      # -malign-double for x86 systems
8156  
8157 < echo "$as_me:4536: checking whether ${CXX-c++} accepts -malign-double" >&5
8157 >
8158 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5
8159   echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6
8160   if test "${ac_align_double+set}" = set; then
8161    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4547 | Line 8169 | echo "$as_me:4550: result: $ac_align_double" >&5
8169   rm -f conftest*
8170  
8171   fi
8172 < echo "$as_me:4550: result: $ac_align_double" >&5
8172 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
8173   echo "${ECHO_T}$ac_align_double" >&6
8174   if test "$ac_align_double" = yes; then
8175          :
# Line 4559 | Line 8181 | echo "$as_me:4562: checking whether ${CXX-c++} accepts
8181  
8182      # -fstrict-aliasing for gcc-2.95+
8183  
8184 < echo "$as_me:4562: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
8184 >
8185 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
8186   echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6
8187   if test "${ac_fstrict_aliasing+set}" = set; then
8188    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4573 | Line 8196 | echo "$as_me:4576: result: $ac_fstrict_aliasing" >&5
8196   rm -f conftest*
8197  
8198   fi
8199 < echo "$as_me:4576: result: $ac_fstrict_aliasing" >&5
8199 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
8200   echo "${ECHO_T}$ac_fstrict_aliasing" >&6
8201   if test "$ac_fstrict_aliasing" = yes; then
8202          :
# Line 4590 | Line 8213 | echo "$as_me:4593: checking whether ${CXX-c++} accepts
8213                    case "${host_cpu}" in
8214            i586*)
8215  
8216 < echo "$as_me:4593: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5
8216 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5
8217   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentium... $ECHO_C" >&6
8218   if test "${ac_cpu_pentium+set}" = set; then
8219    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4604 | Line 8227 | echo "$as_me:4607: result: $ac_cpu_pentium" >&5
8227   rm -f conftest*
8228  
8229   fi
8230 < echo "$as_me:4607: result: $ac_cpu_pentium" >&5
8230 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
8231   echo "${ECHO_T}$ac_cpu_pentium" >&6
8232   if test "$ac_cpu_pentium" = yes; then
8233          :
# Line 4612 | Line 8235 | echo "$as_me:4615: checking whether ${CXX-c++} accepts
8235   else
8236          :
8237  
8238 < echo "$as_me:4615: checking whether ${CXX-c++} accepts -mpentium" >&5
8238 >
8239 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5
8240   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6
8241   if test "${ac_pentium+set}" = set; then
8242    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4626 | Line 8250 | echo "$as_me:4629: result: $ac_pentium" >&5
8250   rm -f conftest*
8251  
8252   fi
8253 < echo "$as_me:4629: result: $ac_pentium" >&5
8253 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
8254   echo "${ECHO_T}$ac_pentium" >&6
8255   if test "$ac_pentium" = yes; then
8256          :
# Line 4641 | Line 8265 | echo "$as_me:4644: checking whether ${CXX-c++} accepts
8265                    ;;
8266            i686*)
8267  
8268 < echo "$as_me:4644: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
8268 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
8269   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6
8270   if test "${ac_cpu_pentiumpro+set}" = set; then
8271    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4655 | Line 8279 | echo "$as_me:4658: result: $ac_cpu_pentiumpro" >&5
8279   rm -f conftest*
8280  
8281   fi
8282 < echo "$as_me:4658: result: $ac_cpu_pentiumpro" >&5
8282 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
8283   echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
8284   if test "$ac_cpu_pentiumpro" = yes; then
8285          :
# Line 4663 | Line 8287 | echo "$as_me:4666: checking whether ${CXX-c++} accepts
8287   else
8288          :
8289  
8290 < echo "$as_me:4666: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
8290 >
8291 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
8292   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6
8293   if test "${ac_pentiumpro+set}" = set; then
8294    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4677 | Line 8302 | echo "$as_me:4680: result: $ac_pentiumpro" >&5
8302   rm -f conftest*
8303  
8304   fi
8305 < echo "$as_me:4680: result: $ac_pentiumpro" >&5
8305 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
8306   echo "${ECHO_T}$ac_pentiumpro" >&6
8307   if test "$ac_pentiumpro" = yes; then
8308          :
# Line 4695 | Line 8320 | echo "$as_me:4698: checking whether ${CXX-c++} accepts
8320                  is60x=`echo $cputype | egrep "^600-9e?$"`
8321                  if test -n "$is60x"; then
8322  
8323 < echo "$as_me:4698: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
8323 >
8324 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
8325   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6
8326   if test "${ac_m_cpu_60x+set}" = set; then
8327    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4709 | Line 8335 | echo "$as_me:4712: result: $ac_m_cpu_60x" >&5
8335   rm -f conftest*
8336  
8337   fi
8338 < echo "$as_me:4712: result: $ac_m_cpu_60x" >&5
8338 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
8339   echo "${ECHO_T}$ac_m_cpu_60x" >&6
8340   if test "$ac_m_cpu_60x" = yes; then
8341          :
# Line 4721 | Line 8347 | echo "$as_me:4724: checking whether we are using g++ 2
8347  
8348                  elif test "$cputype" = 750; then
8349  
8350 < echo "$as_me:4724: checking whether we are using g++ 2.95 or later" >&5
8350 >
8351 > echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5
8352   echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6
8353   if test "${ac_cv_prog_gxx_2_95+set}" = set; then
8354    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4735 | Line 8362 | if { ac_try='${CXX-c++} -E conftest.cpp'
8362   #endif
8363   EOF
8364   if { ac_try='${CXX-c++} -E conftest.cpp'
8365 <  { (eval echo "$as_me:4738: \"$ac_try\"") >&5
8365 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8366    (eval $ac_try) 2>&5
8367    ac_status=$?
8368 <  echo "$as_me:4741: \$? = $ac_status" >&5
8368 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8369    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
8370    ac_cv_prog_gxx_2_95=yes
8371   else
# Line 4746 | Line 8373 | echo "$as_me:4749: result: $ac_cv_prog_gxx_2_95" >&5
8373   fi
8374  
8375   fi
8376 < echo "$as_me:4749: result: $ac_cv_prog_gxx_2_95" >&5
8376 > echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5
8377   echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6
8378   if test "$ac_cv_prog_gxx_2_95" = yes; then
8379          :
8380  
8381 < echo "$as_me:4754: checking whether ${CXX-c++} accepts -mcpu=750" >&5
8381 >
8382 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5
8383   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6
8384   if test "${ac_m_cpu_750+set}" = set; then
8385    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4765 | Line 8393 | echo "$as_me:4768: result: $ac_m_cpu_750" >&5
8393   rm -f conftest*
8394  
8395   fi
8396 < echo "$as_me:4768: result: $ac_m_cpu_750" >&5
8396 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
8397   echo "${ECHO_T}$ac_m_cpu_750" >&6
8398   if test "$ac_m_cpu_750" = yes; then
8399          :
# Line 4783 | Line 8411 | echo "$as_me:4786: checking whether ${CXX-c++} accepts
8411                  fi
8412                  if test -z "$CPU_FLAGS"; then
8413  
8414 < echo "$as_me:4786: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
8414 >
8415 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
8416   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6
8417   if test "${ac_m_cpu_powerpc+set}" = set; then
8418    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4797 | Line 8426 | echo "$as_me:4800: result: $ac_m_cpu_powerpc" >&5
8426   rm -f conftest*
8427  
8428   fi
8429 < echo "$as_me:4800: result: $ac_m_cpu_powerpc" >&5
8429 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
8430   echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
8431   if test "$ac_m_cpu_powerpc" = yes; then
8432          :
# Line 4810 | Line 8439 | echo "$as_me:4813: checking whether ${CXX-c++} accepts
8439                  fi
8440                  if test -z "$CPU_FLAGS"; then
8441  
8442 < echo "$as_me:4813: checking whether ${CXX-c++} accepts -mpowerpc" >&5
8442 >
8443 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5
8444   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6
8445   if test "${ac_m_powerpc+set}" = set; then
8446    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4824 | Line 8454 | echo "$as_me:4827: result: $ac_m_powerpc" >&5
8454   rm -f conftest*
8455  
8456   fi
8457 < echo "$as_me:4827: result: $ac_m_powerpc" >&5
8457 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
8458   echo "${ECHO_T}$ac_m_powerpc" >&6
8459   if test "$ac_m_powerpc" = yes; then
8460          :
# Line 4853 | Line 8483 | echo "$as_me:4856: checking whether ${CXX-c++} accepts
8483          CXXFLAGS="-O3"
8484    fi
8485  
8486 < echo "$as_me:4856: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
8486 >
8487 >
8488 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
8489   echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6
8490   if test "${ac_guessed_cxxflags+set}" = set; then
8491    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4867 | Line 8499 | echo "$as_me:4870: result: $ac_guessed_cxxflags" >&5
8499   rm -f conftest*
8500  
8501   fi
8502 < echo "$as_me:4870: result: $ac_guessed_cxxflags" >&5
8502 > echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5
8503   echo "${ECHO_T}$ac_guessed_cxxflags" >&6
8504   if test "$ac_guessed_cxxflags" = yes; then
8505          :
# Line 4886 | Line 8518 | fi
8518  
8519   fi
8520  
8521 +
8522   fi
8523  
8524 +
8525 +
8526 +
8527 +
8528   # Try to determine "good" native compiler flags if none specified on command
8529   # line
8530  
# Line 4935 | Line 8572 | echo "$as_me:4938: checking whether ${F90-f90} accepts
8572          F90FLAGS="-O3"
8573    fi
8574  
8575 < echo "$as_me:4938: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
8575 >
8576 > echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
8577   echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6
8578   if test "${ac_guessed_f90flags+set}" = set; then
8579    echo $ECHO_N "(cached) $ECHO_C" >&6
8580   else
8581  
8582 +
8583 +
8584   ac_ext=f90
8585   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
8586   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 4949 | Line 8589 | if { (eval echo "$as_me:4952: \"$ac_compile\"") >&5
8589   echo 'program main' > conftest.$ac_ext
8590   echo 'end program main' >> conftest.$ac_ext
8591   ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5'
8592 < if { (eval echo "$as_me:4952: \"$ac_compile\"") >&5
8592 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8593    (eval $ac_compile) 2>&5
8594    ac_status=$?
8595 <  echo "$as_me:4955: \$? = $ac_status" >&5
8595 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8596    (exit $ac_status); }; then
8597          ac_guessed_f90flags=yes
8598   else
# Line 4965 | Line 8605 | fi
8605   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8606   ac_compiler_gnu=$ac_cv_c_compiler_gnu
8607  
8608 +
8609   fi
8610 < echo "$as_me:4969: result: $ac_guessed_f90flags" >&5
8610 > echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5
8611   echo "${ECHO_T}$ac_guessed_f90flags" >&6
8612   if test "$ac_guessed_f90flags" = yes; then
8613          :
# Line 4985 | Line 8626 | fi
8626  
8627   fi
8628  
8629 +
8630   fi
8631  
8632       ;;
# Line 5001 | Line 8643 | esac
8643   # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8644   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8645   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8646 + # OS/2's system install, which has a completely different semantic
8647   # ./install, which can be erroneously created by make from ./install.sh.
8648 < echo "$as_me:5005: checking for a BSD compatible install" >&5
8649 < echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
8648 > echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8649 > echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
8650   if test -z "$INSTALL"; then
8651   if test "${ac_cv_path_install+set}" = set; then
8652    echo $ECHO_N "(cached) $ECHO_C" >&6
8653   else
8654 <    ac_save_IFS=$IFS; IFS=$ac_path_separator
8655 <  for ac_dir in $PATH; do
8656 <    IFS=$ac_save_IFS
8657 <    # Account for people who put trailing slashes in PATH elements.
8658 <    case $ac_dir/ in
8659 <    / | ./ | .// | /cC/* \
8660 <    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
8661 <    | /usr/ucb/* ) ;;
8662 <    *)
8663 <      # OSF1 and SCO ODT 3.0 have their own names for install.
8664 <      # Don't use installbsd from OSF since it installs stuff as root
8665 <      # by default.
8666 <      for ac_prog in ginstall scoinst install; do
8667 <        if $as_executable_p "$ac_dir/$ac_prog"; then
8654 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8655 > for as_dir in $PATH
8656 > do
8657 >  IFS=$as_save_IFS
8658 >  test -z "$as_dir" && as_dir=.
8659 >  # Account for people who put trailing slashes in PATH elements.
8660 > case $as_dir/ in
8661 >  ./ | .// | /cC/* | \
8662 >  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
8663 >  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
8664 >  /usr/ucb/* ) ;;
8665 >  *)
8666 >    # OSF1 and SCO ODT 3.0 have their own names for install.
8667 >    # Don't use installbsd from OSF since it installs stuff as root
8668 >    # by default.
8669 >    for ac_prog in ginstall scoinst install; do
8670 >      for ac_exec_ext in '' $ac_executable_extensions; do
8671 >        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
8672            if test $ac_prog = install &&
8673 <            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
8673 >            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
8674              # AIX install.  It has an incompatible calling convention.
8675              :
8676            elif test $ac_prog = install &&
8677 <            grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
8677 >            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
8678              # program-specific install script used by HP pwplus--don't use.
8679              :
8680            else
8681 <            ac_cv_path_install="$ac_dir/$ac_prog -c"
8682 <            break 2
8681 >            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
8682 >            break 3
8683            fi
8684          fi
8685        done
8686 <      ;;
8687 <    esac
8688 <  done
8686 >    done
8687 >    ;;
8688 > esac
8689 > done
8690  
8691 +
8692   fi
8693    if test "${ac_cv_path_install+set}" = set; then
8694      INSTALL=$ac_cv_path_install
# Line 5051 | Line 8700 | echo "$as_me:5054: result: $INSTALL" >&5
8700      INSTALL=$ac_install_sh
8701    fi
8702   fi
8703 < echo "$as_me:5054: result: $INSTALL" >&5
8703 > echo "$as_me:$LINENO: result: $INSTALL" >&5
8704   echo "${ECHO_T}$INSTALL" >&6
8705  
8706   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 5062 | Line 8711 | echo "$as_me:5065: checking whether ln -s works" >&5
8711  
8712   test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
8713  
8714 < echo "$as_me:5065: checking whether ln -s works" >&5
8714 > echo "$as_me:$LINENO: checking whether ln -s works" >&5
8715   echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
8716   LN_S=$as_ln_s
8717   if test "$LN_S" = "ln -s"; then
8718 <  echo "$as_me:5069: result: yes" >&5
8718 >  echo "$as_me:$LINENO: result: yes" >&5
8719   echo "${ECHO_T}yes" >&6
8720   else
8721 <  echo "$as_me:5072: result: no, using $LN_S" >&5
8721 >  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8722   echo "${ECHO_T}no, using $LN_S" >&6
8723   fi
8724  
8725 < echo "$as_me:5076: checking whether ${MAKE-make} sets \${MAKE}" >&5
8726 < echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
8727 < set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
8725 > echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8726 > echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
8727 > set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
8728   if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
8729    echo $ECHO_N "(cached) $ECHO_C" >&6
8730   else
8731 <  cat >conftest.make <<\EOF
8731 >  cat >conftest.make <<\_ACEOF
8732   all:
8733 <        @echo 'ac_maketemp="${MAKE}"'
8734 < EOF
8733 >        @echo 'ac_maketemp="$(MAKE)"'
8734 > _ACEOF
8735   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8736   eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
8737   if test -n "$ac_maketemp"; then
# Line 5093 | Line 8742 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_se
8742   rm -f conftest.make
8743   fi
8744   if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
8745 <  echo "$as_me:5096: result: yes" >&5
8745 >  echo "$as_me:$LINENO: result: yes" >&5
8746   echo "${ECHO_T}yes" >&6
8747    SET_MAKE=
8748   else
8749 <  echo "$as_me:5100: result: no" >&5
8749 >  echo "$as_me:$LINENO: result: no" >&5
8750   echo "${ECHO_T}no" >&6
8751    SET_MAKE="MAKE=${MAKE-make}"
8752   fi
# Line 5105 | Line 8754 | echo "$as_me:5108: checking for $ac_word" >&5
8754   if test -n "$ac_tool_prefix"; then
8755    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8756   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8757 < echo "$as_me:5108: checking for $ac_word" >&5
8757 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8758   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8759   if test "${ac_cv_prog_RANLIB+set}" = set; then
8760    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5113 | Line 8762 | else
8762    if test -n "$RANLIB"; then
8763    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8764   else
8765 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
8766 < ac_dummy="$PATH"
8767 < for ac_dir in $ac_dummy; do
8768 <  IFS=$ac_save_IFS
8769 <  test -z "$ac_dir" && ac_dir=.
8770 <  $as_executable_p "$ac_dir/$ac_word" || continue
8771 < ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8772 < echo "$as_me:5123: found $ac_dir/$ac_word" >&5
8773 < break
8765 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8766 > for as_dir in $PATH
8767 > do
8768 >  IFS=$as_save_IFS
8769 >  test -z "$as_dir" && as_dir=.
8770 >  for ac_exec_ext in '' $ac_executable_extensions; do
8771 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8772 >    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8773 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8774 >    break 2
8775 >  fi
8776   done
8777 + done
8778  
8779   fi
8780   fi
8781   RANLIB=$ac_cv_prog_RANLIB
8782   if test -n "$RANLIB"; then
8783 <  echo "$as_me:5131: result: $RANLIB" >&5
8783 >  echo "$as_me:$LINENO: result: $RANLIB" >&5
8784   echo "${ECHO_T}$RANLIB" >&6
8785   else
8786 <  echo "$as_me:5134: result: no" >&5
8786 >  echo "$as_me:$LINENO: result: no" >&5
8787   echo "${ECHO_T}no" >&6
8788   fi
8789  
# Line 5140 | Line 8792 | echo "$as_me:5143: checking for $ac_word" >&5
8792    ac_ct_RANLIB=$RANLIB
8793    # Extract the first word of "ranlib", so it can be a program name with args.
8794   set dummy ranlib; ac_word=$2
8795 < echo "$as_me:5143: checking for $ac_word" >&5
8795 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8796   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8797   if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8798    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5148 | Line 8800 | else
8800    if test -n "$ac_ct_RANLIB"; then
8801    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8802   else
8803 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
8804 < ac_dummy="$PATH"
8805 < for ac_dir in $ac_dummy; do
8806 <  IFS=$ac_save_IFS
8807 <  test -z "$ac_dir" && ac_dir=.
8808 <  $as_executable_p "$ac_dir/$ac_word" || continue
8809 < ac_cv_prog_ac_ct_RANLIB="ranlib"
8810 < echo "$as_me:5158: found $ac_dir/$ac_word" >&5
8811 < break
8803 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8804 > for as_dir in $PATH
8805 > do
8806 >  IFS=$as_save_IFS
8807 >  test -z "$as_dir" && as_dir=.
8808 >  for ac_exec_ext in '' $ac_executable_extensions; do
8809 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8810 >    ac_cv_prog_ac_ct_RANLIB="ranlib"
8811 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8812 >    break 2
8813 >  fi
8814   done
8815 + done
8816  
8817    test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
8818   fi
8819   fi
8820   ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8821   if test -n "$ac_ct_RANLIB"; then
8822 <  echo "$as_me:5167: result: $ac_ct_RANLIB" >&5
8822 >  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8823   echo "${ECHO_T}$ac_ct_RANLIB" >&6
8824   else
8825 <  echo "$as_me:5170: result: no" >&5
8825 >  echo "$as_me:$LINENO: result: no" >&5
8826   echo "${ECHO_T}no" >&6
8827   fi
8828  
# Line 5180 | Line 8835 | echo "$as_me:5183: checking for $ac_word" >&5
8835   do
8836    # Extract the first word of "$ac_prog", so it can be a program name with args.
8837   set dummy $ac_prog; ac_word=$2
8838 < echo "$as_me:5183: checking for $ac_word" >&5
8838 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8839   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8840   if test "${ac_cv_prog_YACC+set}" = set; then
8841    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5188 | Line 8843 | else
8843    if test -n "$YACC"; then
8844    ac_cv_prog_YACC="$YACC" # Let the user override the test.
8845   else
8846 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
8847 < ac_dummy="$PATH"
8848 < for ac_dir in $ac_dummy; do
8849 <  IFS=$ac_save_IFS
8850 <  test -z "$ac_dir" && ac_dir=.
8851 <  $as_executable_p "$ac_dir/$ac_word" || continue
8852 < ac_cv_prog_YACC="$ac_prog"
8853 < echo "$as_me:5198: found $ac_dir/$ac_word" >&5
8854 < break
8846 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8847 > for as_dir in $PATH
8848 > do
8849 >  IFS=$as_save_IFS
8850 >  test -z "$as_dir" && as_dir=.
8851 >  for ac_exec_ext in '' $ac_executable_extensions; do
8852 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8853 >    ac_cv_prog_YACC="$ac_prog"
8854 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8855 >    break 2
8856 >  fi
8857   done
8858 + done
8859  
8860   fi
8861   fi
8862   YACC=$ac_cv_prog_YACC
8863   if test -n "$YACC"; then
8864 <  echo "$as_me:5206: result: $YACC" >&5
8864 >  echo "$as_me:$LINENO: result: $YACC" >&5
8865   echo "${ECHO_T}$YACC" >&6
8866   else
8867 <  echo "$as_me:5209: result: no" >&5
8867 >  echo "$as_me:$LINENO: result: no" >&5
8868   echo "${ECHO_T}no" >&6
8869   fi
8870  
# Line 5218 | Line 8876 | echo "$as_me:5221: checking for $ac_word" >&5
8876   do
8877    # Extract the first word of "$ac_prog", so it can be a program name with args.
8878   set dummy $ac_prog; ac_word=$2
8879 < echo "$as_me:5221: checking for $ac_word" >&5
8879 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8880   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8881   if test "${ac_cv_prog_LEX+set}" = set; then
8882    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5226 | Line 8884 | else
8884    if test -n "$LEX"; then
8885    ac_cv_prog_LEX="$LEX" # Let the user override the test.
8886   else
8887 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
8888 < ac_dummy="$PATH"
8889 < for ac_dir in $ac_dummy; do
8890 <  IFS=$ac_save_IFS
8891 <  test -z "$ac_dir" && ac_dir=.
8892 <  $as_executable_p "$ac_dir/$ac_word" || continue
8893 < ac_cv_prog_LEX="$ac_prog"
8894 < echo "$as_me:5236: found $ac_dir/$ac_word" >&5
8895 < break
8887 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8888 > for as_dir in $PATH
8889 > do
8890 >  IFS=$as_save_IFS
8891 >  test -z "$as_dir" && as_dir=.
8892 >  for ac_exec_ext in '' $ac_executable_extensions; do
8893 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8894 >    ac_cv_prog_LEX="$ac_prog"
8895 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8896 >    break 2
8897 >  fi
8898   done
8899 + done
8900  
8901   fi
8902   fi
8903   LEX=$ac_cv_prog_LEX
8904   if test -n "$LEX"; then
8905 <  echo "$as_me:5244: result: $LEX" >&5
8905 >  echo "$as_me:$LINENO: result: $LEX" >&5
8906   echo "${ECHO_T}$LEX" >&6
8907   else
8908 <  echo "$as_me:5247: result: no" >&5
8908 >  echo "$as_me:$LINENO: result: no" >&5
8909   echo "${ECHO_T}no" >&6
8910   fi
8911  
# Line 5254 | Line 8915 | then
8915  
8916   if test -z "$LEXLIB"
8917   then
8918 <  echo "$as_me:5257: checking for yywrap in -lfl" >&5
8918 >  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
8919   echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
8920   if test "${ac_cv_lib_fl_yywrap+set}" = set; then
8921    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5262 | Line 8923 | cat >conftest.$ac_ext <<_ACEOF
8923    ac_check_lib_save_LIBS=$LIBS
8924   LIBS="-lfl  $LIBS"
8925   cat >conftest.$ac_ext <<_ACEOF
8926 < #line 5265 "configure"
8927 < #include "confdefs.h"
8926 > /* confdefs.h.  */
8927 > _ACEOF
8928 > cat confdefs.h >>conftest.$ac_ext
8929 > cat >>conftest.$ac_ext <<_ACEOF
8930 > /* end confdefs.h.  */
8931  
8932   /* Override any gcc2 internal prototype to avoid an error.  */
8933   #ifdef __cplusplus
# Line 5281 | Line 8945 | if { (eval echo "$as_me:5284: \"$ac_link\"") >&5
8945   }
8946   _ACEOF
8947   rm -f conftest.$ac_objext conftest$ac_exeext
8948 < if { (eval echo "$as_me:5284: \"$ac_link\"") >&5
8949 <  (eval $ac_link) 2>&5
8948 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8949 >  (eval $ac_link) 2>conftest.er1
8950    ac_status=$?
8951 <  echo "$as_me:5287: \$? = $ac_status" >&5
8951 >  grep -v '^ *+' conftest.er1 >conftest.err
8952 >  rm -f conftest.er1
8953 >  cat conftest.err >&5
8954 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8955    (exit $ac_status); } &&
8956 <         { ac_try='test -s conftest$ac_exeext'
8957 <  { (eval echo "$as_me:5290: \"$ac_try\"") >&5
8956 >         { ac_try='test -z "$ac_c_werror_flag"
8957 >                         || test ! -s conftest.err'
8958 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8959    (eval $ac_try) 2>&5
8960    ac_status=$?
8961 <  echo "$as_me:5293: \$? = $ac_status" >&5
8961 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962 >  (exit $ac_status); }; } &&
8963 >         { ac_try='test -s conftest$ac_exeext'
8964 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8965 >  (eval $ac_try) 2>&5
8966 >  ac_status=$?
8967 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968    (exit $ac_status); }; }; then
8969    ac_cv_lib_fl_yywrap=yes
8970   else
8971    echo "$as_me: failed program was:" >&5
8972 < cat conftest.$ac_ext >&5
8972 > sed 's/^/| /' conftest.$ac_ext >&5
8973 >
8974   ac_cv_lib_fl_yywrap=no
8975   fi
8976 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8976 > rm -f conftest.err conftest.$ac_objext \
8977 >      conftest$ac_exeext conftest.$ac_ext
8978   LIBS=$ac_check_lib_save_LIBS
8979   fi
8980 < echo "$as_me:5304: result: $ac_cv_lib_fl_yywrap" >&5
8980 > echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
8981   echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
8982   if test $ac_cv_lib_fl_yywrap = yes; then
8983    LEXLIB="-lfl"
8984   else
8985 <  echo "$as_me:5309: checking for yywrap in -ll" >&5
8985 >  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
8986   echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
8987   if test "${ac_cv_lib_l_yywrap+set}" = set; then
8988    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5314 | Line 8990 | cat >conftest.$ac_ext <<_ACEOF
8990    ac_check_lib_save_LIBS=$LIBS
8991   LIBS="-ll  $LIBS"
8992   cat >conftest.$ac_ext <<_ACEOF
8993 < #line 5317 "configure"
8994 < #include "confdefs.h"
8993 > /* confdefs.h.  */
8994 > _ACEOF
8995 > cat confdefs.h >>conftest.$ac_ext
8996 > cat >>conftest.$ac_ext <<_ACEOF
8997 > /* end confdefs.h.  */
8998  
8999   /* Override any gcc2 internal prototype to avoid an error.  */
9000   #ifdef __cplusplus
# Line 5333 | Line 9012 | if { (eval echo "$as_me:5336: \"$ac_link\"") >&5
9012   }
9013   _ACEOF
9014   rm -f conftest.$ac_objext conftest$ac_exeext
9015 < if { (eval echo "$as_me:5336: \"$ac_link\"") >&5
9016 <  (eval $ac_link) 2>&5
9015 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9016 >  (eval $ac_link) 2>conftest.er1
9017    ac_status=$?
9018 <  echo "$as_me:5339: \$? = $ac_status" >&5
9018 >  grep -v '^ *+' conftest.er1 >conftest.err
9019 >  rm -f conftest.er1
9020 >  cat conftest.err >&5
9021 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022    (exit $ac_status); } &&
9023 <         { ac_try='test -s conftest$ac_exeext'
9024 <  { (eval echo "$as_me:5342: \"$ac_try\"") >&5
9023 >         { ac_try='test -z "$ac_c_werror_flag"
9024 >                         || test ! -s conftest.err'
9025 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9026    (eval $ac_try) 2>&5
9027    ac_status=$?
9028 <  echo "$as_me:5345: \$? = $ac_status" >&5
9028 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9029 >  (exit $ac_status); }; } &&
9030 >         { ac_try='test -s conftest$ac_exeext'
9031 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9032 >  (eval $ac_try) 2>&5
9033 >  ac_status=$?
9034 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9035    (exit $ac_status); }; }; then
9036    ac_cv_lib_l_yywrap=yes
9037   else
9038    echo "$as_me: failed program was:" >&5
9039 < cat conftest.$ac_ext >&5
9039 > sed 's/^/| /' conftest.$ac_ext >&5
9040 >
9041   ac_cv_lib_l_yywrap=no
9042   fi
9043 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9043 > rm -f conftest.err conftest.$ac_objext \
9044 >      conftest$ac_exeext conftest.$ac_ext
9045   LIBS=$ac_check_lib_save_LIBS
9046   fi
9047 < echo "$as_me:5356: result: $ac_cv_lib_l_yywrap" >&5
9047 > echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
9048   echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
9049   if test $ac_cv_lib_l_yywrap = yes; then
9050    LEXLIB="-ll"
# Line 5364 | Line 9055 | if test "x$LEX" != "x:"; then
9055   fi
9056  
9057   if test "x$LEX" != "x:"; then
9058 <  echo "$as_me:5367: checking lex output file root" >&5
9058 >  echo "$as_me:$LINENO: checking lex output file root" >&5
9059   echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
9060   if test "${ac_cv_prog_lex_root+set}" = set; then
9061    echo $ECHO_N "(cached) $ECHO_C" >&6
9062   else
9063    # The minimal lex program is just a single line: %%.  But some broken lexes
9064   # (Solaris, I think it was) want two %% lines, so accommodate them.
9065 < echo '%%
9066 < %%' | $LEX
9065 > cat >conftest.l <<_ACEOF
9066 > %%
9067 > %%
9068 > _ACEOF
9069 > { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
9070 >  (eval $LEX conftest.l) 2>&5
9071 >  ac_status=$?
9072 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9073 >  (exit $ac_status); }
9074   if test -f lex.yy.c; then
9075    ac_cv_prog_lex_root=lex.yy
9076   elif test -f lexyy.c; then
9077    ac_cv_prog_lex_root=lexyy
9078   else
9079 <  { { echo "$as_me:5381: error: cannot find output from $LEX; giving up" >&5
9079 >  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
9080   echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
9081     { (exit 1); exit 1; }; }
9082   fi
9083   fi
9084 < echo "$as_me:5386: result: $ac_cv_prog_lex_root" >&5
9084 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
9085   echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
9086 + rm -f conftest.l
9087   LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
9088  
9089 < echo "$as_me:5390: checking whether yytext is a pointer" >&5
9089 > echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
9090   echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
9091   if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
9092    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5403 | Line 9102 | if { (eval echo "$as_me:5406: \"$ac_link\"") >&5
9102   `cat $LEX_OUTPUT_ROOT.c`
9103   _ACEOF
9104   rm -f conftest.$ac_objext conftest$ac_exeext
9105 < if { (eval echo "$as_me:5406: \"$ac_link\"") >&5
9106 <  (eval $ac_link) 2>&5
9105 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9106 >  (eval $ac_link) 2>conftest.er1
9107    ac_status=$?
9108 <  echo "$as_me:5409: \$? = $ac_status" >&5
9108 >  grep -v '^ *+' conftest.er1 >conftest.err
9109 >  rm -f conftest.er1
9110 >  cat conftest.err >&5
9111 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9112    (exit $ac_status); } &&
9113 <         { ac_try='test -s conftest$ac_exeext'
9114 <  { (eval echo "$as_me:5412: \"$ac_try\"") >&5
9113 >         { ac_try='test -z "$ac_c_werror_flag"
9114 >                         || test ! -s conftest.err'
9115 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9116    (eval $ac_try) 2>&5
9117    ac_status=$?
9118 <  echo "$as_me:5415: \$? = $ac_status" >&5
9118 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9119 >  (exit $ac_status); }; } &&
9120 >         { ac_try='test -s conftest$ac_exeext'
9121 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9122 >  (eval $ac_try) 2>&5
9123 >  ac_status=$?
9124 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125    (exit $ac_status); }; }; then
9126    ac_cv_prog_lex_yytext_pointer=yes
9127   else
9128    echo "$as_me: failed program was:" >&5
9129 < cat conftest.$ac_ext >&5
9129 > sed 's/^/| /' conftest.$ac_ext >&5
9130 >
9131   fi
9132 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9132 > rm -f conftest.err conftest.$ac_objext \
9133 >      conftest$ac_exeext conftest.$ac_ext
9134   LIBS=$ac_save_LIBS
9135   rm -f "${LEX_OUTPUT_ROOT}.c"
9136  
9137   fi
9138 < echo "$as_me:5427: result: $ac_cv_prog_lex_yytext_pointer" >&5
9138 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
9139   echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
9140   if test $ac_cv_prog_lex_yytext_pointer = yes; then
9141  
9142 < cat >>confdefs.h <<\EOF
9142 > cat >>confdefs.h <<\_ACEOF
9143   #define YYTEXT_POINTER 1
9144 < EOF
9144 > _ACEOF
9145 >
9146 > fi
9147 >
9148 > fi
9149 >
9150 >   # Extract the first word of "perl", so it can be a program name with args.
9151 > set dummy perl; ac_word=$2
9152 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9153 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9154 > if test "${ac_cv_path_PERLINTERP+set}" = set; then
9155 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9156 > else
9157 >  case $PERLINTERP in
9158 >  [\\/]* | ?:[\\/]*)
9159 >  ac_cv_path_PERLINTERP="$PERLINTERP" # Let the user override the test with a path.
9160 >  ;;
9161 >  *)
9162 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9163 > for as_dir in $PATH
9164 > do
9165 >  IFS=$as_save_IFS
9166 >  test -z "$as_dir" && as_dir=.
9167 >  for ac_exec_ext in '' $ac_executable_extensions; do
9168 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9169 >    ac_cv_path_PERLINTERP="$as_dir/$ac_word$ac_exec_ext"
9170 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9171 >    break 2
9172 >  fi
9173 > done
9174 > done
9175 >
9176 >  test -z "$ac_cv_path_PERLINTERP" && ac_cv_path_PERLINTERP="perl"
9177 >  ;;
9178 > esac
9179 > fi
9180 > PERLINTERP=$ac_cv_path_PERLINTERP
9181 >
9182 > if test -n "$PERLINTERP"; then
9183 >  echo "$as_me:$LINENO: result: $PERLINTERP" >&5
9184 > echo "${ECHO_T}$PERLINTERP" >&6
9185 > else
9186 >  echo "$as_me:$LINENO: result: no" >&5
9187 > echo "${ECHO_T}no" >&6
9188 > fi
9189 >
9190 >   ac_cv_path_perlinterp="$PERLINTERP"
9191 >   _sHpB='#!'
9192 >
9193 >
9194 > # Check whether --with-perl-shebang or --without-perl-shebang was given.
9195 > if test "${with_perl_shebang+set}" = set; then
9196 >  withval="$with_perl_shebang"
9197 >  opt_perl_shebang="$withval"
9198 > else
9199 >                opt_perl_shebang="not_set"
9200 > fi;
9201 >   echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5
9202 > echo $ECHO_N "checking whether explicit instead of detected sharpbang is to be used... $ECHO_C" >&6
9203 > if test "${ax_cv_opt_perl_shebang+set}" = set; then
9204 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9205 > else
9206 >   case "$opt_perl_shebang" in
9207 >                      not_set  ) ax_cv_opt_perl_shebang=''
9208 >                               ;;
9209 >                         *     )
9210 >        ax_cv_opt_perl_shebang=`echo "$opt_perl_shebang" | sed -e's|^#!\s*\(.*\)$|\1|'`
9211 >                    esac
9212  
9213   fi
9214 + echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5
9215 + echo "${ECHO_T}$ax_cv_opt_perl_shebang" >&6
9216 +   if test "A$ax_cv_opt_perl_shebang" != "A"
9217 +     then
9218 +       ac_cv_sys_kernshrpbang_perl="$ax_cv_opt_perl_shebang"
9219 +       PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
9220 +              { echo "$as_me:$LINENO: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&5
9221 + echo "$as_me: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&6;}
9222  
9223 + # Automatic detection of sharpbang formula starts here
9224 +     else
9225 +   _somian_shbangperl=`$PERLINTERP -V:startperl`
9226 +   negclass="[^']"; # must leave this comment:  m4 will remove the outer brackets for us, heheh
9227 +   echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5
9228 + echo $ECHO_N "checking for kernel sharpbang invocation to start perl... $ECHO_C" >&6
9229 + if test "${ac_cv_sys_kernshrpbang_perl+set}" = set; then
9230 +  echo $ECHO_N "(cached) $ECHO_C" >&6
9231 + else
9232 +  _somian_kspb_perl=`echo "$_somian_shbangperl" | sed -ne"s|.*='\($negclass*\)';$|\1|p"`
9233 +        if test "x$_somian_kspb_perl" == x
9234 +          then _somian_ksbp_warn_empty='durnit'
9235 +          else
9236 +          case "A$_somian_kspb_perl" in
9237 +                 A#!*perl* )
9238 +           ac_cv_sys_kernshrpbang_perl=`echo "$_somian_kspb_perl" | sed -e's|#!\(.*\)$|\1|'`
9239 +                        ;;
9240 +                     A*    )  _somian_ksbp_warn_defau='trouble'
9241 +                              ac_cv_sys_kernshrpbang_perl="$PERLINTERP"
9242 +          esac
9243 +        fi
9244 +
9245   fi
9246 + echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5
9247 + echo "${ECHO_T}$ac_cv_sys_kernshrpbang_perl" >&6
9248 + # The above prints Checking ... result message to user.
9249 +   PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
9250 +
9251 +    if test A${_somian_ksbp_warn_empty+set} == Aset
9252 +      then   { echo "$as_me:$LINENO: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&5
9253 + echo "$as_me: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&2;}
9254 +    fi
9255 + # Inform user after printing result value
9256 +    if test A${_somian_ksbp_warn_defau+set} == Aset
9257 +      then { echo "$as_me:$LINENO: Maybe Not good -" >&5
9258 + echo "$as_me: Maybe Not good -" >&6;}
9259 +           { echo "$as_me:$LINENO: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&5
9260 + echo "$as_me: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&2;}
9261 +      else { echo "$as_me:$LINENO: OK Good result - " >&5
9262 + echo "$as_me: OK Good result - " >&6;}
9263 +           { echo "$as_me:$LINENO: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&5
9264 + echo "$as_me: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&6;}
9265 +    fi
9266 +  fi
9267 +
9268   # Extract the first word of "ar", so it can be a program name with args.
9269   set dummy ar; ac_word=$2
9270 < echo "$as_me:5440: checking for $ac_word" >&5
9270 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9271   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9272   if test "${ac_cv_prog_AR+set}" = set; then
9273    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5445 | Line 9275 | else
9275    if test -n "$AR"; then
9276    ac_cv_prog_AR="$AR" # Let the user override the test.
9277   else
9278 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
9279 < ac_dummy="$PATH"
9280 < for ac_dir in $ac_dummy; do
9281 <  IFS=$ac_save_IFS
9282 <  test -z "$ac_dir" && ac_dir=.
9283 <  $as_executable_p "$ac_dir/$ac_word" || continue
9284 < ac_cv_prog_AR="ar"
9285 < echo "$as_me:5455: found $ac_dir/$ac_word" >&5
9286 < break
9278 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9279 > for as_dir in $PATH
9280 > do
9281 >  IFS=$as_save_IFS
9282 >  test -z "$as_dir" && as_dir=.
9283 >  for ac_exec_ext in '' $ac_executable_extensions; do
9284 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9285 >    ac_cv_prog_AR="ar"
9286 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9287 >    break 2
9288 >  fi
9289   done
9290 + done
9291  
9292    test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE"
9293   fi
9294   fi
9295   AR=$ac_cv_prog_AR
9296   if test -n "$AR"; then
9297 <  echo "$as_me:5464: result: $AR" >&5
9297 >  echo "$as_me:$LINENO: result: $AR" >&5
9298   echo "${ECHO_T}$AR" >&6
9299   else
9300 <  echo "$as_me:5467: result: no" >&5
9300 >  echo "$as_me:$LINENO: result: no" >&5
9301   echo "${ECHO_T}no" >&6
9302   fi
9303  
9304   if test "$AR" = "NONE"; then
9305 <  { { echo "$as_me:5472: error: --> Can't find \`ar'!" >&5
9305 >  { { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5
9306   echo "$as_me: error: --> Can't find \`ar'!" >&2;}
9307     { (exit 1); exit 1; }; }
9308    cat >confcache <<\_ACEOF
# Line 5482 | Line 9315 | echo "$as_me: error: --> Can't find \`ar'!" >&2;}
9315   # config.status only pays attention to the cache file if you give it
9316   # the --recheck option to rerun configure.
9317   #
9318 < # `ac_cv_env_foo' variables (set or unset) will be overriden when
9318 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
9319   # loading this file, other *unset* `ac_cv_foo' will be assigned the
9320   # following values.
9321  
# Line 5500 | Line 9333 | _ACEOF
9333        # `set' does not quote correctly, so add quotes (double-quote
9334        # substitution turns \\\\ into \\, and sed turns \\ into \).
9335        sed -n \
9336 <        "s/'/'\\\\''/g;
9337 <          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9336 >        "s/'/'\\\\''/g;
9337 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9338        ;;
9339      *)
9340        # `set' quotes correctly as required by POSIX, so do not add quotes.
9341        sed -n \
9342 <        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9342 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9343        ;;
9344      esac;
9345   } |
# Line 5517 | Line 9350 | if cmp -s $cache_file confcache; then :; else
9350       t end
9351       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9352       : end' >>confcache
9353 < if cmp -s $cache_file confcache; then :; else
9353 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
9354    if test -w $cache_file; then
9355      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9356      cat confcache >$cache_file
# Line 5531 | Line 9364 | echo "$as_me:5534: checking for $ac_word" >&5
9364  
9365   # Extract the first word of "ps", so it can be a program name with args.
9366   set dummy ps; ac_word=$2
9367 < echo "$as_me:5534: checking for $ac_word" >&5
9367 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9368   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9369   if test "${ac_cv_path_PS+set}" = set; then
9370    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5541 | Line 9374 | else
9374    ac_cv_path_PS="$PS" # Let the user override the test with a path.
9375    ;;
9376    *)
9377 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
9378 < ac_dummy="$PATH"
9379 < for ac_dir in $ac_dummy; do
9380 <  IFS=$ac_save_IFS
9381 <  test -z "$ac_dir" && ac_dir=.
9382 <  if $as_executable_p "$ac_dir/$ac_word"; then
9383 <   ac_cv_path_PS="$ac_dir/$ac_word"
9384 <   echo "$as_me:5551: found $ac_dir/$ac_word" >&5
9385 <   break
9386 < fi
9377 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9378 > for as_dir in $PATH
9379 > do
9380 >  IFS=$as_save_IFS
9381 >  test -z "$as_dir" && as_dir=.
9382 >  for ac_exec_ext in '' $ac_executable_extensions; do
9383 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9384 >    ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
9385 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9386 >    break 2
9387 >  fi
9388 > done
9389   done
9390  
9391    ;;
# Line 5559 | Line 9394 | if test -n "$PS"; then
9394   PS=$ac_cv_path_PS
9395  
9396   if test -n "$PS"; then
9397 <  echo "$as_me:5562: result: $PS" >&5
9397 >  echo "$as_me:$LINENO: result: $PS" >&5
9398   echo "${ECHO_T}$PS" >&6
9399   else
9400 <  echo "$as_me:5565: result: no" >&5
9400 >  echo "$as_me:$LINENO: result: no" >&5
9401   echo "${ECHO_T}no" >&6
9402   fi
9403  
9404 < echo "$as_me:5569: checking for POSIX or BSD ps syntax" >&5
9404 > echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5
9405   echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6
9406   if test "${ac_cv_prog_ps_syntax+set}" = set; then
9407    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5588 | Line 9423 | else
9423                  if test "$ac_cv_prog_ps_ef" = yes; then
9424                          ac_cv_prog_ps_syntax=POSIX
9425                  else
9426 <                        { { echo "$as_me:5591: error: Could not determine ps syntax" >&5
9426 >                        { { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5
9427   echo "$as_me: error: Could not determine ps syntax" >&2;}
9428     { (exit 1); exit 1; }; }
9429                  fi
9430          fi
9431  
9432   fi
9433 < echo "$as_me:5598: result: $ac_cv_prog_ps_syntax" >&5
9433 > echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5
9434   echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6
9435  
9436 < cat >>confdefs.h <<EOF
9436 >
9437 > cat >>confdefs.h <<_ACEOF
9438   #define PSCOMMAND $PS
9439 < EOF
9439 > _ACEOF
9440  
9441 +
9442 + cat >>confdefs.h <<\_ACEOF
9443 + #define OBAPI
9444 + _ACEOF
9445 +
9446 +
9447 +
9448   if test "$ac_cv_prog_ps_syntax" = BSD; then
9449 <  cat >>confdefs.h <<\EOF
9449 >  cat >>confdefs.h <<\_ACEOF
9450   #define PSTYPE_IS_BSD 1
9451 < EOF
9451 > _ACEOF
9452  
9453   else
9454     if test "$ac_cv_prog_ps_syntax" = POSIX; then
9455 <       cat >>confdefs.h <<\EOF
9455 >       cat >>confdefs.h <<\_ACEOF
9456   #define PSTYPE_IS_POSIX 1
9457 < EOF
9457 > _ACEOF
9458  
9459     else
9460 <       { { echo "$as_me:5617: error: Unknown ps syntax type!" >&5
9460 >       { { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5
9461   echo "$as_me: error: Unknown ps syntax type!" >&2;}
9462     { (exit 1); exit 1; }; }
9463     fi
9464   fi
9465  
9466 +
9467   # Check whether --with-mpi or --without-mpi was given.
9468   if test "${with_mpi+set}" = set; then
9469    withval="$with_mpi"
# Line 5638 | Line 9482 | if test "$USE_MPI" = "yes"; then
9482   fi
9483   if test "$USE_MPI" = "yes"; then
9484  
9485 +
9486   # Set variables...
9487   MPI_LIB_DIR="$MPI/lib"
9488   MPI_INC_DIR="$MPI/include"
9489  
9490 < echo "$as_me:5645: checking for mpi.h" >&5
9490 >
9491 >
9492 > echo "$as_me:$LINENO: checking for mpi.h" >&5
9493   echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
9494   have_mpi_h=0
9495 + rm -f conftest*
9496   echo '#include <mpi.h>' > conftest.cc
9497 < if test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then
9498 <        echo "$as_me:5650: result: yes" >&5
9497 > if ${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1 ; then
9498 >        echo "$as_me:$LINENO: result: yes" >&5
9499   echo "${ECHO_T}yes" >&6
9500          have_mpi_h=1
9501   else
9502 <        echo "$as_me:5654: result: no! Check MPI include paths" >&5
9502 >        if test -s conftest.out ; then
9503 >                cat conftest.out >> config.log
9504 >        fi
9505 >        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
9506   echo "${ECHO_T}no! Check MPI include paths" >&6
9507          USE_MPI="no"
9508   fi
9509   rm -f conftest*
9510   if test "$have_mpi_h" = 1; then
9511  
9512 < cat >>confdefs.h <<\EOF
9512 > cat >>confdefs.h <<\_ACEOF
9513   #define HAVE_MPI_H 1
9514 < EOF
9514 > _ACEOF
9515  
9516   fi
9517  
9518 < echo "$as_me:5667: checking whether mpif.h is usable" >&5
9518 > echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5
9519   echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6
9520   have_mpif_h=0
9521   rm -f conftest*
# Line 5674 | Line 9525 | if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out
9525   end
9526   EOF
9527   if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out 2>&1 ; then
9528 <        echo "$as_me:5677: result: yes" >&5
9528 >        echo "$as_me:$LINENO: result: yes" >&5
9529   echo "${ECHO_T}yes" >&6
9530          MPI_F90_INC="$MPI_INC_DIR"
9531          have_mpif_h=1
# Line 5682 | Line 9533 | else
9533          if test -s conftest.out ; then
9534                  cat conftest.out >> config.log
9535          fi
9536 <        echo "$as_me:5685: result: no! Check MPI include paths" >&5
9536 >        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
9537   echo "${ECHO_T}no! Check MPI include paths" >&6
9538          USE_MPI="no"
9539   fi
# Line 5690 | Line 9541 | cat >>confdefs.h <<\EOF
9541  
9542   if test "$have_mpif_h" = 1; then
9543  
9544 < cat >>confdefs.h <<\EOF
9544 > cat >>confdefs.h <<\_ACEOF
9545   #define HAVE_MPIF_H 1
9546 < EOF
9546 > _ACEOF
9547  
9548   fi
9549  
# Line 5706 | Line 9557 | if test x = x"$MPI_LIB"; then
9557   LDFLAGS="${LDFLAGS} -L${MPI_LIB_DIR} "
9558  
9559   if test x = x"$MPI_LIB"; then
9560 <        echo "$as_me:5709: checking for MPI_Init in -lmpich" >&5
9560 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
9561   echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
9562   if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
9563    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5714 | Line 9565 | cat >conftest.$ac_ext <<_ACEOF
9565    ac_check_lib_save_LIBS=$LIBS
9566   LIBS="-lmpich  $LIBS"
9567   cat >conftest.$ac_ext <<_ACEOF
9568 < #line 5717 "configure"
9569 < #include "confdefs.h"
9568 > /* confdefs.h.  */
9569 > _ACEOF
9570 > cat confdefs.h >>conftest.$ac_ext
9571 > cat >>conftest.$ac_ext <<_ACEOF
9572 > /* end confdefs.h.  */
9573  
9574   /* Override any gcc2 internal prototype to avoid an error.  */
9575   #ifdef __cplusplus
# Line 5733 | Line 9587 | if { (eval echo "$as_me:5736: \"$ac_link\"") >&5
9587   }
9588   _ACEOF
9589   rm -f conftest.$ac_objext conftest$ac_exeext
9590 < if { (eval echo "$as_me:5736: \"$ac_link\"") >&5
9591 <  (eval $ac_link) 2>&5
9590 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9591 >  (eval $ac_link) 2>conftest.er1
9592    ac_status=$?
9593 <  echo "$as_me:5739: \$? = $ac_status" >&5
9593 >  grep -v '^ *+' conftest.er1 >conftest.err
9594 >  rm -f conftest.er1
9595 >  cat conftest.err >&5
9596 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597    (exit $ac_status); } &&
9598 <         { ac_try='test -s conftest$ac_exeext'
9599 <  { (eval echo "$as_me:5742: \"$ac_try\"") >&5
9598 >         { ac_try='test -z "$ac_c_werror_flag"
9599 >                         || test ! -s conftest.err'
9600 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9601    (eval $ac_try) 2>&5
9602    ac_status=$?
9603 <  echo "$as_me:5745: \$? = $ac_status" >&5
9603 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9604 >  (exit $ac_status); }; } &&
9605 >         { ac_try='test -s conftest$ac_exeext'
9606 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9607 >  (eval $ac_try) 2>&5
9608 >  ac_status=$?
9609 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9610    (exit $ac_status); }; }; then
9611    ac_cv_lib_mpich_MPI_Init=yes
9612   else
9613    echo "$as_me: failed program was:" >&5
9614 < cat conftest.$ac_ext >&5
9614 > sed 's/^/| /' conftest.$ac_ext >&5
9615 >
9616   ac_cv_lib_mpich_MPI_Init=no
9617   fi
9618 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9618 > rm -f conftest.err conftest.$ac_objext \
9619 >      conftest$ac_exeext conftest.$ac_ext
9620   LIBS=$ac_check_lib_save_LIBS
9621   fi
9622 < echo "$as_me:5756: result: $ac_cv_lib_mpich_MPI_Init" >&5
9622 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
9623   echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
9624   if test $ac_cv_lib_mpich_MPI_Init = yes; then
9625    MPI_LIB="-lmpich"
# Line 5761 | Line 9627 | if test x = x"$MPI_LIB"; then
9627  
9628   fi
9629   if test x = x"$MPI_LIB"; then
9630 <        echo "$as_me:5764: checking for MPI_Init in -lmpi" >&5
9630 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
9631   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
9632   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
9633    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5769 | Line 9635 | cat >conftest.$ac_ext <<_ACEOF
9635    ac_check_lib_save_LIBS=$LIBS
9636   LIBS="-lmpi  $LIBS"
9637   cat >conftest.$ac_ext <<_ACEOF
9638 < #line 5772 "configure"
9639 < #include "confdefs.h"
9638 > /* confdefs.h.  */
9639 > _ACEOF
9640 > cat confdefs.h >>conftest.$ac_ext
9641 > cat >>conftest.$ac_ext <<_ACEOF
9642 > /* end confdefs.h.  */
9643  
9644   /* Override any gcc2 internal prototype to avoid an error.  */
9645   #ifdef __cplusplus
# Line 5788 | Line 9657 | if { (eval echo "$as_me:5791: \"$ac_link\"") >&5
9657   }
9658   _ACEOF
9659   rm -f conftest.$ac_objext conftest$ac_exeext
9660 < if { (eval echo "$as_me:5791: \"$ac_link\"") >&5
9661 <  (eval $ac_link) 2>&5
9660 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9661 >  (eval $ac_link) 2>conftest.er1
9662    ac_status=$?
9663 <  echo "$as_me:5794: \$? = $ac_status" >&5
9663 >  grep -v '^ *+' conftest.er1 >conftest.err
9664 >  rm -f conftest.er1
9665 >  cat conftest.err >&5
9666 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667    (exit $ac_status); } &&
9668 <         { ac_try='test -s conftest$ac_exeext'
9669 <  { (eval echo "$as_me:5797: \"$ac_try\"") >&5
9668 >         { ac_try='test -z "$ac_c_werror_flag"
9669 >                         || test ! -s conftest.err'
9670 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9671 >  (eval $ac_try) 2>&5
9672 >  ac_status=$?
9673 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9674 >  (exit $ac_status); }; } &&
9675 >         { ac_try='test -s conftest$ac_exeext'
9676 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9677    (eval $ac_try) 2>&5
9678    ac_status=$?
9679 <  echo "$as_me:5800: \$? = $ac_status" >&5
9679 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9680    (exit $ac_status); }; }; then
9681    ac_cv_lib_mpi_MPI_Init=yes
9682   else
9683    echo "$as_me: failed program was:" >&5
9684 < cat conftest.$ac_ext >&5
9684 > sed 's/^/| /' conftest.$ac_ext >&5
9685 >
9686   ac_cv_lib_mpi_MPI_Init=no
9687   fi
9688 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9688 > rm -f conftest.err conftest.$ac_objext \
9689 >      conftest$ac_exeext conftest.$ac_ext
9690   LIBS=$ac_check_lib_save_LIBS
9691   fi
9692 < echo "$as_me:5811: result: $ac_cv_lib_mpi_MPI_Init" >&5
9692 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
9693   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
9694   if test $ac_cv_lib_mpi_MPI_Init = yes; then
9695    MPI_LIB="-lmpi"
# Line 5817 | Line 9698 | if test x = x"$MPI_LIB"; then
9698   fi
9699   $as_unset ac_cv_lib_mpi_MPI_Init
9700   if test x = x"$MPI_LIB"; then
9701 <        echo "$as_me:5820: checking for MPI_Init in -lmpi" >&5
9701 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
9702   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
9703   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
9704    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5825 | Line 9706 | cat >conftest.$ac_ext <<_ACEOF
9706    ac_check_lib_save_LIBS=$LIBS
9707   LIBS="-lmpi "-llam" $LIBS"
9708   cat >conftest.$ac_ext <<_ACEOF
9709 < #line 5828 "configure"
9710 < #include "confdefs.h"
9709 > /* confdefs.h.  */
9710 > _ACEOF
9711 > cat confdefs.h >>conftest.$ac_ext
9712 > cat >>conftest.$ac_ext <<_ACEOF
9713 > /* end confdefs.h.  */
9714  
9715   /* Override any gcc2 internal prototype to avoid an error.  */
9716   #ifdef __cplusplus
# Line 5844 | Line 9728 | if { (eval echo "$as_me:5847: \"$ac_link\"") >&5
9728   }
9729   _ACEOF
9730   rm -f conftest.$ac_objext conftest$ac_exeext
9731 < if { (eval echo "$as_me:5847: \"$ac_link\"") >&5
9732 <  (eval $ac_link) 2>&5
9731 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9732 >  (eval $ac_link) 2>conftest.er1
9733    ac_status=$?
9734 <  echo "$as_me:5850: \$? = $ac_status" >&5
9734 >  grep -v '^ *+' conftest.er1 >conftest.err
9735 >  rm -f conftest.er1
9736 >  cat conftest.err >&5
9737 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9738    (exit $ac_status); } &&
9739 <         { ac_try='test -s conftest$ac_exeext'
9740 <  { (eval echo "$as_me:5853: \"$ac_try\"") >&5
9739 >         { ac_try='test -z "$ac_c_werror_flag"
9740 >                         || test ! -s conftest.err'
9741 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9742    (eval $ac_try) 2>&5
9743    ac_status=$?
9744 <  echo "$as_me:5856: \$? = $ac_status" >&5
9744 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9745 >  (exit $ac_status); }; } &&
9746 >         { ac_try='test -s conftest$ac_exeext'
9747 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9748 >  (eval $ac_try) 2>&5
9749 >  ac_status=$?
9750 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9751    (exit $ac_status); }; }; then
9752    ac_cv_lib_mpi_MPI_Init=yes
9753   else
9754    echo "$as_me: failed program was:" >&5
9755 < cat conftest.$ac_ext >&5
9755 > sed 's/^/| /' conftest.$ac_ext >&5
9756 >
9757   ac_cv_lib_mpi_MPI_Init=no
9758   fi
9759 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9759 > rm -f conftest.err conftest.$ac_objext \
9760 >      conftest$ac_exeext conftest.$ac_ext
9761   LIBS=$ac_check_lib_save_LIBS
9762   fi
9763 < echo "$as_me:5867: result: $ac_cv_lib_mpi_MPI_Init" >&5
9763 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
9764   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
9765   if test $ac_cv_lib_mpi_MPI_Init = yes; then
9766    MPI_LIB="-lmpi -llam"
# Line 5873 | Line 9769 | if test x = x"$MPI_LIB"; then
9769   fi
9770   $as_unset ac_cv_lib_mpich_MPI_Init
9771   if test x = x"$MPI_LIB"; then
9772 <        echo "$as_me:5876: checking for MPI_Init in -lmpich" >&5
9772 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
9773   echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
9774   if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
9775    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5881 | Line 9777 | cat >conftest.$ac_ext <<_ACEOF
9777    ac_check_lib_save_LIBS=$LIBS
9778   LIBS="-lmpich "-lpmpich" $LIBS"
9779   cat >conftest.$ac_ext <<_ACEOF
9780 < #line 5884 "configure"
9781 < #include "confdefs.h"
9780 > /* confdefs.h.  */
9781 > _ACEOF
9782 > cat confdefs.h >>conftest.$ac_ext
9783 > cat >>conftest.$ac_ext <<_ACEOF
9784 > /* end confdefs.h.  */
9785  
9786   /* Override any gcc2 internal prototype to avoid an error.  */
9787   #ifdef __cplusplus
# Line 5900 | Line 9799 | if { (eval echo "$as_me:5903: \"$ac_link\"") >&5
9799   }
9800   _ACEOF
9801   rm -f conftest.$ac_objext conftest$ac_exeext
9802 < if { (eval echo "$as_me:5903: \"$ac_link\"") >&5
9803 <  (eval $ac_link) 2>&5
9802 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9803 >  (eval $ac_link) 2>conftest.er1
9804    ac_status=$?
9805 <  echo "$as_me:5906: \$? = $ac_status" >&5
9805 >  grep -v '^ *+' conftest.er1 >conftest.err
9806 >  rm -f conftest.er1
9807 >  cat conftest.err >&5
9808 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9809    (exit $ac_status); } &&
9810 <         { ac_try='test -s conftest$ac_exeext'
9811 <  { (eval echo "$as_me:5909: \"$ac_try\"") >&5
9810 >         { ac_try='test -z "$ac_c_werror_flag"
9811 >                         || test ! -s conftest.err'
9812 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9813    (eval $ac_try) 2>&5
9814    ac_status=$?
9815 <  echo "$as_me:5912: \$? = $ac_status" >&5
9815 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9816 >  (exit $ac_status); }; } &&
9817 >         { ac_try='test -s conftest$ac_exeext'
9818 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9819 >  (eval $ac_try) 2>&5
9820 >  ac_status=$?
9821 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9822    (exit $ac_status); }; }; then
9823    ac_cv_lib_mpich_MPI_Init=yes
9824   else
9825    echo "$as_me: failed program was:" >&5
9826 < cat conftest.$ac_ext >&5
9826 > sed 's/^/| /' conftest.$ac_ext >&5
9827 >
9828   ac_cv_lib_mpich_MPI_Init=no
9829   fi
9830 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9830 > rm -f conftest.err conftest.$ac_objext \
9831 >      conftest$ac_exeext conftest.$ac_ext
9832   LIBS=$ac_check_lib_save_LIBS
9833   fi
9834 < echo "$as_me:5923: result: $ac_cv_lib_mpich_MPI_Init" >&5
9834 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
9835   echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
9836   if test $ac_cv_lib_mpich_MPI_Init = yes; then
9837    MPI_LIB="-lmpich -lpmpich"
# Line 5930 | Line 9841 | echo "$as_me:5933: checking for MPI_Init in -lmpi" >&5
9841  
9842   $as_unset ac_cv_lib_mpi_MPI_Init
9843   if test x = x"$MPI_LIB"; then
9844 < echo "$as_me:5933: checking for MPI_Init in -lmpi" >&5
9844 > echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
9845   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
9846   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
9847    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5938 | Line 9849 | cat >conftest.$ac_ext <<_ACEOF
9849    ac_check_lib_save_LIBS=$LIBS
9850   LIBS="-lmpi -llam -lpthread $LIBS"
9851   cat >conftest.$ac_ext <<_ACEOF
9852 < #line 5941 "configure"
9853 < #include "confdefs.h"
9852 > /* confdefs.h.  */
9853 > _ACEOF
9854 > cat confdefs.h >>conftest.$ac_ext
9855 > cat >>conftest.$ac_ext <<_ACEOF
9856 > /* end confdefs.h.  */
9857  
9858   /* Override any gcc2 internal prototype to avoid an error.  */
9859   #ifdef __cplusplus
# Line 5957 | Line 9871 | if { (eval echo "$as_me:5960: \"$ac_link\"") >&5
9871   }
9872   _ACEOF
9873   rm -f conftest.$ac_objext conftest$ac_exeext
9874 < if { (eval echo "$as_me:5960: \"$ac_link\"") >&5
9875 <  (eval $ac_link) 2>&5
9874 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9875 >  (eval $ac_link) 2>conftest.er1
9876    ac_status=$?
9877 <  echo "$as_me:5963: \$? = $ac_status" >&5
9877 >  grep -v '^ *+' conftest.er1 >conftest.err
9878 >  rm -f conftest.er1
9879 >  cat conftest.err >&5
9880 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9881    (exit $ac_status); } &&
9882 <         { ac_try='test -s conftest$ac_exeext'
9883 <  { (eval echo "$as_me:5966: \"$ac_try\"") >&5
9882 >         { ac_try='test -z "$ac_c_werror_flag"
9883 >                         || test ! -s conftest.err'
9884 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9885    (eval $ac_try) 2>&5
9886    ac_status=$?
9887 <  echo "$as_me:5969: \$? = $ac_status" >&5
9887 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9888 >  (exit $ac_status); }; } &&
9889 >         { ac_try='test -s conftest$ac_exeext'
9890 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9891 >  (eval $ac_try) 2>&5
9892 >  ac_status=$?
9893 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9894    (exit $ac_status); }; }; then
9895    ac_cv_lib_mpi_MPI_Init=yes
9896   else
9897    echo "$as_me: failed program was:" >&5
9898 < cat conftest.$ac_ext >&5
9898 > sed 's/^/| /' conftest.$ac_ext >&5
9899 >
9900   ac_cv_lib_mpi_MPI_Init=no
9901   fi
9902 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9902 > rm -f conftest.err conftest.$ac_objext \
9903 >      conftest$ac_exeext conftest.$ac_ext
9904   LIBS=$ac_check_lib_save_LIBS
9905   fi
9906 < echo "$as_me:5980: result: $ac_cv_lib_mpi_MPI_Init" >&5
9906 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
9907   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
9908   if test $ac_cv_lib_mpi_MPI_Init = yes; then
9909    MPI_LIB="-lmpi -llam -lpthread"
9910   else
9911  
9912 <             { { echo "$as_me:5986: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
9912 >             { { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
9913   echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;}
9914     { (exit 1); exit 1; }; }
9915               USE_MPI="no"
# Line 5992 | Line 9918 | echo "$as_me:5995: checking for MPI Fortran library" >
9918  
9919   fi
9920  
9921 < echo "$as_me:5995: checking for MPI Fortran library" >&5
9921 >
9922 >
9923 > echo "$as_me:$LINENO: checking for MPI Fortran library" >&5
9924   echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6
9925   MPI_F90_LIB=""
9926   if test -f "$MPI_LIB_DIR/libfmpich.a" ; then
# Line 6002 | Line 9930 | echo "$as_me:6005: result: found $MPI_F90_LIB" >&5
9930   else
9931                          MPI_F90_LIB="  "
9932   fi
9933 < echo "$as_me:6005: result: found $MPI_F90_LIB" >&5
9933 > echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5
9934   echo "${ECHO_T}found $MPI_F90_LIB" >&6
9935  
9936 +
9937   fi
9938  
9939 < # Check whether --with-sprng or --without-sprng was given.
9940 < if test "${with_sprng+set}" = set; then
9941 <  withval="$with_sprng"
9942 <  with_sprng=$withval
9943 < else
9944 <  with_sprng="/usr/local"
9939 >
9940 >
9941 >
9942 > USE_CGAL=no
9943 > cgal_makefile=auto
9944 >
9945 > # Check whether --with-cgal-makefile or --without-cgal-makefile was given.
9946 > if test "${with_cgal_makefile+set}" = set; then
9947 >  withval="$with_cgal_makefile"
9948 >  cgal_makefile="$withval"
9949   fi;
9950  
9951 < 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
9951 > if test "x$cgal_makefile" != xno; then
9952  
9953 < # Set variables...
9954 < SPRNG_LIB_DIR="$SPRNG/lib"
9955 < SPRNG_INC_DIR="$SPRNG/include"
9953 >  if test "x$cgal_makefile" = xauto -a "x$CGAL_MAKEFILE" != x; then
9954 >    cgal_makefile="$CGAL_MAKEFILE"
9955 >  fi
9956  
9957 < echo "$as_me:6032: checking for sprng.h" >&5
9958 < 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
9957 >  echo "$as_me:$LINENO: checking for cgal_makefile: $cgal_makefile" >&5
9958 > echo $ECHO_N "checking for cgal_makefile: $cgal_makefile... $ECHO_C" >&6
9959  
9960 < cat >>confdefs.h <<\EOF
9961 < #define HAVE_SPRNG_H 1
9960 >  if test -f "$cgal_makefile"; then
9961 >
9962 >    cat >config.tmp.Makefile <<EOF
9963 > include $cgal_makefile
9964 > default:
9965 >        @echo CGAL_OS_COMPILER=\"\${CGAL_OS_COMPILER}\" >config.tmp.cgalvariables
9966 >        @echo CGAL_INCLDIR=\"\${CGAL_INCL_DIR}\" >>config.tmp.cgalvariables
9967 >        @echo CGAL_INCLCONFDIR=\"\${CGAL_INCL_CONF_DIR}\" >>config.tmp.cgalvariables
9968 >        @echo CGAL_LIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
9969 >        @echo CGAL_RLIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
9970 >        @echo CGAL_CXXFLAGS=\"\${CGAL_CXXFLAGS}\" >>config.tmp.cgalvariables
9971 >        @echo GMP_INCLDIR=\"\${GMP_INCL_DIR}\" >>config.tmp.cgalvariables
9972 >        @echo GMP_LIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
9973 >        @echo GMP_RLIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
9974 >        @echo LEDA_INCLDIR=\"\${LEDA_INCL_DIR}\" >>config.tmp.cgalvariables
9975 >        @echo LEDA_LIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
9976 >        @echo LEDA_RLIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
9977   EOF
9978  
9979 < fi
9979 >    make -s -f config.tmp.Makefile
9980 >    . config.tmp.cgalvariables
9981  
9982 < ac_ext=c
6055 < ac_cpp='$CPP $CPPFLAGS'
6056 < 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
9982 >    rm -f config.tmp.Makefile config.tmp.cgalvariables
9983  
9984 < ac_save_LDFLAGS=$LDFLAGS
9985 < LDFLAGS="${LDFLAGS} -L${SPRNG_LIB_DIR} "
9984 >    if test "x$CGAL_INCLDIR" = "x"; then
9985 >      CGAL_INCLDIR=""
9986 >    fi
9987  
9988 < echo "$as_me:6063: checking for init_rng in -lsprng" >&5
9989 < echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6
9990 < 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"
9988 >    if test "x$CGAL_LIBDIR" = "x"; then
9989 >      CGAL_LIBDIR=""
9990 >    fi
9991  
9992 < /* Override any gcc2 internal prototype to avoid an error.  */
9993 < #ifdef __cplusplus
9994 < extern "C"
6077 < #endif
6078 < /* We use char because int might match the return type of a gcc2
6079 <   builtin and then its argument prototype would still apply.  */
6080 < char init_rng ();
6081 < int
6082 < main ()
6083 < {
6084 < init_rng ();
6085 <  ;
6086 <  return 0;
6087 < }
6088 < _ACEOF
6089 < rm -f conftest.$ac_objext conftest$ac_exeext
6090 < if { (eval echo "$as_me:6090: \"$ac_link\"") >&5
6091 <  (eval $ac_link) 2>&5
6092 <  ac_status=$?
6093 <  echo "$as_me:6093: \$? = $ac_status" >&5
6094 <  (exit $ac_status); } &&
6095 <         { ac_try='test -s conftest$ac_exeext'
6096 <  { (eval echo "$as_me:6096: \"$ac_try\"") >&5
6097 <  (eval $ac_try) 2>&5
6098 <  ac_status=$?
6099 <  echo "$as_me:6099: \$? = $ac_status" >&5
6100 <  (exit $ac_status); }; }; then
6101 <  ac_cv_lib_sprng_init_rng=yes
6102 < else
6103 <  echo "$as_me: failed program was:" >&5
6104 < cat conftest.$ac_ext >&5
6105 < ac_cv_lib_sprng_init_rng=no
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
9992 >    if test "x$CGAL_RLIBDIR" = "x"; then
9993 >      CGAL_RLIBDIR=""
9994 >    fi
9995  
9996 <             { { echo "$as_me:6116: error: Didn't find libsprng; check path for SPRNG package first..." >&5
9997 < echo "$as_me: error: Didn't find libsprng; check path for SPRNG package first..." >&2;}
9998 <   { (exit 1); exit 1; }; }
6119 <             USE_SPRNG="no"
9996 >    if test "x$LEDA_INCLDIR" = "x"; then
9997 >      LEDA_INCLDIR=""
9998 >    fi
9999  
10000 < fi
10000 >    if test "x$LEDA_LIBDIR" = "x"; then
10001 >      LEDA_LIBDIR=""
10002 >    fi
10003  
10004 < if test "$USE_SPRNG" = "no"; then
10005 <  { { echo "$as_me:6124: error: No working SPRNG library found" >&5
10006 < echo "$as_me: error: No working SPRNG library found" >&2;}
6126 <   { (exit 1); exit 1; }; }
6127 < fi
10004 >    if test "x$LEDA_RLIBDIR" = "x"; then
10005 >      LEDA_RLIBDIR=""
10006 >    fi
10007  
10008 < fi
10008 >    if test "x$GMP_INCLDIR" = "x"; then
10009 >      GMP_INCLDIR=""
10010 >    fi
10011  
10012 < echo "$as_me:6131: checking if MKL is wanted" >&5
10013 < echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6
10012 >    if test "x$GMP_LIBDIR" = "x"; then
10013 >      GMP_LIBDIR=""
10014 >    fi
10015  
10016 < # Check whether --with-mkl or --without-mkl was given.
10017 < 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";
10016 >    if test "x$GMP_RLIBDIR" = "x"; then
10017 >      GMP_RLIBDIR=""
10018      fi
10019  
10020 <  ac_ext=c
10021 < ac_cpp='$CPP $CPPFLAGS'
10022 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10023 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10024 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
10020 >    echo "$as_me:$LINENO: result: CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&5
10021 > echo "${ECHO_T}CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&6
10022 >    echo "$as_me:$LINENO: result: CGAL_INCLDIR=       $CGAL_INCLDIR" >&5
10023 > echo "${ECHO_T}CGAL_INCLDIR=       $CGAL_INCLDIR" >&6
10024 >    echo "$as_me:$LINENO: result: CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&5
10025 > echo "${ECHO_T}CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&6
10026 >    echo "$as_me:$LINENO: result: CGAL_LIBDIR=        $CGAL_LIBDIR" >&5
10027 > echo "${ECHO_T}CGAL_LIBDIR=        $CGAL_LIBDIR" >&6
10028 >    echo "$as_me:$LINENO: result: CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&5
10029 > echo "${ECHO_T}CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&6
10030 >    echo "$as_me:$LINENO: result: LEDA_INCLDIR=       $LEDA_INCLDIR" >&5
10031 > echo "${ECHO_T}LEDA_INCLDIR=       $LEDA_INCLDIR" >&6
10032 >    echo "$as_me:$LINENO: result: LEDA_LIBDIR=        $LEDA_LIBDIR" >&5
10033 > echo "${ECHO_T}LEDA_LIBDIR=        $LEDA_LIBDIR" >&6
10034 >    echo "$as_me:$LINENO: result: GMP_INCLDIR=        $GMP_INCLDIR" >&5
10035 > echo "${ECHO_T}GMP_INCLDIR=        $GMP_INCLDIR" >&6
10036 >    echo "$as_me:$LINENO: result: GMP_LIBDIR=         $GMP_LIBDIR" >&5
10037 > echo "${ECHO_T}GMP_LIBDIR=         $GMP_LIBDIR" >&6
10038  
10039 <  ac_save_CPPFLAGS=$CPPFLAGS
10040 <  CPPFLAGS="${CPPFLAGS} -I${mkldir}/include"
10041 <  ac_save_LDFLAGS=$LDFLAGS
10042 <  LDFLAGS="${LDFLAGS} -L${mkldir}/lib/32 -lmkl -lvml -lguide"
10043 <  echo "$as_me:6164: checking for mkl.h" >&5
10044 < echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
10045 < if test "${ac_cv_header_mkl_h+set}" = set; then
10039 >    ac_ext=cc
10040 > ac_cpp='$CXXCPP $CPPFLAGS'
10041 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10042 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10043 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10044 >
10045 >    save_CXXFLAGS="$CXXFLAGS"
10046 >    CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
10047 >    if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
10048 >  echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
10049 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
10050 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
10051    echo $ECHO_N "(cached) $ECHO_C" >&6
10052 + fi
10053 + echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
10054 + echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
10055   else
10056 <  cat >conftest.$ac_ext <<_ACEOF
10057 < #line 6170 "configure"
10058 < #include "confdefs.h"
10059 < #include <mkl.h>
10056 >  # Is the header compilable?
10057 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h usability" >&5
10058 > echo $ECHO_N "checking CGAL/Cartesian.h usability... $ECHO_C" >&6
10059 > cat >conftest.$ac_ext <<_ACEOF
10060 > /* confdefs.h.  */
10061   _ACEOF
10062 < if { (eval echo "$as_me:6174: \"$ac_cpp conftest.$ac_ext\"") >&5
10062 > cat confdefs.h >>conftest.$ac_ext
10063 > cat >>conftest.$ac_ext <<_ACEOF
10064 > /* end confdefs.h.  */
10065 > $ac_includes_default
10066 > #include <CGAL/Cartesian.h>
10067 > _ACEOF
10068 > rm -f conftest.$ac_objext
10069 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10070 >  (eval $ac_compile) 2>conftest.er1
10071 >  ac_status=$?
10072 >  grep -v '^ *+' conftest.er1 >conftest.err
10073 >  rm -f conftest.er1
10074 >  cat conftest.err >&5
10075 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10076 >  (exit $ac_status); } &&
10077 >         { ac_try='test -z "$ac_cxx_werror_flag"
10078 >                         || test ! -s conftest.err'
10079 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10080 >  (eval $ac_try) 2>&5
10081 >  ac_status=$?
10082 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10083 >  (exit $ac_status); }; } &&
10084 >         { ac_try='test -s conftest.$ac_objext'
10085 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10086 >  (eval $ac_try) 2>&5
10087 >  ac_status=$?
10088 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10089 >  (exit $ac_status); }; }; then
10090 >  ac_header_compiler=yes
10091 > else
10092 >  echo "$as_me: failed program was:" >&5
10093 > sed 's/^/| /' conftest.$ac_ext >&5
10094 >
10095 > ac_header_compiler=no
10096 > fi
10097 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10098 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10099 > echo "${ECHO_T}$ac_header_compiler" >&6
10100 >
10101 > # Is the header present?
10102 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h presence" >&5
10103 > echo $ECHO_N "checking CGAL/Cartesian.h presence... $ECHO_C" >&6
10104 > cat >conftest.$ac_ext <<_ACEOF
10105 > /* confdefs.h.  */
10106 > _ACEOF
10107 > cat confdefs.h >>conftest.$ac_ext
10108 > cat >>conftest.$ac_ext <<_ACEOF
10109 > /* end confdefs.h.  */
10110 > #include <CGAL/Cartesian.h>
10111 > _ACEOF
10112 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10113    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10114    ac_status=$?
10115 <  egrep -v '^ *\+' conftest.er1 >conftest.err
10115 >  grep -v '^ *+' conftest.er1 >conftest.err
10116    rm -f conftest.er1
10117    cat conftest.err >&5
10118 <  echo "$as_me:6180: \$? = $ac_status" >&5
10118 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10119    (exit $ac_status); } >/dev/null; then
10120    if test -s conftest.err; then
10121 <    ac_cpp_err=$ac_c_preproc_warn_flag
10121 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
10122 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
10123    else
10124      ac_cpp_err=
10125    fi
# Line 6188 | Line 10127 | if test -z "$ac_cpp_err"; then
10127    ac_cpp_err=yes
10128   fi
10129   if test -z "$ac_cpp_err"; then
10130 <  ac_cv_header_mkl_h=yes
10130 >  ac_header_preproc=yes
10131   else
10132    echo "$as_me: failed program was:" >&5
10133 <  cat conftest.$ac_ext >&5
10134 <  ac_cv_header_mkl_h=no
10133 > sed 's/^/| /' conftest.$ac_ext >&5
10134 >
10135 >  ac_header_preproc=no
10136   fi
10137   rm -f conftest.err conftest.$ac_ext
10138 < fi
10139 < 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
10138 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10139 > echo "${ECHO_T}$ac_header_preproc" >&6
10140  
10141 <    echo "$as_me:6203: checking for vslNewStream in -lmkl" >&5
10142 < echo $ECHO_N "checking for vslNewStream in -lmkl... $ECHO_C" >&6
10143 < if test "${ac_cv_lib_mkl_vslNewStream+set}" = set; then
10141 > # So?  What about this header?
10142 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10143 >  yes:no: )
10144 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&5
10145 > echo "$as_me: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10146 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&5
10147 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&2;}
10148 >    ac_header_preproc=yes
10149 >    ;;
10150 >  no:yes:* )
10151 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&5
10152 > echo "$as_me: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&2;}
10153 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&5
10154 > echo "$as_me: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&2;}
10155 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&5
10156 > echo "$as_me: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&2;}
10157 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&5
10158 > echo "$as_me: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&2;}
10159 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&5
10160 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&2;}
10161 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&5
10162 > echo "$as_me: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&2;}
10163 >    (
10164 >      cat <<\_ASBOX
10165 > ## ------------------------------ ##
10166 > ## Report this to gezelter@nd.edu ##
10167 > ## ------------------------------ ##
10168 > _ASBOX
10169 >    ) |
10170 >      sed "s/^/$as_me: WARNING:     /" >&2
10171 >    ;;
10172 > esac
10173 > echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
10174 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
10175 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
10176    echo $ECHO_N "(cached) $ECHO_C" >&6
10177   else
10178 <  ac_check_lib_save_LIBS=$LIBS
10179 < LIBS="-lmkl  $LIBS"
10180 < cat >conftest.$ac_ext <<_ACEOF
10181 < #line 6211 "configure"
6212 < #include "confdefs.h"
10178 >  ac_cv_header_CGAL_Cartesian_h=$ac_header_preproc
10179 > fi
10180 > echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
10181 > echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
10182  
10183 < /* Override any gcc2 internal prototype to avoid an error.  */
10184 < #ifdef __cplusplus
10185 < extern "C"
10186 < #endif
10187 < /* We use char because int might match the return type of a gcc2
10188 <   builtin and then its argument prototype would still apply.  */
10189 < char vslNewStream ();
10183 > fi
10184 > if test $ac_cv_header_CGAL_Cartesian_h = yes; then
10185 >  cgal=yes
10186 > else
10187 >  cgal=no
10188 > fi
10189 >
10190 >
10191 >    CXXFLAGS="$save_CXXFLAGS"
10192 >
10193 >    if test "x$cgal" = xyes; then
10194 >      echo "$as_me:$LINENO: checking for CGAL version" >&5
10195 > echo $ECHO_N "checking for CGAL version... $ECHO_C" >&6
10196 >      LOCATION=${CGAL_INCLDIR}
10197 >      LOCATION=${LOCATION:-/usr/include}
10198 >      if test -f $LOCATION/CGAL/version.h; then
10199 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/version.h | sed 's/[^0-9\.]*//g'`
10200 >      else
10201 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/config.h | sed 's/[^0-9\.]*//g'`
10202 >      fi
10203 >      if echo $CGAL_VERSION | grep -q "^[3456789]"; then
10204 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) yes" >&5
10205 > echo "${ECHO_T}($CGAL_VERSION) yes" >&6
10206 >      else
10207 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) no" >&5
10208 > echo "${ECHO_T}($CGAL_VERSION) no" >&6
10209 >        cgal=no
10210 >      fi
10211 >    fi
10212 >
10213 >    if test "x$cgal" = xyes; then
10214 >      CGAL_LIBS="-lCGAL"
10215 >      echo "$as_me:$LINENO: checking whether CGAL uses LEDA" >&5
10216 > echo $ECHO_N "checking whether CGAL uses LEDA... $ECHO_C" >&6
10217 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_LEDA; then
10218 >        CGAL_USES_LEDA=yes
10219 >        echo "$as_me:$LINENO: result: yes" >&5
10220 > echo "${ECHO_T}yes" >&6
10221 >        CGAL_DEFINES="-DCGAL_USE_LEDA -DLEDA_PREFIX"
10222 >      else
10223 >        echo "$as_me:$LINENO: result: no" >&5
10224 > echo "${ECHO_T}no" >&6
10225 >        CGAL_USES_LEDA=no
10226 >      fi
10227 >
10228 >      echo "$as_me:$LINENO: checking whether CGAL uses GMP" >&5
10229 > echo $ECHO_N "checking whether CGAL uses GMP... $ECHO_C" >&6
10230 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_GMP; then
10231 >        CGAL_USES_GMP=yes
10232 >        echo "$as_me:$LINENO: result: yes" >&5
10233 > echo "${ECHO_T}yes" >&6
10234 >        CGAL_DEFINES="-DCGAL_USE_GMP $CGAL_DEFINES"
10235 >      else
10236 >        echo "$as_me:$LINENO: result: no" >&5
10237 > echo "${ECHO_T}no" >&6
10238 >        CGAL_USES_GMP=no
10239 >      fi
10240 >
10241 >      CGAL_LIBS="$CGAL_LIBS -lm"
10242 >
10243 >      CGAL_CXXFLAGS="-ftemplate-depth-50"
10244 >
10245 >      echo "$as_me:$LINENO: result: CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&5
10246 > echo "${ECHO_T}CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&6
10247 >      echo "$as_me:$LINENO: result: CGAL_USES_GMP =     $CGAL_USES_GMP" >&5
10248 > echo "${ECHO_T}CGAL_USES_GMP =     $CGAL_USES_GMP" >&6
10249 >      echo "$as_me:$LINENO: result: CGAL_INCLDIR  =     $CGAL_INCLDIR" >&5
10250 > echo "${ECHO_T}CGAL_INCLDIR  =     $CGAL_INCLDIR" >&6
10251 >      echo "$as_me:$LINENO: result: CGAL_LIBDIR   =     $CGAL_LIBDIR" >&5
10252 > echo "${ECHO_T}CGAL_LIBDIR   =     $CGAL_LIBDIR" >&6
10253 >      echo "$as_me:$LINENO: result: CGAL_DEFINES  =     $CGAL_DEFINES" >&5
10254 > echo "${ECHO_T}CGAL_DEFINES  =     $CGAL_DEFINES" >&6
10255 >      echo "$as_me:$LINENO: result: CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&5
10256 > echo "${ECHO_T}CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&6
10257 >      echo "$as_me:$LINENO: result: CGAL_LIBS     =     $CGAL_LIBS" >&5
10258 > echo "${ECHO_T}CGAL_LIBS     =     $CGAL_LIBS" >&6
10259 >    fi
10260 >
10261 >    if test "x$cgal" = xyes; then
10262 >      save_LIBS="$LIBS"
10263 >      LIBS="$LIBS -L$CGAL_LIBDIR"
10264 >      if test "x$CGAL_USES_LEDA" = xyes; then
10265 >        LIBS="-lL $LIBS -L$LEDA_LIBDIR"
10266 >      fi
10267 >      # if test "x$CGAL_USES_GMP" = xyes; then
10268 >      #   LIBS="-lgmp $LIBS $GMP_LIBDIR"
10269 >      # fi
10270 >      echo "$as_me:$LINENO: checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL" >&5
10271 > echo $ECHO_N "checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL... $ECHO_C" >&6
10272 > save_CXXFLAGS_CHECK_CXX_LIB="$CXXFLAGS"
10273 > CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
10274 > save_LIBS_CHECK_CXX_LIB="$LIBS"
10275 > LIBS="-lCGAL  $LIBS"
10276 > cat >conftest.$ac_ext <<_ACEOF
10277 > /* confdefs.h.  */
10278 > _ACEOF
10279 > cat confdefs.h >>conftest.$ac_ext
10280 > cat >>conftest.$ac_ext <<_ACEOF
10281 > /* end confdefs.h.  */
10282 > #include <CGAL/Cartesian.h>
10283   int
10284   main ()
10285   {
10286 < vslNewStream ();
10286 > ::CGAL::Cartesian<int>::Point_2 P
10287    ;
10288    return 0;
10289   }
10290   _ACEOF
10291   rm -f conftest.$ac_objext conftest$ac_exeext
10292 < if { (eval echo "$as_me:6230: \"$ac_link\"") >&5
10293 <  (eval $ac_link) 2>&5
10292 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10293 >  (eval $ac_link) 2>conftest.er1
10294    ac_status=$?
10295 <  echo "$as_me:6233: \$? = $ac_status" >&5
10295 >  grep -v '^ *+' conftest.er1 >conftest.err
10296 >  rm -f conftest.er1
10297 >  cat conftest.err >&5
10298 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10299    (exit $ac_status); } &&
10300 <         { ac_try='test -s conftest$ac_exeext'
10301 <  { (eval echo "$as_me:6236: \"$ac_try\"") >&5
10300 >         { ac_try='test -z "$ac_cxx_werror_flag"
10301 >                         || test ! -s conftest.err'
10302 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10303    (eval $ac_try) 2>&5
10304    ac_status=$?
10305 <  echo "$as_me:6239: \$? = $ac_status" >&5
10305 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10306 >  (exit $ac_status); }; } &&
10307 >         { ac_try='test -s conftest$ac_exeext'
10308 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10309 >  (eval $ac_try) 2>&5
10310 >  ac_status=$?
10311 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312    (exit $ac_status); }; }; then
10313 <  ac_cv_lib_mkl_vslNewStream=yes
10313 >  echo "$as_me:$LINENO: result: yes" >&5
10314 > echo "${ECHO_T}yes" >&6
10315 > cgal=yes
10316   else
10317    echo "$as_me: failed program was:" >&5
10318 < cat conftest.$ac_ext >&5
6245 < ac_cv_lib_mkl_vslNewStream=no
6246 < fi
6247 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6248 < LIBS=$ac_check_lib_save_LIBS
6249 < fi
6250 < echo "$as_me:6250: result: $ac_cv_lib_mkl_vslNewStream" >&5
6251 < echo "${ECHO_T}$ac_cv_lib_mkl_vslNewStream" >&6
6252 < if test $ac_cv_lib_mkl_vslNewStream = yes; then
6253 <  MKL_LIBDIR="${mkldir}/lib/32",
6254 <                     MKL_LIB="-lmkl -lvml -lguide",
6255 <                     HAVE_MKL="yes"
6256 < fi
10318 > sed 's/^/| /' conftest.$ac_ext >&5
10319  
10320 < else
10321 <  MKL_INC="-I${mkldir}/include"
10320 > echo "$as_me:$LINENO: result: no" >&5
10321 > echo "${ECHO_T}no" >&6
10322 > cgal=no
10323   fi
10324 + rm -f conftest.err conftest.$ac_objext \
10325 +      conftest$ac_exeext conftest.$ac_ext
10326 + CXXFLAGS="$save_CXXFLAGS_CHECK_CXX_LIB"
10327 + LIBS="$save_LIBS_CHECK_CXX_LIB"
10328 +      LIBS="$save_LIBS"
10329 +    fi
10330  
10331 <  CPPFLAGS=$ac_save_CPPFLAGS
6263 <  LDFLAGS=$ac_save_LDFLAGS
10331 >  fi
10332    ac_ext=c
10333   ac_cpp='$CPP $CPPFLAGS'
10334   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10335   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10336   ac_compiler_gnu=$ac_cv_c_compiler_gnu
10337  
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
10338  
10339 + fi
10340 +
10341 + if test "x$cgal" = xyes; then
10342 +  USE_CGAL=yes
10343 +
10344 + cat >>confdefs.h <<\_ACEOF
10345 + #define HAVE_CGAL 1
10346 + _ACEOF
10347 +
10348 +
10349 + cat >>confdefs.h <<_ACEOF
10350 + #define CGAL_VERSION $CGAL_VERSION
10351 + _ACEOF
10352 +
10353 +  if ! echo $CGAL_VERSION | grep -q "^3.0"; then
10354 +    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
10355 + echo "$as_me: WARNING: *****************************************************" >&2;}
10356 +    { echo "$as_me:$LINENO: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&5
10357 + echo "$as_me: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&2;}
10358 +    { echo "$as_me:$LINENO: WARNING: *** supported versions. It may still work though. ***" >&5
10359 + echo "$as_me: WARNING: *** supported versions. It may still work though. ***" >&2;}
10360 +    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
10361 + echo "$as_me: WARNING: *****************************************************" >&2;}
10362 +  fi
10363   else
10364 +   if test "x$cgal_makefile" != xno; then
10365 +    echo "$as_me:$LINENO: result: No CGAL support. These are not the droids you want." >&5
10366 + echo "${ECHO_T}No CGAL support. These are not the droids you want." >&6
10367 +  fi
10368 +  CGAL_INCLDIR=
10369 +  CGAL_LIBDIR=
10370 +  CGAL_RLIBDIR=
10371 +  CGAL_DEFINES=
10372 +  CGAL_CXXFLAGS=
10373 +  CGAL_LIBS=
10374 + fi
10375  
6278    echo "$as_me:6278: result: no" >&5
6279 echo "${ECHO_T}no" >&6
10376  
10377 < fi;
10377 > CGAL_INC_DIR="${CGAL_INCLDIR} ${CGAL_INCLCONFDIR}"
10378  
10379 + CGAL_LIB_DIR=${CGAL_LIBDIR}
10380 +
10381 + CGAL_RLIB_DIR=${CGAL_RLIBDIR}
10382 +
10383 +
10384 +
10385 +
10386 +
10387 +
10388 +
10389   # Check whether --enable-doxygen or --disable-doxygen was given.
10390   if test "${enable_doxygen+set}" = set; then
10391    enableval="$enable_doxygen"
# Line 6309 | Line 10415 | echo "$as_me:6312: checking for $ac_word" >&5
10415   else
10416          # Extract the first word of "doxygen", so it can be a program name with args.
10417   set dummy doxygen; ac_word=$2
10418 < echo "$as_me:6312: checking for $ac_word" >&5
10418 > echo "$as_me:$LINENO: checking for $ac_word" >&5
10419   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10420   if test "${ac_cv_path_DOXYGEN+set}" = set; then
10421    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6319 | Line 10425 | else
10425    ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
10426    ;;
10427    *)
10428 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
10429 < ac_dummy="$PATH"
10430 < for ac_dir in $ac_dummy; do
10431 <  IFS=$ac_save_IFS
10432 <  test -z "$ac_dir" && ac_dir=.
10433 <  if $as_executable_p "$ac_dir/$ac_word"; then
10434 <   ac_cv_path_DOXYGEN="$ac_dir/$ac_word"
10435 <   echo "$as_me:6329: found $ac_dir/$ac_word" >&5
10436 <   break
10437 < fi
10428 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10429 > for as_dir in $PATH
10430 > do
10431 >  IFS=$as_save_IFS
10432 >  test -z "$as_dir" && as_dir=.
10433 >  for ac_exec_ext in '' $ac_executable_extensions; do
10434 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10435 >    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
10436 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10437 >    break 2
10438 >  fi
10439   done
10440 + done
10441  
10442    ;;
10443   esac
# Line 6337 | Line 10445 | if test -n "$DOXYGEN"; then
10445   DOXYGEN=$ac_cv_path_DOXYGEN
10446  
10447   if test -n "$DOXYGEN"; then
10448 <  echo "$as_me:6340: result: $DOXYGEN" >&5
10448 >  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
10449   echo "${ECHO_T}$DOXYGEN" >&6
10450   else
10451 <  echo "$as_me:6343: result: no" >&5
10451 >  echo "$as_me:$LINENO: result: no" >&5
10452   echo "${ECHO_T}no" >&6
10453   fi
10454  
10455          if test "x$DOXYGEN" = x; then
10456                  if test "x$enable_doxygen" = xyes; then
10457 <                        { { echo "$as_me:6349: error: could not find doxygen" >&5
10457 >                        { { echo "$as_me:$LINENO: error: could not find doxygen" >&5
10458   echo "$as_me: error: could not find doxygen" >&2;}
10459     { (exit 1); exit 1; }; }
10460                  fi
# Line 6355 | Line 10463 | echo "$as_me:6358: checking for $ac_word" >&5
10463                  enable_doc=yes
10464                  # Extract the first word of "dot", so it can be a program name with args.
10465   set dummy dot; ac_word=$2
10466 < echo "$as_me:6358: checking for $ac_word" >&5
10466 > echo "$as_me:$LINENO: checking for $ac_word" >&5
10467   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10468   if test "${ac_cv_path_DOT+set}" = set; then
10469    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6365 | Line 10473 | else
10473    ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
10474    ;;
10475    *)
10476 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
10477 < ac_dummy="$PATH"
10478 < for ac_dir in $ac_dummy; do
10479 <  IFS=$ac_save_IFS
10480 <  test -z "$ac_dir" && ac_dir=.
10481 <  if $as_executable_p "$ac_dir/$ac_word"; then
10482 <   ac_cv_path_DOT="$ac_dir/$ac_word"
10483 <   echo "$as_me:6375: found $ac_dir/$ac_word" >&5
10484 <   break
10485 < fi
10476 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10477 > for as_dir in $PATH
10478 > do
10479 >  IFS=$as_save_IFS
10480 >  test -z "$as_dir" && as_dir=.
10481 >  for ac_exec_ext in '' $ac_executable_extensions; do
10482 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10483 >    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
10484 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10485 >    break 2
10486 >  fi
10487   done
10488 + done
10489  
10490    ;;
10491   esac
# Line 6383 | Line 10493 | if test -n "$DOT"; then
10493   DOT=$ac_cv_path_DOT
10494  
10495   if test -n "$DOT"; then
10496 <  echo "$as_me:6386: result: $DOT" >&5
10496 >  echo "$as_me:$LINENO: result: $DOT" >&5
10497   echo "${ECHO_T}$DOT" >&6
10498   else
10499 <  echo "$as_me:6389: result: no" >&5
10499 >  echo "$as_me:$LINENO: result: no" >&5
10500   echo "${ECHO_T}no" >&6
10501   fi
10502  
# Line 6399 | Line 10509 | if test x$DOT = x; then
10509    DOC=0
10510   fi
10511  
10512 +
10513   if test x$DOT = x; then
10514          if test "x$enable_dot" = xyes; then
10515 <                { { echo "$as_me:6404: error: could not find dot" >&5
10515 >                { { echo "$as_me:$LINENO: error: could not find dot" >&5
10516   echo "$as_me: error: could not find dot" >&2;}
10517     { (exit 1); exit 1; }; }
10518          fi
# Line 6410 | Line 10521 | OBJEXT=".$OBJEXT"
10521          enable_dot=yes
10522   fi
10523  
10524 +
10525 +
10526 +
10527 +
10528 +
10529 +
10530   OBJEXT=".$OBJEXT"
10531  
10532   OOPSE=oopse
# Line 6440 | Line 10557 | DEBUG=${DEBUG-"-g"}
10557   F90FLAGS=${F90FLAGS-""}
10558   LDFLAGS=${LDFLAGS-""}
10559   DEBUG=${DEBUG-"-g"}
10560 +
10561 + case $debug in
10562 +  1)
10563 +     FFLAGS="$DEBUG $FFLAGS"
10564 +     F90FLAGS="$DEBUG $F90FLAGS"
10565 +     ;;
10566 +  *)
10567 +     ;;
10568 + esac
10569 +
10570 +
10571 +
10572 +
10573 +
10574 +
10575 +
10576 +
10577 +
10578 +
10579 +
10580 +
10581 +
10582 +
10583 +
10584 +
10585  
6444 case $debug in
6445  1)
6446     FFLAGS="$DEBUG $FFLAGS"
6447     F90FLAGS="$DEBUG $F90FLAGS"
6448     ;;
6449  *)
6450     ;;
6451 esac
10586  
10587 < ac_config_headers="$ac_config_headers src/config.h"
10587 >          ac_config_headers="$ac_config_headers src/config.h"
10588  
10589 < ac_config_files="$ac_config_files make/Makefile src/utils/Makefile"
10589 >                                        ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile scripts/filepp"
10590  
10591 +
10592   cat >confcache <<\_ACEOF
10593   # This file is a shell script that caches the results of configure
10594   # tests run on this system so they can be shared between configure
# Line 6464 | Line 10599 | cat >confcache <<\_ACEOF
10599   # config.status only pays attention to the cache file if you give it
10600   # the --recheck option to rerun configure.
10601   #
10602 < # `ac_cv_env_foo' variables (set or unset) will be overriden when
10602 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
10603   # loading this file, other *unset* `ac_cv_foo' will be assigned the
10604   # following values.
10605  
# Line 6482 | Line 10617 | _ACEOF
10617        # `set' does not quote correctly, so add quotes (double-quote
10618        # substitution turns \\\\ into \\, and sed turns \\ into \).
10619        sed -n \
10620 <        "s/'/'\\\\''/g;
10621 <          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10620 >        "s/'/'\\\\''/g;
10621 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10622        ;;
10623      *)
10624        # `set' quotes correctly as required by POSIX, so do not add quotes.
10625        sed -n \
10626 <        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10626 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10627        ;;
10628      esac;
10629   } |
# Line 6499 | Line 10634 | if cmp -s $cache_file confcache; then :; else
10634       t end
10635       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10636       : end' >>confcache
10637 < if cmp -s $cache_file confcache; then :; else
10637 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
10638    if test -w $cache_file; then
10639      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10640      cat confcache >$cache_file
# Line 6518 | Line 10653 | if test "x$srcdir" = x.; then
10653   # trailing colons and then remove the whole line if VPATH becomes empty
10654   # (actually we leave an empty line to preserve line numbers).
10655   if test "x$srcdir" = x.; then
10656 <  ac_vpsub='/^[         ]*VPATH[        ]*=/{
10656 >  ac_vpsub='/^[  ]*VPATH[        ]*=/{
10657   s/:*\$(srcdir):*/:/;
10658   s/:*\${srcdir}:*/:/;
10659   s/:*@srcdir@:*/:/;
10660 < s/^\([^=]*=[    ]*\):*/\1/;
10660 > s/^\([^=]*=[     ]*\):*/\1/;
10661   s/:*$//;
10662 < s/^[^=]*=[      ]*$//;
10662 > s/^[^=]*=[       ]*$//;
10663   }'
10664   fi
10665  
10666   DEFS=-DHAVE_CONFIG_H
10667  
10668 + ac_libobjs=
10669 + ac_ltlibobjs=
10670 + for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10671 +  # 1. Remove the extension, and $U if already installed.
10672 +  ac_i=`echo "$ac_i" |
10673 +         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10674 +  # 2. Add them.
10675 +  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
10676 +  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
10677 + done
10678 + LIBOBJS=$ac_libobjs
10679 +
10680 + LTLIBOBJS=$ac_ltlibobjs
10681 +
10682 +
10683 +
10684   : ${CONFIG_STATUS=./config.status}
10685   ac_clean_files_save=$ac_clean_files
10686   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10687 < { echo "$as_me:6536: creating $CONFIG_STATUS" >&5
10687 > { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10688   echo "$as_me: creating $CONFIG_STATUS" >&6;}
10689   cat >$CONFIG_STATUS <<_ACEOF
10690   #! $SHELL
10691 < # Generated automatically by configure.
10691 > # Generated by $as_me.
10692   # Run this file to recreate the current configuration.
10693   # Compiler output produced by configure, useful for debugging
10694   # configure, is in config.log if it exists.
10695  
10696   debug=false
10697 + ac_cs_recheck=false
10698 + ac_cs_silent=false
10699   SHELL=\${CONFIG_SHELL-$SHELL}
6547 ac_cs_invocation="\$0 \$@"
6548
10700   _ACEOF
10701  
10702   cat >>$CONFIG_STATUS <<\_ACEOF
10703 + ## --------------------- ##
10704 + ## M4sh Initialization.  ##
10705 + ## --------------------- ##
10706 +
10707   # Be Bourne compatible
10708   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10709    emulate sh
10710    NULLCMD=:
10711 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10712 +  # is contrary to our usage.  Disable this feature.
10713 +  alias -g '${1+"$@"}'='"$@"'
10714   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
10715    set -o posix
10716   fi
10717 + DUALCASE=1; export DUALCASE # for MKS sh
10718  
10719 + # Support unset when possible.
10720 + if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10721 +  as_unset=unset
10722 + else
10723 +  as_unset=false
10724 + fi
10725 +
10726 +
10727 + # Work around bugs in pre-3.0 UWIN ksh.
10728 + $as_unset ENV MAIL MAILPATH
10729 + PS1='$ '
10730 + PS2='> '
10731 + PS4='+ '
10732 +
10733 + # NLS nuisances.
10734 + for as_var in \
10735 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10736 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10737 +  LC_TELEPHONE LC_TIME
10738 + do
10739 +  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10740 +    eval $as_var=C; export $as_var
10741 +  else
10742 +    $as_unset $as_var
10743 +  fi
10744 + done
10745 +
10746 + # Required to use basename.
10747 + if expr a : '\(a\)' >/dev/null 2>&1; then
10748 +  as_expr=expr
10749 + else
10750 +  as_expr=false
10751 + fi
10752 +
10753 + if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
10754 +  as_basename=basename
10755 + else
10756 +  as_basename=false
10757 + fi
10758 +
10759 +
10760   # Name of the executable.
10761 < as_me=`echo "$0" |sed 's,.*[\\/],,'`
10761 > as_me=`$as_basename "$0" ||
10762 > $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10763 >         X"$0" : 'X\(//\)$' \| \
10764 >         X"$0" : 'X\(/\)$' \| \
10765 >         .     : '\(.\)' 2>/dev/null ||
10766 > echo X/"$0" |
10767 >    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10768 >          /^X\/\(\/\/\)$/{ s//\1/; q; }
10769 >          /^X\/\(\/\).*/{ s//\1/; q; }
10770 >          s/.*/./; q'`
10771  
10772 +
10773 + # PATH needs CR, and LINENO needs CR and PATH.
10774 + # Avoid depending upon Character Ranges.
10775 + as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10776 + as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10777 + as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10778 + as_cr_digits='0123456789'
10779 + as_cr_alnum=$as_cr_Letters$as_cr_digits
10780 +
10781 + # The user is always right.
10782 + if test "${PATH_SEPARATOR+set}" != set; then
10783 +  echo "#! /bin/sh" >conf$$.sh
10784 +  echo  "exit 0"   >>conf$$.sh
10785 +  chmod +x conf$$.sh
10786 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10787 +    PATH_SEPARATOR=';'
10788 +  else
10789 +    PATH_SEPARATOR=:
10790 +  fi
10791 +  rm -f conf$$.sh
10792 + fi
10793 +
10794 +
10795 +  as_lineno_1=$LINENO
10796 +  as_lineno_2=$LINENO
10797 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10798 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
10799 +  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
10800 +  # Find who we are.  Look in the path if we contain no path at all
10801 +  # relative or not.
10802 +  case $0 in
10803 +    *[\\/]* ) as_myself=$0 ;;
10804 +    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10805 + for as_dir in $PATH
10806 + do
10807 +  IFS=$as_save_IFS
10808 +  test -z "$as_dir" && as_dir=.
10809 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10810 + done
10811 +
10812 +       ;;
10813 +  esac
10814 +  # We did not find ourselves, most probably we were run as `sh COMMAND'
10815 +  # in which case we are not to be found in the path.
10816 +  if test "x$as_myself" = x; then
10817 +    as_myself=$0
10818 +  fi
10819 +  if test ! -f "$as_myself"; then
10820 +    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10821 + echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10822 +   { (exit 1); exit 1; }; }
10823 +  fi
10824 +  case $CONFIG_SHELL in
10825 +  '')
10826 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10827 + for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
10828 + do
10829 +  IFS=$as_save_IFS
10830 +  test -z "$as_dir" && as_dir=.
10831 +  for as_base in sh bash ksh sh5; do
10832 +         case $as_dir in
10833 +         /*)
10834 +           if ("$as_dir/$as_base" -c '
10835 +  as_lineno_1=$LINENO
10836 +  as_lineno_2=$LINENO
10837 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10838 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
10839 +  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
10840 +             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
10841 +             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
10842 +             CONFIG_SHELL=$as_dir/$as_base
10843 +             export CONFIG_SHELL
10844 +             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
10845 +           fi;;
10846 +         esac
10847 +       done
10848 + done
10849 + ;;
10850 +  esac
10851 +
10852 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10853 +  # uniformly replaced by the line number.  The first 'sed' inserts a
10854 +  # line-number line before each line; the second 'sed' does the real
10855 +  # work.  The second script uses 'N' to pair each line-number line
10856 +  # with the numbered line, and appends trailing '-' during
10857 +  # substitution so that $LINENO is not a special case at line end.
10858 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10859 +  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
10860 +  sed '=' <$as_myself |
10861 +    sed '
10862 +      N
10863 +      s,$,-,
10864 +      : loop
10865 +      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
10866 +      t loop
10867 +      s,-$,,
10868 +      s,^['$as_cr_digits']*\n,,
10869 +    ' >$as_me.lineno &&
10870 +  chmod +x $as_me.lineno ||
10871 +    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
10872 + echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
10873 +   { (exit 1); exit 1; }; }
10874 +
10875 +  # Don't try to exec as it changes $[0], causing all sort of problems
10876 +  # (the dirname of $[0] is not the place where we might find the
10877 +  # original and so on.  Autoconf is especially sensible to this).
10878 +  . ./$as_me.lineno
10879 +  # Exit status is that of the last command.
10880 +  exit
10881 + }
10882 +
10883 +
10884 + case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10885 +  *c*,-n*) ECHO_N= ECHO_C='
10886 + ' ECHO_T='      ' ;;
10887 +  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
10888 +  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
10889 + esac
10890 +
10891   if expr a : '\(a\)' >/dev/null 2>&1; then
10892    as_expr=expr
10893   else
# Line 6584 | Line 10912 | as_executable_p="test -f"
10912   fi
10913   rm -f conf$$ conf$$.exe conf$$.file
10914  
10915 < as_executable_p="test -f"
10916 <
6589 < # Support unset when possible.
6590 < if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
6591 <  as_unset=unset
10915 > if mkdir -p . 2>/dev/null; then
10916 >  as_mkdir_p=:
10917   else
10918 <  as_unset=false
10918 >  test -d ./-p && rmdir ./-p
10919 >  as_mkdir_p=false
10920   fi
10921  
10922 < # 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; }
10922 > as_executable_p="test -f"
10923  
10924 + # Sed expression to map a string onto a valid CPP name.
10925 + as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10926 +
10927 + # Sed expression to map a string onto a valid variable name.
10928 + as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10929 +
10930 +
10931   # IFS
10932   # We need space, tab and new line, in precisely that order.
10933   as_nl='
# Line 6610 | Line 10935 | $as_unset CDPATH || test "${CDPATH+set}" != set || { C
10935   IFS="   $as_nl"
10936  
10937   # CDPATH.
10938 < $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
10938 > $as_unset CDPATH
10939  
10940   exec 6>&1
10941  
10942 + # Open the log real soon, to keep \$[0] and so on meaningful, and to
10943 + # report actual input values of CONFIG_FILES etc. instead of their
10944 + # values after options handling.  Logging --version etc. is OK.
10945 + exec 5>>config.log
10946 + {
10947 +  echo
10948 +  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10949 + ## Running $as_me. ##
10950 + _ASBOX
10951 + } >&5
10952 + cat >&5 <<_CSEOF
10953 +
10954 + This file was extended by OOPSE $as_me 2.0, which was
10955 + generated by GNU Autoconf 2.59.  Invocation command line was
10956 +
10957 +  CONFIG_FILES    = $CONFIG_FILES
10958 +  CONFIG_HEADERS  = $CONFIG_HEADERS
10959 +  CONFIG_LINKS    = $CONFIG_LINKS
10960 +  CONFIG_COMMANDS = $CONFIG_COMMANDS
10961 +  $ $0 $@
10962 +
10963 + _CSEOF
10964 + echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10965 + echo >&5
10966   _ACEOF
10967  
10968   # Files that config.status was made for.
# Line 6633 | Line 10982 | cat >>$CONFIG_STATUS <<\EOF
10982    echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10983   fi
10984  
10985 < cat >>$CONFIG_STATUS <<\EOF
10985 > cat >>$CONFIG_STATUS <<\_ACEOF
10986  
10987   ac_cs_usage="\
10988   \`$as_me' instantiates files from templates according to the
# Line 6643 | Line 10992 | Usage: $0 [OPTIONS] [FILE]...
10992  
10993    -h, --help       print this help, then exit
10994    -V, --version    print version number, then exit
10995 +  -q, --quiet      do not print progress messages
10996    -d, --debug      don't remove temporary files
10997        --recheck    update $as_me by reconfiguring in the same conditions
10998    --file=FILE[:TEMPLATE]
10999 <                   instantiate the configuration file FILE
10999 >                   instantiate the configuration file FILE
11000    --header=FILE[:TEMPLATE]
11001 <                   instantiate the configuration header FILE
11001 >                   instantiate the configuration header FILE
11002  
11003   Configuration files:
11004   $config_files
# Line 6660 | Line 11010 | EOF
11010   $config_links
11011  
11012   Report bugs to <bug-autoconf@gnu.org>."
11013 < EOF
11013 > _ACEOF
11014  
11015 < cat >>$CONFIG_STATUS <<EOF
11015 > cat >>$CONFIG_STATUS <<_ACEOF
11016   ac_cs_version="\\
11017   OOPSE config.status 2.0
11018 < configured by $0, generated by GNU Autoconf 2.50,
11018 > configured by $0, generated by GNU Autoconf 2.59,
11019    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
11020  
11021 < Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6672 < Free Software Foundation, Inc.
11021 > Copyright (C) 2003 Free Software Foundation, Inc.
11022   This config.status script is free software; the Free Software Foundation
11023   gives unlimited permission to copy, distribute and modify it."
11024   srcdir=$srcdir
11025   INSTALL="$INSTALL"
11026 < EOF
11026 > _ACEOF
11027  
11028 < cat >>$CONFIG_STATUS <<\EOF
11028 > cat >>$CONFIG_STATUS <<\_ACEOF
11029   # If no file are specified by the user, then we need to provide default
11030   # value.  By we need to know if files were specified by the user.
11031   ac_need_defaults=:
# Line 6686 | Line 11035 | do
11035    --*=*)
11036      ac_option=`expr "x$1" : 'x\([^=]*\)='`
11037      ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
11038 <    shift
6690 <    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
6691 <    shift
11038 >    ac_shift=:
11039      ;;
11040 <  -*);;
11040 >  -*)
11041 >    ac_option=$1
11042 >    ac_optarg=$2
11043 >    ac_shift=shift
11044 >    ;;
11045    *) # This is not an option, so the user has probably given explicit
11046       # arguments.
11047 +     ac_option=$1
11048       ac_need_defaults=false;;
11049    esac
11050  
11051 <  case $1 in
11051 >  case $ac_option in
11052    # Handling of the options.
11053 < EOF
11054 < cat >>$CONFIG_STATUS <<EOF
11053 > _ACEOF
11054 > cat >>$CONFIG_STATUS <<\_ACEOF
11055    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11056 <    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
11056 >    ac_cs_recheck=: ;;
11057    --version | --vers* | -V )
11058      echo "$ac_cs_version"; exit 0 ;;
11059    --he | --h)
11060      # Conflict between --help and --header
11061 <    { { echo "$as_me:6712: error: ambiguous option: $1
11061 >    { { echo "$as_me:$LINENO: error: ambiguous option: $1
11062   Try \`$0 --help' for more information." >&5
11063   echo "$as_me: error: ambiguous option: $1
11064   Try \`$0 --help' for more information." >&2;}
# Line 6719 | Line 11068 | Try \`$0 --help' for more information." >&2;}
11068    --debug | --d* | -d )
11069      debug=: ;;
11070    --file | --fil | --fi | --f )
11071 <    shift
11072 <    CONFIG_FILES="$CONFIG_FILES $1"
11071 >    $ac_shift
11072 >    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11073      ac_need_defaults=false;;
11074    --header | --heade | --head | --hea )
11075 <    shift
11076 <    CONFIG_HEADERS="$CONFIG_HEADERS $1"
11075 >    $ac_shift
11076 >    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11077      ac_need_defaults=false;;
11078 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11079 +  | -silent | --silent | --silen | --sile | --sil | --si | --s)
11080 +    ac_cs_silent=: ;;
11081  
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
11082    # This is an error.
11083 <  -*) { { echo "$as_me:6737: error: unrecognized option: $1
11083 >  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11084   Try \`$0 --help' for more information." >&5
11085   echo "$as_me: error: unrecognized option: $1
11086   Try \`$0 --help' for more information." >&2;}
11087     { (exit 1); exit 1; }; } ;;
11088 <  *) { { echo "$as_me:6742: error: invalid argument: $1" >&5
11089 < echo "$as_me: error: invalid argument: $1" >&2;}
11090 <   { (exit 1); exit 1; }; };;
11088 >
11089 >  *) ac_config_targets="$ac_config_targets $1" ;;
11090 >
11091    esac
11092    shift
11093   done
11094  
11095 < exec 5>>config.log
6750 < cat >&5 << _ACEOF
11095 > ac_configure_extra_args=
11096  
11097 < ## ----------------------- ##
11098 < ## Running config.status.  ##
11099 < ## ----------------------- ##
11097 > if $ac_cs_silent; then
11098 >  exec 6>/dev/null
11099 >  ac_configure_extra_args="$ac_configure_extra_args --silent"
11100 > fi
11101  
11102 < This file was extended by $as_me (OOPSE 2.0) 2.50, executed with
11103 <  > $ac_cs_invocation
11104 < on `(hostname || uname -n) 2>/dev/null | sed 1q`
11102 > _ACEOF
11103 > cat >>$CONFIG_STATUS <<_ACEOF
11104 > if \$ac_cs_recheck; then
11105 >  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11106 >  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11107 > fi
11108  
11109   _ACEOF
6761 EOF
11110  
11111 < cat >>$CONFIG_STATUS <<\EOF
11111 >
11112 >
11113 >
11114 >
11115 > cat >>$CONFIG_STATUS <<\_ACEOF
11116 > for ac_config_target in $ac_config_targets
11117 > do
11118 >  case "$ac_config_target" in
11119 >  # Handling of arguments.
11120 >  "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
11121 >  "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
11122 >  "src/applications/nanoRodBuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/nanoRodBuilder/Makefile" ;;
11123 >  "scripts/filepp" ) CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;;
11124 >  "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
11125 >  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
11126 >  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11127 > echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11128 >   { (exit 1); exit 1; }; };;
11129 >  esac
11130 > done
11131 >
11132   # If the user did not use the arguments to specify the items to instantiate,
11133   # then the envvar interface is used.  Set only those that are not.
11134   # We use the long form for the default assignment because of an extremely
# Line 6771 | Line 11139 | fi
11139    test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
11140   fi
11141  
11142 + # Have a temporary directory for convenience.  Make it in the build tree
11143 + # simply because there is no reason to put it here, and in addition,
11144 + # creating and moving files from /tmp can sometimes cause problems.
11145   # Create a temporary directory, and hook for its removal unless debugging.
11146   $debug ||
11147   {
11148    trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11149 <  trap '{ (exit $?); exit $?; }' 1 2 13 15
11149 >  trap '{ (exit 1); exit 1; }' 1 2 13 15
11150   }
11151  
11152   # Create a (secure) tmp directory for tmp files.
11153 < : ${TMPDIR=/tmp}
11153 >
11154   {
11155 <  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
11155 >  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11156    test -n "$tmp" && test -d "$tmp"
11157   }  ||
11158   {
11159 <  tmp=$TMPDIR/cs$$-$RANDOM
11159 >  tmp=./confstat$$-$RANDOM
11160    (umask 077 && mkdir $tmp)
11161   } ||
11162   {
11163 <   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
11163 >   echo "$me: cannot create a temporary directory in ." >&2
11164     { (exit 1); exit 1; }
11165   }
11166  
11167 < EOF
11167 > _ACEOF
11168  
11169 < cat >>$CONFIG_STATUS <<EOF
11169 > cat >>$CONFIG_STATUS <<_ACEOF
11170  
11171   #
11172   # CONFIG_FILES section.
# Line 6808 | Line 11179 | s,@exec_prefix@,$exec_prefix,;t t
11179    sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11180     s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11181   s,@SHELL@,$SHELL,;t t
11182 + s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11183 + s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11184 + s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11185 + s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11186 + s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11187 + s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11188   s,@exec_prefix@,$exec_prefix,;t t
11189   s,@prefix@,$prefix,;t t
11190   s,@program_transform_name@,$program_transform_name,;t t
# Line 6823 | Line 11200 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11200   s,@oldincludedir@,$oldincludedir,;t t
11201   s,@infodir@,$infodir,;t t
11202   s,@mandir@,$mandir,;t t
11203 < s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11204 < s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11205 < s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11206 < s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6830 < s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11203 > s,@build_alias@,$build_alias,;t t
11204 > s,@host_alias@,$host_alias,;t t
11205 > s,@target_alias@,$target_alias,;t t
11206 > s,@DEFS@,$DEFS,;t t
11207   s,@ECHO_C@,$ECHO_C,;t t
11208   s,@ECHO_N@,$ECHO_N,;t t
11209   s,@ECHO_T@,$ECHO_T,;t t
6834 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6835 s,@DEFS@,$DEFS,;t t
11210   s,@LIBS@,$LIBS,;t t
11211   s,@PROGNAME@,$PROGNAME,;t t
11212   s,@debug@,$debug,;t t
# Line 6854 | Line 11228 | s,@OOPSE_TEMPLATE_FLAGS@,$OOPSE_TEMPLATE_FLAGS,;t t
11228   s,@CXX@,$CXX,;t t
11229   s,@CXXFLAGS@,$CXXFLAGS,;t t
11230   s,@ac_ct_CXX@,$ac_ct_CXX,;t t
11231 + s,@CPP@,$CPP,;t t
11232 + s,@EGREP@,$EGREP,;t t
11233   s,@OOPSE_TEMPLATE_FLAGS@,$OOPSE_TEMPLATE_FLAGS,;t t
11234   s,@EXTRA_CC_FLAG@,$EXTRA_CC_FLAG,;t t
11235   s,@F90@,$F90,;t t
# Line 6869 | Line 11245 | s,@CPP@,$CPP,;t t
11245   s,@MODDIRFLAG@,$MODDIRFLAG,;t t
11246   s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
11247   s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t
11248 < s,@CPP@,$CPP,;t t
11248 > s,@CXXCPP@,$CXXCPP,;t t
11249   s,@LIBOBJS@,$LIBOBJS,;t t
11250   s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11251   s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
# Line 6882 | Line 11258 | s,@AR@,$AR,;t t
11258   s,@LEX@,$LEX,;t t
11259   s,@LEXLIB@,$LEXLIB,;t t
11260   s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
11261 + s,@PERLINTERP@,$PERLINTERP,;t t
11262 + s,@PERL_SHEBANG@,$PERL_SHEBANG,;t t
11263   s,@AR@,$AR,;t t
11264   s,@PS@,$PS,;t t
11265   s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
# Line 6890 | Line 11268 | s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t
11268   s,@MPI_LIB@,$MPI_LIB,;t t
11269   s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t
11270   s,@USE_MPI@,$USE_MPI,;t t
11271 < s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t
11272 < s,@SPRNG_INC_DIR@,$SPRNG_INC_DIR,;t t
11273 < s,@SPRNG_LIB@,$SPRNG_LIB,;t t
11274 < s,@USE_SPRNG@,$USE_SPRNG,;t t
11275 < s,@MKL_LIBDIR@,$MKL_LIBDIR,;t t
11276 < s,@MKL_LIB@,$MKL_LIB,;t t
11277 < s,@MKL_INC@,$MKL_INC,;t t
6900 < s,@HAVE_MKL@,$HAVE_MKL,;t t
11271 > s,@USE_CGAL@,$USE_CGAL,;t t
11272 > s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t
11273 > s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t
11274 > s,@CGAL_RLIB_DIR@,$CGAL_RLIB_DIR,;t t
11275 > s,@CGAL_DEFINES@,$CGAL_DEFINES,;t t
11276 > s,@CGAL_CXXFLAGS@,$CGAL_CXXFLAGS,;t t
11277 > s,@CGAL_LIBS@,$CGAL_LIBS,;t t
11278   s,@DOXYGEN@,$DOXYGEN,;t t
11279   s,@DOT@,$DOT,;t t
11280   s,@DOC@,$DOC,;t t
# Line 6910 | Line 11287 | CEOF
11287   s,@OOPSE_HOME@,$OOPSE_HOME,;t t
11288   s,@SUBDIRS@,$SUBDIRS,;t t
11289   s,@FFLAGS@,$FFLAGS,;t t
11290 + s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11291   CEOF
11292  
11293 < EOF
11293 > _ACEOF
11294  
11295 <  cat >>$CONFIG_STATUS <<\EOF
11295 >  cat >>$CONFIG_STATUS <<\_ACEOF
11296    # Split the substitutions into bite-sized pieces for seds with
11297    # small command number limits, like on Digital OSF/1 and HP-UX.
11298    ac_max_sed_lines=48
# Line 6939 | Line 11317 | EOF
11317        (echo ':t
11318    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
11319        if test -z "$ac_sed_cmds"; then
11320 <        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11320 >        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11321        else
11322 <        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11322 >        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11323        fi
11324        ac_sed_frag=`expr $ac_sed_frag + 1`
11325        ac_beg=$ac_end
# Line 6953 | Line 11331 | EOF
11331    fi
11332   fi # test -n "$CONFIG_FILES"
11333  
11334 < EOF
11335 < cat >>$CONFIG_STATUS <<\EOF
11334 > _ACEOF
11335 > cat >>$CONFIG_STATUS <<\_ACEOF
11336   for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
11337    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11338    case $ac_file in
11339    - | *:- | *:-:* ) # input from stdin
11340 <        cat >$tmp/stdin
11341 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11342 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11340 >        cat >$tmp/stdin
11341 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11342 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11343    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11344 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11344 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11345    * )   ac_file_in=$ac_file.in ;;
11346    esac
11347  
11348    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11349 <  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11350 <         X"$ac_file" : 'X\(//\)[^/]' \| \
11351 <         X"$ac_file" : 'X\(//\)$' \| \
11352 <         X"$ac_file" : 'X\(/\)' \| \
11353 <         .     : '\(.\)' 2>/dev/null ||
11349 >  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11350 > $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11351 >         X"$ac_file" : 'X\(//\)[^/]' \| \
11352 >         X"$ac_file" : 'X\(//\)$' \| \
11353 >         X"$ac_file" : 'X\(/\)' \| \
11354 >         .     : '\(.\)' 2>/dev/null ||
11355   echo X"$ac_file" |
11356      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11357            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11358            /^X\(\/\/\)$/{ s//\1/; q; }
11359            /^X\(\/\).*/{ s//\1/; q; }
11360            s/.*/./; q'`
11361 <  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
11362 <    { case "$ac_dir" in
11363 <  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
11364 <  *)                      as_incr_dir=.;;
11365 < esac
11366 < as_dummy="$ac_dir"
11367 < for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
11368 <  case $as_mkdir_dir in
11369 <    # Skip DOS drivespec
11370 <    ?:) as_incr_dir=$as_mkdir_dir ;;
11371 <    *)
11372 <      as_incr_dir=$as_incr_dir/$as_mkdir_dir
11373 <      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
11374 <    ;;
11375 <  esac
11376 < done; }
11361 >  { if $as_mkdir_p; then
11362 >    mkdir -p "$ac_dir"
11363 >  else
11364 >    as_dir="$ac_dir"
11365 >    as_dirs=
11366 >    while test ! -d "$as_dir"; do
11367 >      as_dirs="$as_dir $as_dirs"
11368 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
11369 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11370 >         X"$as_dir" : 'X\(//\)[^/]' \| \
11371 >         X"$as_dir" : 'X\(//\)$' \| \
11372 >         X"$as_dir" : 'X\(/\)' \| \
11373 >         .     : '\(.\)' 2>/dev/null ||
11374 > echo X"$as_dir" |
11375 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11376 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11377 >          /^X\(\/\/\)$/{ s//\1/; q; }
11378 >          /^X\(\/\).*/{ s//\1/; q; }
11379 >          s/.*/./; q'`
11380 >    done
11381 >    test ! -n "$as_dirs" || mkdir $as_dirs
11382 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11383 > echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11384 >   { (exit 1); exit 1; }; }; }
11385  
11386 <    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
7000 <    # A "../" for each directory in $ac_dir_suffix.
7001 <    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
7002 <  else
7003 <    ac_dir_suffix= ac_dots=
7004 <  fi
11386 >  ac_builddir=.
11387  
11388 <  case $srcdir in
11389 <  .)  ac_srcdir=.
11390 <      if test -z "$ac_dots"; then
11391 <         ac_top_srcdir=.
11392 <      else
11393 <         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
11394 <      fi ;;
11395 <  [\\/]* | ?:[\\/]* )
11396 <      ac_srcdir=$srcdir$ac_dir_suffix;
11397 <      ac_top_srcdir=$srcdir ;;
11388 > if test "$ac_dir" != .; then
11389 >  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11390 >  # A "../" for each directory in $ac_dir_suffix.
11391 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11392 > else
11393 >  ac_dir_suffix= ac_top_builddir=
11394 > fi
11395 >
11396 > case $srcdir in
11397 >  .)  # No --srcdir option.  We are building in place.
11398 >    ac_srcdir=.
11399 >    if test -z "$ac_top_builddir"; then
11400 >       ac_top_srcdir=.
11401 >    else
11402 >       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11403 >    fi ;;
11404 >  [\\/]* | ?:[\\/]* )  # Absolute path.
11405 >    ac_srcdir=$srcdir$ac_dir_suffix;
11406 >    ac_top_srcdir=$srcdir ;;
11407    *) # Relative path.
11408 <    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
11409 <    ac_top_srcdir=$ac_dots$srcdir ;;
11410 <  esac
11408 >    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11409 >    ac_top_srcdir=$ac_top_builddir$srcdir ;;
11410 > esac
11411  
11412 + # Do not use `cd foo && pwd` to compute absolute paths, because
11413 + # the directories may not exist.
11414 + case `pwd` in
11415 + .) ac_abs_builddir="$ac_dir";;
11416 + *)
11417 +  case "$ac_dir" in
11418 +  .) ac_abs_builddir=`pwd`;;
11419 +  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11420 +  *) ac_abs_builddir=`pwd`/"$ac_dir";;
11421 +  esac;;
11422 + esac
11423 + case $ac_abs_builddir in
11424 + .) ac_abs_top_builddir=${ac_top_builddir}.;;
11425 + *)
11426 +  case ${ac_top_builddir}. in
11427 +  .) ac_abs_top_builddir=$ac_abs_builddir;;
11428 +  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11429 +  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11430 +  esac;;
11431 + esac
11432 + case $ac_abs_builddir in
11433 + .) ac_abs_srcdir=$ac_srcdir;;
11434 + *)
11435 +  case $ac_srcdir in
11436 +  .) ac_abs_srcdir=$ac_abs_builddir;;
11437 +  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11438 +  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11439 +  esac;;
11440 + esac
11441 + case $ac_abs_builddir in
11442 + .) ac_abs_top_srcdir=$ac_top_srcdir;;
11443 + *)
11444 +  case $ac_top_srcdir in
11445 +  .) ac_abs_top_srcdir=$ac_abs_builddir;;
11446 +  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11447 +  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11448 +  esac;;
11449 + esac
11450 +
11451 +
11452    case $INSTALL in
11453    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11454 <  *) ac_INSTALL=$ac_dots$INSTALL ;;
11454 >  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
11455    esac
11456  
11457    if test x"$ac_file" != x-; then
11458 <    { echo "$as_me:7027: creating $ac_file" >&5
11458 >    { echo "$as_me:$LINENO: creating $ac_file" >&5
11459   echo "$as_me: creating $ac_file" >&6;}
11460      rm -f "$ac_file"
11461    fi
11462    # Let's still pretend it is `configure' which instantiates (i.e., don't
11463    # use $as_me), people would be surprised to read:
11464 <  #    /* config.h.  Generated automatically by config.status.  */
11465 <  configure_input="Generated automatically from `echo $ac_file_in |
11466 <                                                 sed 's,.*/,,'` by configure."
11464 >  #    /* config.h.  Generated by config.status.  */
11465 >  if test x"$ac_file" = x-; then
11466 >    configure_input=
11467 >  else
11468 >    configure_input="$ac_file.  "
11469 >  fi
11470 >  configure_input=$configure_input"Generated from `echo $ac_file_in |
11471 >                                     sed 's,.*/,,'` by configure."
11472  
11473    # First look for the input files in the build tree, otherwise in the
11474    # src tree.
# Line 7041 | Line 11477 | echo "$as_me: creating $ac_file" >&6;}
11477        case $f in
11478        -) echo $tmp/stdin ;;
11479        [\\/$]*)
11480 <         # Absolute (can't be DOS-style, as IFS=:)
11481 <         test -f "$f" || { { echo "$as_me:7045: error: cannot find input file: $f" >&5
11480 >         # Absolute (can't be DOS-style, as IFS=:)
11481 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11482   echo "$as_me: error: cannot find input file: $f" >&2;}
11483     { (exit 1); exit 1; }; }
11484 <         echo $f;;
11484 >         echo "$f";;
11485        *) # Relative
11486 <         if test -f "$f"; then
11487 <           # Build tree
11488 <           echo $f
11489 <         elif test -f "$srcdir/$f"; then
11490 <           # Source tree
11491 <           echo $srcdir/$f
11492 <         else
11493 <           # /dev/null tree
11494 <           { { echo "$as_me:7058: error: cannot find input file: $f" >&5
11486 >         if test -f "$f"; then
11487 >           # Build tree
11488 >           echo "$f"
11489 >         elif test -f "$srcdir/$f"; then
11490 >           # Source tree
11491 >           echo "$srcdir/$f"
11492 >         else
11493 >           # /dev/null tree
11494 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11495   echo "$as_me: error: cannot find input file: $f" >&2;}
11496     { (exit 1); exit 1; }; }
11497 <         fi;;
11497 >         fi;;
11498        esac
11499      done` || { (exit 1); exit 1; }
11500 < EOF
11501 < cat >>$CONFIG_STATUS <<EOF
11500 > _ACEOF
11501 > cat >>$CONFIG_STATUS <<_ACEOF
11502    sed "$ac_vpsub
11503   $extrasub
11504 < EOF
11505 < cat >>$CONFIG_STATUS <<\EOF
11504 > _ACEOF
11505 > cat >>$CONFIG_STATUS <<\_ACEOF
11506   :t
11507   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11508   s,@configure_input@,$configure_input,;t t
11509   s,@srcdir@,$ac_srcdir,;t t
11510 + s,@abs_srcdir@,$ac_abs_srcdir,;t t
11511   s,@top_srcdir@,$ac_top_srcdir,;t t
11512 + s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
11513 + s,@builddir@,$ac_builddir,;t t
11514 + s,@abs_builddir@,$ac_abs_builddir,;t t
11515 + s,@top_builddir@,$ac_top_builddir,;t t
11516 + s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
11517   s,@INSTALL@,$ac_INSTALL,;t t
11518   " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11519    rm -f $tmp/stdin
# Line 7082 | Line 11524 | done
11524      rm -f $tmp/out
11525    fi
11526  
11527 +  # Run the commands associated with the file.
11528 +  case $ac_file in
11529 +    make/Makefile ) chmod 0755 scripts/* ;;
11530 +    src/utils/Makefile ) chmod 0755 scripts/* ;;
11531 +    src/applications/nanoRodBuilder/Makefile ) chmod 0755 scripts/* ;;
11532 +    scripts/filepp ) chmod 0755 scripts/* ;;
11533 +  esac
11534   done
11535 < EOF
11536 < cat >>$CONFIG_STATUS <<\EOF
11535 > _ACEOF
11536 > cat >>$CONFIG_STATUS <<\_ACEOF
11537  
11538   #
11539   # CONFIG_HEADER section.
# Line 7094 | Line 11543 | ac_dA='s,^\([  ]*\)#\([        ]*define[       ][      ]*\)'
11543   # NAME is the cpp macro being defined and VALUE is the value it is being given.
11544   #
11545   # ac_d sets the value in "#define NAME VALUE" lines.
11546 < ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
11547 < ac_dB='[        ].*$,\1#\2'
11546 > ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
11547 > ac_dB='[         ].*$,\1#\2'
11548   ac_dC=' '
11549   ac_dD=',;t'
11550   # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11551 < ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
11551 > ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
11552   ac_uB='$,\1#\2define\3'
11553   ac_uC=' '
11554   ac_uD=',;t'
# Line 7108 | Line 11557 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file"
11557    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11558    case $ac_file in
11559    - | *:- | *:-:* ) # input from stdin
11560 <        cat >$tmp/stdin
11561 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11562 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11560 >        cat >$tmp/stdin
11561 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11562 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11563    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11564 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11564 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11565    * )   ac_file_in=$ac_file.in ;;
11566    esac
11567  
11568 <  test x"$ac_file" != x- && { echo "$as_me:7119: creating $ac_file" >&5
11568 >  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
11569   echo "$as_me: creating $ac_file" >&6;}
11570  
11571    # First look for the input files in the build tree, otherwise in the
# Line 7126 | Line 11575 | echo "$as_me: creating $ac_file" >&6;}
11575        case $f in
11576        -) echo $tmp/stdin ;;
11577        [\\/$]*)
11578 <         # Absolute (can't be DOS-style, as IFS=:)
11579 <         test -f "$f" || { { echo "$as_me:7130: error: cannot find input file: $f" >&5
11578 >         # Absolute (can't be DOS-style, as IFS=:)
11579 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11580   echo "$as_me: error: cannot find input file: $f" >&2;}
11581     { (exit 1); exit 1; }; }
11582 <         echo $f;;
11582 >         # Do quote $f, to prevent DOS paths from being IFS'd.
11583 >         echo "$f";;
11584        *) # Relative
11585 <         if test -f "$f"; then
11586 <           # Build tree
11587 <           echo $f
11588 <         elif test -f "$srcdir/$f"; then
11589 <           # Source tree
11590 <           echo $srcdir/$f
11591 <         else
11592 <           # /dev/null tree
11593 <           { { echo "$as_me:7143: error: cannot find input file: $f" >&5
11585 >         if test -f "$f"; then
11586 >           # Build tree
11587 >           echo "$f"
11588 >         elif test -f "$srcdir/$f"; then
11589 >           # Source tree
11590 >           echo "$srcdir/$f"
11591 >         else
11592 >           # /dev/null tree
11593 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11594   echo "$as_me: error: cannot find input file: $f" >&2;}
11595     { (exit 1); exit 1; }; }
11596 <         fi;;
11596 >         fi;;
11597        esac
11598      done` || { (exit 1); exit 1; }
11599    # Remove the trailing spaces.
11600 <  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
11600 >  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
11601  
11602 < EOF
11602 > _ACEOF
11603  
11604   # Transform confdefs.h into two sed scripts, `conftest.defines' and
11605   # `conftest.undefs', that substitutes the proper values into
# Line 7165 | Line 11615 | cat >confdef2sed.sed <<\EOF
11615   # `end' is used to avoid that the second main sed command (meant for
11616   # 0-ary CPP macros) applies to n-ary macro definitions.
11617   # See the Autoconf documentation for `clear'.
11618 < cat >confdef2sed.sed <<\EOF
11618 > cat >confdef2sed.sed <<\_ACEOF
11619   s/[\\&,]/\\&/g
11620   s,[\\$`],\\&,g
11621   t clear
11622   : clear
11623 < s,^[    ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
11623 > s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
11624   t end
11625 < s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11625 > s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11626   : end
11627 < EOF
11627 > _ACEOF
11628   # If some macros were called several times there might be several times
11629   # the same #defines, which is useless.  Nevertheless, we may not want to
11630   # sort them, since we want the *last* AC-DEFINE to be honored.
# Line 7185 | Line 11635 | cat >>conftest.undefs <<\EOF
11635   # This sed command replaces #undef with comments.  This is necessary, for
11636   # example, in the case of _POSIX_SOURCE, which is predefined and required
11637   # on some systems where configure will not decide to define it.
11638 < cat >>conftest.undefs <<\EOF
11639 < s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11640 < EOF
11638 > cat >>conftest.undefs <<\_ACEOF
11639 > s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11640 > _ACEOF
11641  
11642   # Break up conftest.defines because some shells have a limit on the size
11643   # of here documents, and old seds have small limits too (100 cmds).
11644   echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11645 < echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11645 > echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11646   echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11647   echo '  :' >>$CONFIG_STATUS
11648   rm -f conftest.tail
# Line 7201 | Line 11651 | do
11651    # Write a limited-size here document to $tmp/defines.sed.
11652    echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
11653    # Speed up: don't consider the non `#define' lines.
11654 <  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
11654 >  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
11655    # Work around the forget-to-reset-the-flag bug.
11656    echo 't clr' >>$CONFIG_STATUS
11657    echo ': clr' >>$CONFIG_STATUS
# Line 7216 | Line 11666 | echo '  fi # egrep' >>$CONFIG_STATUS
11666    mv conftest.tail conftest.defines
11667   done
11668   rm -f conftest.defines
11669 < echo '  fi # egrep' >>$CONFIG_STATUS
11669 > echo '  fi # grep' >>$CONFIG_STATUS
11670   echo >>$CONFIG_STATUS
11671  
11672   # Break up conftest.undefs because some shells have a limit on the size
# Line 7228 | Line 11678 | do
11678    # Write a limited-size here document to $tmp/undefs.sed.
11679    echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
11680    # Speed up: don't consider the non `#undef'
11681 <  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
11681 >  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
11682    # Work around the forget-to-reset-the-flag bug.
11683    echo 't clr' >>$CONFIG_STATUS
11684    echo ': clr' >>$CONFIG_STATUS
# Line 7244 | Line 11694 | cat >>$CONFIG_STATUS <<\EOF
11694   done
11695   rm -f conftest.undefs
11696  
11697 < cat >>$CONFIG_STATUS <<\EOF
11697 > cat >>$CONFIG_STATUS <<\_ACEOF
11698    # Let's still pretend it is `configure' which instantiates (i.e., don't
11699    # use $as_me), people would be surprised to read:
11700 <  #    /* config.h.  Generated automatically by config.status.  */
11700 >  #    /* config.h.  Generated by config.status.  */
11701    if test x"$ac_file" = x-; then
11702 <    echo "/* Generated automatically by configure.  */" >$tmp/config.h
11702 >    echo "/* Generated by configure.  */" >$tmp/config.h
11703    else
11704 <    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
11704 >    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
11705    fi
11706    cat $tmp/in >>$tmp/config.h
11707    rm -f $tmp/in
11708    if test x"$ac_file" != x-; then
11709 <    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
11710 <      { echo "$as_me:7260: $ac_file is unchanged" >&5
11709 >    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
11710 >      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11711   echo "$as_me: $ac_file is unchanged" >&6;}
11712      else
11713 <      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11714 <         X"$ac_file" : 'X\(//\)[^/]' \| \
11715 <         X"$ac_file" : 'X\(//\)$' \| \
11716 <         X"$ac_file" : 'X\(/\)' \| \
11717 <         .     : '\(.\)' 2>/dev/null ||
11713 >      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11714 > $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11715 >         X"$ac_file" : 'X\(//\)[^/]' \| \
11716 >         X"$ac_file" : 'X\(//\)$' \| \
11717 >         X"$ac_file" : 'X\(/\)' \| \
11718 >         .     : '\(.\)' 2>/dev/null ||
11719   echo X"$ac_file" |
11720      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11721            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11722            /^X\(\/\/\)$/{ s//\1/; q; }
11723            /^X\(\/\).*/{ s//\1/; q; }
11724            s/.*/./; q'`
11725 <      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
11726 <        { case "$ac_dir" in
11727 <  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
11728 <  *)                      as_incr_dir=.;;
11729 < esac
11730 < as_dummy="$ac_dir"
11731 < for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
11732 <  case $as_mkdir_dir in
11733 <    # Skip DOS drivespec
11734 <    ?:) as_incr_dir=$as_mkdir_dir ;;
11735 <    *)
11736 <      as_incr_dir=$as_incr_dir/$as_mkdir_dir
11737 <      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
11738 <    ;;
11739 <  esac
11740 < done; }
11725 >      { if $as_mkdir_p; then
11726 >    mkdir -p "$ac_dir"
11727 >  else
11728 >    as_dir="$ac_dir"
11729 >    as_dirs=
11730 >    while test ! -d "$as_dir"; do
11731 >      as_dirs="$as_dir $as_dirs"
11732 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
11733 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11734 >         X"$as_dir" : 'X\(//\)[^/]' \| \
11735 >         X"$as_dir" : 'X\(//\)$' \| \
11736 >         X"$as_dir" : 'X\(/\)' \| \
11737 >         .     : '\(.\)' 2>/dev/null ||
11738 > echo X"$as_dir" |
11739 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11740 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11741 >          /^X\(\/\/\)$/{ s//\1/; q; }
11742 >          /^X\(\/\).*/{ s//\1/; q; }
11743 >          s/.*/./; q'`
11744 >    done
11745 >    test ! -n "$as_dirs" || mkdir $as_dirs
11746 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11747 > echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11748 >   { (exit 1); exit 1; }; }; }
11749  
7291      fi
11750        rm -f $ac_file
11751        mv $tmp/config.h $ac_file
11752      fi
# Line 7297 | Line 11755 | EOF
11755      rm -f $tmp/config.h
11756    fi
11757   done
11758 < EOF
11759 < cat >>$CONFIG_STATUS <<\EOF
11758 > _ACEOF
11759 > cat >>$CONFIG_STATUS <<\_ACEOF
11760  
11761   #
11762   # CONFIG_LINKS section.
# Line 7308 | Line 11766 | for ac_file in : $CONFIG_LINKS; do test "x$ac_file" =
11766    ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
11767    ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
11768  
11769 <  { echo "$as_me:7311: linking $srcdir/$ac_source to $ac_dest" >&5
11769 >  { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
11770   echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
11771  
11772    if test ! -r $srcdir/$ac_source; then
11773 <    { { echo "$as_me:7315: error: $srcdir/$ac_source: File not found" >&5
11774 < echo "$as_me: error: $srcdir/$ac_source: File not found" >&2;}
11773 >    { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
11774 > echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
11775     { (exit 1); exit 1; }; }
11776    fi
11777    rm -f $ac_dest
11778  
11779    # Make relative symlinks.
11780 <  ac_dest_dir=`$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11781 <         X"$ac_dest" : 'X\(//\)[^/]' \| \
11782 <         X"$ac_dest" : 'X\(//\)$' \| \
11783 <         X"$ac_dest" : 'X\(/\)' \| \
11784 <         .     : '\(.\)' 2>/dev/null ||
11780 >  ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
11781 > $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11782 >         X"$ac_dest" : 'X\(//\)[^/]' \| \
11783 >         X"$ac_dest" : 'X\(//\)$' \| \
11784 >         X"$ac_dest" : 'X\(/\)' \| \
11785 >         .     : '\(.\)' 2>/dev/null ||
11786   echo X"$ac_dest" |
11787      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11788            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11789            /^X\(\/\/\)$/{ s//\1/; q; }
11790            /^X\(\/\).*/{ s//\1/; q; }
11791            s/.*/./; q'`
11792 <  if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
11793 <    { case "$ac_dest_dir" in
11794 <  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
11795 <  *)                      as_incr_dir=.;;
11792 >  { if $as_mkdir_p; then
11793 >    mkdir -p "$ac_dest_dir"
11794 >  else
11795 >    as_dir="$ac_dest_dir"
11796 >    as_dirs=
11797 >    while test ! -d "$as_dir"; do
11798 >      as_dirs="$as_dir $as_dirs"
11799 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
11800 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11801 >         X"$as_dir" : 'X\(//\)[^/]' \| \
11802 >         X"$as_dir" : 'X\(//\)$' \| \
11803 >         X"$as_dir" : 'X\(/\)' \| \
11804 >         .     : '\(.\)' 2>/dev/null ||
11805 > echo X"$as_dir" |
11806 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11807 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11808 >          /^X\(\/\/\)$/{ s//\1/; q; }
11809 >          /^X\(\/\).*/{ s//\1/; q; }
11810 >          s/.*/./; q'`
11811 >    done
11812 >    test ! -n "$as_dirs" || mkdir $as_dirs
11813 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
11814 > echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
11815 >   { (exit 1); exit 1; }; }; }
11816 >
11817 >  ac_builddir=.
11818 >
11819 > if test "$ac_dest_dir" != .; then
11820 >  ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
11821 >  # A "../" for each directory in $ac_dir_suffix.
11822 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11823 > else
11824 >  ac_dir_suffix= ac_top_builddir=
11825 > fi
11826 >
11827 > case $srcdir in
11828 >  .)  # No --srcdir option.  We are building in place.
11829 >    ac_srcdir=.
11830 >    if test -z "$ac_top_builddir"; then
11831 >       ac_top_srcdir=.
11832 >    else
11833 >       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11834 >    fi ;;
11835 >  [\\/]* | ?:[\\/]* )  # Absolute path.
11836 >    ac_srcdir=$srcdir$ac_dir_suffix;
11837 >    ac_top_srcdir=$srcdir ;;
11838 >  *) # Relative path.
11839 >    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11840 >    ac_top_srcdir=$ac_top_builddir$srcdir ;;
11841   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; }
11842  
11843 <    ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's,^\./,,'`"
11844 <    # A "../" for each directory in $ac_dest_dir_suffix.
11845 <    ac_dots=`echo $ac_dest_dir_suffix|sed 's,/[^/]*,../,g'`
11846 <  else
11847 <    ac_dest_dir_suffix= ac_dots=
11848 <  fi
11843 > # Do not use `cd foo && pwd` to compute absolute paths, because
11844 > # the directories may not exist.
11845 > case `pwd` in
11846 > .) ac_abs_builddir="$ac_dest_dir";;
11847 > *)
11848 >  case "$ac_dest_dir" in
11849 >  .) ac_abs_builddir=`pwd`;;
11850 >  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
11851 >  *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
11852 >  esac;;
11853 > esac
11854 > case $ac_abs_builddir in
11855 > .) ac_abs_top_builddir=${ac_top_builddir}.;;
11856 > *)
11857 >  case ${ac_top_builddir}. in
11858 >  .) ac_abs_top_builddir=$ac_abs_builddir;;
11859 >  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11860 >  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11861 >  esac;;
11862 > esac
11863 > case $ac_abs_builddir in
11864 > .) ac_abs_srcdir=$ac_srcdir;;
11865 > *)
11866 >  case $ac_srcdir in
11867 >  .) ac_abs_srcdir=$ac_abs_builddir;;
11868 >  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11869 >  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11870 >  esac;;
11871 > esac
11872 > case $ac_abs_builddir in
11873 > .) ac_abs_top_srcdir=$ac_top_srcdir;;
11874 > *)
11875 >  case $ac_top_srcdir in
11876 >  .) ac_abs_top_srcdir=$ac_abs_builddir;;
11877 >  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11878 >  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11879 >  esac;;
11880 > esac
11881  
11882 +
11883    case $srcdir in
11884    [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
11885 <      *) ac_rel_source=$ac_dots$srcdir/$ac_source ;;
11885 >      *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
11886    esac
11887  
11888 <  # Make a symlink if possible; otherwise try a hard link.
11888 >  # Try a symlink, then a hard link, then a copy.
11889    ln -s $ac_rel_source $ac_dest 2>/dev/null ||
11890 <    ln $srcdir/$ac_source $ac_dest ||
11891 <    { { echo "$as_me:7365: error: cannot link $ac_dest to $srcdir/$ac_source" >&5
11892 < echo "$as_me: error: cannot link $ac_dest to $srcdir/$ac_source" >&2;}
11890 >    ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
11891 >    cp -p $srcdir/$ac_source $ac_dest ||
11892 >    { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
11893 > echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
11894     { (exit 1); exit 1; }; }
11895   done
11896 < EOF
11896 > _ACEOF
11897  
11898 < cat >>$CONFIG_STATUS <<\EOF
11898 > cat >>$CONFIG_STATUS <<\_ACEOF
11899  
11900   { (exit 0); exit 0; }
11901 < EOF
11901 > _ACEOF
11902   chmod +x $CONFIG_STATUS
11903   ac_clean_files=$ac_clean_files_save
11904  
11905 +
11906   # configure is writing to config.log, and then calls config.status.
11907   # config.status does its own redirection, appending to config.log.
11908   # Unfortunately, on DOS this fails, as config.log is still kept open
# Line 7385 | Line 11913 | if test "$no_create" != yes; then
11913   # need to make the FD available again.
11914   if test "$no_create" != yes; then
11915    ac_cs_success=:
11916 +  ac_config_status_args=
11917 +  test "$silent" = yes &&
11918 +    ac_config_status_args="$ac_config_status_args --quiet"
11919    exec 5>/dev/null
11920 <  $SHELL $CONFIG_STATUS || ac_cs_success=false
11920 >  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11921    exec 5>>config.log
11922    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11923    # would make configure fail if this is the last instruction.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines