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 2467 by chuckv, Tue Nov 29 22:54:21 2005 UTC

# Line 1 | Line 1
1   #! /bin/sh
2   # Guess values for system-dependent variables and create Makefiles.
3 < # Generated by Autoconf 2.50 for OOPSE 2.0.
3 > # Generated by GNU Autoconf 2.59 for OOPSE 2.0.
4   #
5   # Report bugs to <gezelter@nd.edu>.
6   #
7 < # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8 < # Free Software Foundation, Inc.
7 > # Copyright (C) 2003 Free Software Foundation, Inc.
8   # This configure script is free software; the Free Software Foundation
9   # gives unlimited permission to copy, distribute and modify it.
10 + ## --------------------- ##
11 + ## M4sh Initialization.  ##
12 + ## --------------------- ##
13  
14   # Be Bourne compatible
15   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16    emulate sh
17    NULLCMD=:
18 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 +  # is contrary to our usage.  Disable this feature.
20 +  alias -g '${1+"$@"}'='"$@"'
21   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22    set -o posix
23   fi
24 + DUALCASE=1; export DUALCASE # for MKS sh
25  
26 + # Support unset when possible.
27 + if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28 +  as_unset=unset
29 + else
30 +  as_unset=false
31 + fi
32 +
33 +
34 + # Work around bugs in pre-3.0 UWIN ksh.
35 + $as_unset ENV MAIL MAILPATH
36 + PS1='$ '
37 + PS2='> '
38 + PS4='+ '
39 +
40 + # NLS nuisances.
41 + for as_var in \
42 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 +  LC_TELEPHONE LC_TIME
45 + do
46 +  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 +    eval $as_var=C; export $as_var
48 +  else
49 +    $as_unset $as_var
50 +  fi
51 + done
52 +
53 + # Required to use basename.
54 + if expr a : '\(a\)' >/dev/null 2>&1; then
55 +  as_expr=expr
56 + else
57 +  as_expr=false
58 + fi
59 +
60 + if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 +  as_basename=basename
62 + else
63 +  as_basename=false
64 + fi
65 +
66 +
67   # Name of the executable.
68 < as_me=`echo "$0" |sed 's,.*[\\/],,'`
68 > as_me=`$as_basename "$0" ||
69 > $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 >         X"$0" : 'X\(//\)$' \| \
71 >         X"$0" : 'X\(/\)$' \| \
72 >         .     : '\(.\)' 2>/dev/null ||
73 > echo X/"$0" |
74 >    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 >          /^X\/\(\/\/\)$/{ s//\1/; q; }
76 >          /^X\/\(\/\).*/{ s//\1/; q; }
77 >          s/.*/./; q'`
78  
79 +
80 + # PATH needs CR, and LINENO needs CR and PATH.
81 + # Avoid depending upon Character Ranges.
82 + as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 + as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 + as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 + as_cr_digits='0123456789'
86 + as_cr_alnum=$as_cr_Letters$as_cr_digits
87 +
88 + # The user is always right.
89 + if test "${PATH_SEPARATOR+set}" != set; then
90 +  echo "#! /bin/sh" >conf$$.sh
91 +  echo  "exit 0"   >>conf$$.sh
92 +  chmod +x conf$$.sh
93 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 +    PATH_SEPARATOR=';'
95 +  else
96 +    PATH_SEPARATOR=:
97 +  fi
98 +  rm -f conf$$.sh
99 + fi
100 +
101 +
102 +  as_lineno_1=$LINENO
103 +  as_lineno_2=$LINENO
104 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
106 +  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107 +  # Find who we are.  Look in the path if we contain no path at all
108 +  # relative or not.
109 +  case $0 in
110 +    *[\\/]* ) as_myself=$0 ;;
111 +    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 + for as_dir in $PATH
113 + do
114 +  IFS=$as_save_IFS
115 +  test -z "$as_dir" && as_dir=.
116 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 + done
118 +
119 +       ;;
120 +  esac
121 +  # We did not find ourselves, most probably we were run as `sh COMMAND'
122 +  # in which case we are not to be found in the path.
123 +  if test "x$as_myself" = x; then
124 +    as_myself=$0
125 +  fi
126 +  if test ! -f "$as_myself"; then
127 +    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 +   { (exit 1); exit 1; }; }
129 +  fi
130 +  case $CONFIG_SHELL in
131 +  '')
132 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 + for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 + do
135 +  IFS=$as_save_IFS
136 +  test -z "$as_dir" && as_dir=.
137 +  for as_base in sh bash ksh sh5; do
138 +         case $as_dir in
139 +         /*)
140 +           if ("$as_dir/$as_base" -c '
141 +  as_lineno_1=$LINENO
142 +  as_lineno_2=$LINENO
143 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
145 +  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146 +             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 +             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 +             CONFIG_SHELL=$as_dir/$as_base
149 +             export CONFIG_SHELL
150 +             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 +           fi;;
152 +         esac
153 +       done
154 + done
155 + ;;
156 +  esac
157 +
158 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 +  # uniformly replaced by the line number.  The first 'sed' inserts a
160 +  # line-number line before each line; the second 'sed' does the real
161 +  # work.  The second script uses 'N' to pair each line-number line
162 +  # with the numbered line, and appends trailing '-' during
163 +  # substitution so that $LINENO is not a special case at line end.
164 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 +  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166 +  sed '=' <$as_myself |
167 +    sed '
168 +      N
169 +      s,$,-,
170 +      : loop
171 +      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 +      t loop
173 +      s,-$,,
174 +      s,^['$as_cr_digits']*\n,,
175 +    ' >$as_me.lineno &&
176 +  chmod +x $as_me.lineno ||
177 +    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 +   { (exit 1); exit 1; }; }
179 +
180 +  # Don't try to exec as it changes $[0], causing all sort of problems
181 +  # (the dirname of $[0] is not the place where we might find the
182 +  # original and so on.  Autoconf is especially sensible to this).
183 +  . ./$as_me.lineno
184 +  # Exit status is that of the last command.
185 +  exit
186 + }
187 +
188 +
189 + case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 +  *c*,-n*) ECHO_N= ECHO_C='
191 + ' ECHO_T='      ' ;;
192 +  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 +  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 + esac
195 +
196   if expr a : '\(a\)' >/dev/null 2>&1; then
197    as_expr=expr
198   else
# Line 44 | Line 217 | as_executable_p="test -f"
217   fi
218   rm -f conf$$ conf$$.exe conf$$.file
219  
220 < as_executable_p="test -f"
221 <
49 < # Support unset when possible.
50 < if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
51 <  as_unset=unset
220 > if mkdir -p . 2>/dev/null; then
221 >  as_mkdir_p=:
222   else
223 <  as_unset=false
223 >  test -d ./-p && rmdir ./-p
224 >  as_mkdir_p=false
225   fi
226  
227 < # NLS nuisances.
57 < $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
58 < $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
59 < $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
60 < $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
61 < $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
62 < $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
63 < $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
64 < $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
227 > as_executable_p="test -f"
228  
229 + # Sed expression to map a string onto a valid CPP name.
230 + as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231 +
232 + # Sed expression to map a string onto a valid variable name.
233 + as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 +
235 +
236   # IFS
237   # We need space, tab and new line, in precisely that order.
238   as_nl='
# Line 70 | Line 240 | $as_unset CDPATH || test "${CDPATH+set}" != set || { C
240   IFS="   $as_nl"
241  
242   # CDPATH.
243 < $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
243 > $as_unset CDPATH
244  
245 +
246   # Name of the host.
247   # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248   # so uname gets run too.
# Line 83 | Line 254 | cross_compiling=no
254   # Initializations.
255   #
256   ac_default_prefix=/usr/local
257 + ac_config_libobj_dir=.
258   cross_compiling=no
259   subdirs=
260 < MFLAGS= MAKEFLAGS=
260 > MFLAGS=
261 > MAKEFLAGS=
262   SHELL=${CONFIG_SHELL-/bin/sh}
263  
264   # Maximum number of lines to put in a shell here document.
# Line 93 | Line 266 | SHELL=${CONFIG_SHELL-/bin/sh}
266   # only ac_max_sed_lines should be used.
267   : ${ac_max_here_lines=38}
268  
269 < # Avoid depending upon Character Ranges.
270 < ac_cr_az='abcdefghijklmnopqrstuvwxyz'
271 < ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
272 < ac_cr_09='0123456789'
273 < ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09
269 > # Identity of this package.
270 > PACKAGE_NAME='OOPSE'
271 > PACKAGE_TARNAME='oopse'
272 > PACKAGE_VERSION='2.0'
273 > PACKAGE_STRING='OOPSE 2.0'
274 > PACKAGE_BUGREPORT='gezelter@nd.edu'
275  
102 # Sed expression to map a string onto a valid sh and CPP variable names.
103 ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g"
104 ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g"
105
276   ac_unique_file="src/applications/oopse/oopse.cpp"
277   ac_default_prefix="/usr/local"
278 + # Factoring default headers for most tests.
279 + ac_includes_default="\
280 + #include <stdio.h>
281 + #if HAVE_SYS_TYPES_H
282 + # include <sys/types.h>
283 + #endif
284 + #if HAVE_SYS_STAT_H
285 + # include <sys/stat.h>
286 + #endif
287 + #if STDC_HEADERS
288 + # include <stdlib.h>
289 + # include <stddef.h>
290 + #else
291 + # if HAVE_STDLIB_H
292 + #  include <stdlib.h>
293 + # endif
294 + #endif
295 + #if HAVE_STRING_H
296 + # if !STDC_HEADERS && HAVE_MEMORY_H
297 + #  include <memory.h>
298 + # endif
299 + # include <string.h>
300 + #endif
301 + #if HAVE_STRINGS_H
302 + # include <strings.h>
303 + #endif
304 + #if HAVE_INTTYPES_H
305 + # include <inttypes.h>
306 + #else
307 + # if HAVE_STDINT_H
308 + #  include <stdint.h>
309 + # endif
310 + #endif
311 + #if HAVE_UNISTD_H
312 + # include <unistd.h>
313 + #endif"
314  
315 + ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES CPP EGREP 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 564 | Line 789 | ac_cv_env_CPP_value=$CPP
789   ac_env_CPP_value=$CPP
790   ac_cv_env_CPP_set=${CPP+set}
791   ac_cv_env_CPP_value=$CPP
792 + ac_env_CXXCPP_set=${CXXCPP+set}
793 + ac_env_CXXCPP_value=$CXXCPP
794 + ac_cv_env_CXXCPP_set=${CXXCPP+set}
795 + ac_cv_env_CXXCPP_value=$CXXCPP
796  
797   #
798   # Report the --help message.
# Line 571 | Line 800 | if test "$ac_init_help" = "long"; then
800   if test "$ac_init_help" = "long"; then
801    # Omit some internal or obsolete options to make the list less imposing.
802    # This message is too long to be a string in the A/UX 3.1 sh.
803 <  cat <<EOF
803 >  cat <<_ACEOF
804   \`configure' configures OOPSE 2.0 to adapt to many kinds of systems.
805  
806   Usage: $0 [OPTION]... [VAR=VALUE]...
# Line 592 | Line 821 | EOF
821    -n, --no-create         do not create output files
822        --srcdir=DIR        find the sources in DIR [configure dir or \`..']
823  
824 < EOF
824 > _ACEOF
825  
826 <  cat <<EOF
826 >  cat <<_ACEOF
827   Installation directories:
828    --prefix=PREFIX         install architecture-independent files in PREFIX
829 <                          [$ac_default_prefix]
829 >                          [$ac_default_prefix]
830    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
831 <                          [PREFIX]
831 >                          [PREFIX]
832  
833   By default, \`make install' will install all the files in
834   \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
# Line 621 | Line 850 | EOF
850    --oldincludedir=DIR    C header files for non-gcc [/usr/include]
851    --infodir=DIR          info documentation [PREFIX/info]
852    --mandir=DIR           man documentation [PREFIX/man]
853 < EOF
853 > _ACEOF
854  
855 <  cat <<\EOF
855 >  cat <<\_ACEOF
856  
857   System types:
858    --build=BUILD     configure for building on BUILD [guessed]
859 <  --host=HOST       build programs to run on HOST [BUILD]
860 < EOF
859 >  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
860 > _ACEOF
861   fi
862  
863   if test -n "$ac_init_help"; then
864    case $ac_init_help in
865       short | recursive ) echo "Configuration of OOPSE 2.0:";;
866     esac
867 <  cat <<\EOF
867 >  cat <<\_ACEOF
868  
869   Optional Features:
870    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
# Line 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 667 | Line 899 | Some influential environment variables:
899    F90         Fortran 90 compiler command
900    F90FLAGS    Fortran 90 compiler flags
901    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 <    # Check for guested configure; otherwise get Cygnus style configure.
927 <    if test -f $ac_sub_srcdir/configure.gnu; then
928 <      echo
929 <      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
930 <    elif test -f $ac_sub_srcdir/configure; then
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_srcdir/configure.gnu; then
984        echo
985 <      $SHELL $ac_sub_srcdir/configure  --help=recursive
986 <    elif test -f $ac_sub_srcdir/configure.ac ||
704 <           test -f $ac_sub_srcdir/configure.in; then
985 >      $SHELL $ac_srcdir/configure.gnu  --help=recursive
986 >    elif test -f $ac_srcdir/configure; then
987        echo
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
996 >    cd "$ac_popdir"
997    done
998   fi
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  
925 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
926  *c*,-n*) ECHO_N= ECHO_C='
927 ' ECHO_T='      ' ;;
928  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
929  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
930 esac
931 echo "#! $SHELL" >conftest.sh
932 echo  "exit 0"   >>conftest.sh
933 chmod +x conftest.sh
934 if { (echo "$as_me:934: PATH=\".;.\"; conftest.sh") >&5
935  (PATH=".;."; conftest.sh) 2>&5
936  ac_status=$?
937  echo "$as_me:937: \$? = $ac_status" >&5
938  (exit $ac_status); }; then
939  ac_path_separator=';'
940 else
941  ac_path_separator=:
942 fi
943 PATH_SEPARATOR="$ac_path_separator"
944 rm -f conftest.sh
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.  #
# 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 1250 | Line 1696 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
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   # ---------------------
1702   # Test for the name mangling scheme used by the Fortran 90 compiler.
# 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 1360 | Line 1817 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1817   # underscores, respectively, so that they match the name mangling
1818   # scheme used by the Fortran 95 compiler.
1819   # AC_F95_WRAPPERS
1820 +
1821  
1822   # AC_F95_FUNC(NAME, [SHELLVAR = NAME])
1823   # ------------------------------------
# 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 + # 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   cat >conftest.$ac_ext <<_ACEOF
2099 < #line 1542 "configure"
2100 < #include "confdefs.h"
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 ()
# 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"                   || test ! -s conftest.err'
2332 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2333    (eval $ac_try) 2>&5
2334    ac_status=$?
2335 <  echo "$as_me:1735: \$? = $ac_status" >&5
2335 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2336 >  (exit $ac_status); }; } &&
2337 >         { ac_try='test -s conftest.$ac_objext'
2338 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2339 >  (eval $ac_try) 2>&5
2340 >  ac_status=$?
2341 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2342    (exit $ac_status); }; }; then
2343    ac_compiler_gnu=yes
2344   else
2345    echo "$as_me: failed program was:" >&5
2346 < cat conftest.$ac_ext >&5
2346 > sed 's/^/| /' conftest.$ac_ext >&5
2347 >
2348   ac_compiler_gnu=no
2349   fi
2350 < rm -f conftest.$ac_objext conftest.$ac_ext
2350 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2351   ac_cv_c_compiler_gnu=$ac_compiler_gnu
2352  
2353   fi
2354 < echo "$as_me:1747: result: $ac_cv_c_compiler_gnu" >&5
2354 > echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2355   echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2356   GCC=`test $ac_compiler_gnu = yes && echo yes`
2357   ac_test_CFLAGS=${CFLAGS+set}
2358   ac_save_CFLAGS=$CFLAGS
2359   CFLAGS="-g"
2360 < echo "$as_me:1753: checking whether $CC accepts -g" >&5
2360 > echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2361   echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2362   if test "${ac_cv_prog_cc_g+set}" = set; then
2363    echo $ECHO_N "(cached) $ECHO_C" >&6
2364   else
2365    cat >conftest.$ac_ext <<_ACEOF
2366 < #line 1759 "configure"
2367 < #include "confdefs.h"
2366 > /* confdefs.h.  */
2367 > _ACEOF
2368 > cat confdefs.h >>conftest.$ac_ext
2369 > cat >>conftest.$ac_ext <<_ACEOF
2370 > /* end confdefs.h.  */
2371  
2372   int
2373   main ()
# Line 1768 | Line 2378 | if { (eval echo "$as_me:1771: \"$ac_compile\"") >&5
2378   }
2379   _ACEOF
2380   rm -f conftest.$ac_objext
2381 < if { (eval echo "$as_me:1771: \"$ac_compile\"") >&5
2382 <  (eval $ac_compile) 2>&5
2381 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2382 >  (eval $ac_compile) 2>conftest.er1
2383    ac_status=$?
2384 <  echo "$as_me:1774: \$? = $ac_status" >&5
2384 >  grep -v '^ *+' conftest.er1 >conftest.err
2385 >  rm -f conftest.er1
2386 >  cat conftest.err >&5
2387 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388    (exit $ac_status); } &&
2389 <         { ac_try='test -s conftest.$ac_objext'
2390 <  { (eval echo "$as_me:1777: \"$ac_try\"") >&5
2389 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2390 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2391    (eval $ac_try) 2>&5
2392    ac_status=$?
2393 <  echo "$as_me:1780: \$? = $ac_status" >&5
2393 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 >  (exit $ac_status); }; } &&
2395 >         { ac_try='test -s conftest.$ac_objext'
2396 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2397 >  (eval $ac_try) 2>&5
2398 >  ac_status=$?
2399 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2400    (exit $ac_status); }; }; then
2401    ac_cv_prog_cc_g=yes
2402   else
2403    echo "$as_me: failed program was:" >&5
2404 < cat conftest.$ac_ext >&5
2404 > sed 's/^/| /' conftest.$ac_ext >&5
2405 >
2406   ac_cv_prog_cc_g=no
2407   fi
2408 < rm -f conftest.$ac_objext conftest.$ac_ext
2408 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2409   fi
2410 < echo "$as_me:1790: result: $ac_cv_prog_cc_g" >&5
2410 > echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2411   echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2412   if test "$ac_test_CFLAGS" = set; then
2413    CFLAGS=$ac_save_CFLAGS
# Line 1804 | Line 2424 | fi
2424      CFLAGS=
2425    fi
2426   fi
2427 + echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2428 + echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2429 + if test "${ac_cv_prog_cc_stdc+set}" = set; then
2430 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2431 + else
2432 +  ac_cv_prog_cc_stdc=no
2433 + ac_save_CC=$CC
2434 + cat >conftest.$ac_ext <<_ACEOF
2435 + /* confdefs.h.  */
2436 + _ACEOF
2437 + cat confdefs.h >>conftest.$ac_ext
2438 + cat >>conftest.$ac_ext <<_ACEOF
2439 + /* end confdefs.h.  */
2440 + #include <stdarg.h>
2441 + #include <stdio.h>
2442 + #include <sys/types.h>
2443 + #include <sys/stat.h>
2444 + /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2445 + struct buf { int x; };
2446 + FILE * (*rcsopen) (struct buf *, struct stat *, int);
2447 + static char *e (p, i)
2448 +     char **p;
2449 +     int i;
2450 + {
2451 +  return p[i];
2452 + }
2453 + static char *f (char * (*g) (char **, int), char **p, ...)
2454 + {
2455 +  char *s;
2456 +  va_list v;
2457 +  va_start (v,p);
2458 +  s = g (p, va_arg (v,int));
2459 +  va_end (v);
2460 +  return s;
2461 + }
2462 +
2463 + /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2464 +   function prototypes and stuff, but not '\xHH' hex character constants.
2465 +   These don't provoke an error unfortunately, instead are silently treated
2466 +   as 'x'.  The following induces an error, until -std1 is added to get
2467 +   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2468 +   array size at least.  It's necessary to write '\x00'==0 to get something
2469 +   that's true only with -std1.  */
2470 + int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2471 +
2472 + int test (int i, double x);
2473 + struct s1 {int (*f) (int a);};
2474 + struct s2 {int (*f) (double a);};
2475 + int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2476 + int argc;
2477 + char **argv;
2478 + int
2479 + main ()
2480 + {
2481 + return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2482 +  ;
2483 +  return 0;
2484 + }
2485 + _ACEOF
2486 + # Don't try gcc -ansi; that turns off useful extensions and
2487 + # breaks some systems' header files.
2488 + # AIX                   -qlanglvl=ansi
2489 + # Ultrix and OSF/1      -std1
2490 + # HP-UX 10.20 and later -Ae
2491 + # HP-UX older versions  -Aa -D_HPUX_SOURCE
2492 + # SVR4                  -Xc -D__EXTENSIONS__
2493 + for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2494 + do
2495 +  CC="$ac_save_CC $ac_arg"
2496 +  rm -f conftest.$ac_objext
2497 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2498 +  (eval $ac_compile) 2>conftest.er1
2499 +  ac_status=$?
2500 +  grep -v '^ *+' conftest.er1 >conftest.err
2501 +  rm -f conftest.er1
2502 +  cat conftest.err >&5
2503 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504 +  (exit $ac_status); } &&
2505 +         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2506 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507 +  (eval $ac_try) 2>&5
2508 +  ac_status=$?
2509 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510 +  (exit $ac_status); }; } &&
2511 +         { ac_try='test -s conftest.$ac_objext'
2512 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2513 +  (eval $ac_try) 2>&5
2514 +  ac_status=$?
2515 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516 +  (exit $ac_status); }; }; then
2517 +  ac_cv_prog_cc_stdc=$ac_arg
2518 + break
2519 + else
2520 +  echo "$as_me: failed program was:" >&5
2521 + sed 's/^/| /' conftest.$ac_ext >&5
2522 +
2523 + fi
2524 + rm -f conftest.err conftest.$ac_objext
2525 + done
2526 + rm -f conftest.$ac_ext conftest.$ac_objext
2527 + CC=$ac_save_CC
2528 +
2529 + fi
2530 +
2531 + case "x$ac_cv_prog_cc_stdc" in
2532 +  x|xno)
2533 +    echo "$as_me:$LINENO: result: none needed" >&5
2534 + echo "${ECHO_T}none needed" >&6 ;;
2535 +  *)
2536 +    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2537 + echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2538 +    CC="$CC $ac_cv_prog_cc_stdc" ;;
2539 + esac
2540 +
2541   # Some people use a C++ compiler to compile C.  Since we use `exit',
2542   # in C++ we need to declare it.  In case someone uses the same compiler
2543   # for both compiling C and C++ we need to have the C++ compiler decide
# Line 1814 | Line 2548 | if { (eval echo "$as_me:1817: \"$ac_compile\"") >&5
2548   #endif
2549   _ACEOF
2550   rm -f conftest.$ac_objext
2551 < if { (eval echo "$as_me:1817: \"$ac_compile\"") >&5
2552 <  (eval $ac_compile) 2>&5
2551 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2552 >  (eval $ac_compile) 2>conftest.er1
2553    ac_status=$?
2554 <  echo "$as_me:1820: \$? = $ac_status" >&5
2554 >  grep -v '^ *+' conftest.er1 >conftest.err
2555 >  rm -f conftest.er1
2556 >  cat conftest.err >&5
2557 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558    (exit $ac_status); } &&
2559 <         { ac_try='test -s conftest.$ac_objext'
2560 <  { (eval echo "$as_me:1823: \"$ac_try\"") >&5
2559 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2560 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2561    (eval $ac_try) 2>&5
2562    ac_status=$?
2563 <  echo "$as_me:1826: \$? = $ac_status" >&5
2563 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 >  (exit $ac_status); }; } &&
2565 >         { ac_try='test -s conftest.$ac_objext'
2566 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2567 >  (eval $ac_try) 2>&5
2568 >  ac_status=$?
2569 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570    (exit $ac_status); }; }; then
2571    for ac_declaration in \
2572 <   ''\
1830 <   '#include <stdlib.h>' \
2572 >   '' \
2573     'extern "C" void std::exit (int) throw (); using std::exit;' \
2574     'extern "C" void std::exit (int); using std::exit;' \
2575     'extern "C" void exit (int) throw ();' \
# Line 1835 | Line 2577 | do
2577     'void exit (int);'
2578   do
2579    cat >conftest.$ac_ext <<_ACEOF
2580 < #line 1838 "configure"
2581 < #include "confdefs.h"
2582 < #include <stdlib.h>
2580 > /* confdefs.h.  */
2581 > _ACEOF
2582 > cat confdefs.h >>conftest.$ac_ext
2583 > cat >>conftest.$ac_ext <<_ACEOF
2584 > /* end confdefs.h.  */
2585   $ac_declaration
2586 + #include <stdlib.h>
2587   int
2588   main ()
2589   {
# Line 1848 | Line 2593 | if { (eval echo "$as_me:1851: \"$ac_compile\"") >&5
2593   }
2594   _ACEOF
2595   rm -f conftest.$ac_objext
2596 < if { (eval echo "$as_me:1851: \"$ac_compile\"") >&5
2597 <  (eval $ac_compile) 2>&5
2596 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2597 >  (eval $ac_compile) 2>conftest.er1
2598    ac_status=$?
2599 <  echo "$as_me:1854: \$? = $ac_status" >&5
2599 >  grep -v '^ *+' conftest.er1 >conftest.err
2600 >  rm -f conftest.er1
2601 >  cat conftest.err >&5
2602 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603    (exit $ac_status); } &&
2604 <         { ac_try='test -s conftest.$ac_objext'
2605 <  { (eval echo "$as_me:1857: \"$ac_try\"") >&5
2604 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2605 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2606    (eval $ac_try) 2>&5
2607    ac_status=$?
2608 <  echo "$as_me:1860: \$? = $ac_status" >&5
2608 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 >  (exit $ac_status); }; } &&
2610 >         { ac_try='test -s conftest.$ac_objext'
2611 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2612 >  (eval $ac_try) 2>&5
2613 >  ac_status=$?
2614 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615    (exit $ac_status); }; }; then
2616    :
2617   else
2618    echo "$as_me: failed program was:" >&5
2619 < cat conftest.$ac_ext >&5
2619 > sed 's/^/| /' conftest.$ac_ext >&5
2620 >
2621   continue
2622   fi
2623 < rm -f conftest.$ac_objext conftest.$ac_ext
2623 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2624    cat >conftest.$ac_ext <<_ACEOF
2625 < #line 1870 "configure"
2626 < #include "confdefs.h"
2625 > /* confdefs.h.  */
2626 > _ACEOF
2627 > cat confdefs.h >>conftest.$ac_ext
2628 > cat >>conftest.$ac_ext <<_ACEOF
2629 > /* end confdefs.h.  */
2630   $ac_declaration
2631   int
2632   main ()
# Line 1879 | Line 2637 | if { (eval echo "$as_me:1882: \"$ac_compile\"") >&5
2637   }
2638   _ACEOF
2639   rm -f conftest.$ac_objext
2640 < if { (eval echo "$as_me:1882: \"$ac_compile\"") >&5
2641 <  (eval $ac_compile) 2>&5
2640 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2641 >  (eval $ac_compile) 2>conftest.er1
2642    ac_status=$?
2643 <  echo "$as_me:1885: \$? = $ac_status" >&5
2643 >  grep -v '^ *+' conftest.er1 >conftest.err
2644 >  rm -f conftest.er1
2645 >  cat conftest.err >&5
2646 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647    (exit $ac_status); } &&
2648 <         { ac_try='test -s conftest.$ac_objext'
2649 <  { (eval echo "$as_me:1888: \"$ac_try\"") >&5
2648 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2649 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2650    (eval $ac_try) 2>&5
2651    ac_status=$?
2652 <  echo "$as_me:1891: \$? = $ac_status" >&5
2652 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653 >  (exit $ac_status); }; } &&
2654 >         { ac_try='test -s conftest.$ac_objext'
2655 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2656 >  (eval $ac_try) 2>&5
2657 >  ac_status=$?
2658 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659    (exit $ac_status); }; }; then
2660    break
2661   else
2662    echo "$as_me: failed program was:" >&5
2663 < cat conftest.$ac_ext >&5
2663 > sed 's/^/| /' conftest.$ac_ext >&5
2664 >
2665   fi
2666 < rm -f conftest.$ac_objext conftest.$ac_ext
2666 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2667   done
2668 < echo '#ifdef __cplusplus' >>confdefs.h
2669 < echo $ac_declaration      >>confdefs.h
2670 < echo '#endif'             >>confdefs.h
2668 > rm -f conftest*
2669 > if test -n "$ac_declaration"; then
2670 >  echo '#ifdef __cplusplus' >>confdefs.h
2671 >  echo $ac_declaration      >>confdefs.h
2672 >  echo '#endif'             >>confdefs.h
2673 > fi
2674  
2675   else
2676    echo "$as_me: failed program was:" >&5
2677 < cat conftest.$ac_ext >&5
2677 > sed 's/^/| /' conftest.$ac_ext >&5
2678 >
2679   fi
2680 < rm -f conftest.$ac_objext conftest.$ac_ext
2680 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2681   ac_ext=c
2682   ac_cpp='$CPP $CPPFLAGS'
2683   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2684   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2685   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2686  
2687 +
2688   ac_ext=cc
2689   ac_cpp='$CXXCPP $CPPFLAGS'
2690   ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 1922 | Line 2695 | echo "$as_me:1925: checking for $ac_word" >&5
2695    do
2696      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2697   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2698 < echo "$as_me:1925: checking for $ac_word" >&5
2698 > echo "$as_me:$LINENO: checking for $ac_word" >&5
2699   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2700   if test "${ac_cv_prog_CXX+set}" = set; then
2701    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1930 | Line 2703 | else
2703    if test -n "$CXX"; then
2704    ac_cv_prog_CXX="$CXX" # Let the user override the test.
2705   else
2706 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
2707 < ac_dummy="$PATH"
2708 < for ac_dir in $ac_dummy; do
2709 <  IFS=$ac_save_IFS
2710 <  test -z "$ac_dir" && ac_dir=.
2711 <  $as_executable_p "$ac_dir/$ac_word" || continue
2712 < ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2713 < echo "$as_me:1940: found $ac_dir/$ac_word" >&5
2714 < break
2706 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2707 > for as_dir in $PATH
2708 > do
2709 >  IFS=$as_save_IFS
2710 >  test -z "$as_dir" && as_dir=.
2711 >  for ac_exec_ext in '' $ac_executable_extensions; do
2712 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2713 >    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2714 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2715 >    break 2
2716 >  fi
2717   done
2718 + done
2719  
2720   fi
2721   fi
2722   CXX=$ac_cv_prog_CXX
2723   if test -n "$CXX"; then
2724 <  echo "$as_me:1948: result: $CXX" >&5
2724 >  echo "$as_me:$LINENO: result: $CXX" >&5
2725   echo "${ECHO_T}$CXX" >&6
2726   else
2727 <  echo "$as_me:1951: result: no" >&5
2727 >  echo "$as_me:$LINENO: result: no" >&5
2728   echo "${ECHO_T}no" >&6
2729   fi
2730  
# Line 1961 | Line 2737 | echo "$as_me:1964: checking for $ac_word" >&5
2737   do
2738    # Extract the first word of "$ac_prog", so it can be a program name with args.
2739   set dummy $ac_prog; ac_word=$2
2740 < echo "$as_me:1964: checking for $ac_word" >&5
2740 > echo "$as_me:$LINENO: checking for $ac_word" >&5
2741   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2742   if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2743    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1969 | Line 2745 | else
2745    if test -n "$ac_ct_CXX"; then
2746    ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2747   else
2748 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
2749 < ac_dummy="$PATH"
2750 < for ac_dir in $ac_dummy; do
2751 <  IFS=$ac_save_IFS
2752 <  test -z "$ac_dir" && ac_dir=.
2753 <  $as_executable_p "$ac_dir/$ac_word" || continue
2754 < ac_cv_prog_ac_ct_CXX="$ac_prog"
2755 < echo "$as_me:1979: found $ac_dir/$ac_word" >&5
2756 < break
2748 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749 > for as_dir in $PATH
2750 > do
2751 >  IFS=$as_save_IFS
2752 >  test -z "$as_dir" && as_dir=.
2753 >  for ac_exec_ext in '' $ac_executable_extensions; do
2754 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2755 >    ac_cv_prog_ac_ct_CXX="$ac_prog"
2756 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2757 >    break 2
2758 >  fi
2759   done
2760 + done
2761  
2762   fi
2763   fi
2764   ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2765   if test -n "$ac_ct_CXX"; then
2766 <  echo "$as_me:1987: result: $ac_ct_CXX" >&5
2766 >  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2767   echo "${ECHO_T}$ac_ct_CXX" >&6
2768   else
2769 <  echo "$as_me:1990: result: no" >&5
2769 >  echo "$as_me:$LINENO: result: no" >&5
2770   echo "${ECHO_T}no" >&6
2771   fi
2772  
# Line 1998 | Line 2777 | echo "$as_me:2001: checking whether we are using the G
2777    CXX=$ac_ct_CXX
2778   fi
2779  
2780 < echo "$as_me:2001: checking whether we are using the GNU C++ compiler" >&5
2780 >
2781 > # Provide some information about the compiler.
2782 > echo "$as_me:$LINENO:" \
2783 >     "checking for C++ compiler version" >&5
2784 > ac_compiler=`set X $ac_compile; echo $2`
2785 > { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2786 >  (eval $ac_compiler --version </dev/null >&5) 2>&5
2787 >  ac_status=$?
2788 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 >  (exit $ac_status); }
2790 > { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2791 >  (eval $ac_compiler -v </dev/null >&5) 2>&5
2792 >  ac_status=$?
2793 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 >  (exit $ac_status); }
2795 > { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2796 >  (eval $ac_compiler -V </dev/null >&5) 2>&5
2797 >  ac_status=$?
2798 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 >  (exit $ac_status); }
2800 >
2801 > echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2802   echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2803   if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2804    echo $ECHO_N "(cached) $ECHO_C" >&6
2805   else
2806    cat >conftest.$ac_ext <<_ACEOF
2807 < #line 2007 "configure"
2808 < #include "confdefs.h"
2807 > /* confdefs.h.  */
2808 > _ACEOF
2809 > cat confdefs.h >>conftest.$ac_ext
2810 > cat >>conftest.$ac_ext <<_ACEOF
2811 > /* end confdefs.h.  */
2812  
2813   int
2814   main ()
# Line 2019 | Line 2822 | if { (eval echo "$as_me:2022: \"$ac_compile\"") >&5
2822   }
2823   _ACEOF
2824   rm -f conftest.$ac_objext
2825 < if { (eval echo "$as_me:2022: \"$ac_compile\"") >&5
2826 <  (eval $ac_compile) 2>&5
2825 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2826 >  (eval $ac_compile) 2>conftest.er1
2827    ac_status=$?
2828 <  echo "$as_me:2025: \$? = $ac_status" >&5
2828 >  grep -v '^ *+' conftest.er1 >conftest.err
2829 >  rm -f conftest.er1
2830 >  cat conftest.err >&5
2831 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832    (exit $ac_status); } &&
2833 <         { ac_try='test -s conftest.$ac_objext'
2834 <  { (eval echo "$as_me:2028: \"$ac_try\"") >&5
2833 >         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
2834 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2835    (eval $ac_try) 2>&5
2836    ac_status=$?
2837 <  echo "$as_me:2031: \$? = $ac_status" >&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:$LINENO: \"$ac_try\"") >&5
2841 >  (eval $ac_try) 2>&5
2842 >  ac_status=$?
2843 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844    (exit $ac_status); }; }; then
2845    ac_compiler_gnu=yes
2846   else
2847    echo "$as_me: failed program was:" >&5
2848 < cat conftest.$ac_ext >&5
2848 > sed 's/^/| /' conftest.$ac_ext >&5
2849 >
2850   ac_compiler_gnu=no
2851   fi
2852 < rm -f conftest.$ac_objext conftest.$ac_ext
2852 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2853   ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2854  
2855   fi
2856 < echo "$as_me:2043: result: $ac_cv_cxx_compiler_gnu" >&5
2856 > echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2857   echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2858   GXX=`test $ac_compiler_gnu = yes && echo yes`
2859   ac_test_CXXFLAGS=${CXXFLAGS+set}
2860   ac_save_CXXFLAGS=$CXXFLAGS
2861   CXXFLAGS="-g"
2862 < echo "$as_me:2049: checking whether $CXX accepts -g" >&5
2862 > echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2863   echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2864   if test "${ac_cv_prog_cxx_g+set}" = set; then
2865    echo $ECHO_N "(cached) $ECHO_C" >&6
2866   else
2867    cat >conftest.$ac_ext <<_ACEOF
2868 < #line 2055 "configure"
2869 < #include "confdefs.h"
2868 > /* confdefs.h.  */
2869 > _ACEOF
2870 > cat confdefs.h >>conftest.$ac_ext
2871 > cat >>conftest.$ac_ext <<_ACEOF
2872 > /* end confdefs.h.  */
2873  
2874   int
2875   main ()
# Line 2064 | Line 2880 | if { (eval echo "$as_me:2067: \"$ac_compile\"") >&5
2880   }
2881   _ACEOF
2882   rm -f conftest.$ac_objext
2883 < if { (eval echo "$as_me:2067: \"$ac_compile\"") >&5
2884 <  (eval $ac_compile) 2>&5
2883 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2884 >  (eval $ac_compile) 2>conftest.er1
2885    ac_status=$?
2886 <  echo "$as_me:2070: \$? = $ac_status" >&5
2886 >  grep -v '^ *+' conftest.er1 >conftest.err
2887 >  rm -f conftest.er1
2888 >  cat conftest.err >&5
2889 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890    (exit $ac_status); } &&
2891 <         { ac_try='test -s conftest.$ac_objext'
2892 <  { (eval echo "$as_me:2073: \"$ac_try\"") >&5
2891 >         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
2892 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2893    (eval $ac_try) 2>&5
2894    ac_status=$?
2895 <  echo "$as_me:2076: \$? = $ac_status" >&5
2895 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 >  (exit $ac_status); }; } &&
2897 >         { ac_try='test -s conftest.$ac_objext'
2898 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2899 >  (eval $ac_try) 2>&5
2900 >  ac_status=$?
2901 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902    (exit $ac_status); }; }; then
2903    ac_cv_prog_cxx_g=yes
2904   else
2905    echo "$as_me: failed program was:" >&5
2906 < cat conftest.$ac_ext >&5
2906 > sed 's/^/| /' conftest.$ac_ext >&5
2907 >
2908   ac_cv_prog_cxx_g=no
2909   fi
2910 < rm -f conftest.$ac_objext conftest.$ac_ext
2910 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2911   fi
2912 < echo "$as_me:2086: result: $ac_cv_prog_cxx_g" >&5
2912 > echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2913   echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2914   if test "$ac_test_CXXFLAGS" = set; then
2915    CXXFLAGS=$ac_save_CXXFLAGS
# Line 2101 | Line 2927 | for ac_declaration in \
2927    fi
2928   fi
2929   for ac_declaration in \
2930 <   ''\
2105 <   '#include <stdlib.h>' \
2930 >   '' \
2931     'extern "C" void std::exit (int) throw (); using std::exit;' \
2932     'extern "C" void std::exit (int); using std::exit;' \
2933     'extern "C" void exit (int) throw ();' \
# Line 2110 | Line 2935 | do
2935     'void exit (int);'
2936   do
2937    cat >conftest.$ac_ext <<_ACEOF
2938 < #line 2113 "configure"
2939 < #include "confdefs.h"
2940 < #include <stdlib.h>
2938 > /* confdefs.h.  */
2939 > _ACEOF
2940 > cat confdefs.h >>conftest.$ac_ext
2941 > cat >>conftest.$ac_ext <<_ACEOF
2942 > /* end confdefs.h.  */
2943   $ac_declaration
2944 + #include <stdlib.h>
2945   int
2946   main ()
2947   {
# Line 2123 | Line 2951 | if { (eval echo "$as_me:2126: \"$ac_compile\"") >&5
2951   }
2952   _ACEOF
2953   rm -f conftest.$ac_objext
2954 < if { (eval echo "$as_me:2126: \"$ac_compile\"") >&5
2955 <  (eval $ac_compile) 2>&5
2954 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2955 >  (eval $ac_compile) 2>conftest.er1
2956    ac_status=$?
2957 <  echo "$as_me:2129: \$? = $ac_status" >&5
2957 >  grep -v '^ *+' conftest.er1 >conftest.err
2958 >  rm -f conftest.er1
2959 >  cat conftest.err >&5
2960 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961    (exit $ac_status); } &&
2962 <         { ac_try='test -s conftest.$ac_objext'
2963 <  { (eval echo "$as_me:2132: \"$ac_try\"") >&5
2962 >         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
2963 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2964    (eval $ac_try) 2>&5
2965    ac_status=$?
2966 <  echo "$as_me:2135: \$? = $ac_status" >&5
2966 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967 >  (exit $ac_status); }; } &&
2968 >         { ac_try='test -s conftest.$ac_objext'
2969 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2970 >  (eval $ac_try) 2>&5
2971 >  ac_status=$?
2972 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973    (exit $ac_status); }; }; then
2974    :
2975   else
2976    echo "$as_me: failed program was:" >&5
2977 < cat conftest.$ac_ext >&5
2977 > sed 's/^/| /' conftest.$ac_ext >&5
2978 >
2979   continue
2980   fi
2981 < rm -f conftest.$ac_objext conftest.$ac_ext
2981 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2982    cat >conftest.$ac_ext <<_ACEOF
2983 < #line 2145 "configure"
2984 < #include "confdefs.h"
2983 > /* confdefs.h.  */
2984 > _ACEOF
2985 > cat confdefs.h >>conftest.$ac_ext
2986 > cat >>conftest.$ac_ext <<_ACEOF
2987 > /* end confdefs.h.  */
2988   $ac_declaration
2989   int
2990   main ()
# Line 2154 | Line 2995 | if { (eval echo "$as_me:2157: \"$ac_compile\"") >&5
2995   }
2996   _ACEOF
2997   rm -f conftest.$ac_objext
2998 < if { (eval echo "$as_me:2157: \"$ac_compile\"") >&5
2999 <  (eval $ac_compile) 2>&5
2998 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2999 >  (eval $ac_compile) 2>conftest.er1
3000    ac_status=$?
3001 <  echo "$as_me:2160: \$? = $ac_status" >&5
3001 >  grep -v '^ *+' conftest.er1 >conftest.err
3002 >  rm -f conftest.er1
3003 >  cat conftest.err >&5
3004 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005    (exit $ac_status); } &&
3006 <         { ac_try='test -s conftest.$ac_objext'
3007 <  { (eval echo "$as_me:2163: \"$ac_try\"") >&5
3006 >         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
3007 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3008    (eval $ac_try) 2>&5
3009    ac_status=$?
3010 <  echo "$as_me:2166: \$? = $ac_status" >&5
3010 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 >  (exit $ac_status); }; } &&
3012 >         { ac_try='test -s conftest.$ac_objext'
3013 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3014 >  (eval $ac_try) 2>&5
3015 >  ac_status=$?
3016 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017    (exit $ac_status); }; }; then
3018    break
3019   else
3020    echo "$as_me: failed program was:" >&5
3021 < cat conftest.$ac_ext >&5
3021 > sed 's/^/| /' conftest.$ac_ext >&5
3022 >
3023   fi
3024 < rm -f conftest.$ac_objext conftest.$ac_ext
3024 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3025   done
3026 < echo '#ifdef __cplusplus' >>confdefs.h
3027 < echo $ac_declaration      >>confdefs.h
3028 < echo '#endif'             >>confdefs.h
3026 > rm -f conftest*
3027 > if test -n "$ac_declaration"; then
3028 >  echo '#ifdef __cplusplus' >>confdefs.h
3029 >  echo $ac_declaration      >>confdefs.h
3030 >  echo '#endif'             >>confdefs.h
3031 > fi
3032  
3033   ac_ext=c
3034   ac_cpp='$CPP $CPPFLAGS'
# Line 2182 | Line 3036 | OOPSE_TEMPLATE_FLAGS=""
3036   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3037   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3038  
3039 +
3040   OOPSE_TEMPLATE_FLAGS=""
3041   if test $ac_cv_cxx_compiler_gnu = no; then
3042 <  echo "$as_me:2187: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5
3042 >  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5
3043   echo $ECHO_N "checking checking whether ${CXX} accepts -ptused -no_prelink... $ECHO_C" >&6
3044    echo 'void f(){}' > conftest.cc
3045    if test -z "`${CXX} -ptused -no_prelink -c conftest.cc 2>&1`"; then
3046 <    echo "$as_me:2191: result: yes" >&5
3046 >    echo "$as_me:$LINENO: result: yes" >&5
3047   echo "${ECHO_T}yes" >&6
3048      OOPSE_TEMPLATE_FLAGS="-ptused -no_prelink"
3049    else
3050 <    echo "$as_me:2195: result: no" >&5
3050 >    echo "$as_me:$LINENO: result: no" >&5
3051   echo "${ECHO_T}no" >&6
3052    fi
3053    rm -f conftest*
3054 <  echo "$as_me:2199: checking checking whether ${CXX} accepts -instances=static" >&5
3054 >  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -instances=static" >&5
3055   echo $ECHO_N "checking checking whether ${CXX} accepts -instances=static... $ECHO_C" >&6
3056    echo 'void f(){}' > conftest.cc
3057    if test -z "`${CXX} -instances=static -c conftest.cc 2>&1`"; then
3058 <    echo "$as_me:2203: result: yes" >&5
3058 >    echo "$as_me:$LINENO: result: yes" >&5
3059   echo "${ECHO_T}yes" >&6
3060      OOPSE_TEMPLATE_FLAGS="-instances=static"
3061    else
3062 <    echo "$as_me:2207: result: no" >&5
3062 >    echo "$as_me:$LINENO: result: no" >&5
3063   echo "${ECHO_T}no" >&6
3064    fi
3065    rm -f conftest*
3066 <  echo "$as_me:2211: checking checking whether ${CXX} accepts -pto" >&5
3066 >  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -pto" >&5
3067   echo $ECHO_N "checking checking whether ${CXX} accepts -pto... $ECHO_C" >&6
3068    echo 'void f(){}' > conftest.cc
3069    if test -z "`${CXX} -pto -c conftest.cc 2>&1`"; then
3070 <    echo "$as_me:2215: result: yes" >&5
3070 >    echo "$as_me:$LINENO: result: yes" >&5
3071   echo "${ECHO_T}yes" >&6
3072      OOPSE_TEMPLATE_FLAGS="-pto"
3073    else
3074 <    echo "$as_me:2219: result: no" >&5
3074 >    echo "$as_me:$LINENO: result: no" >&5
3075   echo "${ECHO_T}no" >&6
3076    fi
3077    rm -f conftest*
3078 <  echo "$as_me:2223: checking checking whether ${CXX} accepts -LANG:std" >&5
3078 >  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -LANG:std" >&5
3079   echo $ECHO_N "checking checking whether ${CXX} accepts -LANG:std... $ECHO_C" >&6
3080    echo 'void f(){}' > conftest.cc
3081    if test -z "`${CXX} -LANG:std -c conftest.cc 2>&1`"; then
3082 <    echo "$as_me:2227: result: yes" >&5
3082 >    echo "$as_me:$LINENO: result: yes" >&5
3083   echo "${ECHO_T}yes" >&6
3084  
3085 +
3086      EXTRA_CC_FLAG=${EXTRA_CC_FLAG}" -LANG:std"
3087    else
3088 <    echo "$as_me:2232: result: no" >&5
3088 >    echo "$as_me:$LINENO: result: no" >&5
3089   echo "${ECHO_T}no" >&6
3090    fi
3091   fi
3092  
3093 +
3094 +
3095 +
3096   ac_ext=f90
3097   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3098   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 2243 | Line 3102 | echo "$as_me:2246: checking for $ac_word" >&5
3102    do
3103      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3104   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3105 < echo "$as_me:2246: checking for $ac_word" >&5
3105 > echo "$as_me:$LINENO: checking for $ac_word" >&5
3106   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3107   if test "${ac_cv_prog_F90+set}" = set; then
3108    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2251 | Line 3110 | else
3110    if test -n "$F90"; then
3111    ac_cv_prog_F90="$F90" # Let the user override the test.
3112   else
3113 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
3114 < ac_dummy="$PATH"
3115 < for ac_dir in $ac_dummy; do
3116 <  IFS=$ac_save_IFS
3117 <  test -z "$ac_dir" && ac_dir=.
3118 <  $as_executable_p "$ac_dir/$ac_word" || continue
3119 < ac_cv_prog_F90="$ac_tool_prefix$ac_prog"
3120 < echo "$as_me:2261: found $ac_dir/$ac_word" >&5
3121 < break
3113 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3114 > for as_dir in $PATH
3115 > do
3116 >  IFS=$as_save_IFS
3117 >  test -z "$as_dir" && as_dir=.
3118 >  for ac_exec_ext in '' $ac_executable_extensions; do
3119 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3120 >    ac_cv_prog_F90="$ac_tool_prefix$ac_prog"
3121 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3122 >    break 2
3123 >  fi
3124   done
3125 + done
3126  
3127   fi
3128   fi
3129   F90=$ac_cv_prog_F90
3130   if test -n "$F90"; then
3131 <  echo "$as_me:2269: result: $F90" >&5
3131 >  echo "$as_me:$LINENO: result: $F90" >&5
3132   echo "${ECHO_T}$F90" >&6
3133   else
3134 <  echo "$as_me:2272: result: no" >&5
3134 >  echo "$as_me:$LINENO: result: no" >&5
3135   echo "${ECHO_T}no" >&6
3136   fi
3137  
# Line 2282 | Line 3144 | echo "$as_me:2285: checking for $ac_word" >&5
3144   do
3145    # Extract the first word of "$ac_prog", so it can be a program name with args.
3146   set dummy $ac_prog; ac_word=$2
3147 < echo "$as_me:2285: checking for $ac_word" >&5
3147 > echo "$as_me:$LINENO: checking for $ac_word" >&5
3148   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3149   if test "${ac_cv_prog_ac_ct_F90+set}" = set; then
3150    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2290 | Line 3152 | else
3152    if test -n "$ac_ct_F90"; then
3153    ac_cv_prog_ac_ct_F90="$ac_ct_F90" # Let the user override the test.
3154   else
3155 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
3156 < ac_dummy="$PATH"
3157 < for ac_dir in $ac_dummy; do
3158 <  IFS=$ac_save_IFS
3159 <  test -z "$ac_dir" && ac_dir=.
3160 <  $as_executable_p "$ac_dir/$ac_word" || continue
3161 < ac_cv_prog_ac_ct_F90="$ac_prog"
3162 < echo "$as_me:2300: found $ac_dir/$ac_word" >&5
3163 < break
3155 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3156 > for as_dir in $PATH
3157 > do
3158 >  IFS=$as_save_IFS
3159 >  test -z "$as_dir" && as_dir=.
3160 >  for ac_exec_ext in '' $ac_executable_extensions; do
3161 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3162 >    ac_cv_prog_ac_ct_F90="$ac_prog"
3163 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3164 >    break 2
3165 >  fi
3166   done
3167 + done
3168  
3169   fi
3170   fi
3171   ac_ct_F90=$ac_cv_prog_ac_ct_F90
3172   if test -n "$ac_ct_F90"; then
3173 <  echo "$as_me:2308: result: $ac_ct_F90" >&5
3173 >  echo "$as_me:$LINENO: result: $ac_ct_F90" >&5
3174   echo "${ECHO_T}$ac_ct_F90" >&6
3175   else
3176 <  echo "$as_me:2311: result: no" >&5
3176 >  echo "$as_me:$LINENO: result: no" >&5
3177   echo "${ECHO_T}no" >&6
3178   fi
3179  
# Line 2318 | Line 3183 | fi
3183    F90=$ac_ct_F90
3184   fi
3185  
3186 +
3187   # If we don't use `.F90' as extension, the preprocessor is not run on the
3188   # input file.
3189   ac_save_ext=$ac_ext
3190   ac_ext=F90
3191 < echo "$as_me:2325: checking whether we are using the GNU Fortran 90 compiler" >&5
3191 > echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 90 compiler" >&5
3192   echo $ECHO_N "checking whether we are using the GNU Fortran 90 compiler... $ECHO_C" >&6
3193   if test "${ac_cv_f90_compiler_gnu+set}" = set; then
3194    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2339 | Line 3205 | if { (eval echo "$as_me:2342: \"$ac_compile\"") >&5
3205  
3206   _ACEOF
3207   rm -f conftest.$ac_objext
3208 < if { (eval echo "$as_me:2342: \"$ac_compile\"") >&5
3209 <  (eval $ac_compile) 2>&5
3208 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3209 >  (eval $ac_compile) 2>conftest.er1
3210    ac_status=$?
3211 <  echo "$as_me:2345: \$? = $ac_status" >&5
3211 >  grep -v '^ *+' conftest.er1 >conftest.err
3212 >  rm -f conftest.er1
3213 >  cat conftest.err >&5
3214 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3215    (exit $ac_status); } &&
3216 <         { ac_try='test -s conftest.$ac_objext'
3217 <  { (eval echo "$as_me:2348: \"$ac_try\"") >&5
3216 >         { ac_try='test -z "$ac_f90_werror_flag"                         || test ! -s conftest.err'
3217 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3218    (eval $ac_try) 2>&5
3219    ac_status=$?
3220 <  echo "$as_me:2351: \$? = $ac_status" >&5
3220 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221 >  (exit $ac_status); }; } &&
3222 >         { ac_try='test -s conftest.$ac_objext'
3223 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3224 >  (eval $ac_try) 2>&5
3225 >  ac_status=$?
3226 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227    (exit $ac_status); }; }; then
3228    ac_compiler_gnu=yes
3229   else
3230    echo "$as_me: failed program was:" >&5
3231 < cat conftest.$ac_ext >&5
3231 > sed 's/^/| /' conftest.$ac_ext >&5
3232 >
3233   ac_compiler_gnu=no
3234   fi
3235 < rm -f conftest.$ac_objext conftest.$ac_ext
3235 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3236   ac_cv_f90_compiler_gnu=$ac_compiler_gnu
3237  
3238   fi
3239 < echo "$as_me:2363: result: $ac_cv_f90_compiler_gnu" >&5
3239 > echo "$as_me:$LINENO: result: $ac_cv_f90_compiler_gnu" >&5
3240   echo "${ECHO_T}$ac_cv_f90_compiler_gnu" >&6
3241   ac_ext=$ac_save_ext
3242   G95=`test $ac_compiler_gnu = yes && echo yes`
# Line 2370 | Line 3246 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3246   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3247   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3248  
3249 +
3250 +
3251 +
3252 +
3253   # Try to determine native compiler flags that allow us to use F90 suffix
3254   # for preprocessed f90 source.
3255  
# Line 2390 | Line 3270 | if test "$ac_test_PREPFLAG" != "set"; then
3270    esac
3271  
3272    if test -z "$PREPFLAG"; then
3273 <        { echo "$as_me:2393: WARNING: \"Using empty PREPFLAG\"" >&5
3273 >        { echo "$as_me:$LINENO: WARNING: \"Using empty PREPFLAG\"" >&5
3274   echo "$as_me: WARNING: \"Using empty PREPFLAG\"" >&2;}
3275          PREPFLAG=""
3276    fi
3277  
3278 <  echo "$as_me:2398: checking to make sure F90 preprocessor flag works" >&5
3278 >  echo "$as_me:$LINENO: checking to make sure F90 preprocessor flag works" >&5
3279   echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6
3280  
3281 +
3282    ac_ext=f90
3283   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3284   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 2413 | Line 3294 | program main
3294  
3295      cat >conftest.$ac_ext <<_ACEOF
3296  
3297 +
3298   program main
3299  
3300    integer :: i
3301    i = 1
3302  
3303 +
3304   end program main
3305  
3306   _ACEOF
3307   rm -f conftest.$ac_objext
3308 < if { (eval echo "$as_me:2425: \"$ac_compile\"") >&5
3309 <  (eval $ac_compile) 2>&5
3308 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3309 >  (eval $ac_compile) 2>conftest.er1
3310    ac_status=$?
3311 <  echo "$as_me:2428: \$? = $ac_status" >&5
3311 >  grep -v '^ *+' conftest.er1 >conftest.err
3312 >  rm -f conftest.er1
3313 >  cat conftest.err >&5
3314 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315    (exit $ac_status); } &&
3316 <         { ac_try='test -s conftest.$ac_objext'
3317 <  { (eval echo "$as_me:2431: \"$ac_try\"") >&5
3316 >         { ac_try='test -z "$ac_f90_werror_flag"                         || test ! -s conftest.err'
3317 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3318    (eval $ac_try) 2>&5
3319    ac_status=$?
3320 <  echo "$as_me:2434: \$? = $ac_status" >&5
3320 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 >  (exit $ac_status); }; } &&
3322 >         { ac_try='test -s conftest.$ac_objext'
3323 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3324 >  (eval $ac_try) 2>&5
3325 >  ac_status=$?
3326 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327    (exit $ac_status); }; }; then
3328    prepflagworks=1
3329   else
3330    echo "$as_me: failed program was:" >&5
3331 < cat conftest.$ac_ext >&5
3331 > sed 's/^/| /' conftest.$ac_ext >&5
3332 >
3333   prepflagworks=0
3334   fi
3335 < rm -f conftest.$ac_objext conftest.$ac_ext
3335 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3336  
3337    F90FLAGS=$ac_save_F90FLAGS
3338    ac_ext=$ac_save_ext
# Line 2449 | Line 3342 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3342   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3343   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3344  
3345 +
3346    if test "$prepflagworks" = 1; then
3347 <    echo "$as_me:2453: result: yes" >&5
3347 >    echo "$as_me:$LINENO: result: yes" >&5
3348   echo "${ECHO_T}yes" >&6
3349  
3350    else
3351 <    echo "$as_me:2457: result: no" >&5
3351 >    echo "$as_me:$LINENO: result: no" >&5
3352   echo "${ECHO_T}no" >&6
3353 <    { { echo "$as_me:2459: error: Can't figure out working Fortran90 preprocessor flag" >&5
3353 >    { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor flag" >&5
3354   echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;}
3355     { (exit 1); exit 1; }; }
3356    fi
3357   fi
3358  
3359 +
3360 +
3361 +
3362 +
3363   # Try to determine native compiler flags that allow us to use F90 suffix
3364   # for preprocessed f90 source with -D type defines
3365  
# Line 2482 | Line 3380 | if test "$ac_test_PREPDEFFLAG" != "set"; then
3380    esac
3381  
3382    if test -z "$PREPDEFFLAG"; then
3383 <        { echo "$as_me:2485: WARNING: \"Using empty PREPDEFFLAG\"" >&5
3383 >        { echo "$as_me:$LINENO: WARNING: \"Using empty PREPDEFFLAG\"" >&5
3384   echo "$as_me: WARNING: \"Using empty PREPDEFFLAG\"" >&2;}
3385          PREPDEFFLAG=" "
3386    fi
3387  
3388 <  echo "$as_me:2490: checking to make sure F90 preprocessor define flag works" >&5
3388 >  echo "$as_me:$LINENO: checking to make sure F90 preprocessor define flag works" >&5
3389   echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6
3390  
3391 +
3392    ac_ext=f90
3393   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3394   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 2505 | Line 3404 | program main
3404  
3405      cat >conftest.$ac_ext <<_ACEOF
3406  
3407 +
3408   program main
3409  
3410    integer :: i
# Line 2514 | Line 3414 | end program main
3414    choke me
3415   #endif
3416  
3417 +
3418   end program main
3419  
3420   _ACEOF
3421   rm -f conftest.$ac_objext
3422 < if { (eval echo "$as_me:2521: \"$ac_compile\"") >&5
3423 <  (eval $ac_compile) 2>&5
3422 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3423 >  (eval $ac_compile) 2>conftest.er1
3424    ac_status=$?
3425 <  echo "$as_me:2524: \$? = $ac_status" >&5
3425 >  grep -v '^ *+' conftest.er1 >conftest.err
3426 >  rm -f conftest.er1
3427 >  cat conftest.err >&5
3428 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429    (exit $ac_status); } &&
3430 <         { ac_try='test -s conftest.$ac_objext'
3431 <  { (eval echo "$as_me:2527: \"$ac_try\"") >&5
3430 >         { ac_try='test -z "$ac_f90_werror_flag"                         || test ! -s conftest.err'
3431 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3432    (eval $ac_try) 2>&5
3433    ac_status=$?
3434 <  echo "$as_me:2530: \$? = $ac_status" >&5
3434 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3435 >  (exit $ac_status); }; } &&
3436 >         { ac_try='test -s conftest.$ac_objext'
3437 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3438 >  (eval $ac_try) 2>&5
3439 >  ac_status=$?
3440 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441    (exit $ac_status); }; }; then
3442    prepdefflagworks=1
3443   else
3444    echo "$as_me: failed program was:" >&5
3445 < cat conftest.$ac_ext >&5
3445 > sed 's/^/| /' conftest.$ac_ext >&5
3446 >
3447   prepdefflagworks=0
3448   fi
3449 < rm -f conftest.$ac_objext conftest.$ac_ext
3449 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3450  
3451    F90FLAGS=$ac_save_F90FLAGS
3452    ac_ext=$ac_save_ext
# Line 2545 | Line 3456 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3456   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3457   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3458  
3459 +
3460 +
3461    if test "$prepdefflagworks" = 1; then
3462 <    echo "$as_me:2549: result: yes" >&5
3462 >    echo "$as_me:$LINENO: result: yes" >&5
3463   echo "${ECHO_T}yes" >&6
3464  
3465    else
3466 <    echo "$as_me:2553: result: no" >&5
3466 >    echo "$as_me:$LINENO: result: no" >&5
3467   echo "${ECHO_T}no" >&6
3468 <    { { echo "$as_me:2555: error: Can't figure out working Fortran90 preprocessor define flag" >&5
3468 >    { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor define flag" >&5
3469   echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;}
3470     { (exit 1); exit 1; }; }
3471    fi
# Line 2563 | Line 3476 | ac_ext=f90
3476   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3477   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3478  
3479 +
3480 +
3481   ac_ext=f90
3482   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3483   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3484   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3485 < echo "$as_me:2570: checking how to get verbose linking output from $F90" >&5
3485 > echo "$as_me:$LINENO: checking how to get verbose linking output from $F90" >&5
3486   echo $ECHO_N "checking how to get verbose linking output from $F90... $ECHO_C" >&6
3487   if test "${ac_cv_prog_f90_v+set}" = set; then
3488    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2577 | Line 3492 | end program main
3492  
3493   program main
3494  
3495 +
3496   end program main
3497  
3498   _ACEOF
3499   rm -f conftest.$ac_objext
3500 < if { (eval echo "$as_me:2584: \"$ac_compile\"") >&5
3501 <  (eval $ac_compile) 2>&5
3500 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3501 >  (eval $ac_compile) 2>conftest.er1
3502    ac_status=$?
3503 <  echo "$as_me:2587: \$? = $ac_status" >&5
3503 >  grep -v '^ *+' conftest.er1 >conftest.err
3504 >  rm -f conftest.er1
3505 >  cat conftest.err >&5
3506 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507    (exit $ac_status); } &&
3508 <         { ac_try='test -s conftest.$ac_objext'
3509 <  { (eval echo "$as_me:2590: \"$ac_try\"") >&5
3508 >         { ac_try='test -z "$ac_f90_werror_flag"                         || test ! -s conftest.err'
3509 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3510    (eval $ac_try) 2>&5
3511    ac_status=$?
3512 <  echo "$as_me:2593: \$? = $ac_status" >&5
3512 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3513 >  (exit $ac_status); }; } &&
3514 >         { ac_try='test -s conftest.$ac_objext'
3515 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3516 >  (eval $ac_try) 2>&5
3517 >  ac_status=$?
3518 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519    (exit $ac_status); }; }; then
3520    ac_cv_prog_f90_v=
3521   # Try some options frequently used verbose output
# Line 2604 | Line 3529 | end program main
3529  
3530   program main
3531  
3532 +
3533   end program main
3534  
3535   _ACEOF
# Line 2615 | Line 3541 | F90FLAGS="$F90FLAGS $ac_verb"
3541   ac_save_F90FLAGS=$F90FLAGS
3542   F90FLAGS="$F90FLAGS $ac_verb"
3543  
3544 < (eval echo $as_me:2618: \"$ac_link\") >&5
3544 > (eval echo $as_me:3544: \"$ac_link\") >&5
3545   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3546   echo "$ac_f90_v_output" >&5
3547   F90FLAGS=$ac_save_F90FLAGS
# Line 2647 | Line 3573 | if test -z "$ac_cv_prog_f90_v"; then
3573    done
3574   done
3575   if test -z "$ac_cv_prog_f90_v"; then
3576 <   { echo "$as_me:2650: WARNING: cannot determine how to obtain linking information from $F90" >&5
3576 >   { echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $F90" >&5
3577   echo "$as_me: WARNING: cannot determine how to obtain linking information from $F90" >&2;}
3578   fi
3579   else
3580    echo "$as_me: failed program was:" >&5
3581 < cat conftest.$ac_ext >&5
3582 < { echo "$as_me:2656: WARNING: compilation failed" >&5
3581 > sed 's/^/| /' conftest.$ac_ext >&5
3582 >
3583 > { echo "$as_me:$LINENO: WARNING: compilation failed" >&5
3584   echo "$as_me: WARNING: compilation failed" >&2;}
3585   fi
3586 < rm -f conftest.$ac_objext conftest.$ac_ext
3586 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3587  
3588   fi
3589 < echo "$as_me:2662: result: $ac_cv_prog_f90_v" >&5
3589 > echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5
3590   echo "${ECHO_T}$ac_cv_prog_f90_v" >&6
3591 < echo "$as_me:2664: checking for Fortran 90 libraries" >&5
3591 > echo "$as_me:$LINENO: checking for Fortran 90 libraries" >&5
3592   echo $ECHO_N "checking for Fortran 90 libraries... $ECHO_C" >&6
3593   if test "${ac_cv_flibs+set}" = set; then
3594    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2679 | Line 3606 | end program main
3606  
3607   program main
3608  
3609 +
3610   end program main
3611  
3612   _ACEOF
# Line 2690 | Line 3618 | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3618   ac_save_F90FLAGS=$F90FLAGS
3619   F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3620  
3621 < (eval echo $as_me:2693: \"$ac_link\") >&5
3621 > (eval echo $as_me:3621: \"$ac_link\") >&5
3622   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3623   echo "$ac_f90_v_output" >&5
3624   F90FLAGS=$ac_save_F90FLAGS
# Line 2843 | Line 3771 | echo "$as_me:2846: result: $ac_cv_flibs" >&5
3771   fi # test "x$F90LIBS" = "x"
3772  
3773   fi
3774 < echo "$as_me:2846: result: $ac_cv_flibs" >&5
3774 > echo "$as_me:$LINENO: result: $ac_cv_flibs" >&5
3775   echo "${ECHO_T}$ac_cv_flibs" >&6
3776   F90LIBS="$ac_cv_f90libs"
3777  
# Line 2852 | Line 3780 | echo "$as_me:2855: checking for Fortran 90 name-mangli
3780   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3781   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3782  
3783 < echo "$as_me:2855: checking for Fortran 90 name-mangling scheme" >&5
3783 >
3784 > echo "$as_me:$LINENO: checking for Fortran 90 name-mangling scheme" >&5
3785   echo $ECHO_N "checking for Fortran 90 name-mangling scheme... $ECHO_C" >&6
3786   if test "${ac_cv_f90_mangling+set}" = set; then
3787    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2870 | Line 3799 | if { (eval echo "$as_me:2873: \"$ac_compile\"") >&5
3799   end
3800   _ACEOF
3801   rm -f conftest.$ac_objext
3802 < if { (eval echo "$as_me:2873: \"$ac_compile\"") >&5
3803 <  (eval $ac_compile) 2>&5
3802 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3803 >  (eval $ac_compile) 2>conftest.er1
3804    ac_status=$?
3805 <  echo "$as_me:2876: \$? = $ac_status" >&5
3805 >  grep -v '^ *+' conftest.er1 >conftest.err
3806 >  rm -f conftest.er1
3807 >  cat conftest.err >&5
3808 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3809    (exit $ac_status); } &&
3810 <         { ac_try='test -s conftest.$ac_objext'
3811 <  { (eval echo "$as_me:2879: \"$ac_try\"") >&5
3810 >         { ac_try='test -z "$ac_f90_werror_flag"                         || test ! -s conftest.err'
3811 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3812    (eval $ac_try) 2>&5
3813    ac_status=$?
3814 <  echo "$as_me:2882: \$? = $ac_status" >&5
3814 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815 >  (exit $ac_status); }; } &&
3816 >         { ac_try='test -s conftest.$ac_objext'
3817 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3818 >  (eval $ac_try) 2>&5
3819 >  ac_status=$?
3820 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821    (exit $ac_status); }; }; then
3822    mv conftest.$ac_objext cf90_test.$ac_objext
3823  
# Line 2897 | Line 3835 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3835      for ac_underscore in "" "_"; do
3836        ac_func="$ac_foobar$ac_underscore"
3837        cat >conftest.$ac_ext <<_ACEOF
3838 < #line 2900 "configure"
3839 < #include "confdefs.h"
3838 > /* confdefs.h.  */
3839 > _ACEOF
3840 > cat confdefs.h >>conftest.$ac_ext
3841 > cat >>conftest.$ac_ext <<_ACEOF
3842 > /* end confdefs.h.  */
3843  
3844   /* Override any gcc2 internal prototype to avoid an error.  */
3845   #ifdef __cplusplus
# Line 2916 | Line 3857 | if { (eval echo "$as_me:2919: \"$ac_link\"") >&5
3857   }
3858   _ACEOF
3859   rm -f conftest.$ac_objext conftest$ac_exeext
3860 < if { (eval echo "$as_me:2919: \"$ac_link\"") >&5
3861 <  (eval $ac_link) 2>&5
3860 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3861 >  (eval $ac_link) 2>conftest.er1
3862    ac_status=$?
3863 <  echo "$as_me:2922: \$? = $ac_status" >&5
3863 >  grep -v '^ *+' conftest.er1 >conftest.err
3864 >  rm -f conftest.er1
3865 >  cat conftest.err >&5
3866 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867    (exit $ac_status); } &&
3868 <         { ac_try='test -s conftest$ac_exeext'
3869 <  { (eval echo "$as_me:2925: \"$ac_try\"") >&5
3868 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3869 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3870    (eval $ac_try) 2>&5
3871    ac_status=$?
3872 <  echo "$as_me:2928: \$? = $ac_status" >&5
3872 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873 >  (exit $ac_status); }; } &&
3874 >         { ac_try='test -s conftest$ac_exeext'
3875 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3876 >  (eval $ac_try) 2>&5
3877 >  ac_status=$?
3878 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879    (exit $ac_status); }; }; then
3880    ac_success=yes; break 2
3881   else
3882    echo "$as_me: failed program was:" >&5
3883 < cat conftest.$ac_ext >&5
3883 > sed 's/^/| /' conftest.$ac_ext >&5
3884 >
3885   fi
3886 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3886 > rm -f conftest.err conftest.$ac_objext \
3887 >      conftest$ac_exeext conftest.$ac_ext
3888      done
3889    done
3890  
# Line 2953 | Line 3905 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
3905          ac_func="$ac_foo_bar$ac_underscore$ac_extra"
3906  
3907          cat >conftest.$ac_ext <<_ACEOF
3908 < #line 2956 "configure"
3909 < #include "confdefs.h"
3908 > /* confdefs.h.  */
3909 > _ACEOF
3910 > cat confdefs.h >>conftest.$ac_ext
3911 > cat >>conftest.$ac_ext <<_ACEOF
3912 > /* end confdefs.h.  */
3913  
3914   /* Override any gcc2 internal prototype to avoid an error.  */
3915   #ifdef __cplusplus
# Line 2972 | Line 3927 | if { (eval echo "$as_me:2975: \"$ac_link\"") >&5
3927   }
3928   _ACEOF
3929   rm -f conftest.$ac_objext conftest$ac_exeext
3930 < if { (eval echo "$as_me:2975: \"$ac_link\"") >&5
3931 <  (eval $ac_link) 2>&5
3930 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3931 >  (eval $ac_link) 2>conftest.er1
3932    ac_status=$?
3933 <  echo "$as_me:2978: \$? = $ac_status" >&5
3933 >  grep -v '^ *+' conftest.er1 >conftest.err
3934 >  rm -f conftest.er1
3935 >  cat conftest.err >&5
3936 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937    (exit $ac_status); } &&
3938 <         { ac_try='test -s conftest$ac_exeext'
3939 <  { (eval echo "$as_me:2981: \"$ac_try\"") >&5
3938 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
3939 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3940    (eval $ac_try) 2>&5
3941    ac_status=$?
3942 <  echo "$as_me:2984: \$? = $ac_status" >&5
3942 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3943 >  (exit $ac_status); }; } &&
3944 >         { ac_try='test -s conftest$ac_exeext'
3945 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3946 >  (eval $ac_try) 2>&5
3947 >  ac_status=$?
3948 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3949    (exit $ac_status); }; }; then
3950    ac_success_extra=yes; break
3951   else
3952    echo "$as_me: failed program was:" >&5
3953 < cat conftest.$ac_ext >&5
3953 > sed 's/^/| /' conftest.$ac_ext >&5
3954 >
3955   fi
3956 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3956 > rm -f conftest.err conftest.$ac_objext \
3957 >      conftest$ac_exeext conftest.$ac_ext
3958       done
3959  
3960       if test "$ac_success_extra" = "yes"; then
# Line 3020 | Line 3986 | cat conftest.$ac_ext >&5
3986    rm -f cf90_test* conftest*
3987   else
3988    echo "$as_me: failed program was:" >&5
3989 < cat conftest.$ac_ext >&5
3989 > sed 's/^/| /' conftest.$ac_ext >&5
3990 >
3991   fi
3992 < rm -f conftest.$ac_objext conftest.$ac_ext
3992 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3993   ac_ext=f90
3994   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3995   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3996   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3997  
3998   fi
3999 < echo "$as_me:3032: result: $ac_cv_f90_mangling" >&5
3999 > echo "$as_me:$LINENO: result: $ac_cv_f90_mangling" >&5
4000   echo "${ECHO_T}$ac_cv_f90_mangling" >&6
4001  
4002 +
4003 +
4004   case $ac_cv_f90_mangling in
4005    "lower case, no underscore, no extra underscore")
4006 <          cat >>confdefs.h <<\EOF
4006 >          cat >>confdefs.h <<\_ACEOF
4007   #define F90_FUNC(name,NAME) name
4008 < EOF
4008 > _ACEOF
4009  
4010 <          cat >>confdefs.h <<\EOF
4010 >          cat >>confdefs.h <<\_ACEOF
4011   #define F90_FUNC_(name,NAME) name
4012 < EOF
4012 > _ACEOF
4013   ;;
4014    "lower case, no underscore, extra underscore")
4015 <          cat >>confdefs.h <<\EOF
4015 >          cat >>confdefs.h <<\_ACEOF
4016   #define F90_FUNC(name,NAME) name
4017 < EOF
4017 > _ACEOF
4018  
4019 <          cat >>confdefs.h <<\EOF
4019 >          cat >>confdefs.h <<\_ACEOF
4020   #define F90_FUNC_(name,NAME) name ## _
4021 < EOF
4021 > _ACEOF
4022   ;;
4023    "lower case, underscore, no extra underscore")
4024 <          cat >>confdefs.h <<\EOF
4024 >          cat >>confdefs.h <<\_ACEOF
4025   #define F90_FUNC(name,NAME) name ## _
4026 < EOF
4026 > _ACEOF
4027  
4028 <          cat >>confdefs.h <<\EOF
4028 >          cat >>confdefs.h <<\_ACEOF
4029   #define F90_FUNC_(name,NAME) name ## _
4030 < EOF
4030 > _ACEOF
4031   ;;
4032    "lower case, underscore, extra underscore")
4033 <          cat >>confdefs.h <<\EOF
4033 >          cat >>confdefs.h <<\_ACEOF
4034   #define F90_FUNC(name,NAME) name ## _
4035 < EOF
4035 > _ACEOF
4036  
4037 <          cat >>confdefs.h <<\EOF
4037 >          cat >>confdefs.h <<\_ACEOF
4038   #define F90_FUNC_(name,NAME) name ## __
4039 < EOF
4039 > _ACEOF
4040   ;;
4041    "upper case, no underscore, no extra underscore")
4042 <          cat >>confdefs.h <<\EOF
4042 >          cat >>confdefs.h <<\_ACEOF
4043   #define F90_FUNC(name,NAME) NAME
4044 < EOF
4044 > _ACEOF
4045  
4046 <          cat >>confdefs.h <<\EOF
4046 >          cat >>confdefs.h <<\_ACEOF
4047   #define F90_FUNC_(name,NAME) NAME
4048 < EOF
4048 > _ACEOF
4049   ;;
4050    "upper case, no underscore, extra underscore")
4051 <          cat >>confdefs.h <<\EOF
4051 >          cat >>confdefs.h <<\_ACEOF
4052   #define F90_FUNC(name,NAME) NAME
4053 < EOF
4053 > _ACEOF
4054  
4055 <          cat >>confdefs.h <<\EOF
4055 >          cat >>confdefs.h <<\_ACEOF
4056   #define F90_FUNC_(name,NAME) NAME ## _
4057 < EOF
4057 > _ACEOF
4058   ;;
4059    "upper case, underscore, no extra underscore")
4060 <          cat >>confdefs.h <<\EOF
4060 >          cat >>confdefs.h <<\_ACEOF
4061   #define F90_FUNC(name,NAME) NAME ## _
4062 < EOF
4062 > _ACEOF
4063  
4064 <          cat >>confdefs.h <<\EOF
4064 >          cat >>confdefs.h <<\_ACEOF
4065   #define F90_FUNC_(name,NAME) NAME ## _
4066 < EOF
4066 > _ACEOF
4067   ;;
4068    "upper case, underscore, extra underscore")
4069 <          cat >>confdefs.h <<\EOF
4069 >          cat >>confdefs.h <<\_ACEOF
4070   #define F90_FUNC(name,NAME) NAME ## _
4071 < EOF
4071 > _ACEOF
4072  
4073 <          cat >>confdefs.h <<\EOF
4073 >          cat >>confdefs.h <<\_ACEOF
4074   #define F90_FUNC_(name,NAME) NAME ## __
4075 < EOF
4075 > _ACEOF
4076   ;;
4077    *)
4078 <          { echo "$as_me:3109: WARNING: unknown Fortran 90 name-mangling scheme" >&5
4078 >          { echo "$as_me:$LINENO: WARNING: unknown Fortran 90 name-mangling scheme" >&5
4079   echo "$as_me: WARNING: unknown Fortran 90 name-mangling scheme" >&2;}
4080            ;;
4081   esac
4082  
4083 < echo "$as_me:3114: checking for module suffix" >&5
4083 >
4084 >
4085 >
4086 >
4087 > echo "$as_me:$LINENO: checking for module suffix" >&5
4088   echo $ECHO_N "checking for module suffix... $ECHO_C" >&6
4089   rm -f conftest*
4090   # Intel ifc compiler generates files by the name of work.pc and work.pcl (!)
# Line 3138 | Line 4111 | if $F90 -c conftest.f90 > conftest.out 2>&1 ; then
4111          fi
4112      fi
4113      if test -z "$MOD" ; then
4114 <        echo "$as_me:3141: result: unknown" >&5
4114 >        echo "$as_me:$LINENO: result: unknown" >&5
4115   echo "${ECHO_T}unknown" >&6
4116          # Use mod if we can't figure it out
4117          MOD="mod"
4118      else
4119 <        echo "$as_me:3146: result: $MOD" >&5
4119 >        echo "$as_me:$LINENO: result: $MOD" >&5
4120   echo "${ECHO_T}$MOD" >&6
4121      fi
4122      if test -s work.pcl ; then
4123 <        { echo "$as_me:3150: WARNING: Compiler generates auxillery files!" >&5
4123 >        { echo "$as_me:$LINENO: WARNING: Compiler generates auxillery files!" >&5
4124   echo "$as_me: WARNING: Compiler generates auxillery files!" >&2;}
4125      fi
4126   else
4127 <    echo "$as_me:3154: result: unknown" >&5
4127 >    echo "$as_me:$LINENO: result: unknown" >&5
4128   echo "${ECHO_T}unknown" >&6
4129   fi
4130  
4131 +
4132 +
4133 +
4134 +
4135   # Check for module include path (some use -I, some (Solaris) use -M, some
4136   # (absoft) use -p).
4137   # Intel compilers use a wierd system: -cl,filename.pcl .  If no file is
4138   # specified, work.pcl and work.pc are created.  However, if you specify
4139   # a file, it must contain a the name of a file ending in .pc .  Ugh!
4140   # Use the module made above
4141 < echo "$as_me:3164: checking for module directory path flag" >&5
4141 > echo "$as_me:$LINENO: checking for module directory path flag" >&5
4142   echo $ECHO_N "checking for module directory path flag... $ECHO_C" >&6
4143   rm -f conftest*
4144   # Intel ifc compiler generates files by the name of work.pc and work.pcl (!)
# Line 3195 | Line 4172 | EOF
4172     if $F90 -c -Iconf conftest1.f90 > conftest.out 2>&1 ; then
4173         MODDIRFLAG="-I"
4174         F90MODINCSPEC="-I<dir>"
4175 <       echo "$as_me:3198: result: -I" >&5
4175 >       echo "$as_me:$LINENO: result: -I" >&5
4176   echo "${ECHO_T}-I" >&6
4177     elif $F90 -c -Mconf conftest1.f90 >> conftest.out 2>&1 ; then
4178         MODDIRFLAG="-M"
4179         F90MODINCSPEC="-M<dir>"
4180 <       echo "$as_me:3203: result: -M" >&5
4180 >       echo "$as_me:$LINENO: result: -M" >&5
4181   echo "${ECHO_T}-M" >&6
4182     elif $F90 -c -pconf conftest1.f90 >> conftest.out 2>&1 ; then
4183         MODDIRFLAG="-p"
4184         F90MODINCSPEC="-p<dir>"
4185 <       echo "$as_me:3208: result: -p" >&5
4185 >       echo "$as_me:$LINENO: result: -p" >&5
4186   echo "${ECHO_T}-p" >&6
4187     elif test -s work.pc ; then
4188          cp work.pc conf/mpimod.pc
# Line 3213 | Line 4190 | echo "${ECHO_T}-p" >&6
4190          echo "`pwd`/conf/mpimod.pc" >> conf/mpimod.pcl
4191          if $F90 -c -cl,conf/mpimod.pcl conftest1.f >>conftest.out 2>&1 ; then
4192              MODDIRFLAG='-cl,mpimod.pcl'
4193 <            echo "$as_me:3216: result: -cl,filename where filename contains a list of files and directories" >&5
4193 >            echo "$as_me:$LINENO: result: -cl,filename where filename contains a list of files and directories" >&5
4194   echo "${ECHO_T}-cl,filename where filename contains a list of files and directories" >&6
4195              F90_WORK_FILES_ARG="-cl,mpimod.pcl"
4196              F90MODINCSPEC="-cl,<dir>/<file>mod.pcl"
# Line 3226 | Line 4203 | echo "${ECHO_T}-cl,filename where filename contains a
4203          fi
4204     fi
4205     if test -z "MODDIRFLAG" ; then
4206 <       echo "$as_me:3229: result: unknown" >&5
4206 >       echo "$as_me:$LINENO: result: unknown" >&5
4207   echo "${ECHO_T}unknown" >&6
4208     fi
4209  
4210 +
4211     rm -f conftest* conf/conftest* conf/CONFTEST* CONFTEST* conf/mpimod*
4212     if test $madedir = 1 ; then rmdir conf ; fi
4213   fi
4214  
4215 < echo "$as_me:3237: checking for Fortran 90 module file names" >&5
4215 >
4216 > echo "$as_me:$LINENO: checking for Fortran 90 module file names" >&5
4217   echo $ECHO_N "checking for Fortran 90 module file names... $ECHO_C" >&6
4218   if test "${ac_cv_f90_module_names+set}" = set; then
4219    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3252 | Line 4231 | if { (eval echo "$as_me:3255: \"$ac_compile\"") >&5
4231   END MODULE Bar
4232   _ACEOF
4233   rm -f conftest.$ac_objext
4234 < if { (eval echo "$as_me:3255: \"$ac_compile\"") >&5
4235 <  (eval $ac_compile) 2>&5
4234 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4235 >  (eval $ac_compile) 2>conftest.er1
4236    ac_status=$?
4237 <  echo "$as_me:3258: \$? = $ac_status" >&5
4237 >  grep -v '^ *+' conftest.er1 >conftest.err
4238 >  rm -f conftest.er1
4239 >  cat conftest.err >&5
4240 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241    (exit $ac_status); } &&
4242 <         { ac_try='test -s conftest.$ac_objext'
4243 <  { (eval echo "$as_me:3261: \"$ac_try\"") >&5
4242 >         { ac_try='test -z "$ac_f90_werror_flag"                         || test ! -s conftest.err'
4243 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4244    (eval $ac_try) 2>&5
4245    ac_status=$?
4246 <  echo "$as_me:3264: \$? = $ac_status" >&5
4246 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4247 >  (exit $ac_status); }; } &&
4248 >         { ac_try='test -s conftest.$ac_objext'
4249 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4250 >  (eval $ac_try) 2>&5
4251 >  ac_status=$?
4252 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253    (exit $ac_status); }; }; then
4254    ac_cv_f90_module_names=
4255   ac_file_list=*
# Line 3344 | Line 4332 | fi
4332            ;;
4333         # Other files - we have no idea how they are generated
4334         *)
4335 <          { echo "$as_me:3347: WARNING: Bogus file found: $ac_file" >&5
4335 >          { echo "$as_me:$LINENO: WARNING: Bogus file found: $ac_file" >&5
4336   echo "$as_me: WARNING: Bogus file found: $ac_file" >&2;}
4337            ;;
4338     esac
4339   done
4340   if test "x$ac_cv_f90_module_names" = "x"; then
4341 <  { echo "$as_me:3353: WARNING: Couldn't determine module file names" >&5
4341 >  { echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5
4342   echo "$as_me: WARNING: Couldn't determine module file names" >&2;}
4343   fi
4344  
4345   else
4346    echo "$as_me: failed program was:" >&5
4347 < cat conftest.$ac_ext >&5
4347 > sed 's/^/| /' conftest.$ac_ext >&5
4348 >
4349   ac_cv_f90_module_names=
4350 < { echo "$as_me:3361: WARNING: Couldn't determine module file names" >&5
4350 > { echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5
4351   echo "$as_me: WARNING: Couldn't determine module file names" >&2;}
4352   fi
4353 < rm -f conftest.$ac_objext conftest.$ac_ext
4353 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4354   cd ..
4355   # cleanup
4356   rm -rf conftest
# Line 3371 | Line 4360 | echo "$as_me:3374: result: $ac_cv_f90_module_names" >&
4360   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4361  
4362   fi
4363 < echo "$as_me:3374: result: $ac_cv_f90_module_names" >&5
4363 > echo "$as_me:$LINENO: result: $ac_cv_f90_module_names" >&5
4364   echo "${ECHO_T}$ac_cv_f90_module_names" >&6 # AC_CACHE_CHECK
4365  
4366   # We now generate a shell script that will help us to figure out the correct
# Line 3455 | Line 4444 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
4444   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4445   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4446   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4447 +
4448 +
4449 + ac_ext=cc
4450 + ac_cpp='$CXXCPP $CPPFLAGS'
4451 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4452 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4453 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4454 +
4455 +
4456 +
4457 + echo "$as_me:$LINENO: checking for asin in -lm" >&5
4458 + echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
4459 + if test "${ac_cv_lib_m_asin+set}" = set; then
4460 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4461 + else
4462 +  ac_check_lib_save_LIBS=$LIBS
4463 + LIBS="-lm  $LIBS"
4464 + cat >conftest.$ac_ext <<_ACEOF
4465 + /* confdefs.h.  */
4466 + _ACEOF
4467 + cat confdefs.h >>conftest.$ac_ext
4468 + cat >>conftest.$ac_ext <<_ACEOF
4469 + /* end confdefs.h.  */
4470 +
4471 + /* Override any gcc2 internal prototype to avoid an error.  */
4472 + #ifdef __cplusplus
4473 + extern "C"
4474 + #endif
4475 + /* We use char because int might match the return type of a gcc2
4476 +   builtin and then its argument prototype would still apply.  */
4477 + char asin ();
4478 + int
4479 + main ()
4480 + {
4481 + asin ();
4482 +  ;
4483 +  return 0;
4484 + }
4485 + _ACEOF
4486 + rm -f conftest.$ac_objext conftest$ac_exeext
4487 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4488 +  (eval $ac_link) 2>conftest.er1
4489 +  ac_status=$?
4490 +  grep -v '^ *+' conftest.er1 >conftest.err
4491 +  rm -f conftest.er1
4492 +  cat conftest.err >&5
4493 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4494 +  (exit $ac_status); } &&
4495 +         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
4496 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4497 +  (eval $ac_try) 2>&5
4498 +  ac_status=$?
4499 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500 +  (exit $ac_status); }; } &&
4501 +         { ac_try='test -s conftest$ac_exeext'
4502 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4503 +  (eval $ac_try) 2>&5
4504 +  ac_status=$?
4505 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4506 +  (exit $ac_status); }; }; then
4507 +  ac_cv_lib_m_asin=yes
4508 + else
4509 +  echo "$as_me: failed program was:" >&5
4510 + sed 's/^/| /' conftest.$ac_ext >&5
4511  
4512 + ac_cv_lib_m_asin=no
4513 + fi
4514 + rm -f conftest.err conftest.$ac_objext \
4515 +      conftest$ac_exeext conftest.$ac_ext
4516 + LIBS=$ac_check_lib_save_LIBS
4517 + fi
4518 + echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
4519 + echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
4520 + if test $ac_cv_lib_m_asin = yes; then
4521 +  cat >>confdefs.h <<_ACEOF
4522 + #define HAVE_LIBM 1
4523 + _ACEOF
4524 +
4525 +  LIBS="-lm $LIBS"
4526 +
4527 + else
4528 +  exit
4529 + fi
4530 +
4531 +
4532   ac_ext=c
4533   ac_cpp='$CPP $CPPFLAGS'
4534   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 3467 | Line 4540 | echo "$as_me:3470: checking how to run the C preproces
4540   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4541   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4542   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4543 < echo "$as_me:3470: checking how to run the C preprocessor" >&5
4543 > echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4544   echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4545   # On Suns, sometimes $CPP names a directory.
4546   if test -n "$CPP" && test -d "$CPP"; then
# Line 3480 | Line 4553 | else
4553        # Double quotes because CPP needs to be expanded
4554      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4555      do
3483      # break 2 since there is a loop in there.
4556        ac_preproc_ok=false
4557   for ac_c_preproc_warn_flag in '' yes
4558   do
4559    # Use a header file that comes with gcc, so configuring glibc
4560    # with a fresh cross-compiler works.
4561 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4562 +  # <limits.h> exists even on freestanding compilers.
4563    # On the NeXT, cc -E runs the code through the compiler's parser,
4564    # not just through cpp. "Syntax error" is here to catch this case.
4565    cat >conftest.$ac_ext <<_ACEOF
4566 < #line 3492 "configure"
3493 < #include "confdefs.h"
3494 < #include <assert.h>
3495 <                     Syntax error
4566 > /* confdefs.h.  */
4567   _ACEOF
4568 < if { (eval echo "$as_me:3497: \"$ac_cpp conftest.$ac_ext\"") >&5
4568 > cat confdefs.h >>conftest.$ac_ext
4569 > cat >>conftest.$ac_ext <<_ACEOF
4570 > /* end confdefs.h.  */
4571 > #ifdef __STDC__
4572 > # include <limits.h>
4573 > #else
4574 > # include <assert.h>
4575 > #endif
4576 >                     Syntax error
4577 > _ACEOF
4578 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4579    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4580    ac_status=$?
4581 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4581 >  grep -v '^ *+' conftest.er1 >conftest.err
4582    rm -f conftest.er1
4583    cat conftest.err >&5
4584 <  echo "$as_me:3503: \$? = $ac_status" >&5
4584 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585    (exit $ac_status); } >/dev/null; then
4586    if test -s conftest.err; then
4587      ac_cpp_err=$ac_c_preproc_warn_flag
4588 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4589    else
4590      ac_cpp_err=
4591    fi
# Line 3514 | Line 4596 | else
4596    :
4597   else
4598    echo "$as_me: failed program was:" >&5
4599 <  cat conftest.$ac_ext >&5
4599 > sed 's/^/| /' conftest.$ac_ext >&5
4600 >
4601    # Broken: fails on valid input.
4602   continue
4603   fi
# Line 3523 | Line 4606 | rm -f conftest.err conftest.$ac_ext
4606    # OK, works on sane cases.  Now check whether non-existent headers
4607    # can be detected and how.
4608    cat >conftest.$ac_ext <<_ACEOF
4609 < #line 3526 "configure"
4610 < #include "confdefs.h"
4609 > /* confdefs.h.  */
4610 > _ACEOF
4611 > cat confdefs.h >>conftest.$ac_ext
4612 > cat >>conftest.$ac_ext <<_ACEOF
4613 > /* end confdefs.h.  */
4614   #include <ac_nonexistent.h>
4615   _ACEOF
4616 < if { (eval echo "$as_me:3530: \"$ac_cpp conftest.$ac_ext\"") >&5
4616 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4617    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4618    ac_status=$?
4619 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4619 >  grep -v '^ *+' conftest.er1 >conftest.err
4620    rm -f conftest.er1
4621    cat conftest.err >&5
4622 <  echo "$as_me:3536: \$? = $ac_status" >&5
4622 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4623    (exit $ac_status); } >/dev/null; then
4624    if test -s conftest.err; then
4625      ac_cpp_err=$ac_c_preproc_warn_flag
4626 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4627    else
4628      ac_cpp_err=
4629    fi
# Line 3548 | Line 4635 | else
4635   continue
4636   else
4637    echo "$as_me: failed program was:" >&5
4638 <  cat conftest.$ac_ext >&5
4638 > sed 's/^/| /' conftest.$ac_ext >&5
4639 >
4640    # Passes both tests.
4641   ac_preproc_ok=:
4642   break
# Line 3559 | Line 4647 | if $ac_preproc_ok; then
4647   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4648   rm -f conftest.err conftest.$ac_ext
4649   if $ac_preproc_ok; then
4650 <  break 2
4650 >  break
4651   fi
4652  
4653      done
# Line 3570 | Line 4658 | echo "$as_me:3573: result: $CPP" >&5
4658   else
4659    ac_cv_prog_CPP=$CPP
4660   fi
4661 < echo "$as_me:3573: result: $CPP" >&5
4661 > echo "$as_me:$LINENO: result: $CPP" >&5
4662   echo "${ECHO_T}$CPP" >&6
4663   ac_preproc_ok=false
4664   for ac_c_preproc_warn_flag in '' yes
4665   do
4666    # Use a header file that comes with gcc, so configuring glibc
4667    # with a fresh cross-compiler works.
4668 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4669 +  # <limits.h> exists even on freestanding compilers.
4670    # On the NeXT, cc -E runs the code through the compiler's parser,
4671    # not just through cpp. "Syntax error" is here to catch this case.
4672    cat >conftest.$ac_ext <<_ACEOF
4673 < #line 3583 "configure"
3584 < #include "confdefs.h"
3585 < #include <assert.h>
3586 <                     Syntax error
4673 > /* confdefs.h.  */
4674   _ACEOF
4675 < if { (eval echo "$as_me:3588: \"$ac_cpp conftest.$ac_ext\"") >&5
4675 > cat confdefs.h >>conftest.$ac_ext
4676 > cat >>conftest.$ac_ext <<_ACEOF
4677 > /* end confdefs.h.  */
4678 > #ifdef __STDC__
4679 > # include <limits.h>
4680 > #else
4681 > # include <assert.h>
4682 > #endif
4683 >                     Syntax error
4684 > _ACEOF
4685 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4686    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4687    ac_status=$?
4688 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4688 >  grep -v '^ *+' conftest.er1 >conftest.err
4689    rm -f conftest.er1
4690    cat conftest.err >&5
4691 <  echo "$as_me:3594: \$? = $ac_status" >&5
4691 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692    (exit $ac_status); } >/dev/null; then
4693    if test -s conftest.err; then
4694      ac_cpp_err=$ac_c_preproc_warn_flag
4695 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4696    else
4697      ac_cpp_err=
4698    fi
# Line 3605 | Line 4703 | else
4703    :
4704   else
4705    echo "$as_me: failed program was:" >&5
4706 <  cat conftest.$ac_ext >&5
4706 > sed 's/^/| /' conftest.$ac_ext >&5
4707 >
4708    # Broken: fails on valid input.
4709   continue
4710   fi
# Line 3614 | Line 4713 | rm -f conftest.err conftest.$ac_ext
4713    # OK, works on sane cases.  Now check whether non-existent headers
4714    # can be detected and how.
4715    cat >conftest.$ac_ext <<_ACEOF
4716 < #line 3617 "configure"
4717 < #include "confdefs.h"
4716 > /* confdefs.h.  */
4717 > _ACEOF
4718 > cat confdefs.h >>conftest.$ac_ext
4719 > cat >>conftest.$ac_ext <<_ACEOF
4720 > /* end confdefs.h.  */
4721   #include <ac_nonexistent.h>
4722   _ACEOF
4723 < if { (eval echo "$as_me:3621: \"$ac_cpp conftest.$ac_ext\"") >&5
4723 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4724    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4725    ac_status=$?
4726 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4726 >  grep -v '^ *+' conftest.er1 >conftest.err
4727    rm -f conftest.er1
4728    cat conftest.err >&5
4729 <  echo "$as_me:3627: \$? = $ac_status" >&5
4729 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730    (exit $ac_status); } >/dev/null; then
4731    if test -s conftest.err; then
4732      ac_cpp_err=$ac_c_preproc_warn_flag
4733 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4734    else
4735      ac_cpp_err=
4736    fi
# Line 3639 | Line 4742 | else
4742   continue
4743   else
4744    echo "$as_me: failed program was:" >&5
4745 <  cat conftest.$ac_ext >&5
4745 > sed 's/^/| /' conftest.$ac_ext >&5
4746 >
4747    # Passes both tests.
4748   ac_preproc_ok=:
4749   break
# Line 3652 | Line 4756 | else
4756   if $ac_preproc_ok; then
4757    :
4758   else
4759 <  { { echo "$as_me:3655: error: C preprocessor \"$CPP\" fails sanity check" >&5
4760 < echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
4759 >  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4760 > See \`config.log' for more details." >&5
4761 > echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4762 > See \`config.log' for more details." >&2;}
4763     { (exit 1); exit 1; }; }
4764   fi
4765  
# Line 3663 | Line 4769 | for ac_header in unistd.h sys/pstat.h sys/sysmp.h sys/
4769   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4770   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4771  
4772 < 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
4773 < do
4774 < ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4775 < echo "$as_me:3669: checking for $ac_header" >&5
3670 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3671 < if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4772 >
4773 > echo "$as_me:$LINENO: checking for egrep" >&5
4774 > echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4775 > if test "${ac_cv_prog_egrep+set}" = set; then
4776    echo $ECHO_N "(cached) $ECHO_C" >&6
4777   else
4778 +  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4779 +    then ac_cv_prog_egrep='grep -E'
4780 +    else ac_cv_prog_egrep='egrep'
4781 +    fi
4782 + fi
4783 + echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4784 + echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4785 + EGREP=$ac_cv_prog_egrep
4786 +
4787 +
4788 + echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4789 + echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4790 + if test "${ac_cv_header_stdc+set}" = set; then
4791 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4792 + else
4793    cat >conftest.$ac_ext <<_ACEOF
4794 < #line 3675 "configure"
3676 < #include "confdefs.h"
3677 < #include <$ac_header>
4794 > /* confdefs.h.  */
4795   _ACEOF
4796 < if { (eval echo "$as_me:3679: \"$ac_cpp conftest.$ac_ext\"") >&5
4797 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4796 > cat confdefs.h >>conftest.$ac_ext
4797 > cat >>conftest.$ac_ext <<_ACEOF
4798 > /* end confdefs.h.  */
4799 > #include <stdlib.h>
4800 > #include <stdarg.h>
4801 > #include <string.h>
4802 > #include <float.h>
4803 >
4804 > int
4805 > main ()
4806 > {
4807 >
4808 >  ;
4809 >  return 0;
4810 > }
4811 > _ACEOF
4812 > rm -f conftest.$ac_objext
4813 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4814 >  (eval $ac_compile) 2>conftest.er1
4815    ac_status=$?
4816 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4816 >  grep -v '^ *+' conftest.er1 >conftest.err
4817    rm -f conftest.er1
4818    cat conftest.err >&5
4819 <  echo "$as_me:3685: \$? = $ac_status" >&5
4820 <  (exit $ac_status); } >/dev/null; then
4821 <  if test -s conftest.err; then
4822 <    ac_cpp_err=$ac_c_preproc_warn_flag
4823 <  else
4824 <    ac_cpp_err=
4825 <  fi
4819 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4820 >  (exit $ac_status); } &&
4821 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4822 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4823 >  (eval $ac_try) 2>&5
4824 >  ac_status=$?
4825 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4826 >  (exit $ac_status); }; } &&
4827 >         { ac_try='test -s conftest.$ac_objext'
4828 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4829 >  (eval $ac_try) 2>&5
4830 >  ac_status=$?
4831 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 >  (exit $ac_status); }; }; then
4833 >  ac_cv_header_stdc=yes
4834   else
4835 <  ac_cpp_err=yes
4835 >  echo "$as_me: failed program was:" >&5
4836 > sed 's/^/| /' conftest.$ac_ext >&5
4837 >
4838 > ac_cv_header_stdc=no
4839   fi
4840 < if test -z "$ac_cpp_err"; then
4841 <  eval "$ac_ac_Header=yes"
4840 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4841 >
4842 > if test $ac_cv_header_stdc = yes; then
4843 >  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4844 >  cat >conftest.$ac_ext <<_ACEOF
4845 > /* confdefs.h.  */
4846 > _ACEOF
4847 > cat confdefs.h >>conftest.$ac_ext
4848 > cat >>conftest.$ac_ext <<_ACEOF
4849 > /* end confdefs.h.  */
4850 > #include <string.h>
4851 >
4852 > _ACEOF
4853 > if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4854 >  $EGREP "memchr" >/dev/null 2>&1; then
4855 >  :
4856   else
4857 <  echo "$as_me: failed program was:" >&5
3699 <  cat conftest.$ac_ext >&5
3700 <  eval "$ac_ac_Header=no"
4857 >  ac_cv_header_stdc=no
4858   fi
4859 < rm -f conftest.err conftest.$ac_ext
4859 > rm -f conftest*
4860 >
4861   fi
3704 echo "$as_me:3704: result: `eval echo '${'$ac_ac_Header'}'`" >&5
3705 echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
3706 if test `eval echo '${'$ac_ac_Header'}'` = yes; then
3707  cat >>confdefs.h <<EOF
3708 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
3709 EOF
4862  
4863 + if test $ac_cv_header_stdc = yes; then
4864 +  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4865 +  cat >conftest.$ac_ext <<_ACEOF
4866 + /* confdefs.h.  */
4867 + _ACEOF
4868 + cat confdefs.h >>conftest.$ac_ext
4869 + cat >>conftest.$ac_ext <<_ACEOF
4870 + /* end confdefs.h.  */
4871 + #include <stdlib.h>
4872 +
4873 + _ACEOF
4874 + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4875 +  $EGREP "free" >/dev/null 2>&1; then
4876 +  :
4877 + else
4878 +  ac_cv_header_stdc=no
4879   fi
4880 < done
4880 > rm -f conftest*
4881  
4882 < for ac_func in pstat_getstatic sysmp getsysinfo sysctl table
4883 < do
4884 < ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
4885 < echo "$as_me:3717: checking for $ac_func" >&5
4886 < echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4887 < if eval "test \"\${$ac_ac_var+set}\" = set"; then
3720 <  echo $ECHO_N "(cached) $ECHO_C" >&6
4882 > fi
4883 >
4884 > if test $ac_cv_header_stdc = yes; then
4885 >  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4886 >  if test "$cross_compiling" = yes; then
4887 >  :
4888   else
4889    cat >conftest.$ac_ext <<_ACEOF
4890 < #line 3723 "configure"
4891 < #include "confdefs.h"
4892 < /* System header to define __stub macros and hopefully few prototypes,
4893 <    which can conflict with char $ac_func (); below.  */
4894 < #include <assert.h>
4895 < /* Override any gcc2 internal prototype to avoid an error.  */
4896 < #ifdef __cplusplus
4897 < extern "C"
4890 > /* confdefs.h.  */
4891 > _ACEOF
4892 > cat confdefs.h >>conftest.$ac_ext
4893 > cat >>conftest.$ac_ext <<_ACEOF
4894 > /* end confdefs.h.  */
4895 > #include <ctype.h>
4896 > #if ((' ' & 0x0FF) == 0x020)
4897 > # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4898 > # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4899 > #else
4900 > # define ISLOWER(c) \
4901 >                   (('a' <= (c) && (c) <= 'i') \
4902 >                     || ('j' <= (c) && (c) <= 'r') \
4903 >                     || ('s' <= (c) && (c) <= 'z'))
4904 > # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4905   #endif
3732 /* We use char because int might match the return type of a gcc2
3733   builtin and then its argument prototype would still apply.  */
3734 char $ac_func ();
3735 char (*f) ();
4906  
4907 + #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4908   int
4909   main ()
4910   {
4911 < /* The GNU C library defines this for functions which it implements
4912 <    to always fail with ENOSYS.  Some functions are actually named
4913 <    something starting with __ and the normal name is an alias.  */
4914 < #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4915 < choke me
4916 < #else
3746 < f = $ac_func;
3747 < #endif
3748 <
3749 <  ;
3750 <  return 0;
4911 >  int i;
4912 >  for (i = 0; i < 256; i++)
4913 >    if (XOR (islower (i), ISLOWER (i))
4914 >        || toupper (i) != TOUPPER (i))
4915 >      exit(2);
4916 >  exit (0);
4917   }
4918   _ACEOF
4919 < rm -f conftest.$ac_objext conftest$ac_exeext
4920 < if { (eval echo "$as_me:3754: \"$ac_link\"") >&5
4919 > rm -f conftest$ac_exeext
4920 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4921    (eval $ac_link) 2>&5
4922    ac_status=$?
4923 <  echo "$as_me:3757: \$? = $ac_status" >&5
4924 <  (exit $ac_status); } &&
4925 <         { ac_try='test -s conftest$ac_exeext'
3760 <  { (eval echo "$as_me:3760: \"$ac_try\"") >&5
4923 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 >  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4925 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4926    (eval $ac_try) 2>&5
4927    ac_status=$?
4928 <  echo "$as_me:3763: \$? = $ac_status" >&5
4928 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4929    (exit $ac_status); }; }; then
4930 <  eval "$ac_ac_var=yes"
4930 >  :
4931   else
4932 <  echo "$as_me: failed program was:" >&5
4933 < cat conftest.$ac_ext >&5
4934 < eval "$ac_ac_var=no"
4932 >  echo "$as_me: program exited with status $ac_status" >&5
4933 > echo "$as_me: failed program was:" >&5
4934 > sed 's/^/| /' conftest.$ac_ext >&5
4935 >
4936 > ( exit $ac_status )
4937 > ac_cv_header_stdc=no
4938   fi
4939 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4939 > rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4940   fi
4941 < echo "$as_me:3773: result: `eval echo '${'$ac_ac_var'}'`" >&5
4942 < echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
4943 < if test `eval echo '${'$ac_ac_var'}'` = yes; then
4944 <  cat >>confdefs.h <<EOF
4945 < #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
3778 < EOF
4941 > fi
4942 > fi
4943 > echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4944 > echo "${ECHO_T}$ac_cv_header_stdc" >&6
4945 > if test $ac_cv_header_stdc = yes; then
4946  
4947 + cat >>confdefs.h <<\_ACEOF
4948 + #define STDC_HEADERS 1
4949 + _ACEOF
4950 +
4951   fi
3781 done
4952  
4953 < # special check for _system_configuration because AIX <4.3.2 do not
4954 < # contain the `physmem' member.
4955 < echo "$as_me:3785: checking for external symbol _system_configuration" >&5
4956 < echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
4957 < cat >conftest.$ac_ext <<_ACEOF
4958 < #line 3788 "configure"
4959 < #include "confdefs.h"
4960 < #include <sys/systemcfg.h>
4961 < int
4962 < main ()
4963 < {
4964 < double x = _system_configuration.physmem;
4965 <  ;
4966 <  return 0;
4967 < }
4953 > # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4954 >
4955 >
4956 >
4957 >
4958 >
4959 >
4960 >
4961 >
4962 >
4963 > for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4964 >                  inttypes.h stdint.h unistd.h
4965 > do
4966 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4967 > echo "$as_me:$LINENO: checking for $ac_header" >&5
4968 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4969 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
4970 >  echo $ECHO_N "(cached) $ECHO_C" >&6
4971 > else
4972 >  cat >conftest.$ac_ext <<_ACEOF
4973 > /* confdefs.h.  */
4974   _ACEOF
4975 + cat confdefs.h >>conftest.$ac_ext
4976 + cat >>conftest.$ac_ext <<_ACEOF
4977 + /* end confdefs.h.  */
4978 + $ac_includes_default
4979 +
4980 + #include <$ac_header>
4981 + _ACEOF
4982   rm -f conftest.$ac_objext
4983 < if { (eval echo "$as_me:3800: \"$ac_compile\"") >&5
4984 <  (eval $ac_compile) 2>&5
4983 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4984 >  (eval $ac_compile) 2>conftest.er1
4985    ac_status=$?
4986 <  echo "$as_me:3803: \$? = $ac_status" >&5
4986 >  grep -v '^ *+' conftest.er1 >conftest.err
4987 >  rm -f conftest.er1
4988 >  cat conftest.err >&5
4989 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990    (exit $ac_status); } &&
4991 <         { ac_try='test -s conftest.$ac_objext'
4992 <  { (eval echo "$as_me:3806: \"$ac_try\"") >&5
4991 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
4992 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4993    (eval $ac_try) 2>&5
4994    ac_status=$?
4995 <  echo "$as_me:3809: \$? = $ac_status" >&5
4995 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4996 >  (exit $ac_status); }; } &&
4997 >         { ac_try='test -s conftest.$ac_objext'
4998 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4999 >  (eval $ac_try) 2>&5
5000 >  ac_status=$?
5001 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5002    (exit $ac_status); }; }; then
5003 <  echo "$as_me:3811: result: yes" >&5
3812 < echo "${ECHO_T}yes" >&6
3813 <
3814 < cat >>confdefs.h <<\EOF
3815 < #define HAVE__SYSTEM_CONFIGURATION 1
3816 < EOF
3817 <
5003 >  eval "$as_ac_Header=yes"
5004   else
5005    echo "$as_me: failed program was:" >&5
5006 < cat conftest.$ac_ext >&5
5007 < echo "$as_me:3821: result: no" >&5
5008 < echo "${ECHO_T}no" >&6
5006 > sed 's/^/| /' conftest.$ac_ext >&5
5007 >
5008 > eval "$as_ac_Header=no"
5009   fi
5010 < rm -f conftest.$ac_objext conftest.$ac_ext
5010 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5011 > fi
5012 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5013 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5014 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
5015 >  cat >>confdefs.h <<_ACEOF
5016 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5017 > _ACEOF
5018  
5019 <  # clean out junk possibly left behind by a previous configuration
3827 <  rm -f src/getopt.h
3828 <  # Check for getopt_long support
5019 > fi
5020  
5021 < for ac_header in getopt.h
5022 < do
5023 < ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
5024 < echo "$as_me:3833: checking for $ac_header" >&5
5025 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5026 < if eval "test \"\${$ac_ac_Header+set}\" = set"; then
5027 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5028 < else
5029 <  cat >conftest.$ac_ext <<_ACEOF
5030 < #line 3839 "configure"
5031 < #include "confdefs.h"
5032 < #include <$ac_header>
5033 < _ACEOF
5034 < if { (eval echo "$as_me:3843: \"$ac_cpp conftest.$ac_ext\"") >&5
5035 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5036 <  ac_status=$?
5037 <  egrep -v '^ *\+' conftest.er1 >conftest.err
5038 <  rm -f conftest.er1
3848 <  cat conftest.err >&5
3849 <  echo "$as_me:3849: \$? = $ac_status" >&5
3850 <  (exit $ac_status); } >/dev/null; then
3851 <  if test -s conftest.err; then
3852 <    ac_cpp_err=$ac_c_preproc_warn_flag
5021 > done
5022 >
5023 >
5024 > #
5025 > # Handle user hints
5026 > #
5027 > echo "$as_me:$LINENO: checking if zlib is wanted" >&5
5028 > echo $ECHO_N "checking if zlib is wanted... $ECHO_C" >&6
5029 >
5030 > # Check whether --with-zlib or --without-zlib was given.
5031 > if test "${with_zlib+set}" = set; then
5032 >  withval="$with_zlib"
5033 >  if test "$withval" != no ; then
5034 >  echo "$as_me:$LINENO: result: yes" >&5
5035 > echo "${ECHO_T}yes" >&6
5036 >  if test -d "$withval"
5037 >  then
5038 >    ZLIB_HOME="$withval"
5039    else
5040 <    ac_cpp_err=
5040 >    { echo "$as_me:$LINENO: WARNING: Sorry, $withval does not exist, checking usual places" >&5
5041 > echo "$as_me: WARNING: Sorry, $withval does not exist, checking usual places" >&2;}
5042    fi
5043   else
5044 <  ac_cpp_err=yes
5044 >  echo "$as_me:$LINENO: result: no" >&5
5045 > echo "${ECHO_T}no" >&6
5046   fi
5047 < if test -z "$ac_cpp_err"; then
3860 <  eval "$ac_ac_Header=yes"
3861 < else
3862 <  echo "$as_me: failed program was:" >&5
3863 <  cat conftest.$ac_ext >&5
3864 <  eval "$ac_ac_Header=no"
3865 < fi
3866 < rm -f conftest.err conftest.$ac_ext
3867 < fi
3868 < echo "$as_me:3868: result: `eval echo '${'$ac_ac_Header'}'`" >&5
3869 < echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
3870 < if test `eval echo '${'$ac_ac_Header'}'` = yes; then
3871 <  cat >>confdefs.h <<EOF
3872 < #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
3873 < EOF
5047 > fi;
5048  
5049 + ZLIB_HOME=/usr/local
5050 + if test ! -f "${ZLIB_HOME}/include/zlib.h"
5051 + then
5052 +        ZLIB_HOME=/usr
5053   fi
3876 done
5054  
5055 < for ac_func in getopt_long
5056 < do
5057 < ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
5058 < echo "$as_me:3881: checking for $ac_func" >&5
5059 < echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5060 < if eval "test \"\${$ac_ac_var+set}\" = set"; then
5055 > #
5056 > # Locate zlib, if wanted
5057 > #
5058 > if test -n "${ZLIB_HOME}"
5059 > then
5060 >        ZLIB_OLD_LDFLAGS=$LDFLAGS
5061 >        ZLIB_OLD_CPPFLAGS=$LDFLAGS
5062 >        LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib"
5063 >        CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include"
5064 >
5065 >
5066 >        ac_ext=c
5067 > ac_cpp='$CPP $CPPFLAGS'
5068 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5069 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5070 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
5071 >
5072 >        echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
5073 > echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
5074 > if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
5075    echo $ECHO_N "(cached) $ECHO_C" >&6
5076   else
5077 <  cat >conftest.$ac_ext <<_ACEOF
5078 < #line 3887 "configure"
5079 < #include "confdefs.h"
5080 < /* System header to define __stub macros and hopefully few prototypes,
5081 <    which can conflict with char $ac_func (); below.  */
5082 < #include <assert.h>
5077 >  ac_check_lib_save_LIBS=$LIBS
5078 > LIBS="-lz  $LIBS"
5079 > cat >conftest.$ac_ext <<_ACEOF
5080 > /* confdefs.h.  */
5081 > _ACEOF
5082 > cat confdefs.h >>conftest.$ac_ext
5083 > cat >>conftest.$ac_ext <<_ACEOF
5084 > /* end confdefs.h.  */
5085 >
5086   /* Override any gcc2 internal prototype to avoid an error.  */
5087   #ifdef __cplusplus
5088   extern "C"
5089   #endif
5090   /* We use char because int might match the return type of a gcc2
5091     builtin and then its argument prototype would still apply.  */
5092 < char $ac_func ();
3899 < char (*f) ();
3900 <
5092 > char inflateEnd ();
5093   int
5094   main ()
5095   {
5096 < /* The GNU C library defines this for functions which it implements
3905 <    to always fail with ENOSYS.  Some functions are actually named
3906 <    something starting with __ and the normal name is an alias.  */
3907 < #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3908 < choke me
3909 < #else
3910 < f = $ac_func;
3911 < #endif
3912 <
5096 > inflateEnd ();
5097    ;
5098    return 0;
5099   }
5100   _ACEOF
5101   rm -f conftest.$ac_objext conftest$ac_exeext
5102 < if { (eval echo "$as_me:3918: \"$ac_link\"") >&5
5103 <  (eval $ac_link) 2>&5
5102 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5103 >  (eval $ac_link) 2>conftest.er1
5104    ac_status=$?
5105 <  echo "$as_me:3921: \$? = $ac_status" >&5
5105 >  grep -v '^ *+' conftest.er1 >conftest.err
5106 >  rm -f conftest.er1
5107 >  cat conftest.err >&5
5108 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109    (exit $ac_status); } &&
5110 <         { ac_try='test -s conftest$ac_exeext'
5111 <  { (eval echo "$as_me:3924: \"$ac_try\"") >&5
5110 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5111 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5112    (eval $ac_try) 2>&5
5113    ac_status=$?
5114 <  echo "$as_me:3927: \$? = $ac_status" >&5
5114 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 >  (exit $ac_status); }; } &&
5116 >         { ac_try='test -s conftest$ac_exeext'
5117 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5118 >  (eval $ac_try) 2>&5
5119 >  ac_status=$?
5120 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121    (exit $ac_status); }; }; then
5122 <  eval "$ac_ac_var=yes"
5122 >  ac_cv_lib_z_inflateEnd=yes
5123   else
5124    echo "$as_me: failed program was:" >&5
5125 < cat conftest.$ac_ext >&5
5126 < eval "$ac_ac_var=no"
5125 > sed 's/^/| /' conftest.$ac_ext >&5
5126 >
5127 > ac_cv_lib_z_inflateEnd=no
5128   fi
5129 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5129 > rm -f conftest.err conftest.$ac_objext \
5130 >      conftest$ac_exeext conftest.$ac_ext
5131 > LIBS=$ac_check_lib_save_LIBS
5132   fi
5133 < echo "$as_me:3937: result: `eval echo '${'$ac_ac_var'}'`" >&5
5134 < echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
5135 < if test `eval echo '${'$ac_ac_var'}'` = yes; then
5136 <  cat >>confdefs.h <<EOF
5137 < #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
5138 < EOF
5133 > echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
5134 > echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
5135 > if test $ac_cv_lib_z_inflateEnd = yes; then
5136 >  zlib_cv_libz=yes
5137 > else
5138 >  zlib_cv_libz=no
5139 > fi
5140  
5141 +        if test "${ac_cv_header_zlib_h+set}" = set; then
5142 +  echo "$as_me:$LINENO: checking for zlib.h" >&5
5143 + echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
5144 + if test "${ac_cv_header_zlib_h+set}" = set; then
5145 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5146 + fi
5147 + echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
5148 + echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
5149   else
5150 <  # FreeBSD has a gnugetopt library for this
5151 <    echo "$as_me:3946: checking for getopt_long in -lgnugetopt" >&5
5152 < echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
5153 < if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
5150 >  # Is the header compilable?
5151 > echo "$as_me:$LINENO: checking zlib.h usability" >&5
5152 > echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
5153 > cat >conftest.$ac_ext <<_ACEOF
5154 > /* confdefs.h.  */
5155 > _ACEOF
5156 > cat confdefs.h >>conftest.$ac_ext
5157 > cat >>conftest.$ac_ext <<_ACEOF
5158 > /* end confdefs.h.  */
5159 > $ac_includes_default
5160 > #include <zlib.h>
5161 > _ACEOF
5162 > rm -f conftest.$ac_objext
5163 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5164 >  (eval $ac_compile) 2>conftest.er1
5165 >  ac_status=$?
5166 >  grep -v '^ *+' conftest.er1 >conftest.err
5167 >  rm -f conftest.er1
5168 >  cat conftest.err >&5
5169 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5170 >  (exit $ac_status); } &&
5171 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5172 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5173 >  (eval $ac_try) 2>&5
5174 >  ac_status=$?
5175 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5176 >  (exit $ac_status); }; } &&
5177 >         { ac_try='test -s conftest.$ac_objext'
5178 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5179 >  (eval $ac_try) 2>&5
5180 >  ac_status=$?
5181 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182 >  (exit $ac_status); }; }; then
5183 >  ac_header_compiler=yes
5184 > else
5185 >  echo "$as_me: failed program was:" >&5
5186 > sed 's/^/| /' conftest.$ac_ext >&5
5187 >
5188 > ac_header_compiler=no
5189 > fi
5190 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5191 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5192 > echo "${ECHO_T}$ac_header_compiler" >&6
5193 >
5194 > # Is the header present?
5195 > echo "$as_me:$LINENO: checking zlib.h presence" >&5
5196 > echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
5197 > cat >conftest.$ac_ext <<_ACEOF
5198 > /* confdefs.h.  */
5199 > _ACEOF
5200 > cat confdefs.h >>conftest.$ac_ext
5201 > cat >>conftest.$ac_ext <<_ACEOF
5202 > /* end confdefs.h.  */
5203 > #include <zlib.h>
5204 > _ACEOF
5205 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5206 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5207 >  ac_status=$?
5208 >  grep -v '^ *+' conftest.er1 >conftest.err
5209 >  rm -f conftest.er1
5210 >  cat conftest.err >&5
5211 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5212 >  (exit $ac_status); } >/dev/null; then
5213 >  if test -s conftest.err; then
5214 >    ac_cpp_err=$ac_c_preproc_warn_flag
5215 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5216 >  else
5217 >    ac_cpp_err=
5218 >  fi
5219 > else
5220 >  ac_cpp_err=yes
5221 > fi
5222 > if test -z "$ac_cpp_err"; then
5223 >  ac_header_preproc=yes
5224 > else
5225 >  echo "$as_me: failed program was:" >&5
5226 > sed 's/^/| /' conftest.$ac_ext >&5
5227 >
5228 >  ac_header_preproc=no
5229 > fi
5230 > rm -f conftest.err conftest.$ac_ext
5231 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5232 > echo "${ECHO_T}$ac_header_preproc" >&6
5233 >
5234 > # So?  What about this header?
5235 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5236 >  yes:no: )
5237 >    { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
5238 > echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5239 >    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
5240 > echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
5241 >    ac_header_preproc=yes
5242 >    ;;
5243 >  no:yes:* )
5244 >    { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
5245 > echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
5246 >    { echo "$as_me:$LINENO: WARNING: zlib.h:     check for missing prerequisite headers?" >&5
5247 > echo "$as_me: WARNING: zlib.h:     check for missing prerequisite headers?" >&2;}
5248 >    { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
5249 > echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
5250 >    { echo "$as_me:$LINENO: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&5
5251 > echo "$as_me: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
5252 >    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
5253 > echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
5254 >    { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
5255 > echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
5256 >    (
5257 >      cat <<\_ASBOX
5258 > ## ------------------------------ ##
5259 > ## Report this to gezelter@nd.edu ##
5260 > ## ------------------------------ ##
5261 > _ASBOX
5262 >    ) |
5263 >      sed "s/^/$as_me: WARNING:     /" >&2
5264 >    ;;
5265 > esac
5266 > echo "$as_me:$LINENO: checking for zlib.h" >&5
5267 > echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
5268 > if test "${ac_cv_header_zlib_h+set}" = set; then
5269    echo $ECHO_N "(cached) $ECHO_C" >&6
5270   else
5271 +  ac_cv_header_zlib_h=$ac_header_preproc
5272 + fi
5273 + echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
5274 + echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
5275 +
5276 + fi
5277 + if test $ac_cv_header_zlib_h = yes; then
5278 +  zlib_cv_zlib_h=yes
5279 + else
5280 +  zlib_cv_zlib_h=no
5281 + fi
5282 +
5283 +
5284 +        ac_ext=c
5285 + ac_cpp='$CPP $CPPFLAGS'
5286 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5287 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5288 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
5289 +
5290 +        if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes"
5291 +        then
5292 +                #
5293 +                # If both library and header were found, use them
5294 +                #
5295 +
5296 + echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
5297 + echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
5298 + if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
5299 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5300 + else
5301    ac_check_lib_save_LIBS=$LIBS
5302 < LIBS="-lgnugetopt  $LIBS"
5302 > LIBS="-lz  $LIBS"
5303   cat >conftest.$ac_ext <<_ACEOF
5304 < #line 3954 "configure"
5305 < #include "confdefs.h"
5304 > /* confdefs.h.  */
5305 > _ACEOF
5306 > cat confdefs.h >>conftest.$ac_ext
5307 > cat >>conftest.$ac_ext <<_ACEOF
5308 > /* end confdefs.h.  */
5309  
5310   /* Override any gcc2 internal prototype to avoid an error.  */
5311   #ifdef __cplusplus
# Line 3960 | Line 5313 | char getopt_long ();
5313   #endif
5314   /* We use char because int might match the return type of a gcc2
5315     builtin and then its argument prototype would still apply.  */
5316 < char getopt_long ();
5316 > char inflateEnd ();
5317   int
5318   main ()
5319   {
5320 < getopt_long ();
5320 > inflateEnd ();
5321    ;
5322    return 0;
5323   }
5324   _ACEOF
5325   rm -f conftest.$ac_objext conftest$ac_exeext
5326 < if { (eval echo "$as_me:3973: \"$ac_link\"") >&5
5327 <  (eval $ac_link) 2>&5
5326 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5327 >  (eval $ac_link) 2>conftest.er1
5328    ac_status=$?
5329 <  echo "$as_me:3976: \$? = $ac_status" >&5
5329 >  grep -v '^ *+' conftest.er1 >conftest.err
5330 >  rm -f conftest.er1
5331 >  cat conftest.err >&5
5332 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5333    (exit $ac_status); } &&
5334 <         { ac_try='test -s conftest$ac_exeext'
5335 <  { (eval echo "$as_me:3979: \"$ac_try\"") >&5
5334 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5335 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5336    (eval $ac_try) 2>&5
5337    ac_status=$?
5338 <  echo "$as_me:3982: \$? = $ac_status" >&5
5338 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5339 >  (exit $ac_status); }; } &&
5340 >         { ac_try='test -s conftest$ac_exeext'
5341 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5342 >  (eval $ac_try) 2>&5
5343 >  ac_status=$?
5344 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5345    (exit $ac_status); }; }; then
5346 <  ac_cv_lib_gnugetopt_getopt_long=yes
5346 >  ac_cv_lib_z_inflateEnd=yes
5347   else
5348    echo "$as_me: failed program was:" >&5
5349 < cat conftest.$ac_ext >&5
5350 < ac_cv_lib_gnugetopt_getopt_long=no
5349 > sed 's/^/| /' conftest.$ac_ext >&5
5350 >
5351 > ac_cv_lib_z_inflateEnd=no
5352   fi
5353 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5353 > rm -f conftest.err conftest.$ac_objext \
5354 >      conftest$ac_exeext conftest.$ac_ext
5355   LIBS=$ac_check_lib_save_LIBS
5356   fi
5357 < echo "$as_me:3993: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
5358 < echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
5359 < if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
5360 <  cat >>confdefs.h <<\EOF
5361 < #define HAVE_GETOPT_LONG 1
5362 < EOF
5357 > echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
5358 > echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
5359 > if test $ac_cv_lib_z_inflateEnd = yes; then
5360 >  cat >>confdefs.h <<_ACEOF
5361 > #define HAVE_LIBZ 1
5362 > _ACEOF
5363  
5364 < else
4001 <  # use the GNU replacement
4002 <      LIBOBJS="$LIBOBJS getopt.$ac_objext"
4003 <      LIBOBJS="$LIBOBJS getopt1.$ac_objext"
4004 <      ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
5364 >  LIBS="-lz $LIBS"
5365  
5366   fi
5367  
5368 +                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
5369 + echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
5370 +                echo "$as_me:$LINENO: result: ok" >&5
5371 + echo "${ECHO_T}ok" >&6
5372 +        else
5373 +                #
5374 +                # If either header or library was not found, revert and bomb
5375 +                #
5376 +                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
5377 + echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
5378 +                LDFLAGS="$ZLIB_OLD_LDFLAGS"
5379 +                CPPFLAGS="$ZLIB_OLD_CPPFLAGS"
5380 +                echo "$as_me:$LINENO: result: failed" >&5
5381 + echo "${ECHO_T}failed" >&6
5382 +                { { echo "$as_me:$LINENO: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&5
5383 + echo "$as_me: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&2;}
5384 +   { (exit 1); exit 1; }; }
5385 +        fi
5386   fi
4009 done
5387  
4011 case $debug in
4012  1)
4013     ;;
4014  *)
5388  
4016 echo "$as_me:4016: checking whether we are *really* using GNU cc" >&5
4017 echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6
4018 if test "${ac_cv_prog_really_gcc+set}" = set; then
4019  echo $ECHO_N "(cached) $ECHO_C" >&6
4020 else
5389  
5390 < cat > conftest.c <<EOF
5391 < #ifdef __GNUC__
5392 <  #ifndef __INTEL_COMPILER
5393 <     yes;
5394 <  #endif
5395 < #endif
5396 < EOF
5397 < if { ac_try='${CC-cc} -E conftest.c'
5398 <  { (eval echo "$as_me:4030: \"$ac_try\"") >&5
5399 <  (eval $ac_try) 2>&5
5400 <  ac_status=$?
5401 <  echo "$as_me:4033: \$? = $ac_status" >&5
5402 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
5403 <  ac_cv_prog_really_gcc=yes
5404 < else
5405 <  ac_cv_prog_really_gcc=no
5406 < fi
5407 <
5408 < fi
5409 < echo "$as_me:4041: result: $ac_cv_prog_really_gcc" >&5
5410 < echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6
5411 < if test "$ac_cv_prog_really_gcc" = yes; then
5412 <        :
5413 <
5414 < else
5415 <        :
5416 <
5417 < fi
5418 <
5419 < # Try to determine "good" native compiler flags if none specified on command
5420 < # line
5421 < if test "$ac_test_CFLAGS" != "set"; then
5422 <  CFLAGS=""
5423 <  case "${host_cpu}-${host_os}" in
5424 <
5425 <  *linux*) if test "$CC" = icc; then
5426 <                    CFLAGS="-O"
5427 <                fi;;
5428 <  sparc-solaris2*) if test "$CC" = cc; then
5429 <                    CFLAGS="-native -fast -xO5 -dalign"
5430 <                 fi;;
5431 <
5432 <  alpha*-osf*)  if test "$CC" = cc; then
5433 <                    CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1"
5434 <                fi;;
5435 <
5436 <  hppa*-hpux*)  if test "$CC" = cc; then
5437 <                    CFLAGS="-Ae +O3 +Oall"
5438 <                fi;;
5439 <
5440 <   rs6000*-aix*)  if test "$CC" = cc -o "$CC" = xlc; then
5441 <                    CFLAGS="-O3 -qtune=auto -qansialias -w"
5442 <                fi;;
5443 <   powerpc*-aix*)
5444 <        if test "$CC" = cc -o "$CC" = xlc; then
5445 <                CFLAGS="-O3 -qtune=auto -qansialias -w"
5446 <                echo "*******************************************************"
5447 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
5448 <                echo "*  recommended that you use                           *"
5449 <                echo "*                                                     *"
5450 <                echo "*    CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
5451 <                echo "*                                 ^^^                 *"
5452 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
5453 <                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
5454 <                echo "*******************************************************"
5455 <        fi;;
5456 <   *darwin*)
5457 <        if test "$CC" = xlc -o "$CC" = cc; then
5458 <                CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
5459 <        fi;;
5460 <  esac
5461 <
5462 <  # use default flags for gcc on all systems
5463 <  if test $ac_cv_prog_really_gcc = yes; then
5464 <     CFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
5465 <  fi
5466 <
5467 <  # test for gcc-specific flags:
5468 <  if test $ac_cv_prog_really_gcc = yes; then
5469 <    # -malign-double for x86 systems
5470 <
5471 < echo "$as_me:4103: checking whether ${CC-cc} accepts -malign-double" >&5
5472 < echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6
5473 < if test "${ac_align_double+set}" = set; then
5474 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5475 < else
5476 <  echo 'void f(){}' > conftest.c
5477 < if test -z "`${CC-cc} -malign-double -c conftest.c 2>&1`"; then
5478 <        ac_align_double=yes
5479 < else
5480 <        ac_align_double=no
5481 < fi
5482 < rm -f conftest*
5483 <
5484 < fi
5485 < echo "$as_me:4117: result: $ac_align_double" >&5
5486 < echo "${ECHO_T}$ac_align_double" >&6
5487 < if test "$ac_align_double" = yes; then
5488 <        :
5489 <        CFLAGS="$CFLAGS -malign-double"
5490 < else
5491 <        :
5492 <
5493 < fi
5494 <
5495 <    # -fstrict-aliasing for gcc-2.95+
5496 <
5497 < echo "$as_me:4129: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
5498 < echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6
5499 < if test "${ac_fstrict_aliasing+set}" = set; then
5500 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5501 < else
5502 <  echo 'void f(){}' > conftest.c
5503 < if test -z "`${CC-cc} -fstrict-aliasing -c conftest.c 2>&1`"; then
5504 <        ac_fstrict_aliasing=yes
5505 < else
5506 <        ac_fstrict_aliasing=no
5507 < fi
5508 < rm -f conftest*
5509 <
5510 < fi
5511 < echo "$as_me:4143: result: $ac_fstrict_aliasing" >&5
5512 < echo "${ECHO_T}$ac_fstrict_aliasing" >&6
5513 < if test "$ac_fstrict_aliasing" = yes; then
5514 <        :
5515 <        CFLAGS="$CFLAGS -fstrict-aliasing"
5516 < else
5517 <        :
5518 <
5519 < fi
5520 <
5521 <  fi
5522 <
5523 <  CPU_FLAGS=""
5524 <  if test $ac_cv_prog_really_gcc = yes; then
5525 <                  case "${host_cpu}" in
5526 <          i586*)
5527 <
5528 < echo "$as_me:4160: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
5529 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
5530 < if test "${ac_cpu_pentium+set}" = set; then
5531 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5532 < else
5533 <  echo 'void f(){}' > conftest.c
5534 < if test -z "`${CC-cc} -mcpu=pentium -c conftest.c 2>&1`"; then
5535 <        ac_cpu_pentium=yes
5536 < else
5537 <        ac_cpu_pentium=no
5538 < fi
5539 < rm -f conftest*
5540 <
5541 < fi
5542 < echo "$as_me:4174: result: $ac_cpu_pentium" >&5
5543 < echo "${ECHO_T}$ac_cpu_pentium" >&6
5544 < if test "$ac_cpu_pentium" = yes; then
5545 <        :
5546 <        CPU_FLAGS=-mcpu=pentium
5547 < else
5548 <        :
5549 <
5550 < echo "$as_me:4182: checking whether ${CC-cc} accepts -mpentium" >&5
5551 < echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6
5552 < if test "${ac_pentium+set}" = set; then
5553 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5554 < else
5555 <  echo 'void f(){}' > conftest.c
5556 < if test -z "`${CC-cc} -mpentium -c conftest.c 2>&1`"; then
5557 <        ac_pentium=yes
5558 < else
5559 <        ac_pentium=no
5560 < fi
5561 < rm -f conftest*
5562 <
5563 < fi
5564 < echo "$as_me:4196: result: $ac_pentium" >&5
5565 < echo "${ECHO_T}$ac_pentium" >&6
5566 < if test "$ac_pentium" = yes; then
5567 <        :
5568 <        CPU_FLAGS=-mpentium
5569 < else
5570 <        :
5571 <
5572 < fi
5573 <
5574 < fi
5575 <
5576 <                  ;;
5577 <          i686*)
5578 <
5579 < echo "$as_me:4211: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
5580 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6
5581 < if test "${ac_cpu_pentiumpro+set}" = set; then
5582 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5583 < else
5584 <  echo 'void f(){}' > conftest.c
5585 < if test -z "`${CC-cc} -mcpu=pentiumpro -c conftest.c 2>&1`"; then
5586 <        ac_cpu_pentiumpro=yes
5587 < else
5588 <        ac_cpu_pentiumpro=no
5589 < fi
5590 < rm -f conftest*
5591 <
5592 < fi
5593 < echo "$as_me:4225: result: $ac_cpu_pentiumpro" >&5
5594 < echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
5595 < if test "$ac_cpu_pentiumpro" = yes; then
5596 <        :
5597 <        CPU_FLAGS=-mcpu=pentiumpro
5598 < else
5599 <        :
5600 <
5601 < echo "$as_me:4233: checking whether ${CC-cc} accepts -mpentiumpro" >&5
5602 < echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6
5603 < if test "${ac_pentiumpro+set}" = set; then
5604 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5605 < else
5606 <  echo 'void f(){}' > conftest.c
5607 < if test -z "`${CC-cc} -mpentiumpro -c conftest.c 2>&1`"; then
5608 <        ac_pentiumpro=yes
5609 < else
5610 <        ac_pentiumpro=no
5611 < fi
5612 < rm -f conftest*
5613 <
5614 < fi
5615 < echo "$as_me:4247: result: $ac_pentiumpro" >&5
5616 < echo "${ECHO_T}$ac_pentiumpro" >&6
5617 < if test "$ac_pentiumpro" = yes; then
5618 <        :
5619 <        CPU_FLAGS=-mpentiumpro
5620 < else
5621 <        :
5622 <
5623 < fi
5624 <
5625 < fi
5626 <
5627 <                  ;;
5628 <          powerpc*)
5629 <                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
5630 <                is60x=`echo $cputype | egrep "^600-9e?$"`
5631 <                if test -n "$is60x"; then
5632 <
5633 < echo "$as_me:4265: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
5634 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6
5635 < if test "${ac_m_cpu_60x+set}" = set; then
5636 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5637 < else
5638 <  echo 'void f(){}' > conftest.c
5639 < if test -z "`${CC-cc} -mcpu=$cputype -c conftest.c 2>&1`"; then
5640 <        ac_m_cpu_60x=yes
5641 < else
5642 <        ac_m_cpu_60x=no
5643 < fi
5644 < rm -f conftest*
5645 <
5646 < fi
5647 < echo "$as_me:4279: result: $ac_m_cpu_60x" >&5
5648 < echo "${ECHO_T}$ac_m_cpu_60x" >&6
5649 < if test "$ac_m_cpu_60x" = yes; then
5650 <        :
5651 <        CPU_FLAGS=-mcpu=$cputype
5652 < else
5653 <        :
5654 <
5655 < fi
5656 <
5657 <                elif test "$cputype" = 750; then
5658 <
5659 < echo "$as_me:4291: checking whether we are using gcc 2.95 or later" >&5
5660 < echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
5661 < if test "${ac_cv_prog_gcc_2_95+set}" = set; then
5662 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5663 < else
5664 <
5665 < cat > conftest.c <<EOF
5666 < #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
5667 < #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
5668 <     yes;
5669 < #  endif
5670 < #endif
5671 < EOF
5672 < if { ac_try='${CC-cc} -E conftest.c'
5673 <  { (eval echo "$as_me:4305: \"$ac_try\"") >&5
5674 <  (eval $ac_try) 2>&5
5675 <  ac_status=$?
5676 <  echo "$as_me:4308: \$? = $ac_status" >&5
5677 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
5678 <  ac_cv_prog_gcc_2_95=yes
5679 < else
5680 <  ac_cv_prog_gcc_2_95=no
5681 < fi
5682 <
5683 < fi
5684 < echo "$as_me:4316: result: $ac_cv_prog_gcc_2_95" >&5
5685 < echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
5686 < if test "$ac_cv_prog_gcc_2_95" = yes; then
5687 <        :
5688 <
5689 < echo "$as_me:4321: checking whether ${CC-cc} accepts -mcpu=750" >&5
5690 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6
5691 < if test "${ac_m_cpu_750+set}" = set; then
5692 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5693 < else
5694 <  echo 'void f(){}' > conftest.c
5695 < if test -z "`${CC-cc} -mcpu=750 -c conftest.c 2>&1`"; then
5696 <        ac_m_cpu_750=yes
5697 < else
5698 <        ac_m_cpu_750=no
5699 < fi
5700 < rm -f conftest*
5701 <
5702 < fi
5703 < echo "$as_me:4335: result: $ac_m_cpu_750" >&5
5704 < echo "${ECHO_T}$ac_m_cpu_750" >&6
5705 < if test "$ac_m_cpu_750" = yes; then
5706 <        :
5707 <        CPU_FLAGS=-mcpu=750
5708 < else
5709 <        :
5710 <
5711 < fi
5712 <
5713 < else
5714 <        :
5715 <
5716 < fi
5717 <
5718 <                fi
5719 <                if test -z "$CPU_FLAGS"; then
5720 <
5721 < echo "$as_me:4353: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
5722 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6
5723 < if test "${ac_m_cpu_powerpc+set}" = set; then
5724 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5725 < else
5726 <  echo 'void f(){}' > conftest.c
5727 < if test -z "`${CC-cc} -mcpu=powerpc -c conftest.c 2>&1`"; then
5728 <        ac_m_cpu_powerpc=yes
5729 < else
5730 <        ac_m_cpu_powerpc=no
5731 < fi
5732 < rm -f conftest*
5733 <
5734 < fi
5735 < echo "$as_me:4367: result: $ac_m_cpu_powerpc" >&5
5736 < echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
5737 < if test "$ac_m_cpu_powerpc" = yes; then
5738 <        :
5739 <        CPU_FLAGS=-mcpu=powerpc
5740 < else
5741 <        :
5742 <
5743 < fi
5744 <
5745 <                fi
5746 <                if test -z "$CPU_FLAGS"; then
5747 <
5748 < echo "$as_me:4380: checking whether ${CC-cc} accepts -mpowerpc" >&5
5749 < echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6
5750 < if test "${ac_m_powerpc+set}" = set; then
5751 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5752 < else
5753 <  echo 'void f(){}' > conftest.c
5754 < if test -z "`${CC-cc} -mpowerpc -c conftest.c 2>&1`"; then
5755 <        ac_m_powerpc=yes
5756 < else
5757 <        ac_m_powerpc=no
5758 < fi
5759 < rm -f conftest*
5760 <
5761 < fi
5762 < echo "$as_me:4394: result: $ac_m_powerpc" >&5
5763 < echo "${ECHO_T}$ac_m_powerpc" >&6
5764 < if test "$ac_m_powerpc" = yes; then
5765 <        :
5766 <        CPU_FLAGS=-mpowerpc
5767 < else
5768 <        :
5769 <
5770 < fi
5771 <
5772 <                fi
5773 <          esac
5774 <  fi
5775 <
5776 <  if test -n "$CPU_FLAGS"; then
5777 <        CFLAGS="$CFLAGS $CPU_FLAGS"
5778 <  fi
5779 <
5780 <  if test -z "$CFLAGS"; then
5781 <        echo ""
5782 <        echo "********************************************************"
5783 <        echo "* WARNING: Don't know the best CFLAGS for this system  *"
5784 <        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
5785 <        echo "* (otherwise, a default of CFLAGS=-O3 will be used)    *"
5786 <        echo "********************************************************"
5787 <        echo ""
5788 <        CFLAGS="-O3"
5789 <  fi
5790 <
5791 < echo "$as_me:4423: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
5792 < echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6
5793 < if test "${ac_guessed_cflags+set}" = set; then
5794 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5795 < else
5796 <  echo 'void f(){}' > conftest.c
5797 < if test -z "`${CC-cc} ${CFLAGS} -c conftest.c 2>&1`"; then
5798 <        ac_guessed_cflags=yes
5799 < else
5800 <        ac_guessed_cflags=no
5801 < fi
5802 < rm -f conftest*
5803 <
5804 < fi
5805 < echo "$as_me:4437: result: $ac_guessed_cflags" >&5
5806 < echo "${ECHO_T}$ac_guessed_cflags" >&6
5807 < if test "$ac_guessed_cflags" = yes; then
5808 <        :
5809 <
5810 < else
5811 <        :
5812 <
5813 <        echo ""
5814 <        echo "********************************************************"
5815 <        echo "* WARNING: The guessed CFLAGS don't seem to work with  *"
5816 <        echo "* your compiler.                                       *"
5817 <        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
5818 <        echo "********************************************************"
5819 <        echo ""
5820 <        CFLAGS=""
5821 <
5822 < fi
5823 <
5824 < fi
5825 <
5826 < echo "$as_me:4458: checking whether we are *really* using GNU c++" >&5
5827 < echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6
5828 < if test "${ac_cv_prog_really_gxx+set}" = set; then
5829 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5830 < else
5831 <
5832 < cat > conftest.cpp <<EOF
5833 < #ifdef __GNUC__
5834 <  #ifndef __INTEL_COMPILER
5835 <     yes;
5836 <  #endif
5837 < #endif
5838 < EOF
5839 < if { ac_try='${CXX-c++} -E conftest.cpp'
5840 <  { (eval echo "$as_me:4472: \"$ac_try\"") >&5
5841 <  (eval $ac_try) 2>&5
5842 <  ac_status=$?
5843 <  echo "$as_me:4475: \$? = $ac_status" >&5
5844 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
5845 <  ac_cv_prog_really_gxx=yes
5846 < else
5847 <  ac_cv_prog_really_gxx=no
5848 < fi
5849 <
5850 < fi
5851 < echo "$as_me:4483: result: $ac_cv_prog_really_gxx" >&5
5852 < echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6
5853 < if test "$ac_cv_prog_really_gxx" = yes; then
5854 <        :
5855 <
5856 < else
5857 <        :
5858 <
5859 < fi
5860 <
5861 < # Try to determine "good" native compiler flags if none specified on command
5862 < # line
5863 < if test "$ac_test_CXXFLAGS" != "set"; then
5864 <  CXXFLAGS=""
5865 <  case "${host_cpu}-${host_os}" in
5866 <
5867 <  *linux*) if test "$CXX" = icc -o "$CXX" = icpc; then
5868 <                    CXXFLAGS="-O"
5869 <                fi;;
5870 <  sparc-solaris2*) if test "$CXX" = CC; then
5871 <                    CXXFLAGS="-native -fast -xO5 -dalign"
5872 <                 fi;;
5873 <   rs6000*-aix*)  if test "$CXX" = xlC; then
5874 <                    CXXFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
5875 <                fi;;
5876 <   powerpc*-aix*)
5877 <        if test "$CXX" = xlC; then
5878 <                CXXFLAGS="-O3 -qarch=ppc -qansialias -w"
5879 <                echo "*******************************************************"
5880 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
5881 <                echo "*  recommended that you use                           *"
5882 <                echo "*                                                     *"
5883 <                echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
5884 <                echo "*                                 ^^^                 *"
5885 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
5886 <                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
5887 <                echo "*******************************************************"
5888 <        fi;;
5889 <   *darwin*)
5890 <        if test "$CXX" = xlc++ -o "$CXX" = xlC ; then
5891 <                CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
5892 <        fi;;
5893 <  esac
5894 <
5895 <  # use default flags for gcc on all systems
5896 <  if test $ac_cv_prog_really_gxx = yes; then
5897 <     CXXFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
5898 <  fi
5899 <
5900 <  # test for gcc-specific flags:
5901 <  if test $ac_cv_prog_really_gxx = yes; then
5902 <    # -malign-double for x86 systems
5903 <
5904 < echo "$as_me:4536: checking whether ${CXX-c++} accepts -malign-double" >&5
5905 < echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6
5906 < if test "${ac_align_double+set}" = set; then
5907 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5908 < else
5909 <  echo 'void f(){}' > conftest.cpp
5910 < if test -z "`${CXX-c++} -malign-double -c conftest.cpp 2>&1`"; then
5911 <        ac_align_double=yes
5912 < else
5913 <        ac_align_double=no
5914 < fi
5915 < rm -f conftest*
5916 <
5917 < fi
5918 < echo "$as_me:4550: result: $ac_align_double" >&5
5919 < echo "${ECHO_T}$ac_align_double" >&6
5920 < if test "$ac_align_double" = yes; then
5921 <        :
5922 <        CXXFLAGS="$CXXFLAGS -malign-double"
5923 < else
5924 <        :
5925 <
5926 < fi
5927 <
5928 <    # -fstrict-aliasing for gcc-2.95+
5929 <
5930 < echo "$as_me:4562: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
5931 < echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6
5932 < if test "${ac_fstrict_aliasing+set}" = set; then
5933 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5934 < else
5935 <  echo 'void f(){}' > conftest.cpp
5936 < if test -z "`${CXX-c++} -fstrict-aliasing -c conftest.cpp 2>&1`"; then
5937 <        ac_fstrict_aliasing=yes
5938 < else
5939 <        ac_fstrict_aliasing=no
5940 < fi
5941 < rm -f conftest*
5942 <
5943 < fi
5944 < echo "$as_me:4576: result: $ac_fstrict_aliasing" >&5
5945 < echo "${ECHO_T}$ac_fstrict_aliasing" >&6
5946 < if test "$ac_fstrict_aliasing" = yes; then
5947 <        :
5948 <        CXXFLAGS="$CXXFLAGS -fstrict-aliasing"
5949 < else
5950 <        :
5951 <
5952 < fi
5953 <
5954 <  fi
5955 <
5956 <  CPU_FLAGS=""
5957 <  if test $ac_cv_prog_really_gxx = yes; then
5958 <                  case "${host_cpu}" in
5959 <          i586*)
5960 <
5961 < echo "$as_me:4593: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5
5962 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentium... $ECHO_C" >&6
5963 < if test "${ac_cpu_pentium+set}" = set; then
5964 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5965 < else
5966 <  echo 'void f(){}' > conftest.cpp
5967 < if test -z "`${CXX-c++} -mcpu=pentium -c conftest.cpp 2>&1`"; then
5968 <        ac_cpu_pentium=yes
5969 < else
5970 <        ac_cpu_pentium=no
5971 < fi
5972 < rm -f conftest*
5973 <
5974 < fi
5975 < echo "$as_me:4607: result: $ac_cpu_pentium" >&5
5976 < echo "${ECHO_T}$ac_cpu_pentium" >&6
5977 < if test "$ac_cpu_pentium" = yes; then
5978 <        :
5979 <        CPU_FLAGS=-mcpu=pentium
5980 < else
5981 <        :
5982 <
5983 < echo "$as_me:4615: checking whether ${CXX-c++} accepts -mpentium" >&5
5984 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6
5985 < if test "${ac_pentium+set}" = set; then
5986 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5987 < else
5988 <  echo 'void f(){}' > conftest.cpp
5989 < if test -z "`${CXX-c++} -mpentium -c conftest.cpp 2>&1`"; then
5990 <        ac_pentium=yes
5991 < else
5992 <        ac_pentium=no
5993 < fi
5994 < rm -f conftest*
5995 <
5996 < fi
5997 < echo "$as_me:4629: result: $ac_pentium" >&5
5998 < echo "${ECHO_T}$ac_pentium" >&6
5999 < if test "$ac_pentium" = yes; then
6000 <        :
6001 <        CPU_FLAGS=-mpentium
6002 < else
6003 <        :
6004 <
6005 < fi
6006 <
6007 < fi
6008 <
6009 <                  ;;
6010 <          i686*)
6011 <
6012 < echo "$as_me:4644: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
6013 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6
6014 < if test "${ac_cpu_pentiumpro+set}" = set; then
6015 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6016 < else
6017 <  echo 'void f(){}' > conftest.cpp
6018 < if test -z "`${CXX-c++} -mcpu=pentiumpro -c conftest.cpp 2>&1`"; then
6019 <        ac_cpu_pentiumpro=yes
6020 < else
6021 <        ac_cpu_pentiumpro=no
6022 < fi
6023 < rm -f conftest*
6024 <
6025 < fi
6026 < echo "$as_me:4658: result: $ac_cpu_pentiumpro" >&5
6027 < echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
6028 < if test "$ac_cpu_pentiumpro" = yes; then
6029 <        :
6030 <        CPU_FLAGS=-mcpu=pentiumpro
6031 < else
6032 <        :
6033 <
6034 < echo "$as_me:4666: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
6035 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6
6036 < if test "${ac_pentiumpro+set}" = set; then
6037 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6038 < else
6039 <  echo 'void f(){}' > conftest.cpp
6040 < if test -z "`${CXX-c++} -mpentiumpro -c conftest.cpp 2>&1`"; then
6041 <        ac_pentiumpro=yes
6042 < else
6043 <        ac_pentiumpro=no
6044 < fi
6045 < rm -f conftest*
6046 <
6047 < fi
6048 < echo "$as_me:4680: result: $ac_pentiumpro" >&5
6049 < echo "${ECHO_T}$ac_pentiumpro" >&6
6050 < if test "$ac_pentiumpro" = yes; then
6051 <        :
6052 <        CPU_FLAGS=-mpentiumpro
6053 < else
6054 <        :
6055 <
6056 < fi
6057 <
6058 < fi
6059 <
6060 <                  ;;
6061 <          powerpc*)
6062 <                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
6063 <                is60x=`echo $cputype | egrep "^600-9e?$"`
6064 <                if test -n "$is60x"; then
6065 <
6066 < echo "$as_me:4698: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
6067 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6
6068 < if test "${ac_m_cpu_60x+set}" = set; then
6069 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6070 < else
6071 <  echo 'void f(){}' > conftest.cpp
6072 < if test -z "`${CXX-c++} -mcpu=$cputype -c conftest.cpp 2>&1`"; then
6073 <        ac_m_cpu_60x=yes
6074 < else
6075 <        ac_m_cpu_60x=no
6076 < fi
6077 < rm -f conftest*
6078 <
6079 < fi
6080 < echo "$as_me:4712: result: $ac_m_cpu_60x" >&5
6081 < echo "${ECHO_T}$ac_m_cpu_60x" >&6
6082 < if test "$ac_m_cpu_60x" = yes; then
6083 <        :
6084 <        CPU_FLAGS=-mcpu=$cputype
6085 < else
6086 <        :
6087 <
6088 < fi
6089 <
6090 <                elif test "$cputype" = 750; then
6091 <
6092 < echo "$as_me:4724: checking whether we are using g++ 2.95 or later" >&5
6093 < echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6
6094 < if test "${ac_cv_prog_gxx_2_95+set}" = set; then
6095 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6096 < else
6097 <
6098 < cat > conftest.cpp <<EOF
6099 < #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
6100 < #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
6101 <     yes;
6102 < #  endif
6103 < #endif
6104 < EOF
6105 < if { ac_try='${CXX-c++} -E conftest.cpp'
6106 <  { (eval echo "$as_me:4738: \"$ac_try\"") >&5
6107 <  (eval $ac_try) 2>&5
6108 <  ac_status=$?
6109 <  echo "$as_me:4741: \$? = $ac_status" >&5
6110 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6111 <  ac_cv_prog_gxx_2_95=yes
6112 < else
6113 <  ac_cv_prog_gxx_2_95=no
6114 < fi
6115 <
6116 < fi
6117 < echo "$as_me:4749: result: $ac_cv_prog_gxx_2_95" >&5
6118 < echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6
6119 < if test "$ac_cv_prog_gxx_2_95" = yes; then
6120 <        :
6121 <
6122 < echo "$as_me:4754: checking whether ${CXX-c++} accepts -mcpu=750" >&5
6123 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6
6124 < if test "${ac_m_cpu_750+set}" = set; then
6125 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6126 < else
6127 <  echo 'void f(){}' > conftest.cpp
6128 < if test -z "`${CXX-c++} -mcpu=750 -c conftest.cpp 2>&1`"; then
6129 <        ac_m_cpu_750=yes
6130 < else
6131 <        ac_m_cpu_750=no
6132 < fi
6133 < rm -f conftest*
6134 <
6135 < fi
6136 < echo "$as_me:4768: result: $ac_m_cpu_750" >&5
6137 < echo "${ECHO_T}$ac_m_cpu_750" >&6
6138 < if test "$ac_m_cpu_750" = yes; then
6139 <        :
6140 <        CPU_FLAGS=-mcpu=750
6141 < else
6142 <        :
6143 <
6144 < fi
6145 <
6146 < else
6147 <        :
6148 <
6149 < fi
6150 <
6151 <                fi
6152 <                if test -z "$CPU_FLAGS"; then
6153 <
6154 < echo "$as_me:4786: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
6155 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6
6156 < if test "${ac_m_cpu_powerpc+set}" = set; then
6157 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6158 < else
6159 <  echo 'void f(){}' > conftest.cpp
6160 < if test -z "`${CXX-c++} -mcpu=powerpc -c conftest.cpp 2>&1`"; then
6161 <        ac_m_cpu_powerpc=yes
6162 < else
6163 <        ac_m_cpu_powerpc=no
6164 < fi
6165 < rm -f conftest*
6166 <
6167 < fi
6168 < echo "$as_me:4800: result: $ac_m_cpu_powerpc" >&5
6169 < echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
6170 < if test "$ac_m_cpu_powerpc" = yes; then
6171 <        :
6172 <        CPU_FLAGS=-mcpu=powerpc
6173 < else
6174 <        :
6175 <
6176 < fi
6177 <
6178 <                fi
6179 <                if test -z "$CPU_FLAGS"; then
6180 <
6181 < echo "$as_me:4813: checking whether ${CXX-c++} accepts -mpowerpc" >&5
6182 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6
6183 < if test "${ac_m_powerpc+set}" = set; then
6184 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6185 < else
6186 <  echo 'void f(){}' > conftest.cpp
6187 < if test -z "`${CXX-c++} -mpowerpc -c conftest.cpp 2>&1`"; then
6188 <        ac_m_powerpc=yes
6189 < else
6190 <        ac_m_powerpc=no
6191 < fi
6192 < rm -f conftest*
6193 <
6194 < fi
6195 < echo "$as_me:4827: result: $ac_m_powerpc" >&5
6196 < echo "${ECHO_T}$ac_m_powerpc" >&6
6197 < if test "$ac_m_powerpc" = yes; then
6198 <        :
6199 <        CPU_FLAGS=-mpowerpc
6200 < else
6201 <        :
6202 <
6203 < fi
6204 <
6205 <                fi
6206 <          esac
6207 <  fi
6208 <
6209 <  if test -n "$CPU_FLAGS"; then
6210 <        CXXFLAGS="$CXXFLAGS $CPU_FLAGS"
6211 <  fi
6212 <
6213 <  if test -z "$CXXFLAGS"; then
6214 <        echo ""
6215 <        echo "**********************************************************"
6216 <        echo "* WARNING: Don't know the best CXXFLAGS for this system  *"
6217 <        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
6218 <        echo "* (otherwise, a default of CXXFLAGS=-O3 will be used)    *"
6219 <        echo "**********************************************************"
6220 <        echo ""
6221 <        CXXFLAGS="-O3"
6222 <  fi
6223 <
6224 < echo "$as_me:4856: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
6225 < echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6
6226 < if test "${ac_guessed_cxxflags+set}" = set; then
6227 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6228 < else
6229 <  echo 'void f(){}' > conftest.cpp
6230 < if test -z "`${CXX-c++} ${CXXFLAGS} -c conftest.cpp 2>&1`"; then
6231 <        ac_guessed_cxxflags=yes
6232 < else
6233 <        ac_guessed_cxxflags=no
6234 < fi
6235 < rm -f conftest*
6236 <
6237 < fi
6238 < echo "$as_me:4870: result: $ac_guessed_cxxflags" >&5
6239 < echo "${ECHO_T}$ac_guessed_cxxflags" >&6
6240 < if test "$ac_guessed_cxxflags" = yes; then
6241 <        :
6242 <
6243 < else
6244 <        :
6245 <
6246 <        echo ""
6247 <        echo "**********************************************************"
6248 <        echo "* WARNING: The guessed CXXFLAGS don't seem to work with  *"
6249 <        echo "* your compiler.                                         *"
6250 <        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
6251 <        echo "**********************************************************"
6252 <        echo ""
6253 <        CXXFLAGS=""
6254 <
6255 < fi
6256 <
6257 < fi
6258 <
6259 < # Try to determine "good" native compiler flags if none specified on command
6260 < # line
6261 <
6262 < if test x"$F90FLAGS" = x ; then
6263 <  F90FLAGS=""
6264 <  case "${host_cpu}-${host_os}" in
6265 <
6266 <  *linux*) if test "$F90" = ifc -o "$F90" = ifort; then
6267 <                    F90FLAGS="-O"
6268 <                fi;;
6269 <   rs6000*-aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
6270 <                    F90FLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
6271 <                fi;;
6272 <   powerpc*-aix*)
6273 <        if test "$F90" = f90 -o "$F90" = xlf90; then
6274 <                F90FLAGS="-O3 -qarch=ppc -qansialias -w"
6275 <                echo "*******************************************************"
6276 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
6277 <                echo "*  recommended that you use                           *"
6278 <                echo "*                                                     *"
6279 <                echo "*  F90FLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
6280 <                echo "*                                 ^^^                 *"
6281 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
6282 <                echo "*  PowerPC CPU you have.   For more info, man xlf.    *"
6283 <                echo "*******************************************************"
6284 <        fi;;
6285 <   *darwin*)
6286 <        if test "$F90" = f90 -o "$F90" = xlf90 -o "$F90" = xlf95; then
6287 <                F90FLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto"
6288 <        fi;;
6289 <  esac
6290 <
6291 <  if test -n "$CPU_FLAGS"; then
6292 <        F90FLAGS="$F90FLAGS $CPU_FLAGS"
6293 <  fi
6294 <
6295 <  if test -z "$F90FLAGS"; then
6296 <        echo ""
6297 <        echo "**********************************************************"
6298 <        echo "* WARNING: Don't know the best F90FLAGS for this system  *"
6299 <        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
6300 <        echo "* (otherwise, a default of F90FLAGS=-O3 will be used)    *"
6301 <        echo "**********************************************************"
6302 <        echo ""
6303 <        F90FLAGS="-O3"
6304 <  fi
6305 <
6306 < echo "$as_me:4938: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
6307 < echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6
6308 < if test "${ac_guessed_f90flags+set}" = set; then
6309 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6310 < else
6311 <
6312 < ac_ext=f90
6313 < ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
6314 < ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6315 < ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6316 <
6317 < echo 'program main' > conftest.$ac_ext
6318 < echo 'end program main' >> conftest.$ac_ext
6319 < ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5'
6320 < if { (eval echo "$as_me:4952: \"$ac_compile\"") >&5
6321 <  (eval $ac_compile) 2>&5
6322 <  ac_status=$?
6323 <  echo "$as_me:4955: \$? = $ac_status" >&5
6324 <  (exit $ac_status); }; then
6325 <        ac_guessed_f90flags=yes
6326 < else
6327 <        ac_guessed_f90flags=no
6328 < fi
6329 < rm -f conftest*
6330 < ac_ext=c
6331 < ac_cpp='$CPP $CPPFLAGS'
6332 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6333 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6334 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
6335 <
6336 < fi
6337 < echo "$as_me:4969: result: $ac_guessed_f90flags" >&5
6338 < echo "${ECHO_T}$ac_guessed_f90flags" >&6
6339 < if test "$ac_guessed_f90flags" = yes; then
6340 <        :
6341 <
6342 < else
6343 <        :
6344 <
6345 <        echo ""
6346 <        echo "**********************************************************"
6347 <        echo "* WARNING: The guessed F90FLAGS don't seem to work with  *"
6348 <        echo "* your compiler.                                         *"
6349 <        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
6350 <        echo "**********************************************************"
6351 <        echo ""
6352 <        F90FLAGS=""
6353 <
6354 < fi
6355 <
6356 < fi
6357 <
6358 <     ;;
6359 < esac
6360 <
6361 < # Find a good install program.  We prefer a C program (faster),
6362 < # so one script is as good as another.  But avoid the broken or
6363 < # incompatible versions:
6364 < # SysV /etc/install, /usr/sbin/install
6365 < # SunOS /usr/etc/install
6366 < # IRIX /sbin/install
6367 < # AIX /bin/install
6368 < # AmigaOS /C/install, which installs bootblocks on floppy discs
6369 < # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6370 < # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6371 < # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6372 < # ./install, which can be erroneously created by make from ./install.sh.
6373 < echo "$as_me:5005: checking for a BSD compatible install" >&5
6374 < echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
6375 < if test -z "$INSTALL"; then
6376 < if test "${ac_cv_path_install+set}" = set; then
6377 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6378 < else
6379 <    ac_save_IFS=$IFS; IFS=$ac_path_separator
6380 <  for ac_dir in $PATH; do
6381 <    IFS=$ac_save_IFS
6382 <    # Account for people who put trailing slashes in PATH elements.
6383 <    case $ac_dir/ in
6384 <    / | ./ | .// | /cC/* \
6385 <    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
6386 <    | /usr/ucb/* ) ;;
6387 <    *)
6388 <      # OSF1 and SCO ODT 3.0 have their own names for install.
6389 <      # Don't use installbsd from OSF since it installs stuff as root
6390 <      # by default.
6391 <      for ac_prog in ginstall scoinst install; do
6392 <        if $as_executable_p "$ac_dir/$ac_prog"; then
6393 <          if test $ac_prog = install &&
6394 <            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
6395 <            # AIX install.  It has an incompatible calling convention.
6396 <            :
6397 <          elif test $ac_prog = install &&
6398 <            grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
6399 <            # program-specific install script used by HP pwplus--don't use.
6400 <            :
6401 <          else
6402 <            ac_cv_path_install="$ac_dir/$ac_prog -c"
6403 <            break 2
6404 <          fi
6405 <        fi
6406 <      done
6407 <      ;;
6408 <    esac
6409 <  done
6410 <
6411 < fi
6412 <  if test "${ac_cv_path_install+set}" = set; then
6413 <    INSTALL=$ac_cv_path_install
6414 <  else
6415 <    # As a last resort, use the slow shell script.  We don't cache a
6416 <    # path for INSTALL within a source directory, because that will
6417 <    # break other packages using the cache if that directory is
6418 <    # removed, or if the path is relative.
6419 <    INSTALL=$ac_install_sh
6420 <  fi
6421 < fi
6422 < echo "$as_me:5054: result: $INSTALL" >&5
6423 < echo "${ECHO_T}$INSTALL" >&6
6424 <
6425 < # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6426 < # It thinks the first close brace ends the variable substitution.
6427 < test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6428 <
6429 < test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6430 <
6431 < test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6432 <
6433 < echo "$as_me:5065: checking whether ln -s works" >&5
6434 < echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
6435 < LN_S=$as_ln_s
6436 < if test "$LN_S" = "ln -s"; then
6437 <  echo "$as_me:5069: result: yes" >&5
6438 < echo "${ECHO_T}yes" >&6
6439 < else
6440 <  echo "$as_me:5072: result: no, using $LN_S" >&5
6441 < echo "${ECHO_T}no, using $LN_S" >&6
6442 < fi
6443 <
6444 < echo "$as_me:5076: checking whether ${MAKE-make} sets \${MAKE}" >&5
6445 < echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
6446 < set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
6447 < if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6448 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6449 < else
6450 <  cat >conftest.make <<\EOF
6451 < all:
6452 <        @echo 'ac_maketemp="${MAKE}"'
6453 < EOF
6454 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6455 < eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
6456 < if test -n "$ac_maketemp"; then
6457 <  eval ac_cv_prog_make_${ac_make}_set=yes
6458 < else
6459 <  eval ac_cv_prog_make_${ac_make}_set=no
6460 < fi
6461 < rm -f conftest.make
6462 < fi
6463 < if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
6464 <  echo "$as_me:5096: result: yes" >&5
6465 < echo "${ECHO_T}yes" >&6
6466 <  SET_MAKE=
6467 < else
6468 <  echo "$as_me:5100: result: no" >&5
6469 < echo "${ECHO_T}no" >&6
6470 <  SET_MAKE="MAKE=${MAKE-make}"
6471 < fi
6472 <
6473 < if test -n "$ac_tool_prefix"; then
6474 <  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6475 < set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6476 < echo "$as_me:5108: checking for $ac_word" >&5
6477 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6478 < if test "${ac_cv_prog_RANLIB+set}" = set; then
6479 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6480 < else
6481 <  if test -n "$RANLIB"; then
6482 <  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6483 < else
6484 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
6485 < ac_dummy="$PATH"
6486 < for ac_dir in $ac_dummy; do
6487 <  IFS=$ac_save_IFS
6488 <  test -z "$ac_dir" && ac_dir=.
6489 <  $as_executable_p "$ac_dir/$ac_word" || continue
6490 < ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6491 < echo "$as_me:5123: found $ac_dir/$ac_word" >&5
6492 < break
6493 < done
6494 <
6495 < fi
6496 < fi
6497 < RANLIB=$ac_cv_prog_RANLIB
6498 < if test -n "$RANLIB"; then
6499 <  echo "$as_me:5131: result: $RANLIB" >&5
6500 < echo "${ECHO_T}$RANLIB" >&6
6501 < else
6502 <  echo "$as_me:5134: result: no" >&5
6503 < echo "${ECHO_T}no" >&6
6504 < fi
6505 <
6506 < fi
6507 < if test -z "$ac_cv_prog_RANLIB"; then
6508 <  ac_ct_RANLIB=$RANLIB
6509 <  # Extract the first word of "ranlib", so it can be a program name with args.
6510 < set dummy ranlib; ac_word=$2
6511 < echo "$as_me:5143: checking for $ac_word" >&5
6512 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6513 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6514 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6515 < else
6516 <  if test -n "$ac_ct_RANLIB"; then
6517 <  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6518 < else
6519 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
6520 < ac_dummy="$PATH"
6521 < for ac_dir in $ac_dummy; do
6522 <  IFS=$ac_save_IFS
6523 <  test -z "$ac_dir" && ac_dir=.
6524 <  $as_executable_p "$ac_dir/$ac_word" || continue
6525 < ac_cv_prog_ac_ct_RANLIB="ranlib"
6526 < echo "$as_me:5158: found $ac_dir/$ac_word" >&5
6527 < break
6528 < done
6529 <
6530 <  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6531 < fi
6532 < fi
6533 < ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6534 < if test -n "$ac_ct_RANLIB"; then
6535 <  echo "$as_me:5167: result: $ac_ct_RANLIB" >&5
6536 < echo "${ECHO_T}$ac_ct_RANLIB" >&6
6537 < else
6538 <  echo "$as_me:5170: result: no" >&5
6539 < echo "${ECHO_T}no" >&6
6540 < fi
6541 <
6542 <  RANLIB=$ac_ct_RANLIB
6543 < else
6544 <  RANLIB="$ac_cv_prog_RANLIB"
6545 < fi
6546 <
6547 < for ac_prog in 'bison -y' byacc
6548 < do
6549 <  # Extract the first word of "$ac_prog", so it can be a program name with args.
6550 < set dummy $ac_prog; ac_word=$2
6551 < echo "$as_me:5183: checking for $ac_word" >&5
6552 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6553 < if test "${ac_cv_prog_YACC+set}" = set; then
6554 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6555 < else
6556 <  if test -n "$YACC"; then
6557 <  ac_cv_prog_YACC="$YACC" # Let the user override the test.
6558 < else
6559 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
6560 < ac_dummy="$PATH"
6561 < for ac_dir in $ac_dummy; do
6562 <  IFS=$ac_save_IFS
6563 <  test -z "$ac_dir" && ac_dir=.
6564 <  $as_executable_p "$ac_dir/$ac_word" || continue
6565 < ac_cv_prog_YACC="$ac_prog"
6566 < echo "$as_me:5198: found $ac_dir/$ac_word" >&5
6567 < break
6568 < done
6569 <
6570 < fi
6571 < fi
6572 < YACC=$ac_cv_prog_YACC
6573 < if test -n "$YACC"; then
6574 <  echo "$as_me:5206: result: $YACC" >&5
6575 < echo "${ECHO_T}$YACC" >&6
6576 < else
6577 <  echo "$as_me:5209: result: no" >&5
6578 < echo "${ECHO_T}no" >&6
6579 < fi
6580 <
6581 <  test -n "$YACC" && break
6582 < done
6583 < test -n "$YACC" || YACC="yacc"
6584 <
6585 < for ac_prog in flex lex
6586 < do
6587 <  # Extract the first word of "$ac_prog", so it can be a program name with args.
6588 < set dummy $ac_prog; ac_word=$2
6589 < echo "$as_me:5221: checking for $ac_word" >&5
6590 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6591 < if test "${ac_cv_prog_LEX+set}" = set; then
6592 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6593 < else
6594 <  if test -n "$LEX"; then
6595 <  ac_cv_prog_LEX="$LEX" # Let the user override the test.
6596 < else
6597 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
6598 < ac_dummy="$PATH"
6599 < for ac_dir in $ac_dummy; do
6600 <  IFS=$ac_save_IFS
6601 <  test -z "$ac_dir" && ac_dir=.
6602 <  $as_executable_p "$ac_dir/$ac_word" || continue
6603 < ac_cv_prog_LEX="$ac_prog"
6604 < echo "$as_me:5236: found $ac_dir/$ac_word" >&5
6605 < break
6606 < done
6607 <
6608 < fi
6609 < fi
6610 < LEX=$ac_cv_prog_LEX
6611 < if test -n "$LEX"; then
6612 <  echo "$as_me:5244: result: $LEX" >&5
6613 < echo "${ECHO_T}$LEX" >&6
6614 < else
6615 <  echo "$as_me:5247: result: no" >&5
6616 < echo "${ECHO_T}no" >&6
6617 < fi
6618 <
6619 <  test -n "$LEX" && break
6620 < done
6621 < test -n "$LEX" || LEX=":"
6622 <
6623 < if test -z "$LEXLIB"
6624 < then
6625 <  echo "$as_me:5257: checking for yywrap in -lfl" >&5
6626 < echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
6627 < if test "${ac_cv_lib_fl_yywrap+set}" = set; then
6628 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6629 < else
6630 <  ac_check_lib_save_LIBS=$LIBS
6631 < LIBS="-lfl  $LIBS"
6632 < cat >conftest.$ac_ext <<_ACEOF
6633 < #line 5265 "configure"
6634 < #include "confdefs.h"
6635 <
6636 < /* Override any gcc2 internal prototype to avoid an error.  */
6637 < #ifdef __cplusplus
6638 < extern "C"
6639 < #endif
6640 < /* We use char because int might match the return type of a gcc2
6641 <   builtin and then its argument prototype would still apply.  */
6642 < char yywrap ();
6643 < int
6644 < main ()
6645 < {
6646 < yywrap ();
6647 <  ;
6648 <  return 0;
6649 < }
6650 < _ACEOF
6651 < rm -f conftest.$ac_objext conftest$ac_exeext
6652 < if { (eval echo "$as_me:5284: \"$ac_link\"") >&5
6653 <  (eval $ac_link) 2>&5
6654 <  ac_status=$?
6655 <  echo "$as_me:5287: \$? = $ac_status" >&5
6656 <  (exit $ac_status); } &&
6657 <         { ac_try='test -s conftest$ac_exeext'
6658 <  { (eval echo "$as_me:5290: \"$ac_try\"") >&5
6659 <  (eval $ac_try) 2>&5
6660 <  ac_status=$?
6661 <  echo "$as_me:5293: \$? = $ac_status" >&5
6662 <  (exit $ac_status); }; }; then
6663 <  ac_cv_lib_fl_yywrap=yes
6664 < else
6665 <  echo "$as_me: failed program was:" >&5
6666 < cat conftest.$ac_ext >&5
6667 < ac_cv_lib_fl_yywrap=no
6668 < fi
6669 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6670 < LIBS=$ac_check_lib_save_LIBS
6671 < fi
6672 < echo "$as_me:5304: result: $ac_cv_lib_fl_yywrap" >&5
6673 < echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
6674 < if test $ac_cv_lib_fl_yywrap = yes; then
6675 <  LEXLIB="-lfl"
6676 < else
6677 <  echo "$as_me:5309: checking for yywrap in -ll" >&5
6678 < echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
6679 < if test "${ac_cv_lib_l_yywrap+set}" = set; then
6680 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6681 < else
6682 <  ac_check_lib_save_LIBS=$LIBS
6683 < LIBS="-ll  $LIBS"
6684 < cat >conftest.$ac_ext <<_ACEOF
6685 < #line 5317 "configure"
6686 < #include "confdefs.h"
6687 <
6688 < /* Override any gcc2 internal prototype to avoid an error.  */
6689 < #ifdef __cplusplus
6690 < extern "C"
6691 < #endif
6692 < /* We use char because int might match the return type of a gcc2
6693 <   builtin and then its argument prototype would still apply.  */
6694 < char yywrap ();
6695 < int
6696 < main ()
6697 < {
6698 < yywrap ();
6699 <  ;
6700 <  return 0;
6701 < }
6702 < _ACEOF
6703 < rm -f conftest.$ac_objext conftest$ac_exeext
6704 < if { (eval echo "$as_me:5336: \"$ac_link\"") >&5
6705 <  (eval $ac_link) 2>&5
6706 <  ac_status=$?
6707 <  echo "$as_me:5339: \$? = $ac_status" >&5
6708 <  (exit $ac_status); } &&
6709 <         { ac_try='test -s conftest$ac_exeext'
6710 <  { (eval echo "$as_me:5342: \"$ac_try\"") >&5
6711 <  (eval $ac_try) 2>&5
6712 <  ac_status=$?
6713 <  echo "$as_me:5345: \$? = $ac_status" >&5
6714 <  (exit $ac_status); }; }; then
6715 <  ac_cv_lib_l_yywrap=yes
6716 < else
6717 <  echo "$as_me: failed program was:" >&5
6718 < cat conftest.$ac_ext >&5
6719 < ac_cv_lib_l_yywrap=no
6720 < fi
6721 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6722 < LIBS=$ac_check_lib_save_LIBS
6723 < fi
6724 < echo "$as_me:5356: result: $ac_cv_lib_l_yywrap" >&5
6725 < echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
6726 < if test $ac_cv_lib_l_yywrap = yes; then
6727 <  LEXLIB="-ll"
6728 < fi
6729 <
6730 < fi
6731 <
6732 < fi
6733 <
6734 < if test "x$LEX" != "x:"; then
6735 <  echo "$as_me:5367: checking lex output file root" >&5
6736 < echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
6737 < if test "${ac_cv_prog_lex_root+set}" = set; then
6738 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6739 < else
6740 <  # The minimal lex program is just a single line: %%.  But some broken lexes
6741 < # (Solaris, I think it was) want two %% lines, so accommodate them.
6742 < echo '%%
6743 < %%' | $LEX
6744 < if test -f lex.yy.c; then
6745 <  ac_cv_prog_lex_root=lex.yy
6746 < elif test -f lexyy.c; then
6747 <  ac_cv_prog_lex_root=lexyy
6748 < else
6749 <  { { echo "$as_me:5381: error: cannot find output from $LEX; giving up" >&5
6750 < echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
6751 <   { (exit 1); exit 1; }; }
6752 < fi
6753 < fi
6754 < echo "$as_me:5386: result: $ac_cv_prog_lex_root" >&5
6755 < echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
6756 < LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
6757 <
6758 < echo "$as_me:5390: checking whether yytext is a pointer" >&5
6759 < echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
6760 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
6761 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6762 < else
6763 <  # POSIX says lex can declare yytext either as a pointer or an array; the
6764 < # default is implementation-dependent. Figure out which it is, since
6765 < # not all implementations provide the %pointer and %array declarations.
6766 < ac_cv_prog_lex_yytext_pointer=no
6767 < echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
6768 < ac_save_LIBS=$LIBS
6769 < LIBS="$LIBS $LEXLIB"
6770 < cat >conftest.$ac_ext <<_ACEOF
6771 < `cat $LEX_OUTPUT_ROOT.c`
6772 < _ACEOF
6773 < rm -f conftest.$ac_objext conftest$ac_exeext
6774 < if { (eval echo "$as_me:5406: \"$ac_link\"") >&5
6775 <  (eval $ac_link) 2>&5
6776 <  ac_status=$?
6777 <  echo "$as_me:5409: \$? = $ac_status" >&5
6778 <  (exit $ac_status); } &&
6779 <         { ac_try='test -s conftest$ac_exeext'
6780 <  { (eval echo "$as_me:5412: \"$ac_try\"") >&5
6781 <  (eval $ac_try) 2>&5
6782 <  ac_status=$?
6783 <  echo "$as_me:5415: \$? = $ac_status" >&5
6784 <  (exit $ac_status); }; }; then
6785 <  ac_cv_prog_lex_yytext_pointer=yes
6786 < else
6787 <  echo "$as_me: failed program was:" >&5
6788 < cat conftest.$ac_ext >&5
6789 < fi
6790 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6791 < LIBS=$ac_save_LIBS
6792 < rm -f "${LEX_OUTPUT_ROOT}.c"
6793 <
6794 < fi
6795 < echo "$as_me:5427: result: $ac_cv_prog_lex_yytext_pointer" >&5
6796 < echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
6797 < if test $ac_cv_prog_lex_yytext_pointer = yes; then
6798 <
6799 < cat >>confdefs.h <<\EOF
6800 < #define YYTEXT_POINTER 1
6801 < EOF
6802 <
6803 < fi
6804 <
6805 < fi
6806 < # Extract the first word of "ar", so it can be a program name with args.
6807 < set dummy ar; ac_word=$2
6808 < echo "$as_me:5440: checking for $ac_word" >&5
6809 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6810 < if test "${ac_cv_prog_AR+set}" = set; then
6811 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6812 < else
6813 <  if test -n "$AR"; then
6814 <  ac_cv_prog_AR="$AR" # Let the user override the test.
6815 < else
6816 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
6817 < ac_dummy="$PATH"
6818 < for ac_dir in $ac_dummy; do
6819 <  IFS=$ac_save_IFS
6820 <  test -z "$ac_dir" && ac_dir=.
6821 <  $as_executable_p "$ac_dir/$ac_word" || continue
6822 < ac_cv_prog_AR="ar"
6823 < echo "$as_me:5455: found $ac_dir/$ac_word" >&5
6824 < break
6825 < done
6826 <
6827 <  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE"
6828 < fi
6829 < fi
6830 < AR=$ac_cv_prog_AR
6831 < if test -n "$AR"; then
6832 <  echo "$as_me:5464: result: $AR" >&5
6833 < echo "${ECHO_T}$AR" >&6
6834 < else
6835 <  echo "$as_me:5467: result: no" >&5
6836 < echo "${ECHO_T}no" >&6
6837 < fi
6838 <
6839 < if test "$AR" = "NONE"; then
6840 <  { { echo "$as_me:5472: error: --> Can't find \`ar'!" >&5
6841 < echo "$as_me: error: --> Can't find \`ar'!" >&2;}
6842 <   { (exit 1); exit 1; }; }
6843 <  cat >confcache <<\_ACEOF
6844 < # This file is a shell script that caches the results of configure
6845 < # tests run on this system so they can be shared between configure
6846 < # scripts and configure runs, see configure's option --config-cache.
6847 < # It is not useful on other systems.  If it contains results you don't
6848 < # want to keep, you may remove or edit it.
6849 < #
6850 < # config.status only pays attention to the cache file if you give it
6851 < # the --recheck option to rerun configure.
6852 < #
6853 < # `ac_cv_env_foo' variables (set or unset) will be overriden when
6854 < # loading this file, other *unset* `ac_cv_foo' will be assigned the
6855 < # following values.
6856 <
6857 < _ACEOF
6858 <
6859 < # The following way of writing the cache mishandles newlines in values,
6860 < # but we know of no workaround that is simple, portable, and efficient.
6861 < # So, don't put newlines in cache variables' values.
6862 < # Ultrix sh set writes to stderr and can't be redirected directly,
6863 < # and sets the high bit in the cache file unless we assign to the vars.
6864 < {
6865 <  (set) 2>&1 |
6866 <    case `(ac_space=' '; set | grep ac_space) 2>&1` in
6867 <    *ac_space=\ *)
6868 <      # `set' does not quote correctly, so add quotes (double-quote
6869 <      # substitution turns \\\\ into \\, and sed turns \\ into \).
6870 <      sed -n \
6871 <        "s/'/'\\\\''/g;
6872 <          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6873 <      ;;
6874 <    *)
6875 <      # `set' quotes correctly as required by POSIX, so do not add quotes.
6876 <      sed -n \
6877 <        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6878 <      ;;
6879 <    esac;
6880 < } |
6881 <  sed '
6882 <     t clear
6883 <     : clear
6884 <     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6885 <     t end
6886 <     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6887 <     : end' >>confcache
6888 < if cmp -s $cache_file confcache; then :; else
5390 >
5391 >
5392 >
5393 >
5394 >
5395 > for ac_header in sys/time.h unistd.h stdlib.h stdio.h conio.h string.h
5396 > do
5397 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5398 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5399 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5400 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5401 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5402 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5403 > fi
5404 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5405 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5406 > else
5407 >  # Is the header compilable?
5408 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
5409 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5410 > cat >conftest.$ac_ext <<_ACEOF
5411 > /* confdefs.h.  */
5412 > _ACEOF
5413 > cat confdefs.h >>conftest.$ac_ext
5414 > cat >>conftest.$ac_ext <<_ACEOF
5415 > /* end confdefs.h.  */
5416 > $ac_includes_default
5417 > #include <$ac_header>
5418 > _ACEOF
5419 > rm -f conftest.$ac_objext
5420 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5421 >  (eval $ac_compile) 2>conftest.er1
5422 >  ac_status=$?
5423 >  grep -v '^ *+' conftest.er1 >conftest.err
5424 >  rm -f conftest.er1
5425 >  cat conftest.err >&5
5426 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427 >  (exit $ac_status); } &&
5428 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5429 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5430 >  (eval $ac_try) 2>&5
5431 >  ac_status=$?
5432 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5433 >  (exit $ac_status); }; } &&
5434 >         { ac_try='test -s conftest.$ac_objext'
5435 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5436 >  (eval $ac_try) 2>&5
5437 >  ac_status=$?
5438 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439 >  (exit $ac_status); }; }; then
5440 >  ac_header_compiler=yes
5441 > else
5442 >  echo "$as_me: failed program was:" >&5
5443 > sed 's/^/| /' conftest.$ac_ext >&5
5444 >
5445 > ac_header_compiler=no
5446 > fi
5447 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5448 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5449 > echo "${ECHO_T}$ac_header_compiler" >&6
5450 >
5451 > # Is the header present?
5452 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
5453 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5454 > cat >conftest.$ac_ext <<_ACEOF
5455 > /* confdefs.h.  */
5456 > _ACEOF
5457 > cat confdefs.h >>conftest.$ac_ext
5458 > cat >>conftest.$ac_ext <<_ACEOF
5459 > /* end confdefs.h.  */
5460 > #include <$ac_header>
5461 > _ACEOF
5462 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5463 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5464 >  ac_status=$?
5465 >  grep -v '^ *+' conftest.er1 >conftest.err
5466 >  rm -f conftest.er1
5467 >  cat conftest.err >&5
5468 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5469 >  (exit $ac_status); } >/dev/null; then
5470 >  if test -s conftest.err; then
5471 >    ac_cpp_err=$ac_c_preproc_warn_flag
5472 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5473 >  else
5474 >    ac_cpp_err=
5475 >  fi
5476 > else
5477 >  ac_cpp_err=yes
5478 > fi
5479 > if test -z "$ac_cpp_err"; then
5480 >  ac_header_preproc=yes
5481 > else
5482 >  echo "$as_me: failed program was:" >&5
5483 > sed 's/^/| /' conftest.$ac_ext >&5
5484 >
5485 >  ac_header_preproc=no
5486 > fi
5487 > rm -f conftest.err conftest.$ac_ext
5488 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5489 > echo "${ECHO_T}$ac_header_preproc" >&6
5490 >
5491 > # So?  What about this header?
5492 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5493 >  yes:no: )
5494 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5495 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5496 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5497 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5498 >    ac_header_preproc=yes
5499 >    ;;
5500 >  no:yes:* )
5501 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5502 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5503 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5504 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5505 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5506 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5507 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5508 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5509 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5510 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5511 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5512 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5513 >    (
5514 >      cat <<\_ASBOX
5515 > ## ------------------------------ ##
5516 > ## Report this to gezelter@nd.edu ##
5517 > ## ------------------------------ ##
5518 > _ASBOX
5519 >    ) |
5520 >      sed "s/^/$as_me: WARNING:     /" >&2
5521 >    ;;
5522 > esac
5523 > echo "$as_me:$LINENO: checking for $ac_header" >&5
5524 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5525 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5526 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5527 > else
5528 >  eval "$as_ac_Header=\$ac_header_preproc"
5529 > fi
5530 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5531 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5532 >
5533 > fi
5534 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
5535 >  cat >>confdefs.h <<_ACEOF
5536 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5537 > _ACEOF
5538 >
5539 > fi
5540 >
5541 > done
5542 >
5543 >
5544 >
5545 >
5546 >
5547 >
5548 > for ac_header in strstream.h iostream.h fstream.h math.h time.h
5549 > do
5550 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5551 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5552 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5553 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5554 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5555 >  echo $ECHO_N "(cached) $ECHO_C" >&6
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 > else
5560 >  # Is the header compilable?
5561 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
5562 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5563 > cat >conftest.$ac_ext <<_ACEOF
5564 > /* confdefs.h.  */
5565 > _ACEOF
5566 > cat confdefs.h >>conftest.$ac_ext
5567 > cat >>conftest.$ac_ext <<_ACEOF
5568 > /* end confdefs.h.  */
5569 > $ac_includes_default
5570 > #include <$ac_header>
5571 > _ACEOF
5572 > rm -f conftest.$ac_objext
5573 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5574 >  (eval $ac_compile) 2>conftest.er1
5575 >  ac_status=$?
5576 >  grep -v '^ *+' conftest.er1 >conftest.err
5577 >  rm -f conftest.er1
5578 >  cat conftest.err >&5
5579 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580 >  (exit $ac_status); } &&
5581 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
5582 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5583 >  (eval $ac_try) 2>&5
5584 >  ac_status=$?
5585 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5586 >  (exit $ac_status); }; } &&
5587 >         { ac_try='test -s conftest.$ac_objext'
5588 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5589 >  (eval $ac_try) 2>&5
5590 >  ac_status=$?
5591 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5592 >  (exit $ac_status); }; }; then
5593 >  ac_header_compiler=yes
5594 > else
5595 >  echo "$as_me: failed program was:" >&5
5596 > sed 's/^/| /' conftest.$ac_ext >&5
5597 >
5598 > ac_header_compiler=no
5599 > fi
5600 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5601 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5602 > echo "${ECHO_T}$ac_header_compiler" >&6
5603 >
5604 > # Is the header present?
5605 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
5606 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5607 > cat >conftest.$ac_ext <<_ACEOF
5608 > /* confdefs.h.  */
5609 > _ACEOF
5610 > cat confdefs.h >>conftest.$ac_ext
5611 > cat >>conftest.$ac_ext <<_ACEOF
5612 > /* end confdefs.h.  */
5613 > #include <$ac_header>
5614 > _ACEOF
5615 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5616 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5617 >  ac_status=$?
5618 >  grep -v '^ *+' conftest.er1 >conftest.err
5619 >  rm -f conftest.er1
5620 >  cat conftest.err >&5
5621 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 >  (exit $ac_status); } >/dev/null; then
5623 >  if test -s conftest.err; then
5624 >    ac_cpp_err=$ac_c_preproc_warn_flag
5625 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5626 >  else
5627 >    ac_cpp_err=
5628 >  fi
5629 > else
5630 >  ac_cpp_err=yes
5631 > fi
5632 > if test -z "$ac_cpp_err"; then
5633 >  ac_header_preproc=yes
5634 > else
5635 >  echo "$as_me: failed program was:" >&5
5636 > sed 's/^/| /' conftest.$ac_ext >&5
5637 >
5638 >  ac_header_preproc=no
5639 > fi
5640 > rm -f conftest.err conftest.$ac_ext
5641 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5642 > echo "${ECHO_T}$ac_header_preproc" >&6
5643 >
5644 > # So?  What about this header?
5645 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5646 >  yes:no: )
5647 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5648 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5649 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5650 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5651 >    ac_header_preproc=yes
5652 >    ;;
5653 >  no:yes:* )
5654 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5655 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5656 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5657 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5658 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5659 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5660 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5661 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5662 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5663 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5664 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5665 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5666 >    (
5667 >      cat <<\_ASBOX
5668 > ## ------------------------------ ##
5669 > ## Report this to gezelter@nd.edu ##
5670 > ## ------------------------------ ##
5671 > _ASBOX
5672 >    ) |
5673 >      sed "s/^/$as_me: WARNING:     /" >&2
5674 >    ;;
5675 > esac
5676 > echo "$as_me:$LINENO: checking for $ac_header" >&5
5677 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5678 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5679 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5680 > else
5681 >  eval "$as_ac_Header=\$ac_header_preproc"
5682 > fi
5683 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5684 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5685 >
5686 > fi
5687 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
5688 >  cat >>confdefs.h <<_ACEOF
5689 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5690 > _ACEOF
5691 >
5692 > fi
5693 >
5694 > done
5695 >
5696 > ac_ext=cc
5697 > ac_cpp='$CXXCPP $CPPFLAGS'
5698 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5699 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5700 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5701 >
5702 > ac_ext=cc
5703 > ac_cpp='$CXXCPP $CPPFLAGS'
5704 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5705 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5706 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5707 > echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5708 > echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5709 > if test -z "$CXXCPP"; then
5710 >  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5711 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5712 > else
5713 >      # Double quotes because CXXCPP needs to be expanded
5714 >    for CXXCPP in "$CXX -E" "/lib/cpp"
5715 >    do
5716 >      ac_preproc_ok=false
5717 > for ac_cxx_preproc_warn_flag in '' yes
5718 > do
5719 >  # Use a header file that comes with gcc, so configuring glibc
5720 >  # with a fresh cross-compiler works.
5721 >  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5722 >  # <limits.h> exists even on freestanding compilers.
5723 >  # On the NeXT, cc -E runs the code through the compiler's parser,
5724 >  # not just through cpp. "Syntax error" is here to catch this case.
5725 >  cat >conftest.$ac_ext <<_ACEOF
5726 > /* confdefs.h.  */
5727 > _ACEOF
5728 > cat confdefs.h >>conftest.$ac_ext
5729 > cat >>conftest.$ac_ext <<_ACEOF
5730 > /* end confdefs.h.  */
5731 > #ifdef __STDC__
5732 > # include <limits.h>
5733 > #else
5734 > # include <assert.h>
5735 > #endif
5736 >                     Syntax error
5737 > _ACEOF
5738 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5739 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5740 >  ac_status=$?
5741 >  grep -v '^ *+' conftest.er1 >conftest.err
5742 >  rm -f conftest.er1
5743 >  cat conftest.err >&5
5744 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5745 >  (exit $ac_status); } >/dev/null; then
5746 >  if test -s conftest.err; then
5747 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5748 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5749 >  else
5750 >    ac_cpp_err=
5751 >  fi
5752 > else
5753 >  ac_cpp_err=yes
5754 > fi
5755 > if test -z "$ac_cpp_err"; then
5756 >  :
5757 > else
5758 >  echo "$as_me: failed program was:" >&5
5759 > sed 's/^/| /' conftest.$ac_ext >&5
5760 >
5761 >  # Broken: fails on valid input.
5762 > continue
5763 > fi
5764 > rm -f conftest.err conftest.$ac_ext
5765 >
5766 >  # OK, works on sane cases.  Now check whether non-existent headers
5767 >  # can be detected and how.
5768 >  cat >conftest.$ac_ext <<_ACEOF
5769 > /* confdefs.h.  */
5770 > _ACEOF
5771 > cat confdefs.h >>conftest.$ac_ext
5772 > cat >>conftest.$ac_ext <<_ACEOF
5773 > /* end confdefs.h.  */
5774 > #include <ac_nonexistent.h>
5775 > _ACEOF
5776 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5777 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5778 >  ac_status=$?
5779 >  grep -v '^ *+' conftest.er1 >conftest.err
5780 >  rm -f conftest.er1
5781 >  cat conftest.err >&5
5782 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5783 >  (exit $ac_status); } >/dev/null; then
5784 >  if test -s conftest.err; then
5785 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5786 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5787 >  else
5788 >    ac_cpp_err=
5789 >  fi
5790 > else
5791 >  ac_cpp_err=yes
5792 > fi
5793 > if test -z "$ac_cpp_err"; then
5794 >  # Broken: success on invalid input.
5795 > continue
5796 > else
5797 >  echo "$as_me: failed program was:" >&5
5798 > sed 's/^/| /' conftest.$ac_ext >&5
5799 >
5800 >  # Passes both tests.
5801 > ac_preproc_ok=:
5802 > break
5803 > fi
5804 > rm -f conftest.err conftest.$ac_ext
5805 >
5806 > done
5807 > # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5808 > rm -f conftest.err conftest.$ac_ext
5809 > if $ac_preproc_ok; then
5810 >  break
5811 > fi
5812 >
5813 >    done
5814 >    ac_cv_prog_CXXCPP=$CXXCPP
5815 >
5816 > fi
5817 >  CXXCPP=$ac_cv_prog_CXXCPP
5818 > else
5819 >  ac_cv_prog_CXXCPP=$CXXCPP
5820 > fi
5821 > echo "$as_me:$LINENO: result: $CXXCPP" >&5
5822 > echo "${ECHO_T}$CXXCPP" >&6
5823 > ac_preproc_ok=false
5824 > for ac_cxx_preproc_warn_flag in '' yes
5825 > do
5826 >  # Use a header file that comes with gcc, so configuring glibc
5827 >  # with a fresh cross-compiler works.
5828 >  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5829 >  # <limits.h> exists even on freestanding compilers.
5830 >  # On the NeXT, cc -E runs the code through the compiler's parser,
5831 >  # not just through cpp. "Syntax error" is here to catch this case.
5832 >  cat >conftest.$ac_ext <<_ACEOF
5833 > /* confdefs.h.  */
5834 > _ACEOF
5835 > cat confdefs.h >>conftest.$ac_ext
5836 > cat >>conftest.$ac_ext <<_ACEOF
5837 > /* end confdefs.h.  */
5838 > #ifdef __STDC__
5839 > # include <limits.h>
5840 > #else
5841 > # include <assert.h>
5842 > #endif
5843 >                     Syntax error
5844 > _ACEOF
5845 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5846 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5847 >  ac_status=$?
5848 >  grep -v '^ *+' conftest.er1 >conftest.err
5849 >  rm -f conftest.er1
5850 >  cat conftest.err >&5
5851 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852 >  (exit $ac_status); } >/dev/null; then
5853 >  if test -s conftest.err; then
5854 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5855 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5856 >  else
5857 >    ac_cpp_err=
5858 >  fi
5859 > else
5860 >  ac_cpp_err=yes
5861 > fi
5862 > if test -z "$ac_cpp_err"; then
5863 >  :
5864 > else
5865 >  echo "$as_me: failed program was:" >&5
5866 > sed 's/^/| /' conftest.$ac_ext >&5
5867 >
5868 >  # Broken: fails on valid input.
5869 > continue
5870 > fi
5871 > rm -f conftest.err conftest.$ac_ext
5872 >
5873 >  # OK, works on sane cases.  Now check whether non-existent headers
5874 >  # can be detected and how.
5875 >  cat >conftest.$ac_ext <<_ACEOF
5876 > /* confdefs.h.  */
5877 > _ACEOF
5878 > cat confdefs.h >>conftest.$ac_ext
5879 > cat >>conftest.$ac_ext <<_ACEOF
5880 > /* end confdefs.h.  */
5881 > #include <ac_nonexistent.h>
5882 > _ACEOF
5883 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5884 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5885 >  ac_status=$?
5886 >  grep -v '^ *+' conftest.er1 >conftest.err
5887 >  rm -f conftest.er1
5888 >  cat conftest.err >&5
5889 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 >  (exit $ac_status); } >/dev/null; then
5891 >  if test -s conftest.err; then
5892 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5893 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5894 >  else
5895 >    ac_cpp_err=
5896 >  fi
5897 > else
5898 >  ac_cpp_err=yes
5899 > fi
5900 > if test -z "$ac_cpp_err"; then
5901 >  # Broken: success on invalid input.
5902 > continue
5903 > else
5904 >  echo "$as_me: failed program was:" >&5
5905 > sed 's/^/| /' conftest.$ac_ext >&5
5906 >
5907 >  # Passes both tests.
5908 > ac_preproc_ok=:
5909 > break
5910 > fi
5911 > rm -f conftest.err conftest.$ac_ext
5912 >
5913 > done
5914 > # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5915 > rm -f conftest.err conftest.$ac_ext
5916 > if $ac_preproc_ok; then
5917 >  :
5918 > else
5919 >  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5920 > See \`config.log' for more details." >&5
5921 > echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5922 > See \`config.log' for more details." >&2;}
5923 >   { (exit 1); exit 1; }; }
5924 > fi
5925 >
5926 > ac_ext=cc
5927 > ac_cpp='$CXXCPP $CPPFLAGS'
5928 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5929 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5930 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5931 >
5932 >
5933 >
5934 >
5935 >
5936 >
5937 >
5938 > for ac_header in ctype.h iostream fstream sstream strstream
5939 > do
5940 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5941 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5942 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5943 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5944 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5945 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5946 > fi
5947 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5948 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5949 > else
5950 >  # Is the header compilable?
5951 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
5952 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5953 > cat >conftest.$ac_ext <<_ACEOF
5954 > /* confdefs.h.  */
5955 > _ACEOF
5956 > cat confdefs.h >>conftest.$ac_ext
5957 > cat >>conftest.$ac_ext <<_ACEOF
5958 > /* end confdefs.h.  */
5959 > $ac_includes_default
5960 > #include <$ac_header>
5961 > _ACEOF
5962 > rm -f conftest.$ac_objext
5963 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5964 >  (eval $ac_compile) 2>conftest.er1
5965 >  ac_status=$?
5966 >  grep -v '^ *+' conftest.er1 >conftest.err
5967 >  rm -f conftest.er1
5968 >  cat conftest.err >&5
5969 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5970 >  (exit $ac_status); } &&
5971 >         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
5972 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5973 >  (eval $ac_try) 2>&5
5974 >  ac_status=$?
5975 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5976 >  (exit $ac_status); }; } &&
5977 >         { ac_try='test -s conftest.$ac_objext'
5978 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5979 >  (eval $ac_try) 2>&5
5980 >  ac_status=$?
5981 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982 >  (exit $ac_status); }; }; then
5983 >  ac_header_compiler=yes
5984 > else
5985 >  echo "$as_me: failed program was:" >&5
5986 > sed 's/^/| /' conftest.$ac_ext >&5
5987 >
5988 > ac_header_compiler=no
5989 > fi
5990 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5991 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5992 > echo "${ECHO_T}$ac_header_compiler" >&6
5993 >
5994 > # Is the header present?
5995 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
5996 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5997 > cat >conftest.$ac_ext <<_ACEOF
5998 > /* confdefs.h.  */
5999 > _ACEOF
6000 > cat confdefs.h >>conftest.$ac_ext
6001 > cat >>conftest.$ac_ext <<_ACEOF
6002 > /* end confdefs.h.  */
6003 > #include <$ac_header>
6004 > _ACEOF
6005 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6006 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6007 >  ac_status=$?
6008 >  grep -v '^ *+' conftest.er1 >conftest.err
6009 >  rm -f conftest.er1
6010 >  cat conftest.err >&5
6011 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6012 >  (exit $ac_status); } >/dev/null; then
6013 >  if test -s conftest.err; then
6014 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
6015 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6016 >  else
6017 >    ac_cpp_err=
6018 >  fi
6019 > else
6020 >  ac_cpp_err=yes
6021 > fi
6022 > if test -z "$ac_cpp_err"; then
6023 >  ac_header_preproc=yes
6024 > else
6025 >  echo "$as_me: failed program was:" >&5
6026 > sed 's/^/| /' conftest.$ac_ext >&5
6027 >
6028 >  ac_header_preproc=no
6029 > fi
6030 > rm -f conftest.err conftest.$ac_ext
6031 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6032 > echo "${ECHO_T}$ac_header_preproc" >&6
6033 >
6034 > # So?  What about this header?
6035 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6036 >  yes:no: )
6037 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6038 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6039 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6040 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6041 >    ac_header_preproc=yes
6042 >    ;;
6043 >  no:yes:* )
6044 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6045 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6046 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6047 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6048 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6049 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6050 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6051 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6052 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6053 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6054 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6055 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6056 >    (
6057 >      cat <<\_ASBOX
6058 > ## ------------------------------ ##
6059 > ## Report this to gezelter@nd.edu ##
6060 > ## ------------------------------ ##
6061 > _ASBOX
6062 >    ) |
6063 >      sed "s/^/$as_me: WARNING:     /" >&2
6064 >    ;;
6065 > esac
6066 > echo "$as_me:$LINENO: checking for $ac_header" >&5
6067 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6068 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6069 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6070 > else
6071 >  eval "$as_ac_Header=\$ac_header_preproc"
6072 > fi
6073 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6074 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6075 >
6076 > fi
6077 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
6078 >  cat >>confdefs.h <<_ACEOF
6079 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6080 > _ACEOF
6081 >
6082 > fi
6083 >
6084 > done
6085 >
6086 > ac_ext=c
6087 > ac_cpp='$CPP $CPPFLAGS'
6088 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6089 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6090 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
6091 >
6092 >
6093 >
6094 >
6095 > for ac_header in sys/pstat.h sys/sysmp.h sys/sysinfo.h
6096 > do
6097 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6098 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6099 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
6100 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6101 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6102 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6103 > fi
6104 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6105 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6106 > else
6107 >  # Is the header compilable?
6108 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
6109 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6110 > cat >conftest.$ac_ext <<_ACEOF
6111 > /* confdefs.h.  */
6112 > _ACEOF
6113 > cat confdefs.h >>conftest.$ac_ext
6114 > cat >>conftest.$ac_ext <<_ACEOF
6115 > /* end confdefs.h.  */
6116 > $ac_includes_default
6117 > #include <$ac_header>
6118 > _ACEOF
6119 > rm -f conftest.$ac_objext
6120 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6121 >  (eval $ac_compile) 2>conftest.er1
6122 >  ac_status=$?
6123 >  grep -v '^ *+' conftest.er1 >conftest.err
6124 >  rm -f conftest.er1
6125 >  cat conftest.err >&5
6126 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6127 >  (exit $ac_status); } &&
6128 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6129 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6130 >  (eval $ac_try) 2>&5
6131 >  ac_status=$?
6132 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133 >  (exit $ac_status); }; } &&
6134 >         { ac_try='test -s conftest.$ac_objext'
6135 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6136 >  (eval $ac_try) 2>&5
6137 >  ac_status=$?
6138 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6139 >  (exit $ac_status); }; }; then
6140 >  ac_header_compiler=yes
6141 > else
6142 >  echo "$as_me: failed program was:" >&5
6143 > sed 's/^/| /' conftest.$ac_ext >&5
6144 >
6145 > ac_header_compiler=no
6146 > fi
6147 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6148 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6149 > echo "${ECHO_T}$ac_header_compiler" >&6
6150 >
6151 > # Is the header present?
6152 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
6153 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6154 > cat >conftest.$ac_ext <<_ACEOF
6155 > /* confdefs.h.  */
6156 > _ACEOF
6157 > cat confdefs.h >>conftest.$ac_ext
6158 > cat >>conftest.$ac_ext <<_ACEOF
6159 > /* end confdefs.h.  */
6160 > #include <$ac_header>
6161 > _ACEOF
6162 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6163 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6164 >  ac_status=$?
6165 >  grep -v '^ *+' conftest.er1 >conftest.err
6166 >  rm -f conftest.er1
6167 >  cat conftest.err >&5
6168 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6169 >  (exit $ac_status); } >/dev/null; then
6170 >  if test -s conftest.err; then
6171 >    ac_cpp_err=$ac_c_preproc_warn_flag
6172 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6173 >  else
6174 >    ac_cpp_err=
6175 >  fi
6176 > else
6177 >  ac_cpp_err=yes
6178 > fi
6179 > if test -z "$ac_cpp_err"; then
6180 >  ac_header_preproc=yes
6181 > else
6182 >  echo "$as_me: failed program was:" >&5
6183 > sed 's/^/| /' conftest.$ac_ext >&5
6184 >
6185 >  ac_header_preproc=no
6186 > fi
6187 > rm -f conftest.err conftest.$ac_ext
6188 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6189 > echo "${ECHO_T}$ac_header_preproc" >&6
6190 >
6191 > # So?  What about this header?
6192 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6193 >  yes:no: )
6194 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6195 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6196 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6197 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6198 >    ac_header_preproc=yes
6199 >    ;;
6200 >  no:yes:* )
6201 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6202 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6203 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6204 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6205 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6206 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6207 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6208 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6209 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6210 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6211 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6212 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6213 >    (
6214 >      cat <<\_ASBOX
6215 > ## ------------------------------ ##
6216 > ## Report this to gezelter@nd.edu ##
6217 > ## ------------------------------ ##
6218 > _ASBOX
6219 >    ) |
6220 >      sed "s/^/$as_me: WARNING:     /" >&2
6221 >    ;;
6222 > esac
6223 > echo "$as_me:$LINENO: checking for $ac_header" >&5
6224 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6225 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6226 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6227 > else
6228 >  eval "$as_ac_Header=\$ac_header_preproc"
6229 > fi
6230 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6231 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6232 >
6233 > fi
6234 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
6235 >  cat >>confdefs.h <<_ACEOF
6236 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6237 > _ACEOF
6238 >
6239 > fi
6240 >
6241 > done
6242 >
6243 >
6244 >
6245 >
6246 >
6247 > for ac_header in sys/table.h sys/param.h sys/sysctl.h sys/sytemcfg.h
6248 > do
6249 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6250 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6251 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
6252 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6253 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6254 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6255 > fi
6256 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6257 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6258 > else
6259 >  # Is the header compilable?
6260 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
6261 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6262 > cat >conftest.$ac_ext <<_ACEOF
6263 > /* confdefs.h.  */
6264 > _ACEOF
6265 > cat confdefs.h >>conftest.$ac_ext
6266 > cat >>conftest.$ac_ext <<_ACEOF
6267 > /* end confdefs.h.  */
6268 > $ac_includes_default
6269 > #include <$ac_header>
6270 > _ACEOF
6271 > rm -f conftest.$ac_objext
6272 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6273 >  (eval $ac_compile) 2>conftest.er1
6274 >  ac_status=$?
6275 >  grep -v '^ *+' conftest.er1 >conftest.err
6276 >  rm -f conftest.er1
6277 >  cat conftest.err >&5
6278 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6279 >  (exit $ac_status); } &&
6280 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6281 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6282 >  (eval $ac_try) 2>&5
6283 >  ac_status=$?
6284 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285 >  (exit $ac_status); }; } &&
6286 >         { ac_try='test -s conftest.$ac_objext'
6287 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6288 >  (eval $ac_try) 2>&5
6289 >  ac_status=$?
6290 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 >  (exit $ac_status); }; }; then
6292 >  ac_header_compiler=yes
6293 > else
6294 >  echo "$as_me: failed program was:" >&5
6295 > sed 's/^/| /' conftest.$ac_ext >&5
6296 >
6297 > ac_header_compiler=no
6298 > fi
6299 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6300 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6301 > echo "${ECHO_T}$ac_header_compiler" >&6
6302 >
6303 > # Is the header present?
6304 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
6305 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6306 > cat >conftest.$ac_ext <<_ACEOF
6307 > /* confdefs.h.  */
6308 > _ACEOF
6309 > cat confdefs.h >>conftest.$ac_ext
6310 > cat >>conftest.$ac_ext <<_ACEOF
6311 > /* end confdefs.h.  */
6312 > #include <$ac_header>
6313 > _ACEOF
6314 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6315 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6316 >  ac_status=$?
6317 >  grep -v '^ *+' conftest.er1 >conftest.err
6318 >  rm -f conftest.er1
6319 >  cat conftest.err >&5
6320 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6321 >  (exit $ac_status); } >/dev/null; then
6322 >  if test -s conftest.err; then
6323 >    ac_cpp_err=$ac_c_preproc_warn_flag
6324 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6325 >  else
6326 >    ac_cpp_err=
6327 >  fi
6328 > else
6329 >  ac_cpp_err=yes
6330 > fi
6331 > if test -z "$ac_cpp_err"; then
6332 >  ac_header_preproc=yes
6333 > else
6334 >  echo "$as_me: failed program was:" >&5
6335 > sed 's/^/| /' conftest.$ac_ext >&5
6336 >
6337 >  ac_header_preproc=no
6338 > fi
6339 > rm -f conftest.err conftest.$ac_ext
6340 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6341 > echo "${ECHO_T}$ac_header_preproc" >&6
6342 >
6343 > # So?  What about this header?
6344 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6345 >  yes:no: )
6346 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6347 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6348 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6349 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6350 >    ac_header_preproc=yes
6351 >    ;;
6352 >  no:yes:* )
6353 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6354 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6355 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6356 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6357 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6358 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6359 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6360 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6361 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6362 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6363 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6364 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6365 >    (
6366 >      cat <<\_ASBOX
6367 > ## ------------------------------ ##
6368 > ## Report this to gezelter@nd.edu ##
6369 > ## ------------------------------ ##
6370 > _ASBOX
6371 >    ) |
6372 >      sed "s/^/$as_me: WARNING:     /" >&2
6373 >    ;;
6374 > esac
6375 > echo "$as_me:$LINENO: checking for $ac_header" >&5
6376 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6377 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6378 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6379 > else
6380 >  eval "$as_ac_Header=\$ac_header_preproc"
6381 > fi
6382 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6383 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6384 >
6385 > fi
6386 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
6387 >  cat >>confdefs.h <<_ACEOF
6388 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6389 > _ACEOF
6390 >
6391 > fi
6392 >
6393 > done
6394 >
6395 >
6396 > for ac_header in machine/hal_sysinfo.h
6397 > do
6398 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6399 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6400 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
6401 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6402 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6403 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6404 > fi
6405 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6406 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6407 > else
6408 >  # Is the header compilable?
6409 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
6410 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6411 > cat >conftest.$ac_ext <<_ACEOF
6412 > /* confdefs.h.  */
6413 > _ACEOF
6414 > cat confdefs.h >>conftest.$ac_ext
6415 > cat >>conftest.$ac_ext <<_ACEOF
6416 > /* end confdefs.h.  */
6417 > $ac_includes_default
6418 > #include <$ac_header>
6419 > _ACEOF
6420 > rm -f conftest.$ac_objext
6421 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6422 >  (eval $ac_compile) 2>conftest.er1
6423 >  ac_status=$?
6424 >  grep -v '^ *+' conftest.er1 >conftest.err
6425 >  rm -f conftest.er1
6426 >  cat conftest.err >&5
6427 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428 >  (exit $ac_status); } &&
6429 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6430 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6431 >  (eval $ac_try) 2>&5
6432 >  ac_status=$?
6433 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 >  (exit $ac_status); }; } &&
6435 >         { ac_try='test -s conftest.$ac_objext'
6436 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6437 >  (eval $ac_try) 2>&5
6438 >  ac_status=$?
6439 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440 >  (exit $ac_status); }; }; then
6441 >  ac_header_compiler=yes
6442 > else
6443 >  echo "$as_me: failed program was:" >&5
6444 > sed 's/^/| /' conftest.$ac_ext >&5
6445 >
6446 > ac_header_compiler=no
6447 > fi
6448 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6449 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6450 > echo "${ECHO_T}$ac_header_compiler" >&6
6451 >
6452 > # Is the header present?
6453 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
6454 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6455 > cat >conftest.$ac_ext <<_ACEOF
6456 > /* confdefs.h.  */
6457 > _ACEOF
6458 > cat confdefs.h >>conftest.$ac_ext
6459 > cat >>conftest.$ac_ext <<_ACEOF
6460 > /* end confdefs.h.  */
6461 > #include <$ac_header>
6462 > _ACEOF
6463 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6464 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6465 >  ac_status=$?
6466 >  grep -v '^ *+' conftest.er1 >conftest.err
6467 >  rm -f conftest.er1
6468 >  cat conftest.err >&5
6469 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470 >  (exit $ac_status); } >/dev/null; then
6471 >  if test -s conftest.err; then
6472 >    ac_cpp_err=$ac_c_preproc_warn_flag
6473 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6474 >  else
6475 >    ac_cpp_err=
6476 >  fi
6477 > else
6478 >  ac_cpp_err=yes
6479 > fi
6480 > if test -z "$ac_cpp_err"; then
6481 >  ac_header_preproc=yes
6482 > else
6483 >  echo "$as_me: failed program was:" >&5
6484 > sed 's/^/| /' conftest.$ac_ext >&5
6485 >
6486 >  ac_header_preproc=no
6487 > fi
6488 > rm -f conftest.err conftest.$ac_ext
6489 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6490 > echo "${ECHO_T}$ac_header_preproc" >&6
6491 >
6492 > # So?  What about this header?
6493 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6494 >  yes:no: )
6495 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6496 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6497 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6498 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6499 >    ac_header_preproc=yes
6500 >    ;;
6501 >  no:yes:* )
6502 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6503 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6504 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6505 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6506 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6507 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6508 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6509 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6510 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6511 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6512 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6513 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6514 >    (
6515 >      cat <<\_ASBOX
6516 > ## ------------------------------ ##
6517 > ## Report this to gezelter@nd.edu ##
6518 > ## ------------------------------ ##
6519 > _ASBOX
6520 >    ) |
6521 >      sed "s/^/$as_me: WARNING:     /" >&2
6522 >    ;;
6523 > esac
6524 > echo "$as_me:$LINENO: checking for $ac_header" >&5
6525 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6526 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6527 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6528 > else
6529 >  eval "$as_ac_Header=\$ac_header_preproc"
6530 > fi
6531 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6532 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6533 >
6534 > fi
6535 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
6536 >  cat >>confdefs.h <<_ACEOF
6537 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6538 > _ACEOF
6539 >
6540 > fi
6541 >
6542 > done
6543 >
6544 >
6545 >
6546 >
6547 >
6548 > for ac_func in rint snprintf sranddev strncasecmp
6549 > do
6550 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6551 > echo "$as_me:$LINENO: checking for $ac_func" >&5
6552 > echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6553 > if eval "test \"\${$as_ac_var+set}\" = set"; then
6554 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6555 > else
6556 >  cat >conftest.$ac_ext <<_ACEOF
6557 > /* confdefs.h.  */
6558 > _ACEOF
6559 > cat confdefs.h >>conftest.$ac_ext
6560 > cat >>conftest.$ac_ext <<_ACEOF
6561 > /* end confdefs.h.  */
6562 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6563 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6564 > #define $ac_func innocuous_$ac_func
6565 >
6566 > /* System header to define __stub macros and hopefully few prototypes,
6567 >    which can conflict with char $ac_func (); below.
6568 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6569 >    <limits.h> exists even on freestanding compilers.  */
6570 >
6571 > #ifdef __STDC__
6572 > # include <limits.h>
6573 > #else
6574 > # include <assert.h>
6575 > #endif
6576 >
6577 > #undef $ac_func
6578 >
6579 > /* Override any gcc2 internal prototype to avoid an error.  */
6580 > #ifdef __cplusplus
6581 > extern "C"
6582 > {
6583 > #endif
6584 > /* We use char because int might match the return type of a gcc2
6585 >   builtin and then its argument prototype would still apply.  */
6586 > char $ac_func ();
6587 > /* The GNU C library defines this for functions which it implements
6588 >    to always fail with ENOSYS.  Some functions are actually named
6589 >    something starting with __ and the normal name is an alias.  */
6590 > #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6591 > choke me
6592 > #else
6593 > char (*f) () = $ac_func;
6594 > #endif
6595 > #ifdef __cplusplus
6596 > }
6597 > #endif
6598 >
6599 > int
6600 > main ()
6601 > {
6602 > return f != $ac_func;
6603 >  ;
6604 >  return 0;
6605 > }
6606 > _ACEOF
6607 > rm -f conftest.$ac_objext conftest$ac_exeext
6608 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6609 >  (eval $ac_link) 2>conftest.er1
6610 >  ac_status=$?
6611 >  grep -v '^ *+' conftest.er1 >conftest.err
6612 >  rm -f conftest.er1
6613 >  cat conftest.err >&5
6614 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6615 >  (exit $ac_status); } &&
6616 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6617 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6618 >  (eval $ac_try) 2>&5
6619 >  ac_status=$?
6620 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6621 >  (exit $ac_status); }; } &&
6622 >         { ac_try='test -s conftest$ac_exeext'
6623 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6624 >  (eval $ac_try) 2>&5
6625 >  ac_status=$?
6626 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6627 >  (exit $ac_status); }; }; then
6628 >  eval "$as_ac_var=yes"
6629 > else
6630 >  echo "$as_me: failed program was:" >&5
6631 > sed 's/^/| /' conftest.$ac_ext >&5
6632 >
6633 > eval "$as_ac_var=no"
6634 > fi
6635 > rm -f conftest.err conftest.$ac_objext \
6636 >      conftest$ac_exeext conftest.$ac_ext
6637 > fi
6638 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6639 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6640 > if test `eval echo '${'$as_ac_var'}'` = yes; then
6641 >  cat >>confdefs.h <<_ACEOF
6642 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6643 > _ACEOF
6644 >
6645 > fi
6646 > done
6647 >
6648 >
6649 >
6650 >
6651 >
6652 >
6653 > for ac_func in pstat_getstatic sysmp getsysinfo sysctl table
6654 > do
6655 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6656 > echo "$as_me:$LINENO: checking for $ac_func" >&5
6657 > echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6658 > if eval "test \"\${$as_ac_var+set}\" = set"; then
6659 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6660 > else
6661 >  cat >conftest.$ac_ext <<_ACEOF
6662 > /* confdefs.h.  */
6663 > _ACEOF
6664 > cat confdefs.h >>conftest.$ac_ext
6665 > cat >>conftest.$ac_ext <<_ACEOF
6666 > /* end confdefs.h.  */
6667 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6668 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6669 > #define $ac_func innocuous_$ac_func
6670 >
6671 > /* System header to define __stub macros and hopefully few prototypes,
6672 >    which can conflict with char $ac_func (); below.
6673 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6674 >    <limits.h> exists even on freestanding compilers.  */
6675 >
6676 > #ifdef __STDC__
6677 > # include <limits.h>
6678 > #else
6679 > # include <assert.h>
6680 > #endif
6681 >
6682 > #undef $ac_func
6683 >
6684 > /* Override any gcc2 internal prototype to avoid an error.  */
6685 > #ifdef __cplusplus
6686 > extern "C"
6687 > {
6688 > #endif
6689 > /* We use char because int might match the return type of a gcc2
6690 >   builtin and then its argument prototype would still apply.  */
6691 > char $ac_func ();
6692 > /* The GNU C library defines this for functions which it implements
6693 >    to always fail with ENOSYS.  Some functions are actually named
6694 >    something starting with __ and the normal name is an alias.  */
6695 > #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6696 > choke me
6697 > #else
6698 > char (*f) () = $ac_func;
6699 > #endif
6700 > #ifdef __cplusplus
6701 > }
6702 > #endif
6703 >
6704 > int
6705 > main ()
6706 > {
6707 > return f != $ac_func;
6708 >  ;
6709 >  return 0;
6710 > }
6711 > _ACEOF
6712 > rm -f conftest.$ac_objext conftest$ac_exeext
6713 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6714 >  (eval $ac_link) 2>conftest.er1
6715 >  ac_status=$?
6716 >  grep -v '^ *+' conftest.er1 >conftest.err
6717 >  rm -f conftest.er1
6718 >  cat conftest.err >&5
6719 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720 >  (exit $ac_status); } &&
6721 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6722 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6723 >  (eval $ac_try) 2>&5
6724 >  ac_status=$?
6725 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6726 >  (exit $ac_status); }; } &&
6727 >         { ac_try='test -s conftest$ac_exeext'
6728 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6729 >  (eval $ac_try) 2>&5
6730 >  ac_status=$?
6731 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6732 >  (exit $ac_status); }; }; then
6733 >  eval "$as_ac_var=yes"
6734 > else
6735 >  echo "$as_me: failed program was:" >&5
6736 > sed 's/^/| /' conftest.$ac_ext >&5
6737 >
6738 > eval "$as_ac_var=no"
6739 > fi
6740 > rm -f conftest.err conftest.$ac_objext \
6741 >      conftest$ac_exeext conftest.$ac_ext
6742 > fi
6743 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6744 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6745 > if test `eval echo '${'$as_ac_var'}'` = yes; then
6746 >  cat >>confdefs.h <<_ACEOF
6747 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6748 > _ACEOF
6749 >
6750 > fi
6751 > done
6752 >
6753 > # special check for _system_configuration because AIX <4.3.2 do not
6754 > # contain the `physmem' member.
6755 > echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
6756 > echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
6757 > cat >conftest.$ac_ext <<_ACEOF
6758 > /* confdefs.h.  */
6759 > _ACEOF
6760 > cat confdefs.h >>conftest.$ac_ext
6761 > cat >>conftest.$ac_ext <<_ACEOF
6762 > /* end confdefs.h.  */
6763 > #include <sys/systemcfg.h>
6764 > int
6765 > main ()
6766 > {
6767 > double x = _system_configuration.physmem;
6768 >  ;
6769 >  return 0;
6770 > }
6771 > _ACEOF
6772 > rm -f conftest.$ac_objext
6773 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6774 >  (eval $ac_compile) 2>conftest.er1
6775 >  ac_status=$?
6776 >  grep -v '^ *+' conftest.er1 >conftest.err
6777 >  rm -f conftest.er1
6778 >  cat conftest.err >&5
6779 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6780 >  (exit $ac_status); } &&
6781 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6782 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6783 >  (eval $ac_try) 2>&5
6784 >  ac_status=$?
6785 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786 >  (exit $ac_status); }; } &&
6787 >         { ac_try='test -s conftest.$ac_objext'
6788 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6789 >  (eval $ac_try) 2>&5
6790 >  ac_status=$?
6791 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6792 >  (exit $ac_status); }; }; then
6793 >  echo "$as_me:$LINENO: result: yes" >&5
6794 > echo "${ECHO_T}yes" >&6
6795 >
6796 > cat >>confdefs.h <<\_ACEOF
6797 > #define HAVE__SYSTEM_CONFIGURATION 1
6798 > _ACEOF
6799 >
6800 > else
6801 >  echo "$as_me: failed program was:" >&5
6802 > sed 's/^/| /' conftest.$ac_ext >&5
6803 >
6804 > echo "$as_me:$LINENO: result: no" >&5
6805 > echo "${ECHO_T}no" >&6
6806 > fi
6807 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6808 > echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6809 > echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
6810 > if test "${ac_cv_header_time+set}" = set; then
6811 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6812 > else
6813 >  cat >conftest.$ac_ext <<_ACEOF
6814 > /* confdefs.h.  */
6815 > _ACEOF
6816 > cat confdefs.h >>conftest.$ac_ext
6817 > cat >>conftest.$ac_ext <<_ACEOF
6818 > /* end confdefs.h.  */
6819 > #include <sys/types.h>
6820 > #include <sys/time.h>
6821 > #include <time.h>
6822 >
6823 > int
6824 > main ()
6825 > {
6826 > if ((struct tm *) 0)
6827 > return 0;
6828 >  ;
6829 >  return 0;
6830 > }
6831 > _ACEOF
6832 > rm -f conftest.$ac_objext
6833 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6834 >  (eval $ac_compile) 2>conftest.er1
6835 >  ac_status=$?
6836 >  grep -v '^ *+' conftest.er1 >conftest.err
6837 >  rm -f conftest.er1
6838 >  cat conftest.err >&5
6839 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6840 >  (exit $ac_status); } &&
6841 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6842 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6843 >  (eval $ac_try) 2>&5
6844 >  ac_status=$?
6845 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846 >  (exit $ac_status); }; } &&
6847 >         { ac_try='test -s conftest.$ac_objext'
6848 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6849 >  (eval $ac_try) 2>&5
6850 >  ac_status=$?
6851 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 >  (exit $ac_status); }; }; then
6853 >  ac_cv_header_time=yes
6854 > else
6855 >  echo "$as_me: failed program was:" >&5
6856 > sed 's/^/| /' conftest.$ac_ext >&5
6857 >
6858 > ac_cv_header_time=no
6859 > fi
6860 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6861 > fi
6862 > echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6863 > echo "${ECHO_T}$ac_cv_header_time" >&6
6864 > if test $ac_cv_header_time = yes; then
6865 >
6866 > cat >>confdefs.h <<\_ACEOF
6867 > #define TIME_WITH_SYS_TIME 1
6868 > _ACEOF
6869 >
6870 > fi
6871 >
6872 >
6873 > echo "$as_me:$LINENO: checking for clock_t" >&5
6874 > echo $ECHO_N "checking for clock_t... $ECHO_C" >&6
6875 > if test "${ac_cv_type_clock_t+set}" = set; then
6876 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6877 > else
6878 >  cat >conftest.$ac_ext <<_ACEOF
6879 > /* confdefs.h.  */
6880 > _ACEOF
6881 > cat confdefs.h >>conftest.$ac_ext
6882 > cat >>conftest.$ac_ext <<_ACEOF
6883 > /* end confdefs.h.  */
6884 > $ac_includes_default
6885 > int
6886 > main ()
6887 > {
6888 > if ((clock_t *) 0)
6889 >  return 0;
6890 > if (sizeof (clock_t))
6891 >  return 0;
6892 >  ;
6893 >  return 0;
6894 > }
6895 > _ACEOF
6896 > rm -f conftest.$ac_objext
6897 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6898 >  (eval $ac_compile) 2>conftest.er1
6899 >  ac_status=$?
6900 >  grep -v '^ *+' conftest.er1 >conftest.err
6901 >  rm -f conftest.er1
6902 >  cat conftest.err >&5
6903 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6904 >  (exit $ac_status); } &&
6905 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
6906 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907 >  (eval $ac_try) 2>&5
6908 >  ac_status=$?
6909 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6910 >  (exit $ac_status); }; } &&
6911 >         { ac_try='test -s conftest.$ac_objext'
6912 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6913 >  (eval $ac_try) 2>&5
6914 >  ac_status=$?
6915 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6916 >  (exit $ac_status); }; }; then
6917 >  ac_cv_type_clock_t=yes
6918 > else
6919 >  echo "$as_me: failed program was:" >&5
6920 > sed 's/^/| /' conftest.$ac_ext >&5
6921 >
6922 > ac_cv_type_clock_t=no
6923 > fi
6924 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6925 > fi
6926 > echo "$as_me:$LINENO: result: $ac_cv_type_clock_t" >&5
6927 > echo "${ECHO_T}$ac_cv_type_clock_t" >&6
6928 > if test $ac_cv_type_clock_t = yes; then
6929 >
6930 > cat >>confdefs.h <<_ACEOF
6931 > #define HAVE_CLOCK_T 1
6932 > _ACEOF
6933 >
6934 >
6935 > fi
6936 >
6937 > echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6938 > echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6939 > if test "${ac_cv_c_const+set}" = set; then
6940 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6941 > else
6942 >  cat >conftest.$ac_ext <<_ACEOF
6943 > /* confdefs.h.  */
6944 > _ACEOF
6945 > cat confdefs.h >>conftest.$ac_ext
6946 > cat >>conftest.$ac_ext <<_ACEOF
6947 > /* end confdefs.h.  */
6948 >
6949 > int
6950 > main ()
6951 > {
6952 > /* FIXME: Include the comments suggested by Paul. */
6953 > #ifndef __cplusplus
6954 >  /* Ultrix mips cc rejects this.  */
6955 >  typedef int charset[2];
6956 >  const charset x;
6957 >  /* SunOS 4.1.1 cc rejects this.  */
6958 >  char const *const *ccp;
6959 >  char **p;
6960 >  /* NEC SVR4.0.2 mips cc rejects this.  */
6961 >  struct point {int x, y;};
6962 >  static struct point const zero = {0,0};
6963 >  /* AIX XL C 1.02.0.0 rejects this.
6964 >     It does not let you subtract one const X* pointer from another in
6965 >     an arm of an if-expression whose if-part is not a constant
6966 >     expression */
6967 >  const char *g = "string";
6968 >  ccp = &g + (g ? g-g : 0);
6969 >  /* HPUX 7.0 cc rejects these. */
6970 >  ++ccp;
6971 >  p = (char**) ccp;
6972 >  ccp = (char const *const *) p;
6973 >  { /* SCO 3.2v4 cc rejects this.  */
6974 >    char *t;
6975 >    char const *s = 0 ? (char *) 0 : (char const *) 0;
6976 >
6977 >    *t++ = 0;
6978 >  }
6979 >  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
6980 >    int x[] = {25, 17};
6981 >    const int *foo = &x[0];
6982 >    ++foo;
6983 >  }
6984 >  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6985 >    typedef const int *iptr;
6986 >    iptr p = 0;
6987 >    ++p;
6988 >  }
6989 >  { /* AIX XL C 1.02.0.0 rejects this saying
6990 >       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6991 >    struct s { int j; const int *ap[3]; };
6992 >    struct s *b; b->j = 5;
6993 >  }
6994 >  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6995 >    const int foo = 10;
6996 >  }
6997 > #endif
6998 >
6999 >  ;
7000 >  return 0;
7001 > }
7002 > _ACEOF
7003 > rm -f conftest.$ac_objext
7004 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7005 >  (eval $ac_compile) 2>conftest.er1
7006 >  ac_status=$?
7007 >  grep -v '^ *+' conftest.er1 >conftest.err
7008 >  rm -f conftest.er1
7009 >  cat conftest.err >&5
7010 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011 >  (exit $ac_status); } &&
7012 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7013 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7014 >  (eval $ac_try) 2>&5
7015 >  ac_status=$?
7016 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017 >  (exit $ac_status); }; } &&
7018 >         { ac_try='test -s conftest.$ac_objext'
7019 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7020 >  (eval $ac_try) 2>&5
7021 >  ac_status=$?
7022 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7023 >  (exit $ac_status); }; }; then
7024 >  ac_cv_c_const=yes
7025 > else
7026 >  echo "$as_me: failed program was:" >&5
7027 > sed 's/^/| /' conftest.$ac_ext >&5
7028 >
7029 > ac_cv_c_const=no
7030 > fi
7031 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7032 > fi
7033 > echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7034 > echo "${ECHO_T}$ac_cv_c_const" >&6
7035 > if test $ac_cv_c_const = no; then
7036 >
7037 > cat >>confdefs.h <<\_ACEOF
7038 > #define const
7039 > _ACEOF
7040 >
7041 > fi
7042 >
7043 > echo "$as_me:$LINENO: checking for inline" >&5
7044 > echo $ECHO_N "checking for inline... $ECHO_C" >&6
7045 > if test "${ac_cv_c_inline+set}" = set; then
7046 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7047 > else
7048 >  ac_cv_c_inline=no
7049 > for ac_kw in inline __inline__ __inline; do
7050 >  cat >conftest.$ac_ext <<_ACEOF
7051 > /* confdefs.h.  */
7052 > _ACEOF
7053 > cat confdefs.h >>conftest.$ac_ext
7054 > cat >>conftest.$ac_ext <<_ACEOF
7055 > /* end confdefs.h.  */
7056 > #ifndef __cplusplus
7057 > typedef int foo_t;
7058 > static $ac_kw foo_t static_foo () {return 0; }
7059 > $ac_kw foo_t foo () {return 0; }
7060 > #endif
7061 >
7062 > _ACEOF
7063 > rm -f conftest.$ac_objext
7064 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7065 >  (eval $ac_compile) 2>conftest.er1
7066 >  ac_status=$?
7067 >  grep -v '^ *+' conftest.er1 >conftest.err
7068 >  rm -f conftest.er1
7069 >  cat conftest.err >&5
7070 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7071 >  (exit $ac_status); } &&
7072 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7073 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7074 >  (eval $ac_try) 2>&5
7075 >  ac_status=$?
7076 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7077 >  (exit $ac_status); }; } &&
7078 >         { ac_try='test -s conftest.$ac_objext'
7079 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7080 >  (eval $ac_try) 2>&5
7081 >  ac_status=$?
7082 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7083 >  (exit $ac_status); }; }; then
7084 >  ac_cv_c_inline=$ac_kw; break
7085 > else
7086 >  echo "$as_me: failed program was:" >&5
7087 > sed 's/^/| /' conftest.$ac_ext >&5
7088 >
7089 > fi
7090 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7091 > done
7092 >
7093 > fi
7094 > echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7095 > echo "${ECHO_T}$ac_cv_c_inline" >&6
7096 >
7097 >
7098 > case $ac_cv_c_inline in
7099 >  inline | yes) ;;
7100 >  *)
7101 >    case $ac_cv_c_inline in
7102 >      no) ac_val=;;
7103 >      *) ac_val=$ac_cv_c_inline;;
7104 >    esac
7105 >    cat >>confdefs.h <<_ACEOF
7106 > #ifndef __cplusplus
7107 > #define inline $ac_val
7108 > #endif
7109 > _ACEOF
7110 >    ;;
7111 > esac
7112 >
7113 >
7114 >
7115 >
7116 > for ac_func in rint sranddev
7117 > do
7118 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7119 > echo "$as_me:$LINENO: checking for $ac_func" >&5
7120 > echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7121 > if eval "test \"\${$as_ac_var+set}\" = set"; then
7122 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7123 > else
7124 >  cat >conftest.$ac_ext <<_ACEOF
7125 > /* confdefs.h.  */
7126 > _ACEOF
7127 > cat confdefs.h >>conftest.$ac_ext
7128 > cat >>conftest.$ac_ext <<_ACEOF
7129 > /* end confdefs.h.  */
7130 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7131 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7132 > #define $ac_func innocuous_$ac_func
7133 >
7134 > /* System header to define __stub macros and hopefully few prototypes,
7135 >    which can conflict with char $ac_func (); below.
7136 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7137 >    <limits.h> exists even on freestanding compilers.  */
7138 >
7139 > #ifdef __STDC__
7140 > # include <limits.h>
7141 > #else
7142 > # include <assert.h>
7143 > #endif
7144 >
7145 > #undef $ac_func
7146 >
7147 > /* Override any gcc2 internal prototype to avoid an error.  */
7148 > #ifdef __cplusplus
7149 > extern "C"
7150 > {
7151 > #endif
7152 > /* We use char because int might match the return type of a gcc2
7153 >   builtin and then its argument prototype would still apply.  */
7154 > char $ac_func ();
7155 > /* The GNU C library defines this for functions which it implements
7156 >    to always fail with ENOSYS.  Some functions are actually named
7157 >    something starting with __ and the normal name is an alias.  */
7158 > #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7159 > choke me
7160 > #else
7161 > char (*f) () = $ac_func;
7162 > #endif
7163 > #ifdef __cplusplus
7164 > }
7165 > #endif
7166 >
7167 > int
7168 > main ()
7169 > {
7170 > return f != $ac_func;
7171 >  ;
7172 >  return 0;
7173 > }
7174 > _ACEOF
7175 > rm -f conftest.$ac_objext conftest$ac_exeext
7176 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7177 >  (eval $ac_link) 2>conftest.er1
7178 >  ac_status=$?
7179 >  grep -v '^ *+' conftest.er1 >conftest.err
7180 >  rm -f conftest.er1
7181 >  cat conftest.err >&5
7182 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7183 >  (exit $ac_status); } &&
7184 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7185 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7186 >  (eval $ac_try) 2>&5
7187 >  ac_status=$?
7188 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7189 >  (exit $ac_status); }; } &&
7190 >         { ac_try='test -s conftest$ac_exeext'
7191 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7192 >  (eval $ac_try) 2>&5
7193 >  ac_status=$?
7194 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7195 >  (exit $ac_status); }; }; then
7196 >  eval "$as_ac_var=yes"
7197 > else
7198 >  echo "$as_me: failed program was:" >&5
7199 > sed 's/^/| /' conftest.$ac_ext >&5
7200 >
7201 > eval "$as_ac_var=no"
7202 > fi
7203 > rm -f conftest.err conftest.$ac_objext \
7204 >      conftest$ac_exeext conftest.$ac_ext
7205 > fi
7206 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7207 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7208 > if test `eval echo '${'$as_ac_var'}'` = yes; then
7209 >  cat >>confdefs.h <<_ACEOF
7210 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7211 > _ACEOF
7212 >
7213 > fi
7214 > done
7215 >
7216 >
7217 >  # clean out junk possibly left behind by a previous configuration
7218 >  rm -f src/getopt.h
7219 >  # Check for getopt_long support
7220 >
7221 > for ac_header in getopt.h
7222 > do
7223 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7224 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7225 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
7226 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7227 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7228 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7229 > fi
7230 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7231 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7232 > else
7233 >  # Is the header compilable?
7234 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
7235 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7236 > cat >conftest.$ac_ext <<_ACEOF
7237 > /* confdefs.h.  */
7238 > _ACEOF
7239 > cat confdefs.h >>conftest.$ac_ext
7240 > cat >>conftest.$ac_ext <<_ACEOF
7241 > /* end confdefs.h.  */
7242 > $ac_includes_default
7243 > #include <$ac_header>
7244 > _ACEOF
7245 > rm -f conftest.$ac_objext
7246 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7247 >  (eval $ac_compile) 2>conftest.er1
7248 >  ac_status=$?
7249 >  grep -v '^ *+' conftest.er1 >conftest.err
7250 >  rm -f conftest.er1
7251 >  cat conftest.err >&5
7252 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7253 >  (exit $ac_status); } &&
7254 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7255 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7256 >  (eval $ac_try) 2>&5
7257 >  ac_status=$?
7258 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7259 >  (exit $ac_status); }; } &&
7260 >         { ac_try='test -s conftest.$ac_objext'
7261 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7262 >  (eval $ac_try) 2>&5
7263 >  ac_status=$?
7264 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7265 >  (exit $ac_status); }; }; then
7266 >  ac_header_compiler=yes
7267 > else
7268 >  echo "$as_me: failed program was:" >&5
7269 > sed 's/^/| /' conftest.$ac_ext >&5
7270 >
7271 > ac_header_compiler=no
7272 > fi
7273 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7274 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7275 > echo "${ECHO_T}$ac_header_compiler" >&6
7276 >
7277 > # Is the header present?
7278 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
7279 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7280 > cat >conftest.$ac_ext <<_ACEOF
7281 > /* confdefs.h.  */
7282 > _ACEOF
7283 > cat confdefs.h >>conftest.$ac_ext
7284 > cat >>conftest.$ac_ext <<_ACEOF
7285 > /* end confdefs.h.  */
7286 > #include <$ac_header>
7287 > _ACEOF
7288 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7289 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7290 >  ac_status=$?
7291 >  grep -v '^ *+' conftest.er1 >conftest.err
7292 >  rm -f conftest.er1
7293 >  cat conftest.err >&5
7294 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7295 >  (exit $ac_status); } >/dev/null; then
7296 >  if test -s conftest.err; then
7297 >    ac_cpp_err=$ac_c_preproc_warn_flag
7298 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7299 >  else
7300 >    ac_cpp_err=
7301 >  fi
7302 > else
7303 >  ac_cpp_err=yes
7304 > fi
7305 > if test -z "$ac_cpp_err"; then
7306 >  ac_header_preproc=yes
7307 > else
7308 >  echo "$as_me: failed program was:" >&5
7309 > sed 's/^/| /' conftest.$ac_ext >&5
7310 >
7311 >  ac_header_preproc=no
7312 > fi
7313 > rm -f conftest.err conftest.$ac_ext
7314 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7315 > echo "${ECHO_T}$ac_header_preproc" >&6
7316 >
7317 > # So?  What about this header?
7318 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7319 >  yes:no: )
7320 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7321 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7322 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7323 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7324 >    ac_header_preproc=yes
7325 >    ;;
7326 >  no:yes:* )
7327 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7328 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7329 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7330 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7331 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7332 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7333 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7334 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7335 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7336 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7337 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7338 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7339 >    (
7340 >      cat <<\_ASBOX
7341 > ## ------------------------------ ##
7342 > ## Report this to gezelter@nd.edu ##
7343 > ## ------------------------------ ##
7344 > _ASBOX
7345 >    ) |
7346 >      sed "s/^/$as_me: WARNING:     /" >&2
7347 >    ;;
7348 > esac
7349 > echo "$as_me:$LINENO: checking for $ac_header" >&5
7350 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7351 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7352 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7353 > else
7354 >  eval "$as_ac_Header=\$ac_header_preproc"
7355 > fi
7356 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7357 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7358 >
7359 > fi
7360 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
7361 >  cat >>confdefs.h <<_ACEOF
7362 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7363 > _ACEOF
7364 >
7365 > fi
7366 >
7367 > done
7368 >
7369 >
7370 > for ac_func in getopt_long
7371 > do
7372 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7373 > echo "$as_me:$LINENO: checking for $ac_func" >&5
7374 > echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7375 > if eval "test \"\${$as_ac_var+set}\" = set"; then
7376 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7377 > else
7378 >  cat >conftest.$ac_ext <<_ACEOF
7379 > /* confdefs.h.  */
7380 > _ACEOF
7381 > cat confdefs.h >>conftest.$ac_ext
7382 > cat >>conftest.$ac_ext <<_ACEOF
7383 > /* end confdefs.h.  */
7384 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7385 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7386 > #define $ac_func innocuous_$ac_func
7387 >
7388 > /* System header to define __stub macros and hopefully few prototypes,
7389 >    which can conflict with char $ac_func (); below.
7390 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7391 >    <limits.h> exists even on freestanding compilers.  */
7392 >
7393 > #ifdef __STDC__
7394 > # include <limits.h>
7395 > #else
7396 > # include <assert.h>
7397 > #endif
7398 >
7399 > #undef $ac_func
7400 >
7401 > /* Override any gcc2 internal prototype to avoid an error.  */
7402 > #ifdef __cplusplus
7403 > extern "C"
7404 > {
7405 > #endif
7406 > /* We use char because int might match the return type of a gcc2
7407 >   builtin and then its argument prototype would still apply.  */
7408 > char $ac_func ();
7409 > /* The GNU C library defines this for functions which it implements
7410 >    to always fail with ENOSYS.  Some functions are actually named
7411 >    something starting with __ and the normal name is an alias.  */
7412 > #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7413 > choke me
7414 > #else
7415 > char (*f) () = $ac_func;
7416 > #endif
7417 > #ifdef __cplusplus
7418 > }
7419 > #endif
7420 >
7421 > int
7422 > main ()
7423 > {
7424 > return f != $ac_func;
7425 >  ;
7426 >  return 0;
7427 > }
7428 > _ACEOF
7429 > rm -f conftest.$ac_objext conftest$ac_exeext
7430 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7431 >  (eval $ac_link) 2>conftest.er1
7432 >  ac_status=$?
7433 >  grep -v '^ *+' conftest.er1 >conftest.err
7434 >  rm -f conftest.er1
7435 >  cat conftest.err >&5
7436 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437 >  (exit $ac_status); } &&
7438 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7439 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7440 >  (eval $ac_try) 2>&5
7441 >  ac_status=$?
7442 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443 >  (exit $ac_status); }; } &&
7444 >         { ac_try='test -s conftest$ac_exeext'
7445 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7446 >  (eval $ac_try) 2>&5
7447 >  ac_status=$?
7448 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7449 >  (exit $ac_status); }; }; then
7450 >  eval "$as_ac_var=yes"
7451 > else
7452 >  echo "$as_me: failed program was:" >&5
7453 > sed 's/^/| /' conftest.$ac_ext >&5
7454 >
7455 > eval "$as_ac_var=no"
7456 > fi
7457 > rm -f conftest.err conftest.$ac_objext \
7458 >      conftest$ac_exeext conftest.$ac_ext
7459 > fi
7460 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7461 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7462 > if test `eval echo '${'$as_ac_var'}'` = yes; then
7463 >  cat >>confdefs.h <<_ACEOF
7464 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7465 > _ACEOF
7466 >
7467 > else
7468 >  # FreeBSD has a gnugetopt library for this
7469 >    echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
7470 > echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
7471 > if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
7472 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7473 > else
7474 >  ac_check_lib_save_LIBS=$LIBS
7475 > LIBS="-lgnugetopt  $LIBS"
7476 > cat >conftest.$ac_ext <<_ACEOF
7477 > /* confdefs.h.  */
7478 > _ACEOF
7479 > cat confdefs.h >>conftest.$ac_ext
7480 > cat >>conftest.$ac_ext <<_ACEOF
7481 > /* end confdefs.h.  */
7482 >
7483 > /* Override any gcc2 internal prototype to avoid an error.  */
7484 > #ifdef __cplusplus
7485 > extern "C"
7486 > #endif
7487 > /* We use char because int might match the return type of a gcc2
7488 >   builtin and then its argument prototype would still apply.  */
7489 > char getopt_long ();
7490 > int
7491 > main ()
7492 > {
7493 > getopt_long ();
7494 >  ;
7495 >  return 0;
7496 > }
7497 > _ACEOF
7498 > rm -f conftest.$ac_objext conftest$ac_exeext
7499 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7500 >  (eval $ac_link) 2>conftest.er1
7501 >  ac_status=$?
7502 >  grep -v '^ *+' conftest.er1 >conftest.err
7503 >  rm -f conftest.er1
7504 >  cat conftest.err >&5
7505 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7506 >  (exit $ac_status); } &&
7507 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
7508 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7509 >  (eval $ac_try) 2>&5
7510 >  ac_status=$?
7511 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 >  (exit $ac_status); }; } &&
7513 >         { ac_try='test -s conftest$ac_exeext'
7514 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7515 >  (eval $ac_try) 2>&5
7516 >  ac_status=$?
7517 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7518 >  (exit $ac_status); }; }; then
7519 >  ac_cv_lib_gnugetopt_getopt_long=yes
7520 > else
7521 >  echo "$as_me: failed program was:" >&5
7522 > sed 's/^/| /' conftest.$ac_ext >&5
7523 >
7524 > ac_cv_lib_gnugetopt_getopt_long=no
7525 > fi
7526 > rm -f conftest.err conftest.$ac_objext \
7527 >      conftest$ac_exeext conftest.$ac_ext
7528 > LIBS=$ac_check_lib_save_LIBS
7529 > fi
7530 > echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
7531 > echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
7532 > if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
7533 >  cat >>confdefs.h <<\_ACEOF
7534 > #define HAVE_GETOPT_LONG 1
7535 > _ACEOF
7536 >
7537 > else
7538 >  # use the GNU replacement
7539 >      case $LIBOBJS in
7540 >    "getopt.$ac_objext"   | \
7541 >  *" getopt.$ac_objext"   | \
7542 >    "getopt.$ac_objext "* | \
7543 >  *" getopt.$ac_objext "* ) ;;
7544 >  *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
7545 > esac
7546 >
7547 >      case $LIBOBJS in
7548 >    "getopt1.$ac_objext"   | \
7549 >  *" getopt1.$ac_objext"   | \
7550 >    "getopt1.$ac_objext "* | \
7551 >  *" getopt1.$ac_objext "* ) ;;
7552 >  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
7553 > esac
7554 >
7555 >                ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
7556 >
7557 > fi
7558 >
7559 > fi
7560 > done
7561 >
7562 >
7563 >
7564 > case $debug in
7565 >  1)
7566 >     ;;
7567 >  *)
7568 >
7569 >
7570 >
7571 >
7572 >
7573 >
7574 > echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5
7575 > echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6
7576 > if test "${ac_cv_prog_really_gcc+set}" = set; then
7577 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7578 > else
7579 >
7580 > cat > conftest.c <<EOF
7581 > #ifdef __GNUC__
7582 >  #ifndef __INTEL_COMPILER
7583 >     yes;
7584 >  #endif
7585 > #endif
7586 > EOF
7587 > if { ac_try='${CC-cc} -E conftest.c'
7588 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7589 >  (eval $ac_try) 2>&5
7590 >  ac_status=$?
7591 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7592 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
7593 >  ac_cv_prog_really_gcc=yes
7594 > else
7595 >  ac_cv_prog_really_gcc=no
7596 > fi
7597 >
7598 > fi
7599 > echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5
7600 > echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6
7601 > if test "$ac_cv_prog_really_gcc" = yes; then
7602 >        :
7603 >
7604 > else
7605 >        :
7606 >
7607 > fi
7608 >
7609 >
7610 > # Try to determine "good" native compiler flags if none specified on command
7611 > # line
7612 > if test "$ac_test_CFLAGS" != "set"; then
7613 >  CFLAGS=""
7614 >  case "${host_cpu}-${host_os}" in
7615 >
7616 >  *linux*) if test "$CC" = icc; then
7617 >                    CFLAGS="-O"
7618 >                fi;;
7619 >  sparc-solaris2*) if test "$CC" = cc; then
7620 >                    CFLAGS="-native -fast -xO5 -dalign"
7621 >                 fi;;
7622 >
7623 >  alpha*-osf*)  if test "$CC" = cc; then
7624 >                    CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1"
7625 >                fi;;
7626 >
7627 >  hppa*-hpux*)  if test "$CC" = cc; then
7628 >                    CFLAGS="-Ae +O3 +Oall"
7629 >                fi;;
7630 >
7631 >   rs6000*-aix*)  if test "$CC" = cc -o "$CC" = xlc; then
7632 >                    CFLAGS="-O3 -qtune=auto -qansialias -w"
7633 >                fi;;
7634 >   powerpc*-aix*)
7635 >        if test "$CC" = cc -o "$CC" = xlc; then
7636 >                CFLAGS="-O3 -qtune=auto -qansialias -w"
7637 >                echo "*******************************************************"
7638 >                echo "*  You have AIX on an unknown powerpc system.  It is  *"
7639 >                echo "*  recommended that you use                           *"
7640 >                echo "*                                                     *"
7641 >                echo "*    CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
7642 >                echo "*                                 ^^^                 *"
7643 >                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
7644 >                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
7645 >                echo "*******************************************************"
7646 >        fi;;
7647 >   *darwin*)
7648 >        if test "$CC" = xlc -o "$CC" = cc; then
7649 >                CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
7650 >        fi;;
7651 >  esac
7652 >
7653 >  # use default flags for gcc on all systems
7654 >  if test $ac_cv_prog_really_gcc = yes; then
7655 >     CFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
7656 >  fi
7657 >
7658 >  # test for gcc-specific flags:
7659 >  if test $ac_cv_prog_really_gcc = yes; then
7660 >    # -malign-double for x86 systems
7661 >
7662 >
7663 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5
7664 > echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6
7665 > if test "${ac_align_double+set}" = set; then
7666 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7667 > else
7668 >  echo 'void f(){}' > conftest.c
7669 > if test -z "`${CC-cc} -malign-double -c conftest.c 2>&1`"; then
7670 >        ac_align_double=yes
7671 > else
7672 >        ac_align_double=no
7673 > fi
7674 > rm -f conftest*
7675 >
7676 > fi
7677 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
7678 > echo "${ECHO_T}$ac_align_double" >&6
7679 > if test "$ac_align_double" = yes; then
7680 >        :
7681 >        CFLAGS="$CFLAGS -malign-double"
7682 > else
7683 >        :
7684 >
7685 > fi
7686 >
7687 >    # -fstrict-aliasing for gcc-2.95+
7688 >
7689 >
7690 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
7691 > echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6
7692 > if test "${ac_fstrict_aliasing+set}" = set; then
7693 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7694 > else
7695 >  echo 'void f(){}' > conftest.c
7696 > if test -z "`${CC-cc} -fstrict-aliasing -c conftest.c 2>&1`"; then
7697 >        ac_fstrict_aliasing=yes
7698 > else
7699 >        ac_fstrict_aliasing=no
7700 > fi
7701 > rm -f conftest*
7702 >
7703 > fi
7704 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
7705 > echo "${ECHO_T}$ac_fstrict_aliasing" >&6
7706 > if test "$ac_fstrict_aliasing" = yes; then
7707 >        :
7708 >        CFLAGS="$CFLAGS -fstrict-aliasing"
7709 > else
7710 >        :
7711 >
7712 > fi
7713 >
7714 >  fi
7715 >
7716 >  CPU_FLAGS=""
7717 >  if test $ac_cv_prog_really_gcc = yes; then
7718 >                  case "${host_cpu}" in
7719 >          i586*)
7720 >
7721 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
7722 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
7723 > if test "${ac_cpu_pentium+set}" = set; then
7724 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7725 > else
7726 >  echo 'void f(){}' > conftest.c
7727 > if test -z "`${CC-cc} -mcpu=pentium -c conftest.c 2>&1`"; then
7728 >        ac_cpu_pentium=yes
7729 > else
7730 >        ac_cpu_pentium=no
7731 > fi
7732 > rm -f conftest*
7733 >
7734 > fi
7735 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
7736 > echo "${ECHO_T}$ac_cpu_pentium" >&6
7737 > if test "$ac_cpu_pentium" = yes; then
7738 >        :
7739 >        CPU_FLAGS=-mcpu=pentium
7740 > else
7741 >        :
7742 >
7743 >
7744 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5
7745 > echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6
7746 > if test "${ac_pentium+set}" = set; then
7747 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7748 > else
7749 >  echo 'void f(){}' > conftest.c
7750 > if test -z "`${CC-cc} -mpentium -c conftest.c 2>&1`"; then
7751 >        ac_pentium=yes
7752 > else
7753 >        ac_pentium=no
7754 > fi
7755 > rm -f conftest*
7756 >
7757 > fi
7758 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
7759 > echo "${ECHO_T}$ac_pentium" >&6
7760 > if test "$ac_pentium" = yes; then
7761 >        :
7762 >        CPU_FLAGS=-mpentium
7763 > else
7764 >        :
7765 >
7766 > fi
7767 >
7768 > fi
7769 >
7770 >                  ;;
7771 >          i686*)
7772 >
7773 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
7774 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6
7775 > if test "${ac_cpu_pentiumpro+set}" = set; then
7776 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7777 > else
7778 >  echo 'void f(){}' > conftest.c
7779 > if test -z "`${CC-cc} -mcpu=pentiumpro -c conftest.c 2>&1`"; then
7780 >        ac_cpu_pentiumpro=yes
7781 > else
7782 >        ac_cpu_pentiumpro=no
7783 > fi
7784 > rm -f conftest*
7785 >
7786 > fi
7787 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
7788 > echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
7789 > if test "$ac_cpu_pentiumpro" = yes; then
7790 >        :
7791 >        CPU_FLAGS=-mcpu=pentiumpro
7792 > else
7793 >        :
7794 >
7795 >
7796 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5
7797 > echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6
7798 > if test "${ac_pentiumpro+set}" = set; then
7799 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7800 > else
7801 >  echo 'void f(){}' > conftest.c
7802 > if test -z "`${CC-cc} -mpentiumpro -c conftest.c 2>&1`"; then
7803 >        ac_pentiumpro=yes
7804 > else
7805 >        ac_pentiumpro=no
7806 > fi
7807 > rm -f conftest*
7808 >
7809 > fi
7810 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
7811 > echo "${ECHO_T}$ac_pentiumpro" >&6
7812 > if test "$ac_pentiumpro" = yes; then
7813 >        :
7814 >        CPU_FLAGS=-mpentiumpro
7815 > else
7816 >        :
7817 >
7818 > fi
7819 >
7820 > fi
7821 >
7822 >                  ;;
7823 >          powerpc*)
7824 >                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
7825 >                is60x=`echo $cputype | egrep "^600-9e?$"`
7826 >                if test -n "$is60x"; then
7827 >
7828 >
7829 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
7830 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6
7831 > if test "${ac_m_cpu_60x+set}" = set; then
7832 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7833 > else
7834 >  echo 'void f(){}' > conftest.c
7835 > if test -z "`${CC-cc} -mcpu=$cputype -c conftest.c 2>&1`"; then
7836 >        ac_m_cpu_60x=yes
7837 > else
7838 >        ac_m_cpu_60x=no
7839 > fi
7840 > rm -f conftest*
7841 >
7842 > fi
7843 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
7844 > echo "${ECHO_T}$ac_m_cpu_60x" >&6
7845 > if test "$ac_m_cpu_60x" = yes; then
7846 >        :
7847 >        CPU_FLAGS=-mcpu=$cputype
7848 > else
7849 >        :
7850 >
7851 > fi
7852 >
7853 >                elif test "$cputype" = 750; then
7854 >
7855 >
7856 > echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
7857 > echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
7858 > if test "${ac_cv_prog_gcc_2_95+set}" = set; then
7859 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7860 > else
7861 >
7862 > cat > conftest.c <<EOF
7863 > #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
7864 > #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
7865 >     yes;
7866 > #  endif
7867 > #endif
7868 > EOF
7869 > if { ac_try='${CC-cc} -E conftest.c'
7870 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7871 >  (eval $ac_try) 2>&5
7872 >  ac_status=$?
7873 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7874 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
7875 >  ac_cv_prog_gcc_2_95=yes
7876 > else
7877 >  ac_cv_prog_gcc_2_95=no
7878 > fi
7879 >
7880 > fi
7881 > echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
7882 > echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
7883 > if test "$ac_cv_prog_gcc_2_95" = yes; then
7884 >        :
7885 >
7886 >
7887 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5
7888 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6
7889 > if test "${ac_m_cpu_750+set}" = set; then
7890 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7891 > else
7892 >  echo 'void f(){}' > conftest.c
7893 > if test -z "`${CC-cc} -mcpu=750 -c conftest.c 2>&1`"; then
7894 >        ac_m_cpu_750=yes
7895 > else
7896 >        ac_m_cpu_750=no
7897 > fi
7898 > rm -f conftest*
7899 >
7900 > fi
7901 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
7902 > echo "${ECHO_T}$ac_m_cpu_750" >&6
7903 > if test "$ac_m_cpu_750" = yes; then
7904 >        :
7905 >        CPU_FLAGS=-mcpu=750
7906 > else
7907 >        :
7908 >
7909 > fi
7910 >
7911 > else
7912 >        :
7913 >
7914 > fi
7915 >
7916 >                fi
7917 >                if test -z "$CPU_FLAGS"; then
7918 >
7919 >
7920 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
7921 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6
7922 > if test "${ac_m_cpu_powerpc+set}" = set; then
7923 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7924 > else
7925 >  echo 'void f(){}' > conftest.c
7926 > if test -z "`${CC-cc} -mcpu=powerpc -c conftest.c 2>&1`"; then
7927 >        ac_m_cpu_powerpc=yes
7928 > else
7929 >        ac_m_cpu_powerpc=no
7930 > fi
7931 > rm -f conftest*
7932 >
7933 > fi
7934 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
7935 > echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
7936 > if test "$ac_m_cpu_powerpc" = yes; then
7937 >        :
7938 >        CPU_FLAGS=-mcpu=powerpc
7939 > else
7940 >        :
7941 >
7942 > fi
7943 >
7944 >                fi
7945 >                if test -z "$CPU_FLAGS"; then
7946 >
7947 >
7948 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5
7949 > echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6
7950 > if test "${ac_m_powerpc+set}" = set; then
7951 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7952 > else
7953 >  echo 'void f(){}' > conftest.c
7954 > if test -z "`${CC-cc} -mpowerpc -c conftest.c 2>&1`"; then
7955 >        ac_m_powerpc=yes
7956 > else
7957 >        ac_m_powerpc=no
7958 > fi
7959 > rm -f conftest*
7960 >
7961 > fi
7962 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
7963 > echo "${ECHO_T}$ac_m_powerpc" >&6
7964 > if test "$ac_m_powerpc" = yes; then
7965 >        :
7966 >        CPU_FLAGS=-mpowerpc
7967 > else
7968 >        :
7969 >
7970 > fi
7971 >
7972 >                fi
7973 >          esac
7974 >  fi
7975 >
7976 >  if test -n "$CPU_FLAGS"; then
7977 >        CFLAGS="$CFLAGS $CPU_FLAGS"
7978 >  fi
7979 >
7980 >  if test -z "$CFLAGS"; then
7981 >        echo ""
7982 >        echo "********************************************************"
7983 >        echo "* WARNING: Don't know the best CFLAGS for this system  *"
7984 >        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
7985 >        echo "* (otherwise, a default of CFLAGS=-O3 will be used)    *"
7986 >        echo "********************************************************"
7987 >        echo ""
7988 >        CFLAGS="-O3"
7989 >  fi
7990 >
7991 >
7992 >
7993 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
7994 > echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6
7995 > if test "${ac_guessed_cflags+set}" = set; then
7996 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7997 > else
7998 >  echo 'void f(){}' > conftest.c
7999 > if test -z "`${CC-cc} ${CFLAGS} -c conftest.c 2>&1`"; then
8000 >        ac_guessed_cflags=yes
8001 > else
8002 >        ac_guessed_cflags=no
8003 > fi
8004 > rm -f conftest*
8005 >
8006 > fi
8007 > echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
8008 > echo "${ECHO_T}$ac_guessed_cflags" >&6
8009 > if test "$ac_guessed_cflags" = yes; then
8010 >        :
8011 >
8012 > else
8013 >        :
8014 >
8015 >        echo ""
8016 >        echo "********************************************************"
8017 >        echo "* WARNING: The guessed CFLAGS don't seem to work with  *"
8018 >        echo "* your compiler.                                       *"
8019 >        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
8020 >        echo "********************************************************"
8021 >        echo ""
8022 >        CFLAGS=""
8023 >
8024 > fi
8025 >
8026 >
8027 > fi
8028 >
8029 >
8030 >
8031 >
8032 >
8033 >
8034 >
8035 > echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5
8036 > echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6
8037 > if test "${ac_cv_prog_really_gxx+set}" = set; then
8038 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8039 > else
8040 >
8041 > cat > conftest.cpp <<EOF
8042 > #ifdef __GNUC__
8043 >  #ifndef __INTEL_COMPILER
8044 >     yes;
8045 >  #endif
8046 > #endif
8047 > EOF
8048 > if { ac_try='${CXX-c++} -E conftest.cpp'
8049 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8050 >  (eval $ac_try) 2>&5
8051 >  ac_status=$?
8052 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8053 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
8054 >  ac_cv_prog_really_gxx=yes
8055 > else
8056 >  ac_cv_prog_really_gxx=no
8057 > fi
8058 >
8059 > fi
8060 > echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5
8061 > echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6
8062 > if test "$ac_cv_prog_really_gxx" = yes; then
8063 >        :
8064 >
8065 > else
8066 >        :
8067 >
8068 > fi
8069 >
8070 >
8071 > # Try to determine "good" native compiler flags if none specified on command
8072 > # line
8073 > if test "$ac_test_CXXFLAGS" != "set"; then
8074 >  CXXFLAGS=""
8075 >  case "${host_cpu}-${host_os}" in
8076 >
8077 >  *linux*) if test "$CXX" = icc -o "$CXX" = icpc; then
8078 >                    CXXFLAGS="-O"
8079 >                fi;;
8080 >  sparc-solaris2*) if test "$CXX" = CC; then
8081 >                    CXXFLAGS="-native -fast -xO5 -dalign"
8082 >                 fi;;
8083 >   rs6000*-aix*)  if test "$CXX" = xlC; then
8084 >                    CXXFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
8085 >                fi;;
8086 >   powerpc*-aix*)
8087 >        if test "$CXX" = xlC; then
8088 >                CXXFLAGS="-O3 -qarch=ppc -qansialias -w"
8089 >                echo "*******************************************************"
8090 >                echo "*  You have AIX on an unknown powerpc system.  It is  *"
8091 >                echo "*  recommended that you use                           *"
8092 >                echo "*                                                     *"
8093 >                echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
8094 >                echo "*                                 ^^^                 *"
8095 >                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
8096 >                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
8097 >                echo "*******************************************************"
8098 >        fi;;
8099 >   *darwin*)
8100 >        if test "$CXX" = xlc++ -o "$CXX" = xlC ; then
8101 >                CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
8102 >        fi;;
8103 >  esac
8104 >
8105 >  # use default flags for gcc on all systems
8106 >  if test $ac_cv_prog_really_gxx = yes; then
8107 >     CXXFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
8108 >  fi
8109 >
8110 >  # test for gcc-specific flags:
8111 >  if test $ac_cv_prog_really_gxx = yes; then
8112 >    # -malign-double for x86 systems
8113 >
8114 >
8115 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5
8116 > echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6
8117 > if test "${ac_align_double+set}" = set; then
8118 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8119 > else
8120 >  echo 'void f(){}' > conftest.cpp
8121 > if test -z "`${CXX-c++} -malign-double -c conftest.cpp 2>&1`"; then
8122 >        ac_align_double=yes
8123 > else
8124 >        ac_align_double=no
8125 > fi
8126 > rm -f conftest*
8127 >
8128 > fi
8129 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
8130 > echo "${ECHO_T}$ac_align_double" >&6
8131 > if test "$ac_align_double" = yes; then
8132 >        :
8133 >        CXXFLAGS="$CXXFLAGS -malign-double"
8134 > else
8135 >        :
8136 >
8137 > fi
8138 >
8139 >    # -fstrict-aliasing for gcc-2.95+
8140 >
8141 >
8142 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
8143 > echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6
8144 > if test "${ac_fstrict_aliasing+set}" = set; then
8145 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8146 > else
8147 >  echo 'void f(){}' > conftest.cpp
8148 > if test -z "`${CXX-c++} -fstrict-aliasing -c conftest.cpp 2>&1`"; then
8149 >        ac_fstrict_aliasing=yes
8150 > else
8151 >        ac_fstrict_aliasing=no
8152 > fi
8153 > rm -f conftest*
8154 >
8155 > fi
8156 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
8157 > echo "${ECHO_T}$ac_fstrict_aliasing" >&6
8158 > if test "$ac_fstrict_aliasing" = yes; then
8159 >        :
8160 >        CXXFLAGS="$CXXFLAGS -fstrict-aliasing"
8161 > else
8162 >        :
8163 >
8164 > fi
8165 >
8166 >  fi
8167 >
8168 >  CPU_FLAGS=""
8169 >  if test $ac_cv_prog_really_gxx = yes; then
8170 >                  case "${host_cpu}" in
8171 >          i586*)
8172 >
8173 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5
8174 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentium... $ECHO_C" >&6
8175 > if test "${ac_cpu_pentium+set}" = set; then
8176 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8177 > else
8178 >  echo 'void f(){}' > conftest.cpp
8179 > if test -z "`${CXX-c++} -mcpu=pentium -c conftest.cpp 2>&1`"; then
8180 >        ac_cpu_pentium=yes
8181 > else
8182 >        ac_cpu_pentium=no
8183 > fi
8184 > rm -f conftest*
8185 >
8186 > fi
8187 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
8188 > echo "${ECHO_T}$ac_cpu_pentium" >&6
8189 > if test "$ac_cpu_pentium" = yes; then
8190 >        :
8191 >        CPU_FLAGS=-mcpu=pentium
8192 > else
8193 >        :
8194 >
8195 >
8196 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5
8197 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6
8198 > if test "${ac_pentium+set}" = set; then
8199 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8200 > else
8201 >  echo 'void f(){}' > conftest.cpp
8202 > if test -z "`${CXX-c++} -mpentium -c conftest.cpp 2>&1`"; then
8203 >        ac_pentium=yes
8204 > else
8205 >        ac_pentium=no
8206 > fi
8207 > rm -f conftest*
8208 >
8209 > fi
8210 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
8211 > echo "${ECHO_T}$ac_pentium" >&6
8212 > if test "$ac_pentium" = yes; then
8213 >        :
8214 >        CPU_FLAGS=-mpentium
8215 > else
8216 >        :
8217 >
8218 > fi
8219 >
8220 > fi
8221 >
8222 >                  ;;
8223 >          i686*)
8224 >
8225 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
8226 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6
8227 > if test "${ac_cpu_pentiumpro+set}" = set; then
8228 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8229 > else
8230 >  echo 'void f(){}' > conftest.cpp
8231 > if test -z "`${CXX-c++} -mcpu=pentiumpro -c conftest.cpp 2>&1`"; then
8232 >        ac_cpu_pentiumpro=yes
8233 > else
8234 >        ac_cpu_pentiumpro=no
8235 > fi
8236 > rm -f conftest*
8237 >
8238 > fi
8239 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
8240 > echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
8241 > if test "$ac_cpu_pentiumpro" = yes; then
8242 >        :
8243 >        CPU_FLAGS=-mcpu=pentiumpro
8244 > else
8245 >        :
8246 >
8247 >
8248 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
8249 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6
8250 > if test "${ac_pentiumpro+set}" = set; then
8251 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8252 > else
8253 >  echo 'void f(){}' > conftest.cpp
8254 > if test -z "`${CXX-c++} -mpentiumpro -c conftest.cpp 2>&1`"; then
8255 >        ac_pentiumpro=yes
8256 > else
8257 >        ac_pentiumpro=no
8258 > fi
8259 > rm -f conftest*
8260 >
8261 > fi
8262 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
8263 > echo "${ECHO_T}$ac_pentiumpro" >&6
8264 > if test "$ac_pentiumpro" = yes; then
8265 >        :
8266 >        CPU_FLAGS=-mpentiumpro
8267 > else
8268 >        :
8269 >
8270 > fi
8271 >
8272 > fi
8273 >
8274 >                  ;;
8275 >          powerpc*)
8276 >                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
8277 >                is60x=`echo $cputype | egrep "^600-9e?$"`
8278 >                if test -n "$is60x"; then
8279 >
8280 >
8281 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
8282 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6
8283 > if test "${ac_m_cpu_60x+set}" = set; then
8284 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8285 > else
8286 >  echo 'void f(){}' > conftest.cpp
8287 > if test -z "`${CXX-c++} -mcpu=$cputype -c conftest.cpp 2>&1`"; then
8288 >        ac_m_cpu_60x=yes
8289 > else
8290 >        ac_m_cpu_60x=no
8291 > fi
8292 > rm -f conftest*
8293 >
8294 > fi
8295 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
8296 > echo "${ECHO_T}$ac_m_cpu_60x" >&6
8297 > if test "$ac_m_cpu_60x" = yes; then
8298 >        :
8299 >        CPU_FLAGS=-mcpu=$cputype
8300 > else
8301 >        :
8302 >
8303 > fi
8304 >
8305 >                elif test "$cputype" = 750; then
8306 >
8307 >
8308 > echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5
8309 > echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6
8310 > if test "${ac_cv_prog_gxx_2_95+set}" = set; then
8311 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8312 > else
8313 >
8314 > cat > conftest.cpp <<EOF
8315 > #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
8316 > #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
8317 >     yes;
8318 > #  endif
8319 > #endif
8320 > EOF
8321 > if { ac_try='${CXX-c++} -E conftest.cpp'
8322 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8323 >  (eval $ac_try) 2>&5
8324 >  ac_status=$?
8325 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
8327 >  ac_cv_prog_gxx_2_95=yes
8328 > else
8329 >  ac_cv_prog_gxx_2_95=no
8330 > fi
8331 >
8332 > fi
8333 > echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5
8334 > echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6
8335 > if test "$ac_cv_prog_gxx_2_95" = yes; then
8336 >        :
8337 >
8338 >
8339 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5
8340 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6
8341 > if test "${ac_m_cpu_750+set}" = set; then
8342 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8343 > else
8344 >  echo 'void f(){}' > conftest.cpp
8345 > if test -z "`${CXX-c++} -mcpu=750 -c conftest.cpp 2>&1`"; then
8346 >        ac_m_cpu_750=yes
8347 > else
8348 >        ac_m_cpu_750=no
8349 > fi
8350 > rm -f conftest*
8351 >
8352 > fi
8353 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
8354 > echo "${ECHO_T}$ac_m_cpu_750" >&6
8355 > if test "$ac_m_cpu_750" = yes; then
8356 >        :
8357 >        CPU_FLAGS=-mcpu=750
8358 > else
8359 >        :
8360 >
8361 > fi
8362 >
8363 > else
8364 >        :
8365 >
8366 > fi
8367 >
8368 >                fi
8369 >                if test -z "$CPU_FLAGS"; then
8370 >
8371 >
8372 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
8373 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6
8374 > if test "${ac_m_cpu_powerpc+set}" = set; then
8375 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8376 > else
8377 >  echo 'void f(){}' > conftest.cpp
8378 > if test -z "`${CXX-c++} -mcpu=powerpc -c conftest.cpp 2>&1`"; then
8379 >        ac_m_cpu_powerpc=yes
8380 > else
8381 >        ac_m_cpu_powerpc=no
8382 > fi
8383 > rm -f conftest*
8384 >
8385 > fi
8386 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
8387 > echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
8388 > if test "$ac_m_cpu_powerpc" = yes; then
8389 >        :
8390 >        CPU_FLAGS=-mcpu=powerpc
8391 > else
8392 >        :
8393 >
8394 > fi
8395 >
8396 >                fi
8397 >                if test -z "$CPU_FLAGS"; then
8398 >
8399 >
8400 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5
8401 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6
8402 > if test "${ac_m_powerpc+set}" = set; then
8403 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8404 > else
8405 >  echo 'void f(){}' > conftest.cpp
8406 > if test -z "`${CXX-c++} -mpowerpc -c conftest.cpp 2>&1`"; then
8407 >        ac_m_powerpc=yes
8408 > else
8409 >        ac_m_powerpc=no
8410 > fi
8411 > rm -f conftest*
8412 >
8413 > fi
8414 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
8415 > echo "${ECHO_T}$ac_m_powerpc" >&6
8416 > if test "$ac_m_powerpc" = yes; then
8417 >        :
8418 >        CPU_FLAGS=-mpowerpc
8419 > else
8420 >        :
8421 >
8422 > fi
8423 >
8424 >                fi
8425 >          esac
8426 >  fi
8427 >
8428 >  if test -n "$CPU_FLAGS"; then
8429 >        CXXFLAGS="$CXXFLAGS $CPU_FLAGS"
8430 >  fi
8431 >
8432 >  if test -z "$CXXFLAGS"; then
8433 >        echo ""
8434 >        echo "**********************************************************"
8435 >        echo "* WARNING: Don't know the best CXXFLAGS for this system  *"
8436 >        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
8437 >        echo "* (otherwise, a default of CXXFLAGS=-O3 will be used)    *"
8438 >        echo "**********************************************************"
8439 >        echo ""
8440 >        CXXFLAGS="-O3"
8441 >  fi
8442 >
8443 >
8444 >
8445 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
8446 > echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6
8447 > if test "${ac_guessed_cxxflags+set}" = set; then
8448 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8449 > else
8450 >  echo 'void f(){}' > conftest.cpp
8451 > if test -z "`${CXX-c++} ${CXXFLAGS} -c conftest.cpp 2>&1`"; then
8452 >        ac_guessed_cxxflags=yes
8453 > else
8454 >        ac_guessed_cxxflags=no
8455 > fi
8456 > rm -f conftest*
8457 >
8458 > fi
8459 > echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5
8460 > echo "${ECHO_T}$ac_guessed_cxxflags" >&6
8461 > if test "$ac_guessed_cxxflags" = yes; then
8462 >        :
8463 >
8464 > else
8465 >        :
8466 >
8467 >        echo ""
8468 >        echo "**********************************************************"
8469 >        echo "* WARNING: The guessed CXXFLAGS don't seem to work with  *"
8470 >        echo "* your compiler.                                         *"
8471 >        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
8472 >        echo "**********************************************************"
8473 >        echo ""
8474 >        CXXFLAGS=""
8475 >
8476 > fi
8477 >
8478 >
8479 > fi
8480 >
8481 >
8482 >
8483 >
8484 >
8485 > # Try to determine "good" native compiler flags if none specified on command
8486 > # line
8487 >
8488 > if test x"$F90FLAGS" = x ; then
8489 >  F90FLAGS=""
8490 >  case "${host_cpu}-${host_os}" in
8491 >
8492 >  *linux*) if test "$F90" = ifc -o "$F90" = ifort; then
8493 >                    F90FLAGS="-O"
8494 >                fi;;
8495 >   rs6000*-aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
8496 >                    F90FLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
8497 >                fi;;
8498 >   powerpc*-aix*)
8499 >        if test "$F90" = f90 -o "$F90" = xlf90; then
8500 >                F90FLAGS="-O3 -qarch=ppc -qansialias -w"
8501 >                echo "*******************************************************"
8502 >                echo "*  You have AIX on an unknown powerpc system.  It is  *"
8503 >                echo "*  recommended that you use                           *"
8504 >                echo "*                                                     *"
8505 >                echo "*  F90FLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
8506 >                echo "*                                 ^^^                 *"
8507 >                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
8508 >                echo "*  PowerPC CPU you have.   For more info, man xlf.    *"
8509 >                echo "*******************************************************"
8510 >        fi;;
8511 >   *darwin*)
8512 >        if test "$F90" = f90 -o "$F90" = xlf90 -o "$F90" = xlf95; then
8513 >                F90FLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto"
8514 >        fi;;
8515 >  esac
8516 >
8517 >  if test -n "$CPU_FLAGS"; then
8518 >        F90FLAGS="$F90FLAGS $CPU_FLAGS"
8519 >  fi
8520 >
8521 >  if test -z "$F90FLAGS"; then
8522 >        echo ""
8523 >        echo "**********************************************************"
8524 >        echo "* WARNING: Don't know the best F90FLAGS for this system  *"
8525 >        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
8526 >        echo "* (otherwise, a default of F90FLAGS=-O3 will be used)    *"
8527 >        echo "**********************************************************"
8528 >        echo ""
8529 >        F90FLAGS="-O3"
8530 >  fi
8531 >
8532 >
8533 > echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
8534 > echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6
8535 > if test "${ac_guessed_f90flags+set}" = set; then
8536 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8537 > else
8538 >
8539 >
8540 >
8541 > ac_ext=f90
8542 > ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
8543 > ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8544 > ac_compiler_gnu=$ac_cv_f90_compiler_gnu
8545 >
8546 > echo 'program main' > conftest.$ac_ext
8547 > echo 'end program main' >> conftest.$ac_ext
8548 > ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5'
8549 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8550 >  (eval $ac_compile) 2>&5
8551 >  ac_status=$?
8552 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8553 >  (exit $ac_status); }; then
8554 >        ac_guessed_f90flags=yes
8555 > else
8556 >        ac_guessed_f90flags=no
8557 > fi
8558 > rm -f conftest*
8559 > ac_ext=c
8560 > ac_cpp='$CPP $CPPFLAGS'
8561 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8562 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8563 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
8564 >
8565 >
8566 > fi
8567 > echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5
8568 > echo "${ECHO_T}$ac_guessed_f90flags" >&6
8569 > if test "$ac_guessed_f90flags" = yes; then
8570 >        :
8571 >
8572 > else
8573 >        :
8574 >
8575 >        echo ""
8576 >        echo "**********************************************************"
8577 >        echo "* WARNING: The guessed F90FLAGS don't seem to work with  *"
8578 >        echo "* your compiler.                                         *"
8579 >        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
8580 >        echo "**********************************************************"
8581 >        echo ""
8582 >        F90FLAGS=""
8583 >
8584 > fi
8585 >
8586 >
8587 > fi
8588 >
8589 >     ;;
8590 > esac
8591 >
8592 > # Find a good install program.  We prefer a C program (faster),
8593 > # so one script is as good as another.  But avoid the broken or
8594 > # incompatible versions:
8595 > # SysV /etc/install, /usr/sbin/install
8596 > # SunOS /usr/etc/install
8597 > # IRIX /sbin/install
8598 > # AIX /bin/install
8599 > # AmigaOS /C/install, which installs bootblocks on floppy discs
8600 > # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8601 > # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8602 > # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8603 > # OS/2's system install, which has a completely different semantic
8604 > # ./install, which can be erroneously created by make from ./install.sh.
8605 > echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8606 > echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
8607 > if test -z "$INSTALL"; then
8608 > if test "${ac_cv_path_install+set}" = set; then
8609 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8610 > else
8611 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8612 > for as_dir in $PATH
8613 > do
8614 >  IFS=$as_save_IFS
8615 >  test -z "$as_dir" && as_dir=.
8616 >  # Account for people who put trailing slashes in PATH elements.
8617 > case $as_dir/ in
8618 >  ./ | .// | /cC/* | \
8619 >  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
8620 >  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
8621 >  /usr/ucb/* ) ;;
8622 >  *)
8623 >    # OSF1 and SCO ODT 3.0 have their own names for install.
8624 >    # Don't use installbsd from OSF since it installs stuff as root
8625 >    # by default.
8626 >    for ac_prog in ginstall scoinst install; do
8627 >      for ac_exec_ext in '' $ac_executable_extensions; do
8628 >        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
8629 >          if test $ac_prog = install &&
8630 >            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
8631 >            # AIX install.  It has an incompatible calling convention.
8632 >            :
8633 >          elif test $ac_prog = install &&
8634 >            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
8635 >            # program-specific install script used by HP pwplus--don't use.
8636 >            :
8637 >          else
8638 >            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
8639 >            break 3
8640 >          fi
8641 >        fi
8642 >      done
8643 >    done
8644 >    ;;
8645 > esac
8646 > done
8647 >
8648 >
8649 > fi
8650 >  if test "${ac_cv_path_install+set}" = set; then
8651 >    INSTALL=$ac_cv_path_install
8652 >  else
8653 >    # As a last resort, use the slow shell script.  We don't cache a
8654 >    # path for INSTALL within a source directory, because that will
8655 >    # break other packages using the cache if that directory is
8656 >    # removed, or if the path is relative.
8657 >    INSTALL=$ac_install_sh
8658 >  fi
8659 > fi
8660 > echo "$as_me:$LINENO: result: $INSTALL" >&5
8661 > echo "${ECHO_T}$INSTALL" >&6
8662 >
8663 > # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8664 > # It thinks the first close brace ends the variable substitution.
8665 > test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
8666 >
8667 > test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
8668 >
8669 > test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
8670 >
8671 > echo "$as_me:$LINENO: checking whether ln -s works" >&5
8672 > echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
8673 > LN_S=$as_ln_s
8674 > if test "$LN_S" = "ln -s"; then
8675 >  echo "$as_me:$LINENO: result: yes" >&5
8676 > echo "${ECHO_T}yes" >&6
8677 > else
8678 >  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8679 > echo "${ECHO_T}no, using $LN_S" >&6
8680 > fi
8681 >
8682 > echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8683 > echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
8684 > set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
8685 > if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
8686 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8687 > else
8688 >  cat >conftest.make <<\_ACEOF
8689 > all:
8690 >        @echo 'ac_maketemp="$(MAKE)"'
8691 > _ACEOF
8692 > # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8693 > eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
8694 > if test -n "$ac_maketemp"; then
8695 >  eval ac_cv_prog_make_${ac_make}_set=yes
8696 > else
8697 >  eval ac_cv_prog_make_${ac_make}_set=no
8698 > fi
8699 > rm -f conftest.make
8700 > fi
8701 > if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
8702 >  echo "$as_me:$LINENO: result: yes" >&5
8703 > echo "${ECHO_T}yes" >&6
8704 >  SET_MAKE=
8705 > else
8706 >  echo "$as_me:$LINENO: result: no" >&5
8707 > echo "${ECHO_T}no" >&6
8708 >  SET_MAKE="MAKE=${MAKE-make}"
8709 > fi
8710 >
8711 > if test -n "$ac_tool_prefix"; then
8712 >  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8713 > set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8714 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8715 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8716 > if test "${ac_cv_prog_RANLIB+set}" = set; then
8717 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8718 > else
8719 >  if test -n "$RANLIB"; then
8720 >  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8721 > else
8722 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8723 > for as_dir in $PATH
8724 > do
8725 >  IFS=$as_save_IFS
8726 >  test -z "$as_dir" && as_dir=.
8727 >  for ac_exec_ext in '' $ac_executable_extensions; do
8728 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8729 >    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8730 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8731 >    break 2
8732 >  fi
8733 > done
8734 > done
8735 >
8736 > fi
8737 > fi
8738 > RANLIB=$ac_cv_prog_RANLIB
8739 > if test -n "$RANLIB"; then
8740 >  echo "$as_me:$LINENO: result: $RANLIB" >&5
8741 > echo "${ECHO_T}$RANLIB" >&6
8742 > else
8743 >  echo "$as_me:$LINENO: result: no" >&5
8744 > echo "${ECHO_T}no" >&6
8745 > fi
8746 >
8747 > fi
8748 > if test -z "$ac_cv_prog_RANLIB"; then
8749 >  ac_ct_RANLIB=$RANLIB
8750 >  # Extract the first word of "ranlib", so it can be a program name with args.
8751 > set dummy ranlib; ac_word=$2
8752 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8753 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8754 > if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8755 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8756 > else
8757 >  if test -n "$ac_ct_RANLIB"; then
8758 >  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8759 > else
8760 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8761 > for as_dir in $PATH
8762 > do
8763 >  IFS=$as_save_IFS
8764 >  test -z "$as_dir" && as_dir=.
8765 >  for ac_exec_ext in '' $ac_executable_extensions; do
8766 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8767 >    ac_cv_prog_ac_ct_RANLIB="ranlib"
8768 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8769 >    break 2
8770 >  fi
8771 > done
8772 > done
8773 >
8774 >  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
8775 > fi
8776 > fi
8777 > ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8778 > if test -n "$ac_ct_RANLIB"; then
8779 >  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8780 > echo "${ECHO_T}$ac_ct_RANLIB" >&6
8781 > else
8782 >  echo "$as_me:$LINENO: result: no" >&5
8783 > echo "${ECHO_T}no" >&6
8784 > fi
8785 >
8786 >  RANLIB=$ac_ct_RANLIB
8787 > else
8788 >  RANLIB="$ac_cv_prog_RANLIB"
8789 > fi
8790 >
8791 > for ac_prog in 'bison -y' byacc
8792 > do
8793 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
8794 > set dummy $ac_prog; ac_word=$2
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_YACC+set}" = set; then
8798 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8799 > else
8800 >  if test -n "$YACC"; then
8801 >  ac_cv_prog_YACC="$YACC" # Let the user override the test.
8802 > else
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_YACC="$ac_prog"
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 > fi
8818 > fi
8819 > YACC=$ac_cv_prog_YACC
8820 > if test -n "$YACC"; then
8821 >  echo "$as_me:$LINENO: result: $YACC" >&5
8822 > echo "${ECHO_T}$YACC" >&6
8823 > else
8824 >  echo "$as_me:$LINENO: result: no" >&5
8825 > echo "${ECHO_T}no" >&6
8826 > fi
8827 >
8828 >  test -n "$YACC" && break
8829 > done
8830 > test -n "$YACC" || YACC="yacc"
8831 >
8832 > for ac_prog in flex lex
8833 > do
8834 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
8835 > set dummy $ac_prog; ac_word=$2
8836 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8837 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8838 > if test "${ac_cv_prog_LEX+set}" = set; then
8839 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8840 > else
8841 >  if test -n "$LEX"; then
8842 >  ac_cv_prog_LEX="$LEX" # Let the user override the test.
8843 > else
8844 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8845 > for as_dir in $PATH
8846 > do
8847 >  IFS=$as_save_IFS
8848 >  test -z "$as_dir" && as_dir=.
8849 >  for ac_exec_ext in '' $ac_executable_extensions; do
8850 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8851 >    ac_cv_prog_LEX="$ac_prog"
8852 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8853 >    break 2
8854 >  fi
8855 > done
8856 > done
8857 >
8858 > fi
8859 > fi
8860 > LEX=$ac_cv_prog_LEX
8861 > if test -n "$LEX"; then
8862 >  echo "$as_me:$LINENO: result: $LEX" >&5
8863 > echo "${ECHO_T}$LEX" >&6
8864 > else
8865 >  echo "$as_me:$LINENO: result: no" >&5
8866 > echo "${ECHO_T}no" >&6
8867 > fi
8868 >
8869 >  test -n "$LEX" && break
8870 > done
8871 > test -n "$LEX" || LEX=":"
8872 >
8873 > if test -z "$LEXLIB"
8874 > then
8875 >  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
8876 > echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
8877 > if test "${ac_cv_lib_fl_yywrap+set}" = set; then
8878 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8879 > else
8880 >  ac_check_lib_save_LIBS=$LIBS
8881 > LIBS="-lfl  $LIBS"
8882 > cat >conftest.$ac_ext <<_ACEOF
8883 > /* confdefs.h.  */
8884 > _ACEOF
8885 > cat confdefs.h >>conftest.$ac_ext
8886 > cat >>conftest.$ac_ext <<_ACEOF
8887 > /* end confdefs.h.  */
8888 >
8889 > /* Override any gcc2 internal prototype to avoid an error.  */
8890 > #ifdef __cplusplus
8891 > extern "C"
8892 > #endif
8893 > /* We use char because int might match the return type of a gcc2
8894 >   builtin and then its argument prototype would still apply.  */
8895 > char yywrap ();
8896 > int
8897 > main ()
8898 > {
8899 > yywrap ();
8900 >  ;
8901 >  return 0;
8902 > }
8903 > _ACEOF
8904 > rm -f conftest.$ac_objext conftest$ac_exeext
8905 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8906 >  (eval $ac_link) 2>conftest.er1
8907 >  ac_status=$?
8908 >  grep -v '^ *+' conftest.er1 >conftest.err
8909 >  rm -f conftest.er1
8910 >  cat conftest.err >&5
8911 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8912 >  (exit $ac_status); } &&
8913 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8914 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8915 >  (eval $ac_try) 2>&5
8916 >  ac_status=$?
8917 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8918 >  (exit $ac_status); }; } &&
8919 >         { ac_try='test -s conftest$ac_exeext'
8920 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8921 >  (eval $ac_try) 2>&5
8922 >  ac_status=$?
8923 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8924 >  (exit $ac_status); }; }; then
8925 >  ac_cv_lib_fl_yywrap=yes
8926 > else
8927 >  echo "$as_me: failed program was:" >&5
8928 > sed 's/^/| /' conftest.$ac_ext >&5
8929 >
8930 > ac_cv_lib_fl_yywrap=no
8931 > fi
8932 > rm -f conftest.err conftest.$ac_objext \
8933 >      conftest$ac_exeext conftest.$ac_ext
8934 > LIBS=$ac_check_lib_save_LIBS
8935 > fi
8936 > echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
8937 > echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
8938 > if test $ac_cv_lib_fl_yywrap = yes; then
8939 >  LEXLIB="-lfl"
8940 > else
8941 >  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
8942 > echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
8943 > if test "${ac_cv_lib_l_yywrap+set}" = set; then
8944 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8945 > else
8946 >  ac_check_lib_save_LIBS=$LIBS
8947 > LIBS="-ll  $LIBS"
8948 > cat >conftest.$ac_ext <<_ACEOF
8949 > /* confdefs.h.  */
8950 > _ACEOF
8951 > cat confdefs.h >>conftest.$ac_ext
8952 > cat >>conftest.$ac_ext <<_ACEOF
8953 > /* end confdefs.h.  */
8954 >
8955 > /* Override any gcc2 internal prototype to avoid an error.  */
8956 > #ifdef __cplusplus
8957 > extern "C"
8958 > #endif
8959 > /* We use char because int might match the return type of a gcc2
8960 >   builtin and then its argument prototype would still apply.  */
8961 > char yywrap ();
8962 > int
8963 > main ()
8964 > {
8965 > yywrap ();
8966 >  ;
8967 >  return 0;
8968 > }
8969 > _ACEOF
8970 > rm -f conftest.$ac_objext conftest$ac_exeext
8971 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8972 >  (eval $ac_link) 2>conftest.er1
8973 >  ac_status=$?
8974 >  grep -v '^ *+' conftest.er1 >conftest.err
8975 >  rm -f conftest.er1
8976 >  cat conftest.err >&5
8977 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 >  (exit $ac_status); } &&
8979 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
8980 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8981 >  (eval $ac_try) 2>&5
8982 >  ac_status=$?
8983 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 >  (exit $ac_status); }; } &&
8985 >         { ac_try='test -s conftest$ac_exeext'
8986 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8987 >  (eval $ac_try) 2>&5
8988 >  ac_status=$?
8989 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8990 >  (exit $ac_status); }; }; then
8991 >  ac_cv_lib_l_yywrap=yes
8992 > else
8993 >  echo "$as_me: failed program was:" >&5
8994 > sed 's/^/| /' conftest.$ac_ext >&5
8995 >
8996 > ac_cv_lib_l_yywrap=no
8997 > fi
8998 > rm -f conftest.err conftest.$ac_objext \
8999 >      conftest$ac_exeext conftest.$ac_ext
9000 > LIBS=$ac_check_lib_save_LIBS
9001 > fi
9002 > echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
9003 > echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
9004 > if test $ac_cv_lib_l_yywrap = yes; then
9005 >  LEXLIB="-ll"
9006 > fi
9007 >
9008 > fi
9009 >
9010 > fi
9011 >
9012 > if test "x$LEX" != "x:"; then
9013 >  echo "$as_me:$LINENO: checking lex output file root" >&5
9014 > echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
9015 > if test "${ac_cv_prog_lex_root+set}" = set; then
9016 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9017 > else
9018 >  # The minimal lex program is just a single line: %%.  But some broken lexes
9019 > # (Solaris, I think it was) want two %% lines, so accommodate them.
9020 > cat >conftest.l <<_ACEOF
9021 > %%
9022 > %%
9023 > _ACEOF
9024 > { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
9025 >  (eval $LEX conftest.l) 2>&5
9026 >  ac_status=$?
9027 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9028 >  (exit $ac_status); }
9029 > if test -f lex.yy.c; then
9030 >  ac_cv_prog_lex_root=lex.yy
9031 > elif test -f lexyy.c; then
9032 >  ac_cv_prog_lex_root=lexyy
9033 > else
9034 >  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
9035 > echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
9036 >   { (exit 1); exit 1; }; }
9037 > fi
9038 > fi
9039 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
9040 > echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
9041 > rm -f conftest.l
9042 > LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
9043 >
9044 > echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
9045 > echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
9046 > if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
9047 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9048 > else
9049 >  # POSIX says lex can declare yytext either as a pointer or an array; the
9050 > # default is implementation-dependent. Figure out which it is, since
9051 > # not all implementations provide the %pointer and %array declarations.
9052 > ac_cv_prog_lex_yytext_pointer=no
9053 > echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
9054 > ac_save_LIBS=$LIBS
9055 > LIBS="$LIBS $LEXLIB"
9056 > cat >conftest.$ac_ext <<_ACEOF
9057 > `cat $LEX_OUTPUT_ROOT.c`
9058 > _ACEOF
9059 > rm -f conftest.$ac_objext conftest$ac_exeext
9060 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9061 >  (eval $ac_link) 2>conftest.er1
9062 >  ac_status=$?
9063 >  grep -v '^ *+' conftest.er1 >conftest.err
9064 >  rm -f conftest.er1
9065 >  cat conftest.err >&5
9066 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9067 >  (exit $ac_status); } &&
9068 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9069 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9070 >  (eval $ac_try) 2>&5
9071 >  ac_status=$?
9072 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9073 >  (exit $ac_status); }; } &&
9074 >         { ac_try='test -s conftest$ac_exeext'
9075 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9076 >  (eval $ac_try) 2>&5
9077 >  ac_status=$?
9078 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9079 >  (exit $ac_status); }; }; then
9080 >  ac_cv_prog_lex_yytext_pointer=yes
9081 > else
9082 >  echo "$as_me: failed program was:" >&5
9083 > sed 's/^/| /' conftest.$ac_ext >&5
9084 >
9085 > fi
9086 > rm -f conftest.err conftest.$ac_objext \
9087 >      conftest$ac_exeext conftest.$ac_ext
9088 > LIBS=$ac_save_LIBS
9089 > rm -f "${LEX_OUTPUT_ROOT}.c"
9090 >
9091 > fi
9092 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
9093 > echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
9094 > if test $ac_cv_prog_lex_yytext_pointer = yes; then
9095 >
9096 > cat >>confdefs.h <<\_ACEOF
9097 > #define YYTEXT_POINTER 1
9098 > _ACEOF
9099 >
9100 > fi
9101 >
9102 > fi
9103 >
9104 >   # Extract the first word of "perl", so it can be a program name with args.
9105 > set dummy perl; ac_word=$2
9106 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9107 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9108 > if test "${ac_cv_path_PERLINTERP+set}" = set; then
9109 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9110 > else
9111 >  case $PERLINTERP in
9112 >  [\\/]* | ?:[\\/]*)
9113 >  ac_cv_path_PERLINTERP="$PERLINTERP" # Let the user override the test with a path.
9114 >  ;;
9115 >  *)
9116 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9117 > for as_dir in $PATH
9118 > do
9119 >  IFS=$as_save_IFS
9120 >  test -z "$as_dir" && as_dir=.
9121 >  for ac_exec_ext in '' $ac_executable_extensions; do
9122 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9123 >    ac_cv_path_PERLINTERP="$as_dir/$ac_word$ac_exec_ext"
9124 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9125 >    break 2
9126 >  fi
9127 > done
9128 > done
9129 >
9130 >  test -z "$ac_cv_path_PERLINTERP" && ac_cv_path_PERLINTERP="perl"
9131 >  ;;
9132 > esac
9133 > fi
9134 > PERLINTERP=$ac_cv_path_PERLINTERP
9135 >
9136 > if test -n "$PERLINTERP"; then
9137 >  echo "$as_me:$LINENO: result: $PERLINTERP" >&5
9138 > echo "${ECHO_T}$PERLINTERP" >&6
9139 > else
9140 >  echo "$as_me:$LINENO: result: no" >&5
9141 > echo "${ECHO_T}no" >&6
9142 > fi
9143 >
9144 >   ac_cv_path_perlinterp="$PERLINTERP"
9145 >   _sHpB='#!'
9146 >
9147 >
9148 > # Check whether --with-perl-shebang or --without-perl-shebang was given.
9149 > if test "${with_perl_shebang+set}" = set; then
9150 >  withval="$with_perl_shebang"
9151 >  opt_perl_shebang="$withval"
9152 > else
9153 >                opt_perl_shebang="not_set"
9154 > fi;
9155 >   echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5
9156 > echo $ECHO_N "checking whether explicit instead of detected sharpbang is to be used... $ECHO_C" >&6
9157 > if test "${ax_cv_opt_perl_shebang+set}" = set; then
9158 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9159 > else
9160 >   case "$opt_perl_shebang" in
9161 >                      not_set  ) ax_cv_opt_perl_shebang=''
9162 >                               ;;
9163 >                         *     )
9164 >        ax_cv_opt_perl_shebang=`echo "$opt_perl_shebang" | sed -e's|^#!\s*\(.*\)$|\1|'`
9165 >                    esac
9166 >
9167 > fi
9168 > echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5
9169 > echo "${ECHO_T}$ax_cv_opt_perl_shebang" >&6
9170 >   if test "A$ax_cv_opt_perl_shebang" != "A"
9171 >     then
9172 >       ac_cv_sys_kernshrpbang_perl="$ax_cv_opt_perl_shebang"
9173 >       PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
9174 >              { echo "$as_me:$LINENO: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&5
9175 > echo "$as_me: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&6;}
9176 >
9177 > # Automatic detection of sharpbang formula starts here
9178 >     else
9179 >   _somian_shbangperl=`$PERLINTERP -V:startperl`
9180 >   negclass="[^']"; # must leave this comment:  m4 will remove the outer brackets for us, heheh
9181 >   echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5
9182 > echo $ECHO_N "checking for kernel sharpbang invocation to start perl... $ECHO_C" >&6
9183 > if test "${ac_cv_sys_kernshrpbang_perl+set}" = set; then
9184 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9185 > else
9186 >  _somian_kspb_perl=`echo "$_somian_shbangperl" | sed -ne"s|.*='\($negclass*\)';$|\1|p"`
9187 >        if test "x$_somian_kspb_perl" == x
9188 >          then _somian_ksbp_warn_empty='durnit'
9189 >          else
9190 >          case "A$_somian_kspb_perl" in
9191 >                 A#!*perl* )
9192 >           ac_cv_sys_kernshrpbang_perl=`echo "$_somian_kspb_perl" | sed -e's|#!\(.*\)$|\1|'`
9193 >                        ;;
9194 >                     A*    )  _somian_ksbp_warn_defau='trouble'
9195 >                              ac_cv_sys_kernshrpbang_perl="$PERLINTERP"
9196 >          esac
9197 >        fi
9198 >
9199 > fi
9200 > echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5
9201 > echo "${ECHO_T}$ac_cv_sys_kernshrpbang_perl" >&6
9202 > # The above prints Checking ... result message to user.
9203 >   PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
9204 >
9205 >    if test A${_somian_ksbp_warn_empty+set} == Aset
9206 >      then   { echo "$as_me:$LINENO: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&5
9207 > echo "$as_me: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&2;}
9208 >    fi
9209 > # Inform user after printing result value
9210 >    if test A${_somian_ksbp_warn_defau+set} == Aset
9211 >      then { echo "$as_me:$LINENO: Maybe Not good -" >&5
9212 > echo "$as_me: Maybe Not good -" >&6;}
9213 >           { echo "$as_me:$LINENO: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&5
9214 > echo "$as_me: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&2;}
9215 >      else { echo "$as_me:$LINENO: OK Good result - " >&5
9216 > echo "$as_me: OK Good result - " >&6;}
9217 >           { echo "$as_me:$LINENO: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&5
9218 > echo "$as_me: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&6;}
9219 >    fi
9220 >  fi
9221 >
9222 > # Extract the first word of "ar", so it can be a program name with args.
9223 > set dummy ar; ac_word=$2
9224 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9225 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9226 > if test "${ac_cv_prog_AR+set}" = set; then
9227 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9228 > else
9229 >  if test -n "$AR"; then
9230 >  ac_cv_prog_AR="$AR" # Let the user override the test.
9231 > else
9232 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9233 > for as_dir in $PATH
9234 > do
9235 >  IFS=$as_save_IFS
9236 >  test -z "$as_dir" && as_dir=.
9237 >  for ac_exec_ext in '' $ac_executable_extensions; do
9238 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9239 >    ac_cv_prog_AR="ar"
9240 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9241 >    break 2
9242 >  fi
9243 > done
9244 > done
9245 >
9246 >  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE"
9247 > fi
9248 > fi
9249 > AR=$ac_cv_prog_AR
9250 > if test -n "$AR"; then
9251 >  echo "$as_me:$LINENO: result: $AR" >&5
9252 > echo "${ECHO_T}$AR" >&6
9253 > else
9254 >  echo "$as_me:$LINENO: result: no" >&5
9255 > echo "${ECHO_T}no" >&6
9256 > fi
9257 >
9258 > if test "$AR" = "NONE"; then
9259 >  { { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5
9260 > echo "$as_me: error: --> Can't find \`ar'!" >&2;}
9261 >   { (exit 1); exit 1; }; }
9262 >  cat >confcache <<\_ACEOF
9263 > # This file is a shell script that caches the results of configure
9264 > # tests run on this system so they can be shared between configure
9265 > # scripts and configure runs, see configure's option --config-cache.
9266 > # It is not useful on other systems.  If it contains results you don't
9267 > # want to keep, you may remove or edit it.
9268 > #
9269 > # config.status only pays attention to the cache file if you give it
9270 > # the --recheck option to rerun configure.
9271 > #
9272 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
9273 > # loading this file, other *unset* `ac_cv_foo' will be assigned the
9274 > # following values.
9275 >
9276 > _ACEOF
9277 >
9278 > # The following way of writing the cache mishandles newlines in values,
9279 > # but we know of no workaround that is simple, portable, and efficient.
9280 > # So, don't put newlines in cache variables' values.
9281 > # Ultrix sh set writes to stderr and can't be redirected directly,
9282 > # and sets the high bit in the cache file unless we assign to the vars.
9283 > {
9284 >  (set) 2>&1 |
9285 >    case `(ac_space=' '; set | grep ac_space) 2>&1` in
9286 >    *ac_space=\ *)
9287 >      # `set' does not quote correctly, so add quotes (double-quote
9288 >      # substitution turns \\\\ into \\, and sed turns \\ into \).
9289 >      sed -n \
9290 >        "s/'/'\\\\''/g;
9291 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9292 >      ;;
9293 >    *)
9294 >      # `set' quotes correctly as required by POSIX, so do not add quotes.
9295 >      sed -n \
9296 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9297 >      ;;
9298 >    esac;
9299 > } |
9300 >  sed '
9301 >     t clear
9302 >     : clear
9303 >     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9304 >     t end
9305 >     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9306 >     : end' >>confcache
9307 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
9308    if test -w $cache_file; then
9309      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9310      cat confcache >$cache_file
# Line 5531 | Line 9318 | echo "$as_me:5534: checking for $ac_word" >&5
9318  
9319   # Extract the first word of "ps", so it can be a program name with args.
9320   set dummy ps; ac_word=$2
9321 < echo "$as_me:5534: checking for $ac_word" >&5
9321 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9322   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9323   if test "${ac_cv_path_PS+set}" = set; then
9324    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5541 | Line 9328 | else
9328    ac_cv_path_PS="$PS" # Let the user override the test with a path.
9329    ;;
9330    *)
9331 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
9332 < ac_dummy="$PATH"
9333 < for ac_dir in $ac_dummy; do
9334 <  IFS=$ac_save_IFS
9335 <  test -z "$ac_dir" && ac_dir=.
9336 <  if $as_executable_p "$ac_dir/$ac_word"; then
9337 <   ac_cv_path_PS="$ac_dir/$ac_word"
9338 <   echo "$as_me:5551: found $ac_dir/$ac_word" >&5
9339 <   break
9340 < fi
9331 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9332 > for as_dir in $PATH
9333 > do
9334 >  IFS=$as_save_IFS
9335 >  test -z "$as_dir" && as_dir=.
9336 >  for ac_exec_ext in '' $ac_executable_extensions; do
9337 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9338 >    ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
9339 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9340 >    break 2
9341 >  fi
9342   done
9343 + done
9344  
9345    ;;
9346   esac
# Line 5559 | Line 9348 | if test -n "$PS"; then
9348   PS=$ac_cv_path_PS
9349  
9350   if test -n "$PS"; then
9351 <  echo "$as_me:5562: result: $PS" >&5
9351 >  echo "$as_me:$LINENO: result: $PS" >&5
9352   echo "${ECHO_T}$PS" >&6
9353   else
9354 <  echo "$as_me:5565: result: no" >&5
9354 >  echo "$as_me:$LINENO: result: no" >&5
9355   echo "${ECHO_T}no" >&6
9356   fi
9357  
9358 < echo "$as_me:5569: checking for POSIX or BSD ps syntax" >&5
9358 > echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5
9359   echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6
9360   if test "${ac_cv_prog_ps_syntax+set}" = set; then
9361    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5588 | Line 9377 | else
9377                  if test "$ac_cv_prog_ps_ef" = yes; then
9378                          ac_cv_prog_ps_syntax=POSIX
9379                  else
9380 <                        { { echo "$as_me:5591: error: Could not determine ps syntax" >&5
9380 >                        { { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5
9381   echo "$as_me: error: Could not determine ps syntax" >&2;}
9382     { (exit 1); exit 1; }; }
9383                  fi
9384          fi
9385  
9386   fi
9387 < echo "$as_me:5598: result: $ac_cv_prog_ps_syntax" >&5
9387 > echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5
9388   echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6
9389  
9390 < cat >>confdefs.h <<EOF
9390 >
9391 > cat >>confdefs.h <<_ACEOF
9392   #define PSCOMMAND $PS
9393 < EOF
9393 > _ACEOF
9394  
9395 +
9396 + cat >>confdefs.h <<\_ACEOF
9397 + #define OBAPI
9398 + _ACEOF
9399 +
9400 +
9401 +
9402   if test "$ac_cv_prog_ps_syntax" = BSD; then
9403 <  cat >>confdefs.h <<\EOF
9403 >  cat >>confdefs.h <<\_ACEOF
9404   #define PSTYPE_IS_BSD 1
9405 < EOF
9405 > _ACEOF
9406  
9407   else
9408     if test "$ac_cv_prog_ps_syntax" = POSIX; then
9409 <       cat >>confdefs.h <<\EOF
9409 >       cat >>confdefs.h <<\_ACEOF
9410   #define PSTYPE_IS_POSIX 1
9411 < EOF
9411 > _ACEOF
9412  
9413     else
9414 <       { { echo "$as_me:5617: error: Unknown ps syntax type!" >&5
9414 >       { { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5
9415   echo "$as_me: error: Unknown ps syntax type!" >&2;}
9416     { (exit 1); exit 1; }; }
9417     fi
9418   fi
9419  
9420 +
9421   # Check whether --with-mpi or --without-mpi was given.
9422   if test "${with_mpi+set}" = set; then
9423    withval="$with_mpi"
# Line 5638 | Line 9436 | if test "$USE_MPI" = "yes"; then
9436   fi
9437   if test "$USE_MPI" = "yes"; then
9438  
9439 +
9440   # Set variables...
9441   MPI_LIB_DIR="$MPI/lib"
9442   MPI_INC_DIR="$MPI/include"
9443  
9444 < echo "$as_me:5645: checking for mpi.h" >&5
9444 >
9445 >
9446 > echo "$as_me:$LINENO: checking for mpi.h" >&5
9447   echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
9448   have_mpi_h=0
9449 + rm -f conftest*
9450   echo '#include <mpi.h>' > conftest.cc
9451 < if test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then
9452 <        echo "$as_me:5650: result: yes" >&5
9451 > if ${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1 ; then
9452 >        echo "$as_me:$LINENO: result: yes" >&5
9453   echo "${ECHO_T}yes" >&6
9454          have_mpi_h=1
9455   else
9456 <        echo "$as_me:5654: result: no! Check MPI include paths" >&5
9456 >        if test -s conftest.out ; then
9457 >                cat conftest.out >> config.log
9458 >        fi
9459 >        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
9460   echo "${ECHO_T}no! Check MPI include paths" >&6
9461          USE_MPI="no"
9462   fi
9463   rm -f conftest*
9464   if test "$have_mpi_h" = 1; then
9465  
9466 < cat >>confdefs.h <<\EOF
9466 > cat >>confdefs.h <<\_ACEOF
9467   #define HAVE_MPI_H 1
9468 < EOF
9468 > _ACEOF
9469  
9470   fi
9471  
9472 < echo "$as_me:5667: checking whether mpif.h is usable" >&5
9472 > echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5
9473   echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6
9474   have_mpif_h=0
9475   rm -f conftest*
# Line 5674 | Line 9479 | if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out
9479   end
9480   EOF
9481   if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out 2>&1 ; then
9482 <        echo "$as_me:5677: result: yes" >&5
9482 >        echo "$as_me:$LINENO: result: yes" >&5
9483   echo "${ECHO_T}yes" >&6
9484          MPI_F90_INC="$MPI_INC_DIR"
9485          have_mpif_h=1
# Line 5682 | Line 9487 | else
9487          if test -s conftest.out ; then
9488                  cat conftest.out >> config.log
9489          fi
9490 <        echo "$as_me:5685: result: no! Check MPI include paths" >&5
9490 >        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
9491   echo "${ECHO_T}no! Check MPI include paths" >&6
9492          USE_MPI="no"
9493   fi
# Line 5690 | Line 9495 | cat >>confdefs.h <<\EOF
9495  
9496   if test "$have_mpif_h" = 1; then
9497  
9498 < cat >>confdefs.h <<\EOF
9498 > cat >>confdefs.h <<\_ACEOF
9499   #define HAVE_MPIF_H 1
9500 < EOF
9500 > _ACEOF
9501  
9502   fi
9503  
# Line 5706 | Line 9511 | if test x = x"$MPI_LIB"; then
9511   LDFLAGS="${LDFLAGS} -L${MPI_LIB_DIR} "
9512  
9513   if test x = x"$MPI_LIB"; then
9514 <        echo "$as_me:5709: checking for MPI_Init in -lmpich" >&5
9514 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
9515   echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
9516   if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
9517    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5714 | Line 9519 | cat >conftest.$ac_ext <<_ACEOF
9519    ac_check_lib_save_LIBS=$LIBS
9520   LIBS="-lmpich  $LIBS"
9521   cat >conftest.$ac_ext <<_ACEOF
9522 < #line 5717 "configure"
9523 < #include "confdefs.h"
9522 > /* confdefs.h.  */
9523 > _ACEOF
9524 > cat confdefs.h >>conftest.$ac_ext
9525 > cat >>conftest.$ac_ext <<_ACEOF
9526 > /* end confdefs.h.  */
9527  
9528   /* Override any gcc2 internal prototype to avoid an error.  */
9529   #ifdef __cplusplus
# Line 5733 | Line 9541 | if { (eval echo "$as_me:5736: \"$ac_link\"") >&5
9541   }
9542   _ACEOF
9543   rm -f conftest.$ac_objext conftest$ac_exeext
9544 < if { (eval echo "$as_me:5736: \"$ac_link\"") >&5
9545 <  (eval $ac_link) 2>&5
9544 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9545 >  (eval $ac_link) 2>conftest.er1
9546    ac_status=$?
9547 <  echo "$as_me:5739: \$? = $ac_status" >&5
9547 >  grep -v '^ *+' conftest.er1 >conftest.err
9548 >  rm -f conftest.er1
9549 >  cat conftest.err >&5
9550 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551    (exit $ac_status); } &&
9552 <         { ac_try='test -s conftest$ac_exeext'
9553 <  { (eval echo "$as_me:5742: \"$ac_try\"") >&5
9552 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9553 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9554    (eval $ac_try) 2>&5
9555    ac_status=$?
9556 <  echo "$as_me:5745: \$? = $ac_status" >&5
9556 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9557 >  (exit $ac_status); }; } &&
9558 >         { ac_try='test -s conftest$ac_exeext'
9559 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9560 >  (eval $ac_try) 2>&5
9561 >  ac_status=$?
9562 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9563    (exit $ac_status); }; }; then
9564    ac_cv_lib_mpich_MPI_Init=yes
9565   else
9566    echo "$as_me: failed program was:" >&5
9567 < cat conftest.$ac_ext >&5
9567 > sed 's/^/| /' conftest.$ac_ext >&5
9568 >
9569   ac_cv_lib_mpich_MPI_Init=no
9570   fi
9571 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9571 > rm -f conftest.err conftest.$ac_objext \
9572 >      conftest$ac_exeext conftest.$ac_ext
9573   LIBS=$ac_check_lib_save_LIBS
9574   fi
9575 < echo "$as_me:5756: result: $ac_cv_lib_mpich_MPI_Init" >&5
9575 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
9576   echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
9577   if test $ac_cv_lib_mpich_MPI_Init = yes; then
9578    MPI_LIB="-lmpich"
# Line 5761 | Line 9580 | if test x = x"$MPI_LIB"; then
9580  
9581   fi
9582   if test x = x"$MPI_LIB"; then
9583 <        echo "$as_me:5764: checking for MPI_Init in -lmpi" >&5
9583 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
9584   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
9585   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
9586    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5769 | Line 9588 | cat >conftest.$ac_ext <<_ACEOF
9588    ac_check_lib_save_LIBS=$LIBS
9589   LIBS="-lmpi  $LIBS"
9590   cat >conftest.$ac_ext <<_ACEOF
9591 < #line 5772 "configure"
9592 < #include "confdefs.h"
9591 > /* confdefs.h.  */
9592 > _ACEOF
9593 > cat confdefs.h >>conftest.$ac_ext
9594 > cat >>conftest.$ac_ext <<_ACEOF
9595 > /* end confdefs.h.  */
9596  
9597   /* Override any gcc2 internal prototype to avoid an error.  */
9598   #ifdef __cplusplus
# Line 5788 | Line 9610 | if { (eval echo "$as_me:5791: \"$ac_link\"") >&5
9610   }
9611   _ACEOF
9612   rm -f conftest.$ac_objext conftest$ac_exeext
9613 < if { (eval echo "$as_me:5791: \"$ac_link\"") >&5
9614 <  (eval $ac_link) 2>&5
9613 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9614 >  (eval $ac_link) 2>conftest.er1
9615    ac_status=$?
9616 <  echo "$as_me:5794: \$? = $ac_status" >&5
9616 >  grep -v '^ *+' conftest.er1 >conftest.err
9617 >  rm -f conftest.er1
9618 >  cat conftest.err >&5
9619 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9620    (exit $ac_status); } &&
9621 <         { ac_try='test -s conftest$ac_exeext'
9622 <  { (eval echo "$as_me:5797: \"$ac_try\"") >&5
9621 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9622 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9623    (eval $ac_try) 2>&5
9624    ac_status=$?
9625 <  echo "$as_me:5800: \$? = $ac_status" >&5
9625 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9626 >  (exit $ac_status); }; } &&
9627 >         { ac_try='test -s conftest$ac_exeext'
9628 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9629 >  (eval $ac_try) 2>&5
9630 >  ac_status=$?
9631 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9632    (exit $ac_status); }; }; then
9633    ac_cv_lib_mpi_MPI_Init=yes
9634   else
9635    echo "$as_me: failed program was:" >&5
9636 < cat conftest.$ac_ext >&5
9636 > sed 's/^/| /' conftest.$ac_ext >&5
9637 >
9638   ac_cv_lib_mpi_MPI_Init=no
9639   fi
9640 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9640 > rm -f conftest.err conftest.$ac_objext \
9641 >      conftest$ac_exeext conftest.$ac_ext
9642   LIBS=$ac_check_lib_save_LIBS
9643   fi
9644 < echo "$as_me:5811: result: $ac_cv_lib_mpi_MPI_Init" >&5
9644 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
9645   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
9646   if test $ac_cv_lib_mpi_MPI_Init = yes; then
9647    MPI_LIB="-lmpi"
# Line 5817 | Line 9650 | if test x = x"$MPI_LIB"; then
9650   fi
9651   $as_unset ac_cv_lib_mpi_MPI_Init
9652   if test x = x"$MPI_LIB"; then
9653 <        echo "$as_me:5820: checking for MPI_Init in -lmpi" >&5
9653 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
9654   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
9655   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
9656    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5825 | Line 9658 | cat >conftest.$ac_ext <<_ACEOF
9658    ac_check_lib_save_LIBS=$LIBS
9659   LIBS="-lmpi "-llam" $LIBS"
9660   cat >conftest.$ac_ext <<_ACEOF
9661 < #line 5828 "configure"
9662 < #include "confdefs.h"
9661 > /* confdefs.h.  */
9662 > _ACEOF
9663 > cat confdefs.h >>conftest.$ac_ext
9664 > cat >>conftest.$ac_ext <<_ACEOF
9665 > /* end confdefs.h.  */
9666  
9667   /* Override any gcc2 internal prototype to avoid an error.  */
9668   #ifdef __cplusplus
# Line 5844 | Line 9680 | if { (eval echo "$as_me:5847: \"$ac_link\"") >&5
9680   }
9681   _ACEOF
9682   rm -f conftest.$ac_objext conftest$ac_exeext
9683 < if { (eval echo "$as_me:5847: \"$ac_link\"") >&5
9684 <  (eval $ac_link) 2>&5
9683 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9684 >  (eval $ac_link) 2>conftest.er1
9685    ac_status=$?
9686 <  echo "$as_me:5850: \$? = $ac_status" >&5
9686 >  grep -v '^ *+' conftest.er1 >conftest.err
9687 >  rm -f conftest.er1
9688 >  cat conftest.err >&5
9689 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690    (exit $ac_status); } &&
9691 <         { ac_try='test -s conftest$ac_exeext'
9692 <  { (eval echo "$as_me:5853: \"$ac_try\"") >&5
9691 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9692 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9693    (eval $ac_try) 2>&5
9694    ac_status=$?
9695 <  echo "$as_me:5856: \$? = $ac_status" >&5
9695 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9696 >  (exit $ac_status); }; } &&
9697 >         { ac_try='test -s conftest$ac_exeext'
9698 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9699 >  (eval $ac_try) 2>&5
9700 >  ac_status=$?
9701 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9702    (exit $ac_status); }; }; then
9703    ac_cv_lib_mpi_MPI_Init=yes
9704   else
9705    echo "$as_me: failed program was:" >&5
9706 < cat conftest.$ac_ext >&5
9706 > sed 's/^/| /' conftest.$ac_ext >&5
9707 >
9708   ac_cv_lib_mpi_MPI_Init=no
9709   fi
9710 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9710 > rm -f conftest.err conftest.$ac_objext \
9711 >      conftest$ac_exeext conftest.$ac_ext
9712   LIBS=$ac_check_lib_save_LIBS
9713   fi
9714 < echo "$as_me:5867: result: $ac_cv_lib_mpi_MPI_Init" >&5
9714 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
9715   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
9716   if test $ac_cv_lib_mpi_MPI_Init = yes; then
9717    MPI_LIB="-lmpi -llam"
# Line 5873 | Line 9720 | if test x = x"$MPI_LIB"; then
9720   fi
9721   $as_unset ac_cv_lib_mpich_MPI_Init
9722   if test x = x"$MPI_LIB"; then
9723 <        echo "$as_me:5876: checking for MPI_Init in -lmpich" >&5
9723 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
9724   echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
9725   if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
9726    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5881 | Line 9728 | cat >conftest.$ac_ext <<_ACEOF
9728    ac_check_lib_save_LIBS=$LIBS
9729   LIBS="-lmpich "-lpmpich" $LIBS"
9730   cat >conftest.$ac_ext <<_ACEOF
9731 < #line 5884 "configure"
9732 < #include "confdefs.h"
9731 > /* confdefs.h.  */
9732 > _ACEOF
9733 > cat confdefs.h >>conftest.$ac_ext
9734 > cat >>conftest.$ac_ext <<_ACEOF
9735 > /* end confdefs.h.  */
9736  
9737   /* Override any gcc2 internal prototype to avoid an error.  */
9738   #ifdef __cplusplus
# Line 5900 | Line 9750 | if { (eval echo "$as_me:5903: \"$ac_link\"") >&5
9750   }
9751   _ACEOF
9752   rm -f conftest.$ac_objext conftest$ac_exeext
9753 < if { (eval echo "$as_me:5903: \"$ac_link\"") >&5
9754 <  (eval $ac_link) 2>&5
9753 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9754 >  (eval $ac_link) 2>conftest.er1
9755    ac_status=$?
9756 <  echo "$as_me:5906: \$? = $ac_status" >&5
9756 >  grep -v '^ *+' conftest.er1 >conftest.err
9757 >  rm -f conftest.er1
9758 >  cat conftest.err >&5
9759 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760    (exit $ac_status); } &&
9761 <         { ac_try='test -s conftest$ac_exeext'
9762 <  { (eval echo "$as_me:5909: \"$ac_try\"") >&5
9761 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9762 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9763    (eval $ac_try) 2>&5
9764    ac_status=$?
9765 <  echo "$as_me:5912: \$? = $ac_status" >&5
9765 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766 >  (exit $ac_status); }; } &&
9767 >         { ac_try='test -s conftest$ac_exeext'
9768 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9769 >  (eval $ac_try) 2>&5
9770 >  ac_status=$?
9771 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9772    (exit $ac_status); }; }; then
9773    ac_cv_lib_mpich_MPI_Init=yes
9774   else
9775    echo "$as_me: failed program was:" >&5
9776 < cat conftest.$ac_ext >&5
9776 > sed 's/^/| /' conftest.$ac_ext >&5
9777 >
9778   ac_cv_lib_mpich_MPI_Init=no
9779   fi
9780 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9780 > rm -f conftest.err conftest.$ac_objext \
9781 >      conftest$ac_exeext conftest.$ac_ext
9782   LIBS=$ac_check_lib_save_LIBS
9783   fi
9784 < echo "$as_me:5923: result: $ac_cv_lib_mpich_MPI_Init" >&5
9784 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
9785   echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
9786   if test $ac_cv_lib_mpich_MPI_Init = yes; then
9787    MPI_LIB="-lmpich -lpmpich"
# Line 5930 | Line 9791 | echo "$as_me:5933: checking for MPI_Init in -lmpi" >&5
9791  
9792   $as_unset ac_cv_lib_mpi_MPI_Init
9793   if test x = x"$MPI_LIB"; then
9794 < echo "$as_me:5933: checking for MPI_Init in -lmpi" >&5
9794 > echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
9795   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
9796   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
9797    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5938 | Line 9799 | cat >conftest.$ac_ext <<_ACEOF
9799    ac_check_lib_save_LIBS=$LIBS
9800   LIBS="-lmpi -llam -lpthread $LIBS"
9801   cat >conftest.$ac_ext <<_ACEOF
9802 < #line 5941 "configure"
9803 < #include "confdefs.h"
9802 > /* confdefs.h.  */
9803 > _ACEOF
9804 > cat confdefs.h >>conftest.$ac_ext
9805 > cat >>conftest.$ac_ext <<_ACEOF
9806 > /* end confdefs.h.  */
9807  
9808   /* Override any gcc2 internal prototype to avoid an error.  */
9809   #ifdef __cplusplus
# Line 5957 | Line 9821 | if { (eval echo "$as_me:5960: \"$ac_link\"") >&5
9821   }
9822   _ACEOF
9823   rm -f conftest.$ac_objext conftest$ac_exeext
9824 < if { (eval echo "$as_me:5960: \"$ac_link\"") >&5
9825 <  (eval $ac_link) 2>&5
9824 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9825 >  (eval $ac_link) 2>conftest.er1
9826    ac_status=$?
9827 <  echo "$as_me:5963: \$? = $ac_status" >&5
9827 >  grep -v '^ *+' conftest.er1 >conftest.err
9828 >  rm -f conftest.er1
9829 >  cat conftest.err >&5
9830 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831    (exit $ac_status); } &&
9832 <         { ac_try='test -s conftest$ac_exeext'
9833 <  { (eval echo "$as_me:5966: \"$ac_try\"") >&5
9832 >         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
9833 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9834    (eval $ac_try) 2>&5
9835    ac_status=$?
9836 <  echo "$as_me:5969: \$? = $ac_status" >&5
9836 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9837 >  (exit $ac_status); }; } &&
9838 >         { ac_try='test -s conftest$ac_exeext'
9839 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9840 >  (eval $ac_try) 2>&5
9841 >  ac_status=$?
9842 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9843    (exit $ac_status); }; }; then
9844    ac_cv_lib_mpi_MPI_Init=yes
9845   else
9846    echo "$as_me: failed program was:" >&5
9847 < cat conftest.$ac_ext >&5
9847 > sed 's/^/| /' conftest.$ac_ext >&5
9848 >
9849   ac_cv_lib_mpi_MPI_Init=no
9850   fi
9851 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9851 > rm -f conftest.err conftest.$ac_objext \
9852 >      conftest$ac_exeext conftest.$ac_ext
9853   LIBS=$ac_check_lib_save_LIBS
9854   fi
9855 < echo "$as_me:5980: result: $ac_cv_lib_mpi_MPI_Init" >&5
9855 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
9856   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
9857   if test $ac_cv_lib_mpi_MPI_Init = yes; then
9858    MPI_LIB="-lmpi -llam -lpthread"
9859   else
9860  
9861 <             { { echo "$as_me:5986: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
9861 >             { { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
9862   echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;}
9863     { (exit 1); exit 1; }; }
9864               USE_MPI="no"
# Line 5992 | Line 9867 | echo "$as_me:5995: checking for MPI Fortran library" >
9867  
9868   fi
9869  
9870 < echo "$as_me:5995: checking for MPI Fortran library" >&5
9870 >
9871 >
9872 > echo "$as_me:$LINENO: checking for MPI Fortran library" >&5
9873   echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6
9874   MPI_F90_LIB=""
9875   if test -f "$MPI_LIB_DIR/libfmpich.a" ; then
# Line 6002 | Line 9879 | echo "$as_me:6005: result: found $MPI_F90_LIB" >&5
9879   else
9880                          MPI_F90_LIB="  "
9881   fi
9882 < echo "$as_me:6005: result: found $MPI_F90_LIB" >&5
9882 > echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5
9883   echo "${ECHO_T}found $MPI_F90_LIB" >&6
9884  
9885 +
9886   fi
9887  
9888 < # Check whether --with-sprng or --without-sprng was given.
9889 < if test "${with_sprng+set}" = set; then
9890 <  withval="$with_sprng"
9891 <  with_sprng=$withval
9892 < else
9893 <  with_sprng="/usr/local"
9888 >
9889 >
9890 >
9891 > USE_CGAL=no
9892 > cgal_makefile=auto
9893 >
9894 > # Check whether --with-cgal-makefile or --without-cgal-makefile was given.
9895 > if test "${with_cgal_makefile+set}" = set; then
9896 >  withval="$with_cgal_makefile"
9897 >  cgal_makefile="$withval"
9898   fi;
9899  
9900 < 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
9900 > if test "x$cgal_makefile" != xno; then
9901  
9902 < # Set variables...
9903 < SPRNG_LIB_DIR="$SPRNG/lib"
9904 < SPRNG_INC_DIR="$SPRNG/include"
9902 >  if test "x$cgal_makefile" = xauto -a "x$CGAL_MAKEFILE" != x; then
9903 >    cgal_makefile="$CGAL_MAKEFILE"
9904 >  fi
9905  
9906 < echo "$as_me:6032: checking for sprng.h" >&5
9907 < 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
9906 >  echo "$as_me:$LINENO: checking for cgal_makefile: $cgal_makefile" >&5
9907 > echo $ECHO_N "checking for cgal_makefile: $cgal_makefile... $ECHO_C" >&6
9908  
9909 < cat >>confdefs.h <<\EOF
9910 < #define HAVE_SPRNG_H 1
9909 >  if test -f "$cgal_makefile"; then
9910 >
9911 >    cat >config.tmp.Makefile <<EOF
9912 > include $cgal_makefile
9913 > default:
9914 >        @echo CGAL_OS_COMPILER=\"\${CGAL_OS_COMPILER}\" >config.tmp.cgalvariables
9915 >        @echo CGAL_INCLDIR=\"\${CGAL_INCL_DIR}\" >>config.tmp.cgalvariables
9916 >        @echo CGAL_INCLCONFDIR=\"\${CGAL_INCL_CONF_DIR}\" >>config.tmp.cgalvariables
9917 >        @echo CGAL_LIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
9918 >        @echo CGAL_RLIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
9919 >        @echo CGAL_CXXFLAGS=\"\${CGAL_CXXFLAGS}\" >>config.tmp.cgalvariables
9920 >        @echo GMP_INCLDIR=\"\${GMP_INCL_DIR}\" >>config.tmp.cgalvariables
9921 >        @echo GMP_LIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
9922 >        @echo GMP_RLIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
9923 >        @echo LEDA_INCLDIR=\"\${LEDA_INCL_DIR}\" >>config.tmp.cgalvariables
9924 >        @echo LEDA_LIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
9925 >        @echo LEDA_RLIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
9926   EOF
9927  
9928 < fi
9928 >    make -s -f config.tmp.Makefile
9929 >    . config.tmp.cgalvariables
9930  
9931 < 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
9931 >    rm -f config.tmp.Makefile config.tmp.cgalvariables
9932  
9933 < ac_save_LDFLAGS=$LDFLAGS
9934 < LDFLAGS="${LDFLAGS} -L${SPRNG_LIB_DIR} "
9933 >    if test "x$CGAL_INCLDIR" = "x"; then
9934 >      CGAL_INCLDIR=""
9935 >    fi
9936  
9937 < echo "$as_me:6063: checking for init_rng in -lsprng" >&5
9938 < echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6
9939 < 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"
9937 >    if test "x$CGAL_LIBDIR" = "x"; then
9938 >      CGAL_LIBDIR=""
9939 >    fi
9940  
9941 < /* Override any gcc2 internal prototype to avoid an error.  */
9942 < #ifdef __cplusplus
9943 < 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
9941 >    if test "x$CGAL_RLIBDIR" = "x"; then
9942 >      CGAL_RLIBDIR=""
9943 >    fi
9944  
9945 <             { { echo "$as_me:6116: error: Didn't find libsprng; check path for SPRNG package first..." >&5
9946 < echo "$as_me: error: Didn't find libsprng; check path for SPRNG package first..." >&2;}
9947 <   { (exit 1); exit 1; }; }
6119 <             USE_SPRNG="no"
9945 >    if test "x$LEDA_INCLDIR" = "x"; then
9946 >      LEDA_INCLDIR=""
9947 >    fi
9948  
9949 < fi
9949 >    if test "x$LEDA_LIBDIR" = "x"; then
9950 >      LEDA_LIBDIR=""
9951 >    fi
9952  
9953 < if test "$USE_SPRNG" = "no"; then
9954 <  { { echo "$as_me:6124: error: No working SPRNG library found" >&5
9955 < echo "$as_me: error: No working SPRNG library found" >&2;}
6126 <   { (exit 1); exit 1; }; }
6127 < fi
9953 >    if test "x$LEDA_RLIBDIR" = "x"; then
9954 >      LEDA_RLIBDIR=""
9955 >    fi
9956  
9957 < fi
9957 >    if test "x$GMP_INCLDIR" = "x"; then
9958 >      GMP_INCLDIR=""
9959 >    fi
9960  
9961 < echo "$as_me:6131: checking if MKL is wanted" >&5
9962 < echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6
9961 >    if test "x$GMP_LIBDIR" = "x"; then
9962 >      GMP_LIBDIR=""
9963 >    fi
9964  
9965 < # Check whether --with-mkl or --without-mkl was given.
9966 < 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";
9965 >    if test "x$GMP_RLIBDIR" = "x"; then
9966 >      GMP_RLIBDIR=""
9967      fi
9968  
9969 <  ac_ext=c
9970 < ac_cpp='$CPP $CPPFLAGS'
9971 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9972 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9973 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
9969 >    echo "$as_me:$LINENO: result: CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&5
9970 > echo "${ECHO_T}CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&6
9971 >    echo "$as_me:$LINENO: result: CGAL_INCLDIR=       $CGAL_INCLDIR" >&5
9972 > echo "${ECHO_T}CGAL_INCLDIR=       $CGAL_INCLDIR" >&6
9973 >    echo "$as_me:$LINENO: result: CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&5
9974 > echo "${ECHO_T}CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&6
9975 >    echo "$as_me:$LINENO: result: CGAL_LIBDIR=        $CGAL_LIBDIR" >&5
9976 > echo "${ECHO_T}CGAL_LIBDIR=        $CGAL_LIBDIR" >&6
9977 >    echo "$as_me:$LINENO: result: CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&5
9978 > echo "${ECHO_T}CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&6
9979 >    echo "$as_me:$LINENO: result: LEDA_INCLDIR=       $LEDA_INCLDIR" >&5
9980 > echo "${ECHO_T}LEDA_INCLDIR=       $LEDA_INCLDIR" >&6
9981 >    echo "$as_me:$LINENO: result: LEDA_LIBDIR=        $LEDA_LIBDIR" >&5
9982 > echo "${ECHO_T}LEDA_LIBDIR=        $LEDA_LIBDIR" >&6
9983 >    echo "$as_me:$LINENO: result: GMP_INCLDIR=        $GMP_INCLDIR" >&5
9984 > echo "${ECHO_T}GMP_INCLDIR=        $GMP_INCLDIR" >&6
9985 >    echo "$as_me:$LINENO: result: GMP_LIBDIR=         $GMP_LIBDIR" >&5
9986 > echo "${ECHO_T}GMP_LIBDIR=         $GMP_LIBDIR" >&6
9987  
9988 <  ac_save_CPPFLAGS=$CPPFLAGS
9989 <  CPPFLAGS="${CPPFLAGS} -I${mkldir}/include"
9990 <  ac_save_LDFLAGS=$LDFLAGS
9991 <  LDFLAGS="${LDFLAGS} -L${mkldir}/lib/32 -lmkl -lvml -lguide"
9992 <  echo "$as_me:6164: checking for mkl.h" >&5
9993 < echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
9994 < if test "${ac_cv_header_mkl_h+set}" = set; then
9988 >    ac_ext=cc
9989 > ac_cpp='$CXXCPP $CPPFLAGS'
9990 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9991 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9992 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9993 >
9994 >    save_CXXFLAGS="$CXXFLAGS"
9995 >    CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
9996 >    if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
9997 >  echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
9998 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
9999 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
10000    echo $ECHO_N "(cached) $ECHO_C" >&6
10001 + fi
10002 + echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
10003 + echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
10004   else
10005 <  cat >conftest.$ac_ext <<_ACEOF
10006 < #line 6170 "configure"
10007 < #include "confdefs.h"
10008 < #include <mkl.h>
10005 >  # Is the header compilable?
10006 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h usability" >&5
10007 > echo $ECHO_N "checking CGAL/Cartesian.h usability... $ECHO_C" >&6
10008 > cat >conftest.$ac_ext <<_ACEOF
10009 > /* confdefs.h.  */
10010   _ACEOF
10011 < if { (eval echo "$as_me:6174: \"$ac_cpp conftest.$ac_ext\"") >&5
10011 > cat confdefs.h >>conftest.$ac_ext
10012 > cat >>conftest.$ac_ext <<_ACEOF
10013 > /* end confdefs.h.  */
10014 > $ac_includes_default
10015 > #include <CGAL/Cartesian.h>
10016 > _ACEOF
10017 > rm -f conftest.$ac_objext
10018 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10019 >  (eval $ac_compile) 2>conftest.er1
10020 >  ac_status=$?
10021 >  grep -v '^ *+' conftest.er1 >conftest.err
10022 >  rm -f conftest.er1
10023 >  cat conftest.err >&5
10024 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10025 >  (exit $ac_status); } &&
10026 >         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10027 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10028 >  (eval $ac_try) 2>&5
10029 >  ac_status=$?
10030 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10031 >  (exit $ac_status); }; } &&
10032 >         { ac_try='test -s conftest.$ac_objext'
10033 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10034 >  (eval $ac_try) 2>&5
10035 >  ac_status=$?
10036 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037 >  (exit $ac_status); }; }; then
10038 >  ac_header_compiler=yes
10039 > else
10040 >  echo "$as_me: failed program was:" >&5
10041 > sed 's/^/| /' conftest.$ac_ext >&5
10042 >
10043 > ac_header_compiler=no
10044 > fi
10045 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10046 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10047 > echo "${ECHO_T}$ac_header_compiler" >&6
10048 >
10049 > # Is the header present?
10050 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h presence" >&5
10051 > echo $ECHO_N "checking CGAL/Cartesian.h presence... $ECHO_C" >&6
10052 > cat >conftest.$ac_ext <<_ACEOF
10053 > /* confdefs.h.  */
10054 > _ACEOF
10055 > cat confdefs.h >>conftest.$ac_ext
10056 > cat >>conftest.$ac_ext <<_ACEOF
10057 > /* end confdefs.h.  */
10058 > #include <CGAL/Cartesian.h>
10059 > _ACEOF
10060 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10061    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10062    ac_status=$?
10063 <  egrep -v '^ *\+' conftest.er1 >conftest.err
10063 >  grep -v '^ *+' conftest.er1 >conftest.err
10064    rm -f conftest.er1
10065    cat conftest.err >&5
10066 <  echo "$as_me:6180: \$? = $ac_status" >&5
10066 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10067    (exit $ac_status); } >/dev/null; then
10068    if test -s conftest.err; then
10069 <    ac_cpp_err=$ac_c_preproc_warn_flag
10069 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
10070 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
10071    else
10072      ac_cpp_err=
10073    fi
# Line 6188 | Line 10075 | if test -z "$ac_cpp_err"; then
10075    ac_cpp_err=yes
10076   fi
10077   if test -z "$ac_cpp_err"; then
10078 <  ac_cv_header_mkl_h=yes
10078 >  ac_header_preproc=yes
10079   else
10080    echo "$as_me: failed program was:" >&5
10081 <  cat conftest.$ac_ext >&5
10082 <  ac_cv_header_mkl_h=no
10081 > sed 's/^/| /' conftest.$ac_ext >&5
10082 >
10083 >  ac_header_preproc=no
10084   fi
10085   rm -f conftest.err conftest.$ac_ext
10086 < fi
10087 < 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
10086 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10087 > echo "${ECHO_T}$ac_header_preproc" >&6
10088  
10089 <    echo "$as_me:6203: checking for vslNewStream in -lmkl" >&5
10090 < echo $ECHO_N "checking for vslNewStream in -lmkl... $ECHO_C" >&6
10091 < if test "${ac_cv_lib_mkl_vslNewStream+set}" = set; then
10089 > # So?  What about this header?
10090 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10091 >  yes:no: )
10092 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&5
10093 > echo "$as_me: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10094 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&5
10095 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&2;}
10096 >    ac_header_preproc=yes
10097 >    ;;
10098 >  no:yes:* )
10099 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&5
10100 > echo "$as_me: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&2;}
10101 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&5
10102 > echo "$as_me: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&2;}
10103 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&5
10104 > echo "$as_me: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&2;}
10105 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&5
10106 > echo "$as_me: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&2;}
10107 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&5
10108 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&2;}
10109 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&5
10110 > echo "$as_me: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&2;}
10111 >    (
10112 >      cat <<\_ASBOX
10113 > ## ------------------------------ ##
10114 > ## Report this to gezelter@nd.edu ##
10115 > ## ------------------------------ ##
10116 > _ASBOX
10117 >    ) |
10118 >      sed "s/^/$as_me: WARNING:     /" >&2
10119 >    ;;
10120 > esac
10121 > echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
10122 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
10123 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
10124    echo $ECHO_N "(cached) $ECHO_C" >&6
10125   else
10126 <  ac_check_lib_save_LIBS=$LIBS
10127 < LIBS="-lmkl  $LIBS"
10128 < cat >conftest.$ac_ext <<_ACEOF
10129 < #line 6211 "configure"
6212 < #include "confdefs.h"
10126 >  ac_cv_header_CGAL_Cartesian_h=$ac_header_preproc
10127 > fi
10128 > echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
10129 > echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
10130  
10131 < /* Override any gcc2 internal prototype to avoid an error.  */
10132 < #ifdef __cplusplus
10133 < extern "C"
10134 < #endif
10135 < /* We use char because int might match the return type of a gcc2
10136 <   builtin and then its argument prototype would still apply.  */
10137 < char vslNewStream ();
10131 > fi
10132 > if test $ac_cv_header_CGAL_Cartesian_h = yes; then
10133 >  cgal=yes
10134 > else
10135 >  cgal=no
10136 > fi
10137 >
10138 >
10139 >    CXXFLAGS="$save_CXXFLAGS"
10140 >
10141 >    if test "x$cgal" = xyes; then
10142 >      echo "$as_me:$LINENO: checking for CGAL version" >&5
10143 > echo $ECHO_N "checking for CGAL version... $ECHO_C" >&6
10144 >      LOCATION=${CGAL_INCLDIR}
10145 >      LOCATION=${LOCATION:-/usr/include}
10146 >      if test -f $LOCATION/CGAL/version.h; then
10147 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/version.h | sed 's/[^0-9\.]*//g'`
10148 >      else
10149 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/config.h | sed 's/[^0-9\.]*//g'`
10150 >      fi
10151 >      if echo $CGAL_VERSION | grep -q "^[3456789]"; then
10152 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) yes" >&5
10153 > echo "${ECHO_T}($CGAL_VERSION) yes" >&6
10154 >      else
10155 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) no" >&5
10156 > echo "${ECHO_T}($CGAL_VERSION) no" >&6
10157 >        cgal=no
10158 >      fi
10159 >    fi
10160 >
10161 >    if test "x$cgal" = xyes; then
10162 >      CGAL_LIBS="-lCGAL"
10163 >      echo "$as_me:$LINENO: checking whether CGAL uses LEDA" >&5
10164 > echo $ECHO_N "checking whether CGAL uses LEDA... $ECHO_C" >&6
10165 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_LEDA; then
10166 >        CGAL_USES_LEDA=yes
10167 >        echo "$as_me:$LINENO: result: yes" >&5
10168 > echo "${ECHO_T}yes" >&6
10169 >        CGAL_DEFINES="-DCGAL_USE_LEDA -DLEDA_PREFIX"
10170 >      else
10171 >        echo "$as_me:$LINENO: result: no" >&5
10172 > echo "${ECHO_T}no" >&6
10173 >        CGAL_USES_LEDA=no
10174 >      fi
10175 >
10176 >      echo "$as_me:$LINENO: checking whether CGAL uses GMP" >&5
10177 > echo $ECHO_N "checking whether CGAL uses GMP... $ECHO_C" >&6
10178 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_GMP; then
10179 >        CGAL_USES_GMP=yes
10180 >        echo "$as_me:$LINENO: result: yes" >&5
10181 > echo "${ECHO_T}yes" >&6
10182 >        CGAL_DEFINES="-DCGAL_USE_GMP $CGAL_DEFINES"
10183 >      else
10184 >        echo "$as_me:$LINENO: result: no" >&5
10185 > echo "${ECHO_T}no" >&6
10186 >        CGAL_USES_GMP=no
10187 >      fi
10188 >
10189 >      CGAL_LIBS="$CGAL_LIBS -lm"
10190 >
10191 >      CGAL_CXXFLAGS="-ftemplate-depth-50"
10192 >
10193 >      echo "$as_me:$LINENO: result: CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&5
10194 > echo "${ECHO_T}CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&6
10195 >      echo "$as_me:$LINENO: result: CGAL_USES_GMP =     $CGAL_USES_GMP" >&5
10196 > echo "${ECHO_T}CGAL_USES_GMP =     $CGAL_USES_GMP" >&6
10197 >      echo "$as_me:$LINENO: result: CGAL_INCLDIR  =     $CGAL_INCLDIR" >&5
10198 > echo "${ECHO_T}CGAL_INCLDIR  =     $CGAL_INCLDIR" >&6
10199 >      echo "$as_me:$LINENO: result: CGAL_LIBDIR   =     $CGAL_LIBDIR" >&5
10200 > echo "${ECHO_T}CGAL_LIBDIR   =     $CGAL_LIBDIR" >&6
10201 >      echo "$as_me:$LINENO: result: CGAL_DEFINES  =     $CGAL_DEFINES" >&5
10202 > echo "${ECHO_T}CGAL_DEFINES  =     $CGAL_DEFINES" >&6
10203 >      echo "$as_me:$LINENO: result: CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&5
10204 > echo "${ECHO_T}CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&6
10205 >      echo "$as_me:$LINENO: result: CGAL_LIBS     =     $CGAL_LIBS" >&5
10206 > echo "${ECHO_T}CGAL_LIBS     =     $CGAL_LIBS" >&6
10207 >    fi
10208 >
10209 >    if test "x$cgal" = xyes; then
10210 >      save_LIBS="$LIBS"
10211 >      LIBS="$LIBS -L$CGAL_LIBDIR"
10212 >      if test "x$CGAL_USES_LEDA" = xyes; then
10213 >        LIBS="-lL $LIBS -L$LEDA_LIBDIR"
10214 >      fi
10215 >      # if test "x$CGAL_USES_GMP" = xyes; then
10216 >      #   LIBS="-lgmp $LIBS $GMP_LIBDIR"
10217 >      # fi
10218 >      echo "$as_me:$LINENO: checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL" >&5
10219 > echo $ECHO_N "checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL... $ECHO_C" >&6
10220 > save_CXXFLAGS_CHECK_CXX_LIB="$CXXFLAGS"
10221 > CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
10222 > save_LIBS_CHECK_CXX_LIB="$LIBS"
10223 > LIBS="-lCGAL  $LIBS"
10224 > cat >conftest.$ac_ext <<_ACEOF
10225 > /* confdefs.h.  */
10226 > _ACEOF
10227 > cat confdefs.h >>conftest.$ac_ext
10228 > cat >>conftest.$ac_ext <<_ACEOF
10229 > /* end confdefs.h.  */
10230 > #include <CGAL/Cartesian.h>
10231   int
10232   main ()
10233   {
10234 < vslNewStream ();
10234 > ::CGAL::Cartesian<int>::Point_2 P
10235    ;
10236    return 0;
10237   }
10238   _ACEOF
10239   rm -f conftest.$ac_objext conftest$ac_exeext
10240 < if { (eval echo "$as_me:6230: \"$ac_link\"") >&5
10241 <  (eval $ac_link) 2>&5
10240 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10241 >  (eval $ac_link) 2>conftest.er1
10242    ac_status=$?
10243 <  echo "$as_me:6233: \$? = $ac_status" >&5
10243 >  grep -v '^ *+' conftest.er1 >conftest.err
10244 >  rm -f conftest.er1
10245 >  cat conftest.err >&5
10246 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10247    (exit $ac_status); } &&
10248 <         { ac_try='test -s conftest$ac_exeext'
10249 <  { (eval echo "$as_me:6236: \"$ac_try\"") >&5
10248 >         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
10249 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10250    (eval $ac_try) 2>&5
10251    ac_status=$?
10252 <  echo "$as_me:6239: \$? = $ac_status" >&5
10252 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 >  (exit $ac_status); }; } &&
10254 >         { ac_try='test -s conftest$ac_exeext'
10255 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10256 >  (eval $ac_try) 2>&5
10257 >  ac_status=$?
10258 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10259    (exit $ac_status); }; }; then
10260 <  ac_cv_lib_mkl_vslNewStream=yes
10260 >  echo "$as_me:$LINENO: result: yes" >&5
10261 > echo "${ECHO_T}yes" >&6
10262 > cgal=yes
10263   else
10264    echo "$as_me: failed program was:" >&5
10265 < 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
10265 > sed 's/^/| /' conftest.$ac_ext >&5
10266  
10267 < else
10268 <  MKL_INC="-I${mkldir}/include"
10267 > echo "$as_me:$LINENO: result: no" >&5
10268 > echo "${ECHO_T}no" >&6
10269 > cgal=no
10270   fi
10271 + rm -f conftest.err conftest.$ac_objext \
10272 +      conftest$ac_exeext conftest.$ac_ext
10273 + CXXFLAGS="$save_CXXFLAGS_CHECK_CXX_LIB"
10274 + LIBS="$save_LIBS_CHECK_CXX_LIB"
10275 +      LIBS="$save_LIBS"
10276 +    fi
10277  
10278 <  CPPFLAGS=$ac_save_CPPFLAGS
6263 <  LDFLAGS=$ac_save_LDFLAGS
10278 >  fi
10279    ac_ext=c
10280   ac_cpp='$CPP $CPPFLAGS'
10281   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10282   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10283   ac_compiler_gnu=$ac_cv_c_compiler_gnu
10284  
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
10285  
10286 + fi
10287 +
10288 + if test "x$cgal" = xyes; then
10289 +  USE_CGAL=yes
10290 +
10291 + cat >>confdefs.h <<\_ACEOF
10292 + #define HAVE_CGAL 1
10293 + _ACEOF
10294 +
10295 +
10296 + cat >>confdefs.h <<_ACEOF
10297 + #define CGAL_VERSION $CGAL_VERSION
10298 + _ACEOF
10299 +
10300 +  if ! echo $CGAL_VERSION | grep -q "^3.0"; then
10301 +    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
10302 + echo "$as_me: WARNING: *****************************************************" >&2;}
10303 +    { echo "$as_me:$LINENO: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&5
10304 + echo "$as_me: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&2;}
10305 +    { echo "$as_me:$LINENO: WARNING: *** supported versions. It may still work though. ***" >&5
10306 + echo "$as_me: WARNING: *** supported versions. It may still work though. ***" >&2;}
10307 +    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
10308 + echo "$as_me: WARNING: *****************************************************" >&2;}
10309 +  fi
10310   else
10311 +   if test "x$cgal_makefile" != xno; then
10312 +    echo "$as_me:$LINENO: result: No CGAL support. These are not the droids you want." >&5
10313 + echo "${ECHO_T}No CGAL support. These are not the droids you want." >&6
10314 +  fi
10315 +  CGAL_INCLDIR=
10316 +  CGAL_LIBDIR=
10317 +  CGAL_RLIBDIR=
10318 +  CGAL_DEFINES=
10319 +  CGAL_CXXFLAGS=
10320 +  CGAL_LIBS=
10321 + fi
10322  
6278    echo "$as_me:6278: result: no" >&5
6279 echo "${ECHO_T}no" >&6
10323  
10324 < fi;
10324 > CGAL_INC_DIR="${CGAL_INCLDIR} ${CGAL_INCLCONFDIR}"
10325  
10326 + CGAL_LIB_DIR=${CGAL_LIBDIR}
10327 +
10328 + CGAL_RLIB_DIR=${CGAL_RLIBDIR}
10329 +
10330 +
10331 +
10332 +
10333 +
10334 +
10335 +
10336   # Check whether --enable-doxygen or --disable-doxygen was given.
10337   if test "${enable_doxygen+set}" = set; then
10338    enableval="$enable_doxygen"
# Line 6309 | Line 10362 | echo "$as_me:6312: checking for $ac_word" >&5
10362   else
10363          # Extract the first word of "doxygen", so it can be a program name with args.
10364   set dummy doxygen; ac_word=$2
10365 < echo "$as_me:6312: checking for $ac_word" >&5
10365 > echo "$as_me:$LINENO: checking for $ac_word" >&5
10366   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10367   if test "${ac_cv_path_DOXYGEN+set}" = set; then
10368    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6319 | Line 10372 | else
10372    ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
10373    ;;
10374    *)
10375 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
10376 < ac_dummy="$PATH"
10377 < for ac_dir in $ac_dummy; do
10378 <  IFS=$ac_save_IFS
10379 <  test -z "$ac_dir" && ac_dir=.
10380 <  if $as_executable_p "$ac_dir/$ac_word"; then
10381 <   ac_cv_path_DOXYGEN="$ac_dir/$ac_word"
10382 <   echo "$as_me:6329: found $ac_dir/$ac_word" >&5
10383 <   break
10384 < fi
10375 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10376 > for as_dir in $PATH
10377 > do
10378 >  IFS=$as_save_IFS
10379 >  test -z "$as_dir" && as_dir=.
10380 >  for ac_exec_ext in '' $ac_executable_extensions; do
10381 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10382 >    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
10383 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10384 >    break 2
10385 >  fi
10386   done
10387 + done
10388  
10389    ;;
10390   esac
# Line 6337 | Line 10392 | if test -n "$DOXYGEN"; then
10392   DOXYGEN=$ac_cv_path_DOXYGEN
10393  
10394   if test -n "$DOXYGEN"; then
10395 <  echo "$as_me:6340: result: $DOXYGEN" >&5
10395 >  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
10396   echo "${ECHO_T}$DOXYGEN" >&6
10397   else
10398 <  echo "$as_me:6343: result: no" >&5
10398 >  echo "$as_me:$LINENO: result: no" >&5
10399   echo "${ECHO_T}no" >&6
10400   fi
10401  
10402          if test "x$DOXYGEN" = x; then
10403                  if test "x$enable_doxygen" = xyes; then
10404 <                        { { echo "$as_me:6349: error: could not find doxygen" >&5
10404 >                        { { echo "$as_me:$LINENO: error: could not find doxygen" >&5
10405   echo "$as_me: error: could not find doxygen" >&2;}
10406     { (exit 1); exit 1; }; }
10407                  fi
# Line 6355 | Line 10410 | echo "$as_me:6358: checking for $ac_word" >&5
10410                  enable_doc=yes
10411                  # Extract the first word of "dot", so it can be a program name with args.
10412   set dummy dot; ac_word=$2
10413 < echo "$as_me:6358: checking for $ac_word" >&5
10413 > echo "$as_me:$LINENO: checking for $ac_word" >&5
10414   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10415   if test "${ac_cv_path_DOT+set}" = set; then
10416    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6365 | Line 10420 | else
10420    ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
10421    ;;
10422    *)
10423 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
10424 < ac_dummy="$PATH"
10425 < for ac_dir in $ac_dummy; do
10426 <  IFS=$ac_save_IFS
10427 <  test -z "$ac_dir" && ac_dir=.
10428 <  if $as_executable_p "$ac_dir/$ac_word"; then
10429 <   ac_cv_path_DOT="$ac_dir/$ac_word"
10430 <   echo "$as_me:6375: found $ac_dir/$ac_word" >&5
10431 <   break
10432 < fi
10423 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10424 > for as_dir in $PATH
10425 > do
10426 >  IFS=$as_save_IFS
10427 >  test -z "$as_dir" && as_dir=.
10428 >  for ac_exec_ext in '' $ac_executable_extensions; do
10429 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10430 >    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
10431 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10432 >    break 2
10433 >  fi
10434   done
10435 + done
10436  
10437    ;;
10438   esac
# Line 6383 | Line 10440 | if test -n "$DOT"; then
10440   DOT=$ac_cv_path_DOT
10441  
10442   if test -n "$DOT"; then
10443 <  echo "$as_me:6386: result: $DOT" >&5
10443 >  echo "$as_me:$LINENO: result: $DOT" >&5
10444   echo "${ECHO_T}$DOT" >&6
10445   else
10446 <  echo "$as_me:6389: result: no" >&5
10446 >  echo "$as_me:$LINENO: result: no" >&5
10447   echo "${ECHO_T}no" >&6
10448   fi
10449  
# Line 6399 | Line 10456 | if test x$DOT = x; then
10456    DOC=0
10457   fi
10458  
10459 +
10460   if test x$DOT = x; then
10461          if test "x$enable_dot" = xyes; then
10462 <                { { echo "$as_me:6404: error: could not find dot" >&5
10462 >                { { echo "$as_me:$LINENO: error: could not find dot" >&5
10463   echo "$as_me: error: could not find dot" >&2;}
10464     { (exit 1); exit 1; }; }
10465          fi
# Line 6410 | Line 10468 | OBJEXT=".$OBJEXT"
10468          enable_dot=yes
10469   fi
10470  
10471 +
10472 +
10473 +
10474 +
10475 +
10476 +
10477   OBJEXT=".$OBJEXT"
10478  
10479   OOPSE=oopse
# Line 6449 | Line 10513 | esac
10513    *)
10514       ;;
10515   esac
10516 +
10517 +
10518 +
10519 +
10520 +
10521 +
10522 +
10523 +
10524 +
10525 +
10526 +
10527 +
10528 +
10529 +
10530 +
10531 +
10532 +
10533 +
10534 +          ac_config_headers="$ac_config_headers src/config.h"
10535  
10536 < ac_config_headers="$ac_config_headers src/config.h"
10536 >                                        ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile scripts/filepp"
10537  
6455 ac_config_files="$ac_config_files make/Makefile src/utils/Makefile"
10538  
10539   cat >confcache <<\_ACEOF
10540   # This file is a shell script that caches the results of configure
# Line 6464 | Line 10546 | cat >confcache <<\_ACEOF
10546   # config.status only pays attention to the cache file if you give it
10547   # the --recheck option to rerun configure.
10548   #
10549 < # `ac_cv_env_foo' variables (set or unset) will be overriden when
10549 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
10550   # loading this file, other *unset* `ac_cv_foo' will be assigned the
10551   # following values.
10552  
# Line 6482 | Line 10564 | _ACEOF
10564        # `set' does not quote correctly, so add quotes (double-quote
10565        # substitution turns \\\\ into \\, and sed turns \\ into \).
10566        sed -n \
10567 <        "s/'/'\\\\''/g;
10568 <          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10567 >        "s/'/'\\\\''/g;
10568 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10569        ;;
10570      *)
10571        # `set' quotes correctly as required by POSIX, so do not add quotes.
10572        sed -n \
10573 <        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10573 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10574        ;;
10575      esac;
10576   } |
# Line 6499 | Line 10581 | if cmp -s $cache_file confcache; then :; else
10581       t end
10582       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10583       : end' >>confcache
10584 < if cmp -s $cache_file confcache; then :; else
10584 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
10585    if test -w $cache_file; then
10586      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10587      cat confcache >$cache_file
# Line 6518 | Line 10600 | if test "x$srcdir" = x.; then
10600   # trailing colons and then remove the whole line if VPATH becomes empty
10601   # (actually we leave an empty line to preserve line numbers).
10602   if test "x$srcdir" = x.; then
10603 <  ac_vpsub='/^[         ]*VPATH[        ]*=/{
10603 >  ac_vpsub='/^[  ]*VPATH[        ]*=/{
10604   s/:*\$(srcdir):*/:/;
10605   s/:*\${srcdir}:*/:/;
10606   s/:*@srcdir@:*/:/;
10607 < s/^\([^=]*=[    ]*\):*/\1/;
10607 > s/^\([^=]*=[     ]*\):*/\1/;
10608   s/:*$//;
10609 < s/^[^=]*=[      ]*$//;
10609 > s/^[^=]*=[       ]*$//;
10610   }'
10611   fi
10612  
10613   DEFS=-DHAVE_CONFIG_H
10614  
10615 + ac_libobjs=
10616 + ac_ltlibobjs=
10617 + for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10618 +  # 1. Remove the extension, and $U if already installed.
10619 +  ac_i=`echo "$ac_i" |
10620 +         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10621 +  # 2. Add them.
10622 +  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
10623 +  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
10624 + done
10625 + LIBOBJS=$ac_libobjs
10626 +
10627 + LTLIBOBJS=$ac_ltlibobjs
10628 +
10629 +
10630 +
10631   : ${CONFIG_STATUS=./config.status}
10632   ac_clean_files_save=$ac_clean_files
10633   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10634 < { echo "$as_me:6536: creating $CONFIG_STATUS" >&5
10634 > { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10635   echo "$as_me: creating $CONFIG_STATUS" >&6;}
10636   cat >$CONFIG_STATUS <<_ACEOF
10637   #! $SHELL
10638 < # Generated automatically by configure.
10638 > # Generated by $as_me.
10639   # Run this file to recreate the current configuration.
10640   # Compiler output produced by configure, useful for debugging
10641   # configure, is in config.log if it exists.
10642  
10643   debug=false
10644 + ac_cs_recheck=false
10645 + ac_cs_silent=false
10646   SHELL=\${CONFIG_SHELL-$SHELL}
6547 ac_cs_invocation="\$0 \$@"
6548
10647   _ACEOF
10648  
10649   cat >>$CONFIG_STATUS <<\_ACEOF
10650 + ## --------------------- ##
10651 + ## M4sh Initialization.  ##
10652 + ## --------------------- ##
10653 +
10654   # Be Bourne compatible
10655   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10656    emulate sh
10657    NULLCMD=:
10658 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10659 +  # is contrary to our usage.  Disable this feature.
10660 +  alias -g '${1+"$@"}'='"$@"'
10661   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
10662    set -o posix
10663   fi
10664 + DUALCASE=1; export DUALCASE # for MKS sh
10665  
10666 + # Support unset when possible.
10667 + if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10668 +  as_unset=unset
10669 + else
10670 +  as_unset=false
10671 + fi
10672 +
10673 +
10674 + # Work around bugs in pre-3.0 UWIN ksh.
10675 + $as_unset ENV MAIL MAILPATH
10676 + PS1='$ '
10677 + PS2='> '
10678 + PS4='+ '
10679 +
10680 + # NLS nuisances.
10681 + for as_var in \
10682 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10683 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10684 +  LC_TELEPHONE LC_TIME
10685 + do
10686 +  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10687 +    eval $as_var=C; export $as_var
10688 +  else
10689 +    $as_unset $as_var
10690 +  fi
10691 + done
10692 +
10693 + # Required to use basename.
10694 + if expr a : '\(a\)' >/dev/null 2>&1; then
10695 +  as_expr=expr
10696 + else
10697 +  as_expr=false
10698 + fi
10699 +
10700 + if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
10701 +  as_basename=basename
10702 + else
10703 +  as_basename=false
10704 + fi
10705 +
10706 +
10707   # Name of the executable.
10708 < as_me=`echo "$0" |sed 's,.*[\\/],,'`
10708 > as_me=`$as_basename "$0" ||
10709 > $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10710 >         X"$0" : 'X\(//\)$' \| \
10711 >         X"$0" : 'X\(/\)$' \| \
10712 >         .     : '\(.\)' 2>/dev/null ||
10713 > echo X/"$0" |
10714 >    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10715 >          /^X\/\(\/\/\)$/{ s//\1/; q; }
10716 >          /^X\/\(\/\).*/{ s//\1/; q; }
10717 >          s/.*/./; q'`
10718 >
10719 >
10720 > # PATH needs CR, and LINENO needs CR and PATH.
10721 > # Avoid depending upon Character Ranges.
10722 > as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10723 > as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10724 > as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10725 > as_cr_digits='0123456789'
10726 > as_cr_alnum=$as_cr_Letters$as_cr_digits
10727 >
10728 > # The user is always right.
10729 > if test "${PATH_SEPARATOR+set}" != set; then
10730 >  echo "#! /bin/sh" >conf$$.sh
10731 >  echo  "exit 0"   >>conf$$.sh
10732 >  chmod +x conf$$.sh
10733 >  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10734 >    PATH_SEPARATOR=';'
10735 >  else
10736 >    PATH_SEPARATOR=:
10737 >  fi
10738 >  rm -f conf$$.sh
10739 > fi
10740 >
10741 >
10742 >  as_lineno_1=$LINENO
10743 >  as_lineno_2=$LINENO
10744 >  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10745 >  test "x$as_lineno_1" != "x$as_lineno_2" &&
10746 >  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
10747 >  # Find who we are.  Look in the path if we contain no path at all
10748 >  # relative or not.
10749 >  case $0 in
10750 >    *[\\/]* ) as_myself=$0 ;;
10751 >    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10752 > for as_dir in $PATH
10753 > do
10754 >  IFS=$as_save_IFS
10755 >  test -z "$as_dir" && as_dir=.
10756 >  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10757 > done
10758  
10759 +       ;;
10760 +  esac
10761 +  # We did not find ourselves, most probably we were run as `sh COMMAND'
10762 +  # in which case we are not to be found in the path.
10763 +  if test "x$as_myself" = x; then
10764 +    as_myself=$0
10765 +  fi
10766 +  if test ! -f "$as_myself"; then
10767 +    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10768 + echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10769 +   { (exit 1); exit 1; }; }
10770 +  fi
10771 +  case $CONFIG_SHELL in
10772 +  '')
10773 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10774 + for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
10775 + do
10776 +  IFS=$as_save_IFS
10777 +  test -z "$as_dir" && as_dir=.
10778 +  for as_base in sh bash ksh sh5; do
10779 +         case $as_dir in
10780 +         /*)
10781 +           if ("$as_dir/$as_base" -c '
10782 +  as_lineno_1=$LINENO
10783 +  as_lineno_2=$LINENO
10784 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10785 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
10786 +  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
10787 +             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
10788 +             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
10789 +             CONFIG_SHELL=$as_dir/$as_base
10790 +             export CONFIG_SHELL
10791 +             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
10792 +           fi;;
10793 +         esac
10794 +       done
10795 + done
10796 + ;;
10797 +  esac
10798 +
10799 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10800 +  # uniformly replaced by the line number.  The first 'sed' inserts a
10801 +  # line-number line before each line; the second 'sed' does the real
10802 +  # work.  The second script uses 'N' to pair each line-number line
10803 +  # with the numbered line, and appends trailing '-' during
10804 +  # substitution so that $LINENO is not a special case at line end.
10805 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10806 +  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
10807 +  sed '=' <$as_myself |
10808 +    sed '
10809 +      N
10810 +      s,$,-,
10811 +      : loop
10812 +      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
10813 +      t loop
10814 +      s,-$,,
10815 +      s,^['$as_cr_digits']*\n,,
10816 +    ' >$as_me.lineno &&
10817 +  chmod +x $as_me.lineno ||
10818 +    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
10819 + echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
10820 +   { (exit 1); exit 1; }; }
10821 +
10822 +  # Don't try to exec as it changes $[0], causing all sort of problems
10823 +  # (the dirname of $[0] is not the place where we might find the
10824 +  # original and so on.  Autoconf is especially sensible to this).
10825 +  . ./$as_me.lineno
10826 +  # Exit status is that of the last command.
10827 +  exit
10828 + }
10829 +
10830 +
10831 + case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10832 +  *c*,-n*) ECHO_N= ECHO_C='
10833 + ' ECHO_T='      ' ;;
10834 +  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
10835 +  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
10836 + esac
10837 +
10838   if expr a : '\(a\)' >/dev/null 2>&1; then
10839    as_expr=expr
10840   else
# Line 6584 | Line 10859 | as_executable_p="test -f"
10859   fi
10860   rm -f conf$$ conf$$.exe conf$$.file
10861  
10862 < as_executable_p="test -f"
10863 <
6589 < # Support unset when possible.
6590 < if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
6591 <  as_unset=unset
10862 > if mkdir -p . 2>/dev/null; then
10863 >  as_mkdir_p=:
10864   else
10865 <  as_unset=false
10865 >  test -d ./-p && rmdir ./-p
10866 >  as_mkdir_p=false
10867   fi
10868  
10869 < # 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; }
10869 > as_executable_p="test -f"
10870  
10871 + # Sed expression to map a string onto a valid CPP name.
10872 + as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10873 +
10874 + # Sed expression to map a string onto a valid variable name.
10875 + as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10876 +
10877 +
10878   # IFS
10879   # We need space, tab and new line, in precisely that order.
10880   as_nl='
# Line 6610 | Line 10882 | $as_unset CDPATH || test "${CDPATH+set}" != set || { C
10882   IFS="   $as_nl"
10883  
10884   # CDPATH.
10885 < $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
10885 > $as_unset CDPATH
10886  
10887   exec 6>&1
10888 +
10889 + # Open the log real soon, to keep \$[0] and so on meaningful, and to
10890 + # report actual input values of CONFIG_FILES etc. instead of their
10891 + # values after options handling.  Logging --version etc. is OK.
10892 + exec 5>>config.log
10893 + {
10894 +  echo
10895 +  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10896 + ## Running $as_me. ##
10897 + _ASBOX
10898 + } >&5
10899 + cat >&5 <<_CSEOF
10900 +
10901 + This file was extended by OOPSE $as_me 2.0, which was
10902 + generated by GNU Autoconf 2.59.  Invocation command line was
10903  
10904 +  CONFIG_FILES    = $CONFIG_FILES
10905 +  CONFIG_HEADERS  = $CONFIG_HEADERS
10906 +  CONFIG_LINKS    = $CONFIG_LINKS
10907 +  CONFIG_COMMANDS = $CONFIG_COMMANDS
10908 +  $ $0 $@
10909 +
10910 + _CSEOF
10911 + echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10912 + echo >&5
10913   _ACEOF
10914  
10915   # Files that config.status was made for.
# Line 6633 | Line 10929 | cat >>$CONFIG_STATUS <<\EOF
10929    echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10930   fi
10931  
10932 < cat >>$CONFIG_STATUS <<\EOF
10932 > cat >>$CONFIG_STATUS <<\_ACEOF
10933  
10934   ac_cs_usage="\
10935   \`$as_me' instantiates files from templates according to the
# Line 6643 | Line 10939 | Usage: $0 [OPTIONS] [FILE]...
10939  
10940    -h, --help       print this help, then exit
10941    -V, --version    print version number, then exit
10942 +  -q, --quiet      do not print progress messages
10943    -d, --debug      don't remove temporary files
10944        --recheck    update $as_me by reconfiguring in the same conditions
10945    --file=FILE[:TEMPLATE]
10946 <                   instantiate the configuration file FILE
10946 >                   instantiate the configuration file FILE
10947    --header=FILE[:TEMPLATE]
10948 <                   instantiate the configuration header FILE
10948 >                   instantiate the configuration header FILE
10949  
10950   Configuration files:
10951   $config_files
# Line 6660 | Line 10957 | EOF
10957   $config_links
10958  
10959   Report bugs to <bug-autoconf@gnu.org>."
10960 < EOF
10960 > _ACEOF
10961  
10962 < cat >>$CONFIG_STATUS <<EOF
10962 > cat >>$CONFIG_STATUS <<_ACEOF
10963   ac_cs_version="\\
10964   OOPSE config.status 2.0
10965 < configured by $0, generated by GNU Autoconf 2.50,
10965 > configured by $0, generated by GNU Autoconf 2.59,
10966    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10967  
10968 < Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6672 < Free Software Foundation, Inc.
10968 > Copyright (C) 2003 Free Software Foundation, Inc.
10969   This config.status script is free software; the Free Software Foundation
10970   gives unlimited permission to copy, distribute and modify it."
10971   srcdir=$srcdir
10972   INSTALL="$INSTALL"
10973 < EOF
10973 > _ACEOF
10974  
10975 < cat >>$CONFIG_STATUS <<\EOF
10975 > cat >>$CONFIG_STATUS <<\_ACEOF
10976   # If no file are specified by the user, then we need to provide default
10977   # value.  By we need to know if files were specified by the user.
10978   ac_need_defaults=:
# Line 6686 | Line 10982 | do
10982    --*=*)
10983      ac_option=`expr "x$1" : 'x\([^=]*\)='`
10984      ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
10985 <    shift
6690 <    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
6691 <    shift
10985 >    ac_shift=:
10986      ;;
10987 <  -*);;
10987 >  -*)
10988 >    ac_option=$1
10989 >    ac_optarg=$2
10990 >    ac_shift=shift
10991 >    ;;
10992    *) # This is not an option, so the user has probably given explicit
10993       # arguments.
10994 +     ac_option=$1
10995       ac_need_defaults=false;;
10996    esac
10997  
10998 <  case $1 in
10998 >  case $ac_option in
10999    # Handling of the options.
11000 < EOF
11001 < cat >>$CONFIG_STATUS <<EOF
11000 > _ACEOF
11001 > cat >>$CONFIG_STATUS <<\_ACEOF
11002    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11003 <    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
11003 >    ac_cs_recheck=: ;;
11004    --version | --vers* | -V )
11005      echo "$ac_cs_version"; exit 0 ;;
11006    --he | --h)
11007      # Conflict between --help and --header
11008 <    { { echo "$as_me:6712: error: ambiguous option: $1
11008 >    { { echo "$as_me:$LINENO: error: ambiguous option: $1
11009   Try \`$0 --help' for more information." >&5
11010   echo "$as_me: error: ambiguous option: $1
11011   Try \`$0 --help' for more information." >&2;}
# Line 6719 | Line 11015 | Try \`$0 --help' for more information." >&2;}
11015    --debug | --d* | -d )
11016      debug=: ;;
11017    --file | --fil | --fi | --f )
11018 <    shift
11019 <    CONFIG_FILES="$CONFIG_FILES $1"
11018 >    $ac_shift
11019 >    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
11020      ac_need_defaults=false;;
11021    --header | --heade | --head | --hea )
11022 <    shift
11023 <    CONFIG_HEADERS="$CONFIG_HEADERS $1"
11022 >    $ac_shift
11023 >    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
11024      ac_need_defaults=false;;
11025 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
11026 +  | -silent | --silent | --silen | --sile | --sil | --si | --s)
11027 +    ac_cs_silent=: ;;
11028  
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
11029    # This is an error.
11030 <  -*) { { echo "$as_me:6737: error: unrecognized option: $1
11030 >  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
11031   Try \`$0 --help' for more information." >&5
11032   echo "$as_me: error: unrecognized option: $1
11033   Try \`$0 --help' for more information." >&2;}
11034     { (exit 1); exit 1; }; } ;;
11035 <  *) { { echo "$as_me:6742: error: invalid argument: $1" >&5
11036 < echo "$as_me: error: invalid argument: $1" >&2;}
11037 <   { (exit 1); exit 1; }; };;
11035 >
11036 >  *) ac_config_targets="$ac_config_targets $1" ;;
11037 >
11038    esac
11039    shift
11040   done
11041  
11042 < exec 5>>config.log
6750 < cat >&5 << _ACEOF
11042 > ac_configure_extra_args=
11043  
11044 < ## ----------------------- ##
11045 < ## Running config.status.  ##
11046 < ## ----------------------- ##
11044 > if $ac_cs_silent; then
11045 >  exec 6>/dev/null
11046 >  ac_configure_extra_args="$ac_configure_extra_args --silent"
11047 > fi
11048  
11049 < This file was extended by $as_me (OOPSE 2.0) 2.50, executed with
11050 <  > $ac_cs_invocation
11051 < on `(hostname || uname -n) 2>/dev/null | sed 1q`
11049 > _ACEOF
11050 > cat >>$CONFIG_STATUS <<_ACEOF
11051 > if \$ac_cs_recheck; then
11052 >  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11053 >  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11054 > fi
11055  
11056   _ACEOF
6761 EOF
11057  
11058 < cat >>$CONFIG_STATUS <<\EOF
11058 >
11059 >
11060 >
11061 >
11062 > cat >>$CONFIG_STATUS <<\_ACEOF
11063 > for ac_config_target in $ac_config_targets
11064 > do
11065 >  case "$ac_config_target" in
11066 >  # Handling of arguments.
11067 >  "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
11068 >  "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
11069 >  "src/applications/nanoRodBuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/nanoRodBuilder/Makefile" ;;
11070 >  "scripts/filepp" ) CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;;
11071 >  "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
11072 >  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
11073 >  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11074 > echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11075 >   { (exit 1); exit 1; }; };;
11076 >  esac
11077 > done
11078 >
11079   # If the user did not use the arguments to specify the items to instantiate,
11080   # then the envvar interface is used.  Set only those that are not.
11081   # We use the long form for the default assignment because of an extremely
# Line 6771 | Line 11086 | fi
11086    test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
11087   fi
11088  
11089 + # Have a temporary directory for convenience.  Make it in the build tree
11090 + # simply because there is no reason to put it here, and in addition,
11091 + # creating and moving files from /tmp can sometimes cause problems.
11092   # Create a temporary directory, and hook for its removal unless debugging.
11093   $debug ||
11094   {
11095    trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11096 <  trap '{ (exit $?); exit $?; }' 1 2 13 15
11096 >  trap '{ (exit 1); exit 1; }' 1 2 13 15
11097   }
11098  
11099   # Create a (secure) tmp directory for tmp files.
11100 < : ${TMPDIR=/tmp}
11100 >
11101   {
11102 <  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
11102 >  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11103    test -n "$tmp" && test -d "$tmp"
11104   }  ||
11105   {
11106 <  tmp=$TMPDIR/cs$$-$RANDOM
11106 >  tmp=./confstat$$-$RANDOM
11107    (umask 077 && mkdir $tmp)
11108   } ||
11109   {
11110 <   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
11110 >   echo "$me: cannot create a temporary directory in ." >&2
11111     { (exit 1); exit 1; }
11112   }
11113  
11114 < EOF
11114 > _ACEOF
11115  
11116 < cat >>$CONFIG_STATUS <<EOF
11116 > cat >>$CONFIG_STATUS <<_ACEOF
11117  
11118   #
11119   # CONFIG_FILES section.
# Line 6808 | Line 11126 | s,@exec_prefix@,$exec_prefix,;t t
11126    sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11127     s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11128   s,@SHELL@,$SHELL,;t t
11129 + s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11130 + s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11131 + s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11132 + s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11133 + s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11134 + s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11135   s,@exec_prefix@,$exec_prefix,;t t
11136   s,@prefix@,$prefix,;t t
11137   s,@program_transform_name@,$program_transform_name,;t t
# Line 6823 | Line 11147 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11147   s,@oldincludedir@,$oldincludedir,;t t
11148   s,@infodir@,$infodir,;t t
11149   s,@mandir@,$mandir,;t t
11150 < s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11151 < s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11152 < s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11153 < s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6830 < s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11150 > s,@build_alias@,$build_alias,;t t
11151 > s,@host_alias@,$host_alias,;t t
11152 > s,@target_alias@,$target_alias,;t t
11153 > s,@DEFS@,$DEFS,;t t
11154   s,@ECHO_C@,$ECHO_C,;t t
11155   s,@ECHO_N@,$ECHO_N,;t t
11156   s,@ECHO_T@,$ECHO_T,;t t
6834 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6835 s,@DEFS@,$DEFS,;t t
11157   s,@LIBS@,$LIBS,;t t
11158   s,@PROGNAME@,$PROGNAME,;t t
11159   s,@debug@,$debug,;t t
# Line 6870 | Line 11191 | s,@LIBOBJS@,$LIBOBJS,;t t
11191   s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
11192   s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t
11193   s,@CPP@,$CPP,;t t
11194 + s,@EGREP@,$EGREP,;t t
11195 + s,@CXXCPP@,$CXXCPP,;t t
11196   s,@LIBOBJS@,$LIBOBJS,;t t
11197   s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11198   s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
# Line 6882 | Line 11205 | s,@AR@,$AR,;t t
11205   s,@LEX@,$LEX,;t t
11206   s,@LEXLIB@,$LEXLIB,;t t
11207   s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
11208 + s,@PERLINTERP@,$PERLINTERP,;t t
11209 + s,@PERL_SHEBANG@,$PERL_SHEBANG,;t t
11210   s,@AR@,$AR,;t t
11211   s,@PS@,$PS,;t t
11212   s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
# Line 6890 | Line 11215 | s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t
11215   s,@MPI_LIB@,$MPI_LIB,;t t
11216   s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t
11217   s,@USE_MPI@,$USE_MPI,;t t
11218 < s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t
11219 < s,@SPRNG_INC_DIR@,$SPRNG_INC_DIR,;t t
11220 < s,@SPRNG_LIB@,$SPRNG_LIB,;t t
11221 < s,@USE_SPRNG@,$USE_SPRNG,;t t
11222 < s,@MKL_LIBDIR@,$MKL_LIBDIR,;t t
11223 < s,@MKL_LIB@,$MKL_LIB,;t t
11224 < s,@MKL_INC@,$MKL_INC,;t t
6900 < s,@HAVE_MKL@,$HAVE_MKL,;t t
11218 > s,@USE_CGAL@,$USE_CGAL,;t t
11219 > s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t
11220 > s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t
11221 > s,@CGAL_RLIB_DIR@,$CGAL_RLIB_DIR,;t t
11222 > s,@CGAL_DEFINES@,$CGAL_DEFINES,;t t
11223 > s,@CGAL_CXXFLAGS@,$CGAL_CXXFLAGS,;t t
11224 > s,@CGAL_LIBS@,$CGAL_LIBS,;t t
11225   s,@DOXYGEN@,$DOXYGEN,;t t
11226   s,@DOT@,$DOT,;t t
11227   s,@DOC@,$DOC,;t t
# Line 6910 | Line 11234 | CEOF
11234   s,@OOPSE_HOME@,$OOPSE_HOME,;t t
11235   s,@SUBDIRS@,$SUBDIRS,;t t
11236   s,@FFLAGS@,$FFLAGS,;t t
11237 + s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11238   CEOF
11239  
11240 < EOF
11240 > _ACEOF
11241  
11242 <  cat >>$CONFIG_STATUS <<\EOF
11242 >  cat >>$CONFIG_STATUS <<\_ACEOF
11243    # Split the substitutions into bite-sized pieces for seds with
11244    # small command number limits, like on Digital OSF/1 and HP-UX.
11245    ac_max_sed_lines=48
# Line 6939 | Line 11264 | EOF
11264        (echo ':t
11265    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
11266        if test -z "$ac_sed_cmds"; then
11267 <        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11267 >        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11268        else
11269 <        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11269 >        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11270        fi
11271        ac_sed_frag=`expr $ac_sed_frag + 1`
11272        ac_beg=$ac_end
# Line 6953 | Line 11278 | EOF
11278    fi
11279   fi # test -n "$CONFIG_FILES"
11280  
11281 < EOF
11282 < cat >>$CONFIG_STATUS <<\EOF
11281 > _ACEOF
11282 > cat >>$CONFIG_STATUS <<\_ACEOF
11283   for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
11284    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11285    case $ac_file in
11286    - | *:- | *:-:* ) # input from stdin
11287 <        cat >$tmp/stdin
11288 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11289 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11287 >        cat >$tmp/stdin
11288 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11289 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11290    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11291 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11291 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11292    * )   ac_file_in=$ac_file.in ;;
11293    esac
11294  
11295    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11296 <  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11297 <         X"$ac_file" : 'X\(//\)[^/]' \| \
11298 <         X"$ac_file" : 'X\(//\)$' \| \
11299 <         X"$ac_file" : 'X\(/\)' \| \
11300 <         .     : '\(.\)' 2>/dev/null ||
11296 >  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11297 > $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11298 >         X"$ac_file" : 'X\(//\)[^/]' \| \
11299 >         X"$ac_file" : 'X\(//\)$' \| \
11300 >         X"$ac_file" : 'X\(/\)' \| \
11301 >         .     : '\(.\)' 2>/dev/null ||
11302   echo X"$ac_file" |
11303      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11304            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11305            /^X\(\/\/\)$/{ s//\1/; q; }
11306            /^X\(\/\).*/{ s//\1/; q; }
11307            s/.*/./; q'`
11308 <  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
11309 <    { case "$ac_dir" in
6984 <  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
6985 <  *)                      as_incr_dir=.;;
6986 < esac
6987 < as_dummy="$ac_dir"
6988 < for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6989 <  case $as_mkdir_dir in
6990 <    # Skip DOS drivespec
6991 <    ?:) as_incr_dir=$as_mkdir_dir ;;
6992 <    *)
6993 <      as_incr_dir=$as_incr_dir/$as_mkdir_dir
6994 <      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
6995 <    ;;
6996 <  esac
6997 < done; }
6998 <
6999 <    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
7000 <    # A "../" for each directory in $ac_dir_suffix.
7001 <    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
11308 >  { if $as_mkdir_p; then
11309 >    mkdir -p "$ac_dir"
11310    else
11311 <    ac_dir_suffix= ac_dots=
11312 <  fi
11311 >    as_dir="$ac_dir"
11312 >    as_dirs=
11313 >    while test ! -d "$as_dir"; do
11314 >      as_dirs="$as_dir $as_dirs"
11315 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
11316 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11317 >         X"$as_dir" : 'X\(//\)[^/]' \| \
11318 >         X"$as_dir" : 'X\(//\)$' \| \
11319 >         X"$as_dir" : 'X\(/\)' \| \
11320 >         .     : '\(.\)' 2>/dev/null ||
11321 > echo X"$as_dir" |
11322 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11323 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11324 >          /^X\(\/\/\)$/{ s//\1/; q; }
11325 >          /^X\(\/\).*/{ s//\1/; q; }
11326 >          s/.*/./; q'`
11327 >    done
11328 >    test ! -n "$as_dirs" || mkdir $as_dirs
11329 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11330 > echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11331 >   { (exit 1); exit 1; }; }; }
11332  
11333 <  case $srcdir in
11334 <  .)  ac_srcdir=.
11335 <      if test -z "$ac_dots"; then
11336 <         ac_top_srcdir=.
11337 <      else
11338 <         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
11339 <      fi ;;
11340 <  [\\/]* | ?:[\\/]* )
11341 <      ac_srcdir=$srcdir$ac_dir_suffix;
11342 <      ac_top_srcdir=$srcdir ;;
11333 >  ac_builddir=.
11334 >
11335 > if test "$ac_dir" != .; then
11336 >  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11337 >  # A "../" for each directory in $ac_dir_suffix.
11338 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11339 > else
11340 >  ac_dir_suffix= ac_top_builddir=
11341 > fi
11342 >
11343 > case $srcdir in
11344 >  .)  # No --srcdir option.  We are building in place.
11345 >    ac_srcdir=.
11346 >    if test -z "$ac_top_builddir"; then
11347 >       ac_top_srcdir=.
11348 >    else
11349 >       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11350 >    fi ;;
11351 >  [\\/]* | ?:[\\/]* )  # Absolute path.
11352 >    ac_srcdir=$srcdir$ac_dir_suffix;
11353 >    ac_top_srcdir=$srcdir ;;
11354    *) # Relative path.
11355 <    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
11356 <    ac_top_srcdir=$ac_dots$srcdir ;;
11357 <  esac
11355 >    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11356 >    ac_top_srcdir=$ac_top_builddir$srcdir ;;
11357 > esac
11358  
11359 + # Do not use `cd foo && pwd` to compute absolute paths, because
11360 + # the directories may not exist.
11361 + case `pwd` in
11362 + .) ac_abs_builddir="$ac_dir";;
11363 + *)
11364 +  case "$ac_dir" in
11365 +  .) ac_abs_builddir=`pwd`;;
11366 +  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11367 +  *) ac_abs_builddir=`pwd`/"$ac_dir";;
11368 +  esac;;
11369 + esac
11370 + case $ac_abs_builddir in
11371 + .) ac_abs_top_builddir=${ac_top_builddir}.;;
11372 + *)
11373 +  case ${ac_top_builddir}. in
11374 +  .) ac_abs_top_builddir=$ac_abs_builddir;;
11375 +  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11376 +  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11377 +  esac;;
11378 + esac
11379 + case $ac_abs_builddir in
11380 + .) ac_abs_srcdir=$ac_srcdir;;
11381 + *)
11382 +  case $ac_srcdir in
11383 +  .) ac_abs_srcdir=$ac_abs_builddir;;
11384 +  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11385 +  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11386 +  esac;;
11387 + esac
11388 + case $ac_abs_builddir in
11389 + .) ac_abs_top_srcdir=$ac_top_srcdir;;
11390 + *)
11391 +  case $ac_top_srcdir in
11392 +  .) ac_abs_top_srcdir=$ac_abs_builddir;;
11393 +  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11394 +  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11395 +  esac;;
11396 + esac
11397 +
11398 +
11399    case $INSTALL in
11400    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11401 <  *) ac_INSTALL=$ac_dots$INSTALL ;;
11401 >  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
11402    esac
11403  
7026  if test x"$ac_file" != x-; then
7027    { echo "$as_me:7027: creating $ac_file" >&5
7028 echo "$as_me: creating $ac_file" >&6;}
7029    rm -f "$ac_file"
7030  fi
11404    # Let's still pretend it is `configure' which instantiates (i.e., don't
11405    # use $as_me), people would be surprised to read:
11406 <  #    /* config.h.  Generated automatically by config.status.  */
11407 <  configure_input="Generated automatically from `echo $ac_file_in |
11408 <                                                 sed 's,.*/,,'` by configure."
11406 >  #    /* config.h.  Generated by config.status.  */
11407 >  if test x"$ac_file" = x-; then
11408 >    configure_input=
11409 >  else
11410 >    configure_input="$ac_file.  "
11411 >  fi
11412 >  configure_input=$configure_input"Generated from `echo $ac_file_in |
11413 >                                     sed 's,.*/,,'` by configure."
11414  
11415    # First look for the input files in the build tree, otherwise in the
11416    # src tree.
# Line 7041 | Line 11419 | echo "$as_me: creating $ac_file" >&6;}
11419        case $f in
11420        -) echo $tmp/stdin ;;
11421        [\\/$]*)
11422 <         # Absolute (can't be DOS-style, as IFS=:)
11423 <         test -f "$f" || { { echo "$as_me:7045: error: cannot find input file: $f" >&5
11422 >         # Absolute (can't be DOS-style, as IFS=:)
11423 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11424   echo "$as_me: error: cannot find input file: $f" >&2;}
11425     { (exit 1); exit 1; }; }
11426 <         echo $f;;
11426 >         echo "$f";;
11427        *) # Relative
11428 <         if test -f "$f"; then
11429 <           # Build tree
11430 <           echo $f
11431 <         elif test -f "$srcdir/$f"; then
11432 <           # Source tree
11433 <           echo $srcdir/$f
11434 <         else
11435 <           # /dev/null tree
11436 <           { { echo "$as_me:7058: error: cannot find input file: $f" >&5
11428 >         if test -f "$f"; then
11429 >           # Build tree
11430 >           echo "$f"
11431 >         elif test -f "$srcdir/$f"; then
11432 >           # Source tree
11433 >           echo "$srcdir/$f"
11434 >         else
11435 >           # /dev/null tree
11436 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11437   echo "$as_me: error: cannot find input file: $f" >&2;}
11438     { (exit 1); exit 1; }; }
11439 <         fi;;
11439 >         fi;;
11440        esac
11441      done` || { (exit 1); exit 1; }
11442 < EOF
11443 < cat >>$CONFIG_STATUS <<EOF
11442 >
11443 >  if test x"$ac_file" != x-; then
11444 >    { echo "$as_me:$LINENO: creating $ac_file" >&5
11445 > echo "$as_me: creating $ac_file" >&6;}
11446 >    rm -f "$ac_file"
11447 >  fi
11448 > _ACEOF
11449 > cat >>$CONFIG_STATUS <<_ACEOF
11450    sed "$ac_vpsub
11451   $extrasub
11452 < EOF
11453 < cat >>$CONFIG_STATUS <<\EOF
11452 > _ACEOF
11453 > cat >>$CONFIG_STATUS <<\_ACEOF
11454   :t
11455   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11456   s,@configure_input@,$configure_input,;t t
11457   s,@srcdir@,$ac_srcdir,;t t
11458 + s,@abs_srcdir@,$ac_abs_srcdir,;t t
11459   s,@top_srcdir@,$ac_top_srcdir,;t t
11460 + s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
11461 + s,@builddir@,$ac_builddir,;t t
11462 + s,@abs_builddir@,$ac_abs_builddir,;t t
11463 + s,@top_builddir@,$ac_top_builddir,;t t
11464 + s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
11465   s,@INSTALL@,$ac_INSTALL,;t t
11466   " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11467    rm -f $tmp/stdin
# Line 7082 | Line 11472 | done
11472      rm -f $tmp/out
11473    fi
11474  
11475 +  # Run the commands associated with the file.
11476 +  case $ac_file in
11477 +    make/Makefile ) chmod 0755 scripts/* ;;
11478 +    src/utils/Makefile ) chmod 0755 scripts/* ;;
11479 +    src/applications/nanoRodBuilder/Makefile ) chmod 0755 scripts/* ;;
11480 +    scripts/filepp ) chmod 0755 scripts/* ;;
11481 +  esac
11482   done
11483 < EOF
11484 < cat >>$CONFIG_STATUS <<\EOF
11483 > _ACEOF
11484 > cat >>$CONFIG_STATUS <<\_ACEOF
11485  
11486   #
11487   # CONFIG_HEADER section.
# Line 7094 | Line 11491 | ac_dA='s,^\([  ]*\)#\([        ]*define[       ][      ]*\)'
11491   # NAME is the cpp macro being defined and VALUE is the value it is being given.
11492   #
11493   # ac_d sets the value in "#define NAME VALUE" lines.
11494 < ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
11495 < ac_dB='[        ].*$,\1#\2'
11494 > ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
11495 > ac_dB='[         ].*$,\1#\2'
11496   ac_dC=' '
11497   ac_dD=',;t'
11498   # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11499 < ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
11499 > ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
11500   ac_uB='$,\1#\2define\3'
11501   ac_uC=' '
11502   ac_uD=',;t'
# Line 7108 | Line 11505 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file"
11505    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11506    case $ac_file in
11507    - | *:- | *:-:* ) # input from stdin
11508 <        cat >$tmp/stdin
11509 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11510 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11508 >        cat >$tmp/stdin
11509 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11510 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11511    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11512 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11512 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11513    * )   ac_file_in=$ac_file.in ;;
11514    esac
11515  
11516 <  test x"$ac_file" != x- && { echo "$as_me:7119: creating $ac_file" >&5
11516 >  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
11517   echo "$as_me: creating $ac_file" >&6;}
11518  
11519    # First look for the input files in the build tree, otherwise in the
# Line 7126 | Line 11523 | echo "$as_me: creating $ac_file" >&6;}
11523        case $f in
11524        -) echo $tmp/stdin ;;
11525        [\\/$]*)
11526 <         # Absolute (can't be DOS-style, as IFS=:)
11527 <         test -f "$f" || { { echo "$as_me:7130: error: cannot find input file: $f" >&5
11526 >         # Absolute (can't be DOS-style, as IFS=:)
11527 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11528   echo "$as_me: error: cannot find input file: $f" >&2;}
11529     { (exit 1); exit 1; }; }
11530 <         echo $f;;
11530 >         # Do quote $f, to prevent DOS paths from being IFS'd.
11531 >         echo "$f";;
11532        *) # Relative
11533 <         if test -f "$f"; then
11534 <           # Build tree
11535 <           echo $f
11536 <         elif test -f "$srcdir/$f"; then
11537 <           # Source tree
11538 <           echo $srcdir/$f
11539 <         else
11540 <           # /dev/null tree
11541 <           { { echo "$as_me:7143: error: cannot find input file: $f" >&5
11533 >         if test -f "$f"; then
11534 >           # Build tree
11535 >           echo "$f"
11536 >         elif test -f "$srcdir/$f"; then
11537 >           # Source tree
11538 >           echo "$srcdir/$f"
11539 >         else
11540 >           # /dev/null tree
11541 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11542   echo "$as_me: error: cannot find input file: $f" >&2;}
11543     { (exit 1); exit 1; }; }
11544 <         fi;;
11544 >         fi;;
11545        esac
11546      done` || { (exit 1); exit 1; }
11547    # Remove the trailing spaces.
11548 <  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
11548 >  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
11549  
11550 < EOF
11550 > _ACEOF
11551  
11552   # Transform confdefs.h into two sed scripts, `conftest.defines' and
11553   # `conftest.undefs', that substitutes the proper values into
# Line 7165 | Line 11563 | cat >confdef2sed.sed <<\EOF
11563   # `end' is used to avoid that the second main sed command (meant for
11564   # 0-ary CPP macros) applies to n-ary macro definitions.
11565   # See the Autoconf documentation for `clear'.
11566 < cat >confdef2sed.sed <<\EOF
11566 > cat >confdef2sed.sed <<\_ACEOF
11567   s/[\\&,]/\\&/g
11568   s,[\\$`],\\&,g
11569   t clear
11570   : clear
11571 < s,^[    ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
11571 > s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
11572   t end
11573 < s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11573 > s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11574   : end
11575 < EOF
11575 > _ACEOF
11576   # If some macros were called several times there might be several times
11577   # the same #defines, which is useless.  Nevertheless, we may not want to
11578   # sort them, since we want the *last* AC-DEFINE to be honored.
# Line 7185 | Line 11583 | cat >>conftest.undefs <<\EOF
11583   # This sed command replaces #undef with comments.  This is necessary, for
11584   # example, in the case of _POSIX_SOURCE, which is predefined and required
11585   # on some systems where configure will not decide to define it.
11586 < cat >>conftest.undefs <<\EOF
11587 < s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11588 < EOF
11586 > cat >>conftest.undefs <<\_ACEOF
11587 > s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11588 > _ACEOF
11589  
11590   # Break up conftest.defines because some shells have a limit on the size
11591   # of here documents, and old seds have small limits too (100 cmds).
11592   echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11593 < echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11593 > echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11594   echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11595   echo '  :' >>$CONFIG_STATUS
11596   rm -f conftest.tail
# Line 7201 | Line 11599 | do
11599    # Write a limited-size here document to $tmp/defines.sed.
11600    echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
11601    # Speed up: don't consider the non `#define' lines.
11602 <  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
11602 >  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
11603    # Work around the forget-to-reset-the-flag bug.
11604    echo 't clr' >>$CONFIG_STATUS
11605    echo ': clr' >>$CONFIG_STATUS
# Line 7216 | Line 11614 | echo '  fi # egrep' >>$CONFIG_STATUS
11614    mv conftest.tail conftest.defines
11615   done
11616   rm -f conftest.defines
11617 < echo '  fi # egrep' >>$CONFIG_STATUS
11617 > echo '  fi # grep' >>$CONFIG_STATUS
11618   echo >>$CONFIG_STATUS
11619  
11620   # Break up conftest.undefs because some shells have a limit on the size
# Line 7228 | Line 11626 | do
11626    # Write a limited-size here document to $tmp/undefs.sed.
11627    echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
11628    # Speed up: don't consider the non `#undef'
11629 <  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
11629 >  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
11630    # Work around the forget-to-reset-the-flag bug.
11631    echo 't clr' >>$CONFIG_STATUS
11632    echo ': clr' >>$CONFIG_STATUS
# Line 7244 | Line 11642 | cat >>$CONFIG_STATUS <<\EOF
11642   done
11643   rm -f conftest.undefs
11644  
11645 < cat >>$CONFIG_STATUS <<\EOF
11645 > cat >>$CONFIG_STATUS <<\_ACEOF
11646    # Let's still pretend it is `configure' which instantiates (i.e., don't
11647    # use $as_me), people would be surprised to read:
11648 <  #    /* config.h.  Generated automatically by config.status.  */
11648 >  #    /* config.h.  Generated by config.status.  */
11649    if test x"$ac_file" = x-; then
11650 <    echo "/* Generated automatically by configure.  */" >$tmp/config.h
11650 >    echo "/* Generated by configure.  */" >$tmp/config.h
11651    else
11652 <    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
11652 >    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
11653    fi
11654    cat $tmp/in >>$tmp/config.h
11655    rm -f $tmp/in
11656    if test x"$ac_file" != x-; then
11657 <    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
11658 <      { echo "$as_me:7260: $ac_file is unchanged" >&5
11657 >    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
11658 >      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11659   echo "$as_me: $ac_file is unchanged" >&6;}
11660      else
11661 <      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11662 <         X"$ac_file" : 'X\(//\)[^/]' \| \
11663 <         X"$ac_file" : 'X\(//\)$' \| \
11664 <         X"$ac_file" : 'X\(/\)' \| \
11665 <         .     : '\(.\)' 2>/dev/null ||
11661 >      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11662 > $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11663 >         X"$ac_file" : 'X\(//\)[^/]' \| \
11664 >         X"$ac_file" : 'X\(//\)$' \| \
11665 >         X"$ac_file" : 'X\(/\)' \| \
11666 >         .     : '\(.\)' 2>/dev/null ||
11667   echo X"$ac_file" |
11668      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11669            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11670            /^X\(\/\/\)$/{ s//\1/; q; }
11671            /^X\(\/\).*/{ s//\1/; q; }
11672            s/.*/./; q'`
11673 <      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
11674 <        { case "$ac_dir" in
11675 <  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
11676 <  *)                      as_incr_dir=.;;
11677 < esac
11678 < as_dummy="$ac_dir"
11679 < for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
11680 <  case $as_mkdir_dir in
11681 <    # Skip DOS drivespec
11682 <    ?:) as_incr_dir=$as_mkdir_dir ;;
11683 <    *)
11684 <      as_incr_dir=$as_incr_dir/$as_mkdir_dir
11685 <      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
11686 <    ;;
11687 <  esac
11688 < done; }
11673 >      { if $as_mkdir_p; then
11674 >    mkdir -p "$ac_dir"
11675 >  else
11676 >    as_dir="$ac_dir"
11677 >    as_dirs=
11678 >    while test ! -d "$as_dir"; do
11679 >      as_dirs="$as_dir $as_dirs"
11680 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
11681 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11682 >         X"$as_dir" : 'X\(//\)[^/]' \| \
11683 >         X"$as_dir" : 'X\(//\)$' \| \
11684 >         X"$as_dir" : 'X\(/\)' \| \
11685 >         .     : '\(.\)' 2>/dev/null ||
11686 > echo X"$as_dir" |
11687 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11688 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11689 >          /^X\(\/\/\)$/{ s//\1/; q; }
11690 >          /^X\(\/\).*/{ s//\1/; q; }
11691 >          s/.*/./; q'`
11692 >    done
11693 >    test ! -n "$as_dirs" || mkdir $as_dirs
11694 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11695 > echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11696 >   { (exit 1); exit 1; }; }; }
11697  
7291      fi
11698        rm -f $ac_file
11699        mv $tmp/config.h $ac_file
11700      fi
# Line 7297 | Line 11703 | EOF
11703      rm -f $tmp/config.h
11704    fi
11705   done
11706 < EOF
11707 < cat >>$CONFIG_STATUS <<\EOF
11706 > _ACEOF
11707 > cat >>$CONFIG_STATUS <<\_ACEOF
11708  
11709   #
11710   # CONFIG_LINKS section.
# Line 7308 | Line 11714 | for ac_file in : $CONFIG_LINKS; do test "x$ac_file" =
11714    ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
11715    ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
11716  
11717 <  { echo "$as_me:7311: linking $srcdir/$ac_source to $ac_dest" >&5
11717 >  { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
11718   echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
11719  
11720    if test ! -r $srcdir/$ac_source; then
11721 <    { { echo "$as_me:7315: error: $srcdir/$ac_source: File not found" >&5
11722 < echo "$as_me: error: $srcdir/$ac_source: File not found" >&2;}
11721 >    { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
11722 > echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
11723     { (exit 1); exit 1; }; }
11724    fi
11725    rm -f $ac_dest
11726  
11727    # Make relative symlinks.
11728 <  ac_dest_dir=`$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11729 <         X"$ac_dest" : 'X\(//\)[^/]' \| \
11730 <         X"$ac_dest" : 'X\(//\)$' \| \
11731 <         X"$ac_dest" : 'X\(/\)' \| \
11732 <         .     : '\(.\)' 2>/dev/null ||
11728 >  ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
11729 > $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11730 >         X"$ac_dest" : 'X\(//\)[^/]' \| \
11731 >         X"$ac_dest" : 'X\(//\)$' \| \
11732 >         X"$ac_dest" : 'X\(/\)' \| \
11733 >         .     : '\(.\)' 2>/dev/null ||
11734   echo X"$ac_dest" |
11735      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11736            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11737            /^X\(\/\/\)$/{ s//\1/; q; }
11738            /^X\(\/\).*/{ s//\1/; q; }
11739            s/.*/./; q'`
11740 <  if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
11741 <    { case "$ac_dest_dir" in
11742 <  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
11743 <  *)                      as_incr_dir=.;;
11740 >  { if $as_mkdir_p; then
11741 >    mkdir -p "$ac_dest_dir"
11742 >  else
11743 >    as_dir="$ac_dest_dir"
11744 >    as_dirs=
11745 >    while test ! -d "$as_dir"; do
11746 >      as_dirs="$as_dir $as_dirs"
11747 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
11748 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11749 >         X"$as_dir" : 'X\(//\)[^/]' \| \
11750 >         X"$as_dir" : 'X\(//\)$' \| \
11751 >         X"$as_dir" : 'X\(/\)' \| \
11752 >         .     : '\(.\)' 2>/dev/null ||
11753 > echo X"$as_dir" |
11754 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11755 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11756 >          /^X\(\/\/\)$/{ s//\1/; q; }
11757 >          /^X\(\/\).*/{ s//\1/; q; }
11758 >          s/.*/./; q'`
11759 >    done
11760 >    test ! -n "$as_dirs" || mkdir $as_dirs
11761 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
11762 > echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
11763 >   { (exit 1); exit 1; }; }; }
11764 >
11765 >  ac_builddir=.
11766 >
11767 > if test "$ac_dest_dir" != .; then
11768 >  ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
11769 >  # A "../" for each directory in $ac_dir_suffix.
11770 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11771 > else
11772 >  ac_dir_suffix= ac_top_builddir=
11773 > fi
11774 >
11775 > case $srcdir in
11776 >  .)  # No --srcdir option.  We are building in place.
11777 >    ac_srcdir=.
11778 >    if test -z "$ac_top_builddir"; then
11779 >       ac_top_srcdir=.
11780 >    else
11781 >       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11782 >    fi ;;
11783 >  [\\/]* | ?:[\\/]* )  # Absolute path.
11784 >    ac_srcdir=$srcdir$ac_dir_suffix;
11785 >    ac_top_srcdir=$srcdir ;;
11786 >  *) # Relative path.
11787 >    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11788 >    ac_top_srcdir=$ac_top_builddir$srcdir ;;
11789   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; }
11790  
11791 <    ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's,^\./,,'`"
11792 <    # A "../" for each directory in $ac_dest_dir_suffix.
11793 <    ac_dots=`echo $ac_dest_dir_suffix|sed 's,/[^/]*,../,g'`
11794 <  else
11795 <    ac_dest_dir_suffix= ac_dots=
11796 <  fi
11791 > # Do not use `cd foo && pwd` to compute absolute paths, because
11792 > # the directories may not exist.
11793 > case `pwd` in
11794 > .) ac_abs_builddir="$ac_dest_dir";;
11795 > *)
11796 >  case "$ac_dest_dir" in
11797 >  .) ac_abs_builddir=`pwd`;;
11798 >  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
11799 >  *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
11800 >  esac;;
11801 > esac
11802 > case $ac_abs_builddir in
11803 > .) ac_abs_top_builddir=${ac_top_builddir}.;;
11804 > *)
11805 >  case ${ac_top_builddir}. in
11806 >  .) ac_abs_top_builddir=$ac_abs_builddir;;
11807 >  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11808 >  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11809 >  esac;;
11810 > esac
11811 > case $ac_abs_builddir in
11812 > .) ac_abs_srcdir=$ac_srcdir;;
11813 > *)
11814 >  case $ac_srcdir in
11815 >  .) ac_abs_srcdir=$ac_abs_builddir;;
11816 >  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11817 >  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11818 >  esac;;
11819 > esac
11820 > case $ac_abs_builddir in
11821 > .) ac_abs_top_srcdir=$ac_top_srcdir;;
11822 > *)
11823 >  case $ac_top_srcdir in
11824 >  .) ac_abs_top_srcdir=$ac_abs_builddir;;
11825 >  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11826 >  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11827 >  esac;;
11828 > esac
11829  
11830 +
11831    case $srcdir in
11832    [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
11833 <      *) ac_rel_source=$ac_dots$srcdir/$ac_source ;;
11833 >      *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
11834    esac
11835  
11836 <  # Make a symlink if possible; otherwise try a hard link.
11836 >  # Try a symlink, then a hard link, then a copy.
11837    ln -s $ac_rel_source $ac_dest 2>/dev/null ||
11838 <    ln $srcdir/$ac_source $ac_dest ||
11839 <    { { echo "$as_me:7365: error: cannot link $ac_dest to $srcdir/$ac_source" >&5
11840 < echo "$as_me: error: cannot link $ac_dest to $srcdir/$ac_source" >&2;}
11838 >    ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
11839 >    cp -p $srcdir/$ac_source $ac_dest ||
11840 >    { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
11841 > echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
11842     { (exit 1); exit 1; }; }
11843   done
11844 < EOF
11844 > _ACEOF
11845  
11846 < cat >>$CONFIG_STATUS <<\EOF
11846 > cat >>$CONFIG_STATUS <<\_ACEOF
11847  
11848   { (exit 0); exit 0; }
11849 < EOF
11849 > _ACEOF
11850   chmod +x $CONFIG_STATUS
11851   ac_clean_files=$ac_clean_files_save
11852  
11853 +
11854   # configure is writing to config.log, and then calls config.status.
11855   # config.status does its own redirection, appending to config.log.
11856   # Unfortunately, on DOS this fails, as config.log is still kept open
# Line 7385 | Line 11861 | if test "$no_create" != yes; then
11861   # need to make the FD available again.
11862   if test "$no_create" != yes; then
11863    ac_cs_success=:
11864 +  ac_config_status_args=
11865 +  test "$silent" = yes &&
11866 +    ac_config_status_args="$ac_config_status_args --quiet"
11867    exec 5>/dev/null
11868 <  $SHELL $CONFIG_STATUS || ac_cs_success=false
11868 >  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11869    exec 5>>config.log
11870    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11871    # would make configure fail if this is the last instruction.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines