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 2315 by gezelter, Tue Sep 20 22:03:35 2005 UTC

# Line 1 | Line 1
1   #! /bin/sh
2   # Guess values for system-dependent variables and create Makefiles.
3 < # Generated by Autoconf 2.50 for OOPSE 2.0.
3 > # Generated by GNU Autoconf 2.59 for OOPSE 2.0.
4   #
5   # Report bugs to <gezelter@nd.edu>.
6   #
7 < # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
8 < # Free Software Foundation, Inc.
7 > # Copyright (C) 2003 Free Software Foundation, Inc.
8   # This configure script is free software; the Free Software Foundation
9   # gives unlimited permission to copy, distribute and modify it.
10 + ## --------------------- ##
11 + ## M4sh Initialization.  ##
12 + ## --------------------- ##
13  
14   # Be Bourne compatible
15   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16    emulate sh
17    NULLCMD=:
18 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 +  # is contrary to our usage.  Disable this feature.
20 +  alias -g '${1+"$@"}'='"$@"'
21   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22    set -o posix
23   fi
24 + DUALCASE=1; export DUALCASE # for MKS sh
25  
26 + # Support unset when possible.
27 + if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28 +  as_unset=unset
29 + else
30 +  as_unset=false
31 + fi
32 +
33 +
34 + # Work around bugs in pre-3.0 UWIN ksh.
35 + $as_unset ENV MAIL MAILPATH
36 + PS1='$ '
37 + PS2='> '
38 + PS4='+ '
39 +
40 + # NLS nuisances.
41 + for as_var in \
42 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 +  LC_TELEPHONE LC_TIME
45 + do
46 +  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 +    eval $as_var=C; export $as_var
48 +  else
49 +    $as_unset $as_var
50 +  fi
51 + done
52 +
53 + # Required to use basename.
54 + if expr a : '\(a\)' >/dev/null 2>&1; then
55 +  as_expr=expr
56 + else
57 +  as_expr=false
58 + fi
59 +
60 + if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 +  as_basename=basename
62 + else
63 +  as_basename=false
64 + fi
65 +
66 +
67   # Name of the executable.
68 < as_me=`echo "$0" |sed 's,.*[\\/],,'`
68 > as_me=`$as_basename "$0" ||
69 > $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 >         X"$0" : 'X\(//\)$' \| \
71 >         X"$0" : 'X\(/\)$' \| \
72 >         .     : '\(.\)' 2>/dev/null ||
73 > echo X/"$0" |
74 >    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 >          /^X\/\(\/\/\)$/{ s//\1/; q; }
76 >          /^X\/\(\/\).*/{ s//\1/; q; }
77 >          s/.*/./; q'`
78  
79 +
80 + # PATH needs CR, and LINENO needs CR and PATH.
81 + # Avoid depending upon Character Ranges.
82 + as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 + as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 + as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 + as_cr_digits='0123456789'
86 + as_cr_alnum=$as_cr_Letters$as_cr_digits
87 +
88 + # The user is always right.
89 + if test "${PATH_SEPARATOR+set}" != set; then
90 +  echo "#! /bin/sh" >conf$$.sh
91 +  echo  "exit 0"   >>conf$$.sh
92 +  chmod +x conf$$.sh
93 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 +    PATH_SEPARATOR=';'
95 +  else
96 +    PATH_SEPARATOR=:
97 +  fi
98 +  rm -f conf$$.sh
99 + fi
100 +
101 +
102 +  as_lineno_1=$LINENO
103 +  as_lineno_2=$LINENO
104 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
106 +  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107 +  # Find who we are.  Look in the path if we contain no path at all
108 +  # relative or not.
109 +  case $0 in
110 +    *[\\/]* ) as_myself=$0 ;;
111 +    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 + for as_dir in $PATH
113 + do
114 +  IFS=$as_save_IFS
115 +  test -z "$as_dir" && as_dir=.
116 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 + done
118 +
119 +       ;;
120 +  esac
121 +  # We did not find ourselves, most probably we were run as `sh COMMAND'
122 +  # in which case we are not to be found in the path.
123 +  if test "x$as_myself" = x; then
124 +    as_myself=$0
125 +  fi
126 +  if test ! -f "$as_myself"; then
127 +    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 +   { (exit 1); exit 1; }; }
129 +  fi
130 +  case $CONFIG_SHELL in
131 +  '')
132 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 + for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 + do
135 +  IFS=$as_save_IFS
136 +  test -z "$as_dir" && as_dir=.
137 +  for as_base in sh bash ksh sh5; do
138 +         case $as_dir in
139 +         /*)
140 +           if ("$as_dir/$as_base" -c '
141 +  as_lineno_1=$LINENO
142 +  as_lineno_2=$LINENO
143 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
145 +  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146 +             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 +             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 +             CONFIG_SHELL=$as_dir/$as_base
149 +             export CONFIG_SHELL
150 +             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 +           fi;;
152 +         esac
153 +       done
154 + done
155 + ;;
156 +  esac
157 +
158 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 +  # uniformly replaced by the line number.  The first 'sed' inserts a
160 +  # line-number line before each line; the second 'sed' does the real
161 +  # work.  The second script uses 'N' to pair each line-number line
162 +  # with the numbered line, and appends trailing '-' during
163 +  # substitution so that $LINENO is not a special case at line end.
164 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 +  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166 +  sed '=' <$as_myself |
167 +    sed '
168 +      N
169 +      s,$,-,
170 +      : loop
171 +      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 +      t loop
173 +      s,-$,,
174 +      s,^['$as_cr_digits']*\n,,
175 +    ' >$as_me.lineno &&
176 +  chmod +x $as_me.lineno ||
177 +    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 +   { (exit 1); exit 1; }; }
179 +
180 +  # Don't try to exec as it changes $[0], causing all sort of problems
181 +  # (the dirname of $[0] is not the place where we might find the
182 +  # original and so on.  Autoconf is especially sensible to this).
183 +  . ./$as_me.lineno
184 +  # Exit status is that of the last command.
185 +  exit
186 + }
187 +
188 +
189 + case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 +  *c*,-n*) ECHO_N= ECHO_C='
191 + ' ECHO_T='      ' ;;
192 +  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 +  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 + esac
195 +
196   if expr a : '\(a\)' >/dev/null 2>&1; then
197    as_expr=expr
198   else
# Line 44 | Line 217 | as_executable_p="test -f"
217   fi
218   rm -f conf$$ conf$$.exe conf$$.file
219  
220 < as_executable_p="test -f"
221 <
49 < # Support unset when possible.
50 < if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
51 <  as_unset=unset
220 > if mkdir -p . 2>/dev/null; then
221 >  as_mkdir_p=:
222   else
223 <  as_unset=false
223 >  test -d ./-p && rmdir ./-p
224 >  as_mkdir_p=false
225   fi
226  
227 < # NLS nuisances.
57 < $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
58 < $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
59 < $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
60 < $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
61 < $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
62 < $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
63 < $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
64 < $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
227 > as_executable_p="test -f"
228  
229 + # Sed expression to map a string onto a valid CPP name.
230 + as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231 +
232 + # Sed expression to map a string onto a valid variable name.
233 + as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 +
235 +
236   # IFS
237   # We need space, tab and new line, in precisely that order.
238   as_nl='
# Line 70 | Line 240 | $as_unset CDPATH || test "${CDPATH+set}" != set || { C
240   IFS="   $as_nl"
241  
242   # CDPATH.
243 < $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
243 > $as_unset CDPATH
244  
245 +
246   # Name of the host.
247   # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248   # so uname gets run too.
# Line 83 | Line 254 | cross_compiling=no
254   # Initializations.
255   #
256   ac_default_prefix=/usr/local
257 + ac_config_libobj_dir=.
258   cross_compiling=no
259   subdirs=
260 < MFLAGS= MAKEFLAGS=
260 > MFLAGS=
261 > MAKEFLAGS=
262   SHELL=${CONFIG_SHELL-/bin/sh}
263  
264   # Maximum number of lines to put in a shell here document.
# Line 93 | Line 266 | SHELL=${CONFIG_SHELL-/bin/sh}
266   # only ac_max_sed_lines should be used.
267   : ${ac_max_here_lines=38}
268  
269 < # Avoid depending upon Character Ranges.
270 < ac_cr_az='abcdefghijklmnopqrstuvwxyz'
271 < ac_cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
272 < ac_cr_09='0123456789'
273 < ac_cr_alnum=$ac_cr_az$ac_cr_AZ$ac_cr_09
269 > # Identity of this package.
270 > PACKAGE_NAME='OOPSE'
271 > PACKAGE_TARNAME='oopse'
272 > PACKAGE_VERSION='2.0'
273 > PACKAGE_STRING='OOPSE 2.0'
274 > PACKAGE_BUGREPORT='gezelter@nd.edu'
275  
102 # Sed expression to map a string onto a valid sh and CPP variable names.
103 ac_tr_sh="sed y%*+%pp%;s%[^_$ac_cr_alnum]%_%g"
104 ac_tr_cpp="sed y%*$ac_cr_az%P$ac_cr_AZ%;s%[^_$ac_cr_alnum]%_%g"
105
276   ac_unique_file="src/applications/oopse/oopse.cpp"
277   ac_default_prefix="/usr/local"
278 + # Factoring default headers for most tests.
279 + ac_includes_default="\
280 + #include <stdio.h>
281 + #if HAVE_SYS_TYPES_H
282 + # include <sys/types.h>
283 + #endif
284 + #if HAVE_SYS_STAT_H
285 + # include <sys/stat.h>
286 + #endif
287 + #if STDC_HEADERS
288 + # include <stdlib.h>
289 + # include <stddef.h>
290 + #else
291 + # if HAVE_STDLIB_H
292 + #  include <stdlib.h>
293 + # endif
294 + #endif
295 + #if HAVE_STRING_H
296 + # if !STDC_HEADERS && HAVE_MEMORY_H
297 + #  include <memory.h>
298 + # endif
299 + # include <string.h>
300 + #endif
301 + #if HAVE_STRINGS_H
302 + # include <strings.h>
303 + #endif
304 + #if HAVE_INTTYPES_H
305 + # include <inttypes.h>
306 + #else
307 + # if HAVE_STDINT_H
308 + #  include <stdint.h>
309 + # endif
310 + #endif
311 + #if HAVE_UNISTD_H
312 + # include <unistd.h>
313 + #endif"
314  
315 + ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS PROGNAME debug build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX OOPSE_TEMPLATE_FLAGS EXTRA_CC_FLAG F90 F90FLAGS ac_ct_F90 PREPFLAG PREPDEFFLAG F90LIBS F90_FUNC F90_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES CPP EGREP LIBOBJS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE RANLIB ac_ct_RANLIB YACC LEX LEXLIB LEX_OUTPUT_ROOT PERLINTERP PERL_SHEBANG AR PS MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI CXXCPP USE_CGAL CGAL_INC_DIR CGAL_LIB_DIR CGAL_RLIB_DIR CGAL_DEFINES CGAL_CXXFLAGS CGAL_LIBS DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS FFLAGS LTLIBOBJS'
316 + ac_subst_files=''
317 +
318   # Initialize some variables set by options.
319   ac_init_help=
320   ac_init_version=false
# Line 144 | Line 353 | mandir='${prefix}/man'
353   infodir='${prefix}/info'
354   mandir='${prefix}/man'
355  
147 # Identity of this package.
148 PACKAGE_NAME='OOPSE'
149 PACKAGE_TARNAME='oopse'
150 PACKAGE_VERSION='2.0'
151 PACKAGE_STRING='OOPSE 2.0'
152 PACKAGE_BUGREPORT='gezelter@nd.edu'
153
356   ac_prev=
357   for ac_option
358   do
# Line 196 | Line 398 | do
398    -disable-* | --disable-*)
399      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400      # Reject names that are not valid shell variable names.
401 <    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
401 >    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403     { (exit 1); exit 1; }; }
404      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
# Line 205 | Line 407 | do
407    -enable-* | --enable-*)
408      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409      # Reject names that are not valid shell variable names.
410 <    expr "x$ac_feature" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
410 >    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412     { (exit 1); exit 1; }; }
413      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
# Line 283 | Line 485 | do
485      with_fp=no ;;
486  
487    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 <  | --no-cr | --no-c)
488 >  | --no-cr | --no-c | -n)
489      no_create=yes ;;
490  
491    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
# Line 387 | Line 589 | do
589    -with-* | --with-*)
590      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591      # Reject names that are not valid shell variable names.
592 <    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
592 >    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593        { echo "$as_me: error: invalid package name: $ac_package" >&2
594     { (exit 1); exit 1; }; }
595      ac_package=`echo $ac_package| sed 's/-/_/g'`
# Line 400 | Line 602 | do
602    -without-* | --without-*)
603      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604      # Reject names that are not valid shell variable names.
605 <    expr "x$ac_package" : ".*[^-_$ac_cr_alnum]" >/dev/null &&
605 >    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606        { echo "$as_me: error: invalid package name: $ac_package" >&2
607     { (exit 1); exit 1; }; }
608      ac_package=`echo $ac_package | sed 's/-/_/g'`
# Line 432 | Line 634 | Try \`$0 --help' for more information." >&2
634    *=*)
635      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636      # Reject names that are not valid shell variable names.
637 <    expr "x$ac_envvar" : ".*[^_$ac_cr_alnum]" >/dev/null &&
637 >    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638        { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639     { (exit 1); exit 1; }; }
640      ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
# Line 442 | Line 644 | Try \`$0 --help' for more information." >&2
644    *)
645      # FIXME: should be removed in autoconf 3.0.
646      echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 <    expr "x$ac_option" : ".*[^-._$ac_cr_alnum]" >/dev/null &&
647 >    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648        echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
650      ;;
# Line 457 | Line 659 | for ac_var in bindir sbindir libexecdir datadir syscon
659   fi
660  
661   # Be sure to have absolute paths.
662 + for ac_var in exec_prefix prefix
663 + do
664 +  eval ac_val=$`echo $ac_var`
665 +  case $ac_val in
666 +    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667 +    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 +   { (exit 1); exit 1; }; };;
669 +  esac
670 + done
671 +
672 + # Be sure to have absolute paths.
673   for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 <              localstatedir libdir includedir oldincludedir infodir mandir \
462 <              exec_prefix prefix
674 >              localstatedir libdir includedir oldincludedir infodir mandir
675   do
676    eval ac_val=$`echo $ac_var`
677    case $ac_val in
678      [\\/$]* | ?:[\\/]* ) ;;
679 <    NONE ) ;;
468 <    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
679 >    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680     { (exit 1); exit 1; }; };;
681    esac
682   done
683  
684   # There might be people who depend on the old broken behavior: `$host'
685   # used to hold the argument of --host etc.
686 + # FIXME: To remove some day.
687   build=$build_alias
688   host=$host_alias
689   target=$target_alias
690  
691 < # FIXME: should be removed in autoconf 3.0.
691 > # FIXME: To remove some day.
692   if test "x$host_alias" != x; then
693    if test "x$build_alias" = x; then
694      cross_compiling=maybe
# Line 492 | Line 704 | test "$silent" = yes && exec 6>/dev/null
704  
705   test "$silent" = yes && exec 6>/dev/null
706  
707 +
708   # Find the source files, if location was not specified.
709   if test -z "$srcdir"; then
710    ac_srcdir_defaulted=yes
711    # Try the directory containing this script, then its parent.
712 <  ac_prog=$0
713 <  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
714 <  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
712 >  ac_confdir=`(dirname "$0") 2>/dev/null ||
713 > $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 >         X"$0" : 'X\(//\)[^/]' \| \
715 >         X"$0" : 'X\(//\)$' \| \
716 >         X"$0" : 'X\(/\)' \| \
717 >         .     : '\(.\)' 2>/dev/null ||
718 > echo X"$0" |
719 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 >          /^X\(\/\/\)$/{ s//\1/; q; }
722 >          /^X\(\/\).*/{ s//\1/; q; }
723 >          s/.*/./; q'`
724    srcdir=$ac_confdir
725    if test ! -r $srcdir/$ac_unique_file; then
726      srcdir=..
# Line 508 | Line 730 | if test ! -r $srcdir/$ac_unique_file; then
730   fi
731   if test ! -r $srcdir/$ac_unique_file; then
732    if test "$ac_srcdir_defaulted" = yes; then
733 <    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
733 >    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734     { (exit 1); exit 1; }; }
735    else
736 <    { echo "$as_me: error: cannot find sources in $srcdir" >&2
736 >    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737     { (exit 1); exit 1; }; }
738    fi
739   fi
740 + (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741 +  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742 +   { (exit 1); exit 1; }; }
743   srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744   ac_env_build_alias_set=${build_alias+set}
745   ac_env_build_alias_value=$build_alias
# Line 564 | Line 789 | ac_cv_env_CPP_value=$CPP
789   ac_env_CPP_value=$CPP
790   ac_cv_env_CPP_set=${CPP+set}
791   ac_cv_env_CPP_value=$CPP
792 + ac_env_CXXCPP_set=${CXXCPP+set}
793 + ac_env_CXXCPP_value=$CXXCPP
794 + ac_cv_env_CXXCPP_set=${CXXCPP+set}
795 + ac_cv_env_CXXCPP_value=$CXXCPP
796  
797   #
798   # Report the --help message.
# Line 571 | Line 800 | if test "$ac_init_help" = "long"; then
800   if test "$ac_init_help" = "long"; then
801    # Omit some internal or obsolete options to make the list less imposing.
802    # This message is too long to be a string in the A/UX 3.1 sh.
803 <  cat <<EOF
803 >  cat <<_ACEOF
804   \`configure' configures OOPSE 2.0 to adapt to many kinds of systems.
805  
806   Usage: $0 [OPTION]... [VAR=VALUE]...
# Line 592 | Line 821 | EOF
821    -n, --no-create         do not create output files
822        --srcdir=DIR        find the sources in DIR [configure dir or \`..']
823  
824 < EOF
824 > _ACEOF
825  
826 <  cat <<EOF
826 >  cat <<_ACEOF
827   Installation directories:
828    --prefix=PREFIX         install architecture-independent files in PREFIX
829 <                          [$ac_default_prefix]
829 >                          [$ac_default_prefix]
830    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
831 <                          [PREFIX]
831 >                          [PREFIX]
832  
833   By default, \`make install' will install all the files in
834   \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
# Line 621 | Line 850 | EOF
850    --oldincludedir=DIR    C header files for non-gcc [/usr/include]
851    --infodir=DIR          info documentation [PREFIX/info]
852    --mandir=DIR           man documentation [PREFIX/man]
853 < EOF
853 > _ACEOF
854  
855 <  cat <<\EOF
855 >  cat <<\_ACEOF
856  
857   System types:
858    --build=BUILD     configure for building on BUILD [guessed]
859 <  --host=HOST       build programs to run on HOST [BUILD]
860 < EOF
859 >  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
860 > _ACEOF
861   fi
862  
863   if test -n "$ac_init_help"; then
864    case $ac_init_help in
865       short | recursive ) echo "Configuration of OOPSE 2.0:";;
866     esac
867 <  cat <<\EOF
867 >  cat <<\_ACEOF
868  
869   Optional Features:
870    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
# Line 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=c
4468   ac_cpp='$CPP $CPPFLAGS'
4469   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
# Line 3467 | Line 4475 | echo "$as_me:3470: checking how to run the C preproces
4475   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4476   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4477   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4478 < echo "$as_me:3470: checking how to run the C preprocessor" >&5
4478 > echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4479   echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4480   # On Suns, sometimes $CPP names a directory.
4481   if test -n "$CPP" && test -d "$CPP"; then
# Line 3480 | Line 4488 | else
4488        # Double quotes because CPP needs to be expanded
4489      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4490      do
3483      # break 2 since there is a loop in there.
4491        ac_preproc_ok=false
4492   for ac_c_preproc_warn_flag in '' yes
4493   do
4494    # Use a header file that comes with gcc, so configuring glibc
4495    # with a fresh cross-compiler works.
4496 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4497 +  # <limits.h> exists even on freestanding compilers.
4498    # On the NeXT, cc -E runs the code through the compiler's parser,
4499    # not just through cpp. "Syntax error" is here to catch this case.
4500    cat >conftest.$ac_ext <<_ACEOF
4501 < #line 3492 "configure"
3493 < #include "confdefs.h"
3494 < #include <assert.h>
3495 <                     Syntax error
4501 > /* confdefs.h.  */
4502   _ACEOF
4503 < if { (eval echo "$as_me:3497: \"$ac_cpp conftest.$ac_ext\"") >&5
4503 > cat confdefs.h >>conftest.$ac_ext
4504 > cat >>conftest.$ac_ext <<_ACEOF
4505 > /* end confdefs.h.  */
4506 > #ifdef __STDC__
4507 > # include <limits.h>
4508 > #else
4509 > # include <assert.h>
4510 > #endif
4511 >                     Syntax error
4512 > _ACEOF
4513 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4514    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4515    ac_status=$?
4516 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4516 >  grep -v '^ *+' conftest.er1 >conftest.err
4517    rm -f conftest.er1
4518    cat conftest.err >&5
4519 <  echo "$as_me:3503: \$? = $ac_status" >&5
4519 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4520    (exit $ac_status); } >/dev/null; then
4521    if test -s conftest.err; then
4522      ac_cpp_err=$ac_c_preproc_warn_flag
4523 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4524    else
4525      ac_cpp_err=
4526    fi
# Line 3514 | Line 4531 | else
4531    :
4532   else
4533    echo "$as_me: failed program was:" >&5
4534 <  cat conftest.$ac_ext >&5
4534 > sed 's/^/| /' conftest.$ac_ext >&5
4535 >
4536    # Broken: fails on valid input.
4537   continue
4538   fi
# Line 3523 | Line 4541 | rm -f conftest.err conftest.$ac_ext
4541    # OK, works on sane cases.  Now check whether non-existent headers
4542    # can be detected and how.
4543    cat >conftest.$ac_ext <<_ACEOF
4544 < #line 3526 "configure"
4545 < #include "confdefs.h"
4544 > /* confdefs.h.  */
4545 > _ACEOF
4546 > cat confdefs.h >>conftest.$ac_ext
4547 > cat >>conftest.$ac_ext <<_ACEOF
4548 > /* end confdefs.h.  */
4549   #include <ac_nonexistent.h>
4550   _ACEOF
4551 < if { (eval echo "$as_me:3530: \"$ac_cpp conftest.$ac_ext\"") >&5
4551 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4552    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4553    ac_status=$?
4554 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4554 >  grep -v '^ *+' conftest.er1 >conftest.err
4555    rm -f conftest.er1
4556    cat conftest.err >&5
4557 <  echo "$as_me:3536: \$? = $ac_status" >&5
4557 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4558    (exit $ac_status); } >/dev/null; then
4559    if test -s conftest.err; then
4560      ac_cpp_err=$ac_c_preproc_warn_flag
4561 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4562    else
4563      ac_cpp_err=
4564    fi
# Line 3548 | Line 4570 | else
4570   continue
4571   else
4572    echo "$as_me: failed program was:" >&5
4573 <  cat conftest.$ac_ext >&5
4573 > sed 's/^/| /' conftest.$ac_ext >&5
4574 >
4575    # Passes both tests.
4576   ac_preproc_ok=:
4577   break
# Line 3559 | Line 4582 | if $ac_preproc_ok; then
4582   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4583   rm -f conftest.err conftest.$ac_ext
4584   if $ac_preproc_ok; then
4585 <  break 2
4585 >  break
4586   fi
4587  
4588      done
# Line 3570 | Line 4593 | echo "$as_me:3573: result: $CPP" >&5
4593   else
4594    ac_cv_prog_CPP=$CPP
4595   fi
4596 < echo "$as_me:3573: result: $CPP" >&5
4596 > echo "$as_me:$LINENO: result: $CPP" >&5
4597   echo "${ECHO_T}$CPP" >&6
4598   ac_preproc_ok=false
4599   for ac_c_preproc_warn_flag in '' yes
4600   do
4601    # Use a header file that comes with gcc, so configuring glibc
4602    # with a fresh cross-compiler works.
4603 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4604 +  # <limits.h> exists even on freestanding compilers.
4605    # On the NeXT, cc -E runs the code through the compiler's parser,
4606    # not just through cpp. "Syntax error" is here to catch this case.
4607    cat >conftest.$ac_ext <<_ACEOF
4608 < #line 3583 "configure"
3584 < #include "confdefs.h"
3585 < #include <assert.h>
3586 <                     Syntax error
4608 > /* confdefs.h.  */
4609   _ACEOF
4610 < if { (eval echo "$as_me:3588: \"$ac_cpp conftest.$ac_ext\"") >&5
4610 > cat confdefs.h >>conftest.$ac_ext
4611 > cat >>conftest.$ac_ext <<_ACEOF
4612 > /* end confdefs.h.  */
4613 > #ifdef __STDC__
4614 > # include <limits.h>
4615 > #else
4616 > # include <assert.h>
4617 > #endif
4618 >                     Syntax error
4619 > _ACEOF
4620 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4621    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4622    ac_status=$?
4623 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4623 >  grep -v '^ *+' conftest.er1 >conftest.err
4624    rm -f conftest.er1
4625    cat conftest.err >&5
4626 <  echo "$as_me:3594: \$? = $ac_status" >&5
4626 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4627    (exit $ac_status); } >/dev/null; then
4628    if test -s conftest.err; then
4629      ac_cpp_err=$ac_c_preproc_warn_flag
4630 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4631    else
4632      ac_cpp_err=
4633    fi
# Line 3605 | Line 4638 | else
4638    :
4639   else
4640    echo "$as_me: failed program was:" >&5
4641 <  cat conftest.$ac_ext >&5
4641 > sed 's/^/| /' conftest.$ac_ext >&5
4642 >
4643    # Broken: fails on valid input.
4644   continue
4645   fi
# Line 3614 | Line 4648 | rm -f conftest.err conftest.$ac_ext
4648    # OK, works on sane cases.  Now check whether non-existent headers
4649    # can be detected and how.
4650    cat >conftest.$ac_ext <<_ACEOF
4651 < #line 3617 "configure"
4652 < #include "confdefs.h"
4651 > /* confdefs.h.  */
4652 > _ACEOF
4653 > cat confdefs.h >>conftest.$ac_ext
4654 > cat >>conftest.$ac_ext <<_ACEOF
4655 > /* end confdefs.h.  */
4656   #include <ac_nonexistent.h>
4657   _ACEOF
4658 < if { (eval echo "$as_me:3621: \"$ac_cpp conftest.$ac_ext\"") >&5
4658 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4659    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4660    ac_status=$?
4661 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4661 >  grep -v '^ *+' conftest.er1 >conftest.err
4662    rm -f conftest.er1
4663    cat conftest.err >&5
4664 <  echo "$as_me:3627: \$? = $ac_status" >&5
4664 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4665    (exit $ac_status); } >/dev/null; then
4666    if test -s conftest.err; then
4667      ac_cpp_err=$ac_c_preproc_warn_flag
4668 +    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4669    else
4670      ac_cpp_err=
4671    fi
# Line 3639 | Line 4677 | else
4677   continue
4678   else
4679    echo "$as_me: failed program was:" >&5
4680 <  cat conftest.$ac_ext >&5
4680 > sed 's/^/| /' conftest.$ac_ext >&5
4681 >
4682    # Passes both tests.
4683   ac_preproc_ok=:
4684   break
# Line 3652 | Line 4691 | else
4691   if $ac_preproc_ok; then
4692    :
4693   else
4694 <  { { echo "$as_me:3655: error: C preprocessor \"$CPP\" fails sanity check" >&5
4695 < echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
4694 >  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4695 > See \`config.log' for more details." >&5
4696 > echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4697 > See \`config.log' for more details." >&2;}
4698     { (exit 1); exit 1; }; }
4699   fi
4700  
# Line 3663 | Line 4704 | for ac_header in unistd.h sys/pstat.h sys/sysmp.h sys/
4704   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4705   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4706  
4707 < 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
4708 < do
4709 < ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4710 < 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
4707 >
4708 > echo "$as_me:$LINENO: checking for egrep" >&5
4709 > echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4710 > if test "${ac_cv_prog_egrep+set}" = set; then
4711    echo $ECHO_N "(cached) $ECHO_C" >&6
4712   else
4713 <  cat >conftest.$ac_ext <<_ACEOF
4714 < #line 3675 "configure"
4715 < #include "confdefs.h"
4716 < #include <$ac_header>
3678 < _ACEOF
3679 < if { (eval echo "$as_me:3679: \"$ac_cpp conftest.$ac_ext\"") >&5
3680 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3681 <  ac_status=$?
3682 <  egrep -v '^ *\+' conftest.er1 >conftest.err
3683 <  rm -f conftest.er1
3684 <  cat conftest.err >&5
3685 <  echo "$as_me:3685: \$? = $ac_status" >&5
3686 <  (exit $ac_status); } >/dev/null; then
3687 <  if test -s conftest.err; then
3688 <    ac_cpp_err=$ac_c_preproc_warn_flag
3689 <  else
3690 <    ac_cpp_err=
3691 <  fi
3692 < else
3693 <  ac_cpp_err=yes
4713 >  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4714 >    then ac_cv_prog_egrep='grep -E'
4715 >    else ac_cv_prog_egrep='egrep'
4716 >    fi
4717   fi
4718 < if test -z "$ac_cpp_err"; then
4719 <  eval "$ac_ac_Header=yes"
4720 < else
3698 <  echo "$as_me: failed program was:" >&5
3699 <  cat conftest.$ac_ext >&5
3700 <  eval "$ac_ac_Header=no"
3701 < fi
3702 < rm -f conftest.err conftest.$ac_ext
3703 < fi
3704 < echo "$as_me:3704: result: `eval echo '${'$ac_ac_Header'}'`" >&5
3705 < echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
3706 < if test `eval echo '${'$ac_ac_Header'}'` = yes; then
3707 <  cat >>confdefs.h <<EOF
3708 < #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
3709 < EOF
3710 <
3711 < fi
3712 < done
4718 > echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4719 > echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4720 > EGREP=$ac_cv_prog_egrep
4721  
4722 < for ac_func in pstat_getstatic sysmp getsysinfo sysctl table
4723 < do
4724 < ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
4725 < echo "$as_me:3717: checking for $ac_func" >&5
3718 < echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3719 < if eval "test \"\${$ac_ac_var+set}\" = set"; then
4722 >
4723 > echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4724 > echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4725 > if test "${ac_cv_header_stdc+set}" = set; then
4726    echo $ECHO_N "(cached) $ECHO_C" >&6
4727   else
4728    cat >conftest.$ac_ext <<_ACEOF
4729 < #line 3723 "configure"
4730 < #include "confdefs.h"
4731 < /* System header to define __stub macros and hopefully few prototypes,
4732 <    which can conflict with char $ac_func (); below.  */
4733 < #include <assert.h>
4734 < /* Override any gcc2 internal prototype to avoid an error.  */
4735 < #ifdef __cplusplus
4736 < extern "C"
4737 < #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) ();
4729 > /* confdefs.h.  */
4730 > _ACEOF
4731 > cat confdefs.h >>conftest.$ac_ext
4732 > cat >>conftest.$ac_ext <<_ACEOF
4733 > /* end confdefs.h.  */
4734 > #include <stdlib.h>
4735 > #include <stdarg.h>
4736 > #include <string.h>
4737 > #include <float.h>
4738  
4739   int
4740   main ()
4741   {
3740 /* The GNU C library defines this for functions which it implements
3741    to always fail with ENOSYS.  Some functions are actually named
3742    something starting with __ and the normal name is an alias.  */
3743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3744 choke me
3745 #else
3746 f = $ac_func;
3747 #endif
4742  
4743    ;
4744    return 0;
4745   }
4746   _ACEOF
4747 < rm -f conftest.$ac_objext conftest$ac_exeext
4748 < if { (eval echo "$as_me:3754: \"$ac_link\"") >&5
4749 <  (eval $ac_link) 2>&5
4747 > rm -f conftest.$ac_objext
4748 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4749 >  (eval $ac_compile) 2>conftest.er1
4750    ac_status=$?
4751 <  echo "$as_me:3757: \$? = $ac_status" >&5
4751 >  grep -v '^ *+' conftest.er1 >conftest.err
4752 >  rm -f conftest.er1
4753 >  cat conftest.err >&5
4754 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755    (exit $ac_status); } &&
4756 <         { ac_try='test -s conftest$ac_exeext'
4757 <  { (eval echo "$as_me:3760: \"$ac_try\"") >&5
4756 >         { ac_try='test -z "$ac_c_werror_flag"
4757 >                         || test ! -s conftest.err'
4758 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4759    (eval $ac_try) 2>&5
4760    ac_status=$?
4761 <  echo "$as_me:3763: \$? = $ac_status" >&5
4761 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 >  (exit $ac_status); }; } &&
4763 >         { ac_try='test -s conftest.$ac_objext'
4764 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4765 >  (eval $ac_try) 2>&5
4766 >  ac_status=$?
4767 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768    (exit $ac_status); }; }; then
4769 <  eval "$ac_ac_var=yes"
4769 >  ac_cv_header_stdc=yes
4770   else
4771    echo "$as_me: failed program was:" >&5
4772 < cat conftest.$ac_ext >&5
4773 < eval "$ac_ac_var=no"
4772 > sed 's/^/| /' conftest.$ac_ext >&5
4773 >
4774 > ac_cv_header_stdc=no
4775   fi
4776 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4776 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4777 >
4778 > if test $ac_cv_header_stdc = yes; then
4779 >  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4780 >  cat >conftest.$ac_ext <<_ACEOF
4781 > /* confdefs.h.  */
4782 > _ACEOF
4783 > cat confdefs.h >>conftest.$ac_ext
4784 > cat >>conftest.$ac_ext <<_ACEOF
4785 > /* end confdefs.h.  */
4786 > #include <string.h>
4787 >
4788 > _ACEOF
4789 > if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4790 >  $EGREP "memchr" >/dev/null 2>&1; then
4791 >  :
4792 > else
4793 >  ac_cv_header_stdc=no
4794   fi
4795 < echo "$as_me:3773: result: `eval echo '${'$ac_ac_var'}'`" >&5
3774 < echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
3775 < if test `eval echo '${'$ac_ac_var'}'` = yes; then
3776 <  cat >>confdefs.h <<EOF
3777 < #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
3778 < EOF
4795 > rm -f conftest*
4796  
4797   fi
3781 done
4798  
4799 < # special check for _system_configuration because AIX <4.3.2 do not
4800 < # contain the `physmem' member.
4801 < echo "$as_me:3785: checking for external symbol _system_configuration" >&5
4802 < echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
4803 < cat >conftest.$ac_ext <<_ACEOF
4804 < #line 3788 "configure"
4805 < #include "confdefs.h"
4806 < #include <sys/systemcfg.h>
4799 > if test $ac_cv_header_stdc = yes; then
4800 >  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4801 >  cat >conftest.$ac_ext <<_ACEOF
4802 > /* confdefs.h.  */
4803 > _ACEOF
4804 > cat confdefs.h >>conftest.$ac_ext
4805 > cat >>conftest.$ac_ext <<_ACEOF
4806 > /* end confdefs.h.  */
4807 > #include <stdlib.h>
4808 >
4809 > _ACEOF
4810 > if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4811 >  $EGREP "free" >/dev/null 2>&1; then
4812 >  :
4813 > else
4814 >  ac_cv_header_stdc=no
4815 > fi
4816 > rm -f conftest*
4817 >
4818 > fi
4819 >
4820 > if test $ac_cv_header_stdc = yes; then
4821 >  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4822 >  if test "$cross_compiling" = yes; then
4823 >  :
4824 > else
4825 >  cat >conftest.$ac_ext <<_ACEOF
4826 > /* confdefs.h.  */
4827 > _ACEOF
4828 > cat confdefs.h >>conftest.$ac_ext
4829 > cat >>conftest.$ac_ext <<_ACEOF
4830 > /* end confdefs.h.  */
4831 > #include <ctype.h>
4832 > #if ((' ' & 0x0FF) == 0x020)
4833 > # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4834 > # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4835 > #else
4836 > # define ISLOWER(c) \
4837 >                   (('a' <= (c) && (c) <= 'i') \
4838 >                     || ('j' <= (c) && (c) <= 'r') \
4839 >                     || ('s' <= (c) && (c) <= 'z'))
4840 > # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4841 > #endif
4842 >
4843 > #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4844   int
4845   main ()
4846   {
4847 < double x = _system_configuration.physmem;
4848 <  ;
4849 <  return 0;
4847 >  int i;
4848 >  for (i = 0; i < 256; i++)
4849 >    if (XOR (islower (i), ISLOWER (i))
4850 >        || toupper (i) != TOUPPER (i))
4851 >      exit(2);
4852 >  exit (0);
4853   }
4854   _ACEOF
4855 < rm -f conftest.$ac_objext
4856 < if { (eval echo "$as_me:3800: \"$ac_compile\"") >&5
4857 <  (eval $ac_compile) 2>&5
4855 > rm -f conftest$ac_exeext
4856 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4857 >  (eval $ac_link) 2>&5
4858    ac_status=$?
4859 <  echo "$as_me:3803: \$? = $ac_status" >&5
4860 <  (exit $ac_status); } &&
4861 <         { ac_try='test -s conftest.$ac_objext'
3806 <  { (eval echo "$as_me:3806: \"$ac_try\"") >&5
4859 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860 >  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4861 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4862    (eval $ac_try) 2>&5
4863    ac_status=$?
4864 <  echo "$as_me:3809: \$? = $ac_status" >&5
4864 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4865    (exit $ac_status); }; }; then
4866 <  echo "$as_me:3811: result: yes" >&5
4867 < echo "${ECHO_T}yes" >&6
4866 >  :
4867 > else
4868 >  echo "$as_me: program exited with status $ac_status" >&5
4869 > echo "$as_me: failed program was:" >&5
4870 > sed 's/^/| /' conftest.$ac_ext >&5
4871  
4872 < cat >>confdefs.h <<\EOF
4873 < #define HAVE__SYSTEM_CONFIGURATION 1
4874 < EOF
4872 > ( exit $ac_status )
4873 > ac_cv_header_stdc=no
4874 > fi
4875 > rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4876 > fi
4877 > fi
4878 > fi
4879 > echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4880 > echo "${ECHO_T}$ac_cv_header_stdc" >&6
4881 > if test $ac_cv_header_stdc = yes; then
4882  
4883 < else
4884 <  echo "$as_me: failed program was:" >&5
4885 < cat conftest.$ac_ext >&5
4886 < echo "$as_me:3821: result: no" >&5
3822 < echo "${ECHO_T}no" >&6
4883 > cat >>confdefs.h <<\_ACEOF
4884 > #define STDC_HEADERS 1
4885 > _ACEOF
4886 >
4887   fi
3824 rm -f conftest.$ac_objext conftest.$ac_ext
4888  
4889 <  # clean out junk possibly left behind by a previous configuration
3827 <  rm -f src/getopt.h
3828 <  # Check for getopt_long support
4889 > # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4890  
4891 < for ac_header in getopt.h
4891 >
4892 >
4893 >
4894 >
4895 >
4896 >
4897 >
4898 >
4899 > for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4900 >                  inttypes.h stdint.h unistd.h
4901   do
4902 < ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4903 < echo "$as_me:3833: checking for $ac_header" >&5
4902 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4903 > echo "$as_me:$LINENO: checking for $ac_header" >&5
4904   echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4905 < if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4905 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
4906    echo $ECHO_N "(cached) $ECHO_C" >&6
4907   else
4908    cat >conftest.$ac_ext <<_ACEOF
4909 < #line 3839 "configure"
4910 < #include "confdefs.h"
4909 > /* confdefs.h.  */
4910 > _ACEOF
4911 > cat confdefs.h >>conftest.$ac_ext
4912 > cat >>conftest.$ac_ext <<_ACEOF
4913 > /* end confdefs.h.  */
4914 > $ac_includes_default
4915 >
4916   #include <$ac_header>
4917   _ACEOF
4918 < if { (eval echo "$as_me:3843: \"$ac_cpp conftest.$ac_ext\"") >&5
4919 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4918 > rm -f conftest.$ac_objext
4919 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4920 >  (eval $ac_compile) 2>conftest.er1
4921    ac_status=$?
4922 <  egrep -v '^ *\+' conftest.er1 >conftest.err
4922 >  grep -v '^ *+' conftest.er1 >conftest.err
4923    rm -f conftest.er1
4924    cat conftest.err >&5
4925 <  echo "$as_me:3849: \$? = $ac_status" >&5
4926 <  (exit $ac_status); } >/dev/null; then
4927 <  if test -s conftest.err; then
4928 <    ac_cpp_err=$ac_c_preproc_warn_flag
4929 <  else
4930 <    ac_cpp_err=
4931 <  fi
4925 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926 >  (exit $ac_status); } &&
4927 >         { ac_try='test -z "$ac_c_werror_flag"
4928 >                         || test ! -s conftest.err'
4929 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4930 >  (eval $ac_try) 2>&5
4931 >  ac_status=$?
4932 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 >  (exit $ac_status); }; } &&
4934 >         { ac_try='test -s conftest.$ac_objext'
4935 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4936 >  (eval $ac_try) 2>&5
4937 >  ac_status=$?
4938 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 >  (exit $ac_status); }; }; then
4940 >  eval "$as_ac_Header=yes"
4941   else
3857  ac_cpp_err=yes
3858 fi
3859 if test -z "$ac_cpp_err"; then
3860  eval "$ac_ac_Header=yes"
3861 else
4942    echo "$as_me: failed program was:" >&5
4943 <  cat conftest.$ac_ext >&5
4944 <  eval "$ac_ac_Header=no"
4943 > sed 's/^/| /' conftest.$ac_ext >&5
4944 >
4945 > eval "$as_ac_Header=no"
4946   fi
4947 < rm -f conftest.err conftest.$ac_ext
4947 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4948   fi
4949 < echo "$as_me:3868: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4950 < echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4951 < if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4952 <  cat >>confdefs.h <<EOF
4953 < #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4954 < EOF
4949 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4950 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4951 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
4952 >  cat >>confdefs.h <<_ACEOF
4953 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4954 > _ACEOF
4955  
4956   fi
4957 +
4958   done
4959  
4960 < for ac_func in getopt_long
4961 < do
4962 < ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
4963 < echo "$as_me:3881: checking for $ac_func" >&5
4964 < echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4965 < if eval "test \"\${$ac_ac_var+set}\" = set"; then
4960 >
4961 > #
4962 > # Handle user hints
4963 > #
4964 > echo "$as_me:$LINENO: checking if zlib is wanted" >&5
4965 > echo $ECHO_N "checking if zlib is wanted... $ECHO_C" >&6
4966 >
4967 > # Check whether --with-zlib or --without-zlib was given.
4968 > if test "${with_zlib+set}" = set; then
4969 >  withval="$with_zlib"
4970 >  if test "$withval" != no ; then
4971 >  echo "$as_me:$LINENO: result: yes" >&5
4972 > echo "${ECHO_T}yes" >&6
4973 >  if test -d "$withval"
4974 >  then
4975 >    ZLIB_HOME="$withval"
4976 >  else
4977 >    { echo "$as_me:$LINENO: WARNING: Sorry, $withval does not exist, checking usual places" >&5
4978 > echo "$as_me: WARNING: Sorry, $withval does not exist, checking usual places" >&2;}
4979 >  fi
4980 > else
4981 >  echo "$as_me:$LINENO: result: no" >&5
4982 > echo "${ECHO_T}no" >&6
4983 > fi
4984 > fi;
4985 >
4986 > ZLIB_HOME=/usr/local
4987 > if test ! -f "${ZLIB_HOME}/include/zlib.h"
4988 > then
4989 >        ZLIB_HOME=/usr
4990 > fi
4991 >
4992 > #
4993 > # Locate zlib, if wanted
4994 > #
4995 > if test -n "${ZLIB_HOME}"
4996 > then
4997 >        ZLIB_OLD_LDFLAGS=$LDFLAGS
4998 >        ZLIB_OLD_CPPFLAGS=$LDFLAGS
4999 >        LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib"
5000 >        CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include"
5001 >
5002 >
5003 >        ac_ext=c
5004 > ac_cpp='$CPP $CPPFLAGS'
5005 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5006 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5007 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
5008 >
5009 >        echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
5010 > echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
5011 > if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
5012    echo $ECHO_N "(cached) $ECHO_C" >&6
5013   else
5014 <  cat >conftest.$ac_ext <<_ACEOF
5015 < #line 3887 "configure"
5016 < #include "confdefs.h"
5017 < /* System header to define __stub macros and hopefully few prototypes,
5018 <    which can conflict with char $ac_func (); below.  */
5019 < #include <assert.h>
5014 >  ac_check_lib_save_LIBS=$LIBS
5015 > LIBS="-lz  $LIBS"
5016 > cat >conftest.$ac_ext <<_ACEOF
5017 > /* confdefs.h.  */
5018 > _ACEOF
5019 > cat confdefs.h >>conftest.$ac_ext
5020 > cat >>conftest.$ac_ext <<_ACEOF
5021 > /* end confdefs.h.  */
5022 >
5023   /* Override any gcc2 internal prototype to avoid an error.  */
5024   #ifdef __cplusplus
5025   extern "C"
5026   #endif
5027   /* We use char because int might match the return type of a gcc2
5028     builtin and then its argument prototype would still apply.  */
5029 < char $ac_func ();
3899 < char (*f) ();
3900 <
5029 > char inflateEnd ();
5030   int
5031   main ()
5032   {
5033 < /* 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 <
5033 > inflateEnd ();
5034    ;
5035    return 0;
5036   }
5037   _ACEOF
5038   rm -f conftest.$ac_objext conftest$ac_exeext
5039 < if { (eval echo "$as_me:3918: \"$ac_link\"") >&5
5040 <  (eval $ac_link) 2>&5
5039 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5040 >  (eval $ac_link) 2>conftest.er1
5041    ac_status=$?
5042 <  echo "$as_me:3921: \$? = $ac_status" >&5
5042 >  grep -v '^ *+' conftest.er1 >conftest.err
5043 >  rm -f conftest.er1
5044 >  cat conftest.err >&5
5045 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046    (exit $ac_status); } &&
5047 <         { ac_try='test -s conftest$ac_exeext'
5048 <  { (eval echo "$as_me:3924: \"$ac_try\"") >&5
5047 >         { ac_try='test -z "$ac_c_werror_flag"
5048 >                         || test ! -s conftest.err'
5049 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5050    (eval $ac_try) 2>&5
5051    ac_status=$?
5052 <  echo "$as_me:3927: \$? = $ac_status" >&5
5052 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5053 >  (exit $ac_status); }; } &&
5054 >         { ac_try='test -s conftest$ac_exeext'
5055 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5056 >  (eval $ac_try) 2>&5
5057 >  ac_status=$?
5058 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059    (exit $ac_status); }; }; then
5060 <  eval "$ac_ac_var=yes"
5060 >  ac_cv_lib_z_inflateEnd=yes
5061   else
5062    echo "$as_me: failed program was:" >&5
5063 < cat conftest.$ac_ext >&5
5064 < eval "$ac_ac_var=no"
5063 > sed 's/^/| /' conftest.$ac_ext >&5
5064 >
5065 > ac_cv_lib_z_inflateEnd=no
5066   fi
5067 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5067 > rm -f conftest.err conftest.$ac_objext \
5068 >      conftest$ac_exeext conftest.$ac_ext
5069 > LIBS=$ac_check_lib_save_LIBS
5070   fi
5071 < echo "$as_me:3937: result: `eval echo '${'$ac_ac_var'}'`" >&5
5072 < echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
5073 < if test `eval echo '${'$ac_ac_var'}'` = yes; then
5074 <  cat >>confdefs.h <<EOF
5075 < #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
5076 < EOF
5071 > echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
5072 > echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
5073 > if test $ac_cv_lib_z_inflateEnd = yes; then
5074 >  zlib_cv_libz=yes
5075 > else
5076 >  zlib_cv_libz=no
5077 > fi
5078  
5079 +        if test "${ac_cv_header_zlib_h+set}" = set; then
5080 +  echo "$as_me:$LINENO: checking for zlib.h" >&5
5081 + echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
5082 + if test "${ac_cv_header_zlib_h+set}" = set; then
5083 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5084 + fi
5085 + echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
5086 + echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
5087   else
5088 <  # FreeBSD has a gnugetopt library for this
5089 <    echo "$as_me:3946: checking for getopt_long in -lgnugetopt" >&5
5090 < echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
5091 < if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
5088 >  # Is the header compilable?
5089 > echo "$as_me:$LINENO: checking zlib.h usability" >&5
5090 > echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
5091 > cat >conftest.$ac_ext <<_ACEOF
5092 > /* confdefs.h.  */
5093 > _ACEOF
5094 > cat confdefs.h >>conftest.$ac_ext
5095 > cat >>conftest.$ac_ext <<_ACEOF
5096 > /* end confdefs.h.  */
5097 > $ac_includes_default
5098 > #include <zlib.h>
5099 > _ACEOF
5100 > rm -f conftest.$ac_objext
5101 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5102 >  (eval $ac_compile) 2>conftest.er1
5103 >  ac_status=$?
5104 >  grep -v '^ *+' conftest.er1 >conftest.err
5105 >  rm -f conftest.er1
5106 >  cat conftest.err >&5
5107 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5108 >  (exit $ac_status); } &&
5109 >         { ac_try='test -z "$ac_c_werror_flag"
5110 >                         || test ! -s conftest.err'
5111 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5112 >  (eval $ac_try) 2>&5
5113 >  ac_status=$?
5114 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 >  (exit $ac_status); }; } &&
5116 >         { ac_try='test -s conftest.$ac_objext'
5117 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5118 >  (eval $ac_try) 2>&5
5119 >  ac_status=$?
5120 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121 >  (exit $ac_status); }; }; then
5122 >  ac_header_compiler=yes
5123 > else
5124 >  echo "$as_me: failed program was:" >&5
5125 > sed 's/^/| /' conftest.$ac_ext >&5
5126 >
5127 > ac_header_compiler=no
5128 > fi
5129 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5130 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5131 > echo "${ECHO_T}$ac_header_compiler" >&6
5132 >
5133 > # Is the header present?
5134 > echo "$as_me:$LINENO: checking zlib.h presence" >&5
5135 > echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
5136 > cat >conftest.$ac_ext <<_ACEOF
5137 > /* confdefs.h.  */
5138 > _ACEOF
5139 > cat confdefs.h >>conftest.$ac_ext
5140 > cat >>conftest.$ac_ext <<_ACEOF
5141 > /* end confdefs.h.  */
5142 > #include <zlib.h>
5143 > _ACEOF
5144 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5145 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5146 >  ac_status=$?
5147 >  grep -v '^ *+' conftest.er1 >conftest.err
5148 >  rm -f conftest.er1
5149 >  cat conftest.err >&5
5150 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5151 >  (exit $ac_status); } >/dev/null; then
5152 >  if test -s conftest.err; then
5153 >    ac_cpp_err=$ac_c_preproc_warn_flag
5154 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5155 >  else
5156 >    ac_cpp_err=
5157 >  fi
5158 > else
5159 >  ac_cpp_err=yes
5160 > fi
5161 > if test -z "$ac_cpp_err"; then
5162 >  ac_header_preproc=yes
5163 > else
5164 >  echo "$as_me: failed program was:" >&5
5165 > sed 's/^/| /' conftest.$ac_ext >&5
5166 >
5167 >  ac_header_preproc=no
5168 > fi
5169 > rm -f conftest.err conftest.$ac_ext
5170 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5171 > echo "${ECHO_T}$ac_header_preproc" >&6
5172 >
5173 > # So?  What about this header?
5174 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5175 >  yes:no: )
5176 >    { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
5177 > echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5178 >    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
5179 > echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
5180 >    ac_header_preproc=yes
5181 >    ;;
5182 >  no:yes:* )
5183 >    { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
5184 > echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
5185 >    { echo "$as_me:$LINENO: WARNING: zlib.h:     check for missing prerequisite headers?" >&5
5186 > echo "$as_me: WARNING: zlib.h:     check for missing prerequisite headers?" >&2;}
5187 >    { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
5188 > echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
5189 >    { echo "$as_me:$LINENO: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&5
5190 > echo "$as_me: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
5191 >    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
5192 > echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
5193 >    { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
5194 > echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
5195 >    (
5196 >      cat <<\_ASBOX
5197 > ## ------------------------------ ##
5198 > ## Report this to gezelter@nd.edu ##
5199 > ## ------------------------------ ##
5200 > _ASBOX
5201 >    ) |
5202 >      sed "s/^/$as_me: WARNING:     /" >&2
5203 >    ;;
5204 > esac
5205 > echo "$as_me:$LINENO: checking for zlib.h" >&5
5206 > echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
5207 > if test "${ac_cv_header_zlib_h+set}" = set; then
5208    echo $ECHO_N "(cached) $ECHO_C" >&6
5209   else
5210 +  ac_cv_header_zlib_h=$ac_header_preproc
5211 + fi
5212 + echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
5213 + echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
5214 +
5215 + fi
5216 + if test $ac_cv_header_zlib_h = yes; then
5217 +  zlib_cv_zlib_h=yes
5218 + else
5219 +  zlib_cv_zlib_h=no
5220 + fi
5221 +
5222 +
5223 +        ac_ext=c
5224 + ac_cpp='$CPP $CPPFLAGS'
5225 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5226 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5227 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
5228 +
5229 +        if test "$zlib_cv_libz" = "yes" -a "$zlib_cv_zlib_h" = "yes"
5230 +        then
5231 +                #
5232 +                # If both library and header were found, use them
5233 +                #
5234 +
5235 + echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
5236 + echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
5237 + if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
5238 +  echo $ECHO_N "(cached) $ECHO_C" >&6
5239 + else
5240    ac_check_lib_save_LIBS=$LIBS
5241 < LIBS="-lgnugetopt  $LIBS"
5241 > LIBS="-lz  $LIBS"
5242   cat >conftest.$ac_ext <<_ACEOF
5243 < #line 3954 "configure"
5244 < #include "confdefs.h"
5243 > /* confdefs.h.  */
5244 > _ACEOF
5245 > cat confdefs.h >>conftest.$ac_ext
5246 > cat >>conftest.$ac_ext <<_ACEOF
5247 > /* end confdefs.h.  */
5248  
5249   /* Override any gcc2 internal prototype to avoid an error.  */
5250   #ifdef __cplusplus
# Line 3960 | Line 5252 | char getopt_long ();
5252   #endif
5253   /* We use char because int might match the return type of a gcc2
5254     builtin and then its argument prototype would still apply.  */
5255 < char getopt_long ();
5255 > char inflateEnd ();
5256   int
5257   main ()
5258   {
5259 < getopt_long ();
5259 > inflateEnd ();
5260    ;
5261    return 0;
5262   }
5263   _ACEOF
5264   rm -f conftest.$ac_objext conftest$ac_exeext
5265 < if { (eval echo "$as_me:3973: \"$ac_link\"") >&5
5266 <  (eval $ac_link) 2>&5
5265 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5266 >  (eval $ac_link) 2>conftest.er1
5267    ac_status=$?
5268 <  echo "$as_me:3976: \$? = $ac_status" >&5
5268 >  grep -v '^ *+' conftest.er1 >conftest.err
5269 >  rm -f conftest.er1
5270 >  cat conftest.err >&5
5271 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5272    (exit $ac_status); } &&
5273 <         { ac_try='test -s conftest$ac_exeext'
5274 <  { (eval echo "$as_me:3979: \"$ac_try\"") >&5
5273 >         { ac_try='test -z "$ac_c_werror_flag"
5274 >                         || test ! -s conftest.err'
5275 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5276    (eval $ac_try) 2>&5
5277    ac_status=$?
5278 <  echo "$as_me:3982: \$? = $ac_status" >&5
5278 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5279 >  (exit $ac_status); }; } &&
5280 >         { ac_try='test -s conftest$ac_exeext'
5281 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5282 >  (eval $ac_try) 2>&5
5283 >  ac_status=$?
5284 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5285    (exit $ac_status); }; }; then
5286 <  ac_cv_lib_gnugetopt_getopt_long=yes
5286 >  ac_cv_lib_z_inflateEnd=yes
5287   else
5288    echo "$as_me: failed program was:" >&5
5289 < cat conftest.$ac_ext >&5
5290 < ac_cv_lib_gnugetopt_getopt_long=no
5289 > sed 's/^/| /' conftest.$ac_ext >&5
5290 >
5291 > ac_cv_lib_z_inflateEnd=no
5292   fi
5293 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5293 > rm -f conftest.err conftest.$ac_objext \
5294 >      conftest$ac_exeext conftest.$ac_ext
5295   LIBS=$ac_check_lib_save_LIBS
5296   fi
5297 < echo "$as_me:3993: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
5298 < echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
5299 < if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
5300 <  cat >>confdefs.h <<\EOF
5301 < #define HAVE_GETOPT_LONG 1
5302 < EOF
5297 > echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
5298 > echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
5299 > if test $ac_cv_lib_z_inflateEnd = yes; then
5300 >  cat >>confdefs.h <<_ACEOF
5301 > #define HAVE_LIBZ 1
5302 > _ACEOF
5303  
5304 < 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"
5304 >  LIBS="-lz $LIBS"
5305  
5306   fi
5307  
5308 +                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
5309 + echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
5310 +                echo "$as_me:$LINENO: result: ok" >&5
5311 + echo "${ECHO_T}ok" >&6
5312 +        else
5313 +                #
5314 +                # If either header or library was not found, revert and bomb
5315 +                #
5316 +                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
5317 + echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
5318 +                LDFLAGS="$ZLIB_OLD_LDFLAGS"
5319 +                CPPFLAGS="$ZLIB_OLD_CPPFLAGS"
5320 +                echo "$as_me:$LINENO: result: failed" >&5
5321 + echo "${ECHO_T}failed" >&6
5322 +                { { echo "$as_me:$LINENO: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&5
5323 + echo "$as_me: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib" >&2;}
5324 +   { (exit 1); exit 1; }; }
5325 +        fi
5326   fi
4009 done
5327  
4011 case $debug in
4012  1)
4013     ;;
4014  *)
5328  
4016 echo "$as_me:4016: checking whether we are *really* using GNU cc" >&5
4017 echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6
4018 if test "${ac_cv_prog_really_gcc+set}" = set; then
4019  echo $ECHO_N "(cached) $ECHO_C" >&6
4020 else
5329  
4022 cat > conftest.c <<EOF
4023 #ifdef __GNUC__
4024  #ifndef __INTEL_COMPILER
4025     yes;
4026  #endif
4027 #endif
4028 EOF
4029 if { ac_try='${CC-cc} -E conftest.c'
4030  { (eval echo "$as_me:4030: \"$ac_try\"") >&5
4031  (eval $ac_try) 2>&5
4032  ac_status=$?
4033  echo "$as_me:4033: \$? = $ac_status" >&5
4034  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
4035  ac_cv_prog_really_gcc=yes
4036 else
4037  ac_cv_prog_really_gcc=no
4038 fi
5330  
4040 fi
4041 echo "$as_me:4041: result: $ac_cv_prog_really_gcc" >&5
4042 echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6
4043 if test "$ac_cv_prog_really_gcc" = yes; then
4044        :
5331  
4046 else
4047        :
5332  
4049 fi
5333  
4051 # Try to determine "good" native compiler flags if none specified on command
4052 # line
4053 if test "$ac_test_CFLAGS" != "set"; then
4054  CFLAGS=""
4055  case "${host_cpu}-${host_os}" in
5334  
4057  *linux*) if test "$CC" = icc; then
4058                    CFLAGS="-O"
4059                fi;;
4060  sparc-solaris2*) if test "$CC" = cc; then
4061                    CFLAGS="-native -fast -xO5 -dalign"
4062                 fi;;
5335  
4064  alpha*-osf*)  if test "$CC" = cc; then
4065                    CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1"
4066                fi;;
5336  
4068  hppa*-hpux*)  if test "$CC" = cc; then
4069                    CFLAGS="-Ae +O3 +Oall"
4070                fi;;
5337  
5338 <   rs6000*-aix*)  if test "$CC" = cc -o "$CC" = xlc; then
5339 <                    CFLAGS="-O3 -qtune=auto -qansialias -w"
5340 <                fi;;
5341 <   powerpc*-aix*)
5342 <        if test "$CC" = cc -o "$CC" = xlc; then
5343 <                CFLAGS="-O3 -qtune=auto -qansialias -w"
5344 <                echo "*******************************************************"
5345 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
5346 <                echo "*  recommended that you use                           *"
5347 <                echo "*                                                     *"
5348 <                echo "*    CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
5349 <                echo "*                                 ^^^                 *"
5350 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
5351 <                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
5352 <                echo "*******************************************************"
5353 <        fi;;
5354 <   *darwin*)
5355 <        if test "$CC" = xlc -o "$CC" = cc; then
5356 <                CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
5338 > 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
5339 > do
5340 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5341 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5342 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5343 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5344 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5345 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5346 > fi
5347 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5348 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5349 > else
5350 >  # Is the header compilable?
5351 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
5352 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5353 > cat >conftest.$ac_ext <<_ACEOF
5354 > /* confdefs.h.  */
5355 > _ACEOF
5356 > cat confdefs.h >>conftest.$ac_ext
5357 > cat >>conftest.$ac_ext <<_ACEOF
5358 > /* end confdefs.h.  */
5359 > $ac_includes_default
5360 > #include <$ac_header>
5361 > _ACEOF
5362 > rm -f conftest.$ac_objext
5363 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5364 >  (eval $ac_compile) 2>conftest.er1
5365 >  ac_status=$?
5366 >  grep -v '^ *+' conftest.er1 >conftest.err
5367 >  rm -f conftest.er1
5368 >  cat conftest.err >&5
5369 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370 >  (exit $ac_status); } &&
5371 >         { ac_try='test -z "$ac_c_werror_flag"
5372 >                         || test ! -s conftest.err'
5373 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5374 >  (eval $ac_try) 2>&5
5375 >  ac_status=$?
5376 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377 >  (exit $ac_status); }; } &&
5378 >         { ac_try='test -s conftest.$ac_objext'
5379 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5380 >  (eval $ac_try) 2>&5
5381 >  ac_status=$?
5382 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5383 >  (exit $ac_status); }; }; then
5384 >  ac_header_compiler=yes
5385 > else
5386 >  echo "$as_me: failed program was:" >&5
5387 > sed 's/^/| /' conftest.$ac_ext >&5
5388 >
5389 > ac_header_compiler=no
5390 > fi
5391 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5392 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5393 > echo "${ECHO_T}$ac_header_compiler" >&6
5394 >
5395 > # Is the header present?
5396 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
5397 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5398 > cat >conftest.$ac_ext <<_ACEOF
5399 > /* confdefs.h.  */
5400 > _ACEOF
5401 > cat confdefs.h >>conftest.$ac_ext
5402 > cat >>conftest.$ac_ext <<_ACEOF
5403 > /* end confdefs.h.  */
5404 > #include <$ac_header>
5405 > _ACEOF
5406 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5407 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5408 >  ac_status=$?
5409 >  grep -v '^ *+' conftest.er1 >conftest.err
5410 >  rm -f conftest.er1
5411 >  cat conftest.err >&5
5412 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5413 >  (exit $ac_status); } >/dev/null; then
5414 >  if test -s conftest.err; then
5415 >    ac_cpp_err=$ac_c_preproc_warn_flag
5416 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5417 >  else
5418 >    ac_cpp_err=
5419 >  fi
5420 > else
5421 >  ac_cpp_err=yes
5422 > fi
5423 > if test -z "$ac_cpp_err"; then
5424 >  ac_header_preproc=yes
5425 > else
5426 >  echo "$as_me: failed program was:" >&5
5427 > sed 's/^/| /' conftest.$ac_ext >&5
5428 >
5429 >  ac_header_preproc=no
5430 > fi
5431 > rm -f conftest.err conftest.$ac_ext
5432 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5433 > echo "${ECHO_T}$ac_header_preproc" >&6
5434 >
5435 > # So?  What about this header?
5436 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5437 >  yes:no: )
5438 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5439 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5440 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5441 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5442 >    ac_header_preproc=yes
5443 >    ;;
5444 >  no:yes:* )
5445 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5446 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5447 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5448 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5449 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5450 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5451 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5452 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5453 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5454 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5455 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5456 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5457 >    (
5458 >      cat <<\_ASBOX
5459 > ## ------------------------------ ##
5460 > ## Report this to gezelter@nd.edu ##
5461 > ## ------------------------------ ##
5462 > _ASBOX
5463 >    ) |
5464 >      sed "s/^/$as_me: WARNING:     /" >&2
5465 >    ;;
5466 > esac
5467 > echo "$as_me:$LINENO: checking for $ac_header" >&5
5468 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5469 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5470 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5471 > else
5472 >  eval "$as_ac_Header=\$ac_header_preproc"
5473 > fi
5474 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5475 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5476 >
5477 > fi
5478 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
5479 >  cat >>confdefs.h <<_ACEOF
5480 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5481 > _ACEOF
5482 >
5483 > fi
5484 >
5485 > done
5486 >
5487 >
5488 >
5489 >
5490 >
5491 >
5492 > for ac_func in pstat_getstatic sysmp getsysinfo sysctl table
5493 > do
5494 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5495 > echo "$as_me:$LINENO: checking for $ac_func" >&5
5496 > echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5497 > if eval "test \"\${$as_ac_var+set}\" = set"; then
5498 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5499 > else
5500 >  cat >conftest.$ac_ext <<_ACEOF
5501 > /* confdefs.h.  */
5502 > _ACEOF
5503 > cat confdefs.h >>conftest.$ac_ext
5504 > cat >>conftest.$ac_ext <<_ACEOF
5505 > /* end confdefs.h.  */
5506 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5507 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5508 > #define $ac_func innocuous_$ac_func
5509 >
5510 > /* System header to define __stub macros and hopefully few prototypes,
5511 >    which can conflict with char $ac_func (); below.
5512 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5513 >    <limits.h> exists even on freestanding compilers.  */
5514 >
5515 > #ifdef __STDC__
5516 > # include <limits.h>
5517 > #else
5518 > # include <assert.h>
5519 > #endif
5520 >
5521 > #undef $ac_func
5522 >
5523 > /* Override any gcc2 internal prototype to avoid an error.  */
5524 > #ifdef __cplusplus
5525 > extern "C"
5526 > {
5527 > #endif
5528 > /* We use char because int might match the return type of a gcc2
5529 >   builtin and then its argument prototype would still apply.  */
5530 > char $ac_func ();
5531 > /* The GNU C library defines this for functions which it implements
5532 >    to always fail with ENOSYS.  Some functions are actually named
5533 >    something starting with __ and the normal name is an alias.  */
5534 > #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5535 > choke me
5536 > #else
5537 > char (*f) () = $ac_func;
5538 > #endif
5539 > #ifdef __cplusplus
5540 > }
5541 > #endif
5542 >
5543 > int
5544 > main ()
5545 > {
5546 > return f != $ac_func;
5547 >  ;
5548 >  return 0;
5549 > }
5550 > _ACEOF
5551 > rm -f conftest.$ac_objext conftest$ac_exeext
5552 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5553 >  (eval $ac_link) 2>conftest.er1
5554 >  ac_status=$?
5555 >  grep -v '^ *+' conftest.er1 >conftest.err
5556 >  rm -f conftest.er1
5557 >  cat conftest.err >&5
5558 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5559 >  (exit $ac_status); } &&
5560 >         { ac_try='test -z "$ac_c_werror_flag"
5561 >                         || test ! -s conftest.err'
5562 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5563 >  (eval $ac_try) 2>&5
5564 >  ac_status=$?
5565 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5566 >  (exit $ac_status); }; } &&
5567 >         { ac_try='test -s conftest$ac_exeext'
5568 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5569 >  (eval $ac_try) 2>&5
5570 >  ac_status=$?
5571 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572 >  (exit $ac_status); }; }; then
5573 >  eval "$as_ac_var=yes"
5574 > else
5575 >  echo "$as_me: failed program was:" >&5
5576 > sed 's/^/| /' conftest.$ac_ext >&5
5577 >
5578 > eval "$as_ac_var=no"
5579 > fi
5580 > rm -f conftest.err conftest.$ac_objext \
5581 >      conftest$ac_exeext conftest.$ac_ext
5582 > fi
5583 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5584 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5585 > if test `eval echo '${'$as_ac_var'}'` = yes; then
5586 >  cat >>confdefs.h <<_ACEOF
5587 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5588 > _ACEOF
5589 >
5590 > fi
5591 > done
5592 >
5593 > # special check for _system_configuration because AIX <4.3.2 do not
5594 > # contain the `physmem' member.
5595 > echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
5596 > echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
5597 > cat >conftest.$ac_ext <<_ACEOF
5598 > /* confdefs.h.  */
5599 > _ACEOF
5600 > cat confdefs.h >>conftest.$ac_ext
5601 > cat >>conftest.$ac_ext <<_ACEOF
5602 > /* end confdefs.h.  */
5603 > #include <sys/systemcfg.h>
5604 > int
5605 > main ()
5606 > {
5607 > double x = _system_configuration.physmem;
5608 >  ;
5609 >  return 0;
5610 > }
5611 > _ACEOF
5612 > rm -f conftest.$ac_objext
5613 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5614 >  (eval $ac_compile) 2>conftest.er1
5615 >  ac_status=$?
5616 >  grep -v '^ *+' conftest.er1 >conftest.err
5617 >  rm -f conftest.er1
5618 >  cat conftest.err >&5
5619 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5620 >  (exit $ac_status); } &&
5621 >         { ac_try='test -z "$ac_c_werror_flag"
5622 >                         || test ! -s conftest.err'
5623 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5624 >  (eval $ac_try) 2>&5
5625 >  ac_status=$?
5626 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5627 >  (exit $ac_status); }; } &&
5628 >         { ac_try='test -s conftest.$ac_objext'
5629 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5630 >  (eval $ac_try) 2>&5
5631 >  ac_status=$?
5632 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633 >  (exit $ac_status); }; }; then
5634 >  echo "$as_me:$LINENO: result: yes" >&5
5635 > echo "${ECHO_T}yes" >&6
5636 >
5637 > cat >>confdefs.h <<\_ACEOF
5638 > #define HAVE__SYSTEM_CONFIGURATION 1
5639 > _ACEOF
5640 >
5641 > else
5642 >  echo "$as_me: failed program was:" >&5
5643 > sed 's/^/| /' conftest.$ac_ext >&5
5644 >
5645 > echo "$as_me:$LINENO: result: no" >&5
5646 > echo "${ECHO_T}no" >&6
5647 > fi
5648 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5649 >
5650 >  # clean out junk possibly left behind by a previous configuration
5651 >  rm -f src/getopt.h
5652 >  # Check for getopt_long support
5653 >
5654 > for ac_header in getopt.h
5655 > do
5656 > as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5657 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5658 >  echo "$as_me:$LINENO: checking for $ac_header" >&5
5659 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5660 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5661 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5662 > fi
5663 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5664 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5665 > else
5666 >  # Is the header compilable?
5667 > echo "$as_me:$LINENO: checking $ac_header usability" >&5
5668 > echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5669 > cat >conftest.$ac_ext <<_ACEOF
5670 > /* confdefs.h.  */
5671 > _ACEOF
5672 > cat confdefs.h >>conftest.$ac_ext
5673 > cat >>conftest.$ac_ext <<_ACEOF
5674 > /* end confdefs.h.  */
5675 > $ac_includes_default
5676 > #include <$ac_header>
5677 > _ACEOF
5678 > rm -f conftest.$ac_objext
5679 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5680 >  (eval $ac_compile) 2>conftest.er1
5681 >  ac_status=$?
5682 >  grep -v '^ *+' conftest.er1 >conftest.err
5683 >  rm -f conftest.er1
5684 >  cat conftest.err >&5
5685 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5686 >  (exit $ac_status); } &&
5687 >         { ac_try='test -z "$ac_c_werror_flag"
5688 >                         || test ! -s conftest.err'
5689 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5690 >  (eval $ac_try) 2>&5
5691 >  ac_status=$?
5692 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5693 >  (exit $ac_status); }; } &&
5694 >         { ac_try='test -s conftest.$ac_objext'
5695 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5696 >  (eval $ac_try) 2>&5
5697 >  ac_status=$?
5698 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5699 >  (exit $ac_status); }; }; then
5700 >  ac_header_compiler=yes
5701 > else
5702 >  echo "$as_me: failed program was:" >&5
5703 > sed 's/^/| /' conftest.$ac_ext >&5
5704 >
5705 > ac_header_compiler=no
5706 > fi
5707 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5708 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5709 > echo "${ECHO_T}$ac_header_compiler" >&6
5710 >
5711 > # Is the header present?
5712 > echo "$as_me:$LINENO: checking $ac_header presence" >&5
5713 > echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5714 > cat >conftest.$ac_ext <<_ACEOF
5715 > /* confdefs.h.  */
5716 > _ACEOF
5717 > cat confdefs.h >>conftest.$ac_ext
5718 > cat >>conftest.$ac_ext <<_ACEOF
5719 > /* end confdefs.h.  */
5720 > #include <$ac_header>
5721 > _ACEOF
5722 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5723 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5724 >  ac_status=$?
5725 >  grep -v '^ *+' conftest.er1 >conftest.err
5726 >  rm -f conftest.er1
5727 >  cat conftest.err >&5
5728 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5729 >  (exit $ac_status); } >/dev/null; then
5730 >  if test -s conftest.err; then
5731 >    ac_cpp_err=$ac_c_preproc_warn_flag
5732 >    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5733 >  else
5734 >    ac_cpp_err=
5735 >  fi
5736 > else
5737 >  ac_cpp_err=yes
5738 > fi
5739 > if test -z "$ac_cpp_err"; then
5740 >  ac_header_preproc=yes
5741 > else
5742 >  echo "$as_me: failed program was:" >&5
5743 > sed 's/^/| /' conftest.$ac_ext >&5
5744 >
5745 >  ac_header_preproc=no
5746 > fi
5747 > rm -f conftest.err conftest.$ac_ext
5748 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5749 > echo "${ECHO_T}$ac_header_preproc" >&6
5750 >
5751 > # So?  What about this header?
5752 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5753 >  yes:no: )
5754 >    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5755 > echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5756 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5757 > echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5758 >    ac_header_preproc=yes
5759 >    ;;
5760 >  no:yes:* )
5761 >    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5762 > echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5763 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5764 > echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5765 >    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5766 > echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5767 >    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5768 > echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5769 >    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5770 > echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5771 >    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5772 > echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5773 >    (
5774 >      cat <<\_ASBOX
5775 > ## ------------------------------ ##
5776 > ## Report this to gezelter@nd.edu ##
5777 > ## ------------------------------ ##
5778 > _ASBOX
5779 >    ) |
5780 >      sed "s/^/$as_me: WARNING:     /" >&2
5781 >    ;;
5782 > esac
5783 > echo "$as_me:$LINENO: checking for $ac_header" >&5
5784 > echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5785 > if eval "test \"\${$as_ac_Header+set}\" = set"; then
5786 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5787 > else
5788 >  eval "$as_ac_Header=\$ac_header_preproc"
5789 > fi
5790 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5791 > echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5792 >
5793 > fi
5794 > if test `eval echo '${'$as_ac_Header'}'` = yes; then
5795 >  cat >>confdefs.h <<_ACEOF
5796 > #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5797 > _ACEOF
5798 >
5799 > fi
5800 >
5801 > done
5802 >
5803 >
5804 > for ac_func in getopt_long
5805 > do
5806 > as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5807 > echo "$as_me:$LINENO: checking for $ac_func" >&5
5808 > echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5809 > if eval "test \"\${$as_ac_var+set}\" = set"; then
5810 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5811 > else
5812 >  cat >conftest.$ac_ext <<_ACEOF
5813 > /* confdefs.h.  */
5814 > _ACEOF
5815 > cat confdefs.h >>conftest.$ac_ext
5816 > cat >>conftest.$ac_ext <<_ACEOF
5817 > /* end confdefs.h.  */
5818 > /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5819 >   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5820 > #define $ac_func innocuous_$ac_func
5821 >
5822 > /* System header to define __stub macros and hopefully few prototypes,
5823 >    which can conflict with char $ac_func (); below.
5824 >    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5825 >    <limits.h> exists even on freestanding compilers.  */
5826 >
5827 > #ifdef __STDC__
5828 > # include <limits.h>
5829 > #else
5830 > # include <assert.h>
5831 > #endif
5832 >
5833 > #undef $ac_func
5834 >
5835 > /* Override any gcc2 internal prototype to avoid an error.  */
5836 > #ifdef __cplusplus
5837 > extern "C"
5838 > {
5839 > #endif
5840 > /* We use char because int might match the return type of a gcc2
5841 >   builtin and then its argument prototype would still apply.  */
5842 > char $ac_func ();
5843 > /* The GNU C library defines this for functions which it implements
5844 >    to always fail with ENOSYS.  Some functions are actually named
5845 >    something starting with __ and the normal name is an alias.  */
5846 > #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5847 > choke me
5848 > #else
5849 > char (*f) () = $ac_func;
5850 > #endif
5851 > #ifdef __cplusplus
5852 > }
5853 > #endif
5854 >
5855 > int
5856 > main ()
5857 > {
5858 > return f != $ac_func;
5859 >  ;
5860 >  return 0;
5861 > }
5862 > _ACEOF
5863 > rm -f conftest.$ac_objext conftest$ac_exeext
5864 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5865 >  (eval $ac_link) 2>conftest.er1
5866 >  ac_status=$?
5867 >  grep -v '^ *+' conftest.er1 >conftest.err
5868 >  rm -f conftest.er1
5869 >  cat conftest.err >&5
5870 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 >  (exit $ac_status); } &&
5872 >         { ac_try='test -z "$ac_c_werror_flag"
5873 >                         || test ! -s conftest.err'
5874 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5875 >  (eval $ac_try) 2>&5
5876 >  ac_status=$?
5877 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878 >  (exit $ac_status); }; } &&
5879 >         { ac_try='test -s conftest$ac_exeext'
5880 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5881 >  (eval $ac_try) 2>&5
5882 >  ac_status=$?
5883 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5884 >  (exit $ac_status); }; }; then
5885 >  eval "$as_ac_var=yes"
5886 > else
5887 >  echo "$as_me: failed program was:" >&5
5888 > sed 's/^/| /' conftest.$ac_ext >&5
5889 >
5890 > eval "$as_ac_var=no"
5891 > fi
5892 > rm -f conftest.err conftest.$ac_objext \
5893 >      conftest$ac_exeext conftest.$ac_ext
5894 > fi
5895 > echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5896 > echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5897 > if test `eval echo '${'$as_ac_var'}'` = yes; then
5898 >  cat >>confdefs.h <<_ACEOF
5899 > #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5900 > _ACEOF
5901 >
5902 > else
5903 >  # FreeBSD has a gnugetopt library for this
5904 >    echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
5905 > echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
5906 > if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
5907 >  echo $ECHO_N "(cached) $ECHO_C" >&6
5908 > else
5909 >  ac_check_lib_save_LIBS=$LIBS
5910 > LIBS="-lgnugetopt  $LIBS"
5911 > cat >conftest.$ac_ext <<_ACEOF
5912 > /* confdefs.h.  */
5913 > _ACEOF
5914 > cat confdefs.h >>conftest.$ac_ext
5915 > cat >>conftest.$ac_ext <<_ACEOF
5916 > /* end confdefs.h.  */
5917 >
5918 > /* Override any gcc2 internal prototype to avoid an error.  */
5919 > #ifdef __cplusplus
5920 > extern "C"
5921 > #endif
5922 > /* We use char because int might match the return type of a gcc2
5923 >   builtin and then its argument prototype would still apply.  */
5924 > char getopt_long ();
5925 > int
5926 > main ()
5927 > {
5928 > getopt_long ();
5929 >  ;
5930 >  return 0;
5931 > }
5932 > _ACEOF
5933 > rm -f conftest.$ac_objext conftest$ac_exeext
5934 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5935 >  (eval $ac_link) 2>conftest.er1
5936 >  ac_status=$?
5937 >  grep -v '^ *+' conftest.er1 >conftest.err
5938 >  rm -f conftest.er1
5939 >  cat conftest.err >&5
5940 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5941 >  (exit $ac_status); } &&
5942 >         { ac_try='test -z "$ac_c_werror_flag"
5943 >                         || test ! -s conftest.err'
5944 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5945 >  (eval $ac_try) 2>&5
5946 >  ac_status=$?
5947 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5948 >  (exit $ac_status); }; } &&
5949 >         { ac_try='test -s conftest$ac_exeext'
5950 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5951 >  (eval $ac_try) 2>&5
5952 >  ac_status=$?
5953 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5954 >  (exit $ac_status); }; }; then
5955 >  ac_cv_lib_gnugetopt_getopt_long=yes
5956 > else
5957 >  echo "$as_me: failed program was:" >&5
5958 > sed 's/^/| /' conftest.$ac_ext >&5
5959 >
5960 > ac_cv_lib_gnugetopt_getopt_long=no
5961 > fi
5962 > rm -f conftest.err conftest.$ac_objext \
5963 >      conftest$ac_exeext conftest.$ac_ext
5964 > LIBS=$ac_check_lib_save_LIBS
5965 > fi
5966 > echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
5967 > echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
5968 > if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
5969 >  cat >>confdefs.h <<\_ACEOF
5970 > #define HAVE_GETOPT_LONG 1
5971 > _ACEOF
5972 >
5973 > else
5974 >  # use the GNU replacement
5975 >      case $LIBOBJS in
5976 >    "getopt.$ac_objext"   | \
5977 >  *" getopt.$ac_objext"   | \
5978 >    "getopt.$ac_objext "* | \
5979 >  *" getopt.$ac_objext "* ) ;;
5980 >  *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
5981 > esac
5982 >
5983 >      case $LIBOBJS in
5984 >    "getopt1.$ac_objext"   | \
5985 >  *" getopt1.$ac_objext"   | \
5986 >    "getopt1.$ac_objext "* | \
5987 >  *" getopt1.$ac_objext "* ) ;;
5988 >  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
5989 > esac
5990 >
5991 >                ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
5992 >
5993 > fi
5994 >
5995 > fi
5996 > done
5997 >
5998 >
5999 >
6000 > case $debug in
6001 >  1)
6002 >     ;;
6003 >  *)
6004 >
6005 >
6006 >
6007 >
6008 >
6009 >
6010 > echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5
6011 > echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6
6012 > if test "${ac_cv_prog_really_gcc+set}" = set; then
6013 >  echo $ECHO_N "(cached) $ECHO_C" >&6
6014 > else
6015 >
6016 > cat > conftest.c <<EOF
6017 > #ifdef __GNUC__
6018 >  #ifndef __INTEL_COMPILER
6019 >     yes;
6020 >  #endif
6021 > #endif
6022 > EOF
6023 > if { ac_try='${CC-cc} -E conftest.c'
6024 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6025 >  (eval $ac_try) 2>&5
6026 >  ac_status=$?
6027 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6028 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6029 >  ac_cv_prog_really_gcc=yes
6030 > else
6031 >  ac_cv_prog_really_gcc=no
6032 > fi
6033 >
6034 > fi
6035 > echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5
6036 > echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6
6037 > if test "$ac_cv_prog_really_gcc" = yes; then
6038 >        :
6039 >
6040 > else
6041 >        :
6042 >
6043 > fi
6044 >
6045 >
6046 > # Try to determine "good" native compiler flags if none specified on command
6047 > # line
6048 > if test "$ac_test_CFLAGS" != "set"; then
6049 >  CFLAGS=""
6050 >  case "${host_cpu}-${host_os}" in
6051 >
6052 >  *linux*) if test "$CC" = icc; then
6053 >                    CFLAGS="-O"
6054 >                fi;;
6055 >  sparc-solaris2*) if test "$CC" = cc; then
6056 >                    CFLAGS="-native -fast -xO5 -dalign"
6057 >                 fi;;
6058 >
6059 >  alpha*-osf*)  if test "$CC" = cc; then
6060 >                    CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1"
6061 >                fi;;
6062 >
6063 >  hppa*-hpux*)  if test "$CC" = cc; then
6064 >                    CFLAGS="-Ae +O3 +Oall"
6065 >                fi;;
6066 >
6067 >   rs6000*-aix*)  if test "$CC" = cc -o "$CC" = xlc; then
6068 >                    CFLAGS="-O3 -qtune=auto -qansialias -w"
6069 >                fi;;
6070 >   powerpc*-aix*)
6071 >        if test "$CC" = cc -o "$CC" = xlc; then
6072 >                CFLAGS="-O3 -qtune=auto -qansialias -w"
6073 >                echo "*******************************************************"
6074 >                echo "*  You have AIX on an unknown powerpc system.  It is  *"
6075 >                echo "*  recommended that you use                           *"
6076 >                echo "*                                                     *"
6077 >                echo "*    CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
6078 >                echo "*                                 ^^^                 *"
6079 >                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
6080 >                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
6081 >                echo "*******************************************************"
6082          fi;;
6083 +   *darwin*)
6084 +        if test "$CC" = xlc -o "$CC" = cc; then
6085 +                CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
6086 +        fi;;
6087    esac
6088  
6089    # use default flags for gcc on all systems
# Line 4100 | Line 6095 | echo "$as_me:4103: checking whether ${CC-cc} accepts -
6095    if test $ac_cv_prog_really_gcc = yes; then
6096      # -malign-double for x86 systems
6097  
6098 < echo "$as_me:4103: checking whether ${CC-cc} accepts -malign-double" >&5
6098 >
6099 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -malign-double" >&5
6100   echo $ECHO_N "checking whether ${CC-cc} accepts -malign-double... $ECHO_C" >&6
6101   if test "${ac_align_double+set}" = set; then
6102    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4114 | Line 6110 | echo "$as_me:4117: result: $ac_align_double" >&5
6110   rm -f conftest*
6111  
6112   fi
6113 < echo "$as_me:4117: result: $ac_align_double" >&5
6113 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
6114   echo "${ECHO_T}$ac_align_double" >&6
6115   if test "$ac_align_double" = yes; then
6116          :
# Line 4126 | Line 6122 | echo "$as_me:4129: checking whether ${CC-cc} accepts -
6122  
6123      # -fstrict-aliasing for gcc-2.95+
6124  
6125 < echo "$as_me:4129: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
6125 >
6126 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -fstrict-aliasing" >&5
6127   echo $ECHO_N "checking whether ${CC-cc} accepts -fstrict-aliasing... $ECHO_C" >&6
6128   if test "${ac_fstrict_aliasing+set}" = set; then
6129    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4140 | Line 6137 | echo "$as_me:4143: result: $ac_fstrict_aliasing" >&5
6137   rm -f conftest*
6138  
6139   fi
6140 < echo "$as_me:4143: result: $ac_fstrict_aliasing" >&5
6140 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
6141   echo "${ECHO_T}$ac_fstrict_aliasing" >&6
6142   if test "$ac_fstrict_aliasing" = yes; then
6143          :
# Line 4157 | Line 6154 | echo "$as_me:4160: checking whether ${CC-cc} accepts -
6154                    case "${host_cpu}" in
6155            i586*)
6156  
6157 < echo "$as_me:4160: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
6157 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentium" >&5
6158   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentium... $ECHO_C" >&6
6159   if test "${ac_cpu_pentium+set}" = set; then
6160    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4171 | Line 6168 | echo "$as_me:4174: result: $ac_cpu_pentium" >&5
6168   rm -f conftest*
6169  
6170   fi
6171 < echo "$as_me:4174: result: $ac_cpu_pentium" >&5
6171 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
6172   echo "${ECHO_T}$ac_cpu_pentium" >&6
6173   if test "$ac_cpu_pentium" = yes; then
6174          :
# Line 4179 | Line 6176 | echo "$as_me:4182: checking whether ${CC-cc} accepts -
6176   else
6177          :
6178  
6179 < echo "$as_me:4182: checking whether ${CC-cc} accepts -mpentium" >&5
6179 >
6180 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentium" >&5
6181   echo $ECHO_N "checking whether ${CC-cc} accepts -mpentium... $ECHO_C" >&6
6182   if test "${ac_pentium+set}" = set; then
6183    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4193 | Line 6191 | echo "$as_me:4196: result: $ac_pentium" >&5
6191   rm -f conftest*
6192  
6193   fi
6194 < echo "$as_me:4196: result: $ac_pentium" >&5
6194 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
6195   echo "${ECHO_T}$ac_pentium" >&6
6196   if test "$ac_pentium" = yes; then
6197          :
# Line 4208 | Line 6206 | echo "$as_me:4211: checking whether ${CC-cc} accepts -
6206                    ;;
6207            i686*)
6208  
6209 < echo "$as_me:4211: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
6209 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=pentiumpro" >&5
6210   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=pentiumpro... $ECHO_C" >&6
6211   if test "${ac_cpu_pentiumpro+set}" = set; then
6212    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4222 | Line 6220 | echo "$as_me:4225: result: $ac_cpu_pentiumpro" >&5
6220   rm -f conftest*
6221  
6222   fi
6223 < echo "$as_me:4225: result: $ac_cpu_pentiumpro" >&5
6223 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
6224   echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
6225   if test "$ac_cpu_pentiumpro" = yes; then
6226          :
# Line 4230 | Line 6228 | echo "$as_me:4233: checking whether ${CC-cc} accepts -
6228   else
6229          :
6230  
6231 < echo "$as_me:4233: checking whether ${CC-cc} accepts -mpentiumpro" >&5
6231 >
6232 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpentiumpro" >&5
6233   echo $ECHO_N "checking whether ${CC-cc} accepts -mpentiumpro... $ECHO_C" >&6
6234   if test "${ac_pentiumpro+set}" = set; then
6235    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4244 | Line 6243 | echo "$as_me:4247: result: $ac_pentiumpro" >&5
6243   rm -f conftest*
6244  
6245   fi
6246 < echo "$as_me:4247: result: $ac_pentiumpro" >&5
6246 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
6247   echo "${ECHO_T}$ac_pentiumpro" >&6
6248   if test "$ac_pentiumpro" = yes; then
6249          :
# Line 4262 | Line 6261 | echo "$as_me:4265: checking whether ${CC-cc} accepts -
6261                  is60x=`echo $cputype | egrep "^600-9e?$"`
6262                  if test -n "$is60x"; then
6263  
6264 < echo "$as_me:4265: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
6264 >
6265 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=$cputype" >&5
6266   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=$cputype... $ECHO_C" >&6
6267   if test "${ac_m_cpu_60x+set}" = set; then
6268    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4276 | Line 6276 | echo "$as_me:4279: result: $ac_m_cpu_60x" >&5
6276   rm -f conftest*
6277  
6278   fi
6279 < echo "$as_me:4279: result: $ac_m_cpu_60x" >&5
6279 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
6280   echo "${ECHO_T}$ac_m_cpu_60x" >&6
6281   if test "$ac_m_cpu_60x" = yes; then
6282          :
# Line 4288 | Line 6288 | echo "$as_me:4291: checking whether we are using gcc 2
6288  
6289                  elif test "$cputype" = 750; then
6290  
6291 < echo "$as_me:4291: checking whether we are using gcc 2.95 or later" >&5
6291 >
6292 > echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
6293   echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
6294   if test "${ac_cv_prog_gcc_2_95+set}" = set; then
6295    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4302 | Line 6303 | if { ac_try='${CC-cc} -E conftest.c'
6303   #endif
6304   EOF
6305   if { ac_try='${CC-cc} -E conftest.c'
6306 <  { (eval echo "$as_me:4305: \"$ac_try\"") >&5
6306 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6307    (eval $ac_try) 2>&5
6308    ac_status=$?
6309 <  echo "$as_me:4308: \$? = $ac_status" >&5
6309 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6310    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6311    ac_cv_prog_gcc_2_95=yes
6312   else
# Line 4313 | Line 6314 | echo "$as_me:4316: result: $ac_cv_prog_gcc_2_95" >&5
6314   fi
6315  
6316   fi
6317 < echo "$as_me:4316: result: $ac_cv_prog_gcc_2_95" >&5
6317 > echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
6318   echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
6319   if test "$ac_cv_prog_gcc_2_95" = yes; then
6320          :
6321  
6322 < echo "$as_me:4321: checking whether ${CC-cc} accepts -mcpu=750" >&5
6322 >
6323 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=750" >&5
6324   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=750... $ECHO_C" >&6
6325   if test "${ac_m_cpu_750+set}" = set; then
6326    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4332 | Line 6334 | echo "$as_me:4335: result: $ac_m_cpu_750" >&5
6334   rm -f conftest*
6335  
6336   fi
6337 < echo "$as_me:4335: result: $ac_m_cpu_750" >&5
6337 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
6338   echo "${ECHO_T}$ac_m_cpu_750" >&6
6339   if test "$ac_m_cpu_750" = yes; then
6340          :
# Line 4350 | Line 6352 | echo "$as_me:4353: checking whether ${CC-cc} accepts -
6352                  fi
6353                  if test -z "$CPU_FLAGS"; then
6354  
6355 < echo "$as_me:4353: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
6355 >
6356 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mcpu=powerpc" >&5
6357   echo $ECHO_N "checking whether ${CC-cc} accepts -mcpu=powerpc... $ECHO_C" >&6
6358   if test "${ac_m_cpu_powerpc+set}" = set; then
6359    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4364 | Line 6367 | echo "$as_me:4367: result: $ac_m_cpu_powerpc" >&5
6367   rm -f conftest*
6368  
6369   fi
6370 < echo "$as_me:4367: result: $ac_m_cpu_powerpc" >&5
6370 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
6371   echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
6372   if test "$ac_m_cpu_powerpc" = yes; then
6373          :
# Line 4377 | Line 6380 | echo "$as_me:4380: checking whether ${CC-cc} accepts -
6380                  fi
6381                  if test -z "$CPU_FLAGS"; then
6382  
6383 < echo "$as_me:4380: checking whether ${CC-cc} accepts -mpowerpc" >&5
6383 >
6384 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts -mpowerpc" >&5
6385   echo $ECHO_N "checking whether ${CC-cc} accepts -mpowerpc... $ECHO_C" >&6
6386   if test "${ac_m_powerpc+set}" = set; then
6387    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4391 | Line 6395 | echo "$as_me:4394: result: $ac_m_powerpc" >&5
6395   rm -f conftest*
6396  
6397   fi
6398 < echo "$as_me:4394: result: $ac_m_powerpc" >&5
6398 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
6399   echo "${ECHO_T}$ac_m_powerpc" >&6
6400   if test "$ac_m_powerpc" = yes; then
6401          :
# Line 4420 | Line 6424 | echo "$as_me:4423: checking whether ${CC-cc} accepts $
6424          CFLAGS="-O3"
6425    fi
6426  
6427 < echo "$as_me:4423: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
6427 >
6428 >
6429 > echo "$as_me:$LINENO: checking whether ${CC-cc} accepts ${CFLAGS}" >&5
6430   echo $ECHO_N "checking whether ${CC-cc} accepts ${CFLAGS}... $ECHO_C" >&6
6431   if test "${ac_guessed_cflags+set}" = set; then
6432    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4434 | Line 6440 | echo "$as_me:4437: result: $ac_guessed_cflags" >&5
6440   rm -f conftest*
6441  
6442   fi
6443 < echo "$as_me:4437: result: $ac_guessed_cflags" >&5
6443 > echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
6444   echo "${ECHO_T}$ac_guessed_cflags" >&6
6445   if test "$ac_guessed_cflags" = yes; then
6446          :
# Line 4453 | Line 6459 | fi
6459  
6460   fi
6461  
6462 +
6463   fi
6464  
6465 < echo "$as_me:4458: checking whether we are *really* using GNU c++" >&5
6465 >
6466 >
6467 >
6468 >
6469 >
6470 >
6471 > echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5
6472   echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6
6473   if test "${ac_cv_prog_really_gxx+set}" = set; then
6474    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4469 | Line 6482 | if { ac_try='${CXX-c++} -E conftest.cpp'
6482   #endif
6483   EOF
6484   if { ac_try='${CXX-c++} -E conftest.cpp'
6485 <  { (eval echo "$as_me:4472: \"$ac_try\"") >&5
6485 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6486    (eval $ac_try) 2>&5
6487    ac_status=$?
6488 <  echo "$as_me:4475: \$? = $ac_status" >&5
6488 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6489    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6490    ac_cv_prog_really_gxx=yes
6491   else
# Line 4480 | Line 6493 | echo "$as_me:4483: result: $ac_cv_prog_really_gxx" >&5
6493   fi
6494  
6495   fi
6496 < echo "$as_me:4483: result: $ac_cv_prog_really_gxx" >&5
6496 > echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5
6497   echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6
6498   if test "$ac_cv_prog_really_gxx" = yes; then
6499          :
# Line 4490 | Line 6503 | fi
6503  
6504   fi
6505  
6506 +
6507   # Try to determine "good" native compiler flags if none specified on command
6508   # line
6509   if test "$ac_test_CXXFLAGS" != "set"; then
# Line 4533 | Line 6547 | echo "$as_me:4536: checking whether ${CXX-c++} accepts
6547    if test $ac_cv_prog_really_gxx = yes; then
6548      # -malign-double for x86 systems
6549  
6550 < echo "$as_me:4536: checking whether ${CXX-c++} accepts -malign-double" >&5
6550 >
6551 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -malign-double" >&5
6552   echo $ECHO_N "checking whether ${CXX-c++} accepts -malign-double... $ECHO_C" >&6
6553   if test "${ac_align_double+set}" = set; then
6554    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4547 | Line 6562 | echo "$as_me:4550: result: $ac_align_double" >&5
6562   rm -f conftest*
6563  
6564   fi
6565 < echo "$as_me:4550: result: $ac_align_double" >&5
6565 > echo "$as_me:$LINENO: result: $ac_align_double" >&5
6566   echo "${ECHO_T}$ac_align_double" >&6
6567   if test "$ac_align_double" = yes; then
6568          :
# Line 4559 | Line 6574 | echo "$as_me:4562: checking whether ${CXX-c++} accepts
6574  
6575      # -fstrict-aliasing for gcc-2.95+
6576  
6577 < echo "$as_me:4562: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
6577 >
6578 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -fstrict-aliasing" >&5
6579   echo $ECHO_N "checking whether ${CXX-c++} accepts -fstrict-aliasing... $ECHO_C" >&6
6580   if test "${ac_fstrict_aliasing+set}" = set; then
6581    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4573 | Line 6589 | echo "$as_me:4576: result: $ac_fstrict_aliasing" >&5
6589   rm -f conftest*
6590  
6591   fi
6592 < echo "$as_me:4576: result: $ac_fstrict_aliasing" >&5
6592 > echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
6593   echo "${ECHO_T}$ac_fstrict_aliasing" >&6
6594   if test "$ac_fstrict_aliasing" = yes; then
6595          :
# Line 4590 | Line 6606 | echo "$as_me:4593: checking whether ${CXX-c++} accepts
6606                    case "${host_cpu}" in
6607            i586*)
6608  
6609 < echo "$as_me:4593: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5
6609 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentium" >&5
6610   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentium... $ECHO_C" >&6
6611   if test "${ac_cpu_pentium+set}" = set; then
6612    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4604 | Line 6620 | echo "$as_me:4607: result: $ac_cpu_pentium" >&5
6620   rm -f conftest*
6621  
6622   fi
6623 < echo "$as_me:4607: result: $ac_cpu_pentium" >&5
6623 > echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
6624   echo "${ECHO_T}$ac_cpu_pentium" >&6
6625   if test "$ac_cpu_pentium" = yes; then
6626          :
# Line 4612 | Line 6628 | echo "$as_me:4615: checking whether ${CXX-c++} accepts
6628   else
6629          :
6630  
6631 < echo "$as_me:4615: checking whether ${CXX-c++} accepts -mpentium" >&5
6631 >
6632 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentium" >&5
6633   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentium... $ECHO_C" >&6
6634   if test "${ac_pentium+set}" = set; then
6635    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4626 | Line 6643 | echo "$as_me:4629: result: $ac_pentium" >&5
6643   rm -f conftest*
6644  
6645   fi
6646 < echo "$as_me:4629: result: $ac_pentium" >&5
6646 > echo "$as_me:$LINENO: result: $ac_pentium" >&5
6647   echo "${ECHO_T}$ac_pentium" >&6
6648   if test "$ac_pentium" = yes; then
6649          :
# Line 4641 | Line 6658 | echo "$as_me:4644: checking whether ${CXX-c++} accepts
6658                    ;;
6659            i686*)
6660  
6661 < echo "$as_me:4644: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
6661 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=pentiumpro" >&5
6662   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=pentiumpro... $ECHO_C" >&6
6663   if test "${ac_cpu_pentiumpro+set}" = set; then
6664    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4655 | Line 6672 | echo "$as_me:4658: result: $ac_cpu_pentiumpro" >&5
6672   rm -f conftest*
6673  
6674   fi
6675 < echo "$as_me:4658: result: $ac_cpu_pentiumpro" >&5
6675 > echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
6676   echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
6677   if test "$ac_cpu_pentiumpro" = yes; then
6678          :
# Line 4663 | Line 6680 | echo "$as_me:4666: checking whether ${CXX-c++} accepts
6680   else
6681          :
6682  
6683 < echo "$as_me:4666: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
6683 >
6684 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpentiumpro" >&5
6685   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpentiumpro... $ECHO_C" >&6
6686   if test "${ac_pentiumpro+set}" = set; then
6687    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4677 | Line 6695 | echo "$as_me:4680: result: $ac_pentiumpro" >&5
6695   rm -f conftest*
6696  
6697   fi
6698 < echo "$as_me:4680: result: $ac_pentiumpro" >&5
6698 > echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
6699   echo "${ECHO_T}$ac_pentiumpro" >&6
6700   if test "$ac_pentiumpro" = yes; then
6701          :
# Line 4695 | Line 6713 | echo "$as_me:4698: checking whether ${CXX-c++} accepts
6713                  is60x=`echo $cputype | egrep "^600-9e?$"`
6714                  if test -n "$is60x"; then
6715  
6716 < echo "$as_me:4698: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
6716 >
6717 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=$cputype" >&5
6718   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=$cputype... $ECHO_C" >&6
6719   if test "${ac_m_cpu_60x+set}" = set; then
6720    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4709 | Line 6728 | echo "$as_me:4712: result: $ac_m_cpu_60x" >&5
6728   rm -f conftest*
6729  
6730   fi
6731 < echo "$as_me:4712: result: $ac_m_cpu_60x" >&5
6731 > echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
6732   echo "${ECHO_T}$ac_m_cpu_60x" >&6
6733   if test "$ac_m_cpu_60x" = yes; then
6734          :
# Line 4721 | Line 6740 | echo "$as_me:4724: checking whether we are using g++ 2
6740  
6741                  elif test "$cputype" = 750; then
6742  
6743 < echo "$as_me:4724: checking whether we are using g++ 2.95 or later" >&5
6743 >
6744 > echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5
6745   echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6
6746   if test "${ac_cv_prog_gxx_2_95+set}" = set; then
6747    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4735 | Line 6755 | if { ac_try='${CXX-c++} -E conftest.cpp'
6755   #endif
6756   EOF
6757   if { ac_try='${CXX-c++} -E conftest.cpp'
6758 <  { (eval echo "$as_me:4738: \"$ac_try\"") >&5
6758 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6759    (eval $ac_try) 2>&5
6760    ac_status=$?
6761 <  echo "$as_me:4741: \$? = $ac_status" >&5
6761 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762    (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
6763    ac_cv_prog_gxx_2_95=yes
6764   else
# Line 4746 | Line 6766 | echo "$as_me:4749: result: $ac_cv_prog_gxx_2_95" >&5
6766   fi
6767  
6768   fi
6769 < echo "$as_me:4749: result: $ac_cv_prog_gxx_2_95" >&5
6769 > echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5
6770   echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6
6771   if test "$ac_cv_prog_gxx_2_95" = yes; then
6772          :
6773  
6774 < echo "$as_me:4754: checking whether ${CXX-c++} accepts -mcpu=750" >&5
6774 >
6775 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=750" >&5
6776   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=750... $ECHO_C" >&6
6777   if test "${ac_m_cpu_750+set}" = set; then
6778    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4765 | Line 6786 | echo "$as_me:4768: result: $ac_m_cpu_750" >&5
6786   rm -f conftest*
6787  
6788   fi
6789 < echo "$as_me:4768: result: $ac_m_cpu_750" >&5
6789 > echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
6790   echo "${ECHO_T}$ac_m_cpu_750" >&6
6791   if test "$ac_m_cpu_750" = yes; then
6792          :
# Line 4783 | Line 6804 | echo "$as_me:4786: checking whether ${CXX-c++} accepts
6804                  fi
6805                  if test -z "$CPU_FLAGS"; then
6806  
6807 < echo "$as_me:4786: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
6807 >
6808 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mcpu=powerpc" >&5
6809   echo $ECHO_N "checking whether ${CXX-c++} accepts -mcpu=powerpc... $ECHO_C" >&6
6810   if test "${ac_m_cpu_powerpc+set}" = set; then
6811    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4797 | Line 6819 | echo "$as_me:4800: result: $ac_m_cpu_powerpc" >&5
6819   rm -f conftest*
6820  
6821   fi
6822 < echo "$as_me:4800: result: $ac_m_cpu_powerpc" >&5
6822 > echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
6823   echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
6824   if test "$ac_m_cpu_powerpc" = yes; then
6825          :
# Line 4810 | Line 6832 | echo "$as_me:4813: checking whether ${CXX-c++} accepts
6832                  fi
6833                  if test -z "$CPU_FLAGS"; then
6834  
6835 < echo "$as_me:4813: checking whether ${CXX-c++} accepts -mpowerpc" >&5
6835 >
6836 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts -mpowerpc" >&5
6837   echo $ECHO_N "checking whether ${CXX-c++} accepts -mpowerpc... $ECHO_C" >&6
6838   if test "${ac_m_powerpc+set}" = set; then
6839    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4824 | Line 6847 | echo "$as_me:4827: result: $ac_m_powerpc" >&5
6847   rm -f conftest*
6848  
6849   fi
6850 < echo "$as_me:4827: result: $ac_m_powerpc" >&5
6850 > echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
6851   echo "${ECHO_T}$ac_m_powerpc" >&6
6852   if test "$ac_m_powerpc" = yes; then
6853          :
# Line 4853 | Line 6876 | echo "$as_me:4856: checking whether ${CXX-c++} accepts
6876          CXXFLAGS="-O3"
6877    fi
6878  
6879 < echo "$as_me:4856: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
6879 >
6880 >
6881 > echo "$as_me:$LINENO: checking whether ${CXX-c++} accepts ${CXXFLAGS}" >&5
6882   echo $ECHO_N "checking whether ${CXX-c++} accepts ${CXXFLAGS}... $ECHO_C" >&6
6883   if test "${ac_guessed_cxxflags+set}" = set; then
6884    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 4867 | Line 6892 | echo "$as_me:4870: result: $ac_guessed_cxxflags" >&5
6892   rm -f conftest*
6893  
6894   fi
6895 < echo "$as_me:4870: result: $ac_guessed_cxxflags" >&5
6895 > echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5
6896   echo "${ECHO_T}$ac_guessed_cxxflags" >&6
6897   if test "$ac_guessed_cxxflags" = yes; then
6898          :
# Line 4886 | Line 6911 | fi
6911  
6912   fi
6913  
6914 +
6915   fi
6916  
6917 +
6918 +
6919 +
6920 +
6921   # Try to determine "good" native compiler flags if none specified on command
6922   # line
6923  
# Line 4935 | Line 6965 | echo "$as_me:4938: checking whether ${F90-f90} accepts
6965          F90FLAGS="-O3"
6966    fi
6967  
6968 < echo "$as_me:4938: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
6968 >
6969 > echo "$as_me:$LINENO: checking whether ${F90-f90} accepts ${F90FLAGS}" >&5
6970   echo $ECHO_N "checking whether ${F90-f90} accepts ${F90FLAGS}... $ECHO_C" >&6
6971   if test "${ac_guessed_f90flags+set}" = set; then
6972    echo $ECHO_N "(cached) $ECHO_C" >&6
6973   else
6974  
6975 +
6976 +
6977   ac_ext=f90
6978   ac_compile='$F90 -c $F90FLAGS conftest.$ac_ext >&5'
6979   ac_link='$F90 -o conftest$ac_exeext $F90FLAGS $LD90FLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
# Line 4949 | Line 6982 | if { (eval echo "$as_me:4952: \"$ac_compile\"") >&5
6982   echo 'program main' > conftest.$ac_ext
6983   echo 'end program main' >> conftest.$ac_ext
6984   ac_compile='${F90-f90} -c ${F90FLAGS} $F90FLAGS conftest.$ac_ext 1>&5'
6985 < if { (eval echo "$as_me:4952: \"$ac_compile\"") >&5
6985 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6986    (eval $ac_compile) 2>&5
6987    ac_status=$?
6988 <  echo "$as_me:4955: \$? = $ac_status" >&5
6988 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989    (exit $ac_status); }; then
6990          ac_guessed_f90flags=yes
6991   else
# Line 4965 | Line 6998 | fi
6998   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6999   ac_compiler_gnu=$ac_cv_c_compiler_gnu
7000  
7001 +
7002   fi
7003 < echo "$as_me:4969: result: $ac_guessed_f90flags" >&5
7003 > echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5
7004   echo "${ECHO_T}$ac_guessed_f90flags" >&6
7005   if test "$ac_guessed_f90flags" = yes; then
7006          :
# Line 4985 | Line 7019 | fi
7019  
7020   fi
7021  
7022 +
7023   fi
7024  
7025       ;;
# Line 5001 | Line 7036 | esac
7036   # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
7037   # AFS /usr/afsws/bin/install, which mishandles nonexistent args
7038   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
7039 + # OS/2's system install, which has a completely different semantic
7040   # ./install, which can be erroneously created by make from ./install.sh.
7041 < echo "$as_me:5005: checking for a BSD compatible install" >&5
7042 < echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
7041 > echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
7042 > echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
7043   if test -z "$INSTALL"; then
7044   if test "${ac_cv_path_install+set}" = set; then
7045    echo $ECHO_N "(cached) $ECHO_C" >&6
7046   else
7047 <    ac_save_IFS=$IFS; IFS=$ac_path_separator
7048 <  for ac_dir in $PATH; do
7049 <    IFS=$ac_save_IFS
7050 <    # Account for people who put trailing slashes in PATH elements.
7051 <    case $ac_dir/ in
7052 <    / | ./ | .// | /cC/* \
7053 <    | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
7054 <    | /usr/ucb/* ) ;;
7055 <    *)
7056 <      # OSF1 and SCO ODT 3.0 have their own names for install.
7057 <      # Don't use installbsd from OSF since it installs stuff as root
7058 <      # by default.
7059 <      for ac_prog in ginstall scoinst install; do
7060 <        if $as_executable_p "$ac_dir/$ac_prog"; then
7047 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7048 > for as_dir in $PATH
7049 > do
7050 >  IFS=$as_save_IFS
7051 >  test -z "$as_dir" && as_dir=.
7052 >  # Account for people who put trailing slashes in PATH elements.
7053 > case $as_dir/ in
7054 >  ./ | .// | /cC/* | \
7055 >  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
7056 >  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
7057 >  /usr/ucb/* ) ;;
7058 >  *)
7059 >    # OSF1 and SCO ODT 3.0 have their own names for install.
7060 >    # Don't use installbsd from OSF since it installs stuff as root
7061 >    # by default.
7062 >    for ac_prog in ginstall scoinst install; do
7063 >      for ac_exec_ext in '' $ac_executable_extensions; do
7064 >        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
7065            if test $ac_prog = install &&
7066 <            grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
7066 >            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7067              # AIX install.  It has an incompatible calling convention.
7068              :
7069            elif test $ac_prog = install &&
7070 <            grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
7070 >            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
7071              # program-specific install script used by HP pwplus--don't use.
7072              :
7073            else
7074 <            ac_cv_path_install="$ac_dir/$ac_prog -c"
7075 <            break 2
7074 >            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
7075 >            break 3
7076            fi
7077          fi
7078        done
7079 <      ;;
7080 <    esac
7081 <  done
7079 >    done
7080 >    ;;
7081 > esac
7082 > done
7083  
7084 +
7085   fi
7086    if test "${ac_cv_path_install+set}" = set; then
7087      INSTALL=$ac_cv_path_install
# Line 5051 | Line 7093 | echo "$as_me:5054: result: $INSTALL" >&5
7093      INSTALL=$ac_install_sh
7094    fi
7095   fi
7096 < echo "$as_me:5054: result: $INSTALL" >&5
7096 > echo "$as_me:$LINENO: result: $INSTALL" >&5
7097   echo "${ECHO_T}$INSTALL" >&6
7098  
7099   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# Line 5062 | Line 7104 | echo "$as_me:5065: checking whether ln -s works" >&5
7104  
7105   test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
7106  
7107 < echo "$as_me:5065: checking whether ln -s works" >&5
7107 > echo "$as_me:$LINENO: checking whether ln -s works" >&5
7108   echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
7109   LN_S=$as_ln_s
7110   if test "$LN_S" = "ln -s"; then
7111 <  echo "$as_me:5069: result: yes" >&5
7111 >  echo "$as_me:$LINENO: result: yes" >&5
7112   echo "${ECHO_T}yes" >&6
7113   else
7114 <  echo "$as_me:5072: result: no, using $LN_S" >&5
7114 >  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
7115   echo "${ECHO_T}no, using $LN_S" >&6
7116   fi
7117  
7118 < echo "$as_me:5076: checking whether ${MAKE-make} sets \${MAKE}" >&5
7119 < echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
7120 < set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
7118 > echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
7119 > echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
7120 > set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
7121   if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
7122    echo $ECHO_N "(cached) $ECHO_C" >&6
7123   else
7124 <  cat >conftest.make <<\EOF
7124 >  cat >conftest.make <<\_ACEOF
7125   all:
7126 <        @echo 'ac_maketemp="${MAKE}"'
7127 < EOF
7126 >        @echo 'ac_maketemp="$(MAKE)"'
7127 > _ACEOF
7128   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7129   eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
7130   if test -n "$ac_maketemp"; then
# Line 5093 | Line 7135 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_se
7135   rm -f conftest.make
7136   fi
7137   if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
7138 <  echo "$as_me:5096: result: yes" >&5
7138 >  echo "$as_me:$LINENO: result: yes" >&5
7139   echo "${ECHO_T}yes" >&6
7140    SET_MAKE=
7141   else
7142 <  echo "$as_me:5100: result: no" >&5
7142 >  echo "$as_me:$LINENO: result: no" >&5
7143   echo "${ECHO_T}no" >&6
7144    SET_MAKE="MAKE=${MAKE-make}"
7145   fi
# Line 5105 | Line 7147 | echo "$as_me:5108: checking for $ac_word" >&5
7147   if test -n "$ac_tool_prefix"; then
7148    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7149   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7150 < echo "$as_me:5108: checking for $ac_word" >&5
7150 > echo "$as_me:$LINENO: checking for $ac_word" >&5
7151   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7152   if test "${ac_cv_prog_RANLIB+set}" = set; then
7153    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5113 | Line 7155 | else
7155    if test -n "$RANLIB"; then
7156    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7157   else
7158 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
7159 < ac_dummy="$PATH"
7160 < for ac_dir in $ac_dummy; do
7161 <  IFS=$ac_save_IFS
7162 <  test -z "$ac_dir" && ac_dir=.
7163 <  $as_executable_p "$ac_dir/$ac_word" || continue
7164 < ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7165 < echo "$as_me:5123: found $ac_dir/$ac_word" >&5
7166 < break
7158 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7159 > for as_dir in $PATH
7160 > do
7161 >  IFS=$as_save_IFS
7162 >  test -z "$as_dir" && as_dir=.
7163 >  for ac_exec_ext in '' $ac_executable_extensions; do
7164 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7165 >    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7166 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7167 >    break 2
7168 >  fi
7169   done
7170 + done
7171  
7172   fi
7173   fi
7174   RANLIB=$ac_cv_prog_RANLIB
7175   if test -n "$RANLIB"; then
7176 <  echo "$as_me:5131: result: $RANLIB" >&5
7176 >  echo "$as_me:$LINENO: result: $RANLIB" >&5
7177   echo "${ECHO_T}$RANLIB" >&6
7178   else
7179 <  echo "$as_me:5134: result: no" >&5
7179 >  echo "$as_me:$LINENO: result: no" >&5
7180   echo "${ECHO_T}no" >&6
7181   fi
7182  
# Line 5140 | Line 7185 | echo "$as_me:5143: checking for $ac_word" >&5
7185    ac_ct_RANLIB=$RANLIB
7186    # Extract the first word of "ranlib", so it can be a program name with args.
7187   set dummy ranlib; ac_word=$2
7188 < echo "$as_me:5143: checking for $ac_word" >&5
7188 > echo "$as_me:$LINENO: checking for $ac_word" >&5
7189   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7190   if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7191    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5148 | Line 7193 | else
7193    if test -n "$ac_ct_RANLIB"; then
7194    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7195   else
7196 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
7197 < ac_dummy="$PATH"
7198 < for ac_dir in $ac_dummy; do
7199 <  IFS=$ac_save_IFS
7200 <  test -z "$ac_dir" && ac_dir=.
7201 <  $as_executable_p "$ac_dir/$ac_word" || continue
7202 < ac_cv_prog_ac_ct_RANLIB="ranlib"
7203 < echo "$as_me:5158: found $ac_dir/$ac_word" >&5
7204 < break
7205 < done
7206 <
7196 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7197 > for as_dir in $PATH
7198 > do
7199 >  IFS=$as_save_IFS
7200 >  test -z "$as_dir" && as_dir=.
7201 >  for ac_exec_ext in '' $ac_executable_extensions; do
7202 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7203 >    ac_cv_prog_ac_ct_RANLIB="ranlib"
7204 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7205 >    break 2
7206 >  fi
7207 > done
7208 > done
7209 >
7210    test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
7211   fi
7212   fi
7213   ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7214   if test -n "$ac_ct_RANLIB"; then
7215 <  echo "$as_me:5167: result: $ac_ct_RANLIB" >&5
7215 >  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7216   echo "${ECHO_T}$ac_ct_RANLIB" >&6
7217   else
7218 <  echo "$as_me:5170: result: no" >&5
7218 >  echo "$as_me:$LINENO: result: no" >&5
7219   echo "${ECHO_T}no" >&6
7220   fi
7221  
# Line 5180 | Line 7228 | echo "$as_me:5183: checking for $ac_word" >&5
7228   do
7229    # Extract the first word of "$ac_prog", so it can be a program name with args.
7230   set dummy $ac_prog; ac_word=$2
7231 < echo "$as_me:5183: checking for $ac_word" >&5
7231 > echo "$as_me:$LINENO: checking for $ac_word" >&5
7232   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7233   if test "${ac_cv_prog_YACC+set}" = set; then
7234    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5188 | Line 7236 | else
7236    if test -n "$YACC"; then
7237    ac_cv_prog_YACC="$YACC" # Let the user override the test.
7238   else
7239 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
7240 < ac_dummy="$PATH"
7241 < for ac_dir in $ac_dummy; do
7242 <  IFS=$ac_save_IFS
7243 <  test -z "$ac_dir" && ac_dir=.
7244 <  $as_executable_p "$ac_dir/$ac_word" || continue
7245 < ac_cv_prog_YACC="$ac_prog"
7246 < echo "$as_me:5198: found $ac_dir/$ac_word" >&5
7247 < break
7239 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7240 > for as_dir in $PATH
7241 > do
7242 >  IFS=$as_save_IFS
7243 >  test -z "$as_dir" && as_dir=.
7244 >  for ac_exec_ext in '' $ac_executable_extensions; do
7245 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7246 >    ac_cv_prog_YACC="$ac_prog"
7247 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7248 >    break 2
7249 >  fi
7250   done
7251 + done
7252  
7253   fi
7254   fi
7255   YACC=$ac_cv_prog_YACC
7256   if test -n "$YACC"; then
7257 <  echo "$as_me:5206: result: $YACC" >&5
7257 >  echo "$as_me:$LINENO: result: $YACC" >&5
7258   echo "${ECHO_T}$YACC" >&6
7259   else
7260 <  echo "$as_me:5209: result: no" >&5
7260 >  echo "$as_me:$LINENO: result: no" >&5
7261   echo "${ECHO_T}no" >&6
7262   fi
7263  
# Line 5218 | Line 7269 | echo "$as_me:5221: checking for $ac_word" >&5
7269   do
7270    # Extract the first word of "$ac_prog", so it can be a program name with args.
7271   set dummy $ac_prog; ac_word=$2
7272 < echo "$as_me:5221: checking for $ac_word" >&5
7272 > echo "$as_me:$LINENO: checking for $ac_word" >&5
7273   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7274   if test "${ac_cv_prog_LEX+set}" = set; then
7275    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5226 | Line 7277 | else
7277    if test -n "$LEX"; then
7278    ac_cv_prog_LEX="$LEX" # Let the user override the test.
7279   else
7280 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
7281 < ac_dummy="$PATH"
7282 < for ac_dir in $ac_dummy; do
7283 <  IFS=$ac_save_IFS
7284 <  test -z "$ac_dir" && ac_dir=.
7285 <  $as_executable_p "$ac_dir/$ac_word" || continue
7286 < ac_cv_prog_LEX="$ac_prog"
7287 < echo "$as_me:5236: found $ac_dir/$ac_word" >&5
7288 < break
7280 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7281 > for as_dir in $PATH
7282 > do
7283 >  IFS=$as_save_IFS
7284 >  test -z "$as_dir" && as_dir=.
7285 >  for ac_exec_ext in '' $ac_executable_extensions; do
7286 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7287 >    ac_cv_prog_LEX="$ac_prog"
7288 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7289 >    break 2
7290 >  fi
7291   done
7292 + done
7293  
7294   fi
7295   fi
7296   LEX=$ac_cv_prog_LEX
7297   if test -n "$LEX"; then
7298 <  echo "$as_me:5244: result: $LEX" >&5
7298 >  echo "$as_me:$LINENO: result: $LEX" >&5
7299   echo "${ECHO_T}$LEX" >&6
7300   else
7301 <  echo "$as_me:5247: result: no" >&5
7301 >  echo "$as_me:$LINENO: result: no" >&5
7302   echo "${ECHO_T}no" >&6
7303   fi
7304  
# Line 5254 | Line 7308 | then
7308  
7309   if test -z "$LEXLIB"
7310   then
7311 <  echo "$as_me:5257: checking for yywrap in -lfl" >&5
7311 >  echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
7312   echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
7313   if test "${ac_cv_lib_fl_yywrap+set}" = set; then
7314    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5262 | Line 7316 | cat >conftest.$ac_ext <<_ACEOF
7316    ac_check_lib_save_LIBS=$LIBS
7317   LIBS="-lfl  $LIBS"
7318   cat >conftest.$ac_ext <<_ACEOF
7319 < #line 5265 "configure"
7320 < #include "confdefs.h"
7319 > /* confdefs.h.  */
7320 > _ACEOF
7321 > cat confdefs.h >>conftest.$ac_ext
7322 > cat >>conftest.$ac_ext <<_ACEOF
7323 > /* end confdefs.h.  */
7324  
7325   /* Override any gcc2 internal prototype to avoid an error.  */
7326   #ifdef __cplusplus
# Line 5281 | Line 7338 | if { (eval echo "$as_me:5284: \"$ac_link\"") >&5
7338   }
7339   _ACEOF
7340   rm -f conftest.$ac_objext conftest$ac_exeext
7341 < if { (eval echo "$as_me:5284: \"$ac_link\"") >&5
7342 <  (eval $ac_link) 2>&5
7341 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7342 >  (eval $ac_link) 2>conftest.er1
7343    ac_status=$?
7344 <  echo "$as_me:5287: \$? = $ac_status" >&5
7344 >  grep -v '^ *+' conftest.er1 >conftest.err
7345 >  rm -f conftest.er1
7346 >  cat conftest.err >&5
7347 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7348    (exit $ac_status); } &&
7349 <         { ac_try='test -s conftest$ac_exeext'
7350 <  { (eval echo "$as_me:5290: \"$ac_try\"") >&5
7349 >         { ac_try='test -z "$ac_c_werror_flag"
7350 >                         || test ! -s conftest.err'
7351 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7352    (eval $ac_try) 2>&5
7353    ac_status=$?
7354 <  echo "$as_me:5293: \$? = $ac_status" >&5
7354 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7355 >  (exit $ac_status); }; } &&
7356 >         { ac_try='test -s conftest$ac_exeext'
7357 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7358 >  (eval $ac_try) 2>&5
7359 >  ac_status=$?
7360 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7361    (exit $ac_status); }; }; then
7362    ac_cv_lib_fl_yywrap=yes
7363   else
7364    echo "$as_me: failed program was:" >&5
7365 < cat conftest.$ac_ext >&5
7365 > sed 's/^/| /' conftest.$ac_ext >&5
7366 >
7367   ac_cv_lib_fl_yywrap=no
7368   fi
7369 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7369 > rm -f conftest.err conftest.$ac_objext \
7370 >      conftest$ac_exeext conftest.$ac_ext
7371   LIBS=$ac_check_lib_save_LIBS
7372   fi
7373 < echo "$as_me:5304: result: $ac_cv_lib_fl_yywrap" >&5
7373 > echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
7374   echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
7375   if test $ac_cv_lib_fl_yywrap = yes; then
7376    LEXLIB="-lfl"
7377   else
7378 <  echo "$as_me:5309: checking for yywrap in -ll" >&5
7378 >  echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
7379   echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
7380   if test "${ac_cv_lib_l_yywrap+set}" = set; then
7381    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5314 | Line 7383 | cat >conftest.$ac_ext <<_ACEOF
7383    ac_check_lib_save_LIBS=$LIBS
7384   LIBS="-ll  $LIBS"
7385   cat >conftest.$ac_ext <<_ACEOF
7386 < #line 5317 "configure"
7387 < #include "confdefs.h"
7386 > /* confdefs.h.  */
7387 > _ACEOF
7388 > cat confdefs.h >>conftest.$ac_ext
7389 > cat >>conftest.$ac_ext <<_ACEOF
7390 > /* end confdefs.h.  */
7391  
7392   /* Override any gcc2 internal prototype to avoid an error.  */
7393   #ifdef __cplusplus
# Line 5333 | Line 7405 | if { (eval echo "$as_me:5336: \"$ac_link\"") >&5
7405   }
7406   _ACEOF
7407   rm -f conftest.$ac_objext conftest$ac_exeext
7408 < if { (eval echo "$as_me:5336: \"$ac_link\"") >&5
7409 <  (eval $ac_link) 2>&5
7408 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7409 >  (eval $ac_link) 2>conftest.er1
7410    ac_status=$?
7411 <  echo "$as_me:5339: \$? = $ac_status" >&5
7411 >  grep -v '^ *+' conftest.er1 >conftest.err
7412 >  rm -f conftest.er1
7413 >  cat conftest.err >&5
7414 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7415    (exit $ac_status); } &&
7416 <         { ac_try='test -s conftest$ac_exeext'
7417 <  { (eval echo "$as_me:5342: \"$ac_try\"") >&5
7416 >         { ac_try='test -z "$ac_c_werror_flag"
7417 >                         || test ! -s conftest.err'
7418 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7419    (eval $ac_try) 2>&5
7420    ac_status=$?
7421 <  echo "$as_me:5345: \$? = $ac_status" >&5
7421 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7422 >  (exit $ac_status); }; } &&
7423 >         { ac_try='test -s conftest$ac_exeext'
7424 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7425 >  (eval $ac_try) 2>&5
7426 >  ac_status=$?
7427 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7428    (exit $ac_status); }; }; then
7429    ac_cv_lib_l_yywrap=yes
7430   else
7431    echo "$as_me: failed program was:" >&5
7432 < cat conftest.$ac_ext >&5
7432 > sed 's/^/| /' conftest.$ac_ext >&5
7433 >
7434   ac_cv_lib_l_yywrap=no
7435   fi
7436 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7436 > rm -f conftest.err conftest.$ac_objext \
7437 >      conftest$ac_exeext conftest.$ac_ext
7438   LIBS=$ac_check_lib_save_LIBS
7439   fi
7440 < echo "$as_me:5356: result: $ac_cv_lib_l_yywrap" >&5
7440 > echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
7441   echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
7442   if test $ac_cv_lib_l_yywrap = yes; then
7443    LEXLIB="-ll"
# Line 5364 | Line 7448 | if test "x$LEX" != "x:"; then
7448   fi
7449  
7450   if test "x$LEX" != "x:"; then
7451 <  echo "$as_me:5367: checking lex output file root" >&5
7451 >  echo "$as_me:$LINENO: checking lex output file root" >&5
7452   echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
7453   if test "${ac_cv_prog_lex_root+set}" = set; then
7454    echo $ECHO_N "(cached) $ECHO_C" >&6
7455   else
7456    # The minimal lex program is just a single line: %%.  But some broken lexes
7457   # (Solaris, I think it was) want two %% lines, so accommodate them.
7458 < echo '%%
7459 < %%' | $LEX
7458 > cat >conftest.l <<_ACEOF
7459 > %%
7460 > %%
7461 > _ACEOF
7462 > { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
7463 >  (eval $LEX conftest.l) 2>&5
7464 >  ac_status=$?
7465 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7466 >  (exit $ac_status); }
7467   if test -f lex.yy.c; then
7468    ac_cv_prog_lex_root=lex.yy
7469   elif test -f lexyy.c; then
7470    ac_cv_prog_lex_root=lexyy
7471   else
7472 <  { { echo "$as_me:5381: error: cannot find output from $LEX; giving up" >&5
7472 >  { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
7473   echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
7474     { (exit 1); exit 1; }; }
7475   fi
7476   fi
7477 < echo "$as_me:5386: result: $ac_cv_prog_lex_root" >&5
7477 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
7478   echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
7479 + rm -f conftest.l
7480   LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
7481  
7482 < echo "$as_me:5390: checking whether yytext is a pointer" >&5
7482 > echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
7483   echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
7484   if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
7485    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5403 | Line 7495 | if { (eval echo "$as_me:5406: \"$ac_link\"") >&5
7495   `cat $LEX_OUTPUT_ROOT.c`
7496   _ACEOF
7497   rm -f conftest.$ac_objext conftest$ac_exeext
7498 < if { (eval echo "$as_me:5406: \"$ac_link\"") >&5
7499 <  (eval $ac_link) 2>&5
7498 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7499 >  (eval $ac_link) 2>conftest.er1
7500    ac_status=$?
7501 <  echo "$as_me:5409: \$? = $ac_status" >&5
7501 >  grep -v '^ *+' conftest.er1 >conftest.err
7502 >  rm -f conftest.er1
7503 >  cat conftest.err >&5
7504 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7505    (exit $ac_status); } &&
7506 <         { ac_try='test -s conftest$ac_exeext'
7507 <  { (eval echo "$as_me:5412: \"$ac_try\"") >&5
7506 >         { ac_try='test -z "$ac_c_werror_flag"
7507 >                         || test ! -s conftest.err'
7508 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7509    (eval $ac_try) 2>&5
7510    ac_status=$?
7511 <  echo "$as_me:5415: \$? = $ac_status" >&5
7511 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 >  (exit $ac_status); }; } &&
7513 >         { ac_try='test -s conftest$ac_exeext'
7514 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7515 >  (eval $ac_try) 2>&5
7516 >  ac_status=$?
7517 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7518    (exit $ac_status); }; }; then
7519    ac_cv_prog_lex_yytext_pointer=yes
7520   else
7521    echo "$as_me: failed program was:" >&5
7522 < cat conftest.$ac_ext >&5
7522 > sed 's/^/| /' conftest.$ac_ext >&5
7523 >
7524   fi
7525 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7525 > rm -f conftest.err conftest.$ac_objext \
7526 >      conftest$ac_exeext conftest.$ac_ext
7527   LIBS=$ac_save_LIBS
7528   rm -f "${LEX_OUTPUT_ROOT}.c"
7529  
7530   fi
7531 < echo "$as_me:5427: result: $ac_cv_prog_lex_yytext_pointer" >&5
7531 > echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
7532   echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
7533   if test $ac_cv_prog_lex_yytext_pointer = yes; then
7534  
7535 < cat >>confdefs.h <<\EOF
7535 > cat >>confdefs.h <<\_ACEOF
7536   #define YYTEXT_POINTER 1
7537 < EOF
7537 > _ACEOF
7538  
7539   fi
7540 +
7541 + fi
7542 +
7543 +   # Extract the first word of "perl", so it can be a program name with args.
7544 + set dummy perl; ac_word=$2
7545 + echo "$as_me:$LINENO: checking for $ac_word" >&5
7546 + echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7547 + if test "${ac_cv_path_PERLINTERP+set}" = set; then
7548 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7549 + else
7550 +  case $PERLINTERP in
7551 +  [\\/]* | ?:[\\/]*)
7552 +  ac_cv_path_PERLINTERP="$PERLINTERP" # Let the user override the test with a path.
7553 +  ;;
7554 +  *)
7555 +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7556 + for as_dir in $PATH
7557 + do
7558 +  IFS=$as_save_IFS
7559 +  test -z "$as_dir" && as_dir=.
7560 +  for ac_exec_ext in '' $ac_executable_extensions; do
7561 +  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7562 +    ac_cv_path_PERLINTERP="$as_dir/$ac_word$ac_exec_ext"
7563 +    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7564 +    break 2
7565 +  fi
7566 + done
7567 + done
7568 +
7569 +  test -z "$ac_cv_path_PERLINTERP" && ac_cv_path_PERLINTERP="perl"
7570 +  ;;
7571 + esac
7572 + fi
7573 + PERLINTERP=$ac_cv_path_PERLINTERP
7574 +
7575 + if test -n "$PERLINTERP"; then
7576 +  echo "$as_me:$LINENO: result: $PERLINTERP" >&5
7577 + echo "${ECHO_T}$PERLINTERP" >&6
7578 + else
7579 +  echo "$as_me:$LINENO: result: no" >&5
7580 + echo "${ECHO_T}no" >&6
7581 + fi
7582 +
7583 +   ac_cv_path_perlinterp="$PERLINTERP"
7584 +   _sHpB='#!'
7585 +
7586 +
7587 + # Check whether --with-perl-shebang or --without-perl-shebang was given.
7588 + if test "${with_perl_shebang+set}" = set; then
7589 +  withval="$with_perl_shebang"
7590 +  opt_perl_shebang="$withval"
7591 + else
7592 +                opt_perl_shebang="not_set"
7593 + fi;
7594 +   echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5
7595 + echo $ECHO_N "checking whether explicit instead of detected sharpbang is to be used... $ECHO_C" >&6
7596 + if test "${ax_cv_opt_perl_shebang+set}" = set; then
7597 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7598 + else
7599 +   case "$opt_perl_shebang" in
7600 +                      not_set  ) ax_cv_opt_perl_shebang=''
7601 +                               ;;
7602 +                         *     )
7603 +        ax_cv_opt_perl_shebang=`echo "$opt_perl_shebang" | sed -e's|^#!\s*\(.*\)$|\1|'`
7604 +                    esac
7605 +
7606 + fi
7607 + echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5
7608 + echo "${ECHO_T}$ax_cv_opt_perl_shebang" >&6
7609 +   if test "A$ax_cv_opt_perl_shebang" != "A"
7610 +     then
7611 +       ac_cv_sys_kernshrpbang_perl="$ax_cv_opt_perl_shebang"
7612 +       PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
7613 +              { echo "$as_me:$LINENO: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&5
7614 + echo "$as_me: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&6;}
7615 +
7616 + # Automatic detection of sharpbang formula starts here
7617 +     else
7618 +   _somian_shbangperl=`$PERLINTERP -V:startperl`
7619 +   negclass="[^']"; # must leave this comment:  m4 will remove the outer brackets for us, heheh
7620 +   echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5
7621 + echo $ECHO_N "checking for kernel sharpbang invocation to start perl... $ECHO_C" >&6
7622 + if test "${ac_cv_sys_kernshrpbang_perl+set}" = set; then
7623 +  echo $ECHO_N "(cached) $ECHO_C" >&6
7624 + else
7625 +  _somian_kspb_perl=`echo "$_somian_shbangperl" | sed -ne"s|.*='\($negclass*\)';$|\1|p"`
7626 +        if test "x$_somian_kspb_perl" == x
7627 +          then _somian_ksbp_warn_empty='durnit'
7628 +          else
7629 +          case "A$_somian_kspb_perl" in
7630 +                 A#!*perl* )
7631 +           ac_cv_sys_kernshrpbang_perl=`echo "$_somian_kspb_perl" | sed -e's|#!\(.*\)$|\1|'`
7632 +                        ;;
7633 +                     A*    )  _somian_ksbp_warn_defau='trouble'
7634 +                              ac_cv_sys_kernshrpbang_perl="$PERLINTERP"
7635 +          esac
7636 +        fi
7637  
7638   fi
7639 + echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5
7640 + echo "${ECHO_T}$ac_cv_sys_kernshrpbang_perl" >&6
7641 + # The above prints Checking ... result message to user.
7642 +   PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
7643 +
7644 +    if test A${_somian_ksbp_warn_empty+set} == Aset
7645 +      then   { echo "$as_me:$LINENO: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&5
7646 + echo "$as_me: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&2;}
7647 +    fi
7648 + # Inform user after printing result value
7649 +    if test A${_somian_ksbp_warn_defau+set} == Aset
7650 +      then { echo "$as_me:$LINENO: Maybe Not good -" >&5
7651 + echo "$as_me: Maybe Not good -" >&6;}
7652 +           { echo "$as_me:$LINENO: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&5
7653 + echo "$as_me: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&2;}
7654 +      else { echo "$as_me:$LINENO: OK Good result - " >&5
7655 + echo "$as_me: OK Good result - " >&6;}
7656 +           { echo "$as_me:$LINENO: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&5
7657 + echo "$as_me: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&6;}
7658 +    fi
7659 +  fi
7660 +
7661   # Extract the first word of "ar", so it can be a program name with args.
7662   set dummy ar; ac_word=$2
7663 < echo "$as_me:5440: checking for $ac_word" >&5
7663 > echo "$as_me:$LINENO: checking for $ac_word" >&5
7664   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7665   if test "${ac_cv_prog_AR+set}" = set; then
7666    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5445 | Line 7668 | else
7668    if test -n "$AR"; then
7669    ac_cv_prog_AR="$AR" # Let the user override the test.
7670   else
7671 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
7672 < ac_dummy="$PATH"
7673 < for ac_dir in $ac_dummy; do
7674 <  IFS=$ac_save_IFS
7675 <  test -z "$ac_dir" && ac_dir=.
7676 <  $as_executable_p "$ac_dir/$ac_word" || continue
7677 < ac_cv_prog_AR="ar"
7678 < echo "$as_me:5455: found $ac_dir/$ac_word" >&5
7679 < break
7671 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7672 > for as_dir in $PATH
7673 > do
7674 >  IFS=$as_save_IFS
7675 >  test -z "$as_dir" && as_dir=.
7676 >  for ac_exec_ext in '' $ac_executable_extensions; do
7677 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7678 >    ac_cv_prog_AR="ar"
7679 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7680 >    break 2
7681 >  fi
7682   done
7683 + done
7684  
7685    test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE"
7686   fi
7687   fi
7688   AR=$ac_cv_prog_AR
7689   if test -n "$AR"; then
7690 <  echo "$as_me:5464: result: $AR" >&5
7690 >  echo "$as_me:$LINENO: result: $AR" >&5
7691   echo "${ECHO_T}$AR" >&6
7692   else
7693 <  echo "$as_me:5467: result: no" >&5
7693 >  echo "$as_me:$LINENO: result: no" >&5
7694   echo "${ECHO_T}no" >&6
7695   fi
7696  
7697   if test "$AR" = "NONE"; then
7698 <  { { echo "$as_me:5472: error: --> Can't find \`ar'!" >&5
7698 >  { { echo "$as_me:$LINENO: error: --> Can't find \`ar'!" >&5
7699   echo "$as_me: error: --> Can't find \`ar'!" >&2;}
7700     { (exit 1); exit 1; }; }
7701    cat >confcache <<\_ACEOF
# Line 5482 | Line 7708 | echo "$as_me: error: --> Can't find \`ar'!" >&2;}
7708   # config.status only pays attention to the cache file if you give it
7709   # the --recheck option to rerun configure.
7710   #
7711 < # `ac_cv_env_foo' variables (set or unset) will be overriden when
7711 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
7712   # loading this file, other *unset* `ac_cv_foo' will be assigned the
7713   # following values.
7714  
# Line 5500 | Line 7726 | _ACEOF
7726        # `set' does not quote correctly, so add quotes (double-quote
7727        # substitution turns \\\\ into \\, and sed turns \\ into \).
7728        sed -n \
7729 <        "s/'/'\\\\''/g;
7730 <          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7729 >        "s/'/'\\\\''/g;
7730 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7731        ;;
7732      *)
7733        # `set' quotes correctly as required by POSIX, so do not add quotes.
7734        sed -n \
7735 <        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7735 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7736        ;;
7737      esac;
7738   } |
# Line 5517 | Line 7743 | if cmp -s $cache_file confcache; then :; else
7743       t end
7744       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7745       : end' >>confcache
7746 < if cmp -s $cache_file confcache; then :; else
7746 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
7747    if test -w $cache_file; then
7748      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7749      cat confcache >$cache_file
# Line 5531 | Line 7757 | echo "$as_me:5534: checking for $ac_word" >&5
7757  
7758   # Extract the first word of "ps", so it can be a program name with args.
7759   set dummy ps; ac_word=$2
7760 < echo "$as_me:5534: checking for $ac_word" >&5
7760 > echo "$as_me:$LINENO: checking for $ac_word" >&5
7761   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7762   if test "${ac_cv_path_PS+set}" = set; then
7763    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5541 | Line 7767 | else
7767    ac_cv_path_PS="$PS" # Let the user override the test with a path.
7768    ;;
7769    *)
7770 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
7771 < ac_dummy="$PATH"
7772 < for ac_dir in $ac_dummy; do
7773 <  IFS=$ac_save_IFS
7774 <  test -z "$ac_dir" && ac_dir=.
7775 <  if $as_executable_p "$ac_dir/$ac_word"; then
7776 <   ac_cv_path_PS="$ac_dir/$ac_word"
7777 <   echo "$as_me:5551: found $ac_dir/$ac_word" >&5
7778 <   break
7779 < fi
7770 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7771 > for as_dir in $PATH
7772 > do
7773 >  IFS=$as_save_IFS
7774 >  test -z "$as_dir" && as_dir=.
7775 >  for ac_exec_ext in '' $ac_executable_extensions; do
7776 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7777 >    ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
7778 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7779 >    break 2
7780 >  fi
7781   done
7782 + done
7783  
7784    ;;
7785   esac
# Line 5559 | Line 7787 | if test -n "$PS"; then
7787   PS=$ac_cv_path_PS
7788  
7789   if test -n "$PS"; then
7790 <  echo "$as_me:5562: result: $PS" >&5
7790 >  echo "$as_me:$LINENO: result: $PS" >&5
7791   echo "${ECHO_T}$PS" >&6
7792   else
7793 <  echo "$as_me:5565: result: no" >&5
7793 >  echo "$as_me:$LINENO: result: no" >&5
7794   echo "${ECHO_T}no" >&6
7795   fi
7796  
7797 < echo "$as_me:5569: checking for POSIX or BSD ps syntax" >&5
7797 > echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5
7798   echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6
7799   if test "${ac_cv_prog_ps_syntax+set}" = set; then
7800    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5588 | Line 7816 | else
7816                  if test "$ac_cv_prog_ps_ef" = yes; then
7817                          ac_cv_prog_ps_syntax=POSIX
7818                  else
7819 <                        { { echo "$as_me:5591: error: Could not determine ps syntax" >&5
7819 >                        { { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5
7820   echo "$as_me: error: Could not determine ps syntax" >&2;}
7821     { (exit 1); exit 1; }; }
7822                  fi
7823          fi
7824  
7825   fi
7826 < echo "$as_me:5598: result: $ac_cv_prog_ps_syntax" >&5
7826 > echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5
7827   echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6
7828  
7829 < cat >>confdefs.h <<EOF
7829 >
7830 > cat >>confdefs.h <<_ACEOF
7831   #define PSCOMMAND $PS
7832 < EOF
7832 > _ACEOF
7833  
7834 +
7835   if test "$ac_cv_prog_ps_syntax" = BSD; then
7836 <  cat >>confdefs.h <<\EOF
7836 >  cat >>confdefs.h <<\_ACEOF
7837   #define PSTYPE_IS_BSD 1
7838 < EOF
7838 > _ACEOF
7839  
7840   else
7841     if test "$ac_cv_prog_ps_syntax" = POSIX; then
7842 <       cat >>confdefs.h <<\EOF
7842 >       cat >>confdefs.h <<\_ACEOF
7843   #define PSTYPE_IS_POSIX 1
7844 < EOF
7844 > _ACEOF
7845  
7846     else
7847 <       { { echo "$as_me:5617: error: Unknown ps syntax type!" >&5
7847 >       { { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5
7848   echo "$as_me: error: Unknown ps syntax type!" >&2;}
7849     { (exit 1); exit 1; }; }
7850     fi
7851   fi
7852  
7853 +
7854   # Check whether --with-mpi or --without-mpi was given.
7855   if test "${with_mpi+set}" = set; then
7856    withval="$with_mpi"
# Line 5638 | Line 7869 | if test "$USE_MPI" = "yes"; then
7869   fi
7870   if test "$USE_MPI" = "yes"; then
7871  
7872 +
7873   # Set variables...
7874   MPI_LIB_DIR="$MPI/lib"
7875   MPI_INC_DIR="$MPI/include"
7876  
7877 < echo "$as_me:5645: checking for mpi.h" >&5
7877 >
7878 >
7879 > echo "$as_me:$LINENO: checking for mpi.h" >&5
7880   echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
7881   have_mpi_h=0
7882 + rm -f conftest*
7883   echo '#include <mpi.h>' > conftest.cc
7884 < if test -z "`${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1`"; then
7885 <        echo "$as_me:5650: result: yes" >&5
7884 > if ${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1 ; then
7885 >        echo "$as_me:$LINENO: result: yes" >&5
7886   echo "${ECHO_T}yes" >&6
7887          have_mpi_h=1
7888   else
7889 <        echo "$as_me:5654: result: no! Check MPI include paths" >&5
7889 >        if test -s conftest.out ; then
7890 >                cat conftest.out >> config.log
7891 >        fi
7892 >        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
7893   echo "${ECHO_T}no! Check MPI include paths" >&6
7894          USE_MPI="no"
7895   fi
7896   rm -f conftest*
7897   if test "$have_mpi_h" = 1; then
7898  
7899 < cat >>confdefs.h <<\EOF
7899 > cat >>confdefs.h <<\_ACEOF
7900   #define HAVE_MPI_H 1
7901 < EOF
7901 > _ACEOF
7902  
7903   fi
7904  
7905 < echo "$as_me:5667: checking whether mpif.h is usable" >&5
7905 > echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5
7906   echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6
7907   have_mpif_h=0
7908   rm -f conftest*
# Line 5674 | Line 7912 | if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out
7912   end
7913   EOF
7914   if $F90 -I$MPI_INC_DIR -c conftest.f90 > conftest.out 2>&1 ; then
7915 <        echo "$as_me:5677: result: yes" >&5
7915 >        echo "$as_me:$LINENO: result: yes" >&5
7916   echo "${ECHO_T}yes" >&6
7917          MPI_F90_INC="$MPI_INC_DIR"
7918          have_mpif_h=1
# Line 5682 | Line 7920 | else
7920          if test -s conftest.out ; then
7921                  cat conftest.out >> config.log
7922          fi
7923 <        echo "$as_me:5685: result: no! Check MPI include paths" >&5
7923 >        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
7924   echo "${ECHO_T}no! Check MPI include paths" >&6
7925          USE_MPI="no"
7926   fi
# Line 5690 | Line 7928 | cat >>confdefs.h <<\EOF
7928  
7929   if test "$have_mpif_h" = 1; then
7930  
7931 < cat >>confdefs.h <<\EOF
7931 > cat >>confdefs.h <<\_ACEOF
7932   #define HAVE_MPIF_H 1
7933 < EOF
7933 > _ACEOF
7934  
7935   fi
7936  
# Line 5706 | Line 7944 | if test x = x"$MPI_LIB"; then
7944   LDFLAGS="${LDFLAGS} -L${MPI_LIB_DIR} "
7945  
7946   if test x = x"$MPI_LIB"; then
7947 <        echo "$as_me:5709: checking for MPI_Init in -lmpich" >&5
7947 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
7948   echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
7949   if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
7950    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5714 | Line 7952 | cat >conftest.$ac_ext <<_ACEOF
7952    ac_check_lib_save_LIBS=$LIBS
7953   LIBS="-lmpich  $LIBS"
7954   cat >conftest.$ac_ext <<_ACEOF
7955 < #line 5717 "configure"
7956 < #include "confdefs.h"
7955 > /* confdefs.h.  */
7956 > _ACEOF
7957 > cat confdefs.h >>conftest.$ac_ext
7958 > cat >>conftest.$ac_ext <<_ACEOF
7959 > /* end confdefs.h.  */
7960  
7961   /* Override any gcc2 internal prototype to avoid an error.  */
7962   #ifdef __cplusplus
# Line 5733 | Line 7974 | if { (eval echo "$as_me:5736: \"$ac_link\"") >&5
7974   }
7975   _ACEOF
7976   rm -f conftest.$ac_objext conftest$ac_exeext
7977 < if { (eval echo "$as_me:5736: \"$ac_link\"") >&5
7978 <  (eval $ac_link) 2>&5
7977 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7978 >  (eval $ac_link) 2>conftest.er1
7979    ac_status=$?
7980 <  echo "$as_me:5739: \$? = $ac_status" >&5
7980 >  grep -v '^ *+' conftest.er1 >conftest.err
7981 >  rm -f conftest.er1
7982 >  cat conftest.err >&5
7983 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7984    (exit $ac_status); } &&
7985 <         { ac_try='test -s conftest$ac_exeext'
7986 <  { (eval echo "$as_me:5742: \"$ac_try\"") >&5
7985 >         { ac_try='test -z "$ac_c_werror_flag"
7986 >                         || test ! -s conftest.err'
7987 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7988    (eval $ac_try) 2>&5
7989    ac_status=$?
7990 <  echo "$as_me:5745: \$? = $ac_status" >&5
7990 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7991 >  (exit $ac_status); }; } &&
7992 >         { ac_try='test -s conftest$ac_exeext'
7993 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7994 >  (eval $ac_try) 2>&5
7995 >  ac_status=$?
7996 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7997    (exit $ac_status); }; }; then
7998    ac_cv_lib_mpich_MPI_Init=yes
7999   else
8000    echo "$as_me: failed program was:" >&5
8001 < cat conftest.$ac_ext >&5
8001 > sed 's/^/| /' conftest.$ac_ext >&5
8002 >
8003   ac_cv_lib_mpich_MPI_Init=no
8004   fi
8005 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8005 > rm -f conftest.err conftest.$ac_objext \
8006 >      conftest$ac_exeext conftest.$ac_ext
8007   LIBS=$ac_check_lib_save_LIBS
8008   fi
8009 < echo "$as_me:5756: result: $ac_cv_lib_mpich_MPI_Init" >&5
8009 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
8010   echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
8011   if test $ac_cv_lib_mpich_MPI_Init = yes; then
8012    MPI_LIB="-lmpich"
# Line 5761 | Line 8014 | if test x = x"$MPI_LIB"; then
8014  
8015   fi
8016   if test x = x"$MPI_LIB"; then
8017 <        echo "$as_me:5764: checking for MPI_Init in -lmpi" >&5
8017 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
8018   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
8019   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
8020    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5769 | Line 8022 | cat >conftest.$ac_ext <<_ACEOF
8022    ac_check_lib_save_LIBS=$LIBS
8023   LIBS="-lmpi  $LIBS"
8024   cat >conftest.$ac_ext <<_ACEOF
8025 < #line 5772 "configure"
8026 < #include "confdefs.h"
8025 > /* confdefs.h.  */
8026 > _ACEOF
8027 > cat confdefs.h >>conftest.$ac_ext
8028 > cat >>conftest.$ac_ext <<_ACEOF
8029 > /* end confdefs.h.  */
8030  
8031   /* Override any gcc2 internal prototype to avoid an error.  */
8032   #ifdef __cplusplus
# Line 5788 | Line 8044 | if { (eval echo "$as_me:5791: \"$ac_link\"") >&5
8044   }
8045   _ACEOF
8046   rm -f conftest.$ac_objext conftest$ac_exeext
8047 < if { (eval echo "$as_me:5791: \"$ac_link\"") >&5
8048 <  (eval $ac_link) 2>&5
8047 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8048 >  (eval $ac_link) 2>conftest.er1
8049    ac_status=$?
8050 <  echo "$as_me:5794: \$? = $ac_status" >&5
8050 >  grep -v '^ *+' conftest.er1 >conftest.err
8051 >  rm -f conftest.er1
8052 >  cat conftest.err >&5
8053 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8054    (exit $ac_status); } &&
8055 <         { ac_try='test -s conftest$ac_exeext'
8056 <  { (eval echo "$as_me:5797: \"$ac_try\"") >&5
8055 >         { ac_try='test -z "$ac_c_werror_flag"
8056 >                         || test ! -s conftest.err'
8057 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8058    (eval $ac_try) 2>&5
8059    ac_status=$?
8060 <  echo "$as_me:5800: \$? = $ac_status" >&5
8060 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8061 >  (exit $ac_status); }; } &&
8062 >         { ac_try='test -s conftest$ac_exeext'
8063 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8064 >  (eval $ac_try) 2>&5
8065 >  ac_status=$?
8066 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8067    (exit $ac_status); }; }; then
8068    ac_cv_lib_mpi_MPI_Init=yes
8069   else
8070    echo "$as_me: failed program was:" >&5
8071 < cat conftest.$ac_ext >&5
8071 > sed 's/^/| /' conftest.$ac_ext >&5
8072 >
8073   ac_cv_lib_mpi_MPI_Init=no
8074   fi
8075 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8075 > rm -f conftest.err conftest.$ac_objext \
8076 >      conftest$ac_exeext conftest.$ac_ext
8077   LIBS=$ac_check_lib_save_LIBS
8078   fi
8079 < echo "$as_me:5811: result: $ac_cv_lib_mpi_MPI_Init" >&5
8079 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
8080   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
8081   if test $ac_cv_lib_mpi_MPI_Init = yes; then
8082    MPI_LIB="-lmpi"
# Line 5817 | Line 8085 | if test x = x"$MPI_LIB"; then
8085   fi
8086   $as_unset ac_cv_lib_mpi_MPI_Init
8087   if test x = x"$MPI_LIB"; then
8088 <        echo "$as_me:5820: checking for MPI_Init in -lmpi" >&5
8088 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
8089   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
8090   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
8091    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5825 | Line 8093 | cat >conftest.$ac_ext <<_ACEOF
8093    ac_check_lib_save_LIBS=$LIBS
8094   LIBS="-lmpi "-llam" $LIBS"
8095   cat >conftest.$ac_ext <<_ACEOF
8096 < #line 5828 "configure"
8097 < #include "confdefs.h"
8096 > /* confdefs.h.  */
8097 > _ACEOF
8098 > cat confdefs.h >>conftest.$ac_ext
8099 > cat >>conftest.$ac_ext <<_ACEOF
8100 > /* end confdefs.h.  */
8101  
8102   /* Override any gcc2 internal prototype to avoid an error.  */
8103   #ifdef __cplusplus
# Line 5844 | Line 8115 | if { (eval echo "$as_me:5847: \"$ac_link\"") >&5
8115   }
8116   _ACEOF
8117   rm -f conftest.$ac_objext conftest$ac_exeext
8118 < if { (eval echo "$as_me:5847: \"$ac_link\"") >&5
8119 <  (eval $ac_link) 2>&5
8118 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8119 >  (eval $ac_link) 2>conftest.er1
8120    ac_status=$?
8121 <  echo "$as_me:5850: \$? = $ac_status" >&5
8121 >  grep -v '^ *+' conftest.er1 >conftest.err
8122 >  rm -f conftest.er1
8123 >  cat conftest.err >&5
8124 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8125    (exit $ac_status); } &&
8126 <         { ac_try='test -s conftest$ac_exeext'
8127 <  { (eval echo "$as_me:5853: \"$ac_try\"") >&5
8126 >         { ac_try='test -z "$ac_c_werror_flag"
8127 >                         || test ! -s conftest.err'
8128 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8129    (eval $ac_try) 2>&5
8130    ac_status=$?
8131 <  echo "$as_me:5856: \$? = $ac_status" >&5
8131 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132 >  (exit $ac_status); }; } &&
8133 >         { ac_try='test -s conftest$ac_exeext'
8134 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8135 >  (eval $ac_try) 2>&5
8136 >  ac_status=$?
8137 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8138    (exit $ac_status); }; }; then
8139    ac_cv_lib_mpi_MPI_Init=yes
8140   else
8141    echo "$as_me: failed program was:" >&5
8142 < cat conftest.$ac_ext >&5
8142 > sed 's/^/| /' conftest.$ac_ext >&5
8143 >
8144   ac_cv_lib_mpi_MPI_Init=no
8145   fi
8146 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8146 > rm -f conftest.err conftest.$ac_objext \
8147 >      conftest$ac_exeext conftest.$ac_ext
8148   LIBS=$ac_check_lib_save_LIBS
8149   fi
8150 < echo "$as_me:5867: result: $ac_cv_lib_mpi_MPI_Init" >&5
8150 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
8151   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
8152   if test $ac_cv_lib_mpi_MPI_Init = yes; then
8153    MPI_LIB="-lmpi -llam"
# Line 5873 | Line 8156 | if test x = x"$MPI_LIB"; then
8156   fi
8157   $as_unset ac_cv_lib_mpich_MPI_Init
8158   if test x = x"$MPI_LIB"; then
8159 <        echo "$as_me:5876: checking for MPI_Init in -lmpich" >&5
8159 >        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
8160   echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
8161   if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
8162    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5881 | Line 8164 | cat >conftest.$ac_ext <<_ACEOF
8164    ac_check_lib_save_LIBS=$LIBS
8165   LIBS="-lmpich "-lpmpich" $LIBS"
8166   cat >conftest.$ac_ext <<_ACEOF
8167 < #line 5884 "configure"
8168 < #include "confdefs.h"
8167 > /* confdefs.h.  */
8168 > _ACEOF
8169 > cat confdefs.h >>conftest.$ac_ext
8170 > cat >>conftest.$ac_ext <<_ACEOF
8171 > /* end confdefs.h.  */
8172  
8173   /* Override any gcc2 internal prototype to avoid an error.  */
8174   #ifdef __cplusplus
# Line 5900 | Line 8186 | if { (eval echo "$as_me:5903: \"$ac_link\"") >&5
8186   }
8187   _ACEOF
8188   rm -f conftest.$ac_objext conftest$ac_exeext
8189 < if { (eval echo "$as_me:5903: \"$ac_link\"") >&5
8190 <  (eval $ac_link) 2>&5
8189 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8190 >  (eval $ac_link) 2>conftest.er1
8191    ac_status=$?
8192 <  echo "$as_me:5906: \$? = $ac_status" >&5
8192 >  grep -v '^ *+' conftest.er1 >conftest.err
8193 >  rm -f conftest.er1
8194 >  cat conftest.err >&5
8195 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8196    (exit $ac_status); } &&
8197 <         { ac_try='test -s conftest$ac_exeext'
8198 <  { (eval echo "$as_me:5909: \"$ac_try\"") >&5
8197 >         { ac_try='test -z "$ac_c_werror_flag"
8198 >                         || test ! -s conftest.err'
8199 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8200    (eval $ac_try) 2>&5
8201    ac_status=$?
8202 <  echo "$as_me:5912: \$? = $ac_status" >&5
8202 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8203 >  (exit $ac_status); }; } &&
8204 >         { ac_try='test -s conftest$ac_exeext'
8205 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8206 >  (eval $ac_try) 2>&5
8207 >  ac_status=$?
8208 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8209    (exit $ac_status); }; }; then
8210    ac_cv_lib_mpich_MPI_Init=yes
8211   else
8212    echo "$as_me: failed program was:" >&5
8213 < cat conftest.$ac_ext >&5
8213 > sed 's/^/| /' conftest.$ac_ext >&5
8214 >
8215   ac_cv_lib_mpich_MPI_Init=no
8216   fi
8217 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8217 > rm -f conftest.err conftest.$ac_objext \
8218 >      conftest$ac_exeext conftest.$ac_ext
8219   LIBS=$ac_check_lib_save_LIBS
8220   fi
8221 < echo "$as_me:5923: result: $ac_cv_lib_mpich_MPI_Init" >&5
8221 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
8222   echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
8223   if test $ac_cv_lib_mpich_MPI_Init = yes; then
8224    MPI_LIB="-lmpich -lpmpich"
# Line 5930 | Line 8228 | echo "$as_me:5933: checking for MPI_Init in -lmpi" >&5
8228  
8229   $as_unset ac_cv_lib_mpi_MPI_Init
8230   if test x = x"$MPI_LIB"; then
8231 < echo "$as_me:5933: checking for MPI_Init in -lmpi" >&5
8231 > echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
8232   echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
8233   if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
8234    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 5938 | Line 8236 | cat >conftest.$ac_ext <<_ACEOF
8236    ac_check_lib_save_LIBS=$LIBS
8237   LIBS="-lmpi -llam -lpthread $LIBS"
8238   cat >conftest.$ac_ext <<_ACEOF
8239 < #line 5941 "configure"
8240 < #include "confdefs.h"
8239 > /* confdefs.h.  */
8240 > _ACEOF
8241 > cat confdefs.h >>conftest.$ac_ext
8242 > cat >>conftest.$ac_ext <<_ACEOF
8243 > /* end confdefs.h.  */
8244  
8245   /* Override any gcc2 internal prototype to avoid an error.  */
8246   #ifdef __cplusplus
# Line 5957 | Line 8258 | if { (eval echo "$as_me:5960: \"$ac_link\"") >&5
8258   }
8259   _ACEOF
8260   rm -f conftest.$ac_objext conftest$ac_exeext
8261 < if { (eval echo "$as_me:5960: \"$ac_link\"") >&5
8262 <  (eval $ac_link) 2>&5
8261 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8262 >  (eval $ac_link) 2>conftest.er1
8263    ac_status=$?
8264 <  echo "$as_me:5963: \$? = $ac_status" >&5
8264 >  grep -v '^ *+' conftest.er1 >conftest.err
8265 >  rm -f conftest.er1
8266 >  cat conftest.err >&5
8267 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8268    (exit $ac_status); } &&
8269 <         { ac_try='test -s conftest$ac_exeext'
8270 <  { (eval echo "$as_me:5966: \"$ac_try\"") >&5
8269 >         { ac_try='test -z "$ac_c_werror_flag"
8270 >                         || test ! -s conftest.err'
8271 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8272    (eval $ac_try) 2>&5
8273    ac_status=$?
8274 <  echo "$as_me:5969: \$? = $ac_status" >&5
8274 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275 >  (exit $ac_status); }; } &&
8276 >         { ac_try='test -s conftest$ac_exeext'
8277 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8278 >  (eval $ac_try) 2>&5
8279 >  ac_status=$?
8280 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8281    (exit $ac_status); }; }; then
8282    ac_cv_lib_mpi_MPI_Init=yes
8283   else
8284    echo "$as_me: failed program was:" >&5
8285 < cat conftest.$ac_ext >&5
8285 > sed 's/^/| /' conftest.$ac_ext >&5
8286 >
8287   ac_cv_lib_mpi_MPI_Init=no
8288   fi
8289 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8289 > rm -f conftest.err conftest.$ac_objext \
8290 >      conftest$ac_exeext conftest.$ac_ext
8291   LIBS=$ac_check_lib_save_LIBS
8292   fi
8293 < echo "$as_me:5980: result: $ac_cv_lib_mpi_MPI_Init" >&5
8293 > echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
8294   echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
8295   if test $ac_cv_lib_mpi_MPI_Init = yes; then
8296    MPI_LIB="-lmpi -llam -lpthread"
8297   else
8298  
8299 <             { { echo "$as_me:5986: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
8299 >             { { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
8300   echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;}
8301     { (exit 1); exit 1; }; }
8302               USE_MPI="no"
# Line 5992 | Line 8305 | echo "$as_me:5995: checking for MPI Fortran library" >
8305  
8306   fi
8307  
8308 < echo "$as_me:5995: checking for MPI Fortran library" >&5
8308 >
8309 >
8310 > echo "$as_me:$LINENO: checking for MPI Fortran library" >&5
8311   echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6
8312   MPI_F90_LIB=""
8313   if test -f "$MPI_LIB_DIR/libfmpich.a" ; then
# Line 6002 | Line 8317 | echo "$as_me:6005: result: found $MPI_F90_LIB" >&5
8317   else
8318                          MPI_F90_LIB="  "
8319   fi
8320 < echo "$as_me:6005: result: found $MPI_F90_LIB" >&5
8320 > echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5
8321   echo "${ECHO_T}found $MPI_F90_LIB" >&6
8322  
8323 +
8324   fi
8325  
8326 < # Check whether --with-sprng or --without-sprng was given.
8327 < if test "${with_sprng+set}" = set; then
8328 <  withval="$with_sprng"
8329 <  with_sprng=$withval
8330 < else
8331 <  with_sprng="/usr/local"
8326 >
8327 >
8328 >
8329 > USE_CGAL=no
8330 > cgal_makefile=auto
8331 >
8332 > # Check whether --with-cgal-makefile or --without-cgal-makefile was given.
8333 > if test "${with_cgal_makefile+set}" = set; then
8334 >  withval="$with_cgal_makefile"
8335 >  cgal_makefile="$withval"
8336   fi;
8337  
8338 < 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
8338 > if test "x$cgal_makefile" != xno; then
8339  
8340 < # Set variables...
8341 < SPRNG_LIB_DIR="$SPRNG/lib"
8342 < SPRNG_INC_DIR="$SPRNG/include"
8340 >  if test "x$cgal_makefile" = xauto -a "x$CGAL_MAKEFILE" != x; then
8341 >    cgal_makefile="$CGAL_MAKEFILE"
8342 >  fi
8343  
8344 < echo "$as_me:6032: checking for sprng.h" >&5
8345 < 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
8344 >  echo "$as_me:$LINENO: checking for cgal_makefile: $cgal_makefile" >&5
8345 > echo $ECHO_N "checking for cgal_makefile: $cgal_makefile... $ECHO_C" >&6
8346  
8347 < cat >>confdefs.h <<\EOF
8348 < #define HAVE_SPRNG_H 1
8347 >  if test -f "$cgal_makefile"; then
8348 >
8349 >    cat >config.tmp.Makefile <<EOF
8350 > include $cgal_makefile
8351 > default:
8352 >        @echo CGAL_OS_COMPILER=\"\${CGAL_OS_COMPILER}\" >config.tmp.cgalvariables
8353 >        @echo CGAL_INCLDIR=\"\${CGAL_INCL_DIR}\" >>config.tmp.cgalvariables
8354 >        @echo CGAL_INCLCONFDIR=\"\${CGAL_INCL_CONF_DIR}\" >>config.tmp.cgalvariables
8355 >        @echo CGAL_LIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
8356 >        @echo CGAL_RLIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
8357 >        @echo CGAL_CXXFLAGS=\"\${CGAL_CXXFLAGS}\" >>config.tmp.cgalvariables
8358 >        @echo GMP_INCLDIR=\"\${GMP_INCL_DIR}\" >>config.tmp.cgalvariables
8359 >        @echo GMP_LIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
8360 >        @echo GMP_RLIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
8361 >        @echo LEDA_INCLDIR=\"\${LEDA_INCL_DIR}\" >>config.tmp.cgalvariables
8362 >        @echo LEDA_LIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
8363 >        @echo LEDA_RLIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
8364   EOF
8365  
8366 < fi
8366 >    make -s -f config.tmp.Makefile
8367 >    . config.tmp.cgalvariables
8368  
8369 < 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
8369 >    rm -f config.tmp.Makefile config.tmp.cgalvariables
8370  
8371 < ac_save_LDFLAGS=$LDFLAGS
8372 < LDFLAGS="${LDFLAGS} -L${SPRNG_LIB_DIR} "
8371 >    if test "x$CGAL_INCLDIR" = "x"; then
8372 >      CGAL_INCLDIR=""
8373 >    fi
8374  
8375 < echo "$as_me:6063: checking for init_rng in -lsprng" >&5
8376 < echo $ECHO_N "checking for init_rng in -lsprng... $ECHO_C" >&6
6065 < if test "${ac_cv_lib_sprng_init_rng+set}" = set; then
6066 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6067 < else
6068 <  ac_check_lib_save_LIBS=$LIBS
6069 < LIBS="-lsprng  $LIBS"
6070 < cat >conftest.$ac_ext <<_ACEOF
6071 < #line 6071 "configure"
6072 < #include "confdefs.h"
6073 <
6074 < /* Override any gcc2 internal prototype to avoid an error.  */
6075 < #ifdef __cplusplus
6076 < 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
6115 <
6116 <             { { echo "$as_me:6116: error: Didn't find libsprng; check path for SPRNG package first..." >&5
6117 < echo "$as_me: error: Didn't find libsprng; check path for SPRNG package first..." >&2;}
6118 <   { (exit 1); exit 1; }; }
6119 <             USE_SPRNG="no"
6120 <
6121 < fi
6122 <
6123 < if test "$USE_SPRNG" = "no"; then
6124 <  { { echo "$as_me:6124: error: No working SPRNG library found" >&5
6125 < echo "$as_me: error: No working SPRNG library found" >&2;}
6126 <   { (exit 1); exit 1; }; }
6127 < fi
6128 <
6129 < fi
6130 <
6131 < echo "$as_me:6131: checking if MKL is wanted" >&5
6132 < echo $ECHO_N "checking if MKL is wanted... $ECHO_C" >&6
6133 <
6134 < # Check whether --with-mkl or --without-mkl was given.
6135 < if test "${with_mkl+set}" = set; then
6136 <  withval="$with_mkl"
6137 <     echo "$as_me: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";
8375 >    if test "x$CGAL_LIBDIR" = "x"; then
8376 >      CGAL_LIBDIR=""
8377      fi
8378  
8379 <  ac_ext=c
8380 < ac_cpp='$CPP $CPPFLAGS'
8381 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6157 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6158 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
8379 >    if test "x$CGAL_RLIBDIR" = "x"; then
8380 >      CGAL_RLIBDIR=""
8381 >    fi
8382  
8383 <  ac_save_CPPFLAGS=$CPPFLAGS
8384 <  CPPFLAGS="${CPPFLAGS} -I${mkldir}/include"
8385 <  ac_save_LDFLAGS=$LDFLAGS
8386 <  LDFLAGS="${LDFLAGS} -L${mkldir}/lib/32 -lmkl -lvml -lguide"
8387 <  echo "$as_me:6164: checking for mkl.h" >&5
8388 < echo $ECHO_N "checking for mkl.h... $ECHO_C" >&6
8389 < if test "${ac_cv_header_mkl_h+set}" = set; then
8383 >    if test "x$LEDA_INCLDIR" = "x"; then
8384 >      LEDA_INCLDIR=""
8385 >    fi
8386 >
8387 >    if test "x$LEDA_LIBDIR" = "x"; then
8388 >      LEDA_LIBDIR=""
8389 >    fi
8390 >
8391 >    if test "x$LEDA_RLIBDIR" = "x"; then
8392 >      LEDA_RLIBDIR=""
8393 >    fi
8394 >
8395 >    if test "x$GMP_INCLDIR" = "x"; then
8396 >      GMP_INCLDIR=""
8397 >    fi
8398 >
8399 >    if test "x$GMP_LIBDIR" = "x"; then
8400 >      GMP_LIBDIR=""
8401 >    fi
8402 >
8403 >    if test "x$GMP_RLIBDIR" = "x"; then
8404 >      GMP_RLIBDIR=""
8405 >    fi
8406 >
8407 >    echo "$as_me:$LINENO: result: CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&5
8408 > echo "${ECHO_T}CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&6
8409 >    echo "$as_me:$LINENO: result: CGAL_INCLDIR=       $CGAL_INCLDIR" >&5
8410 > echo "${ECHO_T}CGAL_INCLDIR=       $CGAL_INCLDIR" >&6
8411 >    echo "$as_me:$LINENO: result: CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&5
8412 > echo "${ECHO_T}CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&6
8413 >    echo "$as_me:$LINENO: result: CGAL_LIBDIR=        $CGAL_LIBDIR" >&5
8414 > echo "${ECHO_T}CGAL_LIBDIR=        $CGAL_LIBDIR" >&6
8415 >    echo "$as_me:$LINENO: result: CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&5
8416 > echo "${ECHO_T}CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&6
8417 >    echo "$as_me:$LINENO: result: LEDA_INCLDIR=       $LEDA_INCLDIR" >&5
8418 > echo "${ECHO_T}LEDA_INCLDIR=       $LEDA_INCLDIR" >&6
8419 >    echo "$as_me:$LINENO: result: LEDA_LIBDIR=        $LEDA_LIBDIR" >&5
8420 > echo "${ECHO_T}LEDA_LIBDIR=        $LEDA_LIBDIR" >&6
8421 >    echo "$as_me:$LINENO: result: GMP_INCLDIR=        $GMP_INCLDIR" >&5
8422 > echo "${ECHO_T}GMP_INCLDIR=        $GMP_INCLDIR" >&6
8423 >    echo "$as_me:$LINENO: result: GMP_LIBDIR=         $GMP_LIBDIR" >&5
8424 > echo "${ECHO_T}GMP_LIBDIR=         $GMP_LIBDIR" >&6
8425 >
8426 >    ac_ext=cc
8427 > ac_cpp='$CXXCPP $CPPFLAGS'
8428 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8429 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8430 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8431 >
8432 >    save_CXXFLAGS="$CXXFLAGS"
8433 >    CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
8434 >
8435 > ac_ext=cc
8436 > ac_cpp='$CXXCPP $CPPFLAGS'
8437 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8438 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8439 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8440 > echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8441 > echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
8442 > if test -z "$CXXCPP"; then
8443 >  if test "${ac_cv_prog_CXXCPP+set}" = set; then
8444    echo $ECHO_N "(cached) $ECHO_C" >&6
8445   else
8446 +      # Double quotes because CXXCPP needs to be expanded
8447 +    for CXXCPP in "$CXX -E" "/lib/cpp"
8448 +    do
8449 +      ac_preproc_ok=false
8450 + for ac_cxx_preproc_warn_flag in '' yes
8451 + do
8452 +  # Use a header file that comes with gcc, so configuring glibc
8453 +  # with a fresh cross-compiler works.
8454 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8455 +  # <limits.h> exists even on freestanding compilers.
8456 +  # On the NeXT, cc -E runs the code through the compiler's parser,
8457 +  # not just through cpp. "Syntax error" is here to catch this case.
8458    cat >conftest.$ac_ext <<_ACEOF
8459 < #line 6170 "configure"
6171 < #include "confdefs.h"
6172 < #include <mkl.h>
8459 > /* confdefs.h.  */
8460   _ACEOF
8461 < if { (eval echo "$as_me:6174: \"$ac_cpp conftest.$ac_ext\"") >&5
8461 > cat confdefs.h >>conftest.$ac_ext
8462 > cat >>conftest.$ac_ext <<_ACEOF
8463 > /* end confdefs.h.  */
8464 > #ifdef __STDC__
8465 > # include <limits.h>
8466 > #else
8467 > # include <assert.h>
8468 > #endif
8469 >                     Syntax error
8470 > _ACEOF
8471 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8472    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8473    ac_status=$?
8474 <  egrep -v '^ *\+' conftest.er1 >conftest.err
8474 >  grep -v '^ *+' conftest.er1 >conftest.err
8475    rm -f conftest.er1
8476    cat conftest.err >&5
8477 <  echo "$as_me:6180: \$? = $ac_status" >&5
8477 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8478    (exit $ac_status); } >/dev/null; then
8479    if test -s conftest.err; then
8480 <    ac_cpp_err=$ac_c_preproc_warn_flag
8480 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
8481 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8482    else
8483      ac_cpp_err=
8484    fi
# Line 6188 | Line 8486 | if test -z "$ac_cpp_err"; then
8486    ac_cpp_err=yes
8487   fi
8488   if test -z "$ac_cpp_err"; then
8489 <  ac_cv_header_mkl_h=yes
8489 >  :
8490   else
8491    echo "$as_me: failed program was:" >&5
8492 <  cat conftest.$ac_ext >&5
8493 <  ac_cv_header_mkl_h=no
8492 > sed 's/^/| /' conftest.$ac_ext >&5
8493 >
8494 >  # Broken: fails on valid input.
8495 > continue
8496   fi
8497   rm -f conftest.err conftest.$ac_ext
6198 fi
6199 echo "$as_me:6199: result: $ac_cv_header_mkl_h" >&5
6200 echo "${ECHO_T}$ac_cv_header_mkl_h" >&6
6201 if test $ac_cv_header_mkl_h = yes; then
8498  
8499 <    echo "$as_me:6203: checking for vslNewStream in -lmkl" >&5
8500 < echo $ECHO_N "checking for vslNewStream in -lmkl... $ECHO_C" >&6
8501 < if test "${ac_cv_lib_mkl_vslNewStream+set}" = set; then
8502 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6207 < else
6208 <  ac_check_lib_save_LIBS=$LIBS
6209 < LIBS="-lmkl  $LIBS"
6210 < cat >conftest.$ac_ext <<_ACEOF
6211 < #line 6211 "configure"
6212 < #include "confdefs.h"
6213 <
6214 < /* Override any gcc2 internal prototype to avoid an error.  */
6215 < #ifdef __cplusplus
6216 < extern "C"
6217 < #endif
6218 < /* We use char because int might match the return type of a gcc2
6219 <   builtin and then its argument prototype would still apply.  */
6220 < char vslNewStream ();
6221 < int
6222 < main ()
6223 < {
6224 < vslNewStream ();
6225 <  ;
6226 <  return 0;
6227 < }
8499 >  # OK, works on sane cases.  Now check whether non-existent headers
8500 >  # can be detected and how.
8501 >  cat >conftest.$ac_ext <<_ACEOF
8502 > /* confdefs.h.  */
8503   _ACEOF
8504 < rm -f conftest.$ac_objext conftest$ac_exeext
8505 < if { (eval echo "$as_me:6230: \"$ac_link\"") >&5
8506 <  (eval $ac_link) 2>&5
8504 > cat confdefs.h >>conftest.$ac_ext
8505 > cat >>conftest.$ac_ext <<_ACEOF
8506 > /* end confdefs.h.  */
8507 > #include <ac_nonexistent.h>
8508 > _ACEOF
8509 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8510 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8511    ac_status=$?
8512 <  echo "$as_me:6233: \$? = $ac_status" >&5
8513 <  (exit $ac_status); } &&
8514 <         { ac_try='test -s conftest$ac_exeext'
8515 <  { (eval echo "$as_me:6236: \"$ac_try\"") >&5
8516 <  (eval $ac_try) 2>&5
8517 <  ac_status=$?
8518 <  echo "$as_me:6239: \$? = $ac_status" >&5
8519 <  (exit $ac_status); }; }; then
8520 <  ac_cv_lib_mkl_vslNewStream=yes
8512 >  grep -v '^ *+' conftest.er1 >conftest.err
8513 >  rm -f conftest.er1
8514 >  cat conftest.err >&5
8515 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516 >  (exit $ac_status); } >/dev/null; then
8517 >  if test -s conftest.err; then
8518 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
8519 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8520 >  else
8521 >    ac_cpp_err=
8522 >  fi
8523   else
8524 +  ac_cpp_err=yes
8525 + fi
8526 + if test -z "$ac_cpp_err"; then
8527 +  # Broken: success on invalid input.
8528 + continue
8529 + else
8530    echo "$as_me: failed program was:" >&5
8531 < cat conftest.$ac_ext >&5
8532 < ac_cv_lib_mkl_vslNewStream=no
8531 > sed 's/^/| /' conftest.$ac_ext >&5
8532 >
8533 >  # Passes both tests.
8534 > ac_preproc_ok=:
8535 > break
8536   fi
8537 < rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8538 < LIBS=$ac_check_lib_save_LIBS
8537 > rm -f conftest.err conftest.$ac_ext
8538 >
8539 > done
8540 > # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8541 > rm -f conftest.err conftest.$ac_ext
8542 > if $ac_preproc_ok; then
8543 >  break
8544   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
8545  
8546 +    done
8547 +    ac_cv_prog_CXXCPP=$CXXCPP
8548 +
8549 + fi
8550 +  CXXCPP=$ac_cv_prog_CXXCPP
8551   else
8552 <  MKL_INC="-I${mkldir}/include"
8552 >  ac_cv_prog_CXXCPP=$CXXCPP
8553   fi
8554 <
8555 <  CPPFLAGS=$ac_save_CPPFLAGS
8556 <  LDFLAGS=$ac_save_LDFLAGS
8554 > echo "$as_me:$LINENO: result: $CXXCPP" >&5
8555 > echo "${ECHO_T}$CXXCPP" >&6
8556 > ac_preproc_ok=false
8557 > for ac_cxx_preproc_warn_flag in '' yes
8558 > do
8559 >  # Use a header file that comes with gcc, so configuring glibc
8560 >  # with a fresh cross-compiler works.
8561 >  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8562 >  # <limits.h> exists even on freestanding compilers.
8563 >  # On the NeXT, cc -E runs the code through the compiler's parser,
8564 >  # not just through cpp. "Syntax error" is here to catch this case.
8565 >  cat >conftest.$ac_ext <<_ACEOF
8566 > /* confdefs.h.  */
8567 > _ACEOF
8568 > cat confdefs.h >>conftest.$ac_ext
8569 > cat >>conftest.$ac_ext <<_ACEOF
8570 > /* end confdefs.h.  */
8571 > #ifdef __STDC__
8572 > # include <limits.h>
8573 > #else
8574 > # include <assert.h>
8575 > #endif
8576 >                     Syntax error
8577 > _ACEOF
8578 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8579 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8580 >  ac_status=$?
8581 >  grep -v '^ *+' conftest.er1 >conftest.err
8582 >  rm -f conftest.er1
8583 >  cat conftest.err >&5
8584 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8585 >  (exit $ac_status); } >/dev/null; then
8586 >  if test -s conftest.err; then
8587 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
8588 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8589 >  else
8590 >    ac_cpp_err=
8591 >  fi
8592 > else
8593 >  ac_cpp_err=yes
8594 > fi
8595 > if test -z "$ac_cpp_err"; then
8596 >  :
8597 > else
8598 >  echo "$as_me: failed program was:" >&5
8599 > sed 's/^/| /' conftest.$ac_ext >&5
8600 >
8601 >  # Broken: fails on valid input.
8602 > continue
8603 > fi
8604 > rm -f conftest.err conftest.$ac_ext
8605 >
8606 >  # OK, works on sane cases.  Now check whether non-existent headers
8607 >  # can be detected and how.
8608 >  cat >conftest.$ac_ext <<_ACEOF
8609 > /* confdefs.h.  */
8610 > _ACEOF
8611 > cat confdefs.h >>conftest.$ac_ext
8612 > cat >>conftest.$ac_ext <<_ACEOF
8613 > /* end confdefs.h.  */
8614 > #include <ac_nonexistent.h>
8615 > _ACEOF
8616 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8617 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8618 >  ac_status=$?
8619 >  grep -v '^ *+' conftest.er1 >conftest.err
8620 >  rm -f conftest.er1
8621 >  cat conftest.err >&5
8622 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8623 >  (exit $ac_status); } >/dev/null; then
8624 >  if test -s conftest.err; then
8625 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
8626 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8627 >  else
8628 >    ac_cpp_err=
8629 >  fi
8630 > else
8631 >  ac_cpp_err=yes
8632 > fi
8633 > if test -z "$ac_cpp_err"; then
8634 >  # Broken: success on invalid input.
8635 > continue
8636 > else
8637 >  echo "$as_me: failed program was:" >&5
8638 > sed 's/^/| /' conftest.$ac_ext >&5
8639 >
8640 >  # Passes both tests.
8641 > ac_preproc_ok=:
8642 > break
8643 > fi
8644 > rm -f conftest.err conftest.$ac_ext
8645 >
8646 > done
8647 > # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8648 > rm -f conftest.err conftest.$ac_ext
8649 > if $ac_preproc_ok; then
8650 >  :
8651 > else
8652 >  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8653 > See \`config.log' for more details." >&5
8654 > echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
8655 > See \`config.log' for more details." >&2;}
8656 >   { (exit 1); exit 1; }; }
8657 > fi
8658 >
8659 > ac_ext=cc
8660 > ac_cpp='$CXXCPP $CPPFLAGS'
8661 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8662 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8663 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8664 >
8665 >
8666 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
8667 >  echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
8668 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
8669 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
8670 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8671 > fi
8672 > echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
8673 > echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
8674 > else
8675 >  # Is the header compilable?
8676 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h usability" >&5
8677 > echo $ECHO_N "checking CGAL/Cartesian.h usability... $ECHO_C" >&6
8678 > cat >conftest.$ac_ext <<_ACEOF
8679 > /* confdefs.h.  */
8680 > _ACEOF
8681 > cat confdefs.h >>conftest.$ac_ext
8682 > cat >>conftest.$ac_ext <<_ACEOF
8683 > /* end confdefs.h.  */
8684 > $ac_includes_default
8685 > #include <CGAL/Cartesian.h>
8686 > _ACEOF
8687 > rm -f conftest.$ac_objext
8688 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8689 >  (eval $ac_compile) 2>conftest.er1
8690 >  ac_status=$?
8691 >  grep -v '^ *+' conftest.er1 >conftest.err
8692 >  rm -f conftest.er1
8693 >  cat conftest.err >&5
8694 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8695 >  (exit $ac_status); } &&
8696 >         { ac_try='test -z "$ac_cxx_werror_flag"
8697 >                         || test ! -s conftest.err'
8698 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8699 >  (eval $ac_try) 2>&5
8700 >  ac_status=$?
8701 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8702 >  (exit $ac_status); }; } &&
8703 >         { ac_try='test -s conftest.$ac_objext'
8704 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8705 >  (eval $ac_try) 2>&5
8706 >  ac_status=$?
8707 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708 >  (exit $ac_status); }; }; then
8709 >  ac_header_compiler=yes
8710 > else
8711 >  echo "$as_me: failed program was:" >&5
8712 > sed 's/^/| /' conftest.$ac_ext >&5
8713 >
8714 > ac_header_compiler=no
8715 > fi
8716 > rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8717 > echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8718 > echo "${ECHO_T}$ac_header_compiler" >&6
8719 >
8720 > # Is the header present?
8721 > echo "$as_me:$LINENO: checking CGAL/Cartesian.h presence" >&5
8722 > echo $ECHO_N "checking CGAL/Cartesian.h presence... $ECHO_C" >&6
8723 > cat >conftest.$ac_ext <<_ACEOF
8724 > /* confdefs.h.  */
8725 > _ACEOF
8726 > cat confdefs.h >>conftest.$ac_ext
8727 > cat >>conftest.$ac_ext <<_ACEOF
8728 > /* end confdefs.h.  */
8729 > #include <CGAL/Cartesian.h>
8730 > _ACEOF
8731 > if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8732 >  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8733 >  ac_status=$?
8734 >  grep -v '^ *+' conftest.er1 >conftest.err
8735 >  rm -f conftest.er1
8736 >  cat conftest.err >&5
8737 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8738 >  (exit $ac_status); } >/dev/null; then
8739 >  if test -s conftest.err; then
8740 >    ac_cpp_err=$ac_cxx_preproc_warn_flag
8741 >    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
8742 >  else
8743 >    ac_cpp_err=
8744 >  fi
8745 > else
8746 >  ac_cpp_err=yes
8747 > fi
8748 > if test -z "$ac_cpp_err"; then
8749 >  ac_header_preproc=yes
8750 > else
8751 >  echo "$as_me: failed program was:" >&5
8752 > sed 's/^/| /' conftest.$ac_ext >&5
8753 >
8754 >  ac_header_preproc=no
8755 > fi
8756 > rm -f conftest.err conftest.$ac_ext
8757 > echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8758 > echo "${ECHO_T}$ac_header_preproc" >&6
8759 >
8760 > # So?  What about this header?
8761 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8762 >  yes:no: )
8763 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&5
8764 > echo "$as_me: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8765 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&5
8766 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&2;}
8767 >    ac_header_preproc=yes
8768 >    ;;
8769 >  no:yes:* )
8770 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&5
8771 > echo "$as_me: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&2;}
8772 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&5
8773 > echo "$as_me: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&2;}
8774 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&5
8775 > echo "$as_me: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&2;}
8776 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&5
8777 > echo "$as_me: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&2;}
8778 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&5
8779 > echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&2;}
8780 >    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&5
8781 > echo "$as_me: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&2;}
8782 >    (
8783 >      cat <<\_ASBOX
8784 > ## ------------------------------ ##
8785 > ## Report this to gezelter@nd.edu ##
8786 > ## ------------------------------ ##
8787 > _ASBOX
8788 >    ) |
8789 >      sed "s/^/$as_me: WARNING:     /" >&2
8790 >    ;;
8791 > esac
8792 > echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
8793 > echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
8794 > if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
8795 >  echo $ECHO_N "(cached) $ECHO_C" >&6
8796 > else
8797 >  ac_cv_header_CGAL_Cartesian_h=$ac_header_preproc
8798 > fi
8799 > echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
8800 > echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
8801 >
8802 > fi
8803 > if test $ac_cv_header_CGAL_Cartesian_h = yes; then
8804 >  cgal=yes
8805 > else
8806 >  cgal=no
8807 > fi
8808 >
8809 >
8810 >    CXXFLAGS="$save_CXXFLAGS"
8811 >
8812 >    if test "x$cgal" = xyes; then
8813 >      echo "$as_me:$LINENO: checking for CGAL version" >&5
8814 > echo $ECHO_N "checking for CGAL version... $ECHO_C" >&6
8815 >      LOCATION=${CGAL_INCLDIR}
8816 >      LOCATION=${LOCATION:-/usr/include}
8817 >      if test -f $LOCATION/CGAL/version.h; then
8818 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/version.h | sed 's/[^0-9\.]*//g'`
8819 >      else
8820 >        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/config.h | sed 's/[^0-9\.]*//g'`
8821 >      fi
8822 >      if echo $CGAL_VERSION | grep -q "^[3456789]"; then
8823 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) yes" >&5
8824 > echo "${ECHO_T}($CGAL_VERSION) yes" >&6
8825 >      else
8826 >        echo "$as_me:$LINENO: result: ($CGAL_VERSION) no" >&5
8827 > echo "${ECHO_T}($CGAL_VERSION) no" >&6
8828 >        cgal=no
8829 >      fi
8830 >    fi
8831 >
8832 >    if test "x$cgal" = xyes; then
8833 >      CGAL_LIBS="-lCGAL"
8834 >      echo "$as_me:$LINENO: checking whether CGAL uses LEDA" >&5
8835 > echo $ECHO_N "checking whether CGAL uses LEDA... $ECHO_C" >&6
8836 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_LEDA; then
8837 >        CGAL_USES_LEDA=yes
8838 >        echo "$as_me:$LINENO: result: yes" >&5
8839 > echo "${ECHO_T}yes" >&6
8840 >        CGAL_DEFINES="-DCGAL_USE_LEDA -DLEDA_PREFIX"
8841 >      else
8842 >        echo "$as_me:$LINENO: result: no" >&5
8843 > echo "${ECHO_T}no" >&6
8844 >        CGAL_USES_LEDA=no
8845 >      fi
8846 >
8847 >      echo "$as_me:$LINENO: checking whether CGAL uses GMP" >&5
8848 > echo $ECHO_N "checking whether CGAL uses GMP... $ECHO_C" >&6
8849 >      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_GMP; then
8850 >        CGAL_USES_GMP=yes
8851 >        echo "$as_me:$LINENO: result: yes" >&5
8852 > echo "${ECHO_T}yes" >&6
8853 >        CGAL_DEFINES="-DCGAL_USE_GMP $CGAL_DEFINES"
8854 >      else
8855 >        echo "$as_me:$LINENO: result: no" >&5
8856 > echo "${ECHO_T}no" >&6
8857 >        CGAL_USES_GMP=no
8858 >      fi
8859 >
8860 >      CGAL_LIBS="$CGAL_LIBS -lm"
8861 >
8862 >      CGAL_CXXFLAGS="-ftemplate-depth-50"
8863 >
8864 >      echo "$as_me:$LINENO: result: CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&5
8865 > echo "${ECHO_T}CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&6
8866 >      echo "$as_me:$LINENO: result: CGAL_USES_GMP =     $CGAL_USES_GMP" >&5
8867 > echo "${ECHO_T}CGAL_USES_GMP =     $CGAL_USES_GMP" >&6
8868 >      echo "$as_me:$LINENO: result: CGAL_INCLDIR  =     $CGAL_INCLDIR" >&5
8869 > echo "${ECHO_T}CGAL_INCLDIR  =     $CGAL_INCLDIR" >&6
8870 >      echo "$as_me:$LINENO: result: CGAL_LIBDIR   =     $CGAL_LIBDIR" >&5
8871 > echo "${ECHO_T}CGAL_LIBDIR   =     $CGAL_LIBDIR" >&6
8872 >      echo "$as_me:$LINENO: result: CGAL_DEFINES  =     $CGAL_DEFINES" >&5
8873 > echo "${ECHO_T}CGAL_DEFINES  =     $CGAL_DEFINES" >&6
8874 >      echo "$as_me:$LINENO: result: CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&5
8875 > echo "${ECHO_T}CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&6
8876 >      echo "$as_me:$LINENO: result: CGAL_LIBS     =     $CGAL_LIBS" >&5
8877 > echo "${ECHO_T}CGAL_LIBS     =     $CGAL_LIBS" >&6
8878 >    fi
8879 >
8880 >    if test "x$cgal" = xyes; then
8881 >      save_LIBS="$LIBS"
8882 >      LIBS="$LIBS -L$CGAL_LIBDIR"
8883 >      if test "x$CGAL_USES_LEDA" = xyes; then
8884 >        LIBS="-lL $LIBS -L$LEDA_LIBDIR"
8885 >      fi
8886 >      # if test "x$CGAL_USES_GMP" = xyes; then
8887 >      #   LIBS="-lgmp $LIBS $GMP_LIBDIR"
8888 >      # fi
8889 >      echo "$as_me:$LINENO: checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL" >&5
8890 > echo $ECHO_N "checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL... $ECHO_C" >&6
8891 > save_CXXFLAGS_CHECK_CXX_LIB="$CXXFLAGS"
8892 > CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
8893 > save_LIBS_CHECK_CXX_LIB="$LIBS"
8894 > LIBS="-lCGAL  $LIBS"
8895 > cat >conftest.$ac_ext <<_ACEOF
8896 > /* confdefs.h.  */
8897 > _ACEOF
8898 > cat confdefs.h >>conftest.$ac_ext
8899 > cat >>conftest.$ac_ext <<_ACEOF
8900 > /* end confdefs.h.  */
8901 > #include <CGAL/Cartesian.h>
8902 > int
8903 > main ()
8904 > {
8905 > ::CGAL::Cartesian<int>::Point_2 P
8906 >  ;
8907 >  return 0;
8908 > }
8909 > _ACEOF
8910 > rm -f conftest.$ac_objext conftest$ac_exeext
8911 > if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8912 >  (eval $ac_link) 2>conftest.er1
8913 >  ac_status=$?
8914 >  grep -v '^ *+' conftest.er1 >conftest.err
8915 >  rm -f conftest.er1
8916 >  cat conftest.err >&5
8917 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8918 >  (exit $ac_status); } &&
8919 >         { ac_try='test -z "$ac_cxx_werror_flag"
8920 >                         || test ! -s conftest.err'
8921 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8922 >  (eval $ac_try) 2>&5
8923 >  ac_status=$?
8924 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8925 >  (exit $ac_status); }; } &&
8926 >         { ac_try='test -s conftest$ac_exeext'
8927 >  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8928 >  (eval $ac_try) 2>&5
8929 >  ac_status=$?
8930 >  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8931 >  (exit $ac_status); }; }; then
8932 >  echo "$as_me:$LINENO: result: yes" >&5
8933 > echo "${ECHO_T}yes" >&6
8934 > cgal=yes
8935 > else
8936 >  echo "$as_me: failed program was:" >&5
8937 > sed 's/^/| /' conftest.$ac_ext >&5
8938 >
8939 > echo "$as_me:$LINENO: result: no" >&5
8940 > echo "${ECHO_T}no" >&6
8941 > cgal=no
8942 > fi
8943 > rm -f conftest.err conftest.$ac_objext \
8944 >      conftest$ac_exeext conftest.$ac_ext
8945 > CXXFLAGS="$save_CXXFLAGS_CHECK_CXX_LIB"
8946 > LIBS="$save_LIBS_CHECK_CXX_LIB"
8947 >      LIBS="$save_LIBS"
8948 >    fi
8949 >
8950 >  fi
8951    ac_ext=c
8952   ac_cpp='$CPP $CPPFLAGS'
8953   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8954   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8955   ac_compiler_gnu=$ac_cv_c_compiler_gnu
8956  
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
8957  
8958 + fi
8959 +
8960 + if test "x$cgal" = xyes; then
8961 +  USE_CGAL=yes
8962 +
8963 + cat >>confdefs.h <<\_ACEOF
8964 + #define HAVE_CGAL 1
8965 + _ACEOF
8966 +
8967 +
8968 + cat >>confdefs.h <<_ACEOF
8969 + #define CGAL_VERSION $CGAL_VERSION
8970 + _ACEOF
8971 +
8972 +  if ! echo $CGAL_VERSION | grep -q "^3.0"; then
8973 +    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
8974 + echo "$as_me: WARNING: *****************************************************" >&2;}
8975 +    { echo "$as_me:$LINENO: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&5
8976 + echo "$as_me: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&2;}
8977 +    { echo "$as_me:$LINENO: WARNING: *** supported versions. It may still work though. ***" >&5
8978 + echo "$as_me: WARNING: *** supported versions. It may still work though. ***" >&2;}
8979 +    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
8980 + echo "$as_me: WARNING: *****************************************************" >&2;}
8981 +  fi
8982   else
8983 +   if test "x$cgal_makefile" != xno; then
8984 +    echo "$as_me:$LINENO: result: No CGAL support. These are not the droids you want." >&5
8985 + echo "${ECHO_T}No CGAL support. These are not the droids you want." >&6
8986 +  fi
8987 +  CGAL_INCLDIR=
8988 +  CGAL_LIBDIR=
8989 +  CGAL_RLIBDIR=
8990 +  CGAL_DEFINES=
8991 +  CGAL_CXXFLAGS=
8992 +  CGAL_LIBS=
8993 + fi
8994  
6278    echo "$as_me:6278: result: no" >&5
6279 echo "${ECHO_T}no" >&6
8995  
8996 < fi;
8996 > CGAL_INC_DIR="${CGAL_INCLDIR} ${CGAL_INCLCONFDIR}"
8997  
8998 + CGAL_LIB_DIR=${CGAL_LIBDIR}
8999 +
9000 + CGAL_RLIB_DIR=${CGAL_RLIBDIR}
9001 +
9002 +
9003 +
9004 +
9005 +
9006 +
9007 +
9008   # Check whether --enable-doxygen or --disable-doxygen was given.
9009   if test "${enable_doxygen+set}" = set; then
9010    enableval="$enable_doxygen"
# Line 6309 | Line 9034 | echo "$as_me:6312: checking for $ac_word" >&5
9034   else
9035          # Extract the first word of "doxygen", so it can be a program name with args.
9036   set dummy doxygen; ac_word=$2
9037 < echo "$as_me:6312: checking for $ac_word" >&5
9037 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9038   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9039   if test "${ac_cv_path_DOXYGEN+set}" = set; then
9040    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6319 | Line 9044 | else
9044    ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
9045    ;;
9046    *)
9047 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
9048 < ac_dummy="$PATH"
9049 < for ac_dir in $ac_dummy; do
9050 <  IFS=$ac_save_IFS
9051 <  test -z "$ac_dir" && ac_dir=.
9052 <  if $as_executable_p "$ac_dir/$ac_word"; then
9053 <   ac_cv_path_DOXYGEN="$ac_dir/$ac_word"
9054 <   echo "$as_me:6329: found $ac_dir/$ac_word" >&5
9055 <   break
9056 < fi
9047 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9048 > for as_dir in $PATH
9049 > do
9050 >  IFS=$as_save_IFS
9051 >  test -z "$as_dir" && as_dir=.
9052 >  for ac_exec_ext in '' $ac_executable_extensions; do
9053 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9054 >    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
9055 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9056 >    break 2
9057 >  fi
9058   done
9059 + done
9060  
9061    ;;
9062   esac
# Line 6337 | Line 9064 | if test -n "$DOXYGEN"; then
9064   DOXYGEN=$ac_cv_path_DOXYGEN
9065  
9066   if test -n "$DOXYGEN"; then
9067 <  echo "$as_me:6340: result: $DOXYGEN" >&5
9067 >  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
9068   echo "${ECHO_T}$DOXYGEN" >&6
9069   else
9070 <  echo "$as_me:6343: result: no" >&5
9070 >  echo "$as_me:$LINENO: result: no" >&5
9071   echo "${ECHO_T}no" >&6
9072   fi
9073  
9074          if test "x$DOXYGEN" = x; then
9075                  if test "x$enable_doxygen" = xyes; then
9076 <                        { { echo "$as_me:6349: error: could not find doxygen" >&5
9076 >                        { { echo "$as_me:$LINENO: error: could not find doxygen" >&5
9077   echo "$as_me: error: could not find doxygen" >&2;}
9078     { (exit 1); exit 1; }; }
9079                  fi
# Line 6355 | Line 9082 | echo "$as_me:6358: checking for $ac_word" >&5
9082                  enable_doc=yes
9083                  # Extract the first word of "dot", so it can be a program name with args.
9084   set dummy dot; ac_word=$2
9085 < echo "$as_me:6358: checking for $ac_word" >&5
9085 > echo "$as_me:$LINENO: checking for $ac_word" >&5
9086   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9087   if test "${ac_cv_path_DOT+set}" = set; then
9088    echo $ECHO_N "(cached) $ECHO_C" >&6
# Line 6365 | Line 9092 | else
9092    ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
9093    ;;
9094    *)
9095 <  ac_save_IFS=$IFS; IFS=$ac_path_separator
9096 < ac_dummy="$PATH"
9097 < for ac_dir in $ac_dummy; do
9098 <  IFS=$ac_save_IFS
9099 <  test -z "$ac_dir" && ac_dir=.
9100 <  if $as_executable_p "$ac_dir/$ac_word"; then
9101 <   ac_cv_path_DOT="$ac_dir/$ac_word"
9102 <   echo "$as_me:6375: found $ac_dir/$ac_word" >&5
9103 <   break
9104 < fi
9095 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9096 > for as_dir in $PATH
9097 > do
9098 >  IFS=$as_save_IFS
9099 >  test -z "$as_dir" && as_dir=.
9100 >  for ac_exec_ext in '' $ac_executable_extensions; do
9101 >  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9102 >    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
9103 >    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9104 >    break 2
9105 >  fi
9106   done
9107 + done
9108  
9109    ;;
9110   esac
# Line 6383 | Line 9112 | if test -n "$DOT"; then
9112   DOT=$ac_cv_path_DOT
9113  
9114   if test -n "$DOT"; then
9115 <  echo "$as_me:6386: result: $DOT" >&5
9115 >  echo "$as_me:$LINENO: result: $DOT" >&5
9116   echo "${ECHO_T}$DOT" >&6
9117   else
9118 <  echo "$as_me:6389: result: no" >&5
9118 >  echo "$as_me:$LINENO: result: no" >&5
9119   echo "${ECHO_T}no" >&6
9120   fi
9121  
# Line 6399 | Line 9128 | if test x$DOT = x; then
9128    DOC=0
9129   fi
9130  
9131 +
9132   if test x$DOT = x; then
9133          if test "x$enable_dot" = xyes; then
9134 <                { { echo "$as_me:6404: error: could not find dot" >&5
9134 >                { { echo "$as_me:$LINENO: error: could not find dot" >&5
9135   echo "$as_me: error: could not find dot" >&2;}
9136     { (exit 1); exit 1; }; }
9137          fi
# Line 6410 | Line 9140 | OBJEXT=".$OBJEXT"
9140          enable_dot=yes
9141   fi
9142  
9143 +
9144 +
9145 +
9146 +
9147 +
9148 +
9149   OBJEXT=".$OBJEXT"
9150  
9151   OOPSE=oopse
# Line 6450 | Line 9186 | ac_config_headers="$ac_config_headers src/config.h"
9186       ;;
9187   esac
9188  
6453 ac_config_headers="$ac_config_headers src/config.h"
9189  
6455 ac_config_files="$ac_config_files make/Makefile src/utils/Makefile"
9190  
9191 +
9192 +
9193 +
9194 +
9195 +
9196 +
9197 +
9198 +
9199 +
9200 +
9201 +
9202 +
9203 +
9204 +
9205 +
9206 +          ac_config_headers="$ac_config_headers src/config.h"
9207 +
9208 +                                        ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile scripts/filepp"
9209 +
9210 +
9211   cat >confcache <<\_ACEOF
9212   # This file is a shell script that caches the results of configure
9213   # tests run on this system so they can be shared between configure
# Line 6464 | Line 9218 | cat >confcache <<\_ACEOF
9218   # config.status only pays attention to the cache file if you give it
9219   # the --recheck option to rerun configure.
9220   #
9221 < # `ac_cv_env_foo' variables (set or unset) will be overriden when
9221 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
9222   # loading this file, other *unset* `ac_cv_foo' will be assigned the
9223   # following values.
9224  
# Line 6482 | Line 9236 | _ACEOF
9236        # `set' does not quote correctly, so add quotes (double-quote
9237        # substitution turns \\\\ into \\, and sed turns \\ into \).
9238        sed -n \
9239 <        "s/'/'\\\\''/g;
9240 <          s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9239 >        "s/'/'\\\\''/g;
9240 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9241        ;;
9242      *)
9243        # `set' quotes correctly as required by POSIX, so do not add quotes.
9244        sed -n \
9245 <        "s/^\\([_$ac_cr_alnum]*_cv_[_$ac_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9245 >        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9246        ;;
9247      esac;
9248   } |
# Line 6499 | Line 9253 | if cmp -s $cache_file confcache; then :; else
9253       t end
9254       /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9255       : end' >>confcache
9256 < if cmp -s $cache_file confcache; then :; else
9256 > if diff $cache_file confcache >/dev/null 2>&1; then :; else
9257    if test -w $cache_file; then
9258      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9259      cat confcache >$cache_file
# Line 6518 | Line 9272 | if test "x$srcdir" = x.; then
9272   # trailing colons and then remove the whole line if VPATH becomes empty
9273   # (actually we leave an empty line to preserve line numbers).
9274   if test "x$srcdir" = x.; then
9275 <  ac_vpsub='/^[         ]*VPATH[        ]*=/{
9275 >  ac_vpsub='/^[  ]*VPATH[        ]*=/{
9276   s/:*\$(srcdir):*/:/;
9277   s/:*\${srcdir}:*/:/;
9278   s/:*@srcdir@:*/:/;
9279 < s/^\([^=]*=[    ]*\):*/\1/;
9279 > s/^\([^=]*=[     ]*\):*/\1/;
9280   s/:*$//;
9281 < s/^[^=]*=[      ]*$//;
9281 > s/^[^=]*=[       ]*$//;
9282   }'
9283   fi
9284  
9285   DEFS=-DHAVE_CONFIG_H
9286  
9287 + ac_libobjs=
9288 + ac_ltlibobjs=
9289 + for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9290 +  # 1. Remove the extension, and $U if already installed.
9291 +  ac_i=`echo "$ac_i" |
9292 +         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9293 +  # 2. Add them.
9294 +  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
9295 +  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
9296 + done
9297 + LIBOBJS=$ac_libobjs
9298 +
9299 + LTLIBOBJS=$ac_ltlibobjs
9300 +
9301 +
9302 +
9303   : ${CONFIG_STATUS=./config.status}
9304   ac_clean_files_save=$ac_clean_files
9305   ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9306 < { echo "$as_me:6536: creating $CONFIG_STATUS" >&5
9306 > { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9307   echo "$as_me: creating $CONFIG_STATUS" >&6;}
9308   cat >$CONFIG_STATUS <<_ACEOF
9309   #! $SHELL
9310 < # Generated automatically by configure.
9310 > # Generated by $as_me.
9311   # Run this file to recreate the current configuration.
9312   # Compiler output produced by configure, useful for debugging
9313   # configure, is in config.log if it exists.
9314  
9315   debug=false
9316 + ac_cs_recheck=false
9317 + ac_cs_silent=false
9318   SHELL=\${CONFIG_SHELL-$SHELL}
6547 ac_cs_invocation="\$0 \$@"
6548
9319   _ACEOF
9320  
9321   cat >>$CONFIG_STATUS <<\_ACEOF
9322 + ## --------------------- ##
9323 + ## M4sh Initialization.  ##
9324 + ## --------------------- ##
9325 +
9326   # Be Bourne compatible
9327   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9328    emulate sh
9329    NULLCMD=:
9330 +  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9331 +  # is contrary to our usage.  Disable this feature.
9332 +  alias -g '${1+"$@"}'='"$@"'
9333   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9334    set -o posix
9335   fi
9336 + DUALCASE=1; export DUALCASE # for MKS sh
9337  
9338 + # Support unset when possible.
9339 + if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9340 +  as_unset=unset
9341 + else
9342 +  as_unset=false
9343 + fi
9344 +
9345 +
9346 + # Work around bugs in pre-3.0 UWIN ksh.
9347 + $as_unset ENV MAIL MAILPATH
9348 + PS1='$ '
9349 + PS2='> '
9350 + PS4='+ '
9351 +
9352 + # NLS nuisances.
9353 + for as_var in \
9354 +  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9355 +  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9356 +  LC_TELEPHONE LC_TIME
9357 + do
9358 +  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9359 +    eval $as_var=C; export $as_var
9360 +  else
9361 +    $as_unset $as_var
9362 +  fi
9363 + done
9364 +
9365 + # Required to use basename.
9366 + if expr a : '\(a\)' >/dev/null 2>&1; then
9367 +  as_expr=expr
9368 + else
9369 +  as_expr=false
9370 + fi
9371 +
9372 + if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
9373 +  as_basename=basename
9374 + else
9375 +  as_basename=false
9376 + fi
9377 +
9378 +
9379   # Name of the executable.
9380 < as_me=`echo "$0" |sed 's,.*[\\/],,'`
9380 > as_me=`$as_basename "$0" ||
9381 > $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9382 >         X"$0" : 'X\(//\)$' \| \
9383 >         X"$0" : 'X\(/\)$' \| \
9384 >         .     : '\(.\)' 2>/dev/null ||
9385 > echo X/"$0" |
9386 >    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9387 >          /^X\/\(\/\/\)$/{ s//\1/; q; }
9388 >          /^X\/\(\/\).*/{ s//\1/; q; }
9389 >          s/.*/./; q'`
9390  
9391 +
9392 + # PATH needs CR, and LINENO needs CR and PATH.
9393 + # Avoid depending upon Character Ranges.
9394 + as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9395 + as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9396 + as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9397 + as_cr_digits='0123456789'
9398 + as_cr_alnum=$as_cr_Letters$as_cr_digits
9399 +
9400 + # The user is always right.
9401 + if test "${PATH_SEPARATOR+set}" != set; then
9402 +  echo "#! /bin/sh" >conf$$.sh
9403 +  echo  "exit 0"   >>conf$$.sh
9404 +  chmod +x conf$$.sh
9405 +  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9406 +    PATH_SEPARATOR=';'
9407 +  else
9408 +    PATH_SEPARATOR=:
9409 +  fi
9410 +  rm -f conf$$.sh
9411 + fi
9412 +
9413 +
9414 +  as_lineno_1=$LINENO
9415 +  as_lineno_2=$LINENO
9416 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9417 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
9418 +  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
9419 +  # Find who we are.  Look in the path if we contain no path at all
9420 +  # relative or not.
9421 +  case $0 in
9422 +    *[\\/]* ) as_myself=$0 ;;
9423 +    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9424 + for as_dir in $PATH
9425 + do
9426 +  IFS=$as_save_IFS
9427 +  test -z "$as_dir" && as_dir=.
9428 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9429 + done
9430 +
9431 +       ;;
9432 +  esac
9433 +  # We did not find ourselves, most probably we were run as `sh COMMAND'
9434 +  # in which case we are not to be found in the path.
9435 +  if test "x$as_myself" = x; then
9436 +    as_myself=$0
9437 +  fi
9438 +  if test ! -f "$as_myself"; then
9439 +    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
9440 + echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
9441 +   { (exit 1); exit 1; }; }
9442 +  fi
9443 +  case $CONFIG_SHELL in
9444 +  '')
9445 +    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9446 + for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
9447 + do
9448 +  IFS=$as_save_IFS
9449 +  test -z "$as_dir" && as_dir=.
9450 +  for as_base in sh bash ksh sh5; do
9451 +         case $as_dir in
9452 +         /*)
9453 +           if ("$as_dir/$as_base" -c '
9454 +  as_lineno_1=$LINENO
9455 +  as_lineno_2=$LINENO
9456 +  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9457 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
9458 +  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
9459 +             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
9460 +             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
9461 +             CONFIG_SHELL=$as_dir/$as_base
9462 +             export CONFIG_SHELL
9463 +             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9464 +           fi;;
9465 +         esac
9466 +       done
9467 + done
9468 + ;;
9469 +  esac
9470 +
9471 +  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9472 +  # uniformly replaced by the line number.  The first 'sed' inserts a
9473 +  # line-number line before each line; the second 'sed' does the real
9474 +  # work.  The second script uses 'N' to pair each line-number line
9475 +  # with the numbered line, and appends trailing '-' during
9476 +  # substitution so that $LINENO is not a special case at line end.
9477 +  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9478 +  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
9479 +  sed '=' <$as_myself |
9480 +    sed '
9481 +      N
9482 +      s,$,-,
9483 +      : loop
9484 +      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9485 +      t loop
9486 +      s,-$,,
9487 +      s,^['$as_cr_digits']*\n,,
9488 +    ' >$as_me.lineno &&
9489 +  chmod +x $as_me.lineno ||
9490 +    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9491 + echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9492 +   { (exit 1); exit 1; }; }
9493 +
9494 +  # Don't try to exec as it changes $[0], causing all sort of problems
9495 +  # (the dirname of $[0] is not the place where we might find the
9496 +  # original and so on.  Autoconf is especially sensible to this).
9497 +  . ./$as_me.lineno
9498 +  # Exit status is that of the last command.
9499 +  exit
9500 + }
9501 +
9502 +
9503 + case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9504 +  *c*,-n*) ECHO_N= ECHO_C='
9505 + ' ECHO_T='      ' ;;
9506 +  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
9507 +  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
9508 + esac
9509 +
9510   if expr a : '\(a\)' >/dev/null 2>&1; then
9511    as_expr=expr
9512   else
# Line 6584 | Line 9531 | as_executable_p="test -f"
9531   fi
9532   rm -f conf$$ conf$$.exe conf$$.file
9533  
9534 < as_executable_p="test -f"
9535 <
6589 < # Support unset when possible.
6590 < if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
6591 <  as_unset=unset
9534 > if mkdir -p . 2>/dev/null; then
9535 >  as_mkdir_p=:
9536   else
9537 <  as_unset=false
9537 >  test -d ./-p && rmdir ./-p
9538 >  as_mkdir_p=false
9539   fi
9540  
9541 < # 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; }
9541 > as_executable_p="test -f"
9542  
9543 + # Sed expression to map a string onto a valid CPP name.
9544 + as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9545 +
9546 + # Sed expression to map a string onto a valid variable name.
9547 + as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9548 +
9549 +
9550   # IFS
9551   # We need space, tab and new line, in precisely that order.
9552   as_nl='
# Line 6610 | Line 9554 | $as_unset CDPATH || test "${CDPATH+set}" != set || { C
9554   IFS="   $as_nl"
9555  
9556   # CDPATH.
9557 < $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
9557 > $as_unset CDPATH
9558  
9559   exec 6>&1
9560  
9561 + # Open the log real soon, to keep \$[0] and so on meaningful, and to
9562 + # report actual input values of CONFIG_FILES etc. instead of their
9563 + # values after options handling.  Logging --version etc. is OK.
9564 + exec 5>>config.log
9565 + {
9566 +  echo
9567 +  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9568 + ## Running $as_me. ##
9569 + _ASBOX
9570 + } >&5
9571 + cat >&5 <<_CSEOF
9572 +
9573 + This file was extended by OOPSE $as_me 2.0, which was
9574 + generated by GNU Autoconf 2.59.  Invocation command line was
9575 +
9576 +  CONFIG_FILES    = $CONFIG_FILES
9577 +  CONFIG_HEADERS  = $CONFIG_HEADERS
9578 +  CONFIG_LINKS    = $CONFIG_LINKS
9579 +  CONFIG_COMMANDS = $CONFIG_COMMANDS
9580 +  $ $0 $@
9581 +
9582 + _CSEOF
9583 + echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9584 + echo >&5
9585   _ACEOF
9586  
9587   # Files that config.status was made for.
# Line 6633 | Line 9601 | cat >>$CONFIG_STATUS <<\EOF
9601    echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9602   fi
9603  
9604 < cat >>$CONFIG_STATUS <<\EOF
9604 > cat >>$CONFIG_STATUS <<\_ACEOF
9605  
9606   ac_cs_usage="\
9607   \`$as_me' instantiates files from templates according to the
# Line 6643 | Line 9611 | Usage: $0 [OPTIONS] [FILE]...
9611  
9612    -h, --help       print this help, then exit
9613    -V, --version    print version number, then exit
9614 +  -q, --quiet      do not print progress messages
9615    -d, --debug      don't remove temporary files
9616        --recheck    update $as_me by reconfiguring in the same conditions
9617    --file=FILE[:TEMPLATE]
9618 <                   instantiate the configuration file FILE
9618 >                   instantiate the configuration file FILE
9619    --header=FILE[:TEMPLATE]
9620 <                   instantiate the configuration header FILE
9620 >                   instantiate the configuration header FILE
9621  
9622   Configuration files:
9623   $config_files
# Line 6660 | Line 9629 | EOF
9629   $config_links
9630  
9631   Report bugs to <bug-autoconf@gnu.org>."
9632 < EOF
9632 > _ACEOF
9633  
9634 < cat >>$CONFIG_STATUS <<EOF
9634 > cat >>$CONFIG_STATUS <<_ACEOF
9635   ac_cs_version="\\
9636   OOPSE config.status 2.0
9637 < configured by $0, generated by GNU Autoconf 2.50,
9637 > configured by $0, generated by GNU Autoconf 2.59,
9638    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9639  
9640 < Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6672 < Free Software Foundation, Inc.
9640 > Copyright (C) 2003 Free Software Foundation, Inc.
9641   This config.status script is free software; the Free Software Foundation
9642   gives unlimited permission to copy, distribute and modify it."
9643   srcdir=$srcdir
9644   INSTALL="$INSTALL"
9645 < EOF
9645 > _ACEOF
9646  
9647 < cat >>$CONFIG_STATUS <<\EOF
9647 > cat >>$CONFIG_STATUS <<\_ACEOF
9648   # If no file are specified by the user, then we need to provide default
9649   # value.  By we need to know if files were specified by the user.
9650   ac_need_defaults=:
# Line 6686 | Line 9654 | do
9654    --*=*)
9655      ac_option=`expr "x$1" : 'x\([^=]*\)='`
9656      ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
9657 <    shift
6690 <    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
6691 <    shift
9657 >    ac_shift=:
9658      ;;
9659 <  -*);;
9659 >  -*)
9660 >    ac_option=$1
9661 >    ac_optarg=$2
9662 >    ac_shift=shift
9663 >    ;;
9664    *) # This is not an option, so the user has probably given explicit
9665       # arguments.
9666 +     ac_option=$1
9667       ac_need_defaults=false;;
9668    esac
9669  
9670 <  case $1 in
9670 >  case $ac_option in
9671    # Handling of the options.
9672 < EOF
9673 < cat >>$CONFIG_STATUS <<EOF
9672 > _ACEOF
9673 > cat >>$CONFIG_STATUS <<\_ACEOF
9674    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9675 <    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
9675 >    ac_cs_recheck=: ;;
9676    --version | --vers* | -V )
9677      echo "$ac_cs_version"; exit 0 ;;
9678    --he | --h)
9679      # Conflict between --help and --header
9680 <    { { echo "$as_me:6712: error: ambiguous option: $1
9680 >    { { echo "$as_me:$LINENO: error: ambiguous option: $1
9681   Try \`$0 --help' for more information." >&5
9682   echo "$as_me: error: ambiguous option: $1
9683   Try \`$0 --help' for more information." >&2;}
# Line 6719 | Line 9687 | Try \`$0 --help' for more information." >&2;}
9687    --debug | --d* | -d )
9688      debug=: ;;
9689    --file | --fil | --fi | --f )
9690 <    shift
9691 <    CONFIG_FILES="$CONFIG_FILES $1"
9690 >    $ac_shift
9691 >    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
9692      ac_need_defaults=false;;
9693    --header | --heade | --head | --hea )
9694 <    shift
9695 <    CONFIG_HEADERS="$CONFIG_HEADERS $1"
9694 >    $ac_shift
9695 >    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
9696      ac_need_defaults=false;;
9697 +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9698 +  | -silent | --silent | --silen | --sile | --sil | --si | --s)
9699 +    ac_cs_silent=: ;;
9700  
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
9701    # This is an error.
9702 <  -*) { { echo "$as_me:6737: error: unrecognized option: $1
9702 >  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9703   Try \`$0 --help' for more information." >&5
9704   echo "$as_me: error: unrecognized option: $1
9705   Try \`$0 --help' for more information." >&2;}
9706     { (exit 1); exit 1; }; } ;;
9707 <  *) { { echo "$as_me:6742: error: invalid argument: $1" >&5
9708 < echo "$as_me: error: invalid argument: $1" >&2;}
9709 <   { (exit 1); exit 1; }; };;
9707 >
9708 >  *) ac_config_targets="$ac_config_targets $1" ;;
9709 >
9710    esac
9711    shift
9712   done
9713  
9714 < exec 5>>config.log
6750 < cat >&5 << _ACEOF
9714 > ac_configure_extra_args=
9715  
9716 < ## ----------------------- ##
9717 < ## Running config.status.  ##
9718 < ## ----------------------- ##
9716 > if $ac_cs_silent; then
9717 >  exec 6>/dev/null
9718 >  ac_configure_extra_args="$ac_configure_extra_args --silent"
9719 > fi
9720  
9721 < This file was extended by $as_me (OOPSE 2.0) 2.50, executed with
9722 <  > $ac_cs_invocation
9723 < on `(hostname || uname -n) 2>/dev/null | sed 1q`
9721 > _ACEOF
9722 > cat >>$CONFIG_STATUS <<_ACEOF
9723 > if \$ac_cs_recheck; then
9724 >  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9725 >  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9726 > fi
9727  
9728   _ACEOF
6761 EOF
9729  
9730 < cat >>$CONFIG_STATUS <<\EOF
9730 >
9731 >
9732 >
9733 >
9734 > cat >>$CONFIG_STATUS <<\_ACEOF
9735 > for ac_config_target in $ac_config_targets
9736 > do
9737 >  case "$ac_config_target" in
9738 >  # Handling of arguments.
9739 >  "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
9740 >  "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
9741 >  "src/applications/nanoRodBuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/nanoRodBuilder/Makefile" ;;
9742 >  "scripts/filepp" ) CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;;
9743 >  "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
9744 >  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
9745 >  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9746 > echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9747 >   { (exit 1); exit 1; }; };;
9748 >  esac
9749 > done
9750 >
9751   # If the user did not use the arguments to specify the items to instantiate,
9752   # then the envvar interface is used.  Set only those that are not.
9753   # We use the long form for the default assignment because of an extremely
# Line 6771 | Line 9758 | fi
9758    test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
9759   fi
9760  
9761 + # Have a temporary directory for convenience.  Make it in the build tree
9762 + # simply because there is no reason to put it here, and in addition,
9763 + # creating and moving files from /tmp can sometimes cause problems.
9764   # Create a temporary directory, and hook for its removal unless debugging.
9765   $debug ||
9766   {
9767    trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9768 <  trap '{ (exit $?); exit $?; }' 1 2 13 15
9768 >  trap '{ (exit 1); exit 1; }' 1 2 13 15
9769   }
9770  
9771   # Create a (secure) tmp directory for tmp files.
9772 < : ${TMPDIR=/tmp}
9772 >
9773   {
9774 <  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
9774 >  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9775    test -n "$tmp" && test -d "$tmp"
9776   }  ||
9777   {
9778 <  tmp=$TMPDIR/cs$$-$RANDOM
9778 >  tmp=./confstat$$-$RANDOM
9779    (umask 077 && mkdir $tmp)
9780   } ||
9781   {
9782 <   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
9782 >   echo "$me: cannot create a temporary directory in ." >&2
9783     { (exit 1); exit 1; }
9784   }
9785  
9786 < EOF
9786 > _ACEOF
9787  
9788 < cat >>$CONFIG_STATUS <<EOF
9788 > cat >>$CONFIG_STATUS <<_ACEOF
9789  
9790   #
9791   # CONFIG_FILES section.
# Line 6808 | Line 9798 | s,@exec_prefix@,$exec_prefix,;t t
9798    sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9799     s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9800   s,@SHELL@,$SHELL,;t t
9801 + s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9802 + s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9803 + s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9804 + s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9805 + s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9806 + s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9807   s,@exec_prefix@,$exec_prefix,;t t
9808   s,@prefix@,$prefix,;t t
9809   s,@program_transform_name@,$program_transform_name,;t t
# Line 6823 | Line 9819 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9819   s,@oldincludedir@,$oldincludedir,;t t
9820   s,@infodir@,$infodir,;t t
9821   s,@mandir@,$mandir,;t t
9822 < s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9823 < s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9824 < s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9825 < s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6830 < s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9822 > s,@build_alias@,$build_alias,;t t
9823 > s,@host_alias@,$host_alias,;t t
9824 > s,@target_alias@,$target_alias,;t t
9825 > s,@DEFS@,$DEFS,;t t
9826   s,@ECHO_C@,$ECHO_C,;t t
9827   s,@ECHO_N@,$ECHO_N,;t t
9828   s,@ECHO_T@,$ECHO_T,;t t
6834 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6835 s,@DEFS@,$DEFS,;t t
9829   s,@LIBS@,$LIBS,;t t
9830   s,@PROGNAME@,$PROGNAME,;t t
9831   s,@debug@,$debug,;t t
# Line 6870 | Line 9863 | s,@LIBOBJS@,$LIBOBJS,;t t
9863   s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
9864   s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t
9865   s,@CPP@,$CPP,;t t
9866 + s,@EGREP@,$EGREP,;t t
9867   s,@LIBOBJS@,$LIBOBJS,;t t
9868   s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9869   s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
# Line 6882 | Line 9876 | s,@AR@,$AR,;t t
9876   s,@LEX@,$LEX,;t t
9877   s,@LEXLIB@,$LEXLIB,;t t
9878   s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
9879 + s,@PERLINTERP@,$PERLINTERP,;t t
9880 + s,@PERL_SHEBANG@,$PERL_SHEBANG,;t t
9881   s,@AR@,$AR,;t t
9882   s,@PS@,$PS,;t t
9883   s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
# Line 6890 | Line 9886 | s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t
9886   s,@MPI_LIB@,$MPI_LIB,;t t
9887   s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t
9888   s,@USE_MPI@,$USE_MPI,;t t
9889 < s,@SPRNG_LIB_DIR@,$SPRNG_LIB_DIR,;t t
9890 < s,@SPRNG_INC_DIR@,$SPRNG_INC_DIR,;t t
9891 < s,@SPRNG_LIB@,$SPRNG_LIB,;t t
9892 < s,@USE_SPRNG@,$USE_SPRNG,;t t
9893 < s,@MKL_LIBDIR@,$MKL_LIBDIR,;t t
9894 < s,@MKL_LIB@,$MKL_LIB,;t t
9895 < s,@MKL_INC@,$MKL_INC,;t t
9896 < s,@HAVE_MKL@,$HAVE_MKL,;t t
9889 > s,@CXXCPP@,$CXXCPP,;t t
9890 > s,@USE_CGAL@,$USE_CGAL,;t t
9891 > s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t
9892 > s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t
9893 > s,@CGAL_RLIB_DIR@,$CGAL_RLIB_DIR,;t t
9894 > s,@CGAL_DEFINES@,$CGAL_DEFINES,;t t
9895 > s,@CGAL_CXXFLAGS@,$CGAL_CXXFLAGS,;t t
9896 > s,@CGAL_LIBS@,$CGAL_LIBS,;t t
9897   s,@DOXYGEN@,$DOXYGEN,;t t
9898   s,@DOT@,$DOT,;t t
9899   s,@DOC@,$DOC,;t t
# Line 6910 | Line 9906 | CEOF
9906   s,@OOPSE_HOME@,$OOPSE_HOME,;t t
9907   s,@SUBDIRS@,$SUBDIRS,;t t
9908   s,@FFLAGS@,$FFLAGS,;t t
9909 + s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9910   CEOF
9911  
9912 < EOF
9912 > _ACEOF
9913  
9914 <  cat >>$CONFIG_STATUS <<\EOF
9914 >  cat >>$CONFIG_STATUS <<\_ACEOF
9915    # Split the substitutions into bite-sized pieces for seds with
9916    # small command number limits, like on Digital OSF/1 and HP-UX.
9917    ac_max_sed_lines=48
# Line 6939 | Line 9936 | EOF
9936        (echo ':t
9937    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
9938        if test -z "$ac_sed_cmds"; then
9939 <        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9939 >        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
9940        else
9941 <        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9941 >        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9942        fi
9943        ac_sed_frag=`expr $ac_sed_frag + 1`
9944        ac_beg=$ac_end
# Line 6953 | Line 9950 | EOF
9950    fi
9951   fi # test -n "$CONFIG_FILES"
9952  
9953 < EOF
9954 < cat >>$CONFIG_STATUS <<\EOF
9953 > _ACEOF
9954 > cat >>$CONFIG_STATUS <<\_ACEOF
9955   for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
9956    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9957    case $ac_file in
9958    - | *:- | *:-:* ) # input from stdin
9959 <        cat >$tmp/stdin
9960 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9961 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9959 >        cat >$tmp/stdin
9960 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9961 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9962    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9963 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9963 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9964    * )   ac_file_in=$ac_file.in ;;
9965    esac
9966  
9967    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9968 <  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9969 <         X"$ac_file" : 'X\(//\)[^/]' \| \
9970 <         X"$ac_file" : 'X\(//\)$' \| \
9971 <         X"$ac_file" : 'X\(/\)' \| \
9972 <         .     : '\(.\)' 2>/dev/null ||
9968 >  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9969 > $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9970 >         X"$ac_file" : 'X\(//\)[^/]' \| \
9971 >         X"$ac_file" : 'X\(//\)$' \| \
9972 >         X"$ac_file" : 'X\(/\)' \| \
9973 >         .     : '\(.\)' 2>/dev/null ||
9974   echo X"$ac_file" |
9975      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9976            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9977            /^X\(\/\/\)$/{ s//\1/; q; }
9978            /^X\(\/\).*/{ s//\1/; q; }
9979            s/.*/./; q'`
9980 <  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
9981 <    { case "$ac_dir" in
6984 <  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
6985 <  *)                      as_incr_dir=.;;
6986 < esac
6987 < as_dummy="$ac_dir"
6988 < for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6989 <  case $as_mkdir_dir in
6990 <    # Skip DOS drivespec
6991 <    ?:) as_incr_dir=$as_mkdir_dir ;;
6992 <    *)
6993 <      as_incr_dir=$as_incr_dir/$as_mkdir_dir
6994 <      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
6995 <    ;;
6996 <  esac
6997 < done; }
6998 <
6999 <    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
7000 <    # A "../" for each directory in $ac_dir_suffix.
7001 <    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
9980 >  { if $as_mkdir_p; then
9981 >    mkdir -p "$ac_dir"
9982    else
9983 <    ac_dir_suffix= ac_dots=
9984 <  fi
9983 >    as_dir="$ac_dir"
9984 >    as_dirs=
9985 >    while test ! -d "$as_dir"; do
9986 >      as_dirs="$as_dir $as_dirs"
9987 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
9988 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9989 >         X"$as_dir" : 'X\(//\)[^/]' \| \
9990 >         X"$as_dir" : 'X\(//\)$' \| \
9991 >         X"$as_dir" : 'X\(/\)' \| \
9992 >         .     : '\(.\)' 2>/dev/null ||
9993 > echo X"$as_dir" |
9994 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9995 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9996 >          /^X\(\/\/\)$/{ s//\1/; q; }
9997 >          /^X\(\/\).*/{ s//\1/; q; }
9998 >          s/.*/./; q'`
9999 >    done
10000 >    test ! -n "$as_dirs" || mkdir $as_dirs
10001 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10002 > echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10003 >   { (exit 1); exit 1; }; }; }
10004  
10005 <  case $srcdir in
10006 <  .)  ac_srcdir=.
10007 <      if test -z "$ac_dots"; then
10008 <         ac_top_srcdir=.
10009 <      else
10010 <         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
10011 <      fi ;;
10012 <  [\\/]* | ?:[\\/]* )
10013 <      ac_srcdir=$srcdir$ac_dir_suffix;
10014 <      ac_top_srcdir=$srcdir ;;
10005 >  ac_builddir=.
10006 >
10007 > if test "$ac_dir" != .; then
10008 >  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10009 >  # A "../" for each directory in $ac_dir_suffix.
10010 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10011 > else
10012 >  ac_dir_suffix= ac_top_builddir=
10013 > fi
10014 >
10015 > case $srcdir in
10016 >  .)  # No --srcdir option.  We are building in place.
10017 >    ac_srcdir=.
10018 >    if test -z "$ac_top_builddir"; then
10019 >       ac_top_srcdir=.
10020 >    else
10021 >       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
10022 >    fi ;;
10023 >  [\\/]* | ?:[\\/]* )  # Absolute path.
10024 >    ac_srcdir=$srcdir$ac_dir_suffix;
10025 >    ac_top_srcdir=$srcdir ;;
10026    *) # Relative path.
10027 <    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
10028 <    ac_top_srcdir=$ac_dots$srcdir ;;
10029 <  esac
10027 >    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10028 >    ac_top_srcdir=$ac_top_builddir$srcdir ;;
10029 > esac
10030  
10031 + # Do not use `cd foo && pwd` to compute absolute paths, because
10032 + # the directories may not exist.
10033 + case `pwd` in
10034 + .) ac_abs_builddir="$ac_dir";;
10035 + *)
10036 +  case "$ac_dir" in
10037 +  .) ac_abs_builddir=`pwd`;;
10038 +  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
10039 +  *) ac_abs_builddir=`pwd`/"$ac_dir";;
10040 +  esac;;
10041 + esac
10042 + case $ac_abs_builddir in
10043 + .) ac_abs_top_builddir=${ac_top_builddir}.;;
10044 + *)
10045 +  case ${ac_top_builddir}. in
10046 +  .) ac_abs_top_builddir=$ac_abs_builddir;;
10047 +  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
10048 +  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
10049 +  esac;;
10050 + esac
10051 + case $ac_abs_builddir in
10052 + .) ac_abs_srcdir=$ac_srcdir;;
10053 + *)
10054 +  case $ac_srcdir in
10055 +  .) ac_abs_srcdir=$ac_abs_builddir;;
10056 +  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
10057 +  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
10058 +  esac;;
10059 + esac
10060 + case $ac_abs_builddir in
10061 + .) ac_abs_top_srcdir=$ac_top_srcdir;;
10062 + *)
10063 +  case $ac_top_srcdir in
10064 +  .) ac_abs_top_srcdir=$ac_abs_builddir;;
10065 +  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
10066 +  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
10067 +  esac;;
10068 + esac
10069 +
10070 +
10071    case $INSTALL in
10072    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10073 <  *) ac_INSTALL=$ac_dots$INSTALL ;;
10073 >  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
10074    esac
10075  
10076    if test x"$ac_file" != x-; then
10077 <    { echo "$as_me:7027: creating $ac_file" >&5
10077 >    { echo "$as_me:$LINENO: creating $ac_file" >&5
10078   echo "$as_me: creating $ac_file" >&6;}
10079      rm -f "$ac_file"
10080    fi
10081    # Let's still pretend it is `configure' which instantiates (i.e., don't
10082    # use $as_me), people would be surprised to read:
10083 <  #    /* config.h.  Generated automatically by config.status.  */
10084 <  configure_input="Generated automatically from `echo $ac_file_in |
10085 <                                                 sed 's,.*/,,'` by configure."
10083 >  #    /* config.h.  Generated by config.status.  */
10084 >  if test x"$ac_file" = x-; then
10085 >    configure_input=
10086 >  else
10087 >    configure_input="$ac_file.  "
10088 >  fi
10089 >  configure_input=$configure_input"Generated from `echo $ac_file_in |
10090 >                                     sed 's,.*/,,'` by configure."
10091  
10092    # First look for the input files in the build tree, otherwise in the
10093    # src tree.
# Line 7041 | Line 10096 | echo "$as_me: creating $ac_file" >&6;}
10096        case $f in
10097        -) echo $tmp/stdin ;;
10098        [\\/$]*)
10099 <         # Absolute (can't be DOS-style, as IFS=:)
10100 <         test -f "$f" || { { echo "$as_me:7045: error: cannot find input file: $f" >&5
10099 >         # Absolute (can't be DOS-style, as IFS=:)
10100 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10101   echo "$as_me: error: cannot find input file: $f" >&2;}
10102     { (exit 1); exit 1; }; }
10103 <         echo $f;;
10103 >         echo "$f";;
10104        *) # Relative
10105 <         if test -f "$f"; then
10106 <           # Build tree
10107 <           echo $f
10108 <         elif test -f "$srcdir/$f"; then
10109 <           # Source tree
10110 <           echo $srcdir/$f
10111 <         else
10112 <           # /dev/null tree
10113 <           { { echo "$as_me:7058: error: cannot find input file: $f" >&5
10105 >         if test -f "$f"; then
10106 >           # Build tree
10107 >           echo "$f"
10108 >         elif test -f "$srcdir/$f"; then
10109 >           # Source tree
10110 >           echo "$srcdir/$f"
10111 >         else
10112 >           # /dev/null tree
10113 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10114   echo "$as_me: error: cannot find input file: $f" >&2;}
10115     { (exit 1); exit 1; }; }
10116 <         fi;;
10116 >         fi;;
10117        esac
10118      done` || { (exit 1); exit 1; }
10119 < EOF
10120 < cat >>$CONFIG_STATUS <<EOF
10119 > _ACEOF
10120 > cat >>$CONFIG_STATUS <<_ACEOF
10121    sed "$ac_vpsub
10122   $extrasub
10123 < EOF
10124 < cat >>$CONFIG_STATUS <<\EOF
10123 > _ACEOF
10124 > cat >>$CONFIG_STATUS <<\_ACEOF
10125   :t
10126   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10127   s,@configure_input@,$configure_input,;t t
10128   s,@srcdir@,$ac_srcdir,;t t
10129 + s,@abs_srcdir@,$ac_abs_srcdir,;t t
10130   s,@top_srcdir@,$ac_top_srcdir,;t t
10131 + s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
10132 + s,@builddir@,$ac_builddir,;t t
10133 + s,@abs_builddir@,$ac_abs_builddir,;t t
10134 + s,@top_builddir@,$ac_top_builddir,;t t
10135 + s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
10136   s,@INSTALL@,$ac_INSTALL,;t t
10137   " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
10138    rm -f $tmp/stdin
# Line 7082 | Line 10143 | done
10143      rm -f $tmp/out
10144    fi
10145  
10146 +  # Run the commands associated with the file.
10147 +  case $ac_file in
10148 +    make/Makefile ) chmod 0755 scripts/* ;;
10149 +    src/utils/Makefile ) chmod 0755 scripts/* ;;
10150 +    src/applications/nanoRodBuilder/Makefile ) chmod 0755 scripts/* ;;
10151 +    scripts/filepp ) chmod 0755 scripts/* ;;
10152 +  esac
10153   done
10154 < EOF
10155 < cat >>$CONFIG_STATUS <<\EOF
10154 > _ACEOF
10155 > cat >>$CONFIG_STATUS <<\_ACEOF
10156  
10157   #
10158   # CONFIG_HEADER section.
# Line 7094 | Line 10162 | ac_dA='s,^\([  ]*\)#\([        ]*define[       ][      ]*\)'
10162   # NAME is the cpp macro being defined and VALUE is the value it is being given.
10163   #
10164   # ac_d sets the value in "#define NAME VALUE" lines.
10165 < ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
10166 < ac_dB='[        ].*$,\1#\2'
10165 > ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
10166 > ac_dB='[         ].*$,\1#\2'
10167   ac_dC=' '
10168   ac_dD=',;t'
10169   # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10170 < ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
10170 > ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
10171   ac_uB='$,\1#\2define\3'
10172   ac_uC=' '
10173   ac_uD=',;t'
# Line 7108 | Line 10176 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file"
10176    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10177    case $ac_file in
10178    - | *:- | *:-:* ) # input from stdin
10179 <        cat >$tmp/stdin
10180 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10181 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10179 >        cat >$tmp/stdin
10180 >        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10181 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10182    *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10183 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10183 >        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10184    * )   ac_file_in=$ac_file.in ;;
10185    esac
10186  
10187 <  test x"$ac_file" != x- && { echo "$as_me:7119: creating $ac_file" >&5
10187 >  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
10188   echo "$as_me: creating $ac_file" >&6;}
10189  
10190    # First look for the input files in the build tree, otherwise in the
# Line 7126 | Line 10194 | echo "$as_me: creating $ac_file" >&6;}
10194        case $f in
10195        -) echo $tmp/stdin ;;
10196        [\\/$]*)
10197 <         # Absolute (can't be DOS-style, as IFS=:)
10198 <         test -f "$f" || { { echo "$as_me:7130: error: cannot find input file: $f" >&5
10197 >         # Absolute (can't be DOS-style, as IFS=:)
10198 >         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10199   echo "$as_me: error: cannot find input file: $f" >&2;}
10200     { (exit 1); exit 1; }; }
10201 <         echo $f;;
10201 >         # Do quote $f, to prevent DOS paths from being IFS'd.
10202 >         echo "$f";;
10203        *) # Relative
10204 <         if test -f "$f"; then
10205 <           # Build tree
10206 <           echo $f
10207 <         elif test -f "$srcdir/$f"; then
10208 <           # Source tree
10209 <           echo $srcdir/$f
10210 <         else
10211 <           # /dev/null tree
10212 <           { { echo "$as_me:7143: error: cannot find input file: $f" >&5
10204 >         if test -f "$f"; then
10205 >           # Build tree
10206 >           echo "$f"
10207 >         elif test -f "$srcdir/$f"; then
10208 >           # Source tree
10209 >           echo "$srcdir/$f"
10210 >         else
10211 >           # /dev/null tree
10212 >           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10213   echo "$as_me: error: cannot find input file: $f" >&2;}
10214     { (exit 1); exit 1; }; }
10215 <         fi;;
10215 >         fi;;
10216        esac
10217      done` || { (exit 1); exit 1; }
10218    # Remove the trailing spaces.
10219 <  sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
10219 >  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
10220  
10221 < EOF
10221 > _ACEOF
10222  
10223   # Transform confdefs.h into two sed scripts, `conftest.defines' and
10224   # `conftest.undefs', that substitutes the proper values into
# Line 7165 | Line 10234 | cat >confdef2sed.sed <<\EOF
10234   # `end' is used to avoid that the second main sed command (meant for
10235   # 0-ary CPP macros) applies to n-ary macro definitions.
10236   # See the Autoconf documentation for `clear'.
10237 < cat >confdef2sed.sed <<\EOF
10237 > cat >confdef2sed.sed <<\_ACEOF
10238   s/[\\&,]/\\&/g
10239   s,[\\$`],\\&,g
10240   t clear
10241   : clear
10242 < s,^[    ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
10242 > s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
10243   t end
10244 < s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
10244 > s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
10245   : end
10246 < EOF
10246 > _ACEOF
10247   # If some macros were called several times there might be several times
10248   # the same #defines, which is useless.  Nevertheless, we may not want to
10249   # sort them, since we want the *last* AC-DEFINE to be honored.
# Line 7185 | Line 10254 | cat >>conftest.undefs <<\EOF
10254   # This sed command replaces #undef with comments.  This is necessary, for
10255   # example, in the case of _POSIX_SOURCE, which is predefined and required
10256   # on some systems where configure will not decide to define it.
10257 < cat >>conftest.undefs <<\EOF
10258 < s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10259 < EOF
10257 > cat >>conftest.undefs <<\_ACEOF
10258 > s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10259 > _ACEOF
10260  
10261   # Break up conftest.defines because some shells have a limit on the size
10262   # of here documents, and old seds have small limits too (100 cmds).
10263   echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10264 < echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10264 > echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10265   echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10266   echo '  :' >>$CONFIG_STATUS
10267   rm -f conftest.tail
# Line 7201 | Line 10270 | do
10270    # Write a limited-size here document to $tmp/defines.sed.
10271    echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10272    # Speed up: don't consider the non `#define' lines.
10273 <  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
10273 >  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
10274    # Work around the forget-to-reset-the-flag bug.
10275    echo 't clr' >>$CONFIG_STATUS
10276    echo ': clr' >>$CONFIG_STATUS
# Line 7216 | Line 10285 | echo '  fi # egrep' >>$CONFIG_STATUS
10285    mv conftest.tail conftest.defines
10286   done
10287   rm -f conftest.defines
10288 < echo '  fi # egrep' >>$CONFIG_STATUS
10288 > echo '  fi # grep' >>$CONFIG_STATUS
10289   echo >>$CONFIG_STATUS
10290  
10291   # Break up conftest.undefs because some shells have a limit on the size
# Line 7228 | Line 10297 | do
10297    # Write a limited-size here document to $tmp/undefs.sed.
10298    echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10299    # Speed up: don't consider the non `#undef'
10300 <  echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
10300 >  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
10301    # Work around the forget-to-reset-the-flag bug.
10302    echo 't clr' >>$CONFIG_STATUS
10303    echo ': clr' >>$CONFIG_STATUS
# Line 7244 | Line 10313 | cat >>$CONFIG_STATUS <<\EOF
10313   done
10314   rm -f conftest.undefs
10315  
10316 < cat >>$CONFIG_STATUS <<\EOF
10316 > cat >>$CONFIG_STATUS <<\_ACEOF
10317    # Let's still pretend it is `configure' which instantiates (i.e., don't
10318    # use $as_me), people would be surprised to read:
10319 <  #    /* config.h.  Generated automatically by config.status.  */
10319 >  #    /* config.h.  Generated by config.status.  */
10320    if test x"$ac_file" = x-; then
10321 <    echo "/* Generated automatically by configure.  */" >$tmp/config.h
10321 >    echo "/* Generated by configure.  */" >$tmp/config.h
10322    else
10323 <    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
10323 >    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
10324    fi
10325    cat $tmp/in >>$tmp/config.h
10326    rm -f $tmp/in
10327    if test x"$ac_file" != x-; then
10328 <    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
10329 <      { echo "$as_me:7260: $ac_file is unchanged" >&5
10328 >    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
10329 >      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10330   echo "$as_me: $ac_file is unchanged" >&6;}
10331      else
10332 <      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10333 <         X"$ac_file" : 'X\(//\)[^/]' \| \
10334 <         X"$ac_file" : 'X\(//\)$' \| \
10335 <         X"$ac_file" : 'X\(/\)' \| \
10336 <         .     : '\(.\)' 2>/dev/null ||
10332 >      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10333 > $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10334 >         X"$ac_file" : 'X\(//\)[^/]' \| \
10335 >         X"$ac_file" : 'X\(//\)$' \| \
10336 >         X"$ac_file" : 'X\(/\)' \| \
10337 >         .     : '\(.\)' 2>/dev/null ||
10338   echo X"$ac_file" |
10339      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10340            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10341            /^X\(\/\/\)$/{ s//\1/; q; }
10342            /^X\(\/\).*/{ s//\1/; q; }
10343            s/.*/./; q'`
10344 <      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
10345 <        { case "$ac_dir" in
10346 <  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
10347 <  *)                      as_incr_dir=.;;
10348 < esac
10349 < as_dummy="$ac_dir"
10350 < for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
10351 <  case $as_mkdir_dir in
10352 <    # Skip DOS drivespec
10353 <    ?:) as_incr_dir=$as_mkdir_dir ;;
10354 <    *)
10355 <      as_incr_dir=$as_incr_dir/$as_mkdir_dir
10356 <      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
10357 <    ;;
10358 <  esac
10359 < done; }
10344 >      { if $as_mkdir_p; then
10345 >    mkdir -p "$ac_dir"
10346 >  else
10347 >    as_dir="$ac_dir"
10348 >    as_dirs=
10349 >    while test ! -d "$as_dir"; do
10350 >      as_dirs="$as_dir $as_dirs"
10351 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
10352 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10353 >         X"$as_dir" : 'X\(//\)[^/]' \| \
10354 >         X"$as_dir" : 'X\(//\)$' \| \
10355 >         X"$as_dir" : 'X\(/\)' \| \
10356 >         .     : '\(.\)' 2>/dev/null ||
10357 > echo X"$as_dir" |
10358 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10359 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10360 >          /^X\(\/\/\)$/{ s//\1/; q; }
10361 >          /^X\(\/\).*/{ s//\1/; q; }
10362 >          s/.*/./; q'`
10363 >    done
10364 >    test ! -n "$as_dirs" || mkdir $as_dirs
10365 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10366 > echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10367 >   { (exit 1); exit 1; }; }; }
10368  
7291      fi
10369        rm -f $ac_file
10370        mv $tmp/config.h $ac_file
10371      fi
# Line 7297 | Line 10374 | EOF
10374      rm -f $tmp/config.h
10375    fi
10376   done
10377 < EOF
10378 < cat >>$CONFIG_STATUS <<\EOF
10377 > _ACEOF
10378 > cat >>$CONFIG_STATUS <<\_ACEOF
10379  
10380   #
10381   # CONFIG_LINKS section.
# Line 7308 | Line 10385 | for ac_file in : $CONFIG_LINKS; do test "x$ac_file" =
10385    ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
10386    ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
10387  
10388 <  { echo "$as_me:7311: linking $srcdir/$ac_source to $ac_dest" >&5
10388 >  { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
10389   echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
10390  
10391    if test ! -r $srcdir/$ac_source; then
10392 <    { { echo "$as_me:7315: error: $srcdir/$ac_source: File not found" >&5
10393 < echo "$as_me: error: $srcdir/$ac_source: File not found" >&2;}
10392 >    { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
10393 > echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
10394     { (exit 1); exit 1; }; }
10395    fi
10396    rm -f $ac_dest
10397  
10398    # Make relative symlinks.
10399 <  ac_dest_dir=`$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10400 <         X"$ac_dest" : 'X\(//\)[^/]' \| \
10401 <         X"$ac_dest" : 'X\(//\)$' \| \
10402 <         X"$ac_dest" : 'X\(/\)' \| \
10403 <         .     : '\(.\)' 2>/dev/null ||
10399 >  ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
10400 > $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10401 >         X"$ac_dest" : 'X\(//\)[^/]' \| \
10402 >         X"$ac_dest" : 'X\(//\)$' \| \
10403 >         X"$ac_dest" : 'X\(/\)' \| \
10404 >         .     : '\(.\)' 2>/dev/null ||
10405   echo X"$ac_dest" |
10406      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10407            /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10408            /^X\(\/\/\)$/{ s//\1/; q; }
10409            /^X\(\/\).*/{ s//\1/; q; }
10410            s/.*/./; q'`
10411 <  if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
10412 <    { case "$ac_dest_dir" in
10413 <  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
10414 <  *)                      as_incr_dir=.;;
10411 >  { if $as_mkdir_p; then
10412 >    mkdir -p "$ac_dest_dir"
10413 >  else
10414 >    as_dir="$ac_dest_dir"
10415 >    as_dirs=
10416 >    while test ! -d "$as_dir"; do
10417 >      as_dirs="$as_dir $as_dirs"
10418 >      as_dir=`(dirname "$as_dir") 2>/dev/null ||
10419 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10420 >         X"$as_dir" : 'X\(//\)[^/]' \| \
10421 >         X"$as_dir" : 'X\(//\)$' \| \
10422 >         X"$as_dir" : 'X\(/\)' \| \
10423 >         .     : '\(.\)' 2>/dev/null ||
10424 > echo X"$as_dir" |
10425 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10426 >          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10427 >          /^X\(\/\/\)$/{ s//\1/; q; }
10428 >          /^X\(\/\).*/{ s//\1/; q; }
10429 >          s/.*/./; q'`
10430 >    done
10431 >    test ! -n "$as_dirs" || mkdir $as_dirs
10432 >  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
10433 > echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
10434 >   { (exit 1); exit 1; }; }; }
10435 >
10436 >  ac_builddir=.
10437 >
10438 > if test "$ac_dest_dir" != .; then
10439 >  ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
10440 >  # A "../" for each directory in $ac_dir_suffix.
10441 >  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10442 > else
10443 >  ac_dir_suffix= ac_top_builddir=
10444 > fi
10445 >
10446 > case $srcdir in
10447 >  .)  # No --srcdir option.  We are building in place.
10448 >    ac_srcdir=.
10449 >    if test -z "$ac_top_builddir"; then
10450 >       ac_top_srcdir=.
10451 >    else
10452 >       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
10453 >    fi ;;
10454 >  [\\/]* | ?:[\\/]* )  # Absolute path.
10455 >    ac_srcdir=$srcdir$ac_dir_suffix;
10456 >    ac_top_srcdir=$srcdir ;;
10457 >  *) # Relative path.
10458 >    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10459 >    ac_top_srcdir=$ac_top_builddir$srcdir ;;
10460   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; }
10461  
10462 <    ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's,^\./,,'`"
10463 <    # A "../" for each directory in $ac_dest_dir_suffix.
10464 <    ac_dots=`echo $ac_dest_dir_suffix|sed 's,/[^/]*,../,g'`
10465 <  else
10466 <    ac_dest_dir_suffix= ac_dots=
10467 <  fi
10462 > # Do not use `cd foo && pwd` to compute absolute paths, because
10463 > # the directories may not exist.
10464 > case `pwd` in
10465 > .) ac_abs_builddir="$ac_dest_dir";;
10466 > *)
10467 >  case "$ac_dest_dir" in
10468 >  .) ac_abs_builddir=`pwd`;;
10469 >  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
10470 >  *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
10471 >  esac;;
10472 > esac
10473 > case $ac_abs_builddir in
10474 > .) ac_abs_top_builddir=${ac_top_builddir}.;;
10475 > *)
10476 >  case ${ac_top_builddir}. in
10477 >  .) ac_abs_top_builddir=$ac_abs_builddir;;
10478 >  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
10479 >  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
10480 >  esac;;
10481 > esac
10482 > case $ac_abs_builddir in
10483 > .) ac_abs_srcdir=$ac_srcdir;;
10484 > *)
10485 >  case $ac_srcdir in
10486 >  .) ac_abs_srcdir=$ac_abs_builddir;;
10487 >  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
10488 >  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
10489 >  esac;;
10490 > esac
10491 > case $ac_abs_builddir in
10492 > .) ac_abs_top_srcdir=$ac_top_srcdir;;
10493 > *)
10494 >  case $ac_top_srcdir in
10495 >  .) ac_abs_top_srcdir=$ac_abs_builddir;;
10496 >  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
10497 >  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
10498 >  esac;;
10499 > esac
10500  
10501 +
10502    case $srcdir in
10503    [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
10504 <      *) ac_rel_source=$ac_dots$srcdir/$ac_source ;;
10504 >      *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
10505    esac
10506  
10507 <  # Make a symlink if possible; otherwise try a hard link.
10507 >  # Try a symlink, then a hard link, then a copy.
10508    ln -s $ac_rel_source $ac_dest 2>/dev/null ||
10509 <    ln $srcdir/$ac_source $ac_dest ||
10510 <    { { echo "$as_me:7365: error: cannot link $ac_dest to $srcdir/$ac_source" >&5
10511 < echo "$as_me: error: cannot link $ac_dest to $srcdir/$ac_source" >&2;}
10509 >    ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
10510 >    cp -p $srcdir/$ac_source $ac_dest ||
10511 >    { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
10512 > echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
10513     { (exit 1); exit 1; }; }
10514   done
10515 < EOF
10515 > _ACEOF
10516  
10517 < cat >>$CONFIG_STATUS <<\EOF
10517 > cat >>$CONFIG_STATUS <<\_ACEOF
10518  
10519   { (exit 0); exit 0; }
10520 < EOF
10520 > _ACEOF
10521   chmod +x $CONFIG_STATUS
10522   ac_clean_files=$ac_clean_files_save
10523  
10524 +
10525   # configure is writing to config.log, and then calls config.status.
10526   # config.status does its own redirection, appending to config.log.
10527   # Unfortunately, on DOS this fails, as config.log is still kept open
# Line 7385 | Line 10532 | if test "$no_create" != yes; then
10532   # need to make the FD available again.
10533   if test "$no_create" != yes; then
10534    ac_cs_success=:
10535 +  ac_config_status_args=
10536 +  test "$silent" = yes &&
10537 +    ac_config_status_args="$ac_config_status_args --quiet"
10538    exec 5>/dev/null
10539 <  $SHELL $CONFIG_STATUS || ac_cs_success=false
10539 >  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10540    exec 5>>config.log
10541    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10542    # would make configure fail if this is the last instruction.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines