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 2453 by gezelter, Thu Nov 17 20:39:59 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
997    done
# Line 713 | Line 999 | if $ac_init_version; then
999  
1000   test -n "$ac_init_help" && exit 0
1001   if $ac_init_version; then
1002 <  cat <<\EOF
1002 >  cat <<\_ACEOF
1003   OOPSE configure 2.0
1004 < generated by GNU Autoconf 2.50
1004 > generated by GNU Autoconf 2.59
1005  
1006 < Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
721 < Free Software Foundation, Inc.
1006 > Copyright (C) 2003 Free Software Foundation, Inc.
1007   This configure script is free software; the Free Software Foundation
1008   gives unlimited permission to copy, distribute and modify it.
1009 < EOF
1009 > _ACEOF
1010    exit 0
1011   fi
1012   exec 5>config.log
1013 < cat >&5 <<EOF
1013 > cat >&5 <<_ACEOF
1014   This file contains any messages produced by compilers while
1015   running configure, to aid debugging if configure makes a mistake.
1016  
1017   It was created by OOPSE $as_me 2.0, which was
1018 < generated by GNU Autoconf 2.50.  Invocation command line was
1018 > generated by GNU Autoconf 2.59.  Invocation command line was
1019  
1020    $ $0 $@
1021  
1022 < EOF
1022 > _ACEOF
1023   {
1024   cat <<_ASUNAME
1025 < ## ---------- ##
1026 < ## Platform.  ##
1027 < ## ---------- ##
1025 > ## --------- ##
1026 > ## Platform. ##
1027 > ## --------- ##
1028  
1029   hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1030   uname -m = `(uname -m) 2>/dev/null || echo unknown`
# Line 758 | Line 1043 | PATH = $PATH
1043   /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1044   /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1045  
761 PATH = $PATH
762
1046   _ASUNAME
1047 +
1048 + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1049 + for as_dir in $PATH
1050 + do
1051 +  IFS=$as_save_IFS
1052 +  test -z "$as_dir" && as_dir=.
1053 +  echo "PATH: $as_dir"
1054 + done
1055 +
1056   } >&5
1057  
1058 < cat >&5 <<EOF
767 < ## ------------ ##
768 < ## Core tests.  ##
769 < ## ------------ ##
1058 > cat >&5 <<_ACEOF
1059  
771 EOF
1060  
1061 + ## ----------- ##
1062 + ## Core tests. ##
1063 + ## ----------- ##
1064 +
1065 + _ACEOF
1066 +
1067 +
1068   # Keep a trace of the command line.
1069   # Strip out --no-create and --no-recursion so they do not pile up.
1070 + # Strip out --silent because we don't want to record it for future runs.
1071   # Also quote any args containing shell meta-characters.
1072 + # Make two passes to allow for proper duplicate-argument suppression.
1073   ac_configure_args=
1074 + ac_configure_args0=
1075 + ac_configure_args1=
1076   ac_sep=
1077 < for ac_arg
1077 > ac_must_keep_next=false
1078 > for ac_pass in 1 2
1079   do
1080 <  case $ac_arg in
1081 <  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1082 <  | --no-cr | --no-c) ;;
1083 <  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1084 <  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
1085 <  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1086 <    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
1087 <    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1088 <    ac_sep=" " ;;
1089 <  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
1090 <     ac_sep=" " ;;
1091 <  esac
1092 <  # Get rid of the leading space.
1080 >  for ac_arg
1081 >  do
1082 >    case $ac_arg in
1083 >    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1084 >    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1085 >    | -silent | --silent | --silen | --sile | --sil)
1086 >      continue ;;
1087 >    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1088 >      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1089 >    esac
1090 >    case $ac_pass in
1091 >    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1092 >    2)
1093 >      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1094 >      if test $ac_must_keep_next = true; then
1095 >        ac_must_keep_next=false # Got value, back to normal.
1096 >      else
1097 >        case $ac_arg in
1098 >          *=* | --config-cache | -C | -disable-* | --disable-* \
1099 >          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1100 >          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1101 >          | -with-* | --with-* | -without-* | --without-* | --x)
1102 >            case "$ac_configure_args0 " in
1103 >              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1104 >            esac
1105 >            ;;
1106 >          -* ) ac_must_keep_next=true ;;
1107 >        esac
1108 >      fi
1109 >      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1110 >      # Get rid of the leading space.
1111 >      ac_sep=" "
1112 >      ;;
1113 >    esac
1114 >  done
1115   done
1116 + $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1117 + $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1118  
1119   # When interrupted or exit'd, cleanup temporary files, and complete
1120   # config.log.  We remove comments because anyway the quotes in there
1121   # would cause problems or look ugly.
1122 + # WARNING: Be sure not to use single quotes in there, as some shells,
1123 + # such as our DU 5.0 friend, will then `close' the trap.
1124   trap 'exit_status=$?
1125    # Save into config.log some information that might help in debugging.
1126 <  echo >&5
1127 <  echo "## ----------------- ##" >&5
1128 <  echo "## Cache variables.  ##" >&5
1129 <  echo "## ----------------- ##" >&5
1130 <  echo >&5
1131 <  # The following way of writing the cache mishandles newlines in values,
1126 >  {
1127 >    echo
1128 >
1129 >    cat <<\_ASBOX
1130 > ## ---------------- ##
1131 > ## Cache variables. ##
1132 > ## ---------------- ##
1133 > _ASBOX
1134 >    echo
1135 >    # The following way of writing the cache mishandles newlines in values,
1136   {
1137    (set) 2>&1 |
1138      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1139      *ac_space=\ *)
1140        sed -n \
1141 <        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1142 <          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1141 >        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1142 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1143        ;;
1144      *)
1145        sed -n \
1146 <        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1146 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1147        ;;
1148      esac;
1149 < } >&5
1150 <  sed "/^$/d" confdefs.h >conftest.log
1151 <  if test -s conftest.log; then
1152 <    echo >&5
1153 <    echo "## ------------ ##" >&5
1154 <    echo "## confdefs.h.  ##" >&5
1155 <    echo "## ------------ ##" >&5
1156 <    echo >&5
1157 <    cat conftest.log >&5
1158 <  fi
1159 <  (echo; echo) >&5
1160 <  test "$ac_signal" != 0 &&
1161 <    echo "$as_me: caught signal $ac_signal" >&5
1162 <  echo "$as_me: exit $exit_status" >&5
1163 <  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
1149 > }
1150 >    echo
1151 >
1152 >    cat <<\_ASBOX
1153 > ## ----------------- ##
1154 > ## Output variables. ##
1155 > ## ----------------- ##
1156 > _ASBOX
1157 >    echo
1158 >    for ac_var in $ac_subst_vars
1159 >    do
1160 >      eval ac_val=$`echo $ac_var`
1161 >      echo "$ac_var='"'"'$ac_val'"'"'"
1162 >    done | sort
1163 >    echo
1164 >
1165 >    if test -n "$ac_subst_files"; then
1166 >      cat <<\_ASBOX
1167 > ## ------------- ##
1168 > ## Output files. ##
1169 > ## ------------- ##
1170 > _ASBOX
1171 >      echo
1172 >      for ac_var in $ac_subst_files
1173 >      do
1174 >        eval ac_val=$`echo $ac_var`
1175 >        echo "$ac_var='"'"'$ac_val'"'"'"
1176 >      done | sort
1177 >      echo
1178 >    fi
1179 >
1180 >    if test -s confdefs.h; then
1181 >      cat <<\_ASBOX
1182 > ## ----------- ##
1183 > ## confdefs.h. ##
1184 > ## ----------- ##
1185 > _ASBOX
1186 >      echo
1187 >      sed "/^$/d" confdefs.h | sort
1188 >      echo
1189 >    fi
1190 >    test "$ac_signal" != 0 &&
1191 >      echo "$as_me: caught signal $ac_signal"
1192 >    echo "$as_me: exit $exit_status"
1193 >  } >&5
1194 >  rm -f core *.core &&
1195 >  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1196      exit $exit_status
1197       ' 0
1198   for ac_signal in 1 2 13 15; do
1199 <  trap 'ac_status=$?; ac_signal='$ac_signal'; { (exit $ac_status); exit $ac_status; }' $ac_signal
1199 >  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1200   done
1201   ac_signal=0
1202  
# Line 843 | Line 1205 | echo >confdefs.h
1205   # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1206   echo >confdefs.h
1207  
1208 + # Predefined preprocessor variables.
1209 +
1210 + cat >>confdefs.h <<_ACEOF
1211 + #define PACKAGE_NAME "$PACKAGE_NAME"
1212 + _ACEOF
1213 +
1214 +
1215 + cat >>confdefs.h <<_ACEOF
1216 + #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1217 + _ACEOF
1218 +
1219 +
1220 + cat >>confdefs.h <<_ACEOF
1221 + #define PACKAGE_VERSION "$PACKAGE_VERSION"
1222 + _ACEOF
1223 +
1224 +
1225 + cat >>confdefs.h <<_ACEOF
1226 + #define PACKAGE_STRING "$PACKAGE_STRING"
1227 + _ACEOF
1228 +
1229 +
1230 + cat >>confdefs.h <<_ACEOF
1231 + #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1232 + _ACEOF
1233 +
1234 +
1235   # Let the site file select an alternate cache file if it wants to.
1236   # Prefer explicitly selected file to automatically selected ones.
1237   if test -z "$CONFIG_SITE"; then
# Line 854 | Line 1243 | for ac_site_file in $CONFIG_SITE; do
1243   fi
1244   for ac_site_file in $CONFIG_SITE; do
1245    if test -r "$ac_site_file"; then
1246 <    { echo "$as_me:857: loading site script $ac_site_file" >&5
1246 >    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1247   echo "$as_me: loading site script $ac_site_file" >&6;}
1248 <    cat "$ac_site_file" >&5
1248 >    sed 's/^/| /' "$ac_site_file" >&5
1249      . "$ac_site_file"
1250    fi
1251   done
# Line 865 | Line 1254 | if test -r "$cache_file"; then
1254    # Some versions of bash will fail to source /dev/null (special
1255    # files actually), so we avoid doing that.
1256    if test -f "$cache_file"; then
1257 <    { echo "$as_me:868: loading cache $cache_file" >&5
1257 >    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1258   echo "$as_me: loading cache $cache_file" >&6;}
1259      case $cache_file in
1260        [\\/]* | ?:[\\/]* ) . $cache_file;;
# Line 873 | Line 1262 | else
1262      esac
1263    fi
1264   else
1265 <  { echo "$as_me:876: creating cache $cache_file" >&5
1265 >  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1266   echo "$as_me: creating cache $cache_file" >&6;}
1267    >$cache_file
1268   fi
1269  
1270   # Check that the precious variables saved in the cache have kept the same
1271   # value.
1272 < ac_suggest_removing_cache=false
1272 > ac_cache_corrupted=false
1273   for ac_var in `(set) 2>&1 |
1274 <               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1274 >               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1275    eval ac_old_set=\$ac_cv_env_${ac_var}_set
1276    eval ac_new_set=\$ac_env_${ac_var}_set
1277    eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1278    eval ac_new_val="\$ac_env_${ac_var}_value"
1279    case $ac_old_set,$ac_new_set in
1280      set,)
1281 <      { echo "$as_me:892: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1282 < echo "$as_me: WARNING: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1283 <      ac_suggest_removing_cache=: ;;
1281 >      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1282 > echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1283 >      ac_cache_corrupted=: ;;
1284      ,set)
1285 <      { echo "$as_me:896: WARNING: \`$ac_var' was not set in the previous run" >&5
1286 < echo "$as_me: WARNING: \`$ac_var' was not set in the previous run" >&2;}
1287 <      ac_suggest_removing_cache=: ;;
1285 >      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1286 > echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1287 >      ac_cache_corrupted=: ;;
1288      ,);;
1289      *)
1290        if test "x$ac_old_val" != "x$ac_new_val"; then
1291 <        { echo "$as_me:902: WARNING: \`$ac_var' has changed since the previous run:" >&5
1292 < echo "$as_me: WARNING: \`$ac_var' has changed since the previous run:" >&2;}
1293 <        { echo "$as_me:904: WARNING:   former value:  $ac_old_val" >&5
1294 < echo "$as_me: WARNING:   former value:  $ac_old_val" >&2;}
1295 <        { echo "$as_me:906: WARNING:   current value: $ac_new_val" >&5
1296 < echo "$as_me: WARNING:   current value: $ac_new_val" >&2;}
1297 <        ac_suggest_removing_cache=:
1291 >        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1292 > echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1293 >        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1294 > echo "$as_me:   former value:  $ac_old_val" >&2;}
1295 >        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1296 > echo "$as_me:   current value: $ac_new_val" >&2;}
1297 >        ac_cache_corrupted=:
1298        fi;;
1299    esac
1300 +  # Pass precious variables to config.status.
1301 +  if test "$ac_new_set" = set; then
1302 +    case $ac_new_val in
1303 +    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1304 +      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1305 +    *) ac_arg=$ac_var=$ac_new_val ;;
1306 +    esac
1307 +    case " $ac_configure_args " in
1308 +      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1309 +      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1310 +    esac
1311 +  fi
1312   done
1313 < if $ac_suggest_removing_cache; then
1314 <  { echo "$as_me:913: WARNING: changes in the environment can compromise the build" >&5
1315 < echo "$as_me: WARNING: changes in the environment can compromise the build" >&2;}
1316 <  { echo "$as_me:915: WARNING: consider removing $cache_file and starting over" >&5
1317 < echo "$as_me: WARNING: consider removing $cache_file and starting over" >&2;}
1313 > if $ac_cache_corrupted; then
1314 >  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1315 > echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1316 >  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1317 > echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1318 >   { (exit 1); exit 1; }; }
1319   fi
1320  
1321   ac_ext=c
# Line 922 | Line 1324 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing;
1324   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1325   ac_compiler_gnu=$ac_cv_c_compiler_gnu
1326  
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.  #
1555   # ------------------------ #
# Line 1131 | Line 1557 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1557   # AC_LANG_SOURCE(Fortran 95)(BODY)
1558   # --------------------------------
1559  
1560 +
1561   # AC_LANG_PROGRAM(Fortran 95)([PROLOGUE], [BODY])
1562   # -----------------------------------------------
1563  
1564 +
1565   # AC_LANG_CALL(Fortran 95)(PROLOGUE, FUNCTION)
1566   # --------------------------------------------
1567  
1568 +
1569 +
1570   ## -------------------------------------------- ##
1571   ## 3. Looking for Compilers and Preprocessors.  ##
1572   ## -------------------------------------------- ##
# Line 1145 | Line 1575 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1575   # 3b. The Fortran 90 compiler.  #
1576   # ----------------------------- #
1577  
1578 +
1579   # AC_LANG_PREPROC(Fortran 90)
1580   # ---------------------------
1581   # Find the Fortran 90 preprocessor.  Must be AC_DEFUN'd to be AC_REQUIRE'able.
1582  
1583 +
1584 +
1585   # AC_LANG_COMPILER(Fortran 90)
1586   # ----------------------------
1587   # Find the Fortran 90 compiler.  Must be AC_DEFUN'd to be
1588   # AC_REQUIRE'able.
1589  
1590 +
1591 +
1592   # AC_PROG_F90([COMPILERS...])
1593   # ---------------------------
1594   # COMPILERS is a space separated list of Fortran 90 compilers to search
# Line 1170 | Line 1605 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1605   # fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha.
1606   # AC_PROG_F90
1607  
1608 +
1609   # ----------------------------- #
1610   # 3c. The Fortran 95 compiler.  #
1611   # ----------------------------- #
1612  
1613 +
1614   # AC_LANG_PREPROC(Fortran 95)
1615   # ---------------------------
1616   # Find the Fortran 95 preprocessor.  Must be AC_DEFUN'd to be AC_REQUIRE'able.
1617  
1618 +
1619 +
1620   # AC_LANG_COMPILER(Fortran 95)
1621   # ----------------------------
1622   # Find the Fortran 95 compiler.  Must be AC_DEFUN'd to be
1623   # AC_REQUIRE'able.
1624  
1625 +
1626 +
1627   # AC_PROG_F95([COMPILERS...])
1628   # ---------------------------
1629   # COMPILERS is a space separated list of Fortran 95 compilers to search
# Line 1196 | Line 1637 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1637   # fort is the Compaq Fortran 90 (now 95) compiler for Tru64 and Linux/Alpha.
1638   # AC_PROG_F95
1639  
1640 +
1641   ## ------------------------------- ##
1642   ## 4. Compilers' characteristics.  ##
1643   ## ------------------------------- ##
1644  
1645 +
1646   # ---------------------------------------- #
1647   # 4b. Fortan 90 compiler characteristics.  #
1648   # ---------------------------------------- #
1649  
1650 +
1651   # _AC_PROG_F90_V_OUTPUT([FLAG = $ac_cv_prog_f90_v])
1652   # -------------------------------------------------
1653   # Link a trivial Fortran program, compiling with a verbose output FLAG
# Line 1214 | Line 1658 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1658   # space-separated items.
1659   # _AC_PROG_F90_V_OUTPUT
1660  
1661 +
1662   # _AC_PROG_F90_V
1663   # --------------
1664   #
# Line 1223 | Line 1668 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1668   # Some compilers don't accept -v (Lahey: -verbose, xlf: -V, Fujitsu: -###)
1669   # _AC_PROG_F90_V
1670  
1671 +
1672   # AC_F90_LIBRARY_LDFLAGS
1673   # ----------------------
1674   #
# Line 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 1361 | Line 1818 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1818   # scheme used by the Fortran 95 compiler.
1819   # AC_F95_WRAPPERS
1820  
1821 +
1822   # AC_F95_FUNC(NAME, [SHELLVAR = NAME])
1823   # ------------------------------------
1824   # For a Fortran subroutine of given NAME, define a shell variable
# Line 1374 | Line 1832 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1832   # Figure out how the Fortran 90 compiler constructs module file names
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
2120 < ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2121 < if { (eval echo "$as_me:1561: \"$ac_link_default\"") >&5
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:$LINENO: \"$ac_link_default\"") >&5
2122    (eval $ac_link_default) 2>&5
2123    ac_status=$?
2124 <  echo "$as_me:1564: \$? = $ac_status" >&5
2124 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125    (exit $ac_status); }; then
2126 <  for ac_file in `ls a.exe conftest.exe a.* conftest conftest.* 2>/dev/null`; do
2126 >  # Find the output, starting from the most likely.  This scheme is
2127 > # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2128 > # resort.
2129 >
2130 > # Be careful to initialize this variable, since it used to be cached.
2131 > # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2132 > ac_cv_exeext=
2133 > # b.out is created by i960 compilers.
2134 > for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2135 > do
2136 >  test -f "$ac_file" || continue
2137    case $ac_file in
2138 <    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2139 <    a.out ) # We found the default executable, but exeext='' is most
2140 <            # certainly right.
2141 <            break;;
2142 <    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2143 <          export ac_cv_exeext
2144 <          break;;
2145 <    * ) break;;
2138 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2139 >        ;;
2140 >    conftest.$ac_ext )
2141 >        # This is the source file.
2142 >        ;;
2143 >    [ab].out )
2144 >        # We found the default executable, but exeext='' is most
2145 >        # certainly right.
2146 >        break;;
2147 >    *.* )
2148 >        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2149 >        # FIXME: I believe we export ac_cv_exeext for Libtool,
2150 >        # but it would be cool to find out if it's true.  Does anybody
2151 >        # maintain Libtool? --akim.
2152 >        export ac_cv_exeext
2153 >        break;;
2154 >    * )
2155 >        break;;
2156    esac
2157   done
2158   else
2159    echo "$as_me: failed program was:" >&5
2160 < cat conftest.$ac_ext >&5
2161 < { { echo "$as_me:1581: error: C compiler cannot create executables" >&5
2162 < echo "$as_me: error: C compiler cannot create executables" >&2;}
2160 > sed 's/^/| /' conftest.$ac_ext >&5
2161 >
2162 > { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2163 > See \`config.log' for more details." >&5
2164 > echo "$as_me: error: C compiler cannot create executables
2165 > See \`config.log' for more details." >&2;}
2166     { (exit 77); exit 77; }; }
2167   fi
2168  
2169   ac_exeext=$ac_cv_exeext
2170 < echo "$as_me:1587: result: $ac_file" >&5
2170 > echo "$as_me:$LINENO: result: $ac_file" >&5
2171   echo "${ECHO_T}$ac_file" >&6
2172  
2173   # Check the compiler produces executables we can run.  If not, either
2174   # the compiler is broken, or we cross compile.
2175 < echo "$as_me:1592: checking whether the C compiler works" >&5
2175 > echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2176   echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2177   # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2178   # If not cross compiling, check that we can run a simple program.
2179   if test "$cross_compiling" != yes; then
2180    if { ac_try='./$ac_file'
2181 <  { (eval echo "$as_me:1598: \"$ac_try\"") >&5
2181 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2182    (eval $ac_try) 2>&5
2183    ac_status=$?
2184 <  echo "$as_me:1601: \$? = $ac_status" >&5
2184 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185    (exit $ac_status); }; }; then
2186      cross_compiling=no
2187    else
2188      if test "$cross_compiling" = maybe; then
2189          cross_compiling=yes
2190      else
2191 <        { { echo "$as_me:1608: error: cannot run C compiled programs.
2192 < If you meant to cross compile, use \`--host'." >&5
2191 >        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2192 > If you meant to cross compile, use \`--host'.
2193 > See \`config.log' for more details." >&5
2194   echo "$as_me: error: cannot run C compiled programs.
2195 < If you meant to cross compile, use \`--host'." >&2;}
2195 > If you meant to cross compile, use \`--host'.
2196 > See \`config.log' for more details." >&2;}
2197     { (exit 1); exit 1; }; }
2198      fi
2199    fi
2200   fi
2201 < echo "$as_me:1616: result: yes" >&5
2201 > echo "$as_me:$LINENO: result: yes" >&5
2202   echo "${ECHO_T}yes" >&6
2203  
2204 < rm -f a.out a.exe conftest$ac_cv_exeext
2204 > rm -f a.out a.exe conftest$ac_cv_exeext b.out
2205   ac_clean_files=$ac_clean_files_save
2206   # Check the compiler produces executables we can run.  If not, either
2207   # the compiler is broken, or we cross compile.
2208 < echo "$as_me:1623: checking whether we are cross compiling" >&5
2208 > echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2209   echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2210 < echo "$as_me:1625: result: $cross_compiling" >&5
2210 > echo "$as_me:$LINENO: result: $cross_compiling" >&5
2211   echo "${ECHO_T}$cross_compiling" >&6
2212  
2213 < echo "$as_me:1628: checking for executable suffix" >&5
2214 < echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
2215 < if { (eval echo "$as_me:1630: \"$ac_link\"") >&5
2213 > echo "$as_me:$LINENO: checking for suffix of executables" >&5
2214 > echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2215 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2216    (eval $ac_link) 2>&5
2217    ac_status=$?
2218 <  echo "$as_me:1633: \$? = $ac_status" >&5
2218 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2219    (exit $ac_status); }; then
2220    # If both `conftest.exe' and `conftest' are `present' (well, observable)
2221   # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2222   # work properly (i.e., refer to `conftest.exe'), while it won't with
2223   # `rm'.
2224 < for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2224 > for ac_file in conftest.exe conftest conftest.*; do
2225 >  test -f "$ac_file" || continue
2226    case $ac_file in
2227 <    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2227 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2228      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2229 <          export ac_cv_exeext
2230 <          break;;
2229 >          export ac_cv_exeext
2230 >          break;;
2231      * ) break;;
2232    esac
2233   done
2234   else
2235 <  { { echo "$as_me:1649: error: cannot compute EXEEXT: cannot compile and link" >&5
2236 < echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
2235 >  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2236 > See \`config.log' for more details." >&5
2237 > echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2238 > See \`config.log' for more details." >&2;}
2239     { (exit 1); exit 1; }; }
2240   fi
2241  
2242   rm -f conftest$ac_cv_exeext
2243 < echo "$as_me:1655: result: $ac_cv_exeext" >&5
2243 > echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2244   echo "${ECHO_T}$ac_cv_exeext" >&6
2245  
2246   rm -f conftest.$ac_ext
2247   EXEEXT=$ac_cv_exeext
2248   ac_exeext=$EXEEXT
2249 < echo "$as_me:1661: checking for object suffix" >&5
2250 < echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
2249 > echo "$as_me:$LINENO: checking for suffix of object files" >&5
2250 > echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2251   if test "${ac_cv_objext+set}" = set; then
2252    echo $ECHO_N "(cached) $ECHO_C" >&6
2253   else
2254    cat >conftest.$ac_ext <<_ACEOF
2255 < #line 1667 "configure"
2256 < #include "confdefs.h"
2255 > /* confdefs.h.  */
2256 > _ACEOF
2257 > cat confdefs.h >>conftest.$ac_ext
2258 > cat >>conftest.$ac_ext <<_ACEOF
2259 > /* end confdefs.h.  */
2260  
2261   int
2262   main ()
# Line 1676 | Line 2267 | if { (eval echo "$as_me:1679: \"$ac_compile\"") >&5
2267   }
2268   _ACEOF
2269   rm -f conftest.o conftest.obj
2270 < if { (eval echo "$as_me:1679: \"$ac_compile\"") >&5
2270 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2271    (eval $ac_compile) 2>&5
2272    ac_status=$?
2273 <  echo "$as_me:1682: \$? = $ac_status" >&5
2273 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274    (exit $ac_status); }; then
2275    for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2276    case $ac_file in
2277 <    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2277 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2278      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2279         break;;
2280    esac
2281   done
2282   else
2283    echo "$as_me: failed program was:" >&5
2284 < cat conftest.$ac_ext >&5
2285 < { { echo "$as_me:1694: error: cannot compute OBJEXT: cannot compile" >&5
2286 < echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2284 > sed 's/^/| /' conftest.$ac_ext >&5
2285 >
2286 > { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2287 > See \`config.log' for more details." >&5
2288 > echo "$as_me: error: cannot compute suffix of object files: cannot compile
2289 > See \`config.log' for more details." >&2;}
2290     { (exit 1); exit 1; }; }
2291   fi
2292  
2293   rm -f conftest.$ac_cv_objext conftest.$ac_ext
2294   fi
2295 < echo "$as_me:1701: result: $ac_cv_objext" >&5
2295 > echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2296   echo "${ECHO_T}$ac_cv_objext" >&6
2297   OBJEXT=$ac_cv_objext
2298   ac_objext=$OBJEXT
2299 < echo "$as_me:1705: checking whether we are using the GNU C compiler" >&5
2299 > echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2300   echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2301   if test "${ac_cv_c_compiler_gnu+set}" = set; then
2302    echo $ECHO_N "(cached) $ECHO_C" >&6
2303   else
2304    cat >conftest.$ac_ext <<_ACEOF
2305 < #line 1711 "configure"
2306 < #include "confdefs.h"
2305 > /* confdefs.h.  */
2306 > _ACEOF
2307 > cat confdefs.h >>conftest.$ac_ext
2308 > cat >>conftest.$ac_ext <<_ACEOF
2309 > /* end confdefs.h.  */
2310  
2311   int
2312   main ()
# Line 1723 | Line 2320 | if { (eval echo "$as_me:1726: \"$ac_compile\"") >&5
2320   }
2321   _ACEOF
2322   rm -f conftest.$ac_objext
2323 < if { (eval echo "$as_me:1726: \"$ac_compile\"") >&5
2324 <  (eval $ac_compile) 2>&5
2323 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2324 >  (eval $ac_compile) 2>conftest.er1
2325    ac_status=$?
2326 <  echo "$as_me:1729: \$? = $ac_status" >&5
2326 >  grep -v '^ *+' conftest.er1 >conftest.err
2327 >  rm -f conftest.er1
2328 >  cat conftest.err >&5
2329 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330    (exit $ac_status); } &&
2331 <         { ac_try='test -s conftest.$ac_objext'
2332 <  { (eval echo "$as_me:1732: \"$ac_try\"") >&5
2331 >         { ac_try='test -z "$ac_c_werror_flag"
2332 >                         || test ! -s conftest.err'
2333 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2334    (eval $ac_try) 2>&5
2335    ac_status=$?
2336 <  echo "$as_me:1735: \$? = $ac_status" >&5
2336 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337 >  (exit $ac_status); }; } &&
2338 >         { ac_try='test -s conftest.$ac_objext'
2339 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2340 >  (eval $ac_try) 2>&5
2341 >  ac_status=$?
2342 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343    (exit $ac_status); }; }; then
2344    ac_compiler_gnu=yes
2345   else
2346    echo "$as_me: failed program was:" >&5
2347 < cat conftest.$ac_ext >&5
2347 > sed 's/^/| /' conftest.$ac_ext >&5
2348 >
2349   ac_compiler_gnu=no
2350   fi
2351 < rm -f conftest.$ac_objext conftest.$ac_ext
2351 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2352   ac_cv_c_compiler_gnu=$ac_compiler_gnu
2353  
2354   fi
2355 < echo "$as_me:1747: result: $ac_cv_c_compiler_gnu" >&5
2355 > echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2356   echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2357   GCC=`test $ac_compiler_gnu = yes && echo yes`
2358   ac_test_CFLAGS=${CFLAGS+set}
2359   ac_save_CFLAGS=$CFLAGS
2360   CFLAGS="-g"
2361 < echo "$as_me:1753: checking whether $CC accepts -g" >&5
2361 > echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2362   echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2363   if test "${ac_cv_prog_cc_g+set}" = set; then
2364    echo $ECHO_N "(cached) $ECHO_C" >&6
2365   else
2366    cat >conftest.$ac_ext <<_ACEOF
2367 < #line 1759 "configure"
2368 < #include "confdefs.h"
2367 > /* confdefs.h.  */
2368 > _ACEOF
2369 > cat confdefs.h >>conftest.$ac_ext
2370 > cat >>conftest.$ac_ext <<_ACEOF
2371 > /* end confdefs.h.  */
2372  
2373   int
2374   main ()
# Line 1768 | Line 2379 | if { (eval echo "$as_me:1771: \"$ac_compile\"") >&5
2379   }
2380   _ACEOF
2381   rm -f conftest.$ac_objext
2382 < if { (eval echo "$as_me:1771: \"$ac_compile\"") >&5
2383 <  (eval $ac_compile) 2>&5
2382 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2383 >  (eval $ac_compile) 2>conftest.er1
2384    ac_status=$?
2385 <  echo "$as_me:1774: \$? = $ac_status" >&5
2385 >  grep -v '^ *+' conftest.er1 >conftest.err
2386 >  rm -f conftest.er1
2387 >  cat conftest.err >&5
2388 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389    (exit $ac_status); } &&
2390 <         { ac_try='test -s conftest.$ac_objext'
2391 <  { (eval echo "$as_me:1777: \"$ac_try\"") >&5
2390 >         { ac_try='test -z "$ac_c_werror_flag"
2391 >                         || test ! -s conftest.err'
2392 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2393    (eval $ac_try) 2>&5
2394    ac_status=$?
2395 <  echo "$as_me:1780: \$? = $ac_status" >&5
2395 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 >  (exit $ac_status); }; } &&
2397 >         { ac_try='test -s conftest.$ac_objext'
2398 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2399 >  (eval $ac_try) 2>&5
2400 >  ac_status=$?
2401 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402    (exit $ac_status); }; }; then
2403    ac_cv_prog_cc_g=yes
2404   else
2405    echo "$as_me: failed program was:" >&5
2406 < cat conftest.$ac_ext >&5
2406 > sed 's/^/| /' conftest.$ac_ext >&5
2407 >
2408   ac_cv_prog_cc_g=no
2409   fi
2410 < rm -f conftest.$ac_objext conftest.$ac_ext
2410 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2411   fi
2412 < echo "$as_me:1790: result: $ac_cv_prog_cc_g" >&5
2412 > echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2413   echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2414   if test "$ac_test_CFLAGS" = set; then
2415    CFLAGS=$ac_save_CFLAGS
# Line 1804 | Line 2426 | fi
2426      CFLAGS=
2427    fi
2428   fi
2429 + echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2430 + echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2431 + if test "${ac_cv_prog_cc_stdc+set}" = set; then
2432 +  echo $ECHO_N "(cached) $ECHO_C" >&6
2433 + else
2434 +  ac_cv_prog_cc_stdc=no
2435 + ac_save_CC=$CC
2436 + cat >conftest.$ac_ext <<_ACEOF
2437 + /* confdefs.h.  */
2438 + _ACEOF
2439 + cat confdefs.h >>conftest.$ac_ext
2440 + cat >>conftest.$ac_ext <<_ACEOF
2441 + /* end confdefs.h.  */
2442 + #include <stdarg.h>
2443 + #include <stdio.h>
2444 + #include <sys/types.h>
2445 + #include <sys/stat.h>
2446 + /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2447 + struct buf { int x; };
2448 + FILE * (*rcsopen) (struct buf *, struct stat *, int);
2449 + static char *e (p, i)
2450 +     char **p;
2451 +     int i;
2452 + {
2453 +  return p[i];
2454 + }
2455 + static char *f (char * (*g) (char **, int), char **p, ...)
2456 + {
2457 +  char *s;
2458 +  va_list v;
2459 +  va_start (v,p);
2460 +  s = g (p, va_arg (v,int));
2461 +  va_end (v);
2462 +  return s;
2463 + }
2464 +
2465 + /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2466 +   function prototypes and stuff, but not '\xHH' hex character constants.
2467 +   These don't provoke an error unfortunately, instead are silently treated
2468 +   as 'x'.  The following induces an error, until -std1 is added to get
2469 +   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2470 +   array size at least.  It's necessary to write '\x00'==0 to get something
2471 +   that's true only with -std1.  */
2472 + int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2473 +
2474 + int test (int i, double x);
2475 + struct s1 {int (*f) (int a);};
2476 + struct s2 {int (*f) (double a);};
2477 + int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2478 + int argc;
2479 + char **argv;
2480 + int
2481 + main ()
2482 + {
2483 + return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2484 +  ;
2485 +  return 0;
2486 + }
2487 + _ACEOF
2488 + # Don't try gcc -ansi; that turns off useful extensions and
2489 + # breaks some systems' header files.
2490 + # AIX                   -qlanglvl=ansi
2491 + # Ultrix and OSF/1      -std1
2492 + # HP-UX 10.20 and later -Ae
2493 + # HP-UX older versions  -Aa -D_HPUX_SOURCE
2494 + # SVR4                  -Xc -D__EXTENSIONS__
2495 + for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2496 + do
2497 +  CC="$ac_save_CC $ac_arg"
2498 +  rm -f conftest.$ac_objext
2499 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2500 +  (eval $ac_compile) 2>conftest.er1
2501 +  ac_status=$?
2502 +  grep -v '^ *+' conftest.er1 >conftest.err
2503 +  rm -f conftest.er1
2504 +  cat conftest.err >&5
2505 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 +  (exit $ac_status); } &&
2507 +         { ac_try='test -z "$ac_c_werror_flag"
2508 +                         || test ! -s conftest.err'
2509 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2510 +  (eval $ac_try) 2>&5
2511 +  ac_status=$?
2512 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2513 +  (exit $ac_status); }; } &&
2514 +         { ac_try='test -s conftest.$ac_objext'
2515 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2516 +  (eval $ac_try) 2>&5
2517 +  ac_status=$?
2518 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2519 +  (exit $ac_status); }; }; then
2520 +  ac_cv_prog_cc_stdc=$ac_arg
2521 + break
2522 + else
2523 +  echo "$as_me: failed program was:" >&5
2524 + sed 's/^/| /' conftest.$ac_ext >&5
2525 +
2526 + fi
2527 + rm -f conftest.err conftest.$ac_objext
2528 + done
2529 + rm -f conftest.$ac_ext conftest.$ac_objext
2530 + CC=$ac_save_CC
2531 +
2532 + fi
2533 +
2534 + case "x$ac_cv_prog_cc_stdc" in
2535 +  x|xno)
2536 +    echo "$as_me:$LINENO: result: none needed" >&5
2537 + echo "${ECHO_T}none needed" >&6 ;;
2538 +  *)
2539 +    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2540 + echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2541 +    CC="$CC $ac_cv_prog_cc_stdc" ;;
2542 + esac
2543 +
2544   # Some people use a C++ compiler to compile C.  Since we use `exit',
2545   # in C++ we need to declare it.  In case someone uses the same compiler
2546   # for both compiling C and C++ we need to have the C++ compiler decide
# Line 1814 | Line 2551 | if { (eval echo "$as_me:1817: \"$ac_compile\"") >&5
2551   #endif
2552   _ACEOF
2553   rm -f conftest.$ac_objext
2554 < if { (eval echo "$as_me:1817: \"$ac_compile\"") >&5
2555 <  (eval $ac_compile) 2>&5
2554 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2555 >  (eval $ac_compile) 2>conftest.er1
2556    ac_status=$?
2557 <  echo "$as_me:1820: \$? = $ac_status" >&5
2557 >  grep -v '^ *+' conftest.er1 >conftest.err
2558 >  rm -f conftest.er1
2559 >  cat conftest.err >&5
2560 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561    (exit $ac_status); } &&
2562 <         { ac_try='test -s conftest.$ac_objext'
2563 <  { (eval echo "$as_me:1823: \"$ac_try\"") >&5
2562 >         { ac_try='test -z "$ac_c_werror_flag"
2563 >                         || test ! -s conftest.err'
2564 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2565    (eval $ac_try) 2>&5
2566    ac_status=$?
2567 <  echo "$as_me:1826: \$? = $ac_status" >&5
2567 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 >  (exit $ac_status); }; } &&
2569 >         { ac_try='test -s conftest.$ac_objext'
2570 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2571 >  (eval $ac_try) 2>&5
2572 >  ac_status=$?
2573 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574    (exit $ac_status); }; }; then
2575    for ac_declaration in \
2576 <   ''\
1830 <   '#include <stdlib.h>' \
2576 >   '' \
2577     'extern "C" void std::exit (int) throw (); using std::exit;' \
2578     'extern "C" void std::exit (int); using std::exit;' \
2579     'extern "C" void exit (int) throw ();' \
# Line 1835 | Line 2581 | do
2581     'void exit (int);'
2582   do
2583    cat >conftest.$ac_ext <<_ACEOF
2584 < #line 1838 "configure"
2585 < #include "confdefs.h"
2586 < #include <stdlib.h>
2584 > /* confdefs.h.  */
2585 > _ACEOF
2586 > cat confdefs.h >>conftest.$ac_ext
2587 > cat >>conftest.$ac_ext <<_ACEOF
2588 > /* end confdefs.h.  */
2589   $ac_declaration
2590 + #include <stdlib.h>
2591   int
2592   main ()
2593   {
# Line 1848 | Line 2597 | if { (eval echo "$as_me:1851: \"$ac_compile\"") >&5
2597   }
2598   _ACEOF
2599   rm -f conftest.$ac_objext
2600 < if { (eval echo "$as_me:1851: \"$ac_compile\"") >&5
2601 <  (eval $ac_compile) 2>&5
2600 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2601 >  (eval $ac_compile) 2>conftest.er1
2602    ac_status=$?
2603 <  echo "$as_me:1854: \$? = $ac_status" >&5
2603 >  grep -v '^ *+' conftest.er1 >conftest.err
2604 >  rm -f conftest.er1
2605 >  cat conftest.err >&5
2606 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607    (exit $ac_status); } &&
2608 <         { ac_try='test -s conftest.$ac_objext'
2609 <  { (eval echo "$as_me:1857: \"$ac_try\"") >&5
2608 >         { ac_try='test -z "$ac_c_werror_flag"
2609 >                         || test ! -s conftest.err'
2610 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2611    (eval $ac_try) 2>&5
2612    ac_status=$?
2613 <  echo "$as_me:1860: \$? = $ac_status" >&5
2613 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614 >  (exit $ac_status); }; } &&
2615 >         { ac_try='test -s conftest.$ac_objext'
2616 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2617 >  (eval $ac_try) 2>&5
2618 >  ac_status=$?
2619 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620    (exit $ac_status); }; }; then
2621    :
2622   else
2623    echo "$as_me: failed program was:" >&5
2624 < cat conftest.$ac_ext >&5
2624 > sed 's/^/| /' conftest.$ac_ext >&5
2625 >
2626   continue
2627   fi
2628 < rm -f conftest.$ac_objext conftest.$ac_ext
2628 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2629    cat >conftest.$ac_ext <<_ACEOF
2630 < #line 1870 "configure"
2631 < #include "confdefs.h"
2630 > /* confdefs.h.  */
2631 > _ACEOF
2632 > cat confdefs.h >>conftest.$ac_ext
2633 > cat >>conftest.$ac_ext <<_ACEOF
2634 > /* end confdefs.h.  */
2635   $ac_declaration
2636   int
2637   main ()
# Line 1879 | Line 2642 | if { (eval echo "$as_me:1882: \"$ac_compile\"") >&5
2642   }
2643   _ACEOF
2644   rm -f conftest.$ac_objext
2645 < if { (eval echo "$as_me:1882: \"$ac_compile\"") >&5
2646 <  (eval $ac_compile) 2>&5
2645 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2646 >  (eval $ac_compile) 2>conftest.er1
2647    ac_status=$?
2648 <  echo "$as_me:1885: \$? = $ac_status" >&5
2648 >  grep -v '^ *+' conftest.er1 >conftest.err
2649 >  rm -f conftest.er1
2650 >  cat conftest.err >&5
2651 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652    (exit $ac_status); } &&
2653 <         { ac_try='test -s conftest.$ac_objext'
2654 <  { (eval echo "$as_me:1888: \"$ac_try\"") >&5
2653 >         { ac_try='test -z "$ac_c_werror_flag"
2654 >                         || test ! -s conftest.err'
2655 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2656    (eval $ac_try) 2>&5
2657    ac_status=$?
2658 <  echo "$as_me:1891: \$? = $ac_status" >&5
2658 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 >  (exit $ac_status); }; } &&
2660 >         { ac_try='test -s conftest.$ac_objext'
2661 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2662 >  (eval $ac_try) 2>&5
2663 >  ac_status=$?
2664 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665    (exit $ac_status); }; }; then
2666    break
2667   else
2668    echo "$as_me: failed program was:" >&5
2669 < cat conftest.$ac_ext >&5
2669 > sed 's/^/| /' conftest.$ac_ext >&5
2670 >
2671   fi
2672 < rm -f conftest.$ac_objext conftest.$ac_ext
2672 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2673   done
2674 < echo '#ifdef __cplusplus' >>confdefs.h
2675 < echo $ac_declaration      >>confdefs.h
2676 < echo '#endif'             >>confdefs.h
2674 > rm -f conftest*
2675 > if test -n "$ac_declaration"; then
2676 >  echo '#ifdef __cplusplus' >>confdefs.h
2677 >  echo $ac_declaration      >>confdefs.h
2678 >  echo '#endif'             >>confdefs.h
2679 > fi
2680  
2681   else
2682    echo "$as_me: failed program was:" >&5
2683 < cat conftest.$ac_ext >&5
2683 > sed 's/^/| /' conftest.$ac_ext >&5
2684 >
2685   fi
2686 < rm -f conftest.$ac_objext conftest.$ac_ext
2686 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2687   ac_ext=c
2688   ac_cpp='$CPP $CPPFLAGS'
2689   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2690   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2691   ac_compiler_gnu=$ac_cv_c_compiler_gnu
2692  
2693 +
2694   ac_ext=cc
2695   ac_cpp='$CXXCPP $CPPFLAGS'
2696   ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 1922 | Line 2701 | echo "$as_me:1925: checking for $ac_word" >&5
2701    do
2702      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2703   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2704 < echo "$as_me:1925: checking for $ac_word" >&5
2704 > echo "$as_me:$LINENO: checking for $ac_word" >&5
2705   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2706   if test "${ac_cv_prog_CXX+set}" = set; then
2707    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1930 | Line 2709 | else
2709    if test -n "$CXX"; then
2710    ac_cv_prog_CXX="$CXX" # Let the user override the test.
2711   else
2712 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
2713 < ac_dummy="$PATH"
2714 < for ac_dir in $ac_dummy; do
2715 <  IFS=$ac_save_IFS
2716 <  test -z "$ac_dir" && ac_dir=.
2717 <  $as_executable_p "$ac_dir/$ac_word" || continue
2718 < ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2719 < echo "$as_me:1940: found $ac_dir/$ac_word" >&5
2720 < break
2712 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2713 > for as_dir in $PATH
2714 > do
2715 >  IFS=$as_save_IFS
2716 >  test -z "$as_dir" && as_dir=.
2717 >  for ac_exec_ext in '' $ac_executable_extensions; do
2718 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2719 >    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2720 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2721 >    break 2
2722 >  fi
2723   done
2724 + done
2725  
2726   fi
2727   fi
2728   CXX=$ac_cv_prog_CXX
2729   if test -n "$CXX"; then
2730 <  echo "$as_me:1948: result: $CXX" >&5
2730 >  echo "$as_me:$LINENO: result: $CXX" >&5
2731   echo "${ECHO_T}$CXX" >&6
2732   else
2733 <  echo "$as_me:1951: result: no" >&5
2733 >  echo "$as_me:$LINENO: result: no" >&5
2734   echo "${ECHO_T}no" >&6
2735   fi
2736  
# Line 1961 | Line 2743 | echo "$as_me:1964: checking for $ac_word" >&5
2743   do
2744    # Extract the first word of "$ac_prog", so it can be a program name with args.
2745   set dummy $ac_prog; ac_word=$2
2746 < echo "$as_me:1964: checking for $ac_word" >&5
2746 > echo "$as_me:$LINENO: checking for $ac_word" >&5
2747   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2748   if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2749    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 1969 | Line 2751 | else
2751    if test -n "$ac_ct_CXX"; then
2752    ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2753   else
2754 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
2755 < ac_dummy="$PATH"
2756 < for ac_dir in $ac_dummy; do
2757 <  IFS=$ac_save_IFS
2758 <  test -z "$ac_dir" && ac_dir=.
2759 <  $as_executable_p "$ac_dir/$ac_word" || continue
2760 < ac_cv_prog_ac_ct_CXX="$ac_prog"
2761 < echo "$as_me:1979: found $ac_dir/$ac_word" >&5
2762 < break
2754 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2755 > for as_dir in $PATH
2756 > do
2757 >  IFS=$as_save_IFS
2758 >  test -z "$as_dir" && as_dir=.
2759 >  for ac_exec_ext in '' $ac_executable_extensions; do
2760 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2761 >    ac_cv_prog_ac_ct_CXX="$ac_prog"
2762 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2763 >    break 2
2764 >  fi
2765   done
2766 + done
2767  
2768   fi
2769   fi
2770   ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2771   if test -n "$ac_ct_CXX"; then
2772 <  echo "$as_me:1987: result: $ac_ct_CXX" >&5
2772 >  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2773   echo "${ECHO_T}$ac_ct_CXX" >&6
2774   else
2775 <  echo "$as_me:1990: result: no" >&5
2775 >  echo "$as_me:$LINENO: result: no" >&5
2776   echo "${ECHO_T}no" >&6
2777   fi
2778  
# Line 1998 | Line 2783 | echo "$as_me:2001: checking whether we are using the G
2783    CXX=$ac_ct_CXX
2784   fi
2785  
2786 < echo "$as_me:2001: checking whether we are using the GNU C++ compiler" >&5
2786 >
2787 > # Provide some information about the compiler.
2788 > echo "$as_me:$LINENO:" \
2789 >     "checking for C++ compiler version" >&5
2790 > ac_compiler=`set X $ac_compile; echo $2`
2791 > { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2792 >  (eval $ac_compiler --version </dev/null >&5) 2>&5
2793 >  ac_status=$?
2794 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 >  (exit $ac_status); }
2796 > { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2797 >  (eval $ac_compiler -v </dev/null >&5) 2>&5
2798 >  ac_status=$?
2799 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 >  (exit $ac_status); }
2801 > { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2802 >  (eval $ac_compiler -V </dev/null >&5) 2>&5
2803 >  ac_status=$?
2804 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 >  (exit $ac_status); }
2806 >
2807 > echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2808   echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2809   if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2810    echo $ECHO_N "(cached) $ECHO_C" >&6
2811   else
2812    cat >conftest.$ac_ext <<_ACEOF
2813 < #line 2007 "configure"
2814 < #include "confdefs.h"
2813 > /* confdefs.h.  */
2814 > _ACEOF
2815 > cat confdefs.h >>conftest.$ac_ext
2816 > cat >>conftest.$ac_ext <<_ACEOF
2817 > /* end confdefs.h.  */
2818  
2819   int
2820   main ()
# Line 2019 | Line 2828 | if { (eval echo "$as_me:2022: \"$ac_compile\"") >&5
2828   }
2829   _ACEOF
2830   rm -f conftest.$ac_objext
2831 < if { (eval echo "$as_me:2022: \"$ac_compile\"") >&5
2832 <  (eval $ac_compile) 2>&5
2831 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2832 >  (eval $ac_compile) 2>conftest.er1
2833    ac_status=$?
2834 <  echo "$as_me:2025: \$? = $ac_status" >&5
2834 >  grep -v '^ *+' conftest.er1 >conftest.err
2835 >  rm -f conftest.er1
2836 >  cat conftest.err >&5
2837 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838    (exit $ac_status); } &&
2839 <         { ac_try='test -s conftest.$ac_objext'
2840 <  { (eval echo "$as_me:2028: \"$ac_try\"") >&5
2839 >         { ac_try='test -z "$ac_cxx_werror_flag"
2840 >                         || test ! -s conftest.err'
2841 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2842    (eval $ac_try) 2>&5
2843    ac_status=$?
2844 <  echo "$as_me:2031: \$? = $ac_status" >&5
2844 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 >  (exit $ac_status); }; } &&
2846 >         { ac_try='test -s conftest.$ac_objext'
2847 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2848 >  (eval $ac_try) 2>&5
2849 >  ac_status=$?
2850 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851    (exit $ac_status); }; }; then
2852    ac_compiler_gnu=yes
2853   else
2854    echo "$as_me: failed program was:" >&5
2855 < cat conftest.$ac_ext >&5
2855 > sed 's/^/| /' conftest.$ac_ext >&5
2856 >
2857   ac_compiler_gnu=no
2858   fi
2859 < rm -f conftest.$ac_objext conftest.$ac_ext
2859 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2860   ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2861  
2862   fi
2863 < echo "$as_me:2043: result: $ac_cv_cxx_compiler_gnu" >&5
2863 > echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2864   echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2865   GXX=`test $ac_compiler_gnu = yes && echo yes`
2866   ac_test_CXXFLAGS=${CXXFLAGS+set}
2867   ac_save_CXXFLAGS=$CXXFLAGS
2868   CXXFLAGS="-g"
2869 < echo "$as_me:2049: checking whether $CXX accepts -g" >&5
2869 > echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2870   echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2871   if test "${ac_cv_prog_cxx_g+set}" = set; then
2872    echo $ECHO_N "(cached) $ECHO_C" >&6
2873   else
2874    cat >conftest.$ac_ext <<_ACEOF
2875 < #line 2055 "configure"
2876 < #include "confdefs.h"
2875 > /* confdefs.h.  */
2876 > _ACEOF
2877 > cat confdefs.h >>conftest.$ac_ext
2878 > cat >>conftest.$ac_ext <<_ACEOF
2879 > /* end confdefs.h.  */
2880  
2881   int
2882   main ()
# Line 2064 | Line 2887 | if { (eval echo "$as_me:2067: \"$ac_compile\"") >&5
2887   }
2888   _ACEOF
2889   rm -f conftest.$ac_objext
2890 < if { (eval echo "$as_me:2067: \"$ac_compile\"") >&5
2891 <  (eval $ac_compile) 2>&5
2890 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2891 >  (eval $ac_compile) 2>conftest.er1
2892    ac_status=$?
2893 <  echo "$as_me:2070: \$? = $ac_status" >&5
2893 >  grep -v '^ *+' conftest.er1 >conftest.err
2894 >  rm -f conftest.er1
2895 >  cat conftest.err >&5
2896 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897    (exit $ac_status); } &&
2898 <         { ac_try='test -s conftest.$ac_objext'
2899 <  { (eval echo "$as_me:2073: \"$ac_try\"") >&5
2898 >         { ac_try='test -z "$ac_cxx_werror_flag"
2899 >                         || test ! -s conftest.err'
2900 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2901    (eval $ac_try) 2>&5
2902    ac_status=$?
2903 <  echo "$as_me:2076: \$? = $ac_status" >&5
2903 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2904 >  (exit $ac_status); }; } &&
2905 >         { ac_try='test -s conftest.$ac_objext'
2906 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2907 >  (eval $ac_try) 2>&5
2908 >  ac_status=$?
2909 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910    (exit $ac_status); }; }; then
2911    ac_cv_prog_cxx_g=yes
2912   else
2913    echo "$as_me: failed program was:" >&5
2914 < cat conftest.$ac_ext >&5
2914 > sed 's/^/| /' conftest.$ac_ext >&5
2915 >
2916   ac_cv_prog_cxx_g=no
2917   fi
2918 < rm -f conftest.$ac_objext conftest.$ac_ext
2918 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2919   fi
2920 < echo "$as_me:2086: result: $ac_cv_prog_cxx_g" >&5
2920 > echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2921   echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2922   if test "$ac_test_CXXFLAGS" = set; then
2923    CXXFLAGS=$ac_save_CXXFLAGS
# Line 2101 | Line 2935 | for ac_declaration in \
2935    fi
2936   fi
2937   for ac_declaration in \
2938 <   ''\
2105 <   '#include <stdlib.h>' \
2938 >   '' \
2939     'extern "C" void std::exit (int) throw (); using std::exit;' \
2940     'extern "C" void std::exit (int); using std::exit;' \
2941     'extern "C" void exit (int) throw ();' \
# Line 2110 | Line 2943 | do
2943     'void exit (int);'
2944   do
2945    cat >conftest.$ac_ext <<_ACEOF
2946 < #line 2113 "configure"
2947 < #include "confdefs.h"
2948 < #include <stdlib.h>
2946 > /* confdefs.h.  */
2947 > _ACEOF
2948 > cat confdefs.h >>conftest.$ac_ext
2949 > cat >>conftest.$ac_ext <<_ACEOF
2950 > /* end confdefs.h.  */
2951   $ac_declaration
2952 + #include <stdlib.h>
2953   int
2954   main ()
2955   {
# Line 2123 | Line 2959 | if { (eval echo "$as_me:2126: \"$ac_compile\"") >&5
2959   }
2960   _ACEOF
2961   rm -f conftest.$ac_objext
2962 < if { (eval echo "$as_me:2126: \"$ac_compile\"") >&5
2963 <  (eval $ac_compile) 2>&5
2962 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2963 >  (eval $ac_compile) 2>conftest.er1
2964    ac_status=$?
2965 <  echo "$as_me:2129: \$? = $ac_status" >&5
2965 >  grep -v '^ *+' conftest.er1 >conftest.err
2966 >  rm -f conftest.er1
2967 >  cat conftest.err >&5
2968 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969    (exit $ac_status); } &&
2970 <         { ac_try='test -s conftest.$ac_objext'
2971 <  { (eval echo "$as_me:2132: \"$ac_try\"") >&5
2970 >         { ac_try='test -z "$ac_cxx_werror_flag"
2971 >                         || test ! -s conftest.err'
2972 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2973    (eval $ac_try) 2>&5
2974    ac_status=$?
2975 <  echo "$as_me:2135: \$? = $ac_status" >&5
2975 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976 >  (exit $ac_status); }; } &&
2977 >         { ac_try='test -s conftest.$ac_objext'
2978 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2979 >  (eval $ac_try) 2>&5
2980 >  ac_status=$?
2981 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982    (exit $ac_status); }; }; then
2983    :
2984   else
2985    echo "$as_me: failed program was:" >&5
2986 < cat conftest.$ac_ext >&5
2986 > sed 's/^/| /' conftest.$ac_ext >&5
2987 >
2988   continue
2989   fi
2990 < rm -f conftest.$ac_objext conftest.$ac_ext
2990 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2991    cat >conftest.$ac_ext <<_ACEOF
2992 < #line 2145 "configure"
2993 < #include "confdefs.h"
2992 > /* confdefs.h.  */
2993 > _ACEOF
2994 > cat confdefs.h >>conftest.$ac_ext
2995 > cat >>conftest.$ac_ext <<_ACEOF
2996 > /* end confdefs.h.  */
2997   $ac_declaration
2998   int
2999   main ()
# Line 2154 | Line 3004 | if { (eval echo "$as_me:2157: \"$ac_compile\"") >&5
3004   }
3005   _ACEOF
3006   rm -f conftest.$ac_objext
3007 < if { (eval echo "$as_me:2157: \"$ac_compile\"") >&5
3008 <  (eval $ac_compile) 2>&5
3007 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3008 >  (eval $ac_compile) 2>conftest.er1
3009    ac_status=$?
3010 <  echo "$as_me:2160: \$? = $ac_status" >&5
3010 >  grep -v '^ *+' conftest.er1 >conftest.err
3011 >  rm -f conftest.er1
3012 >  cat conftest.err >&5
3013 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014    (exit $ac_status); } &&
3015 <         { ac_try='test -s conftest.$ac_objext'
3016 <  { (eval echo "$as_me:2163: \"$ac_try\"") >&5
3015 >         { ac_try='test -z "$ac_cxx_werror_flag"
3016 >                         || test ! -s conftest.err'
3017 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3018    (eval $ac_try) 2>&5
3019    ac_status=$?
3020 <  echo "$as_me:2166: \$? = $ac_status" >&5
3020 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 >  (exit $ac_status); }; } &&
3022 >         { ac_try='test -s conftest.$ac_objext'
3023 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3024 >  (eval $ac_try) 2>&5
3025 >  ac_status=$?
3026 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027    (exit $ac_status); }; }; then
3028    break
3029   else
3030    echo "$as_me: failed program was:" >&5
3031 < cat conftest.$ac_ext >&5
3031 > sed 's/^/| /' conftest.$ac_ext >&5
3032 >
3033   fi
3034 < rm -f conftest.$ac_objext conftest.$ac_ext
3034 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3035   done
3036 < echo '#ifdef __cplusplus' >>confdefs.h
3037 < echo $ac_declaration      >>confdefs.h
3038 < echo '#endif'             >>confdefs.h
3036 > rm -f conftest*
3037 > if test -n "$ac_declaration"; then
3038 >  echo '#ifdef __cplusplus' >>confdefs.h
3039 >  echo $ac_declaration      >>confdefs.h
3040 >  echo '#endif'             >>confdefs.h
3041 > fi
3042  
3043   ac_ext=c
3044   ac_cpp='$CPP $CPPFLAGS'
# Line 2182 | Line 3046 | OOPSE_TEMPLATE_FLAGS=""
3046   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3047   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3048  
3049 +
3050   OOPSE_TEMPLATE_FLAGS=""
3051   if test $ac_cv_cxx_compiler_gnu = no; then
3052 <  echo "$as_me:2187: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5
3052 >  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -ptused -no_prelink" >&5
3053   echo $ECHO_N "checking checking whether ${CXX} accepts -ptused -no_prelink... $ECHO_C" >&6
3054    echo 'void f(){}' > conftest.cc
3055    if test -z "`${CXX} -ptused -no_prelink -c conftest.cc 2>&1`"; then
3056 <    echo "$as_me:2191: result: yes" >&5
3056 >    echo "$as_me:$LINENO: result: yes" >&5
3057   echo "${ECHO_T}yes" >&6
3058      OOPSE_TEMPLATE_FLAGS="-ptused -no_prelink"
3059    else
3060 <    echo "$as_me:2195: result: no" >&5
3060 >    echo "$as_me:$LINENO: result: no" >&5
3061   echo "${ECHO_T}no" >&6
3062    fi
3063    rm -f conftest*
3064 <  echo "$as_me:2199: checking checking whether ${CXX} accepts -instances=static" >&5
3064 >  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -instances=static" >&5
3065   echo $ECHO_N "checking checking whether ${CXX} accepts -instances=static... $ECHO_C" >&6
3066    echo 'void f(){}' > conftest.cc
3067    if test -z "`${CXX} -instances=static -c conftest.cc 2>&1`"; then
3068 <    echo "$as_me:2203: result: yes" >&5
3068 >    echo "$as_me:$LINENO: result: yes" >&5
3069   echo "${ECHO_T}yes" >&6
3070      OOPSE_TEMPLATE_FLAGS="-instances=static"
3071    else
3072 <    echo "$as_me:2207: result: no" >&5
3072 >    echo "$as_me:$LINENO: result: no" >&5
3073   echo "${ECHO_T}no" >&6
3074    fi
3075    rm -f conftest*
3076 <  echo "$as_me:2211: checking checking whether ${CXX} accepts -pto" >&5
3076 >  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -pto" >&5
3077   echo $ECHO_N "checking checking whether ${CXX} accepts -pto... $ECHO_C" >&6
3078    echo 'void f(){}' > conftest.cc
3079    if test -z "`${CXX} -pto -c conftest.cc 2>&1`"; then
3080 <    echo "$as_me:2215: result: yes" >&5
3080 >    echo "$as_me:$LINENO: result: yes" >&5
3081   echo "${ECHO_T}yes" >&6
3082      OOPSE_TEMPLATE_FLAGS="-pto"
3083    else
3084 <    echo "$as_me:2219: result: no" >&5
3084 >    echo "$as_me:$LINENO: result: no" >&5
3085   echo "${ECHO_T}no" >&6
3086    fi
3087    rm -f conftest*
3088 <  echo "$as_me:2223: checking checking whether ${CXX} accepts -LANG:std" >&5
3088 >  echo "$as_me:$LINENO: checking checking whether ${CXX} accepts -LANG:std" >&5
3089   echo $ECHO_N "checking checking whether ${CXX} accepts -LANG:std... $ECHO_C" >&6
3090    echo 'void f(){}' > conftest.cc
3091    if test -z "`${CXX} -LANG:std -c conftest.cc 2>&1`"; then
3092 <    echo "$as_me:2227: result: yes" >&5
3092 >    echo "$as_me:$LINENO: result: yes" >&5
3093   echo "${ECHO_T}yes" >&6
3094  
3095 +
3096      EXTRA_CC_FLAG=${EXTRA_CC_FLAG}" -LANG:std"
3097    else
3098 <    echo "$as_me:2232: result: no" >&5
3098 >    echo "$as_me:$LINENO: result: no" >&5
3099   echo "${ECHO_T}no" >&6
3100    fi
3101   fi
3102  
3103 +
3104 +
3105 +
3106   ac_ext=f90
3107   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3108   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 2243 | Line 3112 | echo "$as_me:2246: checking for $ac_word" >&5
3112    do
3113      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3114   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3115 < echo "$as_me:2246: checking for $ac_word" >&5
3115 > echo "$as_me:$LINENO: checking for $ac_word" >&5
3116   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3117   if test "${ac_cv_prog_F90+set}" = set; then
3118    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2251 | Line 3120 | else
3120    if test -n "$F90"; then
3121    ac_cv_prog_F90="$F90" # Let the user override the test.
3122   else
3123 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
3124 < ac_dummy="$PATH"
3125 < for ac_dir in $ac_dummy; do
3126 <  IFS=$ac_save_IFS
3127 <  test -z "$ac_dir" && ac_dir=.
3128 <  $as_executable_p "$ac_dir/$ac_word" || continue
3129 < ac_cv_prog_F90="$ac_tool_prefix$ac_prog"
3130 < echo "$as_me:2261: found $ac_dir/$ac_word" >&5
3131 < break
3123 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3124 > for as_dir in $PATH
3125 > do
3126 >  IFS=$as_save_IFS
3127 >  test -z "$as_dir" && as_dir=.
3128 >  for ac_exec_ext in '' $ac_executable_extensions; do
3129 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3130 >    ac_cv_prog_F90="$ac_tool_prefix$ac_prog"
3131 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3132 >    break 2
3133 >  fi
3134   done
3135 + done
3136  
3137   fi
3138   fi
3139   F90=$ac_cv_prog_F90
3140   if test -n "$F90"; then
3141 <  echo "$as_me:2269: result: $F90" >&5
3141 >  echo "$as_me:$LINENO: result: $F90" >&5
3142   echo "${ECHO_T}$F90" >&6
3143   else
3144 <  echo "$as_me:2272: result: no" >&5
3144 >  echo "$as_me:$LINENO: result: no" >&5
3145   echo "${ECHO_T}no" >&6
3146   fi
3147  
# Line 2282 | Line 3154 | echo "$as_me:2285: checking for $ac_word" >&5
3154   do
3155    # Extract the first word of "$ac_prog", so it can be a program name with args.
3156   set dummy $ac_prog; ac_word=$2
3157 < echo "$as_me:2285: checking for $ac_word" >&5
3157 > echo "$as_me:$LINENO: checking for $ac_word" >&5
3158   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3159   if test "${ac_cv_prog_ac_ct_F90+set}" = set; then
3160    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2290 | Line 3162 | else
3162    if test -n "$ac_ct_F90"; then
3163    ac_cv_prog_ac_ct_F90="$ac_ct_F90" # Let the user override the test.
3164   else
3165 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
3166 < ac_dummy="$PATH"
3167 < for ac_dir in $ac_dummy; do
3168 <  IFS=$ac_save_IFS
3169 <  test -z "$ac_dir" && ac_dir=.
3170 <  $as_executable_p "$ac_dir/$ac_word" || continue
3171 < ac_cv_prog_ac_ct_F90="$ac_prog"
3172 < echo "$as_me:2300: found $ac_dir/$ac_word" >&5
3173 < break
3165 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3166 > for as_dir in $PATH
3167 > do
3168 >  IFS=$as_save_IFS
3169 >  test -z "$as_dir" && as_dir=.
3170 >  for ac_exec_ext in '' $ac_executable_extensions; do
3171 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3172 >    ac_cv_prog_ac_ct_F90="$ac_prog"
3173 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3174 >    break 2
3175 >  fi
3176   done
3177 + done
3178  
3179   fi
3180   fi
3181   ac_ct_F90=$ac_cv_prog_ac_ct_F90
3182   if test -n "$ac_ct_F90"; then
3183 <  echo "$as_me:2308: result: $ac_ct_F90" >&5
3183 >  echo "$as_me:$LINENO: result: $ac_ct_F90" >&5
3184   echo "${ECHO_T}$ac_ct_F90" >&6
3185   else
3186 <  echo "$as_me:2311: result: no" >&5
3186 >  echo "$as_me:$LINENO: result: no" >&5
3187   echo "${ECHO_T}no" >&6
3188   fi
3189  
# Line 2318 | Line 3193 | fi
3193    F90=$ac_ct_F90
3194   fi
3195  
3196 +
3197   # If we don't use `.F90' as extension, the preprocessor is not run on the
3198   # input file.
3199   ac_save_ext=$ac_ext
3200   ac_ext=F90
3201 < echo "$as_me:2325: checking whether we are using the GNU Fortran 90 compiler" >&5
3201 > echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 90 compiler" >&5
3202   echo $ECHO_N "checking whether we are using the GNU Fortran 90 compiler... $ECHO_C" >&6
3203   if test "${ac_cv_f90_compiler_gnu+set}" = set; then
3204    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2339 | Line 3215 | if { (eval echo "$as_me:2342: \"$ac_compile\"") >&5
3215  
3216   _ACEOF
3217   rm -f conftest.$ac_objext
3218 < if { (eval echo "$as_me:2342: \"$ac_compile\"") >&5
3219 <  (eval $ac_compile) 2>&5
3218 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3219 >  (eval $ac_compile) 2>conftest.er1
3220    ac_status=$?
3221 <  echo "$as_me:2345: \$? = $ac_status" >&5
3221 >  grep -v '^ *+' conftest.er1 >conftest.err
3222 >  rm -f conftest.er1
3223 >  cat conftest.err >&5
3224 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225    (exit $ac_status); } &&
3226 <         { ac_try='test -s conftest.$ac_objext'
3227 <  { (eval echo "$as_me:2348: \"$ac_try\"") >&5
3226 >         { ac_try='test -z "$ac_f90_werror_flag"
3227 >                         || test ! -s conftest.err'
3228 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3229    (eval $ac_try) 2>&5
3230    ac_status=$?
3231 <  echo "$as_me:2351: \$? = $ac_status" >&5
3231 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232 >  (exit $ac_status); }; } &&
3233 >         { ac_try='test -s conftest.$ac_objext'
3234 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3235 >  (eval $ac_try) 2>&5
3236 >  ac_status=$?
3237 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238    (exit $ac_status); }; }; then
3239    ac_compiler_gnu=yes
3240   else
3241    echo "$as_me: failed program was:" >&5
3242 < cat conftest.$ac_ext >&5
3242 > sed 's/^/| /' conftest.$ac_ext >&5
3243 >
3244   ac_compiler_gnu=no
3245   fi
3246 < rm -f conftest.$ac_objext conftest.$ac_ext
3246 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3247   ac_cv_f90_compiler_gnu=$ac_compiler_gnu
3248  
3249   fi
3250 < echo "$as_me:2363: result: $ac_cv_f90_compiler_gnu" >&5
3250 > echo "$as_me:$LINENO: result: $ac_cv_f90_compiler_gnu" >&5
3251   echo "${ECHO_T}$ac_cv_f90_compiler_gnu" >&6
3252   ac_ext=$ac_save_ext
3253   G95=`test $ac_compiler_gnu = yes && echo yes`
# Line 2370 | Line 3257 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3257   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3258   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3259  
3260 +
3261 +
3262 +
3263 +
3264   # Try to determine native compiler flags that allow us to use F90 suffix
3265   # for preprocessed f90 source.
3266  
# Line 2390 | Line 3281 | if test "$ac_test_PREPFLAG" != "set"; then
3281    esac
3282  
3283    if test -z "$PREPFLAG"; then
3284 <        { echo "$as_me:2393: WARNING: \"Using empty PREPFLAG\"" >&5
3284 >        { echo "$as_me:$LINENO: WARNING: \"Using empty PREPFLAG\"" >&5
3285   echo "$as_me: WARNING: \"Using empty PREPFLAG\"" >&2;}
3286          PREPFLAG=""
3287    fi
3288  
3289 <  echo "$as_me:2398: checking to make sure F90 preprocessor flag works" >&5
3289 >  echo "$as_me:$LINENO: checking to make sure F90 preprocessor flag works" >&5
3290   echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6
3291  
3292 +
3293    ac_ext=f90
3294   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3295   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 2413 | Line 3305 | program main
3305  
3306      cat >conftest.$ac_ext <<_ACEOF
3307  
3308 +
3309   program main
3310  
3311    integer :: i
3312    i = 1
3313  
3314 +
3315   end program main
3316  
3317   _ACEOF
3318   rm -f conftest.$ac_objext
3319 < if { (eval echo "$as_me:2425: \"$ac_compile\"") >&5
3320 <  (eval $ac_compile) 2>&5
3319 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3320 >  (eval $ac_compile) 2>conftest.er1
3321    ac_status=$?
3322 <  echo "$as_me:2428: \$? = $ac_status" >&5
3322 >  grep -v '^ *+' conftest.er1 >conftest.err
3323 >  rm -f conftest.er1
3324 >  cat conftest.err >&5
3325 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326    (exit $ac_status); } &&
3327 <         { ac_try='test -s conftest.$ac_objext'
3328 <  { (eval echo "$as_me:2431: \"$ac_try\"") >&5
3327 >         { ac_try='test -z "$ac_f90_werror_flag"
3328 >                         || test ! -s conftest.err'
3329 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3330    (eval $ac_try) 2>&5
3331    ac_status=$?
3332 <  echo "$as_me:2434: \$? = $ac_status" >&5
3332 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3333 >  (exit $ac_status); }; } &&
3334 >         { ac_try='test -s conftest.$ac_objext'
3335 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3336 >  (eval $ac_try) 2>&5
3337 >  ac_status=$?
3338 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339    (exit $ac_status); }; }; then
3340    prepflagworks=1
3341   else
3342    echo "$as_me: failed program was:" >&5
3343 < cat conftest.$ac_ext >&5
3343 > sed 's/^/| /' conftest.$ac_ext >&5
3344 >
3345   prepflagworks=0
3346   fi
3347 < rm -f conftest.$ac_objext conftest.$ac_ext
3347 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3348  
3349    F90FLAGS=$ac_save_F90FLAGS
3350    ac_ext=$ac_save_ext
# Line 2449 | Line 3354 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3354   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3355   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3356  
3357 +
3358    if test "$prepflagworks" = 1; then
3359 <    echo "$as_me:2453: result: yes" >&5
3359 >    echo "$as_me:$LINENO: result: yes" >&5
3360   echo "${ECHO_T}yes" >&6
3361  
3362    else
3363 <    echo "$as_me:2457: result: no" >&5
3363 >    echo "$as_me:$LINENO: result: no" >&5
3364   echo "${ECHO_T}no" >&6
3365 <    { { echo "$as_me:2459: error: Can't figure out working Fortran90 preprocessor flag" >&5
3365 >    { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor flag" >&5
3366   echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;}
3367     { (exit 1); exit 1; }; }
3368    fi
3369   fi
3370  
3371 +
3372 +
3373 +
3374 +
3375   # Try to determine native compiler flags that allow us to use F90 suffix
3376   # for preprocessed f90 source with -D type defines
3377  
# Line 2482 | Line 3392 | if test "$ac_test_PREPDEFFLAG" != "set"; then
3392    esac
3393  
3394    if test -z "$PREPDEFFLAG"; then
3395 <        { echo "$as_me:2485: WARNING: \"Using empty PREPDEFFLAG\"" >&5
3395 >        { echo "$as_me:$LINENO: WARNING: \"Using empty PREPDEFFLAG\"" >&5
3396   echo "$as_me: WARNING: \"Using empty PREPDEFFLAG\"" >&2;}
3397          PREPDEFFLAG=" "
3398    fi
3399  
3400 <  echo "$as_me:2490: checking to make sure F90 preprocessor define flag works" >&5
3400 >  echo "$as_me:$LINENO: checking to make sure F90 preprocessor define flag works" >&5
3401   echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6
3402  
3403 +
3404    ac_ext=f90
3405   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3406   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 2505 | Line 3416 | program main
3416  
3417      cat >conftest.$ac_ext <<_ACEOF
3418  
3419 +
3420   program main
3421  
3422    integer :: i
# Line 2514 | Line 3426 | end program main
3426    choke me
3427   #endif
3428  
3429 +
3430   end program main
3431  
3432   _ACEOF
3433   rm -f conftest.$ac_objext
3434 < if { (eval echo "$as_me:2521: \"$ac_compile\"") >&5
3435 <  (eval $ac_compile) 2>&5
3434 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3435 >  (eval $ac_compile) 2>conftest.er1
3436    ac_status=$?
3437 <  echo "$as_me:2524: \$? = $ac_status" >&5
3437 >  grep -v '^ *+' conftest.er1 >conftest.err
3438 >  rm -f conftest.er1
3439 >  cat conftest.err >&5
3440 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441    (exit $ac_status); } &&
3442 <         { ac_try='test -s conftest.$ac_objext'
3443 <  { (eval echo "$as_me:2527: \"$ac_try\"") >&5
3442 >         { ac_try='test -z "$ac_f90_werror_flag"
3443 >                         || test ! -s conftest.err'
3444 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3445    (eval $ac_try) 2>&5
3446    ac_status=$?
3447 <  echo "$as_me:2530: \$? = $ac_status" >&5
3447 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448 >  (exit $ac_status); }; } &&
3449 >         { ac_try='test -s conftest.$ac_objext'
3450 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3451 >  (eval $ac_try) 2>&5
3452 >  ac_status=$?
3453 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454    (exit $ac_status); }; }; then
3455    prepdefflagworks=1
3456   else
3457    echo "$as_me: failed program was:" >&5
3458 < cat conftest.$ac_ext >&5
3458 > sed 's/^/| /' conftest.$ac_ext >&5
3459 >
3460   prepdefflagworks=0
3461   fi
3462 < rm -f conftest.$ac_objext conftest.$ac_ext
3462 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3463  
3464    F90FLAGS=$ac_save_F90FLAGS
3465    ac_ext=$ac_save_ext
# Line 2545 | Line 3469 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3469   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3470   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3471  
3472 +
3473 +
3474    if test "$prepdefflagworks" = 1; then
3475 <    echo "$as_me:2549: result: yes" >&5
3475 >    echo "$as_me:$LINENO: result: yes" >&5
3476   echo "${ECHO_T}yes" >&6
3477  
3478    else
3479 <    echo "$as_me:2553: result: no" >&5
3479 >    echo "$as_me:$LINENO: result: no" >&5
3480   echo "${ECHO_T}no" >&6
3481 <    { { echo "$as_me:2555: error: Can't figure out working Fortran90 preprocessor define flag" >&5
3481 >    { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor define flag" >&5
3482   echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;}
3483     { (exit 1); exit 1; }; }
3484    fi
# Line 2563 | Line 3489 | ac_ext=f90
3489   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3490   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3491  
3492 +
3493 +
3494   ac_ext=f90
3495   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
3496   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3497   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3498 < echo "$as_me:2570: checking how to get verbose linking output from $F90" >&5
3498 > echo "$as_me:$LINENO: checking how to get verbose linking output from $F90" >&5
3499   echo $ECHO_N "checking how to get verbose linking output from $F90... $ECHO_C" >&6
3500   if test "${ac_cv_prog_f90_v+set}" = set; then
3501    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2577 | Line 3505 | end program main
3505  
3506   program main
3507  
3508 +
3509   end program main
3510  
3511   _ACEOF
3512   rm -f conftest.$ac_objext
3513 < if { (eval echo "$as_me:2584: \"$ac_compile\"") >&5
3514 <  (eval $ac_compile) 2>&5
3513 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3514 >  (eval $ac_compile) 2>conftest.er1
3515    ac_status=$?
3516 <  echo "$as_me:2587: \$? = $ac_status" >&5
3516 >  grep -v '^ *+' conftest.er1 >conftest.err
3517 >  rm -f conftest.er1
3518 >  cat conftest.err >&5
3519 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520    (exit $ac_status); } &&
3521 <         { ac_try='test -s conftest.$ac_objext'
3522 <  { (eval echo "$as_me:2590: \"$ac_try\"") >&5
3521 >         { ac_try='test -z "$ac_f90_werror_flag"
3522 >                         || test ! -s conftest.err'
3523 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3524    (eval $ac_try) 2>&5
3525    ac_status=$?
3526 <  echo "$as_me:2593: \$? = $ac_status" >&5
3526 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527 >  (exit $ac_status); }; } &&
3528 >         { ac_try='test -s conftest.$ac_objext'
3529 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3530 >  (eval $ac_try) 2>&5
3531 >  ac_status=$?
3532 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3533    (exit $ac_status); }; }; then
3534    ac_cv_prog_f90_v=
3535   # Try some options frequently used verbose output
# Line 2604 | Line 3543 | end program main
3543  
3544   program main
3545  
3546 +
3547   end program main
3548  
3549   _ACEOF
# Line 2615 | Line 3555 | F90FLAGS="$F90FLAGS $ac_verb"
3555   ac_save_F90FLAGS=$F90FLAGS
3556   F90FLAGS="$F90FLAGS $ac_verb"
3557  
3558 < (eval echo $as_me:2618: \"$ac_link\") >&5
3558 > (eval echo $as_me:3558: \"$ac_link\") >&5
3559   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3560   echo "$ac_f90_v_output" >&5
3561   F90FLAGS=$ac_save_F90FLAGS
# Line 2647 | Line 3587 | if test -z "$ac_cv_prog_f90_v"; then
3587    done
3588   done
3589   if test -z "$ac_cv_prog_f90_v"; then
3590 <   { echo "$as_me:2650: WARNING: cannot determine how to obtain linking information from $F90" >&5
3590 >   { echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $F90" >&5
3591   echo "$as_me: WARNING: cannot determine how to obtain linking information from $F90" >&2;}
3592   fi
3593   else
3594    echo "$as_me: failed program was:" >&5
3595 < cat conftest.$ac_ext >&5
3596 < { echo "$as_me:2656: WARNING: compilation failed" >&5
3595 > sed 's/^/| /' conftest.$ac_ext >&5
3596 >
3597 > { echo "$as_me:$LINENO: WARNING: compilation failed" >&5
3598   echo "$as_me: WARNING: compilation failed" >&2;}
3599   fi
3600 < rm -f conftest.$ac_objext conftest.$ac_ext
3600 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3601  
3602   fi
3603 < echo "$as_me:2662: result: $ac_cv_prog_f90_v" >&5
3603 > echo "$as_me:$LINENO: result: $ac_cv_prog_f90_v" >&5
3604   echo "${ECHO_T}$ac_cv_prog_f90_v" >&6
3605 < echo "$as_me:2664: checking for Fortran 90 libraries" >&5
3605 > echo "$as_me:$LINENO: checking for Fortran 90 libraries" >&5
3606   echo $ECHO_N "checking for Fortran 90 libraries... $ECHO_C" >&6
3607   if test "${ac_cv_flibs+set}" = set; then
3608    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2679 | Line 3620 | end program main
3620  
3621   program main
3622  
3623 +
3624   end program main
3625  
3626   _ACEOF
# Line 2690 | Line 3632 | F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3632   ac_save_F90FLAGS=$F90FLAGS
3633   F90FLAGS="$F90FLAGS $ac_cv_prog_f90_v"
3634  
3635 < (eval echo $as_me:2693: \"$ac_link\") >&5
3635 > (eval echo $as_me:3635: \"$ac_link\") >&5
3636   ac_f90_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
3637   echo "$ac_f90_v_output" >&5
3638   F90FLAGS=$ac_save_F90FLAGS
# Line 2843 | Line 3785 | echo "$as_me:2846: result: $ac_cv_flibs" >&5
3785   fi # test "x$F90LIBS" = "x"
3786  
3787   fi
3788 < echo "$as_me:2846: result: $ac_cv_flibs" >&5
3788 > echo "$as_me:$LINENO: result: $ac_cv_flibs" >&5
3789   echo "${ECHO_T}$ac_cv_flibs" >&6
3790   F90LIBS="$ac_cv_f90libs"
3791  
# Line 2852 | Line 3794 | echo "$as_me:2855: checking for Fortran 90 name-mangli
3794   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3795   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
3796  
3797 < echo "$as_me:2855: checking for Fortran 90 name-mangling scheme" >&5
3797 >
3798 > echo "$as_me:$LINENO: checking for Fortran 90 name-mangling scheme" >&5
3799   echo $ECHO_N "checking for Fortran 90 name-mangling scheme... $ECHO_C" >&6
3800   if test "${ac_cv_f90_mangling+set}" = set; then
3801    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 2870 | Line 3813 | if { (eval echo "$as_me:2873: \"$ac_compile\"") >&5
3813   end
3814   _ACEOF
3815   rm -f conftest.$ac_objext
3816 < if { (eval echo "$as_me:2873: \"$ac_compile\"") >&5
3817 <  (eval $ac_compile) 2>&5
3816 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3817 >  (eval $ac_compile) 2>conftest.er1
3818    ac_status=$?
3819 <  echo "$as_me:2876: \$? = $ac_status" >&5
3819 >  grep -v '^ *+' conftest.er1 >conftest.err
3820 >  rm -f conftest.er1
3821 >  cat conftest.err >&5
3822 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823    (exit $ac_status); } &&
3824 <         { ac_try='test -s conftest.$ac_objext'
3825 <  { (eval echo "$as_me:2879: \"$ac_try\"") >&5
3824 >         { ac_try='test -z "$ac_f90_werror_flag"
3825 >                         || test ! -s conftest.err'
3826 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3827    (eval $ac_try) 2>&5
3828    ac_status=$?
3829 <  echo "$as_me:2882: \$? = $ac_status" >&5
3829 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3830 >  (exit $ac_status); }; } &&
3831 >         { ac_try='test -s conftest.$ac_objext'
3832 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3833 >  (eval $ac_try) 2>&5
3834 >  ac_status=$?
3835 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3836    (exit $ac_status); }; }; then
3837    mv conftest.$ac_objext cf90_test.$ac_objext
3838  
# Line 2897 | Line 3850 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
3850      for ac_underscore in "" "_"; do
3851        ac_func="$ac_foobar$ac_underscore"
3852        cat >conftest.$ac_ext <<_ACEOF
3853 < #line 2900 "configure"
3854 < #include "confdefs.h"
3853 > /* confdefs.h.  */
3854 > _ACEOF
3855 > cat confdefs.h >>conftest.$ac_ext
3856 > cat >>conftest.$ac_ext <<_ACEOF
3857 > /* end confdefs.h.  */
3858  
3859   /* Override any gcc2 internal prototype to avoid an error.  */
3860   #ifdef __cplusplus
# Line 2916 | Line 3872 | if { (eval echo "$as_me:2919: \"$ac_link\"") >&5
3872   }
3873   _ACEOF
3874   rm -f conftest.$ac_objext conftest$ac_exeext
3875 < if { (eval echo "$as_me:2919: \"$ac_link\"") >&5
3876 <  (eval $ac_link) 2>&5
3875 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3876 >  (eval $ac_link) 2>conftest.er1
3877    ac_status=$?
3878 <  echo "$as_me:2922: \$? = $ac_status" >&5
3878 >  grep -v '^ *+' conftest.er1 >conftest.err
3879 >  rm -f conftest.er1
3880 >  cat conftest.err >&5
3881 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882    (exit $ac_status); } &&
3883 <         { ac_try='test -s conftest$ac_exeext'
3884 <  { (eval echo "$as_me:2925: \"$ac_try\"") >&5
3883 >         { ac_try='test -z "$ac_c_werror_flag"
3884 >                         || test ! -s conftest.err'
3885 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3886    (eval $ac_try) 2>&5
3887    ac_status=$?
3888 <  echo "$as_me:2928: \$? = $ac_status" >&5
3888 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3889 >  (exit $ac_status); }; } &&
3890 >         { ac_try='test -s conftest$ac_exeext'
3891 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3892 >  (eval $ac_try) 2>&5
3893 >  ac_status=$?
3894 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895    (exit $ac_status); }; }; then
3896    ac_success=yes; break 2
3897   else
3898    echo "$as_me: failed program was:" >&5
3899 < cat conftest.$ac_ext >&5
3899 > sed 's/^/| /' conftest.$ac_ext >&5
3900 >
3901   fi
3902 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3902 > rm -f conftest.err conftest.$ac_objext \
3903 >      conftest$ac_exeext conftest.$ac_ext
3904      done
3905    done
3906  
# Line 2953 | Line 3921 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.
3921          ac_func="$ac_foo_bar$ac_underscore$ac_extra"
3922  
3923          cat >conftest.$ac_ext <<_ACEOF
3924 < #line 2956 "configure"
3925 < #include "confdefs.h"
3924 > /* confdefs.h.  */
3925 > _ACEOF
3926 > cat confdefs.h >>conftest.$ac_ext
3927 > cat >>conftest.$ac_ext <<_ACEOF
3928 > /* end confdefs.h.  */
3929  
3930   /* Override any gcc2 internal prototype to avoid an error.  */
3931   #ifdef __cplusplus
# Line 2972 | Line 3943 | if { (eval echo "$as_me:2975: \"$ac_link\"") >&5
3943   }
3944   _ACEOF
3945   rm -f conftest.$ac_objext conftest$ac_exeext
3946 < if { (eval echo "$as_me:2975: \"$ac_link\"") >&5
3947 <  (eval $ac_link) 2>&5
3946 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3947 >  (eval $ac_link) 2>conftest.er1
3948    ac_status=$?
3949 <  echo "$as_me:2978: \$? = $ac_status" >&5
3949 >  grep -v '^ *+' conftest.er1 >conftest.err
3950 >  rm -f conftest.er1
3951 >  cat conftest.err >&5
3952 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3953    (exit $ac_status); } &&
3954 <         { ac_try='test -s conftest$ac_exeext'
3955 <  { (eval echo "$as_me:2981: \"$ac_try\"") >&5
3954 >         { ac_try='test -z "$ac_c_werror_flag"
3955 >                         || test ! -s conftest.err'
3956 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3957    (eval $ac_try) 2>&5
3958    ac_status=$?
3959 <  echo "$as_me:2984: \$? = $ac_status" >&5
3959 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3960 >  (exit $ac_status); }; } &&
3961 >         { ac_try='test -s conftest$ac_exeext'
3962 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3963 >  (eval $ac_try) 2>&5
3964 >  ac_status=$?
3965 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966    (exit $ac_status); }; }; then
3967    ac_success_extra=yes; break
3968   else
3969    echo "$as_me: failed program was:" >&5
3970 < cat conftest.$ac_ext >&5
3970 > sed 's/^/| /' conftest.$ac_ext >&5
3971 >
3972   fi
3973 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3973 > rm -f conftest.err conftest.$ac_objext \
3974 >      conftest$ac_exeext conftest.$ac_ext
3975       done
3976  
3977       if test "$ac_success_extra" = "yes"; then
# Line 3020 | Line 4003 | cat conftest.$ac_ext >&5
4003    rm -f cf90_test* conftest*
4004   else
4005    echo "$as_me: failed program was:" >&5
4006 < cat conftest.$ac_ext >&5
4006 > sed 's/^/| /' conftest.$ac_ext >&5
4007 >
4008   fi
4009 < rm -f conftest.$ac_objext conftest.$ac_ext
4009 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4010   ac_ext=f90
4011   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
4012   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4013   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4014  
4015   fi
4016 < echo "$as_me:3032: result: $ac_cv_f90_mangling" >&5
4016 > echo "$as_me:$LINENO: result: $ac_cv_f90_mangling" >&5
4017   echo "${ECHO_T}$ac_cv_f90_mangling" >&6
4018  
4019 +
4020 +
4021   case $ac_cv_f90_mangling in
4022    "lower case, no underscore, no extra underscore")
4023 <          cat >>confdefs.h <<\EOF
4023 >          cat >>confdefs.h <<\_ACEOF
4024   #define F90_FUNC(name,NAME) name
4025 < EOF
4025 > _ACEOF
4026  
4027 <          cat >>confdefs.h <<\EOF
4027 >          cat >>confdefs.h <<\_ACEOF
4028   #define F90_FUNC_(name,NAME) name
4029 < EOF
4029 > _ACEOF
4030   ;;
4031    "lower case, no underscore, extra underscore")
4032 <          cat >>confdefs.h <<\EOF
4032 >          cat >>confdefs.h <<\_ACEOF
4033   #define F90_FUNC(name,NAME) name
4034 < EOF
4034 > _ACEOF
4035  
4036 <          cat >>confdefs.h <<\EOF
4036 >          cat >>confdefs.h <<\_ACEOF
4037   #define F90_FUNC_(name,NAME) name ## _
4038 < EOF
4038 > _ACEOF
4039   ;;
4040    "lower case, underscore, no extra underscore")
4041 <          cat >>confdefs.h <<\EOF
4041 >          cat >>confdefs.h <<\_ACEOF
4042   #define F90_FUNC(name,NAME) name ## _
4043 < EOF
4043 > _ACEOF
4044  
4045 <          cat >>confdefs.h <<\EOF
4045 >          cat >>confdefs.h <<\_ACEOF
4046   #define F90_FUNC_(name,NAME) name ## _
4047 < EOF
4047 > _ACEOF
4048   ;;
4049    "lower case, underscore, extra underscore")
4050 <          cat >>confdefs.h <<\EOF
4050 >          cat >>confdefs.h <<\_ACEOF
4051   #define F90_FUNC(name,NAME) name ## _
4052 < EOF
4052 > _ACEOF
4053  
4054 <          cat >>confdefs.h <<\EOF
4054 >          cat >>confdefs.h <<\_ACEOF
4055   #define F90_FUNC_(name,NAME) name ## __
4056 < EOF
4056 > _ACEOF
4057   ;;
4058    "upper case, no underscore, no extra underscore")
4059 <          cat >>confdefs.h <<\EOF
4059 >          cat >>confdefs.h <<\_ACEOF
4060   #define F90_FUNC(name,NAME) NAME
4061 < EOF
4061 > _ACEOF
4062  
4063 <          cat >>confdefs.h <<\EOF
4063 >          cat >>confdefs.h <<\_ACEOF
4064   #define F90_FUNC_(name,NAME) NAME
4065 < EOF
4065 > _ACEOF
4066   ;;
4067    "upper case, no underscore, extra underscore")
4068 <          cat >>confdefs.h <<\EOF
4068 >          cat >>confdefs.h <<\_ACEOF
4069   #define F90_FUNC(name,NAME) NAME
4070 < EOF
4070 > _ACEOF
4071  
4072 <          cat >>confdefs.h <<\EOF
4072 >          cat >>confdefs.h <<\_ACEOF
4073   #define F90_FUNC_(name,NAME) NAME ## _
4074 < EOF
4074 > _ACEOF
4075   ;;
4076    "upper case, underscore, no extra underscore")
4077 <          cat >>confdefs.h <<\EOF
4077 >          cat >>confdefs.h <<\_ACEOF
4078   #define F90_FUNC(name,NAME) NAME ## _
4079 < EOF
4079 > _ACEOF
4080  
4081 <          cat >>confdefs.h <<\EOF
4081 >          cat >>confdefs.h <<\_ACEOF
4082   #define F90_FUNC_(name,NAME) NAME ## _
4083 < EOF
4083 > _ACEOF
4084   ;;
4085    "upper case, underscore, extra underscore")
4086 <          cat >>confdefs.h <<\EOF
4086 >          cat >>confdefs.h <<\_ACEOF
4087   #define F90_FUNC(name,NAME) NAME ## _
4088 < EOF
4088 > _ACEOF
4089  
4090 <          cat >>confdefs.h <<\EOF
4090 >          cat >>confdefs.h <<\_ACEOF
4091   #define F90_FUNC_(name,NAME) NAME ## __
4092 < EOF
4092 > _ACEOF
4093   ;;
4094    *)
4095 <          { echo "$as_me:3109: WARNING: unknown Fortran 90 name-mangling scheme" >&5
4095 >          { echo "$as_me:$LINENO: WARNING: unknown Fortran 90 name-mangling scheme" >&5
4096   echo "$as_me: WARNING: unknown Fortran 90 name-mangling scheme" >&2;}
4097            ;;
4098   esac
4099  
4100 < echo "$as_me:3114: checking for module suffix" >&5
4100 >
4101 >
4102 >
4103 >
4104 > echo "$as_me:$LINENO: checking for module suffix" >&5
4105   echo $ECHO_N "checking for module suffix... $ECHO_C" >&6
4106   rm -f conftest*
4107   # Intel ifc compiler generates files by the name of work.pc and work.pcl (!)
# Line 3138 | Line 4128 | if $F90 -c conftest.f90 > conftest.out 2>&1 ; then
4128          fi
4129      fi
4130      if test -z "$MOD" ; then
4131 <        echo "$as_me:3141: result: unknown" >&5
4131 >        echo "$as_me:$LINENO: result: unknown" >&5
4132   echo "${ECHO_T}unknown" >&6
4133          # Use mod if we can't figure it out
4134          MOD="mod"
4135      else
4136 <        echo "$as_me:3146: result: $MOD" >&5
4136 >        echo "$as_me:$LINENO: result: $MOD" >&5
4137   echo "${ECHO_T}$MOD" >&6
4138      fi
4139      if test -s work.pcl ; then
4140 <        { echo "$as_me:3150: WARNING: Compiler generates auxillery files!" >&5
4140 >        { echo "$as_me:$LINENO: WARNING: Compiler generates auxillery files!" >&5
4141   echo "$as_me: WARNING: Compiler generates auxillery files!" >&2;}
4142      fi
4143   else
4144 <    echo "$as_me:3154: result: unknown" >&5
4144 >    echo "$as_me:$LINENO: result: unknown" >&5
4145   echo "${ECHO_T}unknown" >&6
4146   fi
4147  
4148 +
4149 +
4150 +
4151 +
4152   # Check for module include path (some use -I, some (Solaris) use -M, some
4153   # (absoft) use -p).
4154   # Intel compilers use a wierd system: -cl,filename.pcl .  If no file is
4155   # specified, work.pcl and work.pc are created.  However, if you specify
4156   # a file, it must contain a the name of a file ending in .pc .  Ugh!
4157   # Use the module made above
4158 < echo "$as_me:3164: checking for module directory path flag" >&5
4158 > echo "$as_me:$LINENO: checking for module directory path flag" >&5
4159   echo $ECHO_N "checking for module directory path flag... $ECHO_C" >&6
4160   rm -f conftest*
4161   # Intel ifc compiler generates files by the name of work.pc and work.pcl (!)
# Line 3195 | Line 4189 | EOF
4189     if $F90 -c -Iconf conftest1.f90 > conftest.out 2>&1 ; then
4190         MODDIRFLAG="-I"
4191         F90MODINCSPEC="-I<dir>"
4192 <       echo "$as_me:3198: result: -I" >&5
4192 >       echo "$as_me:$LINENO: result: -I" >&5
4193   echo "${ECHO_T}-I" >&6
4194     elif $F90 -c -Mconf conftest1.f90 >> conftest.out 2>&1 ; then
4195         MODDIRFLAG="-M"
4196         F90MODINCSPEC="-M<dir>"
4197 <       echo "$as_me:3203: result: -M" >&5
4197 >       echo "$as_me:$LINENO: result: -M" >&5
4198   echo "${ECHO_T}-M" >&6
4199     elif $F90 -c -pconf conftest1.f90 >> conftest.out 2>&1 ; then
4200         MODDIRFLAG="-p"
4201         F90MODINCSPEC="-p<dir>"
4202 <       echo "$as_me:3208: result: -p" >&5
4202 >       echo "$as_me:$LINENO: result: -p" >&5
4203   echo "${ECHO_T}-p" >&6
4204     elif test -s work.pc ; then
4205          cp work.pc conf/mpimod.pc
# Line 3213 | Line 4207 | echo "${ECHO_T}-p" >&6
4207          echo "`pwd`/conf/mpimod.pc" >> conf/mpimod.pcl
4208          if $F90 -c -cl,conf/mpimod.pcl conftest1.f >>conftest.out 2>&1 ; then
4209              MODDIRFLAG='-cl,mpimod.pcl'
4210 <            echo "$as_me:3216: result: -cl,filename where filename contains a list of files and directories" >&5
4210 >            echo "$as_me:$LINENO: result: -cl,filename where filename contains a list of files and directories" >&5
4211   echo "${ECHO_T}-cl,filename where filename contains a list of files and directories" >&6
4212              F90_WORK_FILES_ARG="-cl,mpimod.pcl"
4213              F90MODINCSPEC="-cl,<dir>/<file>mod.pcl"
# Line 3226 | Line 4220 | echo "${ECHO_T}-cl,filename where filename contains a
4220          fi
4221     fi
4222     if test -z "MODDIRFLAG" ; then
4223 <       echo "$as_me:3229: result: unknown" >&5
4223 >       echo "$as_me:$LINENO: result: unknown" >&5
4224   echo "${ECHO_T}unknown" >&6
4225     fi
4226  
4227 +
4228     rm -f conftest* conf/conftest* conf/CONFTEST* CONFTEST* conf/mpimod*
4229     if test $madedir = 1 ; then rmdir conf ; fi
4230   fi
4231  
4232 < echo "$as_me:3237: checking for Fortran 90 module file names" >&5
4232 >
4233 > echo "$as_me:$LINENO: checking for Fortran 90 module file names" >&5
4234   echo $ECHO_N "checking for Fortran 90 module file names... $ECHO_C" >&6
4235   if test "${ac_cv_f90_module_names+set}" = set; then
4236    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 3252 | Line 4248 | if { (eval echo "$as_me:3255: \"$ac_compile\"") >&5
4248   END MODULE Bar
4249   _ACEOF
4250   rm -f conftest.$ac_objext
4251 < if { (eval echo "$as_me:3255: \"$ac_compile\"") >&5
4252 <  (eval $ac_compile) 2>&5
4251 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4252 >  (eval $ac_compile) 2>conftest.er1
4253    ac_status=$?
4254 <  echo "$as_me:3258: \$? = $ac_status" >&5
4254 >  grep -v '^ *+' conftest.er1 >conftest.err
4255 >  rm -f conftest.er1
4256 >  cat conftest.err >&5
4257 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4258    (exit $ac_status); } &&
4259 <         { ac_try='test -s conftest.$ac_objext'
4260 <  { (eval echo "$as_me:3261: \"$ac_try\"") >&5
4259 >         { ac_try='test -z "$ac_f90_werror_flag"
4260 >                         || test ! -s conftest.err'
4261 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4262    (eval $ac_try) 2>&5
4263    ac_status=$?
4264 <  echo "$as_me:3264: \$? = $ac_status" >&5
4264 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4265 >  (exit $ac_status); }; } &&
4266 >         { ac_try='test -s conftest.$ac_objext'
4267 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4268 >  (eval $ac_try) 2>&5
4269 >  ac_status=$?
4270 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271    (exit $ac_status); }; }; then
4272    ac_cv_f90_module_names=
4273   ac_file_list=*
# Line 3344 | Line 4350 | fi
4350            ;;
4351         # Other files - we have no idea how they are generated
4352         *)
4353 <          { echo "$as_me:3347: WARNING: Bogus file found: $ac_file" >&5
4353 >          { echo "$as_me:$LINENO: WARNING: Bogus file found: $ac_file" >&5
4354   echo "$as_me: WARNING: Bogus file found: $ac_file" >&2;}
4355            ;;
4356     esac
4357   done
4358   if test "x$ac_cv_f90_module_names" = "x"; then
4359 <  { echo "$as_me:3353: WARNING: Couldn't determine module file names" >&5
4359 >  { echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5
4360   echo "$as_me: WARNING: Couldn't determine module file names" >&2;}
4361   fi
4362  
4363   else
4364    echo "$as_me: failed program was:" >&5
4365 < cat conftest.$ac_ext >&5
4365 > sed 's/^/| /' conftest.$ac_ext >&5
4366 >
4367   ac_cv_f90_module_names=
4368 < { echo "$as_me:3361: WARNING: Couldn't determine module file names" >&5
4368 > { echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5
4369   echo "$as_me: WARNING: Couldn't determine module file names" >&2;}
4370   fi
4371 < rm -f conftest.$ac_objext conftest.$ac_ext
4371 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4372   cd ..
4373   # cleanup
4374   rm -rf conftest
# Line 3371 | Line 4378 | echo "$as_me:3374: result: $ac_cv_f90_module_names" >&
4378   ac_compiler_gnu=$ac_cv_f90_compiler_gnu
4379  
4380   fi
4381 < echo "$as_me:3374: result: $ac_cv_f90_module_names" >&5
4381 > echo "$as_me:$LINENO: result: $ac_cv_f90_module_names" >&5
4382   echo "${ECHO_T}$ac_cv_f90_module_names" >&6 # AC_CACHE_CHECK
4383  
4384   # We now generate a shell script that will help us to figure out the correct
# Line 3456 | Line 4463 | ac_ext=c
4463   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4464   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4465  
4466 +
4467 + ac_ext=cc
4468 + ac_cpp='$CXXCPP $CPPFLAGS'
4469 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4470 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4471 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4472 +
4473 +
4474 +
4475 + echo "$as_me:$LINENO: checking for asin in -lm" >&5
4476 + echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
4477 + if test "${ac_cv_lib_m_asin+set}" = set; then
4478 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4479 + else
4480 +  ac_check_lib_save_LIBS=$LIBS
4481 + LIBS="-lm  $LIBS"
4482 + cat >conftest.$ac_ext <<_ACEOF
4483 + /* confdefs.h.  */
4484 + _ACEOF
4485 + cat confdefs.h >>conftest.$ac_ext
4486 + cat >>conftest.$ac_ext <<_ACEOF
4487 + /* end confdefs.h.  */
4488 +
4489 + /* Override any gcc2 internal prototype to avoid an error.  */
4490 + #ifdef __cplusplus
4491 + extern "C"
4492 + #endif
4493 + /* We use char because int might match the return type of a gcc2
4494 +   builtin and then its argument prototype would still apply.  */
4495 + char asin ();
4496 + int
4497 + main ()
4498 + {
4499 + asin ();
4500 +  ;
4501 +  return 0;
4502 + }
4503 + _ACEOF
4504 + rm -f conftest.$ac_objext conftest$ac_exeext
4505 + if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4506 +  (eval $ac_link) 2>conftest.er1
4507 +  ac_status=$?
4508 +  grep -v '^ *+' conftest.er1 >conftest.err
4509 +  rm -f conftest.er1
4510 +  cat conftest.err >&5
4511 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4512 +  (exit $ac_status); } &&
4513 +         { ac_try='test -z "$ac_cxx_werror_flag"
4514 +                         || test ! -s conftest.err'
4515 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4516 +  (eval $ac_try) 2>&5
4517 +  ac_status=$?
4518 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519 +  (exit $ac_status); }; } &&
4520 +         { ac_try='test -s conftest$ac_exeext'
4521 +  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4522 +  (eval $ac_try) 2>&5
4523 +  ac_status=$?
4524 +  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 +  (exit $ac_status); }; }; then
4526 +  ac_cv_lib_m_asin=yes
4527 + else
4528 +  echo "$as_me: failed program was:" >&5
4529 + sed 's/^/| /' conftest.$ac_ext >&5
4530 +
4531 + ac_cv_lib_m_asin=no
4532 + fi
4533 + rm -f conftest.err conftest.$ac_objext \
4534 +      conftest$ac_exeext conftest.$ac_ext
4535 + LIBS=$ac_check_lib_save_LIBS
4536 + fi
4537 + echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
4538 + echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
4539 + if test $ac_cv_lib_m_asin = yes; then
4540 +  cat >>confdefs.h <<_ACEOF
4541 + #define HAVE_LIBM 1
4542 + _ACEOF
4543 +
4544 +  LIBS="-lm $LIBS"
4545 +
4546 + else
4547 +  exit
4548 + fi
4549 +
4550 +
4551   ac_ext=c
4552   ac_cpp='$CPP $CPPFLAGS'
4553   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 3467 | Line 4559 | echo "$as_me:3470: checking how to run the C preproces
4559   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4560   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4561   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4562 < echo "$as_me:3470: checking how to run the C preprocessor" >&5
4562 > echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4563   echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4564   # On Suns, sometimes $CPP names a directory.
4565   if test -n "$CPP" && test -d "$CPP"; then
# Line 3480 | Line 4572 | else
4572        # Double quotes because CPP needs to be expanded
4573      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4574      do
3483      # break 2 since there is a loop in there.
4575        ac_preproc_ok=false
4576   for ac_c_preproc_warn_flag in '' yes
4577   do
4578    # Use a header file that comes with gcc, so configuring glibc
4579    # with a fresh cross-compiler works.
4580 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4581 +  # <limits.h> exists even on freestanding compilers.
4582    # On the NeXT, cc -E runs the code through the compiler's parser,
4583    # not just through cpp. "Syntax error" is here to catch this case.
4584    cat >conftest.$ac_ext <<_ACEOF
4585 < #line 3492 "configure"
3493 < #include "confdefs.h"
3494 < #include <assert.h>
3495 <                     Syntax error
4585 > /* confdefs.h.  */
4586   _ACEOF
4587 < if { (eval echo "$as_me:3497: \"$ac_cpp conftest.$ac_ext\"") >&5
4587 > cat confdefs.h >>conftest.$ac_ext
4588 > cat >>conftest.$ac_ext <<_ACEOF
4589 > /* end confdefs.h.  */
4590 > #ifdef __STDC__
4591 > # include <limits.h>
4592 > #else
4593 > # include <assert.h>
4594 > #endif
4595 >                     Syntax error
4596 > _ACEOF
4597 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4598    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4599    ac_status=$?
4600 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4600 >  grep -v '^ *+' conftest.er1 >conftest.err
4601    rm -f conftest.er1
4602    cat conftest.err >&5
4603 <  echo "$as_me:3503: \$? = $ac_status" >&5
4603 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604    (exit $ac_status); } >/dev/null; then
4605    if test -s conftest.err; then
4606      ac_cpp_err=$ac_c_preproc_warn_flag
4607 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4608    else
4609      ac_cpp_err=
4610    fi
# Line 3514 | Line 4615 | else
4615    :
4616   else
4617    echo "$as_me: failed program was:" >&5
4618 <  cat conftest.$ac_ext >&5
4618 > sed 's/^/| /' conftest.$ac_ext >&5
4619 >
4620    # Broken: fails on valid input.
4621   continue
4622   fi
# Line 3523 | Line 4625 | rm -f conftest.err conftest.$ac_ext
4625    # OK, works on sane cases.  Now check whether non-existent headers
4626    # can be detected and how.
4627    cat >conftest.$ac_ext <<_ACEOF
4628 < #line 3526 "configure"
4629 < #include "confdefs.h"
4628 > /* confdefs.h.  */
4629 > _ACEOF
4630 > cat confdefs.h >>conftest.$ac_ext
4631 > cat >>conftest.$ac_ext <<_ACEOF
4632 > /* end confdefs.h.  */
4633   #include <ac_nonexistent.h>
4634   _ACEOF
4635 < if { (eval echo "$as_me:3530: \"$ac_cpp conftest.$ac_ext\"") >&5
4635 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4636    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4637    ac_status=$?
4638 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4638 >  grep -v '^ *+' conftest.er1 >conftest.err
4639    rm -f conftest.er1
4640    cat conftest.err >&5
4641 <  echo "$as_me:3536: \$? = $ac_status" >&5
4641 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4642    (exit $ac_status); } >/dev/null; then
4643    if test -s conftest.err; then
4644      ac_cpp_err=$ac_c_preproc_warn_flag
4645 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4646    else
4647      ac_cpp_err=
4648    fi
# Line 3548 | Line 4654 | else
4654   continue
4655   else
4656    echo "$as_me: failed program was:" >&5
4657 <  cat conftest.$ac_ext >&5
4657 > sed 's/^/| /' conftest.$ac_ext >&5
4658 >
4659    # Passes both tests.
4660   ac_preproc_ok=:
4661   break
# Line 3559 | Line 4666 | if $ac_preproc_ok; then
4666   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4667   rm -f conftest.err conftest.$ac_ext
4668   if $ac_preproc_ok; then
4669 <  break 2
4669 >  break
4670   fi
4671  
4672      done
# Line 3570 | Line 4677 | echo "$as_me:3573: result: $CPP" >&5
4677   else
4678    ac_cv_prog_CPP=$CPP
4679   fi
4680 < echo "$as_me:3573: result: $CPP" >&5
4680 > echo "$as_me:$LINENO: result: $CPP" >&5
4681   echo "${ECHO_T}$CPP" >&6
4682   ac_preproc_ok=false
4683   for ac_c_preproc_warn_flag in '' yes
4684   do
4685    # Use a header file that comes with gcc, so configuring glibc
4686    # with a fresh cross-compiler works.
4687 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4688 +  # <limits.h> exists even on freestanding compilers.
4689    # On the NeXT, cc -E runs the code through the compiler's parser,
4690    # not just through cpp. "Syntax error" is here to catch this case.
4691    cat >conftest.$ac_ext <<_ACEOF
4692 < #line 3583 "configure"
3584 < #include "confdefs.h"
3585 < #include <assert.h>
3586 <                     Syntax error
4692 > /* confdefs.h.  */
4693   _ACEOF
4694 < if { (eval echo "$as_me:3588: \"$ac_cpp conftest.$ac_ext\"") >&5
4694 > cat confdefs.h >>conftest.$ac_ext
4695 > cat >>conftest.$ac_ext <<_ACEOF
4696 > /* end confdefs.h.  */
4697 > #ifdef __STDC__
4698 > # include <limits.h>
4699 > #else
4700 > # include <assert.h>
4701 > #endif
4702 >                     Syntax error
4703 > _ACEOF
4704 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4705    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4706    ac_status=$?
4707 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4707 >  grep -v '^ *+' conftest.er1 >conftest.err
4708    rm -f conftest.er1
4709    cat conftest.err >&5
4710 <  echo "$as_me:3594: \$? = $ac_status" >&5
4710 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4711    (exit $ac_status); } >/dev/null; then
4712    if test -s conftest.err; then
4713      ac_cpp_err=$ac_c_preproc_warn_flag
4714 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4715    else
4716      ac_cpp_err=
4717    fi
# Line 3605 | Line 4722 | else
4722    :
4723   else
4724    echo "$as_me: failed program was:" >&5
4725 <  cat conftest.$ac_ext >&5
4725 > sed 's/^/| /' conftest.$ac_ext >&5
4726 >
4727    # Broken: fails on valid input.
4728   continue
4729   fi
# Line 3614 | Line 4732 | rm -f conftest.err conftest.$ac_ext
4732    # OK, works on sane cases.  Now check whether non-existent headers
4733    # can be detected and how.
4734    cat >conftest.$ac_ext <<_ACEOF
4735 < #line 3617 "configure"
4736 < #include "confdefs.h"
4735 > /* confdefs.h.  */
4736 > _ACEOF
4737 > cat confdefs.h >>conftest.$ac_ext
4738 > cat >>conftest.$ac_ext <<_ACEOF
4739 > /* end confdefs.h.  */
4740   #include <ac_nonexistent.h>
4741   _ACEOF
4742 < if { (eval echo "$as_me:3621: \"$ac_cpp conftest.$ac_ext\"") >&5
4742 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4743    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4744    ac_status=$?
4745 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4745 >  grep -v '^ *+' conftest.er1 >conftest.err
4746    rm -f conftest.er1
4747    cat conftest.err >&5
4748 <  echo "$as_me:3627: \$? = $ac_status" >&5
4748 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749    (exit $ac_status); } >/dev/null; then
4750    if test -s conftest.err; then
4751      ac_cpp_err=$ac_c_preproc_warn_flag
4752 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4753    else
4754      ac_cpp_err=
4755    fi
# Line 3639 | Line 4761 | else
4761   continue
4762   else
4763    echo "$as_me: failed program was:" >&5
4764 <  cat conftest.$ac_ext >&5
4764 > sed 's/^/| /' conftest.$ac_ext >&5
4765 >
4766    # Passes both tests.
4767   ac_preproc_ok=:
4768   break
# Line 3652 | Line 4775 | else
4775   if $ac_preproc_ok; then
4776    :
4777   else
4778 <  { { echo "$as_me:3655: error: C preprocessor \"$CPP\" fails sanity check" >&5
4779 < echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
4778 >  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4779 > See \`config.log' for more details." >&5
4780 > echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4781 > See \`config.log' for more details." >&2;}
4782     { (exit 1); exit 1; }; }
4783   fi
4784  
# Line 3663 | Line 4788 | for ac_header in unistd.h sys/pstat.h sys/sysmp.h sys/
4788   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4789   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4790  
4791 < 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
4792 < do
4793 < ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4794 < 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
4791 >
4792 > echo "$as_me:$LINENO: checking for egrep" >&5
4793 > echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4794 > if test "${ac_cv_prog_egrep+set}" = set; then
4795    echo $ECHO_N "(cached) $ECHO_C" >&6
4796   else
4797 +  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4798 +    then ac_cv_prog_egrep='grep -E'
4799 +    else ac_cv_prog_egrep='egrep'
4800 +    fi
4801 + fi
4802 + echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4803 + echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4804 + EGREP=$ac_cv_prog_egrep
4805 +
4806 +
4807 + echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4808 + echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4809 + if test "${ac_cv_header_stdc+set}" = set; then
4810 +  echo $ECHO_N "(cached) $ECHO_C" >&6
4811 + else
4812    cat >conftest.$ac_ext <<_ACEOF
4813 < #line 3675 "configure"
3676 < #include "confdefs.h"
3677 < #include <$ac_header>
4813 > /* confdefs.h.  */
4814   _ACEOF
4815 < if { (eval echo "$as_me:3679: \"$ac_cpp conftest.$ac_ext\"") >&5
4816 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4815 > cat confdefs.h >>conftest.$ac_ext
4816 > cat >>conftest.$ac_ext <<_ACEOF
4817 > /* end confdefs.h.  */
4818 > #include <stdlib.h>
4819 > #include <stdarg.h>
4820 > #include <string.h>
4821 > #include <float.h>
4822 >
4823 > int
4824 > main ()
4825 > {
4826 >
4827 >  ;
4828 >  return 0;
4829 > }
4830 > _ACEOF
4831 > rm -f conftest.$ac_objext
4832 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4833 >  (eval $ac_compile) 2>conftest.er1
4834    ac_status=$?
4835 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4835 >  grep -v '^ *+' conftest.er1 >conftest.err
4836    rm -f conftest.er1
4837    cat conftest.err >&5
4838 <  echo "$as_me:3685: \$? = $ac_status" >&5
4839 <  (exit $ac_status); } >/dev/null; then
4840 <  if test -s conftest.err; then
4841 <    ac_cpp_err=$ac_c_preproc_warn_flag
4842 <  else
4843 <    ac_cpp_err=
4844 <  fi
4838 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839 >  (exit $ac_status); } &&
4840 >         { ac_try='test -z "$ac_c_werror_flag"
4841 >                         || test ! -s conftest.err'
4842 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4843 >  (eval $ac_try) 2>&5
4844 >  ac_status=$?
4845 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846 >  (exit $ac_status); }; } &&
4847 >         { ac_try='test -s conftest.$ac_objext'
4848 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4849 >  (eval $ac_try) 2>&5
4850 >  ac_status=$?
4851 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 >  (exit $ac_status); }; }; then
4853 >  ac_cv_header_stdc=yes
4854   else
4855 <  ac_cpp_err=yes
4855 >  echo "$as_me: failed program was:" >&5
4856 > sed 's/^/| /' conftest.$ac_ext >&5
4857 >
4858 > ac_cv_header_stdc=no
4859   fi
4860 < if test -z "$ac_cpp_err"; then
4861 <  eval "$ac_ac_Header=yes"
4860 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4861 >
4862 > if test $ac_cv_header_stdc = yes; then
4863 >  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4864 >  cat >conftest.$ac_ext <<_ACEOF
4865 > /* confdefs.h.  */
4866 > _ACEOF
4867 > cat confdefs.h >>conftest.$ac_ext
4868 > cat >>conftest.$ac_ext <<_ACEOF
4869 > /* end confdefs.h.  */
4870 > #include <string.h>
4871 >
4872 > _ACEOF
4873 > if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4874 >  $EGREP "memchr" >/dev/null 2>&1; then
4875 >  :
4876   else
4877 <  echo "$as_me: failed program was:" >&5
3699 <  cat conftest.$ac_ext >&5
3700 <  eval "$ac_ac_Header=no"
4877 >  ac_cv_header_stdc=no
4878   fi
4879 < rm -f conftest.err conftest.$ac_ext
4879 > rm -f conftest*
4880 >
4881   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
4882  
4883 + if test $ac_cv_header_stdc = yes; then
4884 +  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4885 +  cat >conftest.$ac_ext <<_ACEOF
4886 + /* confdefs.h.  */
4887 + _ACEOF
4888 + cat confdefs.h >>conftest.$ac_ext
4889 + cat >>conftest.$ac_ext <<_ACEOF
4890 + /* end confdefs.h.  */
4891 + #include <stdlib.h>
4892 +
4893 + _ACEOF
4894 + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4895 +  $EGREP "free" >/dev/null 2>&1; then
4896 +  :
4897 + else
4898 +  ac_cv_header_stdc=no
4899   fi
4900 < done
4900 > rm -f conftest*
4901  
4902 < for ac_func in pstat_getstatic sysmp getsysinfo sysctl table
4903 < do
4904 < ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
4905 < echo "$as_me:3717: checking for $ac_func" >&5
4906 < echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4907 < if eval "test \"\${$ac_ac_var+set}\" = set"; then
3720 <  echo $ECHO_N "(cached) $ECHO_C" >&6
4902 > fi
4903 >
4904 > if test $ac_cv_header_stdc = yes; then
4905 >  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4906 >  if test "$cross_compiling" = yes; then
4907 >  :
4908   else
4909    cat >conftest.$ac_ext <<_ACEOF
4910 < #line 3723 "configure"
4911 < #include "confdefs.h"
4912 < /* System header to define __stub macros and hopefully few prototypes,
4913 <    which can conflict with char $ac_func (); below.  */
4914 < #include <assert.h>
4915 < /* Override any gcc2 internal prototype to avoid an error.  */
4916 < #ifdef __cplusplus
4917 < extern "C"
4910 > /* confdefs.h.  */
4911 > _ACEOF
4912 > cat confdefs.h >>conftest.$ac_ext
4913 > cat >>conftest.$ac_ext <<_ACEOF
4914 > /* end confdefs.h.  */
4915 > #include <ctype.h>
4916 > #if ((' ' & 0x0FF) == 0x020)
4917 > # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4918 > # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4919 > #else
4920 > # define ISLOWER(c) \
4921 >                   (('a' <= (c) && (c) <= 'i') \
4922 >                     || ('j' <= (c) && (c) <= 'r') \
4923 >                     || ('s' <= (c) && (c) <= 'z'))
4924 > # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4925   #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) ();
4926  
4927 + #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4928   int
4929   main ()
4930   {
4931 < /* The GNU C library defines this for functions which it implements
4932 <    to always fail with ENOSYS.  Some functions are actually named
4933 <    something starting with __ and the normal name is an alias.  */
4934 < #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4935 < choke me
4936 < #else
3746 < f = $ac_func;
3747 < #endif
3748 <
3749 <  ;
3750 <  return 0;
4931 >  int i;
4932 >  for (i = 0; i < 256; i++)
4933 >    if (XOR (islower (i), ISLOWER (i))
4934 >        || toupper (i) != TOUPPER (i))
4935 >      exit(2);
4936 >  exit (0);
4937   }
4938   _ACEOF
4939 < rm -f conftest.$ac_objext conftest$ac_exeext
4940 < if { (eval echo "$as_me:3754: \"$ac_link\"") >&5
4939 > rm -f conftest$ac_exeext
4940 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4941    (eval $ac_link) 2>&5
4942    ac_status=$?
4943 <  echo "$as_me:3757: \$? = $ac_status" >&5
4944 <  (exit $ac_status); } &&
4945 <         { ac_try='test -s conftest$ac_exeext'
3760 <  { (eval echo "$as_me:3760: \"$ac_try\"") >&5
4943 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944 >  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4945 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4946    (eval $ac_try) 2>&5
4947    ac_status=$?
4948 <  echo "$as_me:3763: \$? = $ac_status" >&5
4948 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949    (exit $ac_status); }; }; then
4950 <  eval "$ac_ac_var=yes"
4950 >  :
4951   else
4952 <  echo "$as_me: failed program was:" >&5
4953 < cat conftest.$ac_ext >&5
4954 < eval "$ac_ac_var=no"
4952 >  echo "$as_me: program exited with status $ac_status" >&5
4953 > echo "$as_me: failed program was:" >&5
4954 > sed 's/^/| /' conftest.$ac_ext >&5
4955 >
4956 > ( exit $ac_status )
4957 > ac_cv_header_stdc=no
4958   fi
4959 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4959 > rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4960   fi
4961 < echo "$as_me:3773: result: `eval echo '${'$ac_ac_var'}'`" >&5
4962 < echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
4963 < if test `eval echo '${'$ac_ac_var'}'` = yes; then
4964 <  cat >>confdefs.h <<EOF
4965 < #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
3778 < EOF
4961 > fi
4962 > fi
4963 > echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4964 > echo "${ECHO_T}$ac_cv_header_stdc" >&6
4965 > if test $ac_cv_header_stdc = yes; then
4966  
4967 + cat >>confdefs.h <<\_ACEOF
4968 + #define STDC_HEADERS 1
4969 + _ACEOF
4970 +
4971   fi
3781 done
4972  
4973 < # special check for _system_configuration because AIX <4.3.2 do not
3784 < # contain the `physmem' member.
3785 < echo "$as_me:3785: checking for external symbol _system_configuration" >&5
3786 < echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
3787 < cat >conftest.$ac_ext <<_ACEOF
3788 < #line 3788 "configure"
3789 < #include "confdefs.h"
3790 < #include <sys/systemcfg.h>
3791 < int
3792 < main ()
3793 < {
3794 < double x = _system_configuration.physmem;
3795 <  ;
3796 <  return 0;
3797 < }
3798 < _ACEOF
3799 < rm -f conftest.$ac_objext
3800 < if { (eval echo "$as_me:3800: \"$ac_compile\"") >&5
3801 <  (eval $ac_compile) 2>&5
3802 <  ac_status=$?
3803 <  echo "$as_me:3803: \$? = $ac_status" >&5
3804 <  (exit $ac_status); } &&
3805 <         { ac_try='test -s conftest.$ac_objext'
3806 <  { (eval echo "$as_me:3806: \"$ac_try\"") >&5
3807 <  (eval $ac_try) 2>&5
3808 <  ac_status=$?
3809 <  echo "$as_me:3809: \$? = $ac_status" >&5
3810 <  (exit $ac_status); }; }; then
3811 <  echo "$as_me:3811: result: yes" >&5
3812 < echo "${ECHO_T}yes" >&6
4973 > # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4974  
3814 cat >>confdefs.h <<\EOF
3815 #define HAVE__SYSTEM_CONFIGURATION 1
3816 EOF
4975  
3818 else
3819  echo "$as_me: failed program was:" >&5
3820 cat conftest.$ac_ext >&5
3821 echo "$as_me:3821: result: no" >&5
3822 echo "${ECHO_T}no" >&6
3823 fi
3824 rm -f conftest.$ac_objext conftest.$ac_ext
4976  
3826  # clean out junk possibly left behind by a previous configuration
3827  rm -f src/getopt.h
3828  # Check for getopt_long support
4977  
4978 < for ac_header in getopt.h
4978 >
4979 >
4980 >
4981 >
4982 >
4983 > for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4984 >                  inttypes.h stdint.h unistd.h
4985   do
4986 < ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4987 < echo "$as_me:3833: checking for $ac_header" >&5
4986 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4987 > echo "$as_me:$LINENO: checking for $ac_header" >&5
4988   echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4989 < if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4989 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
4990    echo $ECHO_N "(cached) $ECHO_C" >&6
4991   else
4992    cat >conftest.$ac_ext <<_ACEOF
4993 < #line 3839 "configure"
4994 < #include "confdefs.h"
4993 > /* confdefs.h.  */
4994 > _ACEOF
4995 > cat confdefs.h >>conftest.$ac_ext
4996 > cat >>conftest.$ac_ext <<_ACEOF
4997 > /* end confdefs.h.  */
4998 > $ac_includes_default
4999 >
5000   #include <$ac_header>
5001   _ACEOF
5002 < if { (eval echo "$as_me:3843: \"$ac_cpp conftest.$ac_ext\"") >&5
5003 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5002 > rm -f conftest.$ac_objext
5003 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5004 >  (eval $ac_compile) 2>conftest.er1
5005    ac_status=$?
5006 <  egrep -v '^ *\+' conftest.er1 >conftest.err
5006 >  grep -v '^ *+' conftest.er1 >conftest.err
5007    rm -f conftest.er1
5008    cat conftest.err >&5
5009 <  echo "$as_me:3849: \$? = $ac_status" >&5
5010 <  (exit $ac_status); } >/dev/null; then
5011 <  if test -s conftest.err; then
5012 <    ac_cpp_err=$ac_c_preproc_warn_flag
5013 <  else
5014 <    ac_cpp_err=
5015 <  fi
5009 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010 >  (exit $ac_status); } &&
5011 >         { ac_try='test -z "$ac_c_werror_flag"
5012 >                         || test ! -s conftest.err'
5013 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5014 >  (eval $ac_try) 2>&5
5015 >  ac_status=$?
5016 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017 >  (exit $ac_status); }; } &&
5018 >         { ac_try='test -s conftest.$ac_objext'
5019 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5020 >  (eval $ac_try) 2>&5
5021 >  ac_status=$?
5022 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5023 >  (exit $ac_status); }; }; then
5024 >  eval "$as_ac_Header=yes"
5025   else
3857  ac_cpp_err=yes
3858 fi
3859 if test -z "$ac_cpp_err"; then
3860  eval "$ac_ac_Header=yes"
3861 else
5026    echo "$as_me: failed program was:" >&5
5027 <  cat conftest.$ac_ext >&5
5028 <  eval "$ac_ac_Header=no"
5027 > sed 's/^/| /' conftest.$ac_ext >&5
5028 >
5029 > eval "$as_ac_Header=no"
5030   fi
5031 < rm -f conftest.err conftest.$ac_ext
5031 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5032   fi
5033 < echo "$as_me:3868: result: `eval echo '${'$ac_ac_Header'}'`" >&5
5034 < echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
5035 < if test `eval echo '${'$ac_ac_Header'}'` = yes; then
5036 <  cat >>confdefs.h <<EOF
5037 < #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
5038 < EOF
5033 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5034 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5035 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
5036 >  cat >>confdefs.h <<_ACEOF
5037 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5038 > _ACEOF
5039  
5040   fi
5041 +
5042   done
5043  
5044 < for ac_func in getopt_long
5045 < do
5046 < ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
5047 < echo "$as_me:3881: checking for $ac_func" >&5
5048 < echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5049 < if eval "test \"\${$ac_ac_var+set}\" = set"; then
5044 >
5045 > #
5046 > # Handle user hints
5047 > #
5048 > echo "$as_me:$LINENO: checking if zlib is wanted" >&5
5049 > echo $ECHO_N "checking if zlib is wanted... $ECHO_C" >&6
5050 >
5051 > # Check whether --with-zlib or --without-zlib was given.
5052 > if test "${with_zlib+set}" = set; then
5053 >  withval="$with_zlib"
5054 >  if test "$withval" != no ; then
5055 >  echo "$as_me:$LINENO: result: yes" >&5
5056 > echo "${ECHO_T}yes" >&6
5057 >  if test -d "$withval"
5058 >  then
5059 >    ZLIB_HOME="$withval"
5060 >  else
5061 >    { echo "$as_me:$LINENO: WARNING: Sorry, $withval does not exist, checking usual places" >&5
5062 > echo "$as_me: WARNING: Sorry, $withval does not exist, checking usual places" >&2;}
5063 >  fi
5064 > else
5065 >  echo "$as_me:$LINENO: result: no" >&5
5066 > echo "${ECHO_T}no" >&6
5067 > fi
5068 > fi;
5069 >
5070 > ZLIB_HOME=/usr/local
5071 > if test ! -f "${ZLIB_HOME}/include/zlib.h"
5072 > then
5073 >        ZLIB_HOME=/usr
5074 > fi
5075 >
5076 > #
5077 > # Locate zlib, if wanted
5078 > #
5079 > if test -n "${ZLIB_HOME}"
5080 > then
5081 >        ZLIB_OLD_LDFLAGS=$LDFLAGS
5082 >        ZLIB_OLD_CPPFLAGS=$LDFLAGS
5083 >        LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib"
5084 >        CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include"
5085 >
5086 >
5087 >        ac_ext=c
5088 > ac_cpp='$CPP $CPPFLAGS'
5089 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5090 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5091 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
5092 >
5093 >        echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
5094 > echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
5095 > if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
5096    echo $ECHO_N "(cached) $ECHO_C" >&6
5097   else
5098 <  cat >conftest.$ac_ext <<_ACEOF
5099 < #line 3887 "configure"
5100 < #include "confdefs.h"
5101 < /* System header to define __stub macros and hopefully few prototypes,
5102 <    which can conflict with char $ac_func (); below.  */
5103 < #include <assert.h>
5098 >  ac_check_lib_save_LIBS=$LIBS
5099 > LIBS="-lz  $LIBS"
5100 > cat >conftest.$ac_ext <<_ACEOF
5101 > /* confdefs.h.  */
5102 > _ACEOF
5103 > cat confdefs.h >>conftest.$ac_ext
5104 > cat >>conftest.$ac_ext <<_ACEOF
5105 > /* end confdefs.h.  */
5106 >
5107   /* Override any gcc2 internal prototype to avoid an error.  */
5108   #ifdef __cplusplus
5109   extern "C"
5110   #endif
5111   /* We use char because int might match the return type of a gcc2
5112     builtin and then its argument prototype would still apply.  */
5113 < char $ac_func ();
3899 < char (*f) ();
3900 <
5113 > char inflateEnd ();
5114   int
5115   main ()
5116   {
5117 < /* 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 <
5117 > inflateEnd ();
5118    ;
5119    return 0;
5120   }
5121   _ACEOF
5122   rm -f conftest.$ac_objext conftest$ac_exeext
5123 < if { (eval echo "$as_me:3918: \"$ac_link\"") >&5
5124 <  (eval $ac_link) 2>&5
5123 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5124 >  (eval $ac_link) 2>conftest.er1
5125    ac_status=$?
5126 <  echo "$as_me:3921: \$? = $ac_status" >&5
5126 >  grep -v '^ *+' conftest.er1 >conftest.err
5127 >  rm -f conftest.er1
5128 >  cat conftest.err >&5
5129 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130    (exit $ac_status); } &&
5131 <         { ac_try='test -s conftest$ac_exeext'
5132 <  { (eval echo "$as_me:3924: \"$ac_try\"") >&5
5131 >         { ac_try='test -z "$ac_c_werror_flag"
5132 >                         || test ! -s conftest.err'
5133 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5134    (eval $ac_try) 2>&5
5135    ac_status=$?
5136 <  echo "$as_me:3927: \$? = $ac_status" >&5
5136 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 >  (exit $ac_status); }; } &&
5138 >         { ac_try='test -s conftest$ac_exeext'
5139 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5140 >  (eval $ac_try) 2>&5
5141 >  ac_status=$?
5142 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5143    (exit $ac_status); }; }; then
5144 <  eval "$ac_ac_var=yes"
5144 >  ac_cv_lib_z_inflateEnd=yes
5145   else
5146    echo "$as_me: failed program was:" >&5
5147 < cat conftest.$ac_ext >&5
5148 < eval "$ac_ac_var=no"
5147 > sed 's/^/| /' conftest.$ac_ext >&5
5148 >
5149 > ac_cv_lib_z_inflateEnd=no
5150   fi
5151 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5152 < fi
5153 < echo "$as_me:3937: result: `eval echo '${'$ac_ac_var'}'`" >&5
5154 < echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
5155 < if test `eval echo '${'$ac_ac_var'}'` = yes; then
5156 <  cat >>confdefs.h <<EOF
5157 < #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
5158 < EOF
5151 > rm -f conftest.err conftest.$ac_objext \
5152 >      conftest$ac_exeext conftest.$ac_ext
5153 > LIBS=$ac_check_lib_save_LIBS
5154 > fi
5155 > echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
5156 > echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
5157 > if test $ac_cv_lib_z_inflateEnd = yes; then
5158 >  zlib_cv_libz=yes
5159 > else
5160 >  zlib_cv_libz=no
5161 > fi
5162  
5163 +        if test "${ac_cv_header_zlib_h+set}" = set; then
5164 +  echo "$as_me:$LINENO: checking for zlib.h" >&5
5165 + echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
5166 + if test "${ac_cv_header_zlib_h+set}" = set; then
5167 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5168 + fi
5169 + echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
5170 + echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
5171   else
5172 <  # FreeBSD has a gnugetopt library for this
5173 <    echo "$as_me:3946: checking for getopt_long in -lgnugetopt" >&5
5174 < echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
5175 < if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
5172 >  # Is the header compilable?
5173 > echo "$as_me:$LINENO: checking zlib.h usability" >&5
5174 > echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
5175 > cat >conftest.$ac_ext <<_ACEOF
5176 > /* confdefs.h.  */
5177 > _ACEOF
5178 > cat confdefs.h >>conftest.$ac_ext
5179 > cat >>conftest.$ac_ext <<_ACEOF
5180 > /* end confdefs.h.  */
5181 > $ac_includes_default
5182 > #include <zlib.h>
5183 > _ACEOF
5184 > rm -f conftest.$ac_objext
5185 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5186 >  (eval $ac_compile) 2>conftest.er1
5187 >  ac_status=$?
5188 >  grep -v '^ *+' conftest.er1 >conftest.err
5189 >  rm -f conftest.er1
5190 >  cat conftest.err >&5
5191 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192 >  (exit $ac_status); } &&
5193 >         { ac_try='test -z "$ac_c_werror_flag"
5194 >                         || test ! -s conftest.err'
5195 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5196 >  (eval $ac_try) 2>&5
5197 >  ac_status=$?
5198 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5199 >  (exit $ac_status); }; } &&
5200 >         { ac_try='test -s conftest.$ac_objext'
5201 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5202 >  (eval $ac_try) 2>&5
5203 >  ac_status=$?
5204 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5205 >  (exit $ac_status); }; }; then
5206 >  ac_header_compiler=yes
5207 > else
5208 >  echo "$as_me: failed program was:" >&5
5209 > sed 's/^/| /' conftest.$ac_ext >&5
5210 >
5211 > ac_header_compiler=no
5212 > fi
5213 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5214 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5215 > echo "${ECHO_T}$ac_header_compiler" >&6
5216 >
5217 > # Is the header present?
5218 > echo "$as_me:$LINENO: checking zlib.h presence" >&5
5219 > echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
5220 > cat >conftest.$ac_ext <<_ACEOF
5221 > /* confdefs.h.  */
5222 > _ACEOF
5223 > cat confdefs.h >>conftest.$ac_ext
5224 > cat >>conftest.$ac_ext <<_ACEOF
5225 > /* end confdefs.h.  */
5226 > #include <zlib.h>
5227 > _ACEOF
5228 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5229 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5230 >  ac_status=$?
5231 >  grep -v '^ *+' conftest.er1 >conftest.err
5232 >  rm -f conftest.er1
5233 >  cat conftest.err >&5
5234 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235 >  (exit $ac_status); } >/dev/null; then
5236 >  if test -s conftest.err; then
5237 >    ac_cpp_err=$ac_c_preproc_warn_flag
5238 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5239 >  else
5240 >    ac_cpp_err=
5241 >  fi
5242 > else
5243 >  ac_cpp_err=yes
5244 > fi
5245 > if test -z "$ac_cpp_err"; then
5246 >  ac_header_preproc=yes
5247 > else
5248 >  echo "$as_me: failed program was:" >&5
5249 > sed 's/^/| /' conftest.$ac_ext >&5
5250 >
5251 >  ac_header_preproc=no
5252 > fi
5253 > rm -f conftest.err conftest.$ac_ext
5254 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5255 > echo "${ECHO_T}$ac_header_preproc" >&6
5256 >
5257 > # So?  What about this header?
5258 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5259 >  yes:no: )
5260 >    { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
5261 > echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5262 >    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
5263 > echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
5264 >    ac_header_preproc=yes
5265 >    ;;
5266 >  no:yes:* )
5267 >    { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
5268 > echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
5269 >    { echo "$as_me:$LINENO: WARNING: zlib.h:     check for missing prerequisite headers?" >&5
5270 > echo "$as_me: WARNING: zlib.h:     check for missing prerequisite headers?" >&2;}
5271 >    { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
5272 > echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
5273 >    { echo "$as_me:$LINENO: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&5
5274 > echo "$as_me: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
5275 >    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
5276 > echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
5277 >    { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
5278 > echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
5279 >    (
5280 >      cat <<\_ASBOX
5281 > ## ------------------------------ ##
5282 > ## Report this to gezelter@nd.edu ##
5283 > ## ------------------------------ ##
5284 > _ASBOX
5285 >    ) |
5286 >      sed "s/^/$as_me: WARNING:     /" >&2
5287 >    ;;
5288 > esac
5289 > echo "$as_me:$LINENO: checking for zlib.h" >&5
5290 > echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
5291 > if test "${ac_cv_header_zlib_h+set}" = set; then
5292    echo $ECHO_N "(cached) $ECHO_C" >&6
5293   else
5294 +  ac_cv_header_zlib_h=$ac_header_preproc
5295 + fi
5296 + echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
5297 + echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
5298 +
5299 + fi
5300 + if test $ac_cv_header_zlib_h = yes; then
5301 +  zlib_cv_zlib_h=yes
5302 + else
5303 +  zlib_cv_zlib_h=no
5304 + fi
5305 +
5306 +
5307 +        ac_ext=c
5308 + ac_cpp='$CPP $CPPFLAGS'
5309 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5310 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5311 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
5312 +
5313 +        if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes"
5314 +        then
5315 +                #
5316 +                # If both library and header were found, use them
5317 +                #
5318 +
5319 + echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
5320 + echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
5321 + if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
5322 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5323 + else
5324    ac_check_lib_save_LIBS=$LIBS
5325 < LIBS="-lgnugetopt  $LIBS"
5325 > LIBS="-lz  $LIBS"
5326   cat >conftest.$ac_ext <<_ACEOF
5327 < #line 3954 "configure"
5328 < #include "confdefs.h"
5327 > /* confdefs.h.  */
5328 > _ACEOF
5329 > cat confdefs.h >>conftest.$ac_ext
5330 > cat >>conftest.$ac_ext <<_ACEOF
5331 > /* end confdefs.h.  */
5332  
5333   /* Override any gcc2 internal prototype to avoid an error.  */
5334   #ifdef __cplusplus
# Line 3960 | Line 5336 | char getopt_long ();
5336   #endif
5337   /* We use char because int might match the return type of a gcc2
5338     builtin and then its argument prototype would still apply.  */
5339 < char getopt_long ();
5339 > char inflateEnd ();
5340   int
5341   main ()
5342   {
5343 < getopt_long ();
5343 > inflateEnd ();
5344    ;
5345    return 0;
5346   }
5347   _ACEOF
5348   rm -f conftest.$ac_objext conftest$ac_exeext
5349 < if { (eval echo "$as_me:3973: \"$ac_link\"") >&5
5350 <  (eval $ac_link) 2>&5
5349 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5350 >  (eval $ac_link) 2>conftest.er1
5351    ac_status=$?
5352 <  echo "$as_me:3976: \$? = $ac_status" >&5
5352 >  grep -v '^ *+' conftest.er1 >conftest.err
5353 >  rm -f conftest.er1
5354 >  cat conftest.err >&5
5355 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5356    (exit $ac_status); } &&
5357 <         { ac_try='test -s conftest$ac_exeext'
5358 <  { (eval echo "$as_me:3979: \"$ac_try\"") >&5
5357 >         { ac_try='test -z "$ac_c_werror_flag"
5358 >                         || test ! -s conftest.err'
5359 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5360    (eval $ac_try) 2>&5
5361    ac_status=$?
5362 <  echo "$as_me:3982: \$? = $ac_status" >&5
5362 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 >  (exit $ac_status); }; } &&
5364 >         { ac_try='test -s conftest$ac_exeext'
5365 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5366 >  (eval $ac_try) 2>&5
5367 >  ac_status=$?
5368 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5369    (exit $ac_status); }; }; then
5370 <  ac_cv_lib_gnugetopt_getopt_long=yes
5370 >  ac_cv_lib_z_inflateEnd=yes
5371   else
5372    echo "$as_me: failed program was:" >&5
5373 < cat conftest.$ac_ext >&5
5374 < ac_cv_lib_gnugetopt_getopt_long=no
5373 > sed 's/^/| /' conftest.$ac_ext >&5
5374 >
5375 > ac_cv_lib_z_inflateEnd=no
5376   fi
5377 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5377 > rm -f conftest.err conftest.$ac_objext \
5378 >      conftest$ac_exeext conftest.$ac_ext
5379   LIBS=$ac_check_lib_save_LIBS
5380   fi
5381 < echo "$as_me:3993: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
5382 < echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
5383 < if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
5384 <  cat >>confdefs.h <<\EOF
5385 < #define HAVE_GETOPT_LONG 1
5386 < EOF
5381 > echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
5382 > echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
5383 > if test $ac_cv_lib_z_inflateEnd = yes; then
5384 >  cat >>confdefs.h <<_ACEOF
5385 > #define HAVE_LIBZ 1
5386 > _ACEOF
5387  
5388 < 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"
5388 >  LIBS="-lz $LIBS"
5389  
5390   fi
5391  
5392 < fi
5393 < done
5394 <
5395 < case $debug in
5396 <  1)
5397 <     ;;
5398 <  *)
5399 <
5400 < echo "$as_me:4016: checking whether we are *really* using GNU cc" >&5
5401 < echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6
5402 < if test "${ac_cv_prog_really_gcc+set}" = set; then
5403 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5404 < else
5405 <
5406 < cat > conftest.c <<EOF
5407 < #ifdef __GNUC__
5408 <  #ifndef __INTEL_COMPILER
5409 <     yes;
5410 <  #endif
5411 < #endif
5412 < EOF
5413 < if { ac_try='${CC-cc} -E conftest.c'
5414 <  { (eval echo "$as_me:4030: \"$ac_try\"") >&5
5415 <  (eval $ac_try) 2>&5
5416 <  ac_status=$?
5417 <  echo "$as_me:4033: \$? = $ac_status" >&5
5418 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
5419 <  ac_cv_prog_really_gcc=yes
5420 < else
5421 <  ac_cv_prog_really_gcc=no
5422 < fi
5423 <
5424 < fi
5425 < echo "$as_me:4041: result: $ac_cv_prog_really_gcc" >&5
5426 < echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6
5427 < if test "$ac_cv_prog_really_gcc" = yes; then
5428 <        :
5429 <
5430 < else
5431 <        :
5432 <
5433 < fi
5434 <
5435 < # Try to determine "good" native compiler flags if none specified on command
5436 < # line
5437 < if test "$ac_test_CFLAGS" != "set"; then
5438 <  CFLAGS=""
5439 <  case "${host_cpu}-${host_os}" in
5440 <
5441 <  *linux*) if test "$CC" = icc; then
5442 <                    CFLAGS="-O"
5443 <                fi;;
5444 <  sparc-solaris2*) if test "$CC" = cc; then
5445 <                    CFLAGS="-native -fast -xO5 -dalign"
5446 <                 fi;;
5447 <
5448 <  alpha*-osf*)  if test "$CC" = cc; then
5449 <                    CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1"
5450 <                fi;;
5451 <
5452 <  hppa*-hpux*)  if test "$CC" = cc; then
5453 <                    CFLAGS="-Ae +O3 +Oall"
5454 <                fi;;
5455 <
5456 <   rs6000*-aix*)  if test "$CC" = cc -o "$CC" = xlc; then
5457 <                    CFLAGS="-O3 -qtune=auto -qansialias -w"
5458 <                fi;;
5459 <   powerpc*-aix*)
5460 <        if test "$CC" = cc -o "$CC" = xlc; then
5461 <                CFLAGS="-O3 -qtune=auto -qansialias -w"
5462 <                echo "*******************************************************"
5463 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
5464 <                echo "*  recommended that you use                           *"
5465 <                echo "*                                                     *"
5466 <                echo "*    CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
5467 <                echo "*                                 ^^^                 *"
5468 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
5469 <                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
5470 <                echo "*******************************************************"
5471 <        fi;;
5472 <   *darwin*)
5473 <        if test "$CC" = xlc -o "$CC" = cc; then
5474 <                CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
5475 <        fi;;
5476 <  esac
5477 <
5478 <  # use default flags for gcc on all systems
5479 <  if test $ac_cv_prog_really_gcc = yes; then
5480 <     CFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
5481 <  fi
5482 <
5483 <  # test for gcc-specific flags:
5484 <  if test $ac_cv_prog_really_gcc = yes; then
5485 <    # -malign-double for x86 systems
5486 <
5487 < echo "$as_me:4103: checking whether ${CC-cc} accepts -malign-double" >&5
5488 < echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6
5489 < if test "${ac_align_double+set}" = set; then
5490 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5491 < else
5492 <  echo 'void f(){}' > conftest.c
5493 < if test -z "`${CC-cc} -malign-double -c conftest.c 2>&1`"; then
5494 <        ac_align_double=yes
5495 < else
5496 <        ac_align_double=no
5497 < fi
5498 < rm -f conftest*
5499 <
5500 < fi
5501 < echo "$as_me:4117: result: $ac_align_double" >&5
5502 < echo "${ECHO_T}$ac_align_double" >&6
5503 < if test "$ac_align_double" = yes; then
5504 <        :
5505 <        CFLAGS="$CFLAGS -malign-double"
5506 < else
5507 <        :
5508 <
5509 < fi
5510 <
5511 <    # -fstrict-aliasing for gcc-2.95+
5512 <
5513 < echo "$as_me:4129: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
5514 < echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6
5515 < if test "${ac_fstrict_aliasing+set}" = set; then
5516 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5517 < else
5518 <  echo 'void f(){}' > conftest.c
5519 < if test -z "`${CC-cc} -fstrict-aliasing -c conftest.c 2>&1`"; then
5520 <        ac_fstrict_aliasing=yes
5521 < else
5522 <        ac_fstrict_aliasing=no
5523 < fi
5524 < rm -f conftest*
5525 <
5526 < fi
5527 < echo "$as_me:4143: result: $ac_fstrict_aliasing" >&5
5528 < echo "${ECHO_T}$ac_fstrict_aliasing" >&6
5529 < if test "$ac_fstrict_aliasing" = yes; then
5530 <        :
5531 <        CFLAGS="$CFLAGS -fstrict-aliasing"
5532 < else
5533 <        :
5534 <
5535 < fi
5536 <
5537 <  fi
5538 <
5539 <  CPU_FLAGS=""
5540 <  if test $ac_cv_prog_really_gcc = yes; then
5541 <                  case "${host_cpu}" in
5542 <          i586*)
5543 <
5544 < echo "$as_me:4160: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
5545 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
5546 < if test "${ac_cpu_pentium+set}" = set; then
5547 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5548 < else
5549 <  echo 'void f(){}' > conftest.c
5550 < if test -z "`${CC-cc} -mcpu=pentium -c conftest.c 2>&1`"; then
5551 <        ac_cpu_pentium=yes
5552 < else
5553 <        ac_cpu_pentium=no
5554 < fi
5555 < rm -f conftest*
5556 <
5557 < fi
5558 < echo "$as_me:4174: result: $ac_cpu_pentium" >&5
5559 < echo "${ECHO_T}$ac_cpu_pentium" >&6
5560 < if test "$ac_cpu_pentium" = yes; then
5561 <        :
5562 <        CPU_FLAGS=-mcpu=pentium
5563 < else
5564 <        :
5565 <
5566 < echo "$as_me:4182: checking whether ${CC-cc} accepts -mpentium" >&5
5567 < echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6
5568 < if test "${ac_pentium+set}" = set; then
5569 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5570 < else
5571 <  echo 'void f(){}' > conftest.c
5572 < if test -z "`${CC-cc} -mpentium -c conftest.c 2>&1`"; then
5573 <        ac_pentium=yes
5574 < else
5575 <        ac_pentium=no
5576 < fi
5577 < rm -f conftest*
5578 <
5579 < fi
5580 < echo "$as_me:4196: result: $ac_pentium" >&5
5581 < echo "${ECHO_T}$ac_pentium" >&6
5582 < if test "$ac_pentium" = yes; then
5583 <        :
5584 <        CPU_FLAGS=-mpentium
5585 < else
5586 <        :
5587 <
5588 < fi
5589 <
5590 < fi
5591 <
5592 <                  ;;
5593 <          i686*)
5594 <
5595 < echo "$as_me:4211: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
5596 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6
5597 < if test "${ac_cpu_pentiumpro+set}" = set; then
5598 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5599 < else
5600 <  echo 'void f(){}' > conftest.c
5601 < if test -z "`${CC-cc} -mcpu=pentiumpro -c conftest.c 2>&1`"; then
5602 <        ac_cpu_pentiumpro=yes
5603 < else
5604 <        ac_cpu_pentiumpro=no
5605 < fi
5606 < rm -f conftest*
5607 <
5608 < fi
5609 < echo "$as_me:4225: result: $ac_cpu_pentiumpro" >&5
5610 < echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
5611 < if test "$ac_cpu_pentiumpro" = yes; then
5612 <        :
5613 <        CPU_FLAGS=-mcpu=pentiumpro
5614 < else
5615 <        :
5616 <
5617 < echo "$as_me:4233: checking whether ${CC-cc} accepts -mpentiumpro" >&5
5618 < echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6
5619 < if test "${ac_pentiumpro+set}" = set; then
5620 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5621 < else
5622 <  echo 'void f(){}' > conftest.c
5623 < if test -z "`${CC-cc} -mpentiumpro -c conftest.c 2>&1`"; then
5624 <        ac_pentiumpro=yes
5625 < else
5626 <        ac_pentiumpro=no
5627 < fi
5628 < rm -f conftest*
5629 <
5630 < fi
5631 < echo "$as_me:4247: result: $ac_pentiumpro" >&5
5632 < echo "${ECHO_T}$ac_pentiumpro" >&6
5633 < if test "$ac_pentiumpro" = yes; then
5634 <        :
5635 <        CPU_FLAGS=-mpentiumpro
5636 < else
5637 <        :
5638 <
5639 < fi
5640 <
5641 < fi
5642 <
5643 <                  ;;
5644 <          powerpc*)
5645 <                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
5646 <                is60x=`echo $cputype | egrep "^600-9e?$"`
5647 <                if test -n "$is60x"; then
5648 <
5649 < echo "$as_me:4265: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
5650 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6
5651 < if test "${ac_m_cpu_60x+set}" = set; then
5652 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5653 < else
5654 <  echo 'void f(){}' > conftest.c
5655 < if test -z "`${CC-cc} -mcpu=$cputype -c conftest.c 2>&1`"; then
5656 <        ac_m_cpu_60x=yes
5657 < else
5658 <        ac_m_cpu_60x=no
5659 < fi
5660 < rm -f conftest*
5661 <
5662 < fi
5663 < echo "$as_me:4279: result: $ac_m_cpu_60x" >&5
5664 < echo "${ECHO_T}$ac_m_cpu_60x" >&6
5665 < if test "$ac_m_cpu_60x" = yes; then
5666 <        :
5667 <        CPU_FLAGS=-mcpu=$cputype
5668 < else
5669 <        :
5670 <
5671 < fi
5672 <
5673 <                elif test "$cputype" = 750; then
5674 <
5675 < echo "$as_me:4291: checking whether we are using gcc 2.95 or later" >&5
5676 < echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
5677 < if test "${ac_cv_prog_gcc_2_95+set}" = set; then
5678 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5679 < else
5680 <
5681 < cat > conftest.c <<EOF
5682 < #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
5683 < #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
5684 <     yes;
5685 < #  endif
5686 < #endif
5687 < EOF
5688 < if { ac_try='${CC-cc} -E conftest.c'
5689 <  { (eval echo "$as_me:4305: \"$ac_try\"") >&5
5690 <  (eval $ac_try) 2>&5
5691 <  ac_status=$?
5692 <  echo "$as_me:4308: \$? = $ac_status" >&5
5693 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
5694 <  ac_cv_prog_gcc_2_95=yes
5695 < else
5696 <  ac_cv_prog_gcc_2_95=no
5697 < fi
5698 <
5699 < fi
5700 < echo "$as_me:4316: result: $ac_cv_prog_gcc_2_95" >&5
5701 < echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
5702 < if test "$ac_cv_prog_gcc_2_95" = yes; then
5703 <        :
5704 <
5705 < echo "$as_me:4321: checking whether ${CC-cc} accepts -mcpu=750" >&5
5706 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6
5707 < if test "${ac_m_cpu_750+set}" = set; then
5708 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5709 < else
5710 <  echo 'void f(){}' > conftest.c
5711 < if test -z "`${CC-cc} -mcpu=750 -c conftest.c 2>&1`"; then
5712 <        ac_m_cpu_750=yes
5713 < else
5714 <        ac_m_cpu_750=no
5715 < fi
5716 < rm -f conftest*
5717 <
5718 < fi
5719 < echo "$as_me:4335: result: $ac_m_cpu_750" >&5
5720 < echo "${ECHO_T}$ac_m_cpu_750" >&6
5721 < if test "$ac_m_cpu_750" = yes; then
5722 <        :
5723 <        CPU_FLAGS=-mcpu=750
5724 < else
5725 <        :
5726 <
5727 < fi
5728 <
5729 < else
5730 <        :
5731 <
5732 < fi
5733 <
5734 <                fi
5735 <                if test -z "$CPU_FLAGS"; then
5736 <
5737 < echo "$as_me:4353: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
5738 < echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6
5739 < if test "${ac_m_cpu_powerpc+set}" = set; then
5740 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5741 < else
5742 <  echo 'void f(){}' > conftest.c
5743 < if test -z "`${CC-cc} -mcpu=powerpc -c conftest.c 2>&1`"; then
5744 <        ac_m_cpu_powerpc=yes
5745 < else
5746 <        ac_m_cpu_powerpc=no
5747 < fi
5748 < rm -f conftest*
5749 <
5750 < fi
5751 < echo "$as_me:4367: result: $ac_m_cpu_powerpc" >&5
5752 < echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
5753 < if test "$ac_m_cpu_powerpc" = yes; then
5754 <        :
5755 <        CPU_FLAGS=-mcpu=powerpc
5756 < else
5757 <        :
5758 <
5759 < fi
5760 <
5761 <                fi
5762 <                if test -z "$CPU_FLAGS"; then
5763 <
5764 < echo "$as_me:4380: checking whether ${CC-cc} accepts -mpowerpc" >&5
5765 < echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6
5766 < if test "${ac_m_powerpc+set}" = set; then
5767 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5768 < else
5769 <  echo 'void f(){}' > conftest.c
5770 < if test -z "`${CC-cc} -mpowerpc -c conftest.c 2>&1`"; then
5771 <        ac_m_powerpc=yes
5772 < else
5773 <        ac_m_powerpc=no
5774 < fi
5775 < rm -f conftest*
5776 <
5777 < fi
5778 < echo "$as_me:4394: result: $ac_m_powerpc" >&5
5779 < echo "${ECHO_T}$ac_m_powerpc" >&6
5780 < if test "$ac_m_powerpc" = yes; then
5781 <        :
5782 <        CPU_FLAGS=-mpowerpc
5783 < else
5784 <        :
5785 <
5786 < fi
5787 <
5788 <                fi
5789 <          esac
5790 <  fi
5791 <
5792 <  if test -n "$CPU_FLAGS"; then
5793 <        CFLAGS="$CFLAGS $CPU_FLAGS"
5794 <  fi
5795 <
5796 <  if test -z "$CFLAGS"; then
5797 <        echo ""
5798 <        echo "********************************************************"
5799 <        echo "* WARNING: Don't know the best CFLAGS for this system  *"
5800 <        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
5801 <        echo "* (otherwise, a default of CFLAGS=-O3 will be used)    *"
5802 <        echo "********************************************************"
5803 <        echo ""
5804 <        CFLAGS="-O3"
5805 <  fi
5806 <
5807 < echo "$as_me:4423: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
5808 < echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6
5809 < if test "${ac_guessed_cflags+set}" = set; then
5810 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5811 < else
5812 <  echo 'void f(){}' > conftest.c
5813 < if test -z "`${CC-cc} ${CFLAGS} -c conftest.c 2>&1`"; then
5814 <        ac_guessed_cflags=yes
5815 < else
5816 <        ac_guessed_cflags=no
5817 < fi
5818 < rm -f conftest*
5819 <
5820 < fi
5821 < echo "$as_me:4437: result: $ac_guessed_cflags" >&5
5822 < echo "${ECHO_T}$ac_guessed_cflags" >&6
5823 < if test "$ac_guessed_cflags" = yes; then
5824 <        :
5825 <
5826 < else
5827 <        :
5828 <
5829 <        echo ""
5830 <        echo "********************************************************"
5831 <        echo "* WARNING: The guessed CFLAGS don't seem to work with  *"
5832 <        echo "* your compiler.                                       *"
5833 <        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
5834 <        echo "********************************************************"
5835 <        echo ""
5836 <        CFLAGS=""
5837 <
5838 < fi
5839 <
5840 < fi
5841 <
5842 < echo "$as_me:4458: checking whether we are *really* using GNU c++" >&5
5843 < echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6
5844 < if test "${ac_cv_prog_really_gxx+set}" = set; then
5845 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5846 < else
5847 <
5848 < cat > conftest.cpp <<EOF
5849 < #ifdef __GNUC__
5850 <  #ifndef __INTEL_COMPILER
5851 <     yes;
5852 <  #endif
5853 < #endif
5854 < EOF
5855 < if { ac_try='${CXX-c++} -E conftest.cpp'
5856 <  { (eval echo "$as_me:4472: \"$ac_try\"") >&5
5857 <  (eval $ac_try) 2>&5
5858 <  ac_status=$?
5859 <  echo "$as_me:4475: \$? = $ac_status" >&5
5860 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
5861 <  ac_cv_prog_really_gxx=yes
5862 < else
5863 <  ac_cv_prog_really_gxx=no
5864 < fi
5865 <
5866 < fi
5867 < echo "$as_me:4483: result: $ac_cv_prog_really_gxx" >&5
5868 < echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6
5869 < if test "$ac_cv_prog_really_gxx" = yes; then
5870 <        :
5871 <
5872 < else
5873 <        :
5874 <
5875 < fi
5876 <
5877 < # Try to determine "good" native compiler flags if none specified on command
5878 < # line
5879 < if test "$ac_test_CXXFLAGS" != "set"; then
5880 <  CXXFLAGS=""
5881 <  case "${host_cpu}-${host_os}" in
5882 <
5883 <  *linux*) if test "$CXX" = icc -o "$CXX" = icpc; then
5884 <                    CXXFLAGS="-O"
5885 <                fi;;
5886 <  sparc-solaris2*) if test "$CXX" = CC; then
5887 <                    CXXFLAGS="-native -fast -xO5 -dalign"
5888 <                 fi;;
5889 <   rs6000*-aix*)  if test "$CXX" = xlC; then
5890 <                    CXXFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
5891 <                fi;;
5892 <   powerpc*-aix*)
5893 <        if test "$CXX" = xlC; then
5894 <                CXXFLAGS="-O3 -qarch=ppc -qansialias -w"
5895 <                echo "*******************************************************"
5896 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
5897 <                echo "*  recommended that you use                           *"
5898 <                echo "*                                                     *"
5899 <                echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
5900 <                echo "*                                 ^^^                 *"
5901 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
5902 <                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
5903 <                echo "*******************************************************"
5904 <        fi;;
5905 <   *darwin*)
5906 <        if test "$CXX" = xlc++ -o "$CXX" = xlC ; then
5907 <                CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
5908 <        fi;;
5909 <  esac
5910 <
5911 <  # use default flags for gcc on all systems
5912 <  if test $ac_cv_prog_really_gxx = yes; then
5913 <     CXXFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
5914 <  fi
5915 <
5916 <  # test for gcc-specific flags:
5917 <  if test $ac_cv_prog_really_gxx = yes; then
5918 <    # -malign-double for x86 systems
5919 <
5920 < echo "$as_me:4536: checking whether ${CXX-c++} accepts -malign-double" >&5
5921 < echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6
5922 < if test "${ac_align_double+set}" = set; then
5923 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5924 < else
5925 <  echo 'void f(){}' > conftest.cpp
5926 < if test -z "`${CXX-c++} -malign-double -c conftest.cpp 2>&1`"; then
5927 <        ac_align_double=yes
5928 < else
5929 <        ac_align_double=no
5930 < fi
5931 < rm -f conftest*
5932 <
5933 < fi
5934 < echo "$as_me:4550: result: $ac_align_double" >&5
5935 < echo "${ECHO_T}$ac_align_double" >&6
5936 < if test "$ac_align_double" = yes; then
5937 <        :
5938 <        CXXFLAGS="$CXXFLAGS -malign-double"
5939 < else
5940 <        :
5941 <
5942 < fi
5943 <
5944 <    # -fstrict-aliasing for gcc-2.95+
5945 <
5946 < echo "$as_me:4562: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
5947 < echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6
5948 < if test "${ac_fstrict_aliasing+set}" = set; then
5949 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5950 < else
5951 <  echo 'void f(){}' > conftest.cpp
5952 < if test -z "`${CXX-c++} -fstrict-aliasing -c conftest.cpp 2>&1`"; then
5953 <        ac_fstrict_aliasing=yes
5954 < else
5955 <        ac_fstrict_aliasing=no
5956 < fi
5957 < rm -f conftest*
5958 <
5959 < fi
5960 < echo "$as_me:4576: result: $ac_fstrict_aliasing" >&5
5961 < echo "${ECHO_T}$ac_fstrict_aliasing" >&6
5962 < if test "$ac_fstrict_aliasing" = yes; then
5963 <        :
5964 <        CXXFLAGS="$CXXFLAGS -fstrict-aliasing"
5965 < else
5966 <        :
5967 <
5968 < fi
5969 <
5970 <  fi
5971 <
5972 <  CPU_FLAGS=""
5973 <  if test $ac_cv_prog_really_gxx = yes; then
5974 <                  case "${host_cpu}" in
5975 <          i586*)
5976 <
5977 < echo "$as_me:4593: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5
5978 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentium... $ECHO_C" >&6
5979 < if test "${ac_cpu_pentium+set}" = set; then
5980 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5981 < else
5982 <  echo 'void f(){}' > conftest.cpp
5983 < if test -z "`${CXX-c++} -mcpu=pentium -c conftest.cpp 2>&1`"; then
5984 <        ac_cpu_pentium=yes
5985 < else
5986 <        ac_cpu_pentium=no
5987 < fi
5988 < rm -f conftest*
5989 <
5990 < fi
5991 < echo "$as_me:4607: result: $ac_cpu_pentium" >&5
5992 < echo "${ECHO_T}$ac_cpu_pentium" >&6
5993 < if test "$ac_cpu_pentium" = yes; then
5994 <        :
5995 <        CPU_FLAGS=-mcpu=pentium
5996 < else
5997 <        :
5998 <
5999 < echo "$as_me:4615: checking whether ${CXX-c++} accepts -mpentium" >&5
6000 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6
6001 < if test "${ac_pentium+set}" = set; then
6002 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6003 < else
6004 <  echo 'void f(){}' > conftest.cpp
6005 < if test -z "`${CXX-c++} -mpentium -c conftest.cpp 2>&1`"; then
6006 <        ac_pentium=yes
6007 < else
6008 <        ac_pentium=no
6009 < fi
6010 < rm -f conftest*
6011 <
6012 < fi
6013 < echo "$as_me:4629: result: $ac_pentium" >&5
6014 < echo "${ECHO_T}$ac_pentium" >&6
6015 < if test "$ac_pentium" = yes; then
6016 <        :
6017 <        CPU_FLAGS=-mpentium
6018 < else
6019 <        :
6020 <
6021 < fi
6022 <
6023 < fi
6024 <
6025 <                  ;;
6026 <          i686*)
6027 <
6028 < echo "$as_me:4644: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
6029 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6
6030 < if test "${ac_cpu_pentiumpro+set}" = set; then
6031 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6032 < else
6033 <  echo 'void f(){}' > conftest.cpp
6034 < if test -z "`${CXX-c++} -mcpu=pentiumpro -c conftest.cpp 2>&1`"; then
6035 <        ac_cpu_pentiumpro=yes
6036 < else
6037 <        ac_cpu_pentiumpro=no
6038 < fi
6039 < rm -f conftest*
6040 <
6041 < fi
6042 < echo "$as_me:4658: result: $ac_cpu_pentiumpro" >&5
6043 < echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
6044 < if test "$ac_cpu_pentiumpro" = yes; then
6045 <        :
6046 <        CPU_FLAGS=-mcpu=pentiumpro
6047 < else
6048 <        :
6049 <
6050 < echo "$as_me:4666: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
6051 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6
6052 < if test "${ac_pentiumpro+set}" = set; then
6053 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6054 < else
6055 <  echo 'void f(){}' > conftest.cpp
6056 < if test -z "`${CXX-c++} -mpentiumpro -c conftest.cpp 2>&1`"; then
6057 <        ac_pentiumpro=yes
6058 < else
6059 <        ac_pentiumpro=no
6060 < fi
6061 < rm -f conftest*
6062 <
6063 < fi
6064 < echo "$as_me:4680: result: $ac_pentiumpro" >&5
6065 < echo "${ECHO_T}$ac_pentiumpro" >&6
6066 < if test "$ac_pentiumpro" = yes; then
6067 <        :
6068 <        CPU_FLAGS=-mpentiumpro
6069 < else
6070 <        :
6071 <
6072 < fi
6073 <
6074 < fi
6075 <
6076 <                  ;;
6077 <          powerpc*)
6078 <                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
6079 <                is60x=`echo $cputype | egrep "^600-9e?$"`
6080 <                if test -n "$is60x"; then
6081 <
6082 < echo "$as_me:4698: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
6083 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6
6084 < if test "${ac_m_cpu_60x+set}" = set; then
6085 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6086 < else
6087 <  echo 'void f(){}' > conftest.cpp
6088 < if test -z "`${CXX-c++} -mcpu=$cputype -c conftest.cpp 2>&1`"; then
6089 <        ac_m_cpu_60x=yes
6090 < else
6091 <        ac_m_cpu_60x=no
6092 < fi
6093 < rm -f conftest*
6094 <
6095 < fi
6096 < echo "$as_me:4712: result: $ac_m_cpu_60x" >&5
6097 < echo "${ECHO_T}$ac_m_cpu_60x" >&6
6098 < if test "$ac_m_cpu_60x" = yes; then
6099 <        :
6100 <        CPU_FLAGS=-mcpu=$cputype
6101 < else
6102 <        :
6103 <
6104 < fi
6105 <
6106 <                elif test "$cputype" = 750; then
6107 <
6108 < echo "$as_me:4724: checking whether we are using g++ 2.95 or later" >&5
6109 < echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6
6110 < if test "${ac_cv_prog_gxx_2_95+set}" = set; then
6111 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6112 < else
6113 <
6114 < cat > conftest.cpp <<EOF
6115 < #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
6116 < #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
6117 <     yes;
6118 < #  endif
6119 < #endif
6120 < EOF
6121 < if { ac_try='${CXX-c++} -E conftest.cpp'
6122 <  { (eval echo "$as_me:4738: \"$ac_try\"") >&5
6123 <  (eval $ac_try) 2>&5
6124 <  ac_status=$?
6125 <  echo "$as_me:4741: \$? = $ac_status" >&5
6126 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6127 <  ac_cv_prog_gxx_2_95=yes
6128 < else
6129 <  ac_cv_prog_gxx_2_95=no
6130 < fi
6131 <
6132 < fi
6133 < echo "$as_me:4749: result: $ac_cv_prog_gxx_2_95" >&5
6134 < echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6
6135 < if test "$ac_cv_prog_gxx_2_95" = yes; then
6136 <        :
6137 <
6138 < echo "$as_me:4754: checking whether ${CXX-c++} accepts -mcpu=750" >&5
6139 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6
6140 < if test "${ac_m_cpu_750+set}" = set; then
6141 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6142 < else
6143 <  echo 'void f(){}' > conftest.cpp
6144 < if test -z "`${CXX-c++} -mcpu=750 -c conftest.cpp 2>&1`"; then
6145 <        ac_m_cpu_750=yes
6146 < else
6147 <        ac_m_cpu_750=no
6148 < fi
6149 < rm -f conftest*
6150 <
6151 < fi
6152 < echo "$as_me:4768: result: $ac_m_cpu_750" >&5
6153 < echo "${ECHO_T}$ac_m_cpu_750" >&6
6154 < if test "$ac_m_cpu_750" = yes; then
6155 <        :
6156 <        CPU_FLAGS=-mcpu=750
6157 < else
6158 <        :
6159 <
6160 < fi
6161 <
6162 < else
6163 <        :
6164 <
6165 < fi
6166 <
6167 <                fi
6168 <                if test -z "$CPU_FLAGS"; then
6169 <
6170 < echo "$as_me:4786: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
6171 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6
6172 < if test "${ac_m_cpu_powerpc+set}" = set; then
6173 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6174 < else
6175 <  echo 'void f(){}' > conftest.cpp
6176 < if test -z "`${CXX-c++} -mcpu=powerpc -c conftest.cpp 2>&1`"; then
6177 <        ac_m_cpu_powerpc=yes
6178 < else
6179 <        ac_m_cpu_powerpc=no
6180 < fi
6181 < rm -f conftest*
6182 <
6183 < fi
6184 < echo "$as_me:4800: result: $ac_m_cpu_powerpc" >&5
6185 < echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
6186 < if test "$ac_m_cpu_powerpc" = yes; then
6187 <        :
6188 <        CPU_FLAGS=-mcpu=powerpc
6189 < else
6190 <        :
6191 <
6192 < fi
6193 <
6194 <                fi
6195 <                if test -z "$CPU_FLAGS"; then
6196 <
6197 < echo "$as_me:4813: checking whether ${CXX-c++} accepts -mpowerpc" >&5
6198 < echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6
6199 < if test "${ac_m_powerpc+set}" = set; then
6200 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6201 < else
6202 <  echo 'void f(){}' > conftest.cpp
6203 < if test -z "`${CXX-c++} -mpowerpc -c conftest.cpp 2>&1`"; then
6204 <        ac_m_powerpc=yes
6205 < else
6206 <        ac_m_powerpc=no
6207 < fi
6208 < rm -f conftest*
6209 <
6210 < fi
6211 < echo "$as_me:4827: result: $ac_m_powerpc" >&5
6212 < echo "${ECHO_T}$ac_m_powerpc" >&6
6213 < if test "$ac_m_powerpc" = yes; then
6214 <        :
6215 <        CPU_FLAGS=-mpowerpc
6216 < else
6217 <        :
6218 <
6219 < fi
6220 <
6221 <                fi
6222 <          esac
6223 <  fi
6224 <
6225 <  if test -n "$CPU_FLAGS"; then
6226 <        CXXFLAGS="$CXXFLAGS $CPU_FLAGS"
6227 <  fi
6228 <
6229 <  if test -z "$CXXFLAGS"; then
6230 <        echo ""
6231 <        echo "**********************************************************"
6232 <        echo "* WARNING: Don't know the best CXXFLAGS for this system  *"
6233 <        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
6234 <        echo "* (otherwise, a default of CXXFLAGS=-O3 will be used)    *"
6235 <        echo "**********************************************************"
6236 <        echo ""
6237 <        CXXFLAGS="-O3"
6238 <  fi
6239 <
6240 < echo "$as_me:4856: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
6241 < echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6
6242 < if test "${ac_guessed_cxxflags+set}" = set; then
6243 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6244 < else
6245 <  echo 'void f(){}' > conftest.cpp
6246 < if test -z "`${CXX-c++} ${CXXFLAGS} -c conftest.cpp 2>&1`"; then
6247 <        ac_guessed_cxxflags=yes
6248 < else
6249 <        ac_guessed_cxxflags=no
6250 < fi
6251 < rm -f conftest*
6252 <
6253 < fi
6254 < echo "$as_me:4870: result: $ac_guessed_cxxflags" >&5
6255 < echo "${ECHO_T}$ac_guessed_cxxflags" >&6
6256 < if test "$ac_guessed_cxxflags" = yes; then
6257 <        :
6258 <
6259 < else
6260 <        :
6261 <
6262 <        echo ""
6263 <        echo "**********************************************************"
6264 <        echo "* WARNING: The guessed CXXFLAGS don't seem to work with  *"
6265 <        echo "* your compiler.                                         *"
6266 <        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
6267 <        echo "**********************************************************"
6268 <        echo ""
6269 <        CXXFLAGS=""
6270 <
6271 < fi
6272 <
6273 < fi
6274 <
6275 < # Try to determine "good" native compiler flags if none specified on command
6276 < # line
6277 <
6278 < if test x"$F90FLAGS" = x ; then
6279 <  F90FLAGS=""
6280 <  case "${host_cpu}-${host_os}" in
6281 <
6282 <  *linux*) if test "$F90" = ifc -o "$F90" = ifort; then
6283 <                    F90FLAGS="-O"
6284 <                fi;;
6285 <   rs6000*-aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
6286 <                    F90FLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
6287 <                fi;;
6288 <   powerpc*-aix*)
6289 <        if test "$F90" = f90 -o "$F90" = xlf90; then
6290 <                F90FLAGS="-O3 -qarch=ppc -qansialias -w"
6291 <                echo "*******************************************************"
6292 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
6293 <                echo "*  recommended that you use                           *"
6294 <                echo "*                                                     *"
6295 <                echo "*  F90FLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
6296 <                echo "*                                 ^^^                 *"
6297 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
6298 <                echo "*  PowerPC CPU you have.   For more info, man xlf.    *"
6299 <                echo "*******************************************************"
6300 <        fi;;
6301 <   *darwin*)
6302 <        if test "$F90" = f90 -o "$F90" = xlf90 -o "$F90" = xlf95; then
6303 <                F90FLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto"
6304 <        fi;;
6305 <  esac
6306 <
6307 <  if test -n "$CPU_FLAGS"; then
6308 <        F90FLAGS="$F90FLAGS $CPU_FLAGS"
6309 <  fi
6310 <
6311 <  if test -z "$F90FLAGS"; then
6312 <        echo ""
6313 <        echo "**********************************************************"
6314 <        echo "* WARNING: Don't know the best F90FLAGS for this system  *"
6315 <        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
6316 <        echo "* (otherwise, a default of F90FLAGS=-O3 will be used)    *"
6317 <        echo "**********************************************************"
6318 <        echo ""
6319 <        F90FLAGS="-O3"
6320 <  fi
6321 <
6322 < echo "$as_me:4938: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
6323 < echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6
6324 < if test "${ac_guessed_f90flags+set}" = set; then
6325 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6326 < else
6327 <
6328 < ac_ext=f90
6329 < ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
6330 < ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6331 < ac_compiler_gnu=$ac_cv_f90_compiler_gnu
6332 <
6333 < echo 'program main' > conftest.$ac_ext
6334 < echo 'end program main' >> conftest.$ac_ext
6335 < ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5'
6336 < if { (eval echo "$as_me:4952: \"$ac_compile\"") >&5
6337 <  (eval $ac_compile) 2>&5
6338 <  ac_status=$?
6339 <  echo "$as_me:4955: \$? = $ac_status" >&5
6340 <  (exit $ac_status); }; then
6341 <        ac_guessed_f90flags=yes
6342 < else
6343 <        ac_guessed_f90flags=no
6344 < fi
6345 < rm -f conftest*
6346 < ac_ext=c
6347 < ac_cpp='$CPP $CPPFLAGS'
6348 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6349 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6350 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
6351 <
6352 < fi
6353 < echo "$as_me:4969: result: $ac_guessed_f90flags" >&5
6354 < echo "${ECHO_T}$ac_guessed_f90flags" >&6
6355 < if test "$ac_guessed_f90flags" = yes; then
6356 <        :
6357 <
6358 < else
6359 <        :
6360 <
6361 <        echo ""
6362 <        echo "**********************************************************"
6363 <        echo "* WARNING: The guessed F90FLAGS don't seem to work with  *"
6364 <        echo "* your compiler.                                         *"
6365 <        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
6366 <        echo "**********************************************************"
6367 <        echo ""
6368 <        F90FLAGS=""
6369 <
6370 < fi
6371 <
6372 < fi
6373 <
6374 <     ;;
6375 < esac
6376 <
6377 < # Find a good install program.  We prefer a C program (faster),
6378 < # so one script is as good as another.  But avoid the broken or
6379 < # incompatible versions:
6380 < # SysV /etc/install, /usr/sbin/install
6381 < # SunOS /usr/etc/install
6382 < # IRIX /sbin/install
6383 < # AIX /bin/install
6384 < # AmigaOS /C/install, which installs bootblocks on floppy discs
6385 < # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6386 < # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6387 < # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6388 < # ./install, which can be erroneously created by make from ./install.sh.
6389 < echo "$as_me:5005: checking for a BSD compatible install" >&5
6390 < echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
6391 < if test -z "$INSTALL"; then
6392 < if test "${ac_cv_path_install+set}" = set; then
6393 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6394 < else
6395 <    ac_save_IFS=$IFS; IFS=$ac_path_separator
6396 <  for ac_dir in $PATH; do
6397 <    IFS=$ac_save_IFS
6398 <    # Account for people who put trailing slashes in PATH elements.
6399 <    case $ac_dir/ in
6400 <    / | ./ | .// | /cC/* \
6401 <    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
6402 <    | /usr/ucb/* ) ;;
6403 <    *)
6404 <      # OSF1 and SCO ODT 3.0 have their own names for install.
6405 <      # Don't use installbsd from OSF since it installs stuff as root
6406 <      # by default.
6407 <      for ac_prog in ginstall scoinst install; do
6408 <        if $as_executable_p "$ac_dir/$ac_prog"; then
6409 <          if test $ac_prog = install &&
6410 <            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
6411 <            # AIX install.  It has an incompatible calling convention.
6412 <            :
6413 <          elif test $ac_prog = install &&
6414 <            grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
6415 <            # program-specific install script used by HP pwplus--don't use.
6416 <            :
6417 <          else
6418 <            ac_cv_path_install="$ac_dir/$ac_prog -c"
6419 <            break 2
6420 <          fi
6421 <        fi
6422 <      done
6423 <      ;;
6424 <    esac
6425 <  done
6426 <
6427 < fi
6428 <  if test "${ac_cv_path_install+set}" = set; then
6429 <    INSTALL=$ac_cv_path_install
6430 <  else
6431 <    # As a last resort, use the slow shell script.  We don't cache a
6432 <    # path for INSTALL within a source directory, because that will
6433 <    # break other packages using the cache if that directory is
6434 <    # removed, or if the path is relative.
6435 <    INSTALL=$ac_install_sh
6436 <  fi
6437 < fi
6438 < echo "$as_me:5054: result: $INSTALL" >&5
6439 < echo "${ECHO_T}$INSTALL" >&6
6440 <
6441 < # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6442 < # It thinks the first close brace ends the variable substitution.
6443 < test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6444 <
6445 < test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6446 <
6447 < test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6448 <
6449 < echo "$as_me:5065: checking whether ln -s works" >&5
6450 < echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
6451 < LN_S=$as_ln_s
6452 < if test "$LN_S" = "ln -s"; then
6453 <  echo "$as_me:5069: result: yes" >&5
6454 < echo "${ECHO_T}yes" >&6
6455 < else
6456 <  echo "$as_me:5072: result: no, using $LN_S" >&5
6457 < echo "${ECHO_T}no, using $LN_S" >&6
6458 < fi
6459 <
6460 < echo "$as_me:5076: checking whether ${MAKE-make} sets \${MAKE}" >&5
6461 < echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
6462 < set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
6463 < if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
6464 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6465 < else
6466 <  cat >conftest.make <<\EOF
6467 < all:
6468 <        @echo 'ac_maketemp="${MAKE}"'
6469 < EOF
6470 < # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6471 < eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
6472 < if test -n "$ac_maketemp"; then
6473 <  eval ac_cv_prog_make_${ac_make}_set=yes
6474 < else
6475 <  eval ac_cv_prog_make_${ac_make}_set=no
6476 < fi
6477 < rm -f conftest.make
6478 < fi
6479 < if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
6480 <  echo "$as_me:5096: result: yes" >&5
6481 < echo "${ECHO_T}yes" >&6
6482 <  SET_MAKE=
6483 < else
6484 <  echo "$as_me:5100: result: no" >&5
6485 < echo "${ECHO_T}no" >&6
6486 <  SET_MAKE="MAKE=${MAKE-make}"
6487 < fi
6488 <
6489 < if test -n "$ac_tool_prefix"; then
6490 <  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6491 < set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6492 < echo "$as_me:5108: checking for $ac_word" >&5
6493 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6494 < if test "${ac_cv_prog_RANLIB+set}" = set; then
6495 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6496 < else
6497 <  if test -n "$RANLIB"; then
6498 <  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6499 < else
6500 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
6501 < ac_dummy="$PATH"
6502 < for ac_dir in $ac_dummy; do
6503 <  IFS=$ac_save_IFS
6504 <  test -z "$ac_dir" && ac_dir=.
6505 <  $as_executable_p "$ac_dir/$ac_word" || continue
6506 < ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6507 < echo "$as_me:5123: found $ac_dir/$ac_word" >&5
6508 < break
6509 < done
6510 <
6511 < fi
6512 < fi
6513 < RANLIB=$ac_cv_prog_RANLIB
6514 < if test -n "$RANLIB"; then
6515 <  echo "$as_me:5131: result: $RANLIB" >&5
6516 < echo "${ECHO_T}$RANLIB" >&6
6517 < else
6518 <  echo "$as_me:5134: result: no" >&5
6519 < echo "${ECHO_T}no" >&6
6520 < fi
6521 <
6522 < fi
6523 < if test -z "$ac_cv_prog_RANLIB"; then
6524 <  ac_ct_RANLIB=$RANLIB
6525 <  # Extract the first word of "ranlib", so it can be a program name with args.
6526 < set dummy ranlib; ac_word=$2
6527 < echo "$as_me:5143: checking for $ac_word" >&5
6528 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6529 < if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6530 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6531 < else
6532 <  if test -n "$ac_ct_RANLIB"; then
6533 <  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6534 < else
6535 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
6536 < ac_dummy="$PATH"
6537 < for ac_dir in $ac_dummy; do
6538 <  IFS=$ac_save_IFS
6539 <  test -z "$ac_dir" && ac_dir=.
6540 <  $as_executable_p "$ac_dir/$ac_word" || continue
6541 < ac_cv_prog_ac_ct_RANLIB="ranlib"
6542 < echo "$as_me:5158: found $ac_dir/$ac_word" >&5
6543 < break
6544 < done
6545 <
6546 <  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6547 < fi
6548 < fi
6549 < ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6550 < if test -n "$ac_ct_RANLIB"; then
6551 <  echo "$as_me:5167: result: $ac_ct_RANLIB" >&5
6552 < echo "${ECHO_T}$ac_ct_RANLIB" >&6
6553 < else
6554 <  echo "$as_me:5170: result: no" >&5
6555 < echo "${ECHO_T}no" >&6
6556 < fi
6557 <
6558 <  RANLIB=$ac_ct_RANLIB
6559 < else
6560 <  RANLIB="$ac_cv_prog_RANLIB"
6561 < fi
6562 <
6563 < for ac_prog in 'bison -y' byacc
6564 < do
6565 <  # Extract the first word of "$ac_prog", so it can be a program name with args.
6566 < set dummy $ac_prog; ac_word=$2
6567 < echo "$as_me:5183: checking for $ac_word" >&5
6568 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6569 < if test "${ac_cv_prog_YACC+set}" = set; then
6570 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6571 < else
6572 <  if test -n "$YACC"; then
6573 <  ac_cv_prog_YACC="$YACC" # Let the user override the test.
6574 < else
6575 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
6576 < ac_dummy="$PATH"
6577 < for ac_dir in $ac_dummy; do
6578 <  IFS=$ac_save_IFS
6579 <  test -z "$ac_dir" && ac_dir=.
6580 <  $as_executable_p "$ac_dir/$ac_word" || continue
6581 < ac_cv_prog_YACC="$ac_prog"
6582 < echo "$as_me:5198: found $ac_dir/$ac_word" >&5
6583 < break
6584 < done
6585 <
6586 < fi
6587 < fi
6588 < YACC=$ac_cv_prog_YACC
6589 < if test -n "$YACC"; then
6590 <  echo "$as_me:5206: result: $YACC" >&5
6591 < echo "${ECHO_T}$YACC" >&6
6592 < else
6593 <  echo "$as_me:5209: result: no" >&5
6594 < echo "${ECHO_T}no" >&6
6595 < fi
6596 <
6597 <  test -n "$YACC" && break
6598 < done
6599 < test -n "$YACC" || YACC="yacc"
6600 <
6601 < for ac_prog in flex lex
6602 < do
6603 <  # Extract the first word of "$ac_prog", so it can be a program name with args.
6604 < set dummy $ac_prog; ac_word=$2
6605 < echo "$as_me:5221: checking for $ac_word" >&5
6606 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6607 < if test "${ac_cv_prog_LEX+set}" = set; then
6608 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6609 < else
6610 <  if test -n "$LEX"; then
6611 <  ac_cv_prog_LEX="$LEX" # Let the user override the test.
6612 < else
6613 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
6614 < ac_dummy="$PATH"
6615 < for ac_dir in $ac_dummy; do
6616 <  IFS=$ac_save_IFS
6617 <  test -z "$ac_dir" && ac_dir=.
6618 <  $as_executable_p "$ac_dir/$ac_word" || continue
6619 < ac_cv_prog_LEX="$ac_prog"
6620 < echo "$as_me:5236: found $ac_dir/$ac_word" >&5
6621 < break
6622 < done
6623 <
6624 < fi
6625 < fi
6626 < LEX=$ac_cv_prog_LEX
6627 < if test -n "$LEX"; then
6628 <  echo "$as_me:5244: result: $LEX" >&5
6629 < echo "${ECHO_T}$LEX" >&6
6630 < else
6631 <  echo "$as_me:5247: result: no" >&5
6632 < echo "${ECHO_T}no" >&6
6633 < fi
6634 <
6635 <  test -n "$LEX" && break
6636 < done
6637 < test -n "$LEX" || LEX=":"
6638 <
6639 < if test -z "$LEXLIB"
6640 < then
6641 <  echo "$as_me:5257: checking for yywrap in -lfl" >&5
6642 < echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
6643 < if test "${ac_cv_lib_fl_yywrap+set}" = set; then
6644 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6645 < else
6646 <  ac_check_lib_save_LIBS=$LIBS
6647 < LIBS="-lfl  $LIBS"
6648 < cat >conftest.$ac_ext <<_ACEOF
6649 < #line 5265 "configure"
6650 < #include "confdefs.h"
6651 <
6652 < /* Override any gcc2 internal prototype to avoid an error.  */
6653 < #ifdef __cplusplus
6654 < extern "C"
6655 < #endif
6656 < /* We use char because int might match the return type of a gcc2
6657 <   builtin and then its argument prototype would still apply.  */
6658 < char yywrap ();
6659 < int
6660 < main ()
6661 < {
6662 < yywrap ();
6663 <  ;
6664 <  return 0;
6665 < }
6666 < _ACEOF
6667 < rm -f conftest.$ac_objext conftest$ac_exeext
6668 < if { (eval echo "$as_me:5284: \"$ac_link\"") >&5
6669 <  (eval $ac_link) 2>&5
6670 <  ac_status=$?
6671 <  echo "$as_me:5287: \$? = $ac_status" >&5
6672 <  (exit $ac_status); } &&
6673 <         { ac_try='test -s conftest$ac_exeext'
6674 <  { (eval echo "$as_me:5290: \"$ac_try\"") >&5
6675 <  (eval $ac_try) 2>&5
6676 <  ac_status=$?
6677 <  echo "$as_me:5293: \$? = $ac_status" >&5
6678 <  (exit $ac_status); }; }; then
6679 <  ac_cv_lib_fl_yywrap=yes
6680 < else
6681 <  echo "$as_me: failed program was:" >&5
6682 < cat conftest.$ac_ext >&5
6683 < ac_cv_lib_fl_yywrap=no
6684 < fi
6685 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6686 < LIBS=$ac_check_lib_save_LIBS
6687 < fi
6688 < echo "$as_me:5304: result: $ac_cv_lib_fl_yywrap" >&5
6689 < echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
6690 < if test $ac_cv_lib_fl_yywrap = yes; then
6691 <  LEXLIB="-lfl"
6692 < else
6693 <  echo "$as_me:5309: checking for yywrap in -ll" >&5
6694 < echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
6695 < if test "${ac_cv_lib_l_yywrap+set}" = set; then
6696 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6697 < else
6698 <  ac_check_lib_save_LIBS=$LIBS
6699 < LIBS="-ll  $LIBS"
6700 < cat >conftest.$ac_ext <<_ACEOF
6701 < #line 5317 "configure"
6702 < #include "confdefs.h"
6703 <
6704 < /* Override any gcc2 internal prototype to avoid an error.  */
6705 < #ifdef __cplusplus
6706 < extern "C"
6707 < #endif
6708 < /* We use char because int might match the return type of a gcc2
6709 <   builtin and then its argument prototype would still apply.  */
6710 < char yywrap ();
6711 < int
6712 < main ()
6713 < {
6714 < yywrap ();
6715 <  ;
6716 <  return 0;
6717 < }
6718 < _ACEOF
6719 < rm -f conftest.$ac_objext conftest$ac_exeext
6720 < if { (eval echo "$as_me:5336: \"$ac_link\"") >&5
6721 <  (eval $ac_link) 2>&5
6722 <  ac_status=$?
6723 <  echo "$as_me:5339: \$? = $ac_status" >&5
6724 <  (exit $ac_status); } &&
6725 <         { ac_try='test -s conftest$ac_exeext'
6726 <  { (eval echo "$as_me:5342: \"$ac_try\"") >&5
6727 <  (eval $ac_try) 2>&5
6728 <  ac_status=$?
6729 <  echo "$as_me:5345: \$? = $ac_status" >&5
6730 <  (exit $ac_status); }; }; then
6731 <  ac_cv_lib_l_yywrap=yes
6732 < else
6733 <  echo "$as_me: failed program was:" >&5
6734 < cat conftest.$ac_ext >&5
6735 < ac_cv_lib_l_yywrap=no
6736 < fi
6737 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6738 < LIBS=$ac_check_lib_save_LIBS
6739 < fi
6740 < echo "$as_me:5356: result: $ac_cv_lib_l_yywrap" >&5
6741 < echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
6742 < if test $ac_cv_lib_l_yywrap = yes; then
6743 <  LEXLIB="-ll"
6744 < fi
6745 <
6746 < fi
6747 <
6748 < fi
6749 <
6750 < if test "x$LEX" != "x:"; then
6751 <  echo "$as_me:5367: checking lex output file root" >&5
6752 < echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
6753 < if test "${ac_cv_prog_lex_root+set}" = set; then
6754 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6755 < else
6756 <  # The minimal lex program is just a single line: %%.  But some broken lexes
6757 < # (Solaris, I think it was) want two %% lines, so accommodate them.
6758 < echo '%%
6759 < %%' | $LEX
6760 < if test -f lex.yy.c; then
6761 <  ac_cv_prog_lex_root=lex.yy
6762 < elif test -f lexyy.c; then
6763 <  ac_cv_prog_lex_root=lexyy
6764 < else
6765 <  { { echo "$as_me:5381: error: cannot find output from $LEX; giving up" >&5
6766 < echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
6767 <   { (exit 1); exit 1; }; }
6768 < fi
6769 < fi
6770 < echo "$as_me:5386: result: $ac_cv_prog_lex_root" >&5
6771 < echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
6772 < LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
6773 <
6774 < echo "$as_me:5390: checking whether yytext is a pointer" >&5
6775 < echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
6776 < if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
6777 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6778 < else
6779 <  # POSIX says lex can declare yytext either as a pointer or an array; the
6780 < # default is implementation-dependent. Figure out which it is, since
6781 < # not all implementations provide the %pointer and %array declarations.
6782 < ac_cv_prog_lex_yytext_pointer=no
6783 < echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
6784 < ac_save_LIBS=$LIBS
6785 < LIBS="$LIBS $LEXLIB"
6786 < cat >conftest.$ac_ext <<_ACEOF
6787 < `cat $LEX_OUTPUT_ROOT.c`
6788 < _ACEOF
6789 < rm -f conftest.$ac_objext conftest$ac_exeext
6790 < if { (eval echo "$as_me:5406: \"$ac_link\"") >&5
6791 <  (eval $ac_link) 2>&5
6792 <  ac_status=$?
6793 <  echo "$as_me:5409: \$? = $ac_status" >&5
6794 <  (exit $ac_status); } &&
6795 <         { ac_try='test -s conftest$ac_exeext'
6796 <  { (eval echo "$as_me:5412: \"$ac_try\"") >&5
6797 <  (eval $ac_try) 2>&5
6798 <  ac_status=$?
6799 <  echo "$as_me:5415: \$? = $ac_status" >&5
6800 <  (exit $ac_status); }; }; then
6801 <  ac_cv_prog_lex_yytext_pointer=yes
6802 < else
6803 <  echo "$as_me: failed program was:" >&5
6804 < cat conftest.$ac_ext >&5
6805 < fi
6806 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6807 < LIBS=$ac_save_LIBS
6808 < rm -f "${LEX_OUTPUT_ROOT}.c"
6809 <
6810 < fi
6811 < echo "$as_me:5427: result: $ac_cv_prog_lex_yytext_pointer" >&5
6812 < echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
6813 < if test $ac_cv_prog_lex_yytext_pointer = yes; then
6814 <
6815 < cat >>confdefs.h <<\EOF
6816 < #define YYTEXT_POINTER 1
6817 < EOF
6818 <
6819 < fi
6820 <
6821 < fi
6822 < # Extract the first word of "ar", so it can be a program name with args.
6823 < set dummy ar; ac_word=$2
6824 < echo "$as_me:5440: checking for $ac_word" >&5
6825 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6826 < if test "${ac_cv_prog_AR+set}" = set; then
6827 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6828 < else
6829 <  if test -n "$AR"; then
6830 <  ac_cv_prog_AR="$AR" # Let the user override the test.
6831 < else
6832 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
6833 < ac_dummy="$PATH"
6834 < for ac_dir in $ac_dummy; do
6835 <  IFS=$ac_save_IFS
6836 <  test -z "$ac_dir" && ac_dir=.
6837 <  $as_executable_p "$ac_dir/$ac_word" || continue
6838 < ac_cv_prog_AR="ar"
6839 < echo "$as_me:5455: found $ac_dir/$ac_word" >&5
6840 < break
6841 < done
6842 <
6843 <  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE"
6844 < fi
6845 < fi
6846 < AR=$ac_cv_prog_AR
6847 < if test -n "$AR"; then
6848 <  echo "$as_me:5464: result: $AR" >&5
6849 < echo "${ECHO_T}$AR" >&6
6850 < else
6851 <  echo "$as_me:5467: result: no" >&5
6852 < echo "${ECHO_T}no" >&6
6853 < fi
6854 <
6855 < if test "$AR" = "NONE"; then
6856 <  { { echo "$as_me:5472: error: --> Can't find \`ar'!" >&5
6857 < echo "$as_me: error: --> Can't find \`ar'!" >&2;}
6858 <   { (exit 1); exit 1; }; }
6859 <  cat >confcache <<\_ACEOF
6860 < # This file is a shell script that caches the results of configure
6861 < # tests run on this system so they can be shared between configure
6862 < # scripts and configure runs, see configure's option --config-cache.
6863 < # It is not useful on other systems.  If it contains results you don't
6864 < # want to keep, you may remove or edit it.
6865 < #
6866 < # config.status only pays attention to the cache file if you give it
6867 < # the --recheck option to rerun configure.
6868 < #
6869 < # `ac_cv_env_foo' variables (set or unset) will be overriden when
6870 < # loading this file, other *unset* `ac_cv_foo' will be assigned the
6871 < # following values.
6872 <
6873 < _ACEOF
6874 <
6875 < # The following way of writing the cache mishandles newlines in values,
6876 < # but we know of no workaround that is simple, portable, and efficient.
6877 < # So, don't put newlines in cache variables' values.
6878 < # Ultrix sh set writes to stderr and can't be redirected directly,
6879 < # and sets the high bit in the cache file unless we assign to the vars.
6880 < {
6881 <  (set) 2>&1 |
6882 <    case `(ac_space=' '; set | grep ac_space) 2>&1` in
6883 <    *ac_space=\ *)
6884 <      # `set' does not quote correctly, so add quotes (double-quote
6885 <      # substitution turns \\\\ into \\, and sed turns \\ into \).
6886 <      sed -n \
6887 <        "s/'/'\\\\''/g;
6888 <          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6889 <      ;;
6890 <    *)
6891 <      # `set' quotes correctly as required by POSIX, so do not add quotes.
6892 <      sed -n \
6893 <        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6894 <      ;;
6895 <    esac;
6896 < } |
6897 <  sed '
6898 <     t clear
6899 <     : clear
6900 <     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6901 <     t end
6902 <     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6903 <     : end' >>confcache
6904 < if cmp -s $cache_file confcache; then :; else
6905 <  if test -w $cache_file; then
6906 <    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6907 <    cat confcache >$cache_file
6908 <  else
6909 <    echo "not updating unwritable cache $cache_file"
6910 <  fi
6911 < fi
6912 < rm -f confcache
6913 <  exit 1
6914 < fi
6915 <
6916 < # Extract the first word of "ps", so it can be a program name with args.
6917 < set dummy ps; ac_word=$2
6918 < echo "$as_me:5534: checking for $ac_word" >&5
6919 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6920 < if test "${ac_cv_path_PS+set}" = set; then
6921 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6922 < else
6923 <  case $PS in
6924 <  [\\/]* | ?:[\\/]*)
6925 <  ac_cv_path_PS="$PS" # Let the user override the test with a path.
6926 <  ;;
6927 <  *)
6928 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
6929 < ac_dummy="$PATH"
6930 < for ac_dir in $ac_dummy; do
6931 <  IFS=$ac_save_IFS
6932 <  test -z "$ac_dir" && ac_dir=.
6933 <  if $as_executable_p "$ac_dir/$ac_word"; then
6934 <   ac_cv_path_PS="$ac_dir/$ac_word"
6935 <   echo "$as_me:5551: found $ac_dir/$ac_word" >&5
6936 <   break
6937 < fi
5392 >                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
5393 > echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
5394 >                echo "$as_me:$LINENO: result: ok" >&5
5395 > echo "${ECHO_T}ok" >&6
5396 >        else
5397 >                #
5398 >                # If either header or library was not found, revert and bomb
5399 >                #
5400 >                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
5401 > echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
5402 >                LDFLAGS="$ZLIB_OLD_LDFLAGS"
5403 >                CPPFLAGS="$ZLIB_OLD_CPPFLAGS"
5404 >                echo "$as_me:$LINENO: result: failed" >&5
5405 > echo "${ECHO_T}failed" >&6
5406 >                { { echo "$as_me:$LINENO: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&5
5407 > echo "$as_me: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&2;}
5408 >   { (exit 1); exit 1; }; }
5409 >        fi
5410 > fi
5411 >
5412 >
5413 >
5414 >
5415 >
5416 >
5417 >
5418 >
5419 > for ac_header in sys/time.h unistd.h stdlib.h stdio.h conio.h string.h
5420 > do
5421 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5422 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5423 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5424 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5425 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5426 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5427 > fi
5428 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5429 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5430 > else
5431 >  # Is the header compilable?
5432 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
5433 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5434 > cat >conftest.$ac_ext <<_ACEOF
5435 > /* confdefs.h.  */
5436 > _ACEOF
5437 > cat confdefs.h >>conftest.$ac_ext
5438 > cat >>conftest.$ac_ext <<_ACEOF
5439 > /* end confdefs.h.  */
5440 > $ac_includes_default
5441 > #include <$ac_header>
5442 > _ACEOF
5443 > rm -f conftest.$ac_objext
5444 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5445 >  (eval $ac_compile) 2>conftest.er1
5446 >  ac_status=$?
5447 >  grep -v '^ *+' conftest.er1 >conftest.err
5448 >  rm -f conftest.er1
5449 >  cat conftest.err >&5
5450 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451 >  (exit $ac_status); } &&
5452 >         { ac_try='test -z "$ac_c_werror_flag"
5453 >                         || test ! -s conftest.err'
5454 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5455 >  (eval $ac_try) 2>&5
5456 >  ac_status=$?
5457 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5458 >  (exit $ac_status); }; } &&
5459 >         { ac_try='test -s conftest.$ac_objext'
5460 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5461 >  (eval $ac_try) 2>&5
5462 >  ac_status=$?
5463 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5464 >  (exit $ac_status); }; }; then
5465 >  ac_header_compiler=yes
5466 > else
5467 >  echo "$as_me: failed program was:" >&5
5468 > sed 's/^/| /' conftest.$ac_ext >&5
5469 >
5470 > ac_header_compiler=no
5471 > fi
5472 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5473 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5474 > echo "${ECHO_T}$ac_header_compiler" >&6
5475 >
5476 > # Is the header present?
5477 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
5478 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5479 > cat >conftest.$ac_ext <<_ACEOF
5480 > /* confdefs.h.  */
5481 > _ACEOF
5482 > cat confdefs.h >>conftest.$ac_ext
5483 > cat >>conftest.$ac_ext <<_ACEOF
5484 > /* end confdefs.h.  */
5485 > #include <$ac_header>
5486 > _ACEOF
5487 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5488 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5489 >  ac_status=$?
5490 >  grep -v '^ *+' conftest.er1 >conftest.err
5491 >  rm -f conftest.er1
5492 >  cat conftest.err >&5
5493 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5494 >  (exit $ac_status); } >/dev/null; then
5495 >  if test -s conftest.err; then
5496 >    ac_cpp_err=$ac_c_preproc_warn_flag
5497 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5498 >  else
5499 >    ac_cpp_err=
5500 >  fi
5501 > else
5502 >  ac_cpp_err=yes
5503 > fi
5504 > if test -z "$ac_cpp_err"; then
5505 >  ac_header_preproc=yes
5506 > else
5507 >  echo "$as_me: failed program was:" >&5
5508 > sed 's/^/| /' conftest.$ac_ext >&5
5509 >
5510 >  ac_header_preproc=no
5511 > fi
5512 > rm -f conftest.err conftest.$ac_ext
5513 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5514 > echo "${ECHO_T}$ac_header_preproc" >&6
5515 >
5516 > # So?  What about this header?
5517 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5518 >  yes:no: )
5519 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5520 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5521 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5522 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5523 >    ac_header_preproc=yes
5524 >    ;;
5525 >  no:yes:* )
5526 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5527 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5528 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5529 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5530 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5531 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5532 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5533 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5534 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5535 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5536 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5537 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5538 >    (
5539 >      cat <<\_ASBOX
5540 > ## ------------------------------ ##
5541 > ## Report this to gezelter@nd.edu ##
5542 > ## ------------------------------ ##
5543 > _ASBOX
5544 >    ) |
5545 >      sed "s/^/$as_me: WARNING:     /" >&2
5546 >    ;;
5547 > esac
5548 > echo "$as_me:$LINENO: checking for $ac_header" >&5
5549 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5550 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5551 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5552 > else
5553 >  eval "$as_ac_Header=\$ac_header_preproc"
5554 > fi
5555 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5556 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5557 >
5558 > fi
5559 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
5560 >  cat >>confdefs.h <<_ACEOF
5561 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5562 > _ACEOF
5563 >
5564 > fi
5565 >
5566 > done
5567 >
5568 >
5569 >
5570 >
5571 >
5572 >
5573 > for ac_header in strstream.h iostream.h fstream.h math.h time.h
5574 > do
5575 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5576 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5577 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5578 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5579 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5580 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5581 > fi
5582 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5583 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5584 > else
5585 >  # Is the header compilable?
5586 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
5587 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5588 > cat >conftest.$ac_ext <<_ACEOF
5589 > /* confdefs.h.  */
5590 > _ACEOF
5591 > cat confdefs.h >>conftest.$ac_ext
5592 > cat >>conftest.$ac_ext <<_ACEOF
5593 > /* end confdefs.h.  */
5594 > $ac_includes_default
5595 > #include <$ac_header>
5596 > _ACEOF
5597 > rm -f conftest.$ac_objext
5598 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5599 >  (eval $ac_compile) 2>conftest.er1
5600 >  ac_status=$?
5601 >  grep -v '^ *+' conftest.er1 >conftest.err
5602 >  rm -f conftest.er1
5603 >  cat conftest.err >&5
5604 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 >  (exit $ac_status); } &&
5606 >         { ac_try='test -z "$ac_c_werror_flag"
5607 >                         || test ! -s conftest.err'
5608 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5609 >  (eval $ac_try) 2>&5
5610 >  ac_status=$?
5611 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 >  (exit $ac_status); }; } &&
5613 >         { ac_try='test -s conftest.$ac_objext'
5614 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5615 >  (eval $ac_try) 2>&5
5616 >  ac_status=$?
5617 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5618 >  (exit $ac_status); }; }; then
5619 >  ac_header_compiler=yes
5620 > else
5621 >  echo "$as_me: failed program was:" >&5
5622 > sed 's/^/| /' conftest.$ac_ext >&5
5623 >
5624 > ac_header_compiler=no
5625 > fi
5626 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5627 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5628 > echo "${ECHO_T}$ac_header_compiler" >&6
5629 >
5630 > # Is the header present?
5631 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
5632 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5633 > cat >conftest.$ac_ext <<_ACEOF
5634 > /* confdefs.h.  */
5635 > _ACEOF
5636 > cat confdefs.h >>conftest.$ac_ext
5637 > cat >>conftest.$ac_ext <<_ACEOF
5638 > /* end confdefs.h.  */
5639 > #include <$ac_header>
5640 > _ACEOF
5641 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5642 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5643 >  ac_status=$?
5644 >  grep -v '^ *+' conftest.er1 >conftest.err
5645 >  rm -f conftest.er1
5646 >  cat conftest.err >&5
5647 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 >  (exit $ac_status); } >/dev/null; then
5649 >  if test -s conftest.err; then
5650 >    ac_cpp_err=$ac_c_preproc_warn_flag
5651 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5652 >  else
5653 >    ac_cpp_err=
5654 >  fi
5655 > else
5656 >  ac_cpp_err=yes
5657 > fi
5658 > if test -z "$ac_cpp_err"; then
5659 >  ac_header_preproc=yes
5660 > else
5661 >  echo "$as_me: failed program was:" >&5
5662 > sed 's/^/| /' conftest.$ac_ext >&5
5663 >
5664 >  ac_header_preproc=no
5665 > fi
5666 > rm -f conftest.err conftest.$ac_ext
5667 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5668 > echo "${ECHO_T}$ac_header_preproc" >&6
5669 >
5670 > # So?  What about this header?
5671 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5672 >  yes:no: )
5673 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5674 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5675 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5676 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5677 >    ac_header_preproc=yes
5678 >    ;;
5679 >  no:yes:* )
5680 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5681 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5682 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5683 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5684 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5685 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5686 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5687 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5688 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5689 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5690 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5691 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5692 >    (
5693 >      cat <<\_ASBOX
5694 > ## ------------------------------ ##
5695 > ## Report this to gezelter@nd.edu ##
5696 > ## ------------------------------ ##
5697 > _ASBOX
5698 >    ) |
5699 >      sed "s/^/$as_me: WARNING:     /" >&2
5700 >    ;;
5701 > esac
5702 > echo "$as_me:$LINENO: checking for $ac_header" >&5
5703 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5704 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5705 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5706 > else
5707 >  eval "$as_ac_Header=\$ac_header_preproc"
5708 > fi
5709 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5710 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5711 >
5712 > fi
5713 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
5714 >  cat >>confdefs.h <<_ACEOF
5715 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5716 > _ACEOF
5717 >
5718 > fi
5719 >
5720 > done
5721 >
5722 > ac_ext=cc
5723 > ac_cpp='$CXXCPP $CPPFLAGS'
5724 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5725 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5726 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5727 >
5728 > ac_ext=cc
5729 > ac_cpp='$CXXCPP $CPPFLAGS'
5730 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5731 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5732 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5733 > echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5734 > echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5735 > if test -z "$CXXCPP"; then
5736 >  if test "${ac_cv_prog_CXXCPP+set}" = set; then
5737 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5738 > else
5739 >      # Double quotes because CXXCPP needs to be expanded
5740 >    for CXXCPP in "$CXX -E" "/lib/cpp"
5741 >    do
5742 >      ac_preproc_ok=false
5743 > for ac_cxx_preproc_warn_flag in '' yes
5744 > do
5745 >  # Use a header file that comes with gcc, so configuring glibc
5746 >  # with a fresh cross-compiler works.
5747 >  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5748 >  # <limits.h> exists even on freestanding compilers.
5749 >  # On the NeXT, cc -E runs the code through the compiler's parser,
5750 >  # not just through cpp. "Syntax error" is here to catch this case.
5751 >  cat >conftest.$ac_ext <<_ACEOF
5752 > /* confdefs.h.  */
5753 > _ACEOF
5754 > cat confdefs.h >>conftest.$ac_ext
5755 > cat >>conftest.$ac_ext <<_ACEOF
5756 > /* end confdefs.h.  */
5757 > #ifdef __STDC__
5758 > # include <limits.h>
5759 > #else
5760 > # include <assert.h>
5761 > #endif
5762 >                     Syntax error
5763 > _ACEOF
5764 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5765 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5766 >  ac_status=$?
5767 >  grep -v '^ *+' conftest.er1 >conftest.err
5768 >  rm -f conftest.er1
5769 >  cat conftest.err >&5
5770 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771 >  (exit $ac_status); } >/dev/null; then
5772 >  if test -s conftest.err; then
5773 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5774 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5775 >  else
5776 >    ac_cpp_err=
5777 >  fi
5778 > else
5779 >  ac_cpp_err=yes
5780 > fi
5781 > if test -z "$ac_cpp_err"; then
5782 >  :
5783 > else
5784 >  echo "$as_me: failed program was:" >&5
5785 > sed 's/^/| /' conftest.$ac_ext >&5
5786 >
5787 >  # Broken: fails on valid input.
5788 > continue
5789 > fi
5790 > rm -f conftest.err conftest.$ac_ext
5791 >
5792 >  # OK, works on sane cases.  Now check whether non-existent headers
5793 >  # can be detected and how.
5794 >  cat >conftest.$ac_ext <<_ACEOF
5795 > /* confdefs.h.  */
5796 > _ACEOF
5797 > cat confdefs.h >>conftest.$ac_ext
5798 > cat >>conftest.$ac_ext <<_ACEOF
5799 > /* end confdefs.h.  */
5800 > #include <ac_nonexistent.h>
5801 > _ACEOF
5802 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5803 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5804 >  ac_status=$?
5805 >  grep -v '^ *+' conftest.er1 >conftest.err
5806 >  rm -f conftest.er1
5807 >  cat conftest.err >&5
5808 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5809 >  (exit $ac_status); } >/dev/null; then
5810 >  if test -s conftest.err; then
5811 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5812 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5813 >  else
5814 >    ac_cpp_err=
5815 >  fi
5816 > else
5817 >  ac_cpp_err=yes
5818 > fi
5819 > if test -z "$ac_cpp_err"; then
5820 >  # Broken: success on invalid input.
5821 > continue
5822 > else
5823 >  echo "$as_me: failed program was:" >&5
5824 > sed 's/^/| /' conftest.$ac_ext >&5
5825 >
5826 >  # Passes both tests.
5827 > ac_preproc_ok=:
5828 > break
5829 > fi
5830 > rm -f conftest.err conftest.$ac_ext
5831 >
5832 > done
5833 > # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5834 > rm -f conftest.err conftest.$ac_ext
5835 > if $ac_preproc_ok; then
5836 >  break
5837 > fi
5838 >
5839 >    done
5840 >    ac_cv_prog_CXXCPP=$CXXCPP
5841 >
5842 > fi
5843 >  CXXCPP=$ac_cv_prog_CXXCPP
5844 > else
5845 >  ac_cv_prog_CXXCPP=$CXXCPP
5846 > fi
5847 > echo "$as_me:$LINENO: result: $CXXCPP" >&5
5848 > echo "${ECHO_T}$CXXCPP" >&6
5849 > ac_preproc_ok=false
5850 > for ac_cxx_preproc_warn_flag in '' yes
5851 > do
5852 >  # Use a header file that comes with gcc, so configuring glibc
5853 >  # with a fresh cross-compiler works.
5854 >  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5855 >  # <limits.h> exists even on freestanding compilers.
5856 >  # On the NeXT, cc -E runs the code through the compiler's parser,
5857 >  # not just through cpp. "Syntax error" is here to catch this case.
5858 >  cat >conftest.$ac_ext <<_ACEOF
5859 > /* confdefs.h.  */
5860 > _ACEOF
5861 > cat confdefs.h >>conftest.$ac_ext
5862 > cat >>conftest.$ac_ext <<_ACEOF
5863 > /* end confdefs.h.  */
5864 > #ifdef __STDC__
5865 > # include <limits.h>
5866 > #else
5867 > # include <assert.h>
5868 > #endif
5869 >                     Syntax error
5870 > _ACEOF
5871 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5872 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5873 >  ac_status=$?
5874 >  grep -v '^ *+' conftest.er1 >conftest.err
5875 >  rm -f conftest.er1
5876 >  cat conftest.err >&5
5877 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878 >  (exit $ac_status); } >/dev/null; then
5879 >  if test -s conftest.err; then
5880 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5881 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5882 >  else
5883 >    ac_cpp_err=
5884 >  fi
5885 > else
5886 >  ac_cpp_err=yes
5887 > fi
5888 > if test -z "$ac_cpp_err"; then
5889 >  :
5890 > else
5891 >  echo "$as_me: failed program was:" >&5
5892 > sed 's/^/| /' conftest.$ac_ext >&5
5893 >
5894 >  # Broken: fails on valid input.
5895 > continue
5896 > fi
5897 > rm -f conftest.err conftest.$ac_ext
5898 >
5899 >  # OK, works on sane cases.  Now check whether non-existent headers
5900 >  # can be detected and how.
5901 >  cat >conftest.$ac_ext <<_ACEOF
5902 > /* confdefs.h.  */
5903 > _ACEOF
5904 > cat confdefs.h >>conftest.$ac_ext
5905 > cat >>conftest.$ac_ext <<_ACEOF
5906 > /* end confdefs.h.  */
5907 > #include <ac_nonexistent.h>
5908 > _ACEOF
5909 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5910 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5911 >  ac_status=$?
5912 >  grep -v '^ *+' conftest.er1 >conftest.err
5913 >  rm -f conftest.er1
5914 >  cat conftest.err >&5
5915 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5916 >  (exit $ac_status); } >/dev/null; then
5917 >  if test -s conftest.err; then
5918 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
5919 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5920 >  else
5921 >    ac_cpp_err=
5922 >  fi
5923 > else
5924 >  ac_cpp_err=yes
5925 > fi
5926 > if test -z "$ac_cpp_err"; then
5927 >  # Broken: success on invalid input.
5928 > continue
5929 > else
5930 >  echo "$as_me: failed program was:" >&5
5931 > sed 's/^/| /' conftest.$ac_ext >&5
5932 >
5933 >  # Passes both tests.
5934 > ac_preproc_ok=:
5935 > break
5936 > fi
5937 > rm -f conftest.err conftest.$ac_ext
5938 >
5939 > done
5940 > # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5941 > rm -f conftest.err conftest.$ac_ext
5942 > if $ac_preproc_ok; then
5943 >  :
5944 > else
5945 >  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5946 > See \`config.log' for more details." >&5
5947 > echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5948 > See \`config.log' for more details." >&2;}
5949 >   { (exit 1); exit 1; }; }
5950 > fi
5951 >
5952 > ac_ext=cc
5953 > ac_cpp='$CXXCPP $CPPFLAGS'
5954 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5955 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5956 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5957 >
5958 >
5959 >
5960 >
5961 >
5962 >
5963 >
5964 > for ac_header in ctype.h iostream fstream sstream strstream
5965 > do
5966 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5967 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5968 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5969 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5970 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5971 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5972 > fi
5973 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5974 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5975 > else
5976 >  # Is the header compilable?
5977 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
5978 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5979 > cat >conftest.$ac_ext <<_ACEOF
5980 > /* confdefs.h.  */
5981 > _ACEOF
5982 > cat confdefs.h >>conftest.$ac_ext
5983 > cat >>conftest.$ac_ext <<_ACEOF
5984 > /* end confdefs.h.  */
5985 > $ac_includes_default
5986 > #include <$ac_header>
5987 > _ACEOF
5988 > rm -f conftest.$ac_objext
5989 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5990 >  (eval $ac_compile) 2>conftest.er1
5991 >  ac_status=$?
5992 >  grep -v '^ *+' conftest.er1 >conftest.err
5993 >  rm -f conftest.er1
5994 >  cat conftest.err >&5
5995 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996 >  (exit $ac_status); } &&
5997 >         { ac_try='test -z "$ac_cxx_werror_flag"
5998 >                         || test ! -s conftest.err'
5999 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6000 >  (eval $ac_try) 2>&5
6001 >  ac_status=$?
6002 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003 >  (exit $ac_status); }; } &&
6004 >         { ac_try='test -s conftest.$ac_objext'
6005 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6006 >  (eval $ac_try) 2>&5
6007 >  ac_status=$?
6008 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 >  (exit $ac_status); }; }; then
6010 >  ac_header_compiler=yes
6011 > else
6012 >  echo "$as_me: failed program was:" >&5
6013 > sed 's/^/| /' conftest.$ac_ext >&5
6014 >
6015 > ac_header_compiler=no
6016 > fi
6017 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6018 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6019 > echo "${ECHO_T}$ac_header_compiler" >&6
6020 >
6021 > # Is the header present?
6022 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
6023 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6024 > cat >conftest.$ac_ext <<_ACEOF
6025 > /* confdefs.h.  */
6026 > _ACEOF
6027 > cat confdefs.h >>conftest.$ac_ext
6028 > cat >>conftest.$ac_ext <<_ACEOF
6029 > /* end confdefs.h.  */
6030 > #include <$ac_header>
6031 > _ACEOF
6032 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6033 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6034 >  ac_status=$?
6035 >  grep -v '^ *+' conftest.er1 >conftest.err
6036 >  rm -f conftest.er1
6037 >  cat conftest.err >&5
6038 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039 >  (exit $ac_status); } >/dev/null; then
6040 >  if test -s conftest.err; then
6041 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
6042 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6043 >  else
6044 >    ac_cpp_err=
6045 >  fi
6046 > else
6047 >  ac_cpp_err=yes
6048 > fi
6049 > if test -z "$ac_cpp_err"; then
6050 >  ac_header_preproc=yes
6051 > else
6052 >  echo "$as_me: failed program was:" >&5
6053 > sed 's/^/| /' conftest.$ac_ext >&5
6054 >
6055 >  ac_header_preproc=no
6056 > fi
6057 > rm -f conftest.err conftest.$ac_ext
6058 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6059 > echo "${ECHO_T}$ac_header_preproc" >&6
6060 >
6061 > # So?  What about this header?
6062 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6063 >  yes:no: )
6064 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6065 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6066 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6067 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6068 >    ac_header_preproc=yes
6069 >    ;;
6070 >  no:yes:* )
6071 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6072 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6073 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6074 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6075 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6076 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6077 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6078 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6079 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6080 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6081 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6082 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6083 >    (
6084 >      cat <<\_ASBOX
6085 > ## ------------------------------ ##
6086 > ## Report this to gezelter@nd.edu ##
6087 > ## ------------------------------ ##
6088 > _ASBOX
6089 >    ) |
6090 >      sed "s/^/$as_me: WARNING:     /" >&2
6091 >    ;;
6092 > esac
6093 > echo "$as_me:$LINENO: checking for $ac_header" >&5
6094 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6095 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6096 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6097 > else
6098 >  eval "$as_ac_Header=\$ac_header_preproc"
6099 > fi
6100 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6101 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6102 >
6103 > fi
6104 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
6105 >  cat >>confdefs.h <<_ACEOF
6106 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6107 > _ACEOF
6108 >
6109 > fi
6110 >
6111 > done
6112 >
6113 > ac_ext=c
6114 > ac_cpp='$CPP $CPPFLAGS'
6115 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6116 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6117 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
6118 >
6119 >
6120 >
6121 >
6122 > for ac_header in sys/pstat.h sys/sysmp.h sys/sysinfo.h
6123 > do
6124 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6125 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6126 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
6127 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6128 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6129 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6130 > fi
6131 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6132 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6133 > else
6134 >  # Is the header compilable?
6135 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
6136 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6137 > cat >conftest.$ac_ext <<_ACEOF
6138 > /* confdefs.h.  */
6139 > _ACEOF
6140 > cat confdefs.h >>conftest.$ac_ext
6141 > cat >>conftest.$ac_ext <<_ACEOF
6142 > /* end confdefs.h.  */
6143 > $ac_includes_default
6144 > #include <$ac_header>
6145 > _ACEOF
6146 > rm -f conftest.$ac_objext
6147 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6148 >  (eval $ac_compile) 2>conftest.er1
6149 >  ac_status=$?
6150 >  grep -v '^ *+' conftest.er1 >conftest.err
6151 >  rm -f conftest.er1
6152 >  cat conftest.err >&5
6153 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154 >  (exit $ac_status); } &&
6155 >         { ac_try='test -z "$ac_c_werror_flag"
6156 >                         || test ! -s conftest.err'
6157 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6158 >  (eval $ac_try) 2>&5
6159 >  ac_status=$?
6160 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6161 >  (exit $ac_status); }; } &&
6162 >         { ac_try='test -s conftest.$ac_objext'
6163 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6164 >  (eval $ac_try) 2>&5
6165 >  ac_status=$?
6166 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167 >  (exit $ac_status); }; }; then
6168 >  ac_header_compiler=yes
6169 > else
6170 >  echo "$as_me: failed program was:" >&5
6171 > sed 's/^/| /' conftest.$ac_ext >&5
6172 >
6173 > ac_header_compiler=no
6174 > fi
6175 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6176 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6177 > echo "${ECHO_T}$ac_header_compiler" >&6
6178 >
6179 > # Is the header present?
6180 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
6181 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6182 > cat >conftest.$ac_ext <<_ACEOF
6183 > /* confdefs.h.  */
6184 > _ACEOF
6185 > cat confdefs.h >>conftest.$ac_ext
6186 > cat >>conftest.$ac_ext <<_ACEOF
6187 > /* end confdefs.h.  */
6188 > #include <$ac_header>
6189 > _ACEOF
6190 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6191 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6192 >  ac_status=$?
6193 >  grep -v '^ *+' conftest.er1 >conftest.err
6194 >  rm -f conftest.er1
6195 >  cat conftest.err >&5
6196 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197 >  (exit $ac_status); } >/dev/null; then
6198 >  if test -s conftest.err; then
6199 >    ac_cpp_err=$ac_c_preproc_warn_flag
6200 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6201 >  else
6202 >    ac_cpp_err=
6203 >  fi
6204 > else
6205 >  ac_cpp_err=yes
6206 > fi
6207 > if test -z "$ac_cpp_err"; then
6208 >  ac_header_preproc=yes
6209 > else
6210 >  echo "$as_me: failed program was:" >&5
6211 > sed 's/^/| /' conftest.$ac_ext >&5
6212 >
6213 >  ac_header_preproc=no
6214 > fi
6215 > rm -f conftest.err conftest.$ac_ext
6216 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6217 > echo "${ECHO_T}$ac_header_preproc" >&6
6218 >
6219 > # So?  What about this header?
6220 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6221 >  yes:no: )
6222 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6223 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6224 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6225 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6226 >    ac_header_preproc=yes
6227 >    ;;
6228 >  no:yes:* )
6229 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6230 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6231 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6232 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6233 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6234 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6235 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6236 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6237 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6238 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6239 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6240 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6241 >    (
6242 >      cat <<\_ASBOX
6243 > ## ------------------------------ ##
6244 > ## Report this to gezelter@nd.edu ##
6245 > ## ------------------------------ ##
6246 > _ASBOX
6247 >    ) |
6248 >      sed "s/^/$as_me: WARNING:     /" >&2
6249 >    ;;
6250 > esac
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 > else
6256 >  eval "$as_ac_Header=\$ac_header_preproc"
6257 > fi
6258 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6259 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6260 >
6261 > fi
6262 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
6263 >  cat >>confdefs.h <<_ACEOF
6264 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6265 > _ACEOF
6266 >
6267 > fi
6268 >
6269 > done
6270 >
6271 >
6272 >
6273 >
6274 >
6275 > for ac_header in sys/table.h sys/param.h sys/sysctl.h sys/sytemcfg.h
6276 > do
6277 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6278 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6279 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
6280 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6281 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6282 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6283 > fi
6284 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6285 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6286 > else
6287 >  # Is the header compilable?
6288 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
6289 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6290 > cat >conftest.$ac_ext <<_ACEOF
6291 > /* confdefs.h.  */
6292 > _ACEOF
6293 > cat confdefs.h >>conftest.$ac_ext
6294 > cat >>conftest.$ac_ext <<_ACEOF
6295 > /* end confdefs.h.  */
6296 > $ac_includes_default
6297 > #include <$ac_header>
6298 > _ACEOF
6299 > rm -f conftest.$ac_objext
6300 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6301 >  (eval $ac_compile) 2>conftest.er1
6302 >  ac_status=$?
6303 >  grep -v '^ *+' conftest.er1 >conftest.err
6304 >  rm -f conftest.er1
6305 >  cat conftest.err >&5
6306 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6307 >  (exit $ac_status); } &&
6308 >         { ac_try='test -z "$ac_c_werror_flag"
6309 >                         || test ! -s conftest.err'
6310 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6311 >  (eval $ac_try) 2>&5
6312 >  ac_status=$?
6313 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6314 >  (exit $ac_status); }; } &&
6315 >         { ac_try='test -s conftest.$ac_objext'
6316 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6317 >  (eval $ac_try) 2>&5
6318 >  ac_status=$?
6319 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6320 >  (exit $ac_status); }; }; then
6321 >  ac_header_compiler=yes
6322 > else
6323 >  echo "$as_me: failed program was:" >&5
6324 > sed 's/^/| /' conftest.$ac_ext >&5
6325 >
6326 > ac_header_compiler=no
6327 > fi
6328 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6329 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6330 > echo "${ECHO_T}$ac_header_compiler" >&6
6331 >
6332 > # Is the header present?
6333 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
6334 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6335 > cat >conftest.$ac_ext <<_ACEOF
6336 > /* confdefs.h.  */
6337 > _ACEOF
6338 > cat confdefs.h >>conftest.$ac_ext
6339 > cat >>conftest.$ac_ext <<_ACEOF
6340 > /* end confdefs.h.  */
6341 > #include <$ac_header>
6342 > _ACEOF
6343 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6344 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6345 >  ac_status=$?
6346 >  grep -v '^ *+' conftest.er1 >conftest.err
6347 >  rm -f conftest.er1
6348 >  cat conftest.err >&5
6349 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6350 >  (exit $ac_status); } >/dev/null; then
6351 >  if test -s conftest.err; then
6352 >    ac_cpp_err=$ac_c_preproc_warn_flag
6353 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6354 >  else
6355 >    ac_cpp_err=
6356 >  fi
6357 > else
6358 >  ac_cpp_err=yes
6359 > fi
6360 > if test -z "$ac_cpp_err"; then
6361 >  ac_header_preproc=yes
6362 > else
6363 >  echo "$as_me: failed program was:" >&5
6364 > sed 's/^/| /' conftest.$ac_ext >&5
6365 >
6366 >  ac_header_preproc=no
6367 > fi
6368 > rm -f conftest.err conftest.$ac_ext
6369 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6370 > echo "${ECHO_T}$ac_header_preproc" >&6
6371 >
6372 > # So?  What about this header?
6373 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6374 >  yes:no: )
6375 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6376 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6377 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6378 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6379 >    ac_header_preproc=yes
6380 >    ;;
6381 >  no:yes:* )
6382 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6383 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6384 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6385 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6386 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6387 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6388 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6389 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6390 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6391 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6392 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6393 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6394 >    (
6395 >      cat <<\_ASBOX
6396 > ## ------------------------------ ##
6397 > ## Report this to gezelter@nd.edu ##
6398 > ## ------------------------------ ##
6399 > _ASBOX
6400 >    ) |
6401 >      sed "s/^/$as_me: WARNING:     /" >&2
6402 >    ;;
6403 > esac
6404 > echo "$as_me:$LINENO: checking for $ac_header" >&5
6405 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6406 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6407 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6408 > else
6409 >  eval "$as_ac_Header=\$ac_header_preproc"
6410 > fi
6411 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6412 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6413 >
6414 > fi
6415 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
6416 >  cat >>confdefs.h <<_ACEOF
6417 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6418 > _ACEOF
6419 >
6420 > fi
6421 >
6422 > done
6423 >
6424 >
6425 > for ac_header in machine/hal_sysinfo.h
6426 > do
6427 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6428 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6429 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
6430 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6431 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6432 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6433 > fi
6434 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6435 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6436 > else
6437 >  # Is the header compilable?
6438 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
6439 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6440 > cat >conftest.$ac_ext <<_ACEOF
6441 > /* confdefs.h.  */
6442 > _ACEOF
6443 > cat confdefs.h >>conftest.$ac_ext
6444 > cat >>conftest.$ac_ext <<_ACEOF
6445 > /* end confdefs.h.  */
6446 > $ac_includes_default
6447 > #include <$ac_header>
6448 > _ACEOF
6449 > rm -f conftest.$ac_objext
6450 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6451 >  (eval $ac_compile) 2>conftest.er1
6452 >  ac_status=$?
6453 >  grep -v '^ *+' conftest.er1 >conftest.err
6454 >  rm -f conftest.er1
6455 >  cat conftest.err >&5
6456 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 >  (exit $ac_status); } &&
6458 >         { ac_try='test -z "$ac_c_werror_flag"
6459 >                         || test ! -s conftest.err'
6460 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6461 >  (eval $ac_try) 2>&5
6462 >  ac_status=$?
6463 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6464 >  (exit $ac_status); }; } &&
6465 >         { ac_try='test -s conftest.$ac_objext'
6466 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6467 >  (eval $ac_try) 2>&5
6468 >  ac_status=$?
6469 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470 >  (exit $ac_status); }; }; then
6471 >  ac_header_compiler=yes
6472 > else
6473 >  echo "$as_me: failed program was:" >&5
6474 > sed 's/^/| /' conftest.$ac_ext >&5
6475 >
6476 > ac_header_compiler=no
6477 > fi
6478 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6479 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6480 > echo "${ECHO_T}$ac_header_compiler" >&6
6481 >
6482 > # Is the header present?
6483 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
6484 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6485 > cat >conftest.$ac_ext <<_ACEOF
6486 > /* confdefs.h.  */
6487 > _ACEOF
6488 > cat confdefs.h >>conftest.$ac_ext
6489 > cat >>conftest.$ac_ext <<_ACEOF
6490 > /* end confdefs.h.  */
6491 > #include <$ac_header>
6492 > _ACEOF
6493 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6494 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6495 >  ac_status=$?
6496 >  grep -v '^ *+' conftest.er1 >conftest.err
6497 >  rm -f conftest.er1
6498 >  cat conftest.err >&5
6499 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6500 >  (exit $ac_status); } >/dev/null; then
6501 >  if test -s conftest.err; then
6502 >    ac_cpp_err=$ac_c_preproc_warn_flag
6503 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6504 >  else
6505 >    ac_cpp_err=
6506 >  fi
6507 > else
6508 >  ac_cpp_err=yes
6509 > fi
6510 > if test -z "$ac_cpp_err"; then
6511 >  ac_header_preproc=yes
6512 > else
6513 >  echo "$as_me: failed program was:" >&5
6514 > sed 's/^/| /' conftest.$ac_ext >&5
6515 >
6516 >  ac_header_preproc=no
6517 > fi
6518 > rm -f conftest.err conftest.$ac_ext
6519 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6520 > echo "${ECHO_T}$ac_header_preproc" >&6
6521 >
6522 > # So?  What about this header?
6523 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6524 >  yes:no: )
6525 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6526 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6527 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6528 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6529 >    ac_header_preproc=yes
6530 >    ;;
6531 >  no:yes:* )
6532 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6533 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6534 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6535 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6536 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6537 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6538 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6539 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6540 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6541 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6542 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6543 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6544 >    (
6545 >      cat <<\_ASBOX
6546 > ## ------------------------------ ##
6547 > ## Report this to gezelter@nd.edu ##
6548 > ## ------------------------------ ##
6549 > _ASBOX
6550 >    ) |
6551 >      sed "s/^/$as_me: WARNING:     /" >&2
6552 >    ;;
6553 > esac
6554 > echo "$as_me:$LINENO: checking for $ac_header" >&5
6555 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6556 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
6557 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6558 > else
6559 >  eval "$as_ac_Header=\$ac_header_preproc"
6560 > fi
6561 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6562 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6563 >
6564 > fi
6565 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
6566 >  cat >>confdefs.h <<_ACEOF
6567 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6568 > _ACEOF
6569 >
6570 > fi
6571 >
6572 > done
6573 >
6574 >
6575 >
6576 >
6577 >
6578 >
6579 > for ac_func in pstat_getstatic sysmp getsysinfo sysctl table
6580 > do
6581 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6582 > echo "$as_me:$LINENO: checking for $ac_func" >&5
6583 > echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6584 > if eval "test \"\${$as_ac_var+set}\" = set"; then
6585 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6586 > else
6587 >  cat >conftest.$ac_ext <<_ACEOF
6588 > /* confdefs.h.  */
6589 > _ACEOF
6590 > cat confdefs.h >>conftest.$ac_ext
6591 > cat >>conftest.$ac_ext <<_ACEOF
6592 > /* end confdefs.h.  */
6593 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6594 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6595 > #define $ac_func innocuous_$ac_func
6596 >
6597 > /* System header to define __stub macros and hopefully few prototypes,
6598 >    which can conflict with char $ac_func (); below.
6599 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6600 >    <limits.h> exists even on freestanding compilers.  */
6601 >
6602 > #ifdef __STDC__
6603 > # include <limits.h>
6604 > #else
6605 > # include <assert.h>
6606 > #endif
6607 >
6608 > #undef $ac_func
6609 >
6610 > /* Override any gcc2 internal prototype to avoid an error.  */
6611 > #ifdef __cplusplus
6612 > extern "C"
6613 > {
6614 > #endif
6615 > /* We use char because int might match the return type of a gcc2
6616 >   builtin and then its argument prototype would still apply.  */
6617 > char $ac_func ();
6618 > /* The GNU C library defines this for functions which it implements
6619 >    to always fail with ENOSYS.  Some functions are actually named
6620 >    something starting with __ and the normal name is an alias.  */
6621 > #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6622 > choke me
6623 > #else
6624 > char (*f) () = $ac_func;
6625 > #endif
6626 > #ifdef __cplusplus
6627 > }
6628 > #endif
6629 >
6630 > int
6631 > main ()
6632 > {
6633 > return f != $ac_func;
6634 >  ;
6635 >  return 0;
6636 > }
6637 > _ACEOF
6638 > rm -f conftest.$ac_objext conftest$ac_exeext
6639 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6640 >  (eval $ac_link) 2>conftest.er1
6641 >  ac_status=$?
6642 >  grep -v '^ *+' conftest.er1 >conftest.err
6643 >  rm -f conftest.er1
6644 >  cat conftest.err >&5
6645 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646 >  (exit $ac_status); } &&
6647 >         { ac_try='test -z "$ac_c_werror_flag"
6648 >                         || test ! -s conftest.err'
6649 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6650 >  (eval $ac_try) 2>&5
6651 >  ac_status=$?
6652 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653 >  (exit $ac_status); }; } &&
6654 >         { ac_try='test -s conftest$ac_exeext'
6655 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6656 >  (eval $ac_try) 2>&5
6657 >  ac_status=$?
6658 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6659 >  (exit $ac_status); }; }; then
6660 >  eval "$as_ac_var=yes"
6661 > else
6662 >  echo "$as_me: failed program was:" >&5
6663 > sed 's/^/| /' conftest.$ac_ext >&5
6664 >
6665 > eval "$as_ac_var=no"
6666 > fi
6667 > rm -f conftest.err conftest.$ac_objext \
6668 >      conftest$ac_exeext conftest.$ac_ext
6669 > fi
6670 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6671 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6672 > if test `eval echo '${'$as_ac_var'}'` = yes; then
6673 >  cat >>confdefs.h <<_ACEOF
6674 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6675 > _ACEOF
6676 >
6677 > fi
6678 > done
6679 >
6680 > # special check for _system_configuration because AIX <4.3.2 do not
6681 > # contain the `physmem' member.
6682 > echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
6683 > echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
6684 > cat >conftest.$ac_ext <<_ACEOF
6685 > /* confdefs.h.  */
6686 > _ACEOF
6687 > cat confdefs.h >>conftest.$ac_ext
6688 > cat >>conftest.$ac_ext <<_ACEOF
6689 > /* end confdefs.h.  */
6690 > #include <sys/systemcfg.h>
6691 > int
6692 > main ()
6693 > {
6694 > double x = _system_configuration.physmem;
6695 >  ;
6696 >  return 0;
6697 > }
6698 > _ACEOF
6699 > rm -f conftest.$ac_objext
6700 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6701 >  (eval $ac_compile) 2>conftest.er1
6702 >  ac_status=$?
6703 >  grep -v '^ *+' conftest.er1 >conftest.err
6704 >  rm -f conftest.er1
6705 >  cat conftest.err >&5
6706 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 >  (exit $ac_status); } &&
6708 >         { ac_try='test -z "$ac_c_werror_flag"
6709 >                         || test ! -s conftest.err'
6710 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6711 >  (eval $ac_try) 2>&5
6712 >  ac_status=$?
6713 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 >  (exit $ac_status); }; } &&
6715 >         { ac_try='test -s conftest.$ac_objext'
6716 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6717 >  (eval $ac_try) 2>&5
6718 >  ac_status=$?
6719 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720 >  (exit $ac_status); }; }; then
6721 >  echo "$as_me:$LINENO: result: yes" >&5
6722 > echo "${ECHO_T}yes" >&6
6723 >
6724 > cat >>confdefs.h <<\_ACEOF
6725 > #define HAVE__SYSTEM_CONFIGURATION 1
6726 > _ACEOF
6727 >
6728 > else
6729 >  echo "$as_me: failed program was:" >&5
6730 > sed 's/^/| /' conftest.$ac_ext >&5
6731 >
6732 > echo "$as_me:$LINENO: result: no" >&5
6733 > echo "${ECHO_T}no" >&6
6734 > fi
6735 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6736 > echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6737 > echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
6738 > if test "${ac_cv_header_time+set}" = set; then
6739 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6740 > else
6741 >  cat >conftest.$ac_ext <<_ACEOF
6742 > /* confdefs.h.  */
6743 > _ACEOF
6744 > cat confdefs.h >>conftest.$ac_ext
6745 > cat >>conftest.$ac_ext <<_ACEOF
6746 > /* end confdefs.h.  */
6747 > #include <sys/types.h>
6748 > #include <sys/time.h>
6749 > #include <time.h>
6750 >
6751 > int
6752 > main ()
6753 > {
6754 > if ((struct tm *) 0)
6755 > return 0;
6756 >  ;
6757 >  return 0;
6758 > }
6759 > _ACEOF
6760 > rm -f conftest.$ac_objext
6761 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6762 >  (eval $ac_compile) 2>conftest.er1
6763 >  ac_status=$?
6764 >  grep -v '^ *+' conftest.er1 >conftest.err
6765 >  rm -f conftest.er1
6766 >  cat conftest.err >&5
6767 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 >  (exit $ac_status); } &&
6769 >         { ac_try='test -z "$ac_c_werror_flag"
6770 >                         || test ! -s conftest.err'
6771 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6772 >  (eval $ac_try) 2>&5
6773 >  ac_status=$?
6774 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6775 >  (exit $ac_status); }; } &&
6776 >         { ac_try='test -s conftest.$ac_objext'
6777 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6778 >  (eval $ac_try) 2>&5
6779 >  ac_status=$?
6780 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 >  (exit $ac_status); }; }; then
6782 >  ac_cv_header_time=yes
6783 > else
6784 >  echo "$as_me: failed program was:" >&5
6785 > sed 's/^/| /' conftest.$ac_ext >&5
6786 >
6787 > ac_cv_header_time=no
6788 > fi
6789 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6790 > fi
6791 > echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6792 > echo "${ECHO_T}$ac_cv_header_time" >&6
6793 > if test $ac_cv_header_time = yes; then
6794 >
6795 > cat >>confdefs.h <<\_ACEOF
6796 > #define TIME_WITH_SYS_TIME 1
6797 > _ACEOF
6798 >
6799 > fi
6800 >
6801 >
6802 > echo "$as_me:$LINENO: checking for clock_t" >&5
6803 > echo $ECHO_N "checking for clock_t... $ECHO_C" >&6
6804 > if test "${ac_cv_type_clock_t+set}" = set; then
6805 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6806 > else
6807 >  cat >conftest.$ac_ext <<_ACEOF
6808 > /* confdefs.h.  */
6809 > _ACEOF
6810 > cat confdefs.h >>conftest.$ac_ext
6811 > cat >>conftest.$ac_ext <<_ACEOF
6812 > /* end confdefs.h.  */
6813 > $ac_includes_default
6814 > int
6815 > main ()
6816 > {
6817 > if ((clock_t *) 0)
6818 >  return 0;
6819 > if (sizeof (clock_t))
6820 >  return 0;
6821 >  ;
6822 >  return 0;
6823 > }
6824 > _ACEOF
6825 > rm -f conftest.$ac_objext
6826 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6827 >  (eval $ac_compile) 2>conftest.er1
6828 >  ac_status=$?
6829 >  grep -v '^ *+' conftest.er1 >conftest.err
6830 >  rm -f conftest.er1
6831 >  cat conftest.err >&5
6832 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6833 >  (exit $ac_status); } &&
6834 >         { ac_try='test -z "$ac_c_werror_flag"
6835 >                         || test ! -s conftest.err'
6836 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6837 >  (eval $ac_try) 2>&5
6838 >  ac_status=$?
6839 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6840 >  (exit $ac_status); }; } &&
6841 >         { ac_try='test -s conftest.$ac_objext'
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); }; }; then
6847 >  ac_cv_type_clock_t=yes
6848 > else
6849 >  echo "$as_me: failed program was:" >&5
6850 > sed 's/^/| /' conftest.$ac_ext >&5
6851 >
6852 > ac_cv_type_clock_t=no
6853 > fi
6854 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6855 > fi
6856 > echo "$as_me:$LINENO: result: $ac_cv_type_clock_t" >&5
6857 > echo "${ECHO_T}$ac_cv_type_clock_t" >&6
6858 > if test $ac_cv_type_clock_t = yes; then
6859 >
6860 > cat >>confdefs.h <<_ACEOF
6861 > #define HAVE_CLOCK_T 1
6862 > _ACEOF
6863 >
6864 >
6865 > fi
6866 >
6867 > echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
6868 > echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
6869 > if test "${ac_cv_c_const+set}" = set; then
6870 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6871 > else
6872 >  cat >conftest.$ac_ext <<_ACEOF
6873 > /* confdefs.h.  */
6874 > _ACEOF
6875 > cat confdefs.h >>conftest.$ac_ext
6876 > cat >>conftest.$ac_ext <<_ACEOF
6877 > /* end confdefs.h.  */
6878 >
6879 > int
6880 > main ()
6881 > {
6882 > /* FIXME: Include the comments suggested by Paul. */
6883 > #ifndef __cplusplus
6884 >  /* Ultrix mips cc rejects this.  */
6885 >  typedef int charset[2];
6886 >  const charset x;
6887 >  /* SunOS 4.1.1 cc rejects this.  */
6888 >  char const *const *ccp;
6889 >  char **p;
6890 >  /* NEC SVR4.0.2 mips cc rejects this.  */
6891 >  struct point {int x, y;};
6892 >  static struct point const zero = {0,0};
6893 >  /* AIX XL C 1.02.0.0 rejects this.
6894 >     It does not let you subtract one const X* pointer from another in
6895 >     an arm of an if-expression whose if-part is not a constant
6896 >     expression */
6897 >  const char *g = "string";
6898 >  ccp = &g + (g ? g-g : 0);
6899 >  /* HPUX 7.0 cc rejects these. */
6900 >  ++ccp;
6901 >  p = (char**) ccp;
6902 >  ccp = (char const *const *) p;
6903 >  { /* SCO 3.2v4 cc rejects this.  */
6904 >    char *t;
6905 >    char const *s = 0 ? (char *) 0 : (char const *) 0;
6906 >
6907 >    *t++ = 0;
6908 >  }
6909 >  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
6910 >    int x[] = {25, 17};
6911 >    const int *foo = &x[0];
6912 >    ++foo;
6913 >  }
6914 >  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6915 >    typedef const int *iptr;
6916 >    iptr p = 0;
6917 >    ++p;
6918 >  }
6919 >  { /* AIX XL C 1.02.0.0 rejects this saying
6920 >       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6921 >    struct s { int j; const int *ap[3]; };
6922 >    struct s *b; b->j = 5;
6923 >  }
6924 >  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6925 >    const int foo = 10;
6926 >  }
6927 > #endif
6928 >
6929 >  ;
6930 >  return 0;
6931 > }
6932 > _ACEOF
6933 > rm -f conftest.$ac_objext
6934 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6935 >  (eval $ac_compile) 2>conftest.er1
6936 >  ac_status=$?
6937 >  grep -v '^ *+' conftest.er1 >conftest.err
6938 >  rm -f conftest.er1
6939 >  cat conftest.err >&5
6940 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6941 >  (exit $ac_status); } &&
6942 >         { ac_try='test -z "$ac_c_werror_flag"
6943 >                         || test ! -s conftest.err'
6944 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6945 >  (eval $ac_try) 2>&5
6946 >  ac_status=$?
6947 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6948 >  (exit $ac_status); }; } &&
6949 >         { ac_try='test -s conftest.$ac_objext'
6950 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6951 >  (eval $ac_try) 2>&5
6952 >  ac_status=$?
6953 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6954 >  (exit $ac_status); }; }; then
6955 >  ac_cv_c_const=yes
6956 > else
6957 >  echo "$as_me: failed program was:" >&5
6958 > sed 's/^/| /' conftest.$ac_ext >&5
6959 >
6960 > ac_cv_c_const=no
6961 > fi
6962 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6963 > fi
6964 > echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
6965 > echo "${ECHO_T}$ac_cv_c_const" >&6
6966 > if test $ac_cv_c_const = no; then
6967 >
6968 > cat >>confdefs.h <<\_ACEOF
6969 > #define const
6970 > _ACEOF
6971 >
6972 > fi
6973 >
6974 > echo "$as_me:$LINENO: checking for inline" >&5
6975 > echo $ECHO_N "checking for inline... $ECHO_C" >&6
6976 > if test "${ac_cv_c_inline+set}" = set; then
6977 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6978 > else
6979 >  ac_cv_c_inline=no
6980 > for ac_kw in inline __inline__ __inline; do
6981 >  cat >conftest.$ac_ext <<_ACEOF
6982 > /* confdefs.h.  */
6983 > _ACEOF
6984 > cat confdefs.h >>conftest.$ac_ext
6985 > cat >>conftest.$ac_ext <<_ACEOF
6986 > /* end confdefs.h.  */
6987 > #ifndef __cplusplus
6988 > typedef int foo_t;
6989 > static $ac_kw foo_t static_foo () {return 0; }
6990 > $ac_kw foo_t foo () {return 0; }
6991 > #endif
6992 >
6993 > _ACEOF
6994 > rm -f conftest.$ac_objext
6995 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6996 >  (eval $ac_compile) 2>conftest.er1
6997 >  ac_status=$?
6998 >  grep -v '^ *+' conftest.er1 >conftest.err
6999 >  rm -f conftest.er1
7000 >  cat conftest.err >&5
7001 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7002 >  (exit $ac_status); } &&
7003 >         { ac_try='test -z "$ac_c_werror_flag"
7004 >                         || test ! -s conftest.err'
7005 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7006 >  (eval $ac_try) 2>&5
7007 >  ac_status=$?
7008 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009 >  (exit $ac_status); }; } &&
7010 >         { ac_try='test -s conftest.$ac_objext'
7011 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7012 >  (eval $ac_try) 2>&5
7013 >  ac_status=$?
7014 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7015 >  (exit $ac_status); }; }; then
7016 >  ac_cv_c_inline=$ac_kw; break
7017 > else
7018 >  echo "$as_me: failed program was:" >&5
7019 > sed 's/^/| /' conftest.$ac_ext >&5
7020 >
7021 > fi
7022 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7023 > done
7024 >
7025 > fi
7026 > echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7027 > echo "${ECHO_T}$ac_cv_c_inline" >&6
7028 >
7029 >
7030 > case $ac_cv_c_inline in
7031 >  inline | yes) ;;
7032 >  *)
7033 >    case $ac_cv_c_inline in
7034 >      no) ac_val=;;
7035 >      *) ac_val=$ac_cv_c_inline;;
7036 >    esac
7037 >    cat >>confdefs.h <<_ACEOF
7038 > #ifndef __cplusplus
7039 > #define inline $ac_val
7040 > #endif
7041 > _ACEOF
7042 >    ;;
7043 > esac
7044 >
7045 >
7046 >
7047 >
7048 > for ac_func in rint sranddev
7049 > do
7050 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7051 > echo "$as_me:$LINENO: checking for $ac_func" >&5
7052 > echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7053 > if eval "test \"\${$as_ac_var+set}\" = set"; then
7054 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7055 > else
7056 >  cat >conftest.$ac_ext <<_ACEOF
7057 > /* confdefs.h.  */
7058 > _ACEOF
7059 > cat confdefs.h >>conftest.$ac_ext
7060 > cat >>conftest.$ac_ext <<_ACEOF
7061 > /* end confdefs.h.  */
7062 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7063 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7064 > #define $ac_func innocuous_$ac_func
7065 >
7066 > /* System header to define __stub macros and hopefully few prototypes,
7067 >    which can conflict with char $ac_func (); below.
7068 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7069 >    <limits.h> exists even on freestanding compilers.  */
7070 >
7071 > #ifdef __STDC__
7072 > # include <limits.h>
7073 > #else
7074 > # include <assert.h>
7075 > #endif
7076 >
7077 > #undef $ac_func
7078 >
7079 > /* Override any gcc2 internal prototype to avoid an error.  */
7080 > #ifdef __cplusplus
7081 > extern "C"
7082 > {
7083 > #endif
7084 > /* We use char because int might match the return type of a gcc2
7085 >   builtin and then its argument prototype would still apply.  */
7086 > char $ac_func ();
7087 > /* The GNU C library defines this for functions which it implements
7088 >    to always fail with ENOSYS.  Some functions are actually named
7089 >    something starting with __ and the normal name is an alias.  */
7090 > #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7091 > choke me
7092 > #else
7093 > char (*f) () = $ac_func;
7094 > #endif
7095 > #ifdef __cplusplus
7096 > }
7097 > #endif
7098 >
7099 > int
7100 > main ()
7101 > {
7102 > return f != $ac_func;
7103 >  ;
7104 >  return 0;
7105 > }
7106 > _ACEOF
7107 > rm -f conftest.$ac_objext conftest$ac_exeext
7108 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7109 >  (eval $ac_link) 2>conftest.er1
7110 >  ac_status=$?
7111 >  grep -v '^ *+' conftest.er1 >conftest.err
7112 >  rm -f conftest.er1
7113 >  cat conftest.err >&5
7114 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7115 >  (exit $ac_status); } &&
7116 >         { ac_try='test -z "$ac_c_werror_flag"
7117 >                         || test ! -s conftest.err'
7118 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7119 >  (eval $ac_try) 2>&5
7120 >  ac_status=$?
7121 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 >  (exit $ac_status); }; } &&
7123 >         { ac_try='test -s conftest$ac_exeext'
7124 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7125 >  (eval $ac_try) 2>&5
7126 >  ac_status=$?
7127 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128 >  (exit $ac_status); }; }; then
7129 >  eval "$as_ac_var=yes"
7130 > else
7131 >  echo "$as_me: failed program was:" >&5
7132 > sed 's/^/| /' conftest.$ac_ext >&5
7133 >
7134 > eval "$as_ac_var=no"
7135 > fi
7136 > rm -f conftest.err conftest.$ac_objext \
7137 >      conftest$ac_exeext conftest.$ac_ext
7138 > fi
7139 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7140 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7141 > if test `eval echo '${'$as_ac_var'}'` = yes; then
7142 >  cat >>confdefs.h <<_ACEOF
7143 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7144 > _ACEOF
7145 >
7146 > fi
7147 > done
7148 >
7149 >
7150 >  # clean out junk possibly left behind by a previous configuration
7151 >  rm -f src/getopt.h
7152 >  # Check for getopt_long support
7153 >
7154 > for ac_header in getopt.h
7155 > do
7156 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7157 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7158 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
7159 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7160 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7161 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7162 > fi
7163 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7164 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7165 > else
7166 >  # Is the header compilable?
7167 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
7168 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7169 > cat >conftest.$ac_ext <<_ACEOF
7170 > /* confdefs.h.  */
7171 > _ACEOF
7172 > cat confdefs.h >>conftest.$ac_ext
7173 > cat >>conftest.$ac_ext <<_ACEOF
7174 > /* end confdefs.h.  */
7175 > $ac_includes_default
7176 > #include <$ac_header>
7177 > _ACEOF
7178 > rm -f conftest.$ac_objext
7179 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7180 >  (eval $ac_compile) 2>conftest.er1
7181 >  ac_status=$?
7182 >  grep -v '^ *+' conftest.er1 >conftest.err
7183 >  rm -f conftest.er1
7184 >  cat conftest.err >&5
7185 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7186 >  (exit $ac_status); } &&
7187 >         { ac_try='test -z "$ac_c_werror_flag"
7188 >                         || test ! -s conftest.err'
7189 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7190 >  (eval $ac_try) 2>&5
7191 >  ac_status=$?
7192 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7193 >  (exit $ac_status); }; } &&
7194 >         { ac_try='test -s conftest.$ac_objext'
7195 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7196 >  (eval $ac_try) 2>&5
7197 >  ac_status=$?
7198 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7199 >  (exit $ac_status); }; }; then
7200 >  ac_header_compiler=yes
7201 > else
7202 >  echo "$as_me: failed program was:" >&5
7203 > sed 's/^/| /' conftest.$ac_ext >&5
7204 >
7205 > ac_header_compiler=no
7206 > fi
7207 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7208 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7209 > echo "${ECHO_T}$ac_header_compiler" >&6
7210 >
7211 > # Is the header present?
7212 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
7213 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7214 > cat >conftest.$ac_ext <<_ACEOF
7215 > /* confdefs.h.  */
7216 > _ACEOF
7217 > cat confdefs.h >>conftest.$ac_ext
7218 > cat >>conftest.$ac_ext <<_ACEOF
7219 > /* end confdefs.h.  */
7220 > #include <$ac_header>
7221 > _ACEOF
7222 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7223 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7224 >  ac_status=$?
7225 >  grep -v '^ *+' conftest.er1 >conftest.err
7226 >  rm -f conftest.er1
7227 >  cat conftest.err >&5
7228 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229 >  (exit $ac_status); } >/dev/null; then
7230 >  if test -s conftest.err; then
7231 >    ac_cpp_err=$ac_c_preproc_warn_flag
7232 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7233 >  else
7234 >    ac_cpp_err=
7235 >  fi
7236 > else
7237 >  ac_cpp_err=yes
7238 > fi
7239 > if test -z "$ac_cpp_err"; then
7240 >  ac_header_preproc=yes
7241 > else
7242 >  echo "$as_me: failed program was:" >&5
7243 > sed 's/^/| /' conftest.$ac_ext >&5
7244 >
7245 >  ac_header_preproc=no
7246 > fi
7247 > rm -f conftest.err conftest.$ac_ext
7248 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7249 > echo "${ECHO_T}$ac_header_preproc" >&6
7250 >
7251 > # So?  What about this header?
7252 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7253 >  yes:no: )
7254 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7255 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7256 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7257 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7258 >    ac_header_preproc=yes
7259 >    ;;
7260 >  no:yes:* )
7261 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7262 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7263 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7264 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7265 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7266 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7267 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7268 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7269 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7270 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7271 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7272 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7273 >    (
7274 >      cat <<\_ASBOX
7275 > ## ------------------------------ ##
7276 > ## Report this to gezelter@nd.edu ##
7277 > ## ------------------------------ ##
7278 > _ASBOX
7279 >    ) |
7280 >      sed "s/^/$as_me: WARNING:     /" >&2
7281 >    ;;
7282 > esac
7283 > echo "$as_me:$LINENO: checking for $ac_header" >&5
7284 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7285 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
7286 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7287 > else
7288 >  eval "$as_ac_Header=\$ac_header_preproc"
7289 > fi
7290 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7291 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7292 >
7293 > fi
7294 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
7295 >  cat >>confdefs.h <<_ACEOF
7296 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7297 > _ACEOF
7298 >
7299 > fi
7300 >
7301 > done
7302 >
7303 >
7304 > for ac_func in getopt_long
7305 > do
7306 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7307 > echo "$as_me:$LINENO: checking for $ac_func" >&5
7308 > echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7309 > if eval "test \"\${$as_ac_var+set}\" = set"; then
7310 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7311 > else
7312 >  cat >conftest.$ac_ext <<_ACEOF
7313 > /* confdefs.h.  */
7314 > _ACEOF
7315 > cat confdefs.h >>conftest.$ac_ext
7316 > cat >>conftest.$ac_ext <<_ACEOF
7317 > /* end confdefs.h.  */
7318 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7319 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7320 > #define $ac_func innocuous_$ac_func
7321 >
7322 > /* System header to define __stub macros and hopefully few prototypes,
7323 >    which can conflict with char $ac_func (); below.
7324 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7325 >    <limits.h> exists even on freestanding compilers.  */
7326 >
7327 > #ifdef __STDC__
7328 > # include <limits.h>
7329 > #else
7330 > # include <assert.h>
7331 > #endif
7332 >
7333 > #undef $ac_func
7334 >
7335 > /* Override any gcc2 internal prototype to avoid an error.  */
7336 > #ifdef __cplusplus
7337 > extern "C"
7338 > {
7339 > #endif
7340 > /* We use char because int might match the return type of a gcc2
7341 >   builtin and then its argument prototype would still apply.  */
7342 > char $ac_func ();
7343 > /* The GNU C library defines this for functions which it implements
7344 >    to always fail with ENOSYS.  Some functions are actually named
7345 >    something starting with __ and the normal name is an alias.  */
7346 > #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7347 > choke me
7348 > #else
7349 > char (*f) () = $ac_func;
7350 > #endif
7351 > #ifdef __cplusplus
7352 > }
7353 > #endif
7354 >
7355 > int
7356 > main ()
7357 > {
7358 > return f != $ac_func;
7359 >  ;
7360 >  return 0;
7361 > }
7362 > _ACEOF
7363 > rm -f conftest.$ac_objext conftest$ac_exeext
7364 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7365 >  (eval $ac_link) 2>conftest.er1
7366 >  ac_status=$?
7367 >  grep -v '^ *+' conftest.er1 >conftest.err
7368 >  rm -f conftest.er1
7369 >  cat conftest.err >&5
7370 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7371 >  (exit $ac_status); } &&
7372 >         { ac_try='test -z "$ac_c_werror_flag"
7373 >                         || test ! -s conftest.err'
7374 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7375 >  (eval $ac_try) 2>&5
7376 >  ac_status=$?
7377 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378 >  (exit $ac_status); }; } &&
7379 >         { ac_try='test -s conftest$ac_exeext'
7380 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7381 >  (eval $ac_try) 2>&5
7382 >  ac_status=$?
7383 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 >  (exit $ac_status); }; }; then
7385 >  eval "$as_ac_var=yes"
7386 > else
7387 >  echo "$as_me: failed program was:" >&5
7388 > sed 's/^/| /' conftest.$ac_ext >&5
7389 >
7390 > eval "$as_ac_var=no"
7391 > fi
7392 > rm -f conftest.err conftest.$ac_objext \
7393 >      conftest$ac_exeext conftest.$ac_ext
7394 > fi
7395 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7396 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7397 > if test `eval echo '${'$as_ac_var'}'` = yes; then
7398 >  cat >>confdefs.h <<_ACEOF
7399 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7400 > _ACEOF
7401 >
7402 > else
7403 >  # FreeBSD has a gnugetopt library for this
7404 >    echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
7405 > echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
7406 > if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
7407 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7408 > else
7409 >  ac_check_lib_save_LIBS=$LIBS
7410 > LIBS="-lgnugetopt  $LIBS"
7411 > cat >conftest.$ac_ext <<_ACEOF
7412 > /* confdefs.h.  */
7413 > _ACEOF
7414 > cat confdefs.h >>conftest.$ac_ext
7415 > cat >>conftest.$ac_ext <<_ACEOF
7416 > /* end confdefs.h.  */
7417 >
7418 > /* Override any gcc2 internal prototype to avoid an error.  */
7419 > #ifdef __cplusplus
7420 > extern "C"
7421 > #endif
7422 > /* We use char because int might match the return type of a gcc2
7423 >   builtin and then its argument prototype would still apply.  */
7424 > char getopt_long ();
7425 > int
7426 > main ()
7427 > {
7428 > getopt_long ();
7429 >  ;
7430 >  return 0;
7431 > }
7432 > _ACEOF
7433 > rm -f conftest.$ac_objext conftest$ac_exeext
7434 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7435 >  (eval $ac_link) 2>conftest.er1
7436 >  ac_status=$?
7437 >  grep -v '^ *+' conftest.er1 >conftest.err
7438 >  rm -f conftest.er1
7439 >  cat conftest.err >&5
7440 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7441 >  (exit $ac_status); } &&
7442 >         { ac_try='test -z "$ac_c_werror_flag"
7443 >                         || test ! -s conftest.err'
7444 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7445 >  (eval $ac_try) 2>&5
7446 >  ac_status=$?
7447 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448 >  (exit $ac_status); }; } &&
7449 >         { ac_try='test -s conftest$ac_exeext'
7450 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7451 >  (eval $ac_try) 2>&5
7452 >  ac_status=$?
7453 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7454 >  (exit $ac_status); }; }; then
7455 >  ac_cv_lib_gnugetopt_getopt_long=yes
7456 > else
7457 >  echo "$as_me: failed program was:" >&5
7458 > sed 's/^/| /' conftest.$ac_ext >&5
7459 >
7460 > ac_cv_lib_gnugetopt_getopt_long=no
7461 > fi
7462 > rm -f conftest.err conftest.$ac_objext \
7463 >      conftest$ac_exeext conftest.$ac_ext
7464 > LIBS=$ac_check_lib_save_LIBS
7465 > fi
7466 > echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
7467 > echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
7468 > if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
7469 >  cat >>confdefs.h <<\_ACEOF
7470 > #define HAVE_GETOPT_LONG 1
7471 > _ACEOF
7472 >
7473 > else
7474 >  # use the GNU replacement
7475 >      case $LIBOBJS in
7476 >    "getopt.$ac_objext"   | \
7477 >  *" getopt.$ac_objext"   | \
7478 >    "getopt.$ac_objext "* | \
7479 >  *" getopt.$ac_objext "* ) ;;
7480 >  *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
7481 > esac
7482 >
7483 >      case $LIBOBJS in
7484 >    "getopt1.$ac_objext"   | \
7485 >  *" getopt1.$ac_objext"   | \
7486 >    "getopt1.$ac_objext "* | \
7487 >  *" getopt1.$ac_objext "* ) ;;
7488 >  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
7489 > esac
7490 >
7491 >                ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
7492 >
7493 > fi
7494 >
7495 > fi
7496 > done
7497 >
7498 >
7499 >
7500 > case $debug in
7501 >  1)
7502 >     ;;
7503 >  *)
7504 >
7505 >
7506 >
7507 >
7508 >
7509 >
7510 > echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5
7511 > echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6
7512 > if test "${ac_cv_prog_really_gcc+set}" = set; then
7513 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7514 > else
7515 >
7516 > cat > conftest.c <<EOF
7517 > #ifdef __GNUC__
7518 >  #ifndef __INTEL_COMPILER
7519 >     yes;
7520 >  #endif
7521 > #endif
7522 > EOF
7523 > if { ac_try='${CC-cc} -E conftest.c'
7524 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7525 >  (eval $ac_try) 2>&5
7526 >  ac_status=$?
7527 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7528 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
7529 >  ac_cv_prog_really_gcc=yes
7530 > else
7531 >  ac_cv_prog_really_gcc=no
7532 > fi
7533 >
7534 > fi
7535 > echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5
7536 > echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6
7537 > if test "$ac_cv_prog_really_gcc" = yes; then
7538 >        :
7539 >
7540 > else
7541 >        :
7542 >
7543 > fi
7544 >
7545 >
7546 > # Try to determine "good" native compiler flags if none specified on command
7547 > # line
7548 > if test "$ac_test_CFLAGS" != "set"; then
7549 >  CFLAGS=""
7550 >  case "${host_cpu}-${host_os}" in
7551 >
7552 >  *linux*) if test "$CC" = icc; then
7553 >                    CFLAGS="-O"
7554 >                fi;;
7555 >  sparc-solaris2*) if test "$CC" = cc; then
7556 >                    CFLAGS="-native -fast -xO5 -dalign"
7557 >                 fi;;
7558 >
7559 >  alpha*-osf*)  if test "$CC" = cc; then
7560 >                    CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1"
7561 >                fi;;
7562 >
7563 >  hppa*-hpux*)  if test "$CC" = cc; then
7564 >                    CFLAGS="-Ae +O3 +Oall"
7565 >                fi;;
7566 >
7567 >   rs6000*-aix*)  if test "$CC" = cc -o "$CC" = xlc; then
7568 >                    CFLAGS="-O3 -qtune=auto -qansialias -w"
7569 >                fi;;
7570 >   powerpc*-aix*)
7571 >        if test "$CC" = cc -o "$CC" = xlc; then
7572 >                CFLAGS="-O3 -qtune=auto -qansialias -w"
7573 >                echo "*******************************************************"
7574 >                echo "*  You have AIX on an unknown powerpc system.  It is  *"
7575 >                echo "*  recommended that you use                           *"
7576 >                echo "*                                                     *"
7577 >                echo "*    CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
7578 >                echo "*                                 ^^^                 *"
7579 >                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
7580 >                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
7581 >                echo "*******************************************************"
7582 >        fi;;
7583 >   *darwin*)
7584 >        if test "$CC" = xlc -o "$CC" = cc; then
7585 >                CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
7586 >        fi;;
7587 >  esac
7588 >
7589 >  # use default flags for gcc on all systems
7590 >  if test $ac_cv_prog_really_gcc = yes; then
7591 >     CFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
7592 >  fi
7593 >
7594 >  # test for gcc-specific flags:
7595 >  if test $ac_cv_prog_really_gcc = yes; then
7596 >    # -malign-double for x86 systems
7597 >
7598 >
7599 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5
7600 > echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6
7601 > if test "${ac_align_double+set}" = set; then
7602 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7603 > else
7604 >  echo 'void f(){}' > conftest.c
7605 > if test -z "`${CC-cc} -malign-double -c conftest.c 2>&1`"; then
7606 >        ac_align_double=yes
7607 > else
7608 >        ac_align_double=no
7609 > fi
7610 > rm -f conftest*
7611 >
7612 > fi
7613 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
7614 > echo "${ECHO_T}$ac_align_double" >&6
7615 > if test "$ac_align_double" = yes; then
7616 >        :
7617 >        CFLAGS="$CFLAGS -malign-double"
7618 > else
7619 >        :
7620 >
7621 > fi
7622 >
7623 >    # -fstrict-aliasing for gcc-2.95+
7624 >
7625 >
7626 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
7627 > echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6
7628 > if test "${ac_fstrict_aliasing+set}" = set; then
7629 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7630 > else
7631 >  echo 'void f(){}' > conftest.c
7632 > if test -z "`${CC-cc} -fstrict-aliasing -c conftest.c 2>&1`"; then
7633 >        ac_fstrict_aliasing=yes
7634 > else
7635 >        ac_fstrict_aliasing=no
7636 > fi
7637 > rm -f conftest*
7638 >
7639 > fi
7640 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
7641 > echo "${ECHO_T}$ac_fstrict_aliasing" >&6
7642 > if test "$ac_fstrict_aliasing" = yes; then
7643 >        :
7644 >        CFLAGS="$CFLAGS -fstrict-aliasing"
7645 > else
7646 >        :
7647 >
7648 > fi
7649 >
7650 >  fi
7651 >
7652 >  CPU_FLAGS=""
7653 >  if test $ac_cv_prog_really_gcc = yes; then
7654 >                  case "${host_cpu}" in
7655 >          i586*)
7656 >
7657 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
7658 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
7659 > if test "${ac_cpu_pentium+set}" = set; then
7660 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7661 > else
7662 >  echo 'void f(){}' > conftest.c
7663 > if test -z "`${CC-cc} -mcpu=pentium -c conftest.c 2>&1`"; then
7664 >        ac_cpu_pentium=yes
7665 > else
7666 >        ac_cpu_pentium=no
7667 > fi
7668 > rm -f conftest*
7669 >
7670 > fi
7671 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
7672 > echo "${ECHO_T}$ac_cpu_pentium" >&6
7673 > if test "$ac_cpu_pentium" = yes; then
7674 >        :
7675 >        CPU_FLAGS=-mcpu=pentium
7676 > else
7677 >        :
7678 >
7679 >
7680 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5
7681 > echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6
7682 > if test "${ac_pentium+set}" = set; then
7683 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7684 > else
7685 >  echo 'void f(){}' > conftest.c
7686 > if test -z "`${CC-cc} -mpentium -c conftest.c 2>&1`"; then
7687 >        ac_pentium=yes
7688 > else
7689 >        ac_pentium=no
7690 > fi
7691 > rm -f conftest*
7692 >
7693 > fi
7694 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
7695 > echo "${ECHO_T}$ac_pentium" >&6
7696 > if test "$ac_pentium" = yes; then
7697 >        :
7698 >        CPU_FLAGS=-mpentium
7699 > else
7700 >        :
7701 >
7702 > fi
7703 >
7704 > fi
7705 >
7706 >                  ;;
7707 >          i686*)
7708 >
7709 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
7710 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6
7711 > if test "${ac_cpu_pentiumpro+set}" = set; then
7712 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7713 > else
7714 >  echo 'void f(){}' > conftest.c
7715 > if test -z "`${CC-cc} -mcpu=pentiumpro -c conftest.c 2>&1`"; then
7716 >        ac_cpu_pentiumpro=yes
7717 > else
7718 >        ac_cpu_pentiumpro=no
7719 > fi
7720 > rm -f conftest*
7721 >
7722 > fi
7723 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
7724 > echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
7725 > if test "$ac_cpu_pentiumpro" = yes; then
7726 >        :
7727 >        CPU_FLAGS=-mcpu=pentiumpro
7728 > else
7729 >        :
7730 >
7731 >
7732 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5
7733 > echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6
7734 > if test "${ac_pentiumpro+set}" = set; then
7735 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7736 > else
7737 >  echo 'void f(){}' > conftest.c
7738 > if test -z "`${CC-cc} -mpentiumpro -c conftest.c 2>&1`"; then
7739 >        ac_pentiumpro=yes
7740 > else
7741 >        ac_pentiumpro=no
7742 > fi
7743 > rm -f conftest*
7744 >
7745 > fi
7746 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
7747 > echo "${ECHO_T}$ac_pentiumpro" >&6
7748 > if test "$ac_pentiumpro" = yes; then
7749 >        :
7750 >        CPU_FLAGS=-mpentiumpro
7751 > else
7752 >        :
7753 >
7754 > fi
7755 >
7756 > fi
7757 >
7758 >                  ;;
7759 >          powerpc*)
7760 >                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
7761 >                is60x=`echo $cputype | egrep "^600-9e?$"`
7762 >                if test -n "$is60x"; then
7763 >
7764 >
7765 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
7766 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6
7767 > if test "${ac_m_cpu_60x+set}" = set; then
7768 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7769 > else
7770 >  echo 'void f(){}' > conftest.c
7771 > if test -z "`${CC-cc} -mcpu=$cputype -c conftest.c 2>&1`"; then
7772 >        ac_m_cpu_60x=yes
7773 > else
7774 >        ac_m_cpu_60x=no
7775 > fi
7776 > rm -f conftest*
7777 >
7778 > fi
7779 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
7780 > echo "${ECHO_T}$ac_m_cpu_60x" >&6
7781 > if test "$ac_m_cpu_60x" = yes; then
7782 >        :
7783 >        CPU_FLAGS=-mcpu=$cputype
7784 > else
7785 >        :
7786 >
7787 > fi
7788 >
7789 >                elif test "$cputype" = 750; then
7790 >
7791 >
7792 > echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
7793 > echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
7794 > if test "${ac_cv_prog_gcc_2_95+set}" = set; then
7795 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7796 > else
7797 >
7798 > cat > conftest.c <<EOF
7799 > #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
7800 > #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
7801 >     yes;
7802 > #  endif
7803 > #endif
7804 > EOF
7805 > if { ac_try='${CC-cc} -E conftest.c'
7806 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7807 >  (eval $ac_try) 2>&5
7808 >  ac_status=$?
7809 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7810 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
7811 >  ac_cv_prog_gcc_2_95=yes
7812 > else
7813 >  ac_cv_prog_gcc_2_95=no
7814 > fi
7815 >
7816 > fi
7817 > echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
7818 > echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
7819 > if test "$ac_cv_prog_gcc_2_95" = yes; then
7820 >        :
7821 >
7822 >
7823 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5
7824 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6
7825 > if test "${ac_m_cpu_750+set}" = set; then
7826 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7827 > else
7828 >  echo 'void f(){}' > conftest.c
7829 > if test -z "`${CC-cc} -mcpu=750 -c conftest.c 2>&1`"; then
7830 >        ac_m_cpu_750=yes
7831 > else
7832 >        ac_m_cpu_750=no
7833 > fi
7834 > rm -f conftest*
7835 >
7836 > fi
7837 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
7838 > echo "${ECHO_T}$ac_m_cpu_750" >&6
7839 > if test "$ac_m_cpu_750" = yes; then
7840 >        :
7841 >        CPU_FLAGS=-mcpu=750
7842 > else
7843 >        :
7844 >
7845 > fi
7846 >
7847 > else
7848 >        :
7849 >
7850 > fi
7851 >
7852 >                fi
7853 >                if test -z "$CPU_FLAGS"; then
7854 >
7855 >
7856 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
7857 > echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6
7858 > if test "${ac_m_cpu_powerpc+set}" = set; then
7859 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7860 > else
7861 >  echo 'void f(){}' > conftest.c
7862 > if test -z "`${CC-cc} -mcpu=powerpc -c conftest.c 2>&1`"; then
7863 >        ac_m_cpu_powerpc=yes
7864 > else
7865 >        ac_m_cpu_powerpc=no
7866 > fi
7867 > rm -f conftest*
7868 >
7869 > fi
7870 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
7871 > echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
7872 > if test "$ac_m_cpu_powerpc" = yes; then
7873 >        :
7874 >        CPU_FLAGS=-mcpu=powerpc
7875 > else
7876 >        :
7877 >
7878 > fi
7879 >
7880 >                fi
7881 >                if test -z "$CPU_FLAGS"; then
7882 >
7883 >
7884 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5
7885 > echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6
7886 > if test "${ac_m_powerpc+set}" = set; then
7887 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7888 > else
7889 >  echo 'void f(){}' > conftest.c
7890 > if test -z "`${CC-cc} -mpowerpc -c conftest.c 2>&1`"; then
7891 >        ac_m_powerpc=yes
7892 > else
7893 >        ac_m_powerpc=no
7894 > fi
7895 > rm -f conftest*
7896 >
7897 > fi
7898 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
7899 > echo "${ECHO_T}$ac_m_powerpc" >&6
7900 > if test "$ac_m_powerpc" = yes; then
7901 >        :
7902 >        CPU_FLAGS=-mpowerpc
7903 > else
7904 >        :
7905 >
7906 > fi
7907 >
7908 >                fi
7909 >          esac
7910 >  fi
7911 >
7912 >  if test -n "$CPU_FLAGS"; then
7913 >        CFLAGS="$CFLAGS $CPU_FLAGS"
7914 >  fi
7915 >
7916 >  if test -z "$CFLAGS"; then
7917 >        echo ""
7918 >        echo "********************************************************"
7919 >        echo "* WARNING: Don't know the best CFLAGS for this system  *"
7920 >        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
7921 >        echo "* (otherwise, a default of CFLAGS=-O3 will be used)    *"
7922 >        echo "********************************************************"
7923 >        echo ""
7924 >        CFLAGS="-O3"
7925 >  fi
7926 >
7927 >
7928 >
7929 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
7930 > echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6
7931 > if test "${ac_guessed_cflags+set}" = set; then
7932 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7933 > else
7934 >  echo 'void f(){}' > conftest.c
7935 > if test -z "`${CC-cc} ${CFLAGS} -c conftest.c 2>&1`"; then
7936 >        ac_guessed_cflags=yes
7937 > else
7938 >        ac_guessed_cflags=no
7939 > fi
7940 > rm -f conftest*
7941 >
7942 > fi
7943 > echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
7944 > echo "${ECHO_T}$ac_guessed_cflags" >&6
7945 > if test "$ac_guessed_cflags" = yes; then
7946 >        :
7947 >
7948 > else
7949 >        :
7950 >
7951 >        echo ""
7952 >        echo "********************************************************"
7953 >        echo "* WARNING: The guessed CFLAGS don't seem to work with  *"
7954 >        echo "* your compiler.                                       *"
7955 >        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
7956 >        echo "********************************************************"
7957 >        echo ""
7958 >        CFLAGS=""
7959 >
7960 > fi
7961 >
7962 >
7963 > fi
7964 >
7965 >
7966 >
7967 >
7968 >
7969 >
7970 >
7971 > echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5
7972 > echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6
7973 > if test "${ac_cv_prog_really_gxx+set}" = set; then
7974 >  echo $ECHO_N "(cached) $ECHO_C" >&6
7975 > else
7976 >
7977 > cat > conftest.cpp <<EOF
7978 > #ifdef __GNUC__
7979 >  #ifndef __INTEL_COMPILER
7980 >     yes;
7981 >  #endif
7982 > #endif
7983 > EOF
7984 > if { ac_try='${CXX-c++} -E conftest.cpp'
7985 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7986 >  (eval $ac_try) 2>&5
7987 >  ac_status=$?
7988 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7989 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
7990 >  ac_cv_prog_really_gxx=yes
7991 > else
7992 >  ac_cv_prog_really_gxx=no
7993 > fi
7994 >
7995 > fi
7996 > echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5
7997 > echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6
7998 > if test "$ac_cv_prog_really_gxx" = yes; then
7999 >        :
8000 >
8001 > else
8002 >        :
8003 >
8004 > fi
8005 >
8006 >
8007 > # Try to determine "good" native compiler flags if none specified on command
8008 > # line
8009 > if test "$ac_test_CXXFLAGS" != "set"; then
8010 >  CXXFLAGS=""
8011 >  case "${host_cpu}-${host_os}" in
8012 >
8013 >  *linux*) if test "$CXX" = icc -o "$CXX" = icpc; then
8014 >                    CXXFLAGS="-O"
8015 >                fi;;
8016 >  sparc-solaris2*) if test "$CXX" = CC; then
8017 >                    CXXFLAGS="-native -fast -xO5 -dalign"
8018 >                 fi;;
8019 >   rs6000*-aix*)  if test "$CXX" = xlC; then
8020 >                    CXXFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
8021 >                fi;;
8022 >   powerpc*-aix*)
8023 >        if test "$CXX" = xlC; then
8024 >                CXXFLAGS="-O3 -qarch=ppc -qansialias -w"
8025 >                echo "*******************************************************"
8026 >                echo "*  You have AIX on an unknown powerpc system.  It is  *"
8027 >                echo "*  recommended that you use                           *"
8028 >                echo "*                                                     *"
8029 >                echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
8030 >                echo "*                                 ^^^                 *"
8031 >                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
8032 >                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
8033 >                echo "*******************************************************"
8034 >        fi;;
8035 >   *darwin*)
8036 >        if test "$CXX" = xlc++ -o "$CXX" = xlC ; then
8037 >                CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
8038 >        fi;;
8039 >  esac
8040 >
8041 >  # use default flags for gcc on all systems
8042 >  if test $ac_cv_prog_really_gxx = yes; then
8043 >     CXXFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
8044 >  fi
8045 >
8046 >  # test for gcc-specific flags:
8047 >  if test $ac_cv_prog_really_gxx = yes; then
8048 >    # -malign-double for x86 systems
8049 >
8050 >
8051 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5
8052 > echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6
8053 > if test "${ac_align_double+set}" = set; then
8054 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8055 > else
8056 >  echo 'void f(){}' > conftest.cpp
8057 > if test -z "`${CXX-c++} -malign-double -c conftest.cpp 2>&1`"; then
8058 >        ac_align_double=yes
8059 > else
8060 >        ac_align_double=no
8061 > fi
8062 > rm -f conftest*
8063 >
8064 > fi
8065 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
8066 > echo "${ECHO_T}$ac_align_double" >&6
8067 > if test "$ac_align_double" = yes; then
8068 >        :
8069 >        CXXFLAGS="$CXXFLAGS -malign-double"
8070 > else
8071 >        :
8072 >
8073 > fi
8074 >
8075 >    # -fstrict-aliasing for gcc-2.95+
8076 >
8077 >
8078 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
8079 > echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6
8080 > if test "${ac_fstrict_aliasing+set}" = set; then
8081 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8082 > else
8083 >  echo 'void f(){}' > conftest.cpp
8084 > if test -z "`${CXX-c++} -fstrict-aliasing -c conftest.cpp 2>&1`"; then
8085 >        ac_fstrict_aliasing=yes
8086 > else
8087 >        ac_fstrict_aliasing=no
8088 > fi
8089 > rm -f conftest*
8090 >
8091 > fi
8092 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
8093 > echo "${ECHO_T}$ac_fstrict_aliasing" >&6
8094 > if test "$ac_fstrict_aliasing" = yes; then
8095 >        :
8096 >        CXXFLAGS="$CXXFLAGS -fstrict-aliasing"
8097 > else
8098 >        :
8099 >
8100 > fi
8101 >
8102 >  fi
8103 >
8104 >  CPU_FLAGS=""
8105 >  if test $ac_cv_prog_really_gxx = yes; then
8106 >                  case "${host_cpu}" in
8107 >          i586*)
8108 >
8109 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5
8110 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentium... $ECHO_C" >&6
8111 > if test "${ac_cpu_pentium+set}" = set; then
8112 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8113 > else
8114 >  echo 'void f(){}' > conftest.cpp
8115 > if test -z "`${CXX-c++} -mcpu=pentium -c conftest.cpp 2>&1`"; then
8116 >        ac_cpu_pentium=yes
8117 > else
8118 >        ac_cpu_pentium=no
8119 > fi
8120 > rm -f conftest*
8121 >
8122 > fi
8123 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
8124 > echo "${ECHO_T}$ac_cpu_pentium" >&6
8125 > if test "$ac_cpu_pentium" = yes; then
8126 >        :
8127 >        CPU_FLAGS=-mcpu=pentium
8128 > else
8129 >        :
8130 >
8131 >
8132 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5
8133 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6
8134 > if test "${ac_pentium+set}" = set; then
8135 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8136 > else
8137 >  echo 'void f(){}' > conftest.cpp
8138 > if test -z "`${CXX-c++} -mpentium -c conftest.cpp 2>&1`"; then
8139 >        ac_pentium=yes
8140 > else
8141 >        ac_pentium=no
8142 > fi
8143 > rm -f conftest*
8144 >
8145 > fi
8146 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
8147 > echo "${ECHO_T}$ac_pentium" >&6
8148 > if test "$ac_pentium" = yes; then
8149 >        :
8150 >        CPU_FLAGS=-mpentium
8151 > else
8152 >        :
8153 >
8154 > fi
8155 >
8156 > fi
8157 >
8158 >                  ;;
8159 >          i686*)
8160 >
8161 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
8162 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6
8163 > if test "${ac_cpu_pentiumpro+set}" = set; then
8164 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8165 > else
8166 >  echo 'void f(){}' > conftest.cpp
8167 > if test -z "`${CXX-c++} -mcpu=pentiumpro -c conftest.cpp 2>&1`"; then
8168 >        ac_cpu_pentiumpro=yes
8169 > else
8170 >        ac_cpu_pentiumpro=no
8171 > fi
8172 > rm -f conftest*
8173 >
8174 > fi
8175 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
8176 > echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
8177 > if test "$ac_cpu_pentiumpro" = yes; then
8178 >        :
8179 >        CPU_FLAGS=-mcpu=pentiumpro
8180 > else
8181 >        :
8182 >
8183 >
8184 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
8185 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6
8186 > if test "${ac_pentiumpro+set}" = set; then
8187 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8188 > else
8189 >  echo 'void f(){}' > conftest.cpp
8190 > if test -z "`${CXX-c++} -mpentiumpro -c conftest.cpp 2>&1`"; then
8191 >        ac_pentiumpro=yes
8192 > else
8193 >        ac_pentiumpro=no
8194 > fi
8195 > rm -f conftest*
8196 >
8197 > fi
8198 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
8199 > echo "${ECHO_T}$ac_pentiumpro" >&6
8200 > if test "$ac_pentiumpro" = yes; then
8201 >        :
8202 >        CPU_FLAGS=-mpentiumpro
8203 > else
8204 >        :
8205 >
8206 > fi
8207 >
8208 > fi
8209 >
8210 >                  ;;
8211 >          powerpc*)
8212 >                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
8213 >                is60x=`echo $cputype | egrep "^600-9e?$"`
8214 >                if test -n "$is60x"; then
8215 >
8216 >
8217 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
8218 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6
8219 > if test "${ac_m_cpu_60x+set}" = set; then
8220 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8221 > else
8222 >  echo 'void f(){}' > conftest.cpp
8223 > if test -z "`${CXX-c++} -mcpu=$cputype -c conftest.cpp 2>&1`"; then
8224 >        ac_m_cpu_60x=yes
8225 > else
8226 >        ac_m_cpu_60x=no
8227 > fi
8228 > rm -f conftest*
8229 >
8230 > fi
8231 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
8232 > echo "${ECHO_T}$ac_m_cpu_60x" >&6
8233 > if test "$ac_m_cpu_60x" = yes; then
8234 >        :
8235 >        CPU_FLAGS=-mcpu=$cputype
8236 > else
8237 >        :
8238 >
8239 > fi
8240 >
8241 >                elif test "$cputype" = 750; then
8242 >
8243 >
8244 > echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5
8245 > echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6
8246 > if test "${ac_cv_prog_gxx_2_95+set}" = set; then
8247 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8248 > else
8249 >
8250 > cat > conftest.cpp <<EOF
8251 > #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
8252 > #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
8253 >     yes;
8254 > #  endif
8255 > #endif
8256 > EOF
8257 > if { ac_try='${CXX-c++} -E conftest.cpp'
8258 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8259 >  (eval $ac_try) 2>&5
8260 >  ac_status=$?
8261 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
8263 >  ac_cv_prog_gxx_2_95=yes
8264 > else
8265 >  ac_cv_prog_gxx_2_95=no
8266 > fi
8267 >
8268 > fi
8269 > echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5
8270 > echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6
8271 > if test "$ac_cv_prog_gxx_2_95" = yes; then
8272 >        :
8273 >
8274 >
8275 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5
8276 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6
8277 > if test "${ac_m_cpu_750+set}" = set; then
8278 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8279 > else
8280 >  echo 'void f(){}' > conftest.cpp
8281 > if test -z "`${CXX-c++} -mcpu=750 -c conftest.cpp 2>&1`"; then
8282 >        ac_m_cpu_750=yes
8283 > else
8284 >        ac_m_cpu_750=no
8285 > fi
8286 > rm -f conftest*
8287 >
8288 > fi
8289 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
8290 > echo "${ECHO_T}$ac_m_cpu_750" >&6
8291 > if test "$ac_m_cpu_750" = yes; then
8292 >        :
8293 >        CPU_FLAGS=-mcpu=750
8294 > else
8295 >        :
8296 >
8297 > fi
8298 >
8299 > else
8300 >        :
8301 >
8302 > fi
8303 >
8304 >                fi
8305 >                if test -z "$CPU_FLAGS"; then
8306 >
8307 >
8308 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
8309 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6
8310 > if test "${ac_m_cpu_powerpc+set}" = set; then
8311 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8312 > else
8313 >  echo 'void f(){}' > conftest.cpp
8314 > if test -z "`${CXX-c++} -mcpu=powerpc -c conftest.cpp 2>&1`"; then
8315 >        ac_m_cpu_powerpc=yes
8316 > else
8317 >        ac_m_cpu_powerpc=no
8318 > fi
8319 > rm -f conftest*
8320 >
8321 > fi
8322 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
8323 > echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
8324 > if test "$ac_m_cpu_powerpc" = yes; then
8325 >        :
8326 >        CPU_FLAGS=-mcpu=powerpc
8327 > else
8328 >        :
8329 >
8330 > fi
8331 >
8332 >                fi
8333 >                if test -z "$CPU_FLAGS"; then
8334 >
8335 >
8336 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5
8337 > echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6
8338 > if test "${ac_m_powerpc+set}" = set; then
8339 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8340 > else
8341 >  echo 'void f(){}' > conftest.cpp
8342 > if test -z "`${CXX-c++} -mpowerpc -c conftest.cpp 2>&1`"; then
8343 >        ac_m_powerpc=yes
8344 > else
8345 >        ac_m_powerpc=no
8346 > fi
8347 > rm -f conftest*
8348 >
8349 > fi
8350 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
8351 > echo "${ECHO_T}$ac_m_powerpc" >&6
8352 > if test "$ac_m_powerpc" = yes; then
8353 >        :
8354 >        CPU_FLAGS=-mpowerpc
8355 > else
8356 >        :
8357 >
8358 > fi
8359 >
8360 >                fi
8361 >          esac
8362 >  fi
8363 >
8364 >  if test -n "$CPU_FLAGS"; then
8365 >        CXXFLAGS="$CXXFLAGS $CPU_FLAGS"
8366 >  fi
8367 >
8368 >  if test -z "$CXXFLAGS"; then
8369 >        echo ""
8370 >        echo "**********************************************************"
8371 >        echo "* WARNING: Don't know the best CXXFLAGS for this system  *"
8372 >        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
8373 >        echo "* (otherwise, a default of CXXFLAGS=-O3 will be used)    *"
8374 >        echo "**********************************************************"
8375 >        echo ""
8376 >        CXXFLAGS="-O3"
8377 >  fi
8378 >
8379 >
8380 >
8381 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
8382 > echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6
8383 > if test "${ac_guessed_cxxflags+set}" = set; then
8384 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8385 > else
8386 >  echo 'void f(){}' > conftest.cpp
8387 > if test -z "`${CXX-c++} ${CXXFLAGS} -c conftest.cpp 2>&1`"; then
8388 >        ac_guessed_cxxflags=yes
8389 > else
8390 >        ac_guessed_cxxflags=no
8391 > fi
8392 > rm -f conftest*
8393 >
8394 > fi
8395 > echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5
8396 > echo "${ECHO_T}$ac_guessed_cxxflags" >&6
8397 > if test "$ac_guessed_cxxflags" = yes; then
8398 >        :
8399 >
8400 > else
8401 >        :
8402 >
8403 >        echo ""
8404 >        echo "**********************************************************"
8405 >        echo "* WARNING: The guessed CXXFLAGS don't seem to work with  *"
8406 >        echo "* your compiler.                                         *"
8407 >        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
8408 >        echo "**********************************************************"
8409 >        echo ""
8410 >        CXXFLAGS=""
8411 >
8412 > fi
8413 >
8414 >
8415 > fi
8416 >
8417 >
8418 >
8419 >
8420 >
8421 > # Try to determine "good" native compiler flags if none specified on command
8422 > # line
8423 >
8424 > if test x"$F90FLAGS" = x ; then
8425 >  F90FLAGS=""
8426 >  case "${host_cpu}-${host_os}" in
8427 >
8428 >  *linux*) if test "$F90" = ifc -o "$F90" = ifort; then
8429 >                    F90FLAGS="-O"
8430 >                fi;;
8431 >   rs6000*-aix*)  if test "$F90" = xlf90 -o "$F90" = f90; then
8432 >                    F90FLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
8433 >                fi;;
8434 >   powerpc*-aix*)
8435 >        if test "$F90" = f90 -o "$F90" = xlf90; then
8436 >                F90FLAGS="-O3 -qarch=ppc -qansialias -w"
8437 >                echo "*******************************************************"
8438 >                echo "*  You have AIX on an unknown powerpc system.  It is  *"
8439 >                echo "*  recommended that you use                           *"
8440 >                echo "*                                                     *"
8441 >                echo "*  F90FLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
8442 >                echo "*                                 ^^^                 *"
8443 >                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
8444 >                echo "*  PowerPC CPU you have.   For more info, man xlf.    *"
8445 >                echo "*******************************************************"
8446 >        fi;;
8447 >   *darwin*)
8448 >        if test "$F90" = f90 -o "$F90" = xlf90 -o "$F90" = xlf95; then
8449 >                F90FLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto"
8450 >        fi;;
8451 >  esac
8452 >
8453 >  if test -n "$CPU_FLAGS"; then
8454 >        F90FLAGS="$F90FLAGS $CPU_FLAGS"
8455 >  fi
8456 >
8457 >  if test -z "$F90FLAGS"; then
8458 >        echo ""
8459 >        echo "**********************************************************"
8460 >        echo "* WARNING: Don't know the best F90FLAGS for this system  *"
8461 >        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
8462 >        echo "* (otherwise, a default of F90FLAGS=-O3 will be used)    *"
8463 >        echo "**********************************************************"
8464 >        echo ""
8465 >        F90FLAGS="-O3"
8466 >  fi
8467 >
8468 >
8469 > echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
8470 > echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6
8471 > if test "${ac_guessed_f90flags+set}" = set; then
8472 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8473 > else
8474 >
8475 >
8476 >
8477 > ac_ext=f90
8478 > ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
8479 > ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8480 > ac_compiler_gnu=$ac_cv_f90_compiler_gnu
8481 >
8482 > echo 'program main' > conftest.$ac_ext
8483 > echo 'end program main' >> conftest.$ac_ext
8484 > ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5'
8485 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8486 >  (eval $ac_compile) 2>&5
8487 >  ac_status=$?
8488 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 >  (exit $ac_status); }; then
8490 >        ac_guessed_f90flags=yes
8491 > else
8492 >        ac_guessed_f90flags=no
8493 > fi
8494 > rm -f conftest*
8495 > ac_ext=c
8496 > ac_cpp='$CPP $CPPFLAGS'
8497 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8498 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8499 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
8500 >
8501 >
8502 > fi
8503 > echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5
8504 > echo "${ECHO_T}$ac_guessed_f90flags" >&6
8505 > if test "$ac_guessed_f90flags" = yes; then
8506 >        :
8507 >
8508 > else
8509 >        :
8510 >
8511 >        echo ""
8512 >        echo "**********************************************************"
8513 >        echo "* WARNING: The guessed F90FLAGS don't seem to work with  *"
8514 >        echo "* your compiler.                                         *"
8515 >        echo "* Use  make F90FLAGS=..., or edit the top level Makefile *"
8516 >        echo "**********************************************************"
8517 >        echo ""
8518 >        F90FLAGS=""
8519 >
8520 > fi
8521 >
8522 >
8523 > fi
8524 >
8525 >     ;;
8526 > esac
8527 >
8528 > # Find a good install program.  We prefer a C program (faster),
8529 > # so one script is as good as another.  But avoid the broken or
8530 > # incompatible versions:
8531 > # SysV /etc/install, /usr/sbin/install
8532 > # SunOS /usr/etc/install
8533 > # IRIX /sbin/install
8534 > # AIX /bin/install
8535 > # AmigaOS /C/install, which installs bootblocks on floppy discs
8536 > # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8537 > # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8538 > # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8539 > # OS/2's system install, which has a completely different semantic
8540 > # ./install, which can be erroneously created by make from ./install.sh.
8541 > echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
8542 > echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
8543 > if test -z "$INSTALL"; then
8544 > if test "${ac_cv_path_install+set}" = set; then
8545 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8546 > else
8547 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8548 > for as_dir in $PATH
8549 > do
8550 >  IFS=$as_save_IFS
8551 >  test -z "$as_dir" && as_dir=.
8552 >  # Account for people who put trailing slashes in PATH elements.
8553 > case $as_dir/ in
8554 >  ./ | .// | /cC/* | \
8555 >  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
8556 >  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
8557 >  /usr/ucb/* ) ;;
8558 >  *)
8559 >    # OSF1 and SCO ODT 3.0 have their own names for install.
8560 >    # Don't use installbsd from OSF since it installs stuff as root
8561 >    # by default.
8562 >    for ac_prog in ginstall scoinst install; do
8563 >      for ac_exec_ext in '' $ac_executable_extensions; do
8564 >        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
8565 >          if test $ac_prog = install &&
8566 >            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
8567 >            # AIX install.  It has an incompatible calling convention.
8568 >            :
8569 >          elif test $ac_prog = install &&
8570 >            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
8571 >            # program-specific install script used by HP pwplus--don't use.
8572 >            :
8573 >          else
8574 >            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
8575 >            break 3
8576 >          fi
8577 >        fi
8578 >      done
8579 >    done
8580 >    ;;
8581 > esac
8582 > done
8583 >
8584 >
8585 > fi
8586 >  if test "${ac_cv_path_install+set}" = set; then
8587 >    INSTALL=$ac_cv_path_install
8588 >  else
8589 >    # As a last resort, use the slow shell script.  We don't cache a
8590 >    # path for INSTALL within a source directory, because that will
8591 >    # break other packages using the cache if that directory is
8592 >    # removed, or if the path is relative.
8593 >    INSTALL=$ac_install_sh
8594 >  fi
8595 > fi
8596 > echo "$as_me:$LINENO: result: $INSTALL" >&5
8597 > echo "${ECHO_T}$INSTALL" >&6
8598 >
8599 > # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8600 > # It thinks the first close brace ends the variable substitution.
8601 > test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
8602 >
8603 > test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
8604 >
8605 > test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
8606 >
8607 > echo "$as_me:$LINENO: checking whether ln -s works" >&5
8608 > echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
8609 > LN_S=$as_ln_s
8610 > if test "$LN_S" = "ln -s"; then
8611 >  echo "$as_me:$LINENO: result: yes" >&5
8612 > echo "${ECHO_T}yes" >&6
8613 > else
8614 >  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
8615 > echo "${ECHO_T}no, using $LN_S" >&6
8616 > fi
8617 >
8618 > echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8619 > echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
8620 > set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
8621 > if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
8622 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8623 > else
8624 >  cat >conftest.make <<\_ACEOF
8625 > all:
8626 >        @echo 'ac_maketemp="$(MAKE)"'
8627 > _ACEOF
8628 > # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8629 > eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
8630 > if test -n "$ac_maketemp"; then
8631 >  eval ac_cv_prog_make_${ac_make}_set=yes
8632 > else
8633 >  eval ac_cv_prog_make_${ac_make}_set=no
8634 > fi
8635 > rm -f conftest.make
8636 > fi
8637 > if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
8638 >  echo "$as_me:$LINENO: result: yes" >&5
8639 > echo "${ECHO_T}yes" >&6
8640 >  SET_MAKE=
8641 > else
8642 >  echo "$as_me:$LINENO: result: no" >&5
8643 > echo "${ECHO_T}no" >&6
8644 >  SET_MAKE="MAKE=${MAKE-make}"
8645 > fi
8646 >
8647 > if test -n "$ac_tool_prefix"; then
8648 >  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8649 > set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8650 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8651 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8652 > if test "${ac_cv_prog_RANLIB+set}" = set; then
8653 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8654 > else
8655 >  if test -n "$RANLIB"; then
8656 >  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8657 > else
8658 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8659 > for as_dir in $PATH
8660 > do
8661 >  IFS=$as_save_IFS
8662 >  test -z "$as_dir" && as_dir=.
8663 >  for ac_exec_ext in '' $ac_executable_extensions; do
8664 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8665 >    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8666 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8667 >    break 2
8668 >  fi
8669 > done
8670 > done
8671 >
8672 > fi
8673 > fi
8674 > RANLIB=$ac_cv_prog_RANLIB
8675 > if test -n "$RANLIB"; then
8676 >  echo "$as_me:$LINENO: result: $RANLIB" >&5
8677 > echo "${ECHO_T}$RANLIB" >&6
8678 > else
8679 >  echo "$as_me:$LINENO: result: no" >&5
8680 > echo "${ECHO_T}no" >&6
8681 > fi
8682 >
8683 > fi
8684 > if test -z "$ac_cv_prog_RANLIB"; then
8685 >  ac_ct_RANLIB=$RANLIB
8686 >  # Extract the first word of "ranlib", so it can be a program name with args.
8687 > set dummy ranlib; ac_word=$2
8688 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8689 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8690 > if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
8691 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8692 > else
8693 >  if test -n "$ac_ct_RANLIB"; then
8694 >  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8695 > else
8696 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8697 > for as_dir in $PATH
8698 > do
8699 >  IFS=$as_save_IFS
8700 >  test -z "$as_dir" && as_dir=.
8701 >  for ac_exec_ext in '' $ac_executable_extensions; do
8702 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8703 >    ac_cv_prog_ac_ct_RANLIB="ranlib"
8704 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8705 >    break 2
8706 >  fi
8707 > done
8708 > done
8709 >
8710 >  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
8711 > fi
8712 > fi
8713 > ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8714 > if test -n "$ac_ct_RANLIB"; then
8715 >  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
8716 > echo "${ECHO_T}$ac_ct_RANLIB" >&6
8717 > else
8718 >  echo "$as_me:$LINENO: result: no" >&5
8719 > echo "${ECHO_T}no" >&6
8720 > fi
8721 >
8722 >  RANLIB=$ac_ct_RANLIB
8723 > else
8724 >  RANLIB="$ac_cv_prog_RANLIB"
8725 > fi
8726 >
8727 > for ac_prog in 'bison -y' byacc
8728 > do
8729 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
8730 > set dummy $ac_prog; ac_word=$2
8731 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8732 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8733 > if test "${ac_cv_prog_YACC+set}" = set; then
8734 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8735 > else
8736 >  if test -n "$YACC"; then
8737 >  ac_cv_prog_YACC="$YACC" # Let the user override the test.
8738 > else
8739 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8740 > for as_dir in $PATH
8741 > do
8742 >  IFS=$as_save_IFS
8743 >  test -z "$as_dir" && as_dir=.
8744 >  for ac_exec_ext in '' $ac_executable_extensions; do
8745 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8746 >    ac_cv_prog_YACC="$ac_prog"
8747 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8748 >    break 2
8749 >  fi
8750 > done
8751 > done
8752 >
8753 > fi
8754 > fi
8755 > YACC=$ac_cv_prog_YACC
8756 > if test -n "$YACC"; then
8757 >  echo "$as_me:$LINENO: result: $YACC" >&5
8758 > echo "${ECHO_T}$YACC" >&6
8759 > else
8760 >  echo "$as_me:$LINENO: result: no" >&5
8761 > echo "${ECHO_T}no" >&6
8762 > fi
8763 >
8764 >  test -n "$YACC" && break
8765 > done
8766 > test -n "$YACC" || YACC="yacc"
8767 >
8768 > for ac_prog in flex lex
8769 > do
8770 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
8771 > set dummy $ac_prog; ac_word=$2
8772 > echo "$as_me:$LINENO: checking for $ac_word" >&5
8773 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8774 > if test "${ac_cv_prog_LEX+set}" = set; then
8775 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8776 > else
8777 >  if test -n "$LEX"; then
8778 >  ac_cv_prog_LEX="$LEX" # Let the user override the test.
8779 > else
8780 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8781 > for as_dir in $PATH
8782 > do
8783 >  IFS=$as_save_IFS
8784 >  test -z "$as_dir" && as_dir=.
8785 >  for ac_exec_ext in '' $ac_executable_extensions; do
8786 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8787 >    ac_cv_prog_LEX="$ac_prog"
8788 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8789 >    break 2
8790 >  fi
8791 > done
8792 > done
8793 >
8794 > fi
8795 > fi
8796 > LEX=$ac_cv_prog_LEX
8797 > if test -n "$LEX"; then
8798 >  echo "$as_me:$LINENO: result: $LEX" >&5
8799 > echo "${ECHO_T}$LEX" >&6
8800 > else
8801 >  echo "$as_me:$LINENO: result: no" >&5
8802 > echo "${ECHO_T}no" >&6
8803 > fi
8804 >
8805 >  test -n "$LEX" && break
8806 > done
8807 > test -n "$LEX" || LEX=":"
8808 >
8809 > if test -z "$LEXLIB"
8810 > then
8811 >  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
8812 > echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
8813 > if test "${ac_cv_lib_fl_yywrap+set}" = set; then
8814 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8815 > else
8816 >  ac_check_lib_save_LIBS=$LIBS
8817 > LIBS="-lfl  $LIBS"
8818 > cat >conftest.$ac_ext <<_ACEOF
8819 > /* confdefs.h.  */
8820 > _ACEOF
8821 > cat confdefs.h >>conftest.$ac_ext
8822 > cat >>conftest.$ac_ext <<_ACEOF
8823 > /* end confdefs.h.  */
8824 >
8825 > /* Override any gcc2 internal prototype to avoid an error.  */
8826 > #ifdef __cplusplus
8827 > extern "C"
8828 > #endif
8829 > /* We use char because int might match the return type of a gcc2
8830 >   builtin and then its argument prototype would still apply.  */
8831 > char yywrap ();
8832 > int
8833 > main ()
8834 > {
8835 > yywrap ();
8836 >  ;
8837 >  return 0;
8838 > }
8839 > _ACEOF
8840 > rm -f conftest.$ac_objext conftest$ac_exeext
8841 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8842 >  (eval $ac_link) 2>conftest.er1
8843 >  ac_status=$?
8844 >  grep -v '^ *+' conftest.er1 >conftest.err
8845 >  rm -f conftest.er1
8846 >  cat conftest.err >&5
8847 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 >  (exit $ac_status); } &&
8849 >         { ac_try='test -z "$ac_c_werror_flag"
8850 >                         || test ! -s conftest.err'
8851 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8852 >  (eval $ac_try) 2>&5
8853 >  ac_status=$?
8854 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8855 >  (exit $ac_status); }; } &&
8856 >         { ac_try='test -s conftest$ac_exeext'
8857 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8858 >  (eval $ac_try) 2>&5
8859 >  ac_status=$?
8860 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8861 >  (exit $ac_status); }; }; then
8862 >  ac_cv_lib_fl_yywrap=yes
8863 > else
8864 >  echo "$as_me: failed program was:" >&5
8865 > sed 's/^/| /' conftest.$ac_ext >&5
8866 >
8867 > ac_cv_lib_fl_yywrap=no
8868 > fi
8869 > rm -f conftest.err conftest.$ac_objext \
8870 >      conftest$ac_exeext conftest.$ac_ext
8871 > LIBS=$ac_check_lib_save_LIBS
8872 > fi
8873 > echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
8874 > echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
8875 > if test $ac_cv_lib_fl_yywrap = yes; then
8876 >  LEXLIB="-lfl"
8877 > else
8878 >  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
8879 > echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
8880 > if test "${ac_cv_lib_l_yywrap+set}" = set; then
8881 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8882 > else
8883 >  ac_check_lib_save_LIBS=$LIBS
8884 > LIBS="-ll  $LIBS"
8885 > cat >conftest.$ac_ext <<_ACEOF
8886 > /* confdefs.h.  */
8887 > _ACEOF
8888 > cat confdefs.h >>conftest.$ac_ext
8889 > cat >>conftest.$ac_ext <<_ACEOF
8890 > /* end confdefs.h.  */
8891 >
8892 > /* Override any gcc2 internal prototype to avoid an error.  */
8893 > #ifdef __cplusplus
8894 > extern "C"
8895 > #endif
8896 > /* We use char because int might match the return type of a gcc2
8897 >   builtin and then its argument prototype would still apply.  */
8898 > char yywrap ();
8899 > int
8900 > main ()
8901 > {
8902 > yywrap ();
8903 >  ;
8904 >  return 0;
8905 > }
8906 > _ACEOF
8907 > rm -f conftest.$ac_objext conftest$ac_exeext
8908 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8909 >  (eval $ac_link) 2>conftest.er1
8910 >  ac_status=$?
8911 >  grep -v '^ *+' conftest.er1 >conftest.err
8912 >  rm -f conftest.er1
8913 >  cat conftest.err >&5
8914 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 >  (exit $ac_status); } &&
8916 >         { ac_try='test -z "$ac_c_werror_flag"
8917 >                         || test ! -s conftest.err'
8918 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8919 >  (eval $ac_try) 2>&5
8920 >  ac_status=$?
8921 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8922 >  (exit $ac_status); }; } &&
8923 >         { ac_try='test -s conftest$ac_exeext'
8924 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8925 >  (eval $ac_try) 2>&5
8926 >  ac_status=$?
8927 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928 >  (exit $ac_status); }; }; then
8929 >  ac_cv_lib_l_yywrap=yes
8930 > else
8931 >  echo "$as_me: failed program was:" >&5
8932 > sed 's/^/| /' conftest.$ac_ext >&5
8933 >
8934 > ac_cv_lib_l_yywrap=no
8935 > fi
8936 > rm -f conftest.err conftest.$ac_objext \
8937 >      conftest$ac_exeext conftest.$ac_ext
8938 > LIBS=$ac_check_lib_save_LIBS
8939 > fi
8940 > echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
8941 > echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
8942 > if test $ac_cv_lib_l_yywrap = yes; then
8943 >  LEXLIB="-ll"
8944 > fi
8945 >
8946 > fi
8947 >
8948 > fi
8949 >
8950 > if test "x$LEX" != "x:"; then
8951 >  echo "$as_me:$LINENO: checking lex output file root" >&5
8952 > echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
8953 > if test "${ac_cv_prog_lex_root+set}" = set; then
8954 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8955 > else
8956 >  # The minimal lex program is just a single line: %%.  But some broken lexes
8957 > # (Solaris, I think it was) want two %% lines, so accommodate them.
8958 > cat >conftest.l <<_ACEOF
8959 > %%
8960 > %%
8961 > _ACEOF
8962 > { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
8963 >  (eval $LEX conftest.l) 2>&5
8964 >  ac_status=$?
8965 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8966 >  (exit $ac_status); }
8967 > if test -f lex.yy.c; then
8968 >  ac_cv_prog_lex_root=lex.yy
8969 > elif test -f lexyy.c; then
8970 >  ac_cv_prog_lex_root=lexyy
8971 > else
8972 >  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
8973 > echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
8974 >   { (exit 1); exit 1; }; }
8975 > fi
8976 > fi
8977 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
8978 > echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
8979 > rm -f conftest.l
8980 > LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
8981 >
8982 > echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
8983 > echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
8984 > if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
8985 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8986 > else
8987 >  # POSIX says lex can declare yytext either as a pointer or an array; the
8988 > # default is implementation-dependent. Figure out which it is, since
8989 > # not all implementations provide the %pointer and %array declarations.
8990 > ac_cv_prog_lex_yytext_pointer=no
8991 > echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
8992 > ac_save_LIBS=$LIBS
8993 > LIBS="$LIBS $LEXLIB"
8994 > cat >conftest.$ac_ext <<_ACEOF
8995 > `cat $LEX_OUTPUT_ROOT.c`
8996 > _ACEOF
8997 > rm -f conftest.$ac_objext conftest$ac_exeext
8998 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8999 >  (eval $ac_link) 2>conftest.er1
9000 >  ac_status=$?
9001 >  grep -v '^ *+' conftest.er1 >conftest.err
9002 >  rm -f conftest.er1
9003 >  cat conftest.err >&5
9004 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9005 >  (exit $ac_status); } &&
9006 >         { ac_try='test -z "$ac_c_werror_flag"
9007 >                         || test ! -s conftest.err'
9008 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9009 >  (eval $ac_try) 2>&5
9010 >  ac_status=$?
9011 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012 >  (exit $ac_status); }; } &&
9013 >         { ac_try='test -s conftest$ac_exeext'
9014 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9015 >  (eval $ac_try) 2>&5
9016 >  ac_status=$?
9017 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9018 >  (exit $ac_status); }; }; then
9019 >  ac_cv_prog_lex_yytext_pointer=yes
9020 > else
9021 >  echo "$as_me: failed program was:" >&5
9022 > sed 's/^/| /' conftest.$ac_ext >&5
9023 >
9024 > fi
9025 > rm -f conftest.err conftest.$ac_objext \
9026 >      conftest$ac_exeext conftest.$ac_ext
9027 > LIBS=$ac_save_LIBS
9028 > rm -f "${LEX_OUTPUT_ROOT}.c"
9029 >
9030 > fi
9031 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
9032 > echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
9033 > if test $ac_cv_prog_lex_yytext_pointer = yes; then
9034 >
9035 > cat >>confdefs.h <<\_ACEOF
9036 > #define YYTEXT_POINTER 1
9037 > _ACEOF
9038 >
9039 > fi
9040 >
9041 > fi
9042 >
9043 >   # Extract the first word of "perl", so it can be a program name with args.
9044 > set dummy perl; ac_word=$2
9045 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9046 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9047 > if test "${ac_cv_path_PERLINTERP+set}" = set; then
9048 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9049 > else
9050 >  case $PERLINTERP in
9051 >  [\\/]* | ?:[\\/]*)
9052 >  ac_cv_path_PERLINTERP="$PERLINTERP" # Let the user override the test with a path.
9053 >  ;;
9054 >  *)
9055 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9056 > for as_dir in $PATH
9057 > do
9058 >  IFS=$as_save_IFS
9059 >  test -z "$as_dir" && as_dir=.
9060 >  for ac_exec_ext in '' $ac_executable_extensions; do
9061 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9062 >    ac_cv_path_PERLINTERP="$as_dir/$ac_word$ac_exec_ext"
9063 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9064 >    break 2
9065 >  fi
9066 > done
9067 > done
9068 >
9069 >  test -z "$ac_cv_path_PERLINTERP" && ac_cv_path_PERLINTERP="perl"
9070 >  ;;
9071 > esac
9072 > fi
9073 > PERLINTERP=$ac_cv_path_PERLINTERP
9074 >
9075 > if test -n "$PERLINTERP"; then
9076 >  echo "$as_me:$LINENO: result: $PERLINTERP" >&5
9077 > echo "${ECHO_T}$PERLINTERP" >&6
9078 > else
9079 >  echo "$as_me:$LINENO: result: no" >&5
9080 > echo "${ECHO_T}no" >&6
9081 > fi
9082 >
9083 >   ac_cv_path_perlinterp="$PERLINTERP"
9084 >   _sHpB='#!'
9085 >
9086 >
9087 > # Check whether --with-perl-shebang or --without-perl-shebang was given.
9088 > if test "${with_perl_shebang+set}" = set; then
9089 >  withval="$with_perl_shebang"
9090 >  opt_perl_shebang="$withval"
9091 > else
9092 >                opt_perl_shebang="not_set"
9093 > fi;
9094 >   echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5
9095 > echo $ECHO_N "checking whether explicit instead of detected sharpbang is to be used... $ECHO_C" >&6
9096 > if test "${ax_cv_opt_perl_shebang+set}" = set; then
9097 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9098 > else
9099 >   case "$opt_perl_shebang" in
9100 >                      not_set  ) ax_cv_opt_perl_shebang=''
9101 >                               ;;
9102 >                         *     )
9103 >        ax_cv_opt_perl_shebang=`echo "$opt_perl_shebang" | sed -e's|^#!\s*\(.*\)$|\1|'`
9104 >                    esac
9105 >
9106 > fi
9107 > echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5
9108 > echo "${ECHO_T}$ax_cv_opt_perl_shebang" >&6
9109 >   if test "A$ax_cv_opt_perl_shebang" != "A"
9110 >     then
9111 >       ac_cv_sys_kernshrpbang_perl="$ax_cv_opt_perl_shebang"
9112 >       PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
9113 >              { echo "$as_me:$LINENO: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&5
9114 > echo "$as_me: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&6;}
9115 >
9116 > # Automatic detection of sharpbang formula starts here
9117 >     else
9118 >   _somian_shbangperl=`$PERLINTERP -V:startperl`
9119 >   negclass="[^']"; # must leave this comment:  m4 will remove the outer brackets for us, heheh
9120 >   echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5
9121 > echo $ECHO_N "checking for kernel sharpbang invocation to start perl... $ECHO_C" >&6
9122 > if test "${ac_cv_sys_kernshrpbang_perl+set}" = set; then
9123 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9124 > else
9125 >  _somian_kspb_perl=`echo "$_somian_shbangperl" | sed -ne"s|.*='\($negclass*\)';$|\1|p"`
9126 >        if test "x$_somian_kspb_perl" == x
9127 >          then _somian_ksbp_warn_empty='durnit'
9128 >          else
9129 >          case "A$_somian_kspb_perl" in
9130 >                 A#!*perl* )
9131 >           ac_cv_sys_kernshrpbang_perl=`echo "$_somian_kspb_perl" | sed -e's|#!\(.*\)$|\1|'`
9132 >                        ;;
9133 >                     A*    )  _somian_ksbp_warn_defau='trouble'
9134 >                              ac_cv_sys_kernshrpbang_perl="$PERLINTERP"
9135 >          esac
9136 >        fi
9137 >
9138 > fi
9139 > echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5
9140 > echo "${ECHO_T}$ac_cv_sys_kernshrpbang_perl" >&6
9141 > # The above prints Checking ... result message to user.
9142 >   PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
9143 >
9144 >    if test A${_somian_ksbp_warn_empty+set} == Aset
9145 >      then   { echo "$as_me:$LINENO: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&5
9146 > echo "$as_me: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&2;}
9147 >    fi
9148 > # Inform user after printing result value
9149 >    if test A${_somian_ksbp_warn_defau+set} == Aset
9150 >      then { echo "$as_me:$LINENO: Maybe Not good -" >&5
9151 > echo "$as_me: Maybe Not good -" >&6;}
9152 >           { echo "$as_me:$LINENO: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&5
9153 > echo "$as_me: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&2;}
9154 >      else { echo "$as_me:$LINENO: OK Good result - " >&5
9155 > echo "$as_me: OK Good result - " >&6;}
9156 >           { echo "$as_me:$LINENO: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&5
9157 > echo "$as_me: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&6;}
9158 >    fi
9159 >  fi
9160 >
9161 > # Extract the first word of "ar", so it can be a program name with args.
9162 > set dummy ar; ac_word=$2
9163 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9164 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9165 > if test "${ac_cv_prog_AR+set}" = set; then
9166 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9167 > else
9168 >  if test -n "$AR"; then
9169 >  ac_cv_prog_AR="$AR" # Let the user override the test.
9170 > else
9171 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9172 > for as_dir in $PATH
9173 > do
9174 >  IFS=$as_save_IFS
9175 >  test -z "$as_dir" && as_dir=.
9176 >  for ac_exec_ext in '' $ac_executable_extensions; do
9177 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9178 >    ac_cv_prog_AR="ar"
9179 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9180 >    break 2
9181 >  fi
9182 > done
9183 > done
9184 >
9185 >  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE"
9186 > fi
9187 > fi
9188 > AR=$ac_cv_prog_AR
9189 > if test -n "$AR"; then
9190 >  echo "$as_me:$LINENO: result: $AR" >&5
9191 > echo "${ECHO_T}$AR" >&6
9192 > else
9193 >  echo "$as_me:$LINENO: result: no" >&5
9194 > echo "${ECHO_T}no" >&6
9195 > fi
9196 >
9197 > if test "$AR" = "NONE"; then
9198 >  { { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5
9199 > echo "$as_me: error: --> Can't find \`ar'!" >&2;}
9200 >   { (exit 1); exit 1; }; }
9201 >  cat >confcache <<\_ACEOF
9202 > # This file is a shell script that caches the results of configure
9203 > # tests run on this system so they can be shared between configure
9204 > # scripts and configure runs, see configure's option --config-cache.
9205 > # It is not useful on other systems.  If it contains results you don't
9206 > # want to keep, you may remove or edit it.
9207 > #
9208 > # config.status only pays attention to the cache file if you give it
9209 > # the --recheck option to rerun configure.
9210 > #
9211 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
9212 > # loading this file, other *unset* `ac_cv_foo' will be assigned the
9213 > # following values.
9214 >
9215 > _ACEOF
9216 >
9217 > # The following way of writing the cache mishandles newlines in values,
9218 > # but we know of no workaround that is simple, portable, and efficient.
9219 > # So, don't put newlines in cache variables' values.
9220 > # Ultrix sh set writes to stderr and can't be redirected directly,
9221 > # and sets the high bit in the cache file unless we assign to the vars.
9222 > {
9223 >  (set) 2>&1 |
9224 >    case `(ac_space=' '; set | grep ac_space) 2>&1` in
9225 >    *ac_space=\ *)
9226 >      # `set' does not quote correctly, so add quotes (double-quote
9227 >      # substitution turns \\\\ into \\, and sed turns \\ into \).
9228 >      sed -n \
9229 >        "s/'/'\\\\''/g;
9230 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9231 >      ;;
9232 >    *)
9233 >      # `set' quotes correctly as required by POSIX, so do not add quotes.
9234 >      sed -n \
9235 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9236 >      ;;
9237 >    esac;
9238 > } |
9239 >  sed '
9240 >     t clear
9241 >     : clear
9242 >     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9243 >     t end
9244 >     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9245 >     : end' >>confcache
9246 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
9247 >  if test -w $cache_file; then
9248 >    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9249 >    cat confcache >$cache_file
9250 >  else
9251 >    echo "not updating unwritable cache $cache_file"
9252 >  fi
9253 > fi
9254 > rm -f confcache
9255 >  exit 1
9256 > fi
9257 >
9258 > # Extract the first word of "ps", so it can be a program name with args.
9259 > set dummy ps; ac_word=$2
9260 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9261 > echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9262 > if test "${ac_cv_path_PS+set}" = set; then
9263 >  echo $ECHO_N "(cached) $ECHO_C" >&6
9264 > else
9265 >  case $PS in
9266 >  [\\/]* | ?:[\\/]*)
9267 >  ac_cv_path_PS="$PS" # Let the user override the test with a path.
9268 >  ;;
9269 >  *)
9270 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9271 > for as_dir in $PATH
9272 > do
9273 >  IFS=$as_save_IFS
9274 >  test -z "$as_dir" && as_dir=.
9275 >  for ac_exec_ext in '' $ac_executable_extensions; do
9276 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9277 >    ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
9278 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9279 >    break 2
9280 >  fi
9281 > done
9282   done
9283  
9284    ;;
# Line 5559 | Line 9287 | if test -n "$PS"; then
9287   PS=$ac_cv_path_PS
9288  
9289   if test -n "$PS"; then
9290 <  echo "$as_me:5562: result: $PS" >&5
9290 >  echo "$as_me:$LINENO: result: $PS" >&5
9291   echo "${ECHO_T}$PS" >&6
9292   else
9293 <  echo "$as_me:5565: result: no" >&5
9293 >  echo "$as_me:$LINENO: result: no" >&5
9294   echo "${ECHO_T}no" >&6
9295   fi
9296  
9297 < echo "$as_me:5569: checking for POSIX or BSD ps syntax" >&5
9297 > echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5
9298   echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6
9299   if test "${ac_cv_prog_ps_syntax+set}" = set; then
9300    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5588 | Line 9316 | else
9316                  if test "$ac_cv_prog_ps_ef" = yes; then
9317                          ac_cv_prog_ps_syntax=POSIX
9318                  else
9319 <                        { { echo "$as_me:5591: error: Could not determine ps syntax" >&5
9319 >                        { { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5
9320   echo "$as_me: error: Could not determine ps syntax" >&2;}
9321     { (exit 1); exit 1; }; }
9322                  fi
9323          fi
9324  
9325   fi
9326 < echo "$as_me:5598: result: $ac_cv_prog_ps_syntax" >&5
9326 > echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5
9327   echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6
9328  
9329 < cat >>confdefs.h <<EOF
9329 >
9330 > cat >>confdefs.h <<_ACEOF
9331   #define PSCOMMAND $PS
9332 < EOF
9332 > _ACEOF
9333  
9334 +
9335 + cat >>confdefs.h <<\_ACEOF
9336 + #define OBAPI
9337 + _ACEOF
9338 +
9339 +
9340 +
9341   if test "$ac_cv_prog_ps_syntax" = BSD; then
9342 <  cat >>confdefs.h <<\EOF
9342 >  cat >>confdefs.h <<\_ACEOF
9343   #define PSTYPE_IS_BSD 1
9344 < EOF
9344 > _ACEOF
9345  
9346   else
9347     if test "$ac_cv_prog_ps_syntax" = POSIX; then
9348 <       cat >>confdefs.h <<\EOF
9348 >       cat >>confdefs.h <<\_ACEOF
9349   #define PSTYPE_IS_POSIX 1
9350 < EOF
9350 > _ACEOF
9351  
9352     else
9353 <       { { echo "$as_me:5617: error: Unknown ps syntax type!" >&5
9353 >       { { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5
9354   echo "$as_me: error: Unknown ps syntax type!" >&2;}
9355     { (exit 1); exit 1; }; }
9356     fi
9357   fi
9358  
9359 +
9360   # Check whether --with-mpi or --without-mpi was given.
9361   if test "${with_mpi+set}" = set; then
9362    withval="$with_mpi"
# Line 5638 | Line 9375 | if test "$USE_MPI" = "yes"; then
9375   fi
9376   if test "$USE_MPI" = "yes"; then
9377  
9378 +
9379   # Set variables...
9380   MPI_LIB_DIR="$MPI/lib"
9381   MPI_INC_DIR="$MPI/include"
9382  
9383 < echo "$as_me:5645: checking for mpi.h" >&5
9383 >
9384 >
9385 > echo "$as_me:$LINENO: checking for mpi.h" >&5
9386   echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
9387   have_mpi_h=0
9388 + rm -f conftest*
9389   echo '#include <mpi.h>' > conftest.cc
9390 < if test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then
9391 <        echo "$as_me:5650: result: yes" >&5
9390 > if ${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1 ; then
9391 >        echo "$as_me:$LINENO: result: yes" >&5
9392   echo "${ECHO_T}yes" >&6
9393          have_mpi_h=1
9394   else
9395 <        echo "$as_me:5654: result: no! Check MPI include paths" >&5
9395 >        if test -s conftest.out ; then
9396 >                cat conftest.out >> config.log
9397 >        fi
9398 >        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
9399   echo "${ECHO_T}no! Check MPI include paths" >&6
9400          USE_MPI="no"
9401   fi
9402   rm -f conftest*
9403   if test "$have_mpi_h" = 1; then
9404  
9405 < cat >>confdefs.h <<\EOF
9405 > cat >>confdefs.h <<\_ACEOF
9406   #define HAVE_MPI_H 1
9407 < EOF
9407 > _ACEOF
9408  
9409   fi
9410  
9411 < echo "$as_me:5667: checking whether mpif.h is usable" >&5
9411 > echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5
9412   echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6
9413   have_mpif_h=0
9414   rm -f conftest*
# Line 5674 | Line 9418 | if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out
9418   end
9419   EOF
9420   if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out 2>&1 ; then
9421 <        echo "$as_me:5677: result: yes" >&5
9421 >        echo "$as_me:$LINENO: result: yes" >&5
9422   echo "${ECHO_T}yes" >&6
9423          MPI_F90_INC="$MPI_INC_DIR"
9424          have_mpif_h=1
# Line 5682 | Line 9426 | else
9426          if test -s conftest.out ; then
9427                  cat conftest.out >> config.log
9428          fi
9429 <        echo "$as_me:5685: result: no! Check MPI include paths" >&5
9429 >        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
9430   echo "${ECHO_T}no! Check MPI include paths" >&6
9431          USE_MPI="no"
9432   fi
# Line 5690 | Line 9434 | cat >>confdefs.h <<\EOF
9434  
9435   if test "$have_mpif_h" = 1; then
9436  
9437 < cat >>confdefs.h <<\EOF
9437 > cat >>confdefs.h <<\_ACEOF
9438   #define HAVE_MPIF_H 1
9439 < EOF
9439 > _ACEOF
9440  
9441   fi
9442  
# Line 5706 | Line 9450 | if test x = x"$MPI_LIB"; then
9450   LDFLAGS="${LDFLAGS} -L${MPI_LIB_DIR} "
9451  
9452   if test x = x"$MPI_LIB"; then
9453 <        echo "$as_me:5709: checking for MPI_Init in -lmpich" >&5
9453 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
9454   echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
9455   if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
9456    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5714 | Line 9458 | cat >conftest.$ac_ext <<_ACEOF
9458    ac_check_lib_save_LIBS=$LIBS
9459   LIBS="-lmpich  $LIBS"
9460   cat >conftest.$ac_ext <<_ACEOF
9461 < #line 5717 "configure"
9462 < #include "confdefs.h"
9461 > /* confdefs.h.  */
9462 > _ACEOF
9463 > cat confdefs.h >>conftest.$ac_ext
9464 > cat >>conftest.$ac_ext <<_ACEOF
9465 > /* end confdefs.h.  */
9466  
9467   /* Override any gcc2 internal prototype to avoid an error.  */
9468   #ifdef __cplusplus
# Line 5733 | Line 9480 | if { (eval echo "$as_me:5736: \"$ac_link\"") >&5
9480   }
9481   _ACEOF
9482   rm -f conftest.$ac_objext conftest$ac_exeext
9483 < if { (eval echo "$as_me:5736: \"$ac_link\"") >&5
9484 <  (eval $ac_link) 2>&5
9483 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9484 >  (eval $ac_link) 2>conftest.er1
9485    ac_status=$?
9486 <  echo "$as_me:5739: \$? = $ac_status" >&5
9486 >  grep -v '^ *+' conftest.er1 >conftest.err
9487 >  rm -f conftest.er1
9488 >  cat conftest.err >&5
9489 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9490    (exit $ac_status); } &&
9491 <         { ac_try='test -s conftest$ac_exeext'
9492 <  { (eval echo "$as_me:5742: \"$ac_try\"") >&5
9491 >         { ac_try='test -z "$ac_c_werror_flag"
9492 >                         || test ! -s conftest.err'
9493 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9494    (eval $ac_try) 2>&5
9495    ac_status=$?
9496 <  echo "$as_me:5745: \$? = $ac_status" >&5
9496 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9497 >  (exit $ac_status); }; } &&
9498 >         { ac_try='test -s conftest$ac_exeext'
9499 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9500 >  (eval $ac_try) 2>&5
9501 >  ac_status=$?
9502 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9503    (exit $ac_status); }; }; then
9504    ac_cv_lib_mpich_MPI_Init=yes
9505   else
9506    echo "$as_me: failed program was:" >&5
9507 < cat conftest.$ac_ext >&5
9507 > sed 's/^/| /' conftest.$ac_ext >&5
9508 >
9509   ac_cv_lib_mpich_MPI_Init=no
9510   fi
9511 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9511 > rm -f conftest.err conftest.$ac_objext \
9512 >      conftest$ac_exeext conftest.$ac_ext
9513   LIBS=$ac_check_lib_save_LIBS
9514   fi
9515 < echo "$as_me:5756: result: $ac_cv_lib_mpich_MPI_Init" >&5
9515 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
9516   echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
9517   if test $ac_cv_lib_mpich_MPI_Init = yes; then
9518    MPI_LIB="-lmpich"
# Line 5761 | Line 9520 | if test x = x"$MPI_LIB"; then
9520  
9521   fi
9522   if test x = x"$MPI_LIB"; then
9523 <        echo "$as_me:5764: checking for MPI_Init in -lmpi" >&5
9523 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
9524   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
9525   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
9526    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5769 | Line 9528 | cat >conftest.$ac_ext <<_ACEOF
9528    ac_check_lib_save_LIBS=$LIBS
9529   LIBS="-lmpi  $LIBS"
9530   cat >conftest.$ac_ext <<_ACEOF
9531 < #line 5772 "configure"
9532 < #include "confdefs.h"
9531 > /* confdefs.h.  */
9532 > _ACEOF
9533 > cat confdefs.h >>conftest.$ac_ext
9534 > cat >>conftest.$ac_ext <<_ACEOF
9535 > /* end confdefs.h.  */
9536  
9537   /* Override any gcc2 internal prototype to avoid an error.  */
9538   #ifdef __cplusplus
# Line 5788 | Line 9550 | if { (eval echo "$as_me:5791: \"$ac_link\"") >&5
9550   }
9551   _ACEOF
9552   rm -f conftest.$ac_objext conftest$ac_exeext
9553 < if { (eval echo "$as_me:5791: \"$ac_link\"") >&5
9554 <  (eval $ac_link) 2>&5
9553 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9554 >  (eval $ac_link) 2>conftest.er1
9555    ac_status=$?
9556 <  echo "$as_me:5794: \$? = $ac_status" >&5
9556 >  grep -v '^ *+' conftest.er1 >conftest.err
9557 >  rm -f conftest.er1
9558 >  cat conftest.err >&5
9559 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9560    (exit $ac_status); } &&
9561 <         { ac_try='test -s conftest$ac_exeext'
9562 <  { (eval echo "$as_me:5797: \"$ac_try\"") >&5
9561 >         { ac_try='test -z "$ac_c_werror_flag"
9562 >                         || test ! -s conftest.err'
9563 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9564    (eval $ac_try) 2>&5
9565    ac_status=$?
9566 <  echo "$as_me:5800: \$? = $ac_status" >&5
9566 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9567 >  (exit $ac_status); }; } &&
9568 >         { ac_try='test -s conftest$ac_exeext'
9569 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9570 >  (eval $ac_try) 2>&5
9571 >  ac_status=$?
9572 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9573    (exit $ac_status); }; }; then
9574    ac_cv_lib_mpi_MPI_Init=yes
9575   else
9576    echo "$as_me: failed program was:" >&5
9577 < cat conftest.$ac_ext >&5
9577 > sed 's/^/| /' conftest.$ac_ext >&5
9578 >
9579   ac_cv_lib_mpi_MPI_Init=no
9580   fi
9581 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9581 > rm -f conftest.err conftest.$ac_objext \
9582 >      conftest$ac_exeext conftest.$ac_ext
9583   LIBS=$ac_check_lib_save_LIBS
9584   fi
9585 < echo "$as_me:5811: result: $ac_cv_lib_mpi_MPI_Init" >&5
9585 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
9586   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
9587   if test $ac_cv_lib_mpi_MPI_Init = yes; then
9588    MPI_LIB="-lmpi"
# Line 5817 | Line 9591 | if test x = x"$MPI_LIB"; then
9591   fi
9592   $as_unset ac_cv_lib_mpi_MPI_Init
9593   if test x = x"$MPI_LIB"; then
9594 <        echo "$as_me:5820: checking for MPI_Init in -lmpi" >&5
9594 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
9595   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
9596   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
9597    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5825 | Line 9599 | cat >conftest.$ac_ext <<_ACEOF
9599    ac_check_lib_save_LIBS=$LIBS
9600   LIBS="-lmpi "-llam" $LIBS"
9601   cat >conftest.$ac_ext <<_ACEOF
9602 < #line 5828 "configure"
9603 < #include "confdefs.h"
9602 > /* confdefs.h.  */
9603 > _ACEOF
9604 > cat confdefs.h >>conftest.$ac_ext
9605 > cat >>conftest.$ac_ext <<_ACEOF
9606 > /* end confdefs.h.  */
9607  
9608   /* Override any gcc2 internal prototype to avoid an error.  */
9609   #ifdef __cplusplus
# Line 5844 | Line 9621 | if { (eval echo "$as_me:5847: \"$ac_link\"") >&5
9621   }
9622   _ACEOF
9623   rm -f conftest.$ac_objext conftest$ac_exeext
9624 < if { (eval echo "$as_me:5847: \"$ac_link\"") >&5
9625 <  (eval $ac_link) 2>&5
9624 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9625 >  (eval $ac_link) 2>conftest.er1
9626    ac_status=$?
9627 <  echo "$as_me:5850: \$? = $ac_status" >&5
9627 >  grep -v '^ *+' conftest.er1 >conftest.err
9628 >  rm -f conftest.er1
9629 >  cat conftest.err >&5
9630 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9631    (exit $ac_status); } &&
9632 <         { ac_try='test -s conftest$ac_exeext'
9633 <  { (eval echo "$as_me:5853: \"$ac_try\"") >&5
9632 >         { ac_try='test -z "$ac_c_werror_flag"
9633 >                         || test ! -s conftest.err'
9634 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9635    (eval $ac_try) 2>&5
9636    ac_status=$?
9637 <  echo "$as_me:5856: \$? = $ac_status" >&5
9637 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638 >  (exit $ac_status); }; } &&
9639 >         { ac_try='test -s conftest$ac_exeext'
9640 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9641 >  (eval $ac_try) 2>&5
9642 >  ac_status=$?
9643 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9644    (exit $ac_status); }; }; then
9645    ac_cv_lib_mpi_MPI_Init=yes
9646   else
9647    echo "$as_me: failed program was:" >&5
9648 < cat conftest.$ac_ext >&5
9648 > sed 's/^/| /' conftest.$ac_ext >&5
9649 >
9650   ac_cv_lib_mpi_MPI_Init=no
9651   fi
9652 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9652 > rm -f conftest.err conftest.$ac_objext \
9653 >      conftest$ac_exeext conftest.$ac_ext
9654   LIBS=$ac_check_lib_save_LIBS
9655   fi
9656 < echo "$as_me:5867: result: $ac_cv_lib_mpi_MPI_Init" >&5
9656 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
9657   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
9658   if test $ac_cv_lib_mpi_MPI_Init = yes; then
9659    MPI_LIB="-lmpi -llam"
# Line 5873 | Line 9662 | if test x = x"$MPI_LIB"; then
9662   fi
9663   $as_unset ac_cv_lib_mpich_MPI_Init
9664   if test x = x"$MPI_LIB"; then
9665 <        echo "$as_me:5876: checking for MPI_Init in -lmpich" >&5
9665 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
9666   echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
9667   if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
9668    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5881 | Line 9670 | cat >conftest.$ac_ext <<_ACEOF
9670    ac_check_lib_save_LIBS=$LIBS
9671   LIBS="-lmpich "-lpmpich" $LIBS"
9672   cat >conftest.$ac_ext <<_ACEOF
9673 < #line 5884 "configure"
9674 < #include "confdefs.h"
9673 > /* confdefs.h.  */
9674 > _ACEOF
9675 > cat confdefs.h >>conftest.$ac_ext
9676 > cat >>conftest.$ac_ext <<_ACEOF
9677 > /* end confdefs.h.  */
9678  
9679   /* Override any gcc2 internal prototype to avoid an error.  */
9680   #ifdef __cplusplus
# Line 5900 | Line 9692 | if { (eval echo "$as_me:5903: \"$ac_link\"") >&5
9692   }
9693   _ACEOF
9694   rm -f conftest.$ac_objext conftest$ac_exeext
9695 < if { (eval echo "$as_me:5903: \"$ac_link\"") >&5
9696 <  (eval $ac_link) 2>&5
9695 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9696 >  (eval $ac_link) 2>conftest.er1
9697    ac_status=$?
9698 <  echo "$as_me:5906: \$? = $ac_status" >&5
9698 >  grep -v '^ *+' conftest.er1 >conftest.err
9699 >  rm -f conftest.er1
9700 >  cat conftest.err >&5
9701 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9702    (exit $ac_status); } &&
9703 <         { ac_try='test -s conftest$ac_exeext'
9704 <  { (eval echo "$as_me:5909: \"$ac_try\"") >&5
9703 >         { ac_try='test -z "$ac_c_werror_flag"
9704 >                         || test ! -s conftest.err'
9705 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9706    (eval $ac_try) 2>&5
9707    ac_status=$?
9708 <  echo "$as_me:5912: \$? = $ac_status" >&5
9708 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9709 >  (exit $ac_status); }; } &&
9710 >         { ac_try='test -s conftest$ac_exeext'
9711 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9712 >  (eval $ac_try) 2>&5
9713 >  ac_status=$?
9714 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9715    (exit $ac_status); }; }; then
9716    ac_cv_lib_mpich_MPI_Init=yes
9717   else
9718    echo "$as_me: failed program was:" >&5
9719 < cat conftest.$ac_ext >&5
9719 > sed 's/^/| /' conftest.$ac_ext >&5
9720 >
9721   ac_cv_lib_mpich_MPI_Init=no
9722   fi
9723 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9723 > rm -f conftest.err conftest.$ac_objext \
9724 >      conftest$ac_exeext conftest.$ac_ext
9725   LIBS=$ac_check_lib_save_LIBS
9726   fi
9727 < echo "$as_me:5923: result: $ac_cv_lib_mpich_MPI_Init" >&5
9727 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
9728   echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
9729   if test $ac_cv_lib_mpich_MPI_Init = yes; then
9730    MPI_LIB="-lmpich -lpmpich"
# Line 5930 | Line 9734 | echo "$as_me:5933: checking for MPI_Init in -lmpi" >&5
9734  
9735   $as_unset ac_cv_lib_mpi_MPI_Init
9736   if test x = x"$MPI_LIB"; then
9737 < echo "$as_me:5933: checking for MPI_Init in -lmpi" >&5
9737 > echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
9738   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
9739   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
9740    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5938 | Line 9742 | cat >conftest.$ac_ext <<_ACEOF
9742    ac_check_lib_save_LIBS=$LIBS
9743   LIBS="-lmpi -llam -lpthread $LIBS"
9744   cat >conftest.$ac_ext <<_ACEOF
9745 < #line 5941 "configure"
9746 < #include "confdefs.h"
9745 > /* confdefs.h.  */
9746 > _ACEOF
9747 > cat confdefs.h >>conftest.$ac_ext
9748 > cat >>conftest.$ac_ext <<_ACEOF
9749 > /* end confdefs.h.  */
9750  
9751   /* Override any gcc2 internal prototype to avoid an error.  */
9752   #ifdef __cplusplus
# Line 5957 | Line 9764 | if { (eval echo "$as_me:5960: \"$ac_link\"") >&5
9764   }
9765   _ACEOF
9766   rm -f conftest.$ac_objext conftest$ac_exeext
9767 < if { (eval echo "$as_me:5960: \"$ac_link\"") >&5
9768 <  (eval $ac_link) 2>&5
9767 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9768 >  (eval $ac_link) 2>conftest.er1
9769    ac_status=$?
9770 <  echo "$as_me:5963: \$? = $ac_status" >&5
9770 >  grep -v '^ *+' conftest.er1 >conftest.err
9771 >  rm -f conftest.er1
9772 >  cat conftest.err >&5
9773 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9774    (exit $ac_status); } &&
9775 <         { ac_try='test -s conftest$ac_exeext'
9776 <  { (eval echo "$as_me:5966: \"$ac_try\"") >&5
9775 >         { ac_try='test -z "$ac_c_werror_flag"
9776 >                         || test ! -s conftest.err'
9777 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9778    (eval $ac_try) 2>&5
9779    ac_status=$?
9780 <  echo "$as_me:5969: \$? = $ac_status" >&5
9780 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 >  (exit $ac_status); }; } &&
9782 >         { ac_try='test -s conftest$ac_exeext'
9783 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9784 >  (eval $ac_try) 2>&5
9785 >  ac_status=$?
9786 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9787    (exit $ac_status); }; }; then
9788    ac_cv_lib_mpi_MPI_Init=yes
9789   else
9790    echo "$as_me: failed program was:" >&5
9791 < cat conftest.$ac_ext >&5
9791 > sed 's/^/| /' conftest.$ac_ext >&5
9792 >
9793   ac_cv_lib_mpi_MPI_Init=no
9794   fi
9795 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9795 > rm -f conftest.err conftest.$ac_objext \
9796 >      conftest$ac_exeext conftest.$ac_ext
9797   LIBS=$ac_check_lib_save_LIBS
9798   fi
9799 < echo "$as_me:5980: result: $ac_cv_lib_mpi_MPI_Init" >&5
9799 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
9800   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
9801   if test $ac_cv_lib_mpi_MPI_Init = yes; then
9802    MPI_LIB="-lmpi -llam -lpthread"
9803   else
9804  
9805 <             { { echo "$as_me:5986: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
9805 >             { { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
9806   echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;}
9807     { (exit 1); exit 1; }; }
9808               USE_MPI="no"
# Line 5992 | Line 9811 | echo "$as_me:5995: checking for MPI Fortran library" >
9811  
9812   fi
9813  
9814 < echo "$as_me:5995: checking for MPI Fortran library" >&5
9814 >
9815 >
9816 > echo "$as_me:$LINENO: checking for MPI Fortran library" >&5
9817   echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6
9818   MPI_F90_LIB=""
9819   if test -f "$MPI_LIB_DIR/libfmpich.a" ; then
# Line 6002 | Line 9823 | echo "$as_me:6005: result: found $MPI_F90_LIB" >&5
9823   else
9824                          MPI_F90_LIB="  "
9825   fi
9826 < echo "$as_me:6005: result: found $MPI_F90_LIB" >&5
9826 > echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5
9827   echo "${ECHO_T}found $MPI_F90_LIB" >&6
9828  
9829 +
9830   fi
9831  
9832 < # Check whether --with-sprng or --without-sprng was given.
9833 < if test "${with_sprng+set}" = set; then
9834 <  withval="$with_sprng"
9835 <  with_sprng=$withval
9836 < else
9837 <  with_sprng="/usr/local"
9832 >
9833 >
9834 >
9835 > USE_CGAL=no
9836 > cgal_makefile=auto
9837 >
9838 > # Check whether --with-cgal-makefile or --without-cgal-makefile was given.
9839 > if test "${with_cgal_makefile+set}" = set; then
9840 >  withval="$with_cgal_makefile"
9841 >  cgal_makefile="$withval"
9842   fi;
9843  
9844 < 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
9844 > if test "x$cgal_makefile" != xno; then
9845  
9846 < # Set variables...
9847 < SPRNG_LIB_DIR="$SPRNG/lib"
9848 < SPRNG_INC_DIR="$SPRNG/include"
9846 >  if test "x$cgal_makefile" = xauto -a "x$CGAL_MAKEFILE" != x; then
9847 >    cgal_makefile="$CGAL_MAKEFILE"
9848 >  fi
9849  
9850 < echo "$as_me:6032: checking for sprng.h" >&5
9851 < 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
9850 >  echo "$as_me:$LINENO: checking for cgal_makefile: $cgal_makefile" >&5
9851 > echo $ECHO_N "checking for cgal_makefile: $cgal_makefile... $ECHO_C" >&6
9852  
9853 < cat >>confdefs.h <<\EOF
9854 < #define HAVE_SPRNG_H 1
9853 >  if test -f "$cgal_makefile"; then
9854 >
9855 >    cat >config.tmp.Makefile <<EOF
9856 > include $cgal_makefile
9857 > default:
9858 >        @echo CGAL_OS_COMPILER=\"\${CGAL_OS_COMPILER}\" >config.tmp.cgalvariables
9859 >        @echo CGAL_INCLDIR=\"\${CGAL_INCL_DIR}\" >>config.tmp.cgalvariables
9860 >        @echo CGAL_INCLCONFDIR=\"\${CGAL_INCL_CONF_DIR}\" >>config.tmp.cgalvariables
9861 >        @echo CGAL_LIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
9862 >        @echo CGAL_RLIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
9863 >        @echo CGAL_CXXFLAGS=\"\${CGAL_CXXFLAGS}\" >>config.tmp.cgalvariables
9864 >        @echo GMP_INCLDIR=\"\${GMP_INCL_DIR}\" >>config.tmp.cgalvariables
9865 >        @echo GMP_LIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
9866 >        @echo GMP_RLIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
9867 >        @echo LEDA_INCLDIR=\"\${LEDA_INCL_DIR}\" >>config.tmp.cgalvariables
9868 >        @echo LEDA_LIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
9869 >        @echo LEDA_RLIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
9870   EOF
9871  
9872 < fi
9872 >    make -s -f config.tmp.Makefile
9873 >    . config.tmp.cgalvariables
9874  
9875 < 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
9875 >    rm -f config.tmp.Makefile config.tmp.cgalvariables
9876  
9877 < ac_save_LDFLAGS=$LDFLAGS
9878 < LDFLAGS="${LDFLAGS} -L${SPRNG_LIB_DIR} "
9877 >    if test "x$CGAL_INCLDIR" = "x"; then
9878 >      CGAL_INCLDIR=""
9879 >    fi
9880  
9881 < echo "$as_me:6063: checking for init_rng in -lsprng" >&5
9882 < echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6
9883 < 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"
9881 >    if test "x$CGAL_LIBDIR" = "x"; then
9882 >      CGAL_LIBDIR=""
9883 >    fi
9884  
9885 < /* Override any gcc2 internal prototype to avoid an error.  */
9886 < #ifdef __cplusplus
9887 < 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
9885 >    if test "x$CGAL_RLIBDIR" = "x"; then
9886 >      CGAL_RLIBDIR=""
9887 >    fi
9888  
9889 <             { { echo "$as_me:6116: error: Didn't find libsprng; check path for SPRNG package first..." >&5
9890 < echo "$as_me: error: Didn't find libsprng; check path for SPRNG package first..." >&2;}
9891 <   { (exit 1); exit 1; }; }
6119 <             USE_SPRNG="no"
9889 >    if test "x$LEDA_INCLDIR" = "x"; then
9890 >      LEDA_INCLDIR=""
9891 >    fi
9892  
9893 < fi
9893 >    if test "x$LEDA_LIBDIR" = "x"; then
9894 >      LEDA_LIBDIR=""
9895 >    fi
9896  
9897 < if test "$USE_SPRNG" = "no"; then
9898 <  { { echo "$as_me:6124: error: No working SPRNG library found" >&5
9899 < echo "$as_me: error: No working SPRNG library found" >&2;}
6126 <   { (exit 1); exit 1; }; }
6127 < fi
9897 >    if test "x$LEDA_RLIBDIR" = "x"; then
9898 >      LEDA_RLIBDIR=""
9899 >    fi
9900  
9901 < fi
9901 >    if test "x$GMP_INCLDIR" = "x"; then
9902 >      GMP_INCLDIR=""
9903 >    fi
9904  
9905 < echo "$as_me:6131: checking if MKL is wanted" >&5
9906 < echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6
9905 >    if test "x$GMP_LIBDIR" = "x"; then
9906 >      GMP_LIBDIR=""
9907 >    fi
9908  
9909 < # Check whether --with-mkl or --without-mkl was given.
9910 < 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";
9909 >    if test "x$GMP_RLIBDIR" = "x"; then
9910 >      GMP_RLIBDIR=""
9911      fi
9912  
9913 <  ac_ext=c
9914 < ac_cpp='$CPP $CPPFLAGS'
9915 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9916 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9917 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
9913 >    echo "$as_me:$LINENO: result: CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&5
9914 > echo "${ECHO_T}CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&6
9915 >    echo "$as_me:$LINENO: result: CGAL_INCLDIR=       $CGAL_INCLDIR" >&5
9916 > echo "${ECHO_T}CGAL_INCLDIR=       $CGAL_INCLDIR" >&6
9917 >    echo "$as_me:$LINENO: result: CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&5
9918 > echo "${ECHO_T}CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&6
9919 >    echo "$as_me:$LINENO: result: CGAL_LIBDIR=        $CGAL_LIBDIR" >&5
9920 > echo "${ECHO_T}CGAL_LIBDIR=        $CGAL_LIBDIR" >&6
9921 >    echo "$as_me:$LINENO: result: CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&5
9922 > echo "${ECHO_T}CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&6
9923 >    echo "$as_me:$LINENO: result: LEDA_INCLDIR=       $LEDA_INCLDIR" >&5
9924 > echo "${ECHO_T}LEDA_INCLDIR=       $LEDA_INCLDIR" >&6
9925 >    echo "$as_me:$LINENO: result: LEDA_LIBDIR=        $LEDA_LIBDIR" >&5
9926 > echo "${ECHO_T}LEDA_LIBDIR=        $LEDA_LIBDIR" >&6
9927 >    echo "$as_me:$LINENO: result: GMP_INCLDIR=        $GMP_INCLDIR" >&5
9928 > echo "${ECHO_T}GMP_INCLDIR=        $GMP_INCLDIR" >&6
9929 >    echo "$as_me:$LINENO: result: GMP_LIBDIR=         $GMP_LIBDIR" >&5
9930 > echo "${ECHO_T}GMP_LIBDIR=         $GMP_LIBDIR" >&6
9931  
9932 <  ac_save_CPPFLAGS=$CPPFLAGS
9933 <  CPPFLAGS="${CPPFLAGS} -I${mkldir}/include"
9934 <  ac_save_LDFLAGS=$LDFLAGS
9935 <  LDFLAGS="${LDFLAGS} -L${mkldir}/lib/32 -lmkl -lvml -lguide"
9936 <  echo "$as_me:6164: checking for mkl.h" >&5
9937 < echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
9938 < if test "${ac_cv_header_mkl_h+set}" = set; then
9932 >    ac_ext=cc
9933 > ac_cpp='$CXXCPP $CPPFLAGS'
9934 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9935 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9936 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9937 >
9938 >    save_CXXFLAGS="$CXXFLAGS"
9939 >    CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
9940 >    if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
9941 >  echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
9942 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
9943 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
9944    echo $ECHO_N "(cached) $ECHO_C" >&6
9945 + fi
9946 + echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
9947 + echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
9948   else
9949 <  cat >conftest.$ac_ext <<_ACEOF
9950 < #line 6170 "configure"
9951 < #include "confdefs.h"
9952 < #include <mkl.h>
9949 >  # Is the header compilable?
9950 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h usability" >&5
9951 > echo $ECHO_N "checking CGAL/Cartesian.h usability... $ECHO_C" >&6
9952 > cat >conftest.$ac_ext <<_ACEOF
9953 > /* confdefs.h.  */
9954   _ACEOF
9955 < if { (eval echo "$as_me:6174: \"$ac_cpp conftest.$ac_ext\"") >&5
9955 > cat confdefs.h >>conftest.$ac_ext
9956 > cat >>conftest.$ac_ext <<_ACEOF
9957 > /* end confdefs.h.  */
9958 > $ac_includes_default
9959 > #include <CGAL/Cartesian.h>
9960 > _ACEOF
9961 > rm -f conftest.$ac_objext
9962 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9963 >  (eval $ac_compile) 2>conftest.er1
9964 >  ac_status=$?
9965 >  grep -v '^ *+' conftest.er1 >conftest.err
9966 >  rm -f conftest.er1
9967 >  cat conftest.err >&5
9968 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9969 >  (exit $ac_status); } &&
9970 >         { ac_try='test -z "$ac_cxx_werror_flag"
9971 >                         || test ! -s conftest.err'
9972 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9973 >  (eval $ac_try) 2>&5
9974 >  ac_status=$?
9975 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9976 >  (exit $ac_status); }; } &&
9977 >         { ac_try='test -s conftest.$ac_objext'
9978 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9979 >  (eval $ac_try) 2>&5
9980 >  ac_status=$?
9981 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9982 >  (exit $ac_status); }; }; then
9983 >  ac_header_compiler=yes
9984 > else
9985 >  echo "$as_me: failed program was:" >&5
9986 > sed 's/^/| /' conftest.$ac_ext >&5
9987 >
9988 > ac_header_compiler=no
9989 > fi
9990 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9991 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9992 > echo "${ECHO_T}$ac_header_compiler" >&6
9993 >
9994 > # Is the header present?
9995 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h presence" >&5
9996 > echo $ECHO_N "checking CGAL/Cartesian.h presence... $ECHO_C" >&6
9997 > cat >conftest.$ac_ext <<_ACEOF
9998 > /* confdefs.h.  */
9999 > _ACEOF
10000 > cat confdefs.h >>conftest.$ac_ext
10001 > cat >>conftest.$ac_ext <<_ACEOF
10002 > /* end confdefs.h.  */
10003 > #include <CGAL/Cartesian.h>
10004 > _ACEOF
10005 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10006    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10007    ac_status=$?
10008 <  egrep -v '^ *\+' conftest.er1 >conftest.err
10008 >  grep -v '^ *+' conftest.er1 >conftest.err
10009    rm -f conftest.er1
10010    cat conftest.err >&5
10011 <  echo "$as_me:6180: \$? = $ac_status" >&5
10011 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10012    (exit $ac_status); } >/dev/null; then
10013    if test -s conftest.err; then
10014 <    ac_cpp_err=$ac_c_preproc_warn_flag
10014 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
10015 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
10016    else
10017      ac_cpp_err=
10018    fi
# Line 6188 | Line 10020 | if test -z "$ac_cpp_err"; then
10020    ac_cpp_err=yes
10021   fi
10022   if test -z "$ac_cpp_err"; then
10023 <  ac_cv_header_mkl_h=yes
10023 >  ac_header_preproc=yes
10024   else
10025    echo "$as_me: failed program was:" >&5
10026 <  cat conftest.$ac_ext >&5
10027 <  ac_cv_header_mkl_h=no
10026 > sed 's/^/| /' conftest.$ac_ext >&5
10027 >
10028 >  ac_header_preproc=no
10029   fi
10030   rm -f conftest.err conftest.$ac_ext
10031 < fi
10032 < 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
10031 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10032 > echo "${ECHO_T}$ac_header_preproc" >&6
10033  
10034 <    echo "$as_me:6203: checking for vslNewStream in -lmkl" >&5
10035 < echo $ECHO_N "checking for vslNewStream in -lmkl... $ECHO_C" >&6
10036 < if test "${ac_cv_lib_mkl_vslNewStream+set}" = set; then
10034 > # So?  What about this header?
10035 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10036 >  yes:no: )
10037 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&5
10038 > echo "$as_me: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10039 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&5
10040 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&2;}
10041 >    ac_header_preproc=yes
10042 >    ;;
10043 >  no:yes:* )
10044 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&5
10045 > echo "$as_me: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&2;}
10046 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&5
10047 > echo "$as_me: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&2;}
10048 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&5
10049 > echo "$as_me: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&2;}
10050 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&5
10051 > echo "$as_me: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&2;}
10052 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&5
10053 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&2;}
10054 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&5
10055 > echo "$as_me: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&2;}
10056 >    (
10057 >      cat <<\_ASBOX
10058 > ## ------------------------------ ##
10059 > ## Report this to gezelter@nd.edu ##
10060 > ## ------------------------------ ##
10061 > _ASBOX
10062 >    ) |
10063 >      sed "s/^/$as_me: WARNING:     /" >&2
10064 >    ;;
10065 > esac
10066 > echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
10067 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
10068 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
10069    echo $ECHO_N "(cached) $ECHO_C" >&6
10070   else
10071 <  ac_check_lib_save_LIBS=$LIBS
10072 < LIBS="-lmkl  $LIBS"
10073 < cat >conftest.$ac_ext <<_ACEOF
10074 < #line 6211 "configure"
6212 < #include "confdefs.h"
10071 >  ac_cv_header_CGAL_Cartesian_h=$ac_header_preproc
10072 > fi
10073 > echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
10074 > echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
10075  
10076 < /* Override any gcc2 internal prototype to avoid an error.  */
10077 < #ifdef __cplusplus
10078 < extern "C"
10079 < #endif
10080 < /* We use char because int might match the return type of a gcc2
10081 <   builtin and then its argument prototype would still apply.  */
10082 < char vslNewStream ();
10076 > fi
10077 > if test $ac_cv_header_CGAL_Cartesian_h = yes; then
10078 >  cgal=yes
10079 > else
10080 >  cgal=no
10081 > fi
10082 >
10083 >
10084 >    CXXFLAGS="$save_CXXFLAGS"
10085 >
10086 >    if test "x$cgal" = xyes; then
10087 >      echo "$as_me:$LINENO: checking for CGAL version" >&5
10088 > echo $ECHO_N "checking for CGAL version... $ECHO_C" >&6
10089 >      LOCATION=${CGAL_INCLDIR}
10090 >      LOCATION=${LOCATION:-/usr/include}
10091 >      if test -f $LOCATION/CGAL/version.h; then
10092 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/version.h | sed 's/[^0-9\.]*//g'`
10093 >      else
10094 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/config.h | sed 's/[^0-9\.]*//g'`
10095 >      fi
10096 >      if echo $CGAL_VERSION | grep -q "^[3456789]"; then
10097 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) yes" >&5
10098 > echo "${ECHO_T}($CGAL_VERSION) yes" >&6
10099 >      else
10100 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) no" >&5
10101 > echo "${ECHO_T}($CGAL_VERSION) no" >&6
10102 >        cgal=no
10103 >      fi
10104 >    fi
10105 >
10106 >    if test "x$cgal" = xyes; then
10107 >      CGAL_LIBS="-lCGAL"
10108 >      echo "$as_me:$LINENO: checking whether CGAL uses LEDA" >&5
10109 > echo $ECHO_N "checking whether CGAL uses LEDA... $ECHO_C" >&6
10110 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_LEDA; then
10111 >        CGAL_USES_LEDA=yes
10112 >        echo "$as_me:$LINENO: result: yes" >&5
10113 > echo "${ECHO_T}yes" >&6
10114 >        CGAL_DEFINES="-DCGAL_USE_LEDA -DLEDA_PREFIX"
10115 >      else
10116 >        echo "$as_me:$LINENO: result: no" >&5
10117 > echo "${ECHO_T}no" >&6
10118 >        CGAL_USES_LEDA=no
10119 >      fi
10120 >
10121 >      echo "$as_me:$LINENO: checking whether CGAL uses GMP" >&5
10122 > echo $ECHO_N "checking whether CGAL uses GMP... $ECHO_C" >&6
10123 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_GMP; then
10124 >        CGAL_USES_GMP=yes
10125 >        echo "$as_me:$LINENO: result: yes" >&5
10126 > echo "${ECHO_T}yes" >&6
10127 >        CGAL_DEFINES="-DCGAL_USE_GMP $CGAL_DEFINES"
10128 >      else
10129 >        echo "$as_me:$LINENO: result: no" >&5
10130 > echo "${ECHO_T}no" >&6
10131 >        CGAL_USES_GMP=no
10132 >      fi
10133 >
10134 >      CGAL_LIBS="$CGAL_LIBS -lm"
10135 >
10136 >      CGAL_CXXFLAGS="-ftemplate-depth-50"
10137 >
10138 >      echo "$as_me:$LINENO: result: CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&5
10139 > echo "${ECHO_T}CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&6
10140 >      echo "$as_me:$LINENO: result: CGAL_USES_GMP =     $CGAL_USES_GMP" >&5
10141 > echo "${ECHO_T}CGAL_USES_GMP =     $CGAL_USES_GMP" >&6
10142 >      echo "$as_me:$LINENO: result: CGAL_INCLDIR  =     $CGAL_INCLDIR" >&5
10143 > echo "${ECHO_T}CGAL_INCLDIR  =     $CGAL_INCLDIR" >&6
10144 >      echo "$as_me:$LINENO: result: CGAL_LIBDIR   =     $CGAL_LIBDIR" >&5
10145 > echo "${ECHO_T}CGAL_LIBDIR   =     $CGAL_LIBDIR" >&6
10146 >      echo "$as_me:$LINENO: result: CGAL_DEFINES  =     $CGAL_DEFINES" >&5
10147 > echo "${ECHO_T}CGAL_DEFINES  =     $CGAL_DEFINES" >&6
10148 >      echo "$as_me:$LINENO: result: CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&5
10149 > echo "${ECHO_T}CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&6
10150 >      echo "$as_me:$LINENO: result: CGAL_LIBS     =     $CGAL_LIBS" >&5
10151 > echo "${ECHO_T}CGAL_LIBS     =     $CGAL_LIBS" >&6
10152 >    fi
10153 >
10154 >    if test "x$cgal" = xyes; then
10155 >      save_LIBS="$LIBS"
10156 >      LIBS="$LIBS -L$CGAL_LIBDIR"
10157 >      if test "x$CGAL_USES_LEDA" = xyes; then
10158 >        LIBS="-lL $LIBS -L$LEDA_LIBDIR"
10159 >      fi
10160 >      # if test "x$CGAL_USES_GMP" = xyes; then
10161 >      #   LIBS="-lgmp $LIBS $GMP_LIBDIR"
10162 >      # fi
10163 >      echo "$as_me:$LINENO: checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL" >&5
10164 > echo $ECHO_N "checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL... $ECHO_C" >&6
10165 > save_CXXFLAGS_CHECK_CXX_LIB="$CXXFLAGS"
10166 > CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
10167 > save_LIBS_CHECK_CXX_LIB="$LIBS"
10168 > LIBS="-lCGAL  $LIBS"
10169 > cat >conftest.$ac_ext <<_ACEOF
10170 > /* confdefs.h.  */
10171 > _ACEOF
10172 > cat confdefs.h >>conftest.$ac_ext
10173 > cat >>conftest.$ac_ext <<_ACEOF
10174 > /* end confdefs.h.  */
10175 > #include <CGAL/Cartesian.h>
10176   int
10177   main ()
10178   {
10179 < vslNewStream ();
10179 > ::CGAL::Cartesian<int>::Point_2 P
10180    ;
10181    return 0;
10182   }
10183   _ACEOF
10184   rm -f conftest.$ac_objext conftest$ac_exeext
10185 < if { (eval echo "$as_me:6230: \"$ac_link\"") >&5
10186 <  (eval $ac_link) 2>&5
10185 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10186 >  (eval $ac_link) 2>conftest.er1
10187    ac_status=$?
10188 <  echo "$as_me:6233: \$? = $ac_status" >&5
10188 >  grep -v '^ *+' conftest.er1 >conftest.err
10189 >  rm -f conftest.er1
10190 >  cat conftest.err >&5
10191 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10192    (exit $ac_status); } &&
10193 <         { ac_try='test -s conftest$ac_exeext'
10194 <  { (eval echo "$as_me:6236: \"$ac_try\"") >&5
10193 >         { ac_try='test -z "$ac_cxx_werror_flag"
10194 >                         || test ! -s conftest.err'
10195 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10196    (eval $ac_try) 2>&5
10197    ac_status=$?
10198 <  echo "$as_me:6239: \$? = $ac_status" >&5
10198 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10199 >  (exit $ac_status); }; } &&
10200 >         { ac_try='test -s conftest$ac_exeext'
10201 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10202 >  (eval $ac_try) 2>&5
10203 >  ac_status=$?
10204 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10205    (exit $ac_status); }; }; then
10206 <  ac_cv_lib_mkl_vslNewStream=yes
10206 >  echo "$as_me:$LINENO: result: yes" >&5
10207 > echo "${ECHO_T}yes" >&6
10208 > cgal=yes
10209   else
10210    echo "$as_me: failed program was:" >&5
10211 < 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
10211 > sed 's/^/| /' conftest.$ac_ext >&5
10212  
10213 < else
10214 <  MKL_INC="-I${mkldir}/include"
10213 > echo "$as_me:$LINENO: result: no" >&5
10214 > echo "${ECHO_T}no" >&6
10215 > cgal=no
10216   fi
10217 + rm -f conftest.err conftest.$ac_objext \
10218 +      conftest$ac_exeext conftest.$ac_ext
10219 + CXXFLAGS="$save_CXXFLAGS_CHECK_CXX_LIB"
10220 + LIBS="$save_LIBS_CHECK_CXX_LIB"
10221 +      LIBS="$save_LIBS"
10222 +    fi
10223  
10224 <  CPPFLAGS=$ac_save_CPPFLAGS
6263 <  LDFLAGS=$ac_save_LDFLAGS
10224 >  fi
10225    ac_ext=c
10226   ac_cpp='$CPP $CPPFLAGS'
10227   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10228   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10229   ac_compiler_gnu=$ac_cv_c_compiler_gnu
10230  
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
10231  
10232 + fi
10233 +
10234 + if test "x$cgal" = xyes; then
10235 +  USE_CGAL=yes
10236 +
10237 + cat >>confdefs.h <<\_ACEOF
10238 + #define HAVE_CGAL 1
10239 + _ACEOF
10240 +
10241 +
10242 + cat >>confdefs.h <<_ACEOF
10243 + #define CGAL_VERSION $CGAL_VERSION
10244 + _ACEOF
10245 +
10246 +  if ! echo $CGAL_VERSION | grep -q "^3.0"; then
10247 +    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
10248 + echo "$as_me: WARNING: *****************************************************" >&2;}
10249 +    { echo "$as_me:$LINENO: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&5
10250 + echo "$as_me: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&2;}
10251 +    { echo "$as_me:$LINENO: WARNING: *** supported versions. It may still work though. ***" >&5
10252 + echo "$as_me: WARNING: *** supported versions. It may still work though. ***" >&2;}
10253 +    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
10254 + echo "$as_me: WARNING: *****************************************************" >&2;}
10255 +  fi
10256   else
10257 +   if test "x$cgal_makefile" != xno; then
10258 +    echo "$as_me:$LINENO: result: No CGAL support. These are not the droids you want." >&5
10259 + echo "${ECHO_T}No CGAL support. These are not the droids you want." >&6
10260 +  fi
10261 +  CGAL_INCLDIR=
10262 +  CGAL_LIBDIR=
10263 +  CGAL_RLIBDIR=
10264 +  CGAL_DEFINES=
10265 +  CGAL_CXXFLAGS=
10266 +  CGAL_LIBS=
10267 + fi
10268  
6278    echo "$as_me:6278: result: no" >&5
6279 echo "${ECHO_T}no" >&6
10269  
10270 < fi;
10270 > CGAL_INC_DIR="${CGAL_INCLDIR} ${CGAL_INCLCONFDIR}"
10271  
10272 + CGAL_LIB_DIR=${CGAL_LIBDIR}
10273 +
10274 + CGAL_RLIB_DIR=${CGAL_RLIBDIR}
10275 +
10276 +
10277 +
10278 +
10279 +
10280 +
10281 +
10282   # Check whether --enable-doxygen or --disable-doxygen was given.
10283   if test "${enable_doxygen+set}" = set; then
10284    enableval="$enable_doxygen"
# Line 6309 | Line 10308 | echo "$as_me:6312: checking for $ac_word" >&5
10308   else
10309          # Extract the first word of "doxygen", so it can be a program name with args.
10310   set dummy doxygen; ac_word=$2
10311 < echo "$as_me:6312: checking for $ac_word" >&5
10311 > echo "$as_me:$LINENO: checking for $ac_word" >&5
10312   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10313   if test "${ac_cv_path_DOXYGEN+set}" = set; then
10314    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6319 | Line 10318 | else
10318    ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
10319    ;;
10320    *)
10321 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
10322 < ac_dummy="$PATH"
10323 < for ac_dir in $ac_dummy; do
10324 <  IFS=$ac_save_IFS
10325 <  test -z "$ac_dir" && ac_dir=.
10326 <  if $as_executable_p "$ac_dir/$ac_word"; then
10327 <   ac_cv_path_DOXYGEN="$ac_dir/$ac_word"
10328 <   echo "$as_me:6329: found $ac_dir/$ac_word" >&5
10329 <   break
10330 < fi
10321 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10322 > for as_dir in $PATH
10323 > do
10324 >  IFS=$as_save_IFS
10325 >  test -z "$as_dir" && as_dir=.
10326 >  for ac_exec_ext in '' $ac_executable_extensions; do
10327 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10328 >    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
10329 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10330 >    break 2
10331 >  fi
10332   done
10333 + done
10334  
10335    ;;
10336   esac
# Line 6337 | Line 10338 | if test -n "$DOXYGEN"; then
10338   DOXYGEN=$ac_cv_path_DOXYGEN
10339  
10340   if test -n "$DOXYGEN"; then
10341 <  echo "$as_me:6340: result: $DOXYGEN" >&5
10341 >  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
10342   echo "${ECHO_T}$DOXYGEN" >&6
10343   else
10344 <  echo "$as_me:6343: result: no" >&5
10344 >  echo "$as_me:$LINENO: result: no" >&5
10345   echo "${ECHO_T}no" >&6
10346   fi
10347  
10348          if test "x$DOXYGEN" = x; then
10349                  if test "x$enable_doxygen" = xyes; then
10350 <                        { { echo "$as_me:6349: error: could not find doxygen" >&5
10350 >                        { { echo "$as_me:$LINENO: error: could not find doxygen" >&5
10351   echo "$as_me: error: could not find doxygen" >&2;}
10352     { (exit 1); exit 1; }; }
10353                  fi
# Line 6355 | Line 10356 | echo "$as_me:6358: checking for $ac_word" >&5
10356                  enable_doc=yes
10357                  # Extract the first word of "dot", so it can be a program name with args.
10358   set dummy dot; ac_word=$2
10359 < echo "$as_me:6358: checking for $ac_word" >&5
10359 > echo "$as_me:$LINENO: checking for $ac_word" >&5
10360   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10361   if test "${ac_cv_path_DOT+set}" = set; then
10362    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6365 | Line 10366 | else
10366    ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
10367    ;;
10368    *)
10369 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
10370 < ac_dummy="$PATH"
10371 < for ac_dir in $ac_dummy; do
10372 <  IFS=$ac_save_IFS
10373 <  test -z "$ac_dir" && ac_dir=.
10374 <  if $as_executable_p "$ac_dir/$ac_word"; then
10375 <   ac_cv_path_DOT="$ac_dir/$ac_word"
10376 <   echo "$as_me:6375: found $ac_dir/$ac_word" >&5
10377 <   break
10378 < fi
10369 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10370 > for as_dir in $PATH
10371 > do
10372 >  IFS=$as_save_IFS
10373 >  test -z "$as_dir" && as_dir=.
10374 >  for ac_exec_ext in '' $ac_executable_extensions; do
10375 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10376 >    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
10377 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10378 >    break 2
10379 >  fi
10380   done
10381 + done
10382  
10383    ;;
10384   esac
# Line 6383 | Line 10386 | if test -n "$DOT"; then
10386   DOT=$ac_cv_path_DOT
10387  
10388   if test -n "$DOT"; then
10389 <  echo "$as_me:6386: result: $DOT" >&5
10389 >  echo "$as_me:$LINENO: result: $DOT" >&5
10390   echo "${ECHO_T}$DOT" >&6
10391   else
10392 <  echo "$as_me:6389: result: no" >&5
10392 >  echo "$as_me:$LINENO: result: no" >&5
10393   echo "${ECHO_T}no" >&6
10394   fi
10395  
# Line 6399 | Line 10402 | if test x$DOT = x; then
10402    DOC=0
10403   fi
10404  
10405 +
10406   if test x$DOT = x; then
10407          if test "x$enable_dot" = xyes; then
10408 <                { { echo "$as_me:6404: error: could not find dot" >&5
10408 >                { { echo "$as_me:$LINENO: error: could not find dot" >&5
10409   echo "$as_me: error: could not find dot" >&2;}
10410     { (exit 1); exit 1; }; }
10411          fi
# Line 6410 | Line 10414 | OBJEXT=".$OBJEXT"
10414          enable_dot=yes
10415   fi
10416  
10417 +
10418 +
10419 +
10420 +
10421 +
10422 +
10423   OBJEXT=".$OBJEXT"
10424  
10425   OOPSE=oopse
# Line 6440 | Line 10450 | DEBUG=${DEBUG-"-g"}
10450   F90FLAGS=${F90FLAGS-""}
10451   LDFLAGS=${LDFLAGS-""}
10452   DEBUG=${DEBUG-"-g"}
10453 +
10454 + case $debug in
10455 +  1)
10456 +     FFLAGS="$DEBUG $FFLAGS"
10457 +     F90FLAGS="$DEBUG $F90FLAGS"
10458 +     ;;
10459 +  *)
10460 +     ;;
10461 + esac
10462 +
10463 +
10464 +
10465 +
10466 +
10467 +
10468 +
10469 +
10470 +
10471 +
10472 +
10473 +
10474 +
10475 +
10476  
6444 case $debug in
6445  1)
6446     FFLAGS="$DEBUG $FFLAGS"
6447     F90FLAGS="$DEBUG $F90FLAGS"
6448     ;;
6449  *)
6450     ;;
6451 esac
10477  
6453 ac_config_headers="$ac_config_headers src/config.h"
10478  
6455 ac_config_files="$ac_config_files make/Makefile src/utils/Makefile"
10479  
10480 +          ac_config_headers="$ac_config_headers src/config.h"
10481 +
10482 +                                        ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile scripts/filepp"
10483 +
10484 +
10485   cat >confcache <<\_ACEOF
10486   # This file is a shell script that caches the results of configure
10487   # tests run on this system so they can be shared between configure
# Line 6464 | Line 10492 | cat >confcache <<\_ACEOF
10492   # config.status only pays attention to the cache file if you give it
10493   # the --recheck option to rerun configure.
10494   #
10495 < # `ac_cv_env_foo' variables (set or unset) will be overriden when
10495 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
10496   # loading this file, other *unset* `ac_cv_foo' will be assigned the
10497   # following values.
10498  
# Line 6482 | Line 10510 | _ACEOF
10510        # `set' does not quote correctly, so add quotes (double-quote
10511        # substitution turns \\\\ into \\, and sed turns \\ into \).
10512        sed -n \
10513 <        "s/'/'\\\\''/g;
10514 <          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10513 >        "s/'/'\\\\''/g;
10514 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10515        ;;
10516      *)
10517        # `set' quotes correctly as required by POSIX, so do not add quotes.
10518        sed -n \
10519 <        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10519 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10520        ;;
10521      esac;
10522   } |
# Line 6499 | Line 10527 | if cmp -s $cache_file confcache; then :; else
10527       t end
10528       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10529       : end' >>confcache
10530 < if cmp -s $cache_file confcache; then :; else
10530 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
10531    if test -w $cache_file; then
10532      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10533      cat confcache >$cache_file
# Line 6518 | Line 10546 | if test "x$srcdir" = x.; then
10546   # trailing colons and then remove the whole line if VPATH becomes empty
10547   # (actually we leave an empty line to preserve line numbers).
10548   if test "x$srcdir" = x.; then
10549 <  ac_vpsub='/^[         ]*VPATH[        ]*=/{
10549 >  ac_vpsub='/^[  ]*VPATH[        ]*=/{
10550   s/:*\$(srcdir):*/:/;
10551   s/:*\${srcdir}:*/:/;
10552   s/:*@srcdir@:*/:/;
10553 < s/^\([^=]*=[    ]*\):*/\1/;
10553 > s/^\([^=]*=[     ]*\):*/\1/;
10554   s/:*$//;
10555 < s/^[^=]*=[      ]*$//;
10555 > s/^[^=]*=[       ]*$//;
10556   }'
10557   fi
10558  
10559   DEFS=-DHAVE_CONFIG_H
10560  
10561 + ac_libobjs=
10562 + ac_ltlibobjs=
10563 + for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
10564 +  # 1. Remove the extension, and $U if already installed.
10565 +  ac_i=`echo "$ac_i" |
10566 +         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10567 +  # 2. Add them.
10568 +  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
10569 +  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
10570 + done
10571 + LIBOBJS=$ac_libobjs
10572 +
10573 + LTLIBOBJS=$ac_ltlibobjs
10574 +
10575 +
10576 +
10577   : ${CONFIG_STATUS=./config.status}
10578   ac_clean_files_save=$ac_clean_files
10579   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
10580 < { echo "$as_me:6536: creating $CONFIG_STATUS" >&5
10580 > { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10581   echo "$as_me: creating $CONFIG_STATUS" >&6;}
10582   cat >$CONFIG_STATUS <<_ACEOF
10583   #! $SHELL
10584 < # Generated automatically by configure.
10584 > # Generated by $as_me.
10585   # Run this file to recreate the current configuration.
10586   # Compiler output produced by configure, useful for debugging
10587   # configure, is in config.log if it exists.
10588  
10589   debug=false
10590 + ac_cs_recheck=false
10591 + ac_cs_silent=false
10592   SHELL=\${CONFIG_SHELL-$SHELL}
6547 ac_cs_invocation="\$0 \$@"
6548
10593   _ACEOF
10594  
10595   cat >>$CONFIG_STATUS <<\_ACEOF
10596 + ## --------------------- ##
10597 + ## M4sh Initialization.  ##
10598 + ## --------------------- ##
10599 +
10600   # Be Bourne compatible
10601   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10602    emulate sh
10603    NULLCMD=:
10604 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10605 +  # is contrary to our usage.  Disable this feature.
10606 +  alias -g '${1+"$@"}'='"$@"'
10607   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
10608    set -o posix
10609   fi
10610 + DUALCASE=1; export DUALCASE # for MKS sh
10611  
10612 + # Support unset when possible.
10613 + if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
10614 +  as_unset=unset
10615 + else
10616 +  as_unset=false
10617 + fi
10618 +
10619 +
10620 + # Work around bugs in pre-3.0 UWIN ksh.
10621 + $as_unset ENV MAIL MAILPATH
10622 + PS1='$ '
10623 + PS2='> '
10624 + PS4='+ '
10625 +
10626 + # NLS nuisances.
10627 + for as_var in \
10628 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10629 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10630 +  LC_TELEPHONE LC_TIME
10631 + do
10632 +  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10633 +    eval $as_var=C; export $as_var
10634 +  else
10635 +    $as_unset $as_var
10636 +  fi
10637 + done
10638 +
10639 + # Required to use basename.
10640 + if expr a : '\(a\)' >/dev/null 2>&1; then
10641 +  as_expr=expr
10642 + else
10643 +  as_expr=false
10644 + fi
10645 +
10646 + if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
10647 +  as_basename=basename
10648 + else
10649 +  as_basename=false
10650 + fi
10651 +
10652 +
10653   # Name of the executable.
10654 < as_me=`echo "$0" |sed 's,.*[\\/],,'`
10654 > as_me=`$as_basename "$0" ||
10655 > $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10656 >         X"$0" : 'X\(//\)$' \| \
10657 >         X"$0" : 'X\(/\)$' \| \
10658 >         .     : '\(.\)' 2>/dev/null ||
10659 > echo X/"$0" |
10660 >    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10661 >          /^X\/\(\/\/\)$/{ s//\1/; q; }
10662 >          /^X\/\(\/\).*/{ s//\1/; q; }
10663 >          s/.*/./; q'`
10664  
10665 +
10666 + # PATH needs CR, and LINENO needs CR and PATH.
10667 + # Avoid depending upon Character Ranges.
10668 + as_cr_letters='abcdefghijklmnopqrstuvwxyz'
10669 + as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10670 + as_cr_Letters=$as_cr_letters$as_cr_LETTERS
10671 + as_cr_digits='0123456789'
10672 + as_cr_alnum=$as_cr_Letters$as_cr_digits
10673 +
10674 + # The user is always right.
10675 + if test "${PATH_SEPARATOR+set}" != set; then
10676 +  echo "#! /bin/sh" >conf$$.sh
10677 +  echo  "exit 0"   >>conf$$.sh
10678 +  chmod +x conf$$.sh
10679 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10680 +    PATH_SEPARATOR=';'
10681 +  else
10682 +    PATH_SEPARATOR=:
10683 +  fi
10684 +  rm -f conf$$.sh
10685 + fi
10686 +
10687 +
10688 +  as_lineno_1=$LINENO
10689 +  as_lineno_2=$LINENO
10690 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10691 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
10692 +  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
10693 +  # Find who we are.  Look in the path if we contain no path at all
10694 +  # relative or not.
10695 +  case $0 in
10696 +    *[\\/]* ) as_myself=$0 ;;
10697 +    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10698 + for as_dir in $PATH
10699 + do
10700 +  IFS=$as_save_IFS
10701 +  test -z "$as_dir" && as_dir=.
10702 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10703 + done
10704 +
10705 +       ;;
10706 +  esac
10707 +  # We did not find ourselves, most probably we were run as `sh COMMAND'
10708 +  # in which case we are not to be found in the path.
10709 +  if test "x$as_myself" = x; then
10710 +    as_myself=$0
10711 +  fi
10712 +  if test ! -f "$as_myself"; then
10713 +    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10714 + echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10715 +   { (exit 1); exit 1; }; }
10716 +  fi
10717 +  case $CONFIG_SHELL in
10718 +  '')
10719 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10720 + for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
10721 + do
10722 +  IFS=$as_save_IFS
10723 +  test -z "$as_dir" && as_dir=.
10724 +  for as_base in sh bash ksh sh5; do
10725 +         case $as_dir in
10726 +         /*)
10727 +           if ("$as_dir/$as_base" -c '
10728 +  as_lineno_1=$LINENO
10729 +  as_lineno_2=$LINENO
10730 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10731 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
10732 +  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
10733 +             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
10734 +             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
10735 +             CONFIG_SHELL=$as_dir/$as_base
10736 +             export CONFIG_SHELL
10737 +             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
10738 +           fi;;
10739 +         esac
10740 +       done
10741 + done
10742 + ;;
10743 +  esac
10744 +
10745 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10746 +  # uniformly replaced by the line number.  The first 'sed' inserts a
10747 +  # line-number line before each line; the second 'sed' does the real
10748 +  # work.  The second script uses 'N' to pair each line-number line
10749 +  # with the numbered line, and appends trailing '-' during
10750 +  # substitution so that $LINENO is not a special case at line end.
10751 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10752 +  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
10753 +  sed '=' <$as_myself |
10754 +    sed '
10755 +      N
10756 +      s,$,-,
10757 +      : loop
10758 +      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
10759 +      t loop
10760 +      s,-$,,
10761 +      s,^['$as_cr_digits']*\n,,
10762 +    ' >$as_me.lineno &&
10763 +  chmod +x $as_me.lineno ||
10764 +    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
10765 + echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
10766 +   { (exit 1); exit 1; }; }
10767 +
10768 +  # Don't try to exec as it changes $[0], causing all sort of problems
10769 +  # (the dirname of $[0] is not the place where we might find the
10770 +  # original and so on.  Autoconf is especially sensible to this).
10771 +  . ./$as_me.lineno
10772 +  # Exit status is that of the last command.
10773 +  exit
10774 + }
10775 +
10776 +
10777 + case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10778 +  *c*,-n*) ECHO_N= ECHO_C='
10779 + ' ECHO_T='      ' ;;
10780 +  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
10781 +  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
10782 + esac
10783 +
10784   if expr a : '\(a\)' >/dev/null 2>&1; then
10785    as_expr=expr
10786   else
# Line 6584 | Line 10805 | as_executable_p="test -f"
10805   fi
10806   rm -f conf$$ conf$$.exe conf$$.file
10807  
10808 < as_executable_p="test -f"
10809 <
6589 < # Support unset when possible.
6590 < if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
6591 <  as_unset=unset
10808 > if mkdir -p . 2>/dev/null; then
10809 >  as_mkdir_p=:
10810   else
10811 <  as_unset=false
10811 >  test -d ./-p && rmdir ./-p
10812 >  as_mkdir_p=false
10813   fi
10814  
10815 < # 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; }
10815 > as_executable_p="test -f"
10816  
10817 + # Sed expression to map a string onto a valid CPP name.
10818 + as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10819 +
10820 + # Sed expression to map a string onto a valid variable name.
10821 + as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10822 +
10823 +
10824   # IFS
10825   # We need space, tab and new line, in precisely that order.
10826   as_nl='
# Line 6610 | Line 10828 | $as_unset CDPATH || test "${CDPATH+set}" != set || { C
10828   IFS="   $as_nl"
10829  
10830   # CDPATH.
10831 < $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
10831 > $as_unset CDPATH
10832  
10833   exec 6>&1
10834  
10835 + # Open the log real soon, to keep \$[0] and so on meaningful, and to
10836 + # report actual input values of CONFIG_FILES etc. instead of their
10837 + # values after options handling.  Logging --version etc. is OK.
10838 + exec 5>>config.log
10839 + {
10840 +  echo
10841 +  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10842 + ## Running $as_me. ##
10843 + _ASBOX
10844 + } >&5
10845 + cat >&5 <<_CSEOF
10846 +
10847 + This file was extended by OOPSE $as_me 2.0, which was
10848 + generated by GNU Autoconf 2.59.  Invocation command line was
10849 +
10850 +  CONFIG_FILES    = $CONFIG_FILES
10851 +  CONFIG_HEADERS  = $CONFIG_HEADERS
10852 +  CONFIG_LINKS    = $CONFIG_LINKS
10853 +  CONFIG_COMMANDS = $CONFIG_COMMANDS
10854 +  $ $0 $@
10855 +
10856 + _CSEOF
10857 + echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10858 + echo >&5
10859   _ACEOF
10860  
10861   # Files that config.status was made for.
# Line 6633 | Line 10875 | cat >>$CONFIG_STATUS <<\EOF
10875    echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10876   fi
10877  
10878 < cat >>$CONFIG_STATUS <<\EOF
10878 > cat >>$CONFIG_STATUS <<\_ACEOF
10879  
10880   ac_cs_usage="\
10881   \`$as_me' instantiates files from templates according to the
# Line 6643 | Line 10885 | Usage: $0 [OPTIONS] [FILE]...
10885  
10886    -h, --help       print this help, then exit
10887    -V, --version    print version number, then exit
10888 +  -q, --quiet      do not print progress messages
10889    -d, --debug      don't remove temporary files
10890        --recheck    update $as_me by reconfiguring in the same conditions
10891    --file=FILE[:TEMPLATE]
10892 <                   instantiate the configuration file FILE
10892 >                   instantiate the configuration file FILE
10893    --header=FILE[:TEMPLATE]
10894 <                   instantiate the configuration header FILE
10894 >                   instantiate the configuration header FILE
10895  
10896   Configuration files:
10897   $config_files
# Line 6660 | Line 10903 | EOF
10903   $config_links
10904  
10905   Report bugs to <bug-autoconf@gnu.org>."
10906 < EOF
10906 > _ACEOF
10907  
10908 < cat >>$CONFIG_STATUS <<EOF
10908 > cat >>$CONFIG_STATUS <<_ACEOF
10909   ac_cs_version="\\
10910   OOPSE config.status 2.0
10911 < configured by $0, generated by GNU Autoconf 2.50,
10911 > configured by $0, generated by GNU Autoconf 2.59,
10912    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10913  
10914 < Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6672 < Free Software Foundation, Inc.
10914 > Copyright (C) 2003 Free Software Foundation, Inc.
10915   This config.status script is free software; the Free Software Foundation
10916   gives unlimited permission to copy, distribute and modify it."
10917   srcdir=$srcdir
10918   INSTALL="$INSTALL"
10919 < EOF
10919 > _ACEOF
10920  
10921 < cat >>$CONFIG_STATUS <<\EOF
10921 > cat >>$CONFIG_STATUS <<\_ACEOF
10922   # If no file are specified by the user, then we need to provide default
10923   # value.  By we need to know if files were specified by the user.
10924   ac_need_defaults=:
# Line 6686 | Line 10928 | do
10928    --*=*)
10929      ac_option=`expr "x$1" : 'x\([^=]*\)='`
10930      ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
10931 <    shift
6690 <    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
6691 <    shift
10931 >    ac_shift=:
10932      ;;
10933 <  -*);;
10933 >  -*)
10934 >    ac_option=$1
10935 >    ac_optarg=$2
10936 >    ac_shift=shift
10937 >    ;;
10938    *) # This is not an option, so the user has probably given explicit
10939       # arguments.
10940 +     ac_option=$1
10941       ac_need_defaults=false;;
10942    esac
10943  
10944 <  case $1 in
10944 >  case $ac_option in
10945    # Handling of the options.
10946 < EOF
10947 < cat >>$CONFIG_STATUS <<EOF
10946 > _ACEOF
10947 > cat >>$CONFIG_STATUS <<\_ACEOF
10948    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
10949 <    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
10949 >    ac_cs_recheck=: ;;
10950    --version | --vers* | -V )
10951      echo "$ac_cs_version"; exit 0 ;;
10952    --he | --h)
10953      # Conflict between --help and --header
10954 <    { { echo "$as_me:6712: error: ambiguous option: $1
10954 >    { { echo "$as_me:$LINENO: error: ambiguous option: $1
10955   Try \`$0 --help' for more information." >&5
10956   echo "$as_me: error: ambiguous option: $1
10957   Try \`$0 --help' for more information." >&2;}
# Line 6719 | Line 10961 | Try \`$0 --help' for more information." >&2;}
10961    --debug | --d* | -d )
10962      debug=: ;;
10963    --file | --fil | --fi | --f )
10964 <    shift
10965 <    CONFIG_FILES="$CONFIG_FILES $1"
10964 >    $ac_shift
10965 >    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
10966      ac_need_defaults=false;;
10967    --header | --heade | --head | --hea )
10968 <    shift
10969 <    CONFIG_HEADERS="$CONFIG_HEADERS $1"
10968 >    $ac_shift
10969 >    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
10970      ac_need_defaults=false;;
10971 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
10972 +  | -silent | --silent | --silen | --sile | --sil | --si | --s)
10973 +    ac_cs_silent=: ;;
10974  
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
10975    # This is an error.
10976 <  -*) { { echo "$as_me:6737: error: unrecognized option: $1
10976 >  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
10977   Try \`$0 --help' for more information." >&5
10978   echo "$as_me: error: unrecognized option: $1
10979   Try \`$0 --help' for more information." >&2;}
10980     { (exit 1); exit 1; }; } ;;
10981 <  *) { { echo "$as_me:6742: error: invalid argument: $1" >&5
10982 < echo "$as_me: error: invalid argument: $1" >&2;}
10983 <   { (exit 1); exit 1; }; };;
10981 >
10982 >  *) ac_config_targets="$ac_config_targets $1" ;;
10983 >
10984    esac
10985    shift
10986   done
10987  
10988 < exec 5>>config.log
6750 < cat >&5 << _ACEOF
10988 > ac_configure_extra_args=
10989  
10990 < ## ----------------------- ##
10991 < ## Running config.status.  ##
10992 < ## ----------------------- ##
10990 > if $ac_cs_silent; then
10991 >  exec 6>/dev/null
10992 >  ac_configure_extra_args="$ac_configure_extra_args --silent"
10993 > fi
10994  
10995 < This file was extended by $as_me (OOPSE 2.0) 2.50, executed with
10996 <  > $ac_cs_invocation
10997 < on `(hostname || uname -n) 2>/dev/null | sed 1q`
10995 > _ACEOF
10996 > cat >>$CONFIG_STATUS <<_ACEOF
10997 > if \$ac_cs_recheck; then
10998 >  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10999 >  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11000 > fi
11001  
11002   _ACEOF
6761 EOF
11003  
11004 < cat >>$CONFIG_STATUS <<\EOF
11004 >
11005 >
11006 >
11007 >
11008 > cat >>$CONFIG_STATUS <<\_ACEOF
11009 > for ac_config_target in $ac_config_targets
11010 > do
11011 >  case "$ac_config_target" in
11012 >  # Handling of arguments.
11013 >  "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
11014 >  "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
11015 >  "src/applications/nanoRodBuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/nanoRodBuilder/Makefile" ;;
11016 >  "scripts/filepp" ) CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;;
11017 >  "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
11018 >  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
11019 >  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11020 > echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11021 >   { (exit 1); exit 1; }; };;
11022 >  esac
11023 > done
11024 >
11025   # If the user did not use the arguments to specify the items to instantiate,
11026   # then the envvar interface is used.  Set only those that are not.
11027   # We use the long form for the default assignment because of an extremely
# Line 6771 | Line 11032 | fi
11032    test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
11033   fi
11034  
11035 + # Have a temporary directory for convenience.  Make it in the build tree
11036 + # simply because there is no reason to put it here, and in addition,
11037 + # creating and moving files from /tmp can sometimes cause problems.
11038   # Create a temporary directory, and hook for its removal unless debugging.
11039   $debug ||
11040   {
11041    trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
11042 <  trap '{ (exit $?); exit $?; }' 1 2 13 15
11042 >  trap '{ (exit 1); exit 1; }' 1 2 13 15
11043   }
11044  
11045   # Create a (secure) tmp directory for tmp files.
11046 < : ${TMPDIR=/tmp}
11046 >
11047   {
11048 <  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
11048 >  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
11049    test -n "$tmp" && test -d "$tmp"
11050   }  ||
11051   {
11052 <  tmp=$TMPDIR/cs$$-$RANDOM
11052 >  tmp=./confstat$$-$RANDOM
11053    (umask 077 && mkdir $tmp)
11054   } ||
11055   {
11056 <   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
11056 >   echo "$me: cannot create a temporary directory in ." >&2
11057     { (exit 1); exit 1; }
11058   }
11059  
11060 < EOF
11060 > _ACEOF
11061  
11062 < cat >>$CONFIG_STATUS <<EOF
11062 > cat >>$CONFIG_STATUS <<_ACEOF
11063  
11064   #
11065   # CONFIG_FILES section.
# Line 6808 | Line 11072 | s,@exec_prefix@,$exec_prefix,;t t
11072    sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
11073     s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
11074   s,@SHELL@,$SHELL,;t t
11075 + s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
11076 + s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11077 + s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11078 + s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11079 + s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
11080 + s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11081   s,@exec_prefix@,$exec_prefix,;t t
11082   s,@prefix@,$prefix,;t t
11083   s,@program_transform_name@,$program_transform_name,;t t
# Line 6823 | Line 11093 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11093   s,@oldincludedir@,$oldincludedir,;t t
11094   s,@infodir@,$infodir,;t t
11095   s,@mandir@,$mandir,;t t
11096 < s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
11097 < s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
11098 < s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
11099 < s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6830 < s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
11096 > s,@build_alias@,$build_alias,;t t
11097 > s,@host_alias@,$host_alias,;t t
11098 > s,@target_alias@,$target_alias,;t t
11099 > s,@DEFS@,$DEFS,;t t
11100   s,@ECHO_C@,$ECHO_C,;t t
11101   s,@ECHO_N@,$ECHO_N,;t t
11102   s,@ECHO_T@,$ECHO_T,;t t
6834 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6835 s,@DEFS@,$DEFS,;t t
11103   s,@LIBS@,$LIBS,;t t
11104   s,@PROGNAME@,$PROGNAME,;t t
11105   s,@debug@,$debug,;t t
# Line 6870 | Line 11137 | s,@LIBOBJS@,$LIBOBJS,;t t
11137   s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
11138   s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t
11139   s,@CPP@,$CPP,;t t
11140 + s,@EGREP@,$EGREP,;t t
11141 + s,@CXXCPP@,$CXXCPP,;t t
11142   s,@LIBOBJS@,$LIBOBJS,;t t
11143   s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
11144   s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
# Line 6882 | Line 11151 | s,@AR@,$AR,;t t
11151   s,@LEX@,$LEX,;t t
11152   s,@LEXLIB@,$LEXLIB,;t t
11153   s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
11154 + s,@PERLINTERP@,$PERLINTERP,;t t
11155 + s,@PERL_SHEBANG@,$PERL_SHEBANG,;t t
11156   s,@AR@,$AR,;t t
11157   s,@PS@,$PS,;t t
11158   s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
# Line 6890 | Line 11161 | s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t
11161   s,@MPI_LIB@,$MPI_LIB,;t t
11162   s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t
11163   s,@USE_MPI@,$USE_MPI,;t t
11164 < s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t
11165 < s,@SPRNG_INC_DIR@,$SPRNG_INC_DIR,;t t
11166 < s,@SPRNG_LIB@,$SPRNG_LIB,;t t
11167 < s,@USE_SPRNG@,$USE_SPRNG,;t t
11168 < s,@MKL_LIBDIR@,$MKL_LIBDIR,;t t
11169 < s,@MKL_LIB@,$MKL_LIB,;t t
11170 < s,@MKL_INC@,$MKL_INC,;t t
6900 < s,@HAVE_MKL@,$HAVE_MKL,;t t
11164 > s,@USE_CGAL@,$USE_CGAL,;t t
11165 > s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t
11166 > s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t
11167 > s,@CGAL_RLIB_DIR@,$CGAL_RLIB_DIR,;t t
11168 > s,@CGAL_DEFINES@,$CGAL_DEFINES,;t t
11169 > s,@CGAL_CXXFLAGS@,$CGAL_CXXFLAGS,;t t
11170 > s,@CGAL_LIBS@,$CGAL_LIBS,;t t
11171   s,@DOXYGEN@,$DOXYGEN,;t t
11172   s,@DOT@,$DOT,;t t
11173   s,@DOC@,$DOC,;t t
# Line 6910 | Line 11180 | CEOF
11180   s,@OOPSE_HOME@,$OOPSE_HOME,;t t
11181   s,@SUBDIRS@,$SUBDIRS,;t t
11182   s,@FFLAGS@,$FFLAGS,;t t
11183 + s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11184   CEOF
11185  
11186 < EOF
11186 > _ACEOF
11187  
11188 <  cat >>$CONFIG_STATUS <<\EOF
11188 >  cat >>$CONFIG_STATUS <<\_ACEOF
11189    # Split the substitutions into bite-sized pieces for seds with
11190    # small command number limits, like on Digital OSF/1 and HP-UX.
11191    ac_max_sed_lines=48
# Line 6939 | Line 11210 | EOF
11210        (echo ':t
11211    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
11212        if test -z "$ac_sed_cmds"; then
11213 <        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11213 >        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
11214        else
11215 <        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11215 >        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11216        fi
11217        ac_sed_frag=`expr $ac_sed_frag + 1`
11218        ac_beg=$ac_end
# Line 6953 | Line 11224 | EOF
11224    fi
11225   fi # test -n "$CONFIG_FILES"
11226  
11227 < EOF
11228 < cat >>$CONFIG_STATUS <<\EOF
11227 > _ACEOF
11228 > cat >>$CONFIG_STATUS <<\_ACEOF
11229   for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
11230    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11231    case $ac_file in
11232    - | *:- | *:-:* ) # input from stdin
11233 <        cat >$tmp/stdin
11234 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11235 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11233 >        cat >$tmp/stdin
11234 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11235 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11236    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11237 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11237 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11238    * )   ac_file_in=$ac_file.in ;;
11239    esac
11240  
11241    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11242 <  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11243 <         X"$ac_file" : 'X\(//\)[^/]' \| \
11244 <         X"$ac_file" : 'X\(//\)$' \| \
11245 <         X"$ac_file" : 'X\(/\)' \| \
11246 <         .     : '\(.\)' 2>/dev/null ||
11242 >  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11243 > $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11244 >         X"$ac_file" : 'X\(//\)[^/]' \| \
11245 >         X"$ac_file" : 'X\(//\)$' \| \
11246 >         X"$ac_file" : 'X\(/\)' \| \
11247 >         .     : '\(.\)' 2>/dev/null ||
11248   echo X"$ac_file" |
11249      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11250            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11251            /^X\(\/\/\)$/{ s//\1/; q; }
11252            /^X\(\/\).*/{ s//\1/; q; }
11253            s/.*/./; q'`
11254 <  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
11255 <    { case "$ac_dir" in
11256 <  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
11257 <  *)                      as_incr_dir=.;;
11258 < esac
11259 < as_dummy="$ac_dir"
11260 < for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
11261 <  case $as_mkdir_dir in
11262 <    # Skip DOS drivespec
11263 <    ?:) as_incr_dir=$as_mkdir_dir ;;
11264 <    *)
11265 <      as_incr_dir=$as_incr_dir/$as_mkdir_dir
11266 <      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
11267 <    ;;
11268 <  esac
11269 < done; }
11254 >  { if $as_mkdir_p; then
11255 >    mkdir -p "$ac_dir"
11256 >  else
11257 >    as_dir="$ac_dir"
11258 >    as_dirs=
11259 >    while test ! -d "$as_dir"; do
11260 >      as_dirs="$as_dir $as_dirs"
11261 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
11262 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11263 >         X"$as_dir" : 'X\(//\)[^/]' \| \
11264 >         X"$as_dir" : 'X\(//\)$' \| \
11265 >         X"$as_dir" : 'X\(/\)' \| \
11266 >         .     : '\(.\)' 2>/dev/null ||
11267 > echo X"$as_dir" |
11268 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11269 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11270 >          /^X\(\/\/\)$/{ s//\1/; q; }
11271 >          /^X\(\/\).*/{ s//\1/; q; }
11272 >          s/.*/./; q'`
11273 >    done
11274 >    test ! -n "$as_dirs" || mkdir $as_dirs
11275 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11276 > echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11277 >   { (exit 1); exit 1; }; }; }
11278  
11279 <    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
7000 <    # A "../" for each directory in $ac_dir_suffix.
7001 <    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
7002 <  else
7003 <    ac_dir_suffix= ac_dots=
7004 <  fi
11279 >  ac_builddir=.
11280  
11281 <  case $srcdir in
11282 <  .)  ac_srcdir=.
11283 <      if test -z "$ac_dots"; then
11284 <         ac_top_srcdir=.
11285 <      else
11286 <         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
11287 <      fi ;;
11288 <  [\\/]* | ?:[\\/]* )
11289 <      ac_srcdir=$srcdir$ac_dir_suffix;
11290 <      ac_top_srcdir=$srcdir ;;
11281 > if test "$ac_dir" != .; then
11282 >  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11283 >  # A "../" for each directory in $ac_dir_suffix.
11284 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11285 > else
11286 >  ac_dir_suffix= ac_top_builddir=
11287 > fi
11288 >
11289 > case $srcdir in
11290 >  .)  # No --srcdir option.  We are building in place.
11291 >    ac_srcdir=.
11292 >    if test -z "$ac_top_builddir"; then
11293 >       ac_top_srcdir=.
11294 >    else
11295 >       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11296 >    fi ;;
11297 >  [\\/]* | ?:[\\/]* )  # Absolute path.
11298 >    ac_srcdir=$srcdir$ac_dir_suffix;
11299 >    ac_top_srcdir=$srcdir ;;
11300    *) # Relative path.
11301 <    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
11302 <    ac_top_srcdir=$ac_dots$srcdir ;;
11303 <  esac
11301 >    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11302 >    ac_top_srcdir=$ac_top_builddir$srcdir ;;
11303 > esac
11304  
11305 + # Do not use `cd foo && pwd` to compute absolute paths, because
11306 + # the directories may not exist.
11307 + case `pwd` in
11308 + .) ac_abs_builddir="$ac_dir";;
11309 + *)
11310 +  case "$ac_dir" in
11311 +  .) ac_abs_builddir=`pwd`;;
11312 +  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
11313 +  *) ac_abs_builddir=`pwd`/"$ac_dir";;
11314 +  esac;;
11315 + esac
11316 + case $ac_abs_builddir in
11317 + .) ac_abs_top_builddir=${ac_top_builddir}.;;
11318 + *)
11319 +  case ${ac_top_builddir}. in
11320 +  .) ac_abs_top_builddir=$ac_abs_builddir;;
11321 +  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11322 +  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11323 +  esac;;
11324 + esac
11325 + case $ac_abs_builddir in
11326 + .) ac_abs_srcdir=$ac_srcdir;;
11327 + *)
11328 +  case $ac_srcdir in
11329 +  .) ac_abs_srcdir=$ac_abs_builddir;;
11330 +  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11331 +  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11332 +  esac;;
11333 + esac
11334 + case $ac_abs_builddir in
11335 + .) ac_abs_top_srcdir=$ac_top_srcdir;;
11336 + *)
11337 +  case $ac_top_srcdir in
11338 +  .) ac_abs_top_srcdir=$ac_abs_builddir;;
11339 +  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11340 +  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11341 +  esac;;
11342 + esac
11343 +
11344 +
11345    case $INSTALL in
11346    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
11347 <  *) ac_INSTALL=$ac_dots$INSTALL ;;
11347 >  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
11348    esac
11349  
11350    if test x"$ac_file" != x-; then
11351 <    { echo "$as_me:7027: creating $ac_file" >&5
11351 >    { echo "$as_me:$LINENO: creating $ac_file" >&5
11352   echo "$as_me: creating $ac_file" >&6;}
11353      rm -f "$ac_file"
11354    fi
11355    # Let's still pretend it is `configure' which instantiates (i.e., don't
11356    # use $as_me), people would be surprised to read:
11357 <  #    /* config.h.  Generated automatically by config.status.  */
11358 <  configure_input="Generated automatically from `echo $ac_file_in |
11359 <                                                 sed 's,.*/,,'` by configure."
11357 >  #    /* config.h.  Generated by config.status.  */
11358 >  if test x"$ac_file" = x-; then
11359 >    configure_input=
11360 >  else
11361 >    configure_input="$ac_file.  "
11362 >  fi
11363 >  configure_input=$configure_input"Generated from `echo $ac_file_in |
11364 >                                     sed 's,.*/,,'` by configure."
11365  
11366    # First look for the input files in the build tree, otherwise in the
11367    # src tree.
# Line 7041 | Line 11370 | echo "$as_me: creating $ac_file" >&6;}
11370        case $f in
11371        -) echo $tmp/stdin ;;
11372        [\\/$]*)
11373 <         # Absolute (can't be DOS-style, as IFS=:)
11374 <         test -f "$f" || { { echo "$as_me:7045: error: cannot find input file: $f" >&5
11373 >         # Absolute (can't be DOS-style, as IFS=:)
11374 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11375   echo "$as_me: error: cannot find input file: $f" >&2;}
11376     { (exit 1); exit 1; }; }
11377 <         echo $f;;
11377 >         echo "$f";;
11378        *) # Relative
11379 <         if test -f "$f"; then
11380 <           # Build tree
11381 <           echo $f
11382 <         elif test -f "$srcdir/$f"; then
11383 <           # Source tree
11384 <           echo $srcdir/$f
11385 <         else
11386 <           # /dev/null tree
11387 <           { { echo "$as_me:7058: error: cannot find input file: $f" >&5
11379 >         if test -f "$f"; then
11380 >           # Build tree
11381 >           echo "$f"
11382 >         elif test -f "$srcdir/$f"; then
11383 >           # Source tree
11384 >           echo "$srcdir/$f"
11385 >         else
11386 >           # /dev/null tree
11387 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11388   echo "$as_me: error: cannot find input file: $f" >&2;}
11389     { (exit 1); exit 1; }; }
11390 <         fi;;
11390 >         fi;;
11391        esac
11392      done` || { (exit 1); exit 1; }
11393 < EOF
11394 < cat >>$CONFIG_STATUS <<EOF
11393 > _ACEOF
11394 > cat >>$CONFIG_STATUS <<_ACEOF
11395    sed "$ac_vpsub
11396   $extrasub
11397 < EOF
11398 < cat >>$CONFIG_STATUS <<\EOF
11397 > _ACEOF
11398 > cat >>$CONFIG_STATUS <<\_ACEOF
11399   :t
11400   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11401   s,@configure_input@,$configure_input,;t t
11402   s,@srcdir@,$ac_srcdir,;t t
11403 + s,@abs_srcdir@,$ac_abs_srcdir,;t t
11404   s,@top_srcdir@,$ac_top_srcdir,;t t
11405 + s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
11406 + s,@builddir@,$ac_builddir,;t t
11407 + s,@abs_builddir@,$ac_abs_builddir,;t t
11408 + s,@top_builddir@,$ac_top_builddir,;t t
11409 + s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
11410   s,@INSTALL@,$ac_INSTALL,;t t
11411   " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11412    rm -f $tmp/stdin
# Line 7082 | Line 11417 | done
11417      rm -f $tmp/out
11418    fi
11419  
11420 +  # Run the commands associated with the file.
11421 +  case $ac_file in
11422 +    make/Makefile ) chmod 0755 scripts/* ;;
11423 +    src/utils/Makefile ) chmod 0755 scripts/* ;;
11424 +    src/applications/nanoRodBuilder/Makefile ) chmod 0755 scripts/* ;;
11425 +    scripts/filepp ) chmod 0755 scripts/* ;;
11426 +  esac
11427   done
11428 < EOF
11429 < cat >>$CONFIG_STATUS <<\EOF
11428 > _ACEOF
11429 > cat >>$CONFIG_STATUS <<\_ACEOF
11430  
11431   #
11432   # CONFIG_HEADER section.
# Line 7094 | Line 11436 | ac_dA='s,^\([  ]*\)#\([        ]*define[       ][      ]*\)'
11436   # NAME is the cpp macro being defined and VALUE is the value it is being given.
11437   #
11438   # ac_d sets the value in "#define NAME VALUE" lines.
11439 < ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
11440 < ac_dB='[        ].*$,\1#\2'
11439 > ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
11440 > ac_dB='[         ].*$,\1#\2'
11441   ac_dC=' '
11442   ac_dD=',;t'
11443   # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11444 < ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
11444 > ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
11445   ac_uB='$,\1#\2define\3'
11446   ac_uC=' '
11447   ac_uD=',;t'
# Line 7108 | Line 11450 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file"
11450    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11451    case $ac_file in
11452    - | *:- | *:-:* ) # input from stdin
11453 <        cat >$tmp/stdin
11454 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11455 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11453 >        cat >$tmp/stdin
11454 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11455 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11456    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
11457 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11457 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
11458    * )   ac_file_in=$ac_file.in ;;
11459    esac
11460  
11461 <  test x"$ac_file" != x- && { echo "$as_me:7119: creating $ac_file" >&5
11461 >  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
11462   echo "$as_me: creating $ac_file" >&6;}
11463  
11464    # First look for the input files in the build tree, otherwise in the
# Line 7126 | Line 11468 | echo "$as_me: creating $ac_file" >&6;}
11468        case $f in
11469        -) echo $tmp/stdin ;;
11470        [\\/$]*)
11471 <         # Absolute (can't be DOS-style, as IFS=:)
11472 <         test -f "$f" || { { echo "$as_me:7130: error: cannot find input file: $f" >&5
11471 >         # Absolute (can't be DOS-style, as IFS=:)
11472 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11473   echo "$as_me: error: cannot find input file: $f" >&2;}
11474     { (exit 1); exit 1; }; }
11475 <         echo $f;;
11475 >         # Do quote $f, to prevent DOS paths from being IFS'd.
11476 >         echo "$f";;
11477        *) # Relative
11478 <         if test -f "$f"; then
11479 <           # Build tree
11480 <           echo $f
11481 <         elif test -f "$srcdir/$f"; then
11482 <           # Source tree
11483 <           echo $srcdir/$f
11484 <         else
11485 <           # /dev/null tree
11486 <           { { echo "$as_me:7143: error: cannot find input file: $f" >&5
11478 >         if test -f "$f"; then
11479 >           # Build tree
11480 >           echo "$f"
11481 >         elif test -f "$srcdir/$f"; then
11482 >           # Source tree
11483 >           echo "$srcdir/$f"
11484 >         else
11485 >           # /dev/null tree
11486 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11487   echo "$as_me: error: cannot find input file: $f" >&2;}
11488     { (exit 1); exit 1; }; }
11489 <         fi;;
11489 >         fi;;
11490        esac
11491      done` || { (exit 1); exit 1; }
11492    # Remove the trailing spaces.
11493 <  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
11493 >  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
11494  
11495 < EOF
11495 > _ACEOF
11496  
11497   # Transform confdefs.h into two sed scripts, `conftest.defines' and
11498   # `conftest.undefs', that substitutes the proper values into
# Line 7165 | Line 11508 | cat >confdef2sed.sed <<\EOF
11508   # `end' is used to avoid that the second main sed command (meant for
11509   # 0-ary CPP macros) applies to n-ary macro definitions.
11510   # See the Autoconf documentation for `clear'.
11511 < cat >confdef2sed.sed <<\EOF
11511 > cat >confdef2sed.sed <<\_ACEOF
11512   s/[\\&,]/\\&/g
11513   s,[\\$`],\\&,g
11514   t clear
11515   : clear
11516 < s,^[    ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
11516 > s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
11517   t end
11518 < s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11518 > s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11519   : end
11520 < EOF
11520 > _ACEOF
11521   # If some macros were called several times there might be several times
11522   # the same #defines, which is useless.  Nevertheless, we may not want to
11523   # sort them, since we want the *last* AC-DEFINE to be honored.
# Line 7185 | Line 11528 | cat >>conftest.undefs <<\EOF
11528   # This sed command replaces #undef with comments.  This is necessary, for
11529   # example, in the case of _POSIX_SOURCE, which is predefined and required
11530   # on some systems where configure will not decide to define it.
11531 < cat >>conftest.undefs <<\EOF
11532 < s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11533 < EOF
11531 > cat >>conftest.undefs <<\_ACEOF
11532 > s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11533 > _ACEOF
11534  
11535   # Break up conftest.defines because some shells have a limit on the size
11536   # of here documents, and old seds have small limits too (100 cmds).
11537   echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11538 < echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11538 > echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11539   echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11540   echo '  :' >>$CONFIG_STATUS
11541   rm -f conftest.tail
# Line 7201 | Line 11544 | do
11544    # Write a limited-size here document to $tmp/defines.sed.
11545    echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
11546    # Speed up: don't consider the non `#define' lines.
11547 <  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
11547 >  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
11548    # Work around the forget-to-reset-the-flag bug.
11549    echo 't clr' >>$CONFIG_STATUS
11550    echo ': clr' >>$CONFIG_STATUS
# Line 7216 | Line 11559 | echo '  fi # egrep' >>$CONFIG_STATUS
11559    mv conftest.tail conftest.defines
11560   done
11561   rm -f conftest.defines
11562 < echo '  fi # egrep' >>$CONFIG_STATUS
11562 > echo '  fi # grep' >>$CONFIG_STATUS
11563   echo >>$CONFIG_STATUS
11564  
11565   # Break up conftest.undefs because some shells have a limit on the size
# Line 7228 | Line 11571 | do
11571    # Write a limited-size here document to $tmp/undefs.sed.
11572    echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
11573    # Speed up: don't consider the non `#undef'
11574 <  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
11574 >  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
11575    # Work around the forget-to-reset-the-flag bug.
11576    echo 't clr' >>$CONFIG_STATUS
11577    echo ': clr' >>$CONFIG_STATUS
# Line 7244 | Line 11587 | cat >>$CONFIG_STATUS <<\EOF
11587   done
11588   rm -f conftest.undefs
11589  
11590 < cat >>$CONFIG_STATUS <<\EOF
11590 > cat >>$CONFIG_STATUS <<\_ACEOF
11591    # Let's still pretend it is `configure' which instantiates (i.e., don't
11592    # use $as_me), people would be surprised to read:
11593 <  #    /* config.h.  Generated automatically by config.status.  */
11593 >  #    /* config.h.  Generated by config.status.  */
11594    if test x"$ac_file" = x-; then
11595 <    echo "/* Generated automatically by configure.  */" >$tmp/config.h
11595 >    echo "/* Generated by configure.  */" >$tmp/config.h
11596    else
11597 <    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
11597 >    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
11598    fi
11599    cat $tmp/in >>$tmp/config.h
11600    rm -f $tmp/in
11601    if test x"$ac_file" != x-; then
11602 <    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
11603 <      { echo "$as_me:7260: $ac_file is unchanged" >&5
11602 >    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
11603 >      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11604   echo "$as_me: $ac_file is unchanged" >&6;}
11605      else
11606 <      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11607 <         X"$ac_file" : 'X\(//\)[^/]' \| \
11608 <         X"$ac_file" : 'X\(//\)$' \| \
11609 <         X"$ac_file" : 'X\(/\)' \| \
11610 <         .     : '\(.\)' 2>/dev/null ||
11606 >      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
11607 > $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11608 >         X"$ac_file" : 'X\(//\)[^/]' \| \
11609 >         X"$ac_file" : 'X\(//\)$' \| \
11610 >         X"$ac_file" : 'X\(/\)' \| \
11611 >         .     : '\(.\)' 2>/dev/null ||
11612   echo X"$ac_file" |
11613      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11614            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11615            /^X\(\/\/\)$/{ s//\1/; q; }
11616            /^X\(\/\).*/{ s//\1/; q; }
11617            s/.*/./; q'`
11618 <      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
11619 <        { case "$ac_dir" in
11620 <  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
11621 <  *)                      as_incr_dir=.;;
11622 < esac
11623 < as_dummy="$ac_dir"
11624 < for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
11625 <  case $as_mkdir_dir in
11626 <    # Skip DOS drivespec
11627 <    ?:) as_incr_dir=$as_mkdir_dir ;;
11628 <    *)
11629 <      as_incr_dir=$as_incr_dir/$as_mkdir_dir
11630 <      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
11631 <    ;;
11632 <  esac
11633 < done; }
11618 >      { if $as_mkdir_p; then
11619 >    mkdir -p "$ac_dir"
11620 >  else
11621 >    as_dir="$ac_dir"
11622 >    as_dirs=
11623 >    while test ! -d "$as_dir"; do
11624 >      as_dirs="$as_dir $as_dirs"
11625 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
11626 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11627 >         X"$as_dir" : 'X\(//\)[^/]' \| \
11628 >         X"$as_dir" : 'X\(//\)$' \| \
11629 >         X"$as_dir" : 'X\(/\)' \| \
11630 >         .     : '\(.\)' 2>/dev/null ||
11631 > echo X"$as_dir" |
11632 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11633 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11634 >          /^X\(\/\/\)$/{ s//\1/; q; }
11635 >          /^X\(\/\).*/{ s//\1/; q; }
11636 >          s/.*/./; q'`
11637 >    done
11638 >    test ! -n "$as_dirs" || mkdir $as_dirs
11639 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11640 > echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11641 >   { (exit 1); exit 1; }; }; }
11642  
7291      fi
11643        rm -f $ac_file
11644        mv $tmp/config.h $ac_file
11645      fi
# Line 7297 | Line 11648 | EOF
11648      rm -f $tmp/config.h
11649    fi
11650   done
11651 < EOF
11652 < cat >>$CONFIG_STATUS <<\EOF
11651 > _ACEOF
11652 > cat >>$CONFIG_STATUS <<\_ACEOF
11653  
11654   #
11655   # CONFIG_LINKS section.
# Line 7308 | Line 11659 | for ac_file in : $CONFIG_LINKS; do test "x$ac_file" =
11659    ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
11660    ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
11661  
11662 <  { echo "$as_me:7311: linking $srcdir/$ac_source to $ac_dest" >&5
11662 >  { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
11663   echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
11664  
11665    if test ! -r $srcdir/$ac_source; then
11666 <    { { echo "$as_me:7315: error: $srcdir/$ac_source: File not found" >&5
11667 < echo "$as_me: error: $srcdir/$ac_source: File not found" >&2;}
11666 >    { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
11667 > echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
11668     { (exit 1); exit 1; }; }
11669    fi
11670    rm -f $ac_dest
11671  
11672    # Make relative symlinks.
11673 <  ac_dest_dir=`$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11674 <         X"$ac_dest" : 'X\(//\)[^/]' \| \
11675 <         X"$ac_dest" : 'X\(//\)$' \| \
11676 <         X"$ac_dest" : 'X\(/\)' \| \
11677 <         .     : '\(.\)' 2>/dev/null ||
11673 >  ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
11674 > $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11675 >         X"$ac_dest" : 'X\(//\)[^/]' \| \
11676 >         X"$ac_dest" : 'X\(//\)$' \| \
11677 >         X"$ac_dest" : 'X\(/\)' \| \
11678 >         .     : '\(.\)' 2>/dev/null ||
11679   echo X"$ac_dest" |
11680      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11681            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11682            /^X\(\/\/\)$/{ s//\1/; q; }
11683            /^X\(\/\).*/{ s//\1/; q; }
11684            s/.*/./; q'`
11685 <  if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
11686 <    { case "$ac_dest_dir" in
11687 <  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
11688 <  *)                      as_incr_dir=.;;
11685 >  { if $as_mkdir_p; then
11686 >    mkdir -p "$ac_dest_dir"
11687 >  else
11688 >    as_dir="$ac_dest_dir"
11689 >    as_dirs=
11690 >    while test ! -d "$as_dir"; do
11691 >      as_dirs="$as_dir $as_dirs"
11692 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
11693 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11694 >         X"$as_dir" : 'X\(//\)[^/]' \| \
11695 >         X"$as_dir" : 'X\(//\)$' \| \
11696 >         X"$as_dir" : 'X\(/\)' \| \
11697 >         .     : '\(.\)' 2>/dev/null ||
11698 > echo X"$as_dir" |
11699 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11700 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11701 >          /^X\(\/\/\)$/{ s//\1/; q; }
11702 >          /^X\(\/\).*/{ s//\1/; q; }
11703 >          s/.*/./; q'`
11704 >    done
11705 >    test ! -n "$as_dirs" || mkdir $as_dirs
11706 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
11707 > echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
11708 >   { (exit 1); exit 1; }; }; }
11709 >
11710 >  ac_builddir=.
11711 >
11712 > if test "$ac_dest_dir" != .; then
11713 >  ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
11714 >  # A "../" for each directory in $ac_dir_suffix.
11715 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11716 > else
11717 >  ac_dir_suffix= ac_top_builddir=
11718 > fi
11719 >
11720 > case $srcdir in
11721 >  .)  # No --srcdir option.  We are building in place.
11722 >    ac_srcdir=.
11723 >    if test -z "$ac_top_builddir"; then
11724 >       ac_top_srcdir=.
11725 >    else
11726 >       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
11727 >    fi ;;
11728 >  [\\/]* | ?:[\\/]* )  # Absolute path.
11729 >    ac_srcdir=$srcdir$ac_dir_suffix;
11730 >    ac_top_srcdir=$srcdir ;;
11731 >  *) # Relative path.
11732 >    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
11733 >    ac_top_srcdir=$ac_top_builddir$srcdir ;;
11734   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; }
11735  
11736 <    ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's,^\./,,'`"
11737 <    # A "../" for each directory in $ac_dest_dir_suffix.
11738 <    ac_dots=`echo $ac_dest_dir_suffix|sed 's,/[^/]*,../,g'`
11739 <  else
11740 <    ac_dest_dir_suffix= ac_dots=
11741 <  fi
11736 > # Do not use `cd foo && pwd` to compute absolute paths, because
11737 > # the directories may not exist.
11738 > case `pwd` in
11739 > .) ac_abs_builddir="$ac_dest_dir";;
11740 > *)
11741 >  case "$ac_dest_dir" in
11742 >  .) ac_abs_builddir=`pwd`;;
11743 >  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
11744 >  *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
11745 >  esac;;
11746 > esac
11747 > case $ac_abs_builddir in
11748 > .) ac_abs_top_builddir=${ac_top_builddir}.;;
11749 > *)
11750 >  case ${ac_top_builddir}. in
11751 >  .) ac_abs_top_builddir=$ac_abs_builddir;;
11752 >  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
11753 >  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
11754 >  esac;;
11755 > esac
11756 > case $ac_abs_builddir in
11757 > .) ac_abs_srcdir=$ac_srcdir;;
11758 > *)
11759 >  case $ac_srcdir in
11760 >  .) ac_abs_srcdir=$ac_abs_builddir;;
11761 >  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11762 >  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11763 >  esac;;
11764 > esac
11765 > case $ac_abs_builddir in
11766 > .) ac_abs_top_srcdir=$ac_top_srcdir;;
11767 > *)
11768 >  case $ac_top_srcdir in
11769 >  .) ac_abs_top_srcdir=$ac_abs_builddir;;
11770 >  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11771 >  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11772 >  esac;;
11773 > esac
11774  
11775 +
11776    case $srcdir in
11777    [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
11778 <      *) ac_rel_source=$ac_dots$srcdir/$ac_source ;;
11778 >      *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
11779    esac
11780  
11781 <  # Make a symlink if possible; otherwise try a hard link.
11781 >  # Try a symlink, then a hard link, then a copy.
11782    ln -s $ac_rel_source $ac_dest 2>/dev/null ||
11783 <    ln $srcdir/$ac_source $ac_dest ||
11784 <    { { echo "$as_me:7365: error: cannot link $ac_dest to $srcdir/$ac_source" >&5
11785 < echo "$as_me: error: cannot link $ac_dest to $srcdir/$ac_source" >&2;}
11783 >    ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
11784 >    cp -p $srcdir/$ac_source $ac_dest ||
11785 >    { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
11786 > echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
11787     { (exit 1); exit 1; }; }
11788   done
11789 < EOF
11789 > _ACEOF
11790  
11791 < cat >>$CONFIG_STATUS <<\EOF
11791 > cat >>$CONFIG_STATUS <<\_ACEOF
11792  
11793   { (exit 0); exit 0; }
11794 < EOF
11794 > _ACEOF
11795   chmod +x $CONFIG_STATUS
11796   ac_clean_files=$ac_clean_files_save
11797  
11798 +
11799   # configure is writing to config.log, and then calls config.status.
11800   # config.status does its own redirection, appending to config.log.
11801   # Unfortunately, on DOS this fails, as config.log is still kept open
# Line 7385 | Line 11806 | if test "$no_create" != yes; then
11806   # need to make the FD available again.
11807   if test "$no_create" != yes; then
11808    ac_cs_success=:
11809 +  ac_config_status_args=
11810 +  test "$silent" = yes &&
11811 +    ac_config_status_args="$ac_config_status_args --quiet"
11812    exec 5>/dev/null
11813 <  $SHELL $CONFIG_STATUS || ac_cs_success=false
11813 >  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
11814    exec 5>>config.log
11815    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11816    # would make configure fail if this is the last instruction.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines