ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/configure
(Generate patch)

Comparing trunk/configure (file contents):
Revision 961 by gezelter, Wed May 17 16:10:16 2006 UTC vs.
Revision 1300 by gezelter, Mon Sep 29 13:54:18 2008 UTC

# Line 1 | Line 1
1   #! /bin/sh
2   # Guess values for system-dependent variables and create Makefiles.
3 < # Generated by GNU Autoconf 2.59 for OOPSE 3.0.
3 > # Generated by GNU Autoconf 2.62 for OOPSE 4.0.
4   #
5   # Report bugs to <gezelter@nd.edu>.
6   #
7 < # Copyright (C) 2003 Free Software Foundation, Inc.
7 > # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 > # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9   # This configure script is free software; the Free Software Foundation
10   # gives unlimited permission to copy, distribute and modify it.
11   ## --------------------- ##
12   ## M4sh Initialization.  ##
13   ## --------------------- ##
14  
15 < # Be Bourne compatible
15 > # Be more Bourne compatible
16 > DUALCASE=1; export DUALCASE # for MKS sh
17   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18    emulate sh
19    NULLCMD=:
20 <  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 >  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21    # is contrary to our usage.  Disable this feature.
22    alias -g '${1+"$@"}'='"$@"'
23 < elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 <  set -o posix
23 >  setopt NO_GLOB_SUBST
24 > else
25 >  case `(set -o) 2>/dev/null` in
26 >  *posix*) set -o posix ;;
27 > esac
28 >
29   fi
24 DUALCASE=1; export DUALCASE # for MKS sh
30  
31 +
32 +
33 +
34 + # PATH needs CR
35 + # Avoid depending upon Character Ranges.
36 + as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 + as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 + as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 + as_cr_digits='0123456789'
40 + as_cr_alnum=$as_cr_Letters$as_cr_digits
41 +
42 + as_nl='
43 + '
44 + export as_nl
45 + # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 + as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 + as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 + as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 + if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 +  as_echo='printf %s\n'
51 +  as_echo_n='printf %s'
52 + else
53 +  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 +    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 +    as_echo_n='/usr/ucb/echo -n'
56 +  else
57 +    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 +    as_echo_n_body='eval
59 +      arg=$1;
60 +      case $arg in
61 +      *"$as_nl"*)
62 +        expr "X$arg" : "X\\(.*\\)$as_nl";
63 +        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 +      esac;
65 +      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 +    '
67 +    export as_echo_n_body
68 +    as_echo_n='sh -c $as_echo_n_body as_echo'
69 +  fi
70 +  export as_echo_body
71 +  as_echo='sh -c $as_echo_body as_echo'
72 + fi
73 +
74 + # The user is always right.
75 + if test "${PATH_SEPARATOR+set}" != set; then
76 +  PATH_SEPARATOR=:
77 +  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 +    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 +      PATH_SEPARATOR=';'
80 +  }
81 + fi
82 +
83   # Support unset when possible.
84   if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85    as_unset=unset
# Line 31 | Line 88 | fi
88   fi
89  
90  
91 + # IFS
92 + # We need space, tab and new line, in precisely that order.  Quoting is
93 + # there to prevent editors from complaining about space-tab.
94 + # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 + # splitting by setting IFS to empty value.)
96 + IFS=" ""        $as_nl"
97 +
98 + # Find who we are.  Look in the path if we contain no directory separator.
99 + case $0 in
100 +  *[\\/]* ) as_myself=$0 ;;
101 +  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 + for as_dir in $PATH
103 + do
104 +  IFS=$as_save_IFS
105 +  test -z "$as_dir" && as_dir=.
106 +  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 + done
108 + IFS=$as_save_IFS
109 +
110 +     ;;
111 + esac
112 + # We did not find ourselves, most probably we were run as `sh COMMAND'
113 + # in which case we are not to be found in the path.
114 + if test "x$as_myself" = x; then
115 +  as_myself=$0
116 + fi
117 + if test ! -f "$as_myself"; then
118 +  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 +  { (exit 1); exit 1; }
120 + fi
121 +
122   # Work around bugs in pre-3.0 UWIN ksh.
123 < $as_unset ENV MAIL MAILPATH
123 > for as_var in ENV MAIL MAILPATH
124 > do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125 > done
126   PS1='$ '
127   PS2='> '
128   PS4='+ '
129  
130   # NLS nuisances.
131 < for as_var in \
132 <  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
133 <  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
134 <  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
131 > LC_ALL=C
132 > export LC_ALL
133 > LANGUAGE=C
134 > export LANGUAGE
135  
136   # Required to use basename.
137 < if expr a : '\(a\)' >/dev/null 2>&1; then
137 > if expr a : '\(a\)' >/dev/null 2>&1 &&
138 >   test "X`expr 00001 : '.*\(...\)'`" = X001; then
139    as_expr=expr
140   else
141    as_expr=false
142   fi
143  
144 < if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
144 > if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145    as_basename=basename
146   else
147    as_basename=false
# Line 65 | Line 149 | fi
149  
150  
151   # Name of the executable.
152 < as_me=`$as_basename "$0" ||
152 > as_me=`$as_basename -- "$0" ||
153   $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154           X"$0" : 'X\(//\)$' \| \
155 <         X"$0" : 'X\(/\)$' \| \
156 <         .     : '\(.\)' 2>/dev/null ||
157 < echo X/"$0" |
158 <    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
159 <          /^X\/\(\/\/\)$/{ s//\1/; q; }
160 <          /^X\/\(\/\).*/{ s//\1/; q; }
161 <          s/.*/./; q'`
155 >         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156 > $as_echo X/"$0" |
157 >    sed '/^.*\/\([^/][^/]*\)\/*$/{
158 >            s//\1/
159 >            q
160 >          }
161 >          /^X\/\(\/\/\)$/{
162 >            s//\1/
163 >            q
164 >          }
165 >          /^X\/\(\/\).*/{
166 >            s//\1/
167 >            q
168 >          }
169 >          s/.*/./; q'`
170  
171 + # CDPATH.
172 + $as_unset CDPATH
173  
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
174  
175 < # The user is always right.
176 < if test "${PATH_SEPARATOR+set}" != set; then
177 <  echo "#! /bin/sh" >conf$$.sh
178 <  echo  "exit 0"   >>conf$$.sh
179 <  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
175 > if test "x$CONFIG_SHELL" = x; then
176 >  if (eval ":") 2>/dev/null; then
177 >  as_have_required=yes
178 > else
179 >  as_have_required=no
180   fi
181  
182 +  if test $as_have_required = yes &&     (eval ":
183 + (as_func_return () {
184 +  (exit \$1)
185 + }
186 + as_func_success () {
187 +  as_func_return 0
188 + }
189 + as_func_failure () {
190 +  as_func_return 1
191 + }
192 + as_func_ret_success () {
193 +  return 0
194 + }
195 + as_func_ret_failure () {
196 +  return 1
197 + }
198  
199 <  as_lineno_1=$LINENO
200 <  as_lineno_2=$LINENO
201 <  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
202 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
203 <  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
204 <  # Find who we are.  Look in the path if we contain no path at all
205 <  # 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
199 > exitcode=0
200 > if as_func_success; then
201 >  :
202 > else
203 >  exitcode=1
204 >  echo as_func_success failed.
205 > fi
206  
207 <       ;;
208 <  esac
209 <  # We did not find ourselves, most probably we were run as `sh COMMAND'
210 <  # in which case we are not to be found in the path.
211 <  if test "x$as_myself" = x; then
212 <    as_myself=$0
213 <  fi
214 <  if test ! -f "$as_myself"; then
215 <    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
216 <   { (exit 1); exit 1; }; }
217 <  fi
218 <  case $CONFIG_SHELL in
219 <  '')
207 > if as_func_failure; then
208 >  exitcode=1
209 >  echo as_func_failure succeeded.
210 > fi
211 >
212 > if as_func_ret_success; then
213 >  :
214 > else
215 >  exitcode=1
216 >  echo as_func_ret_success failed.
217 > fi
218 >
219 > if as_func_ret_failure; then
220 >  exitcode=1
221 >  echo as_func_ret_failure succeeded.
222 > fi
223 >
224 > if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
225 >  :
226 > else
227 >  exitcode=1
228 >  echo positional parameters were not saved.
229 > fi
230 >
231 > test \$exitcode = 0) || { (exit 1); exit 1; }
232 >
233 > (
234 >  as_lineno_1=\$LINENO
235 >  as_lineno_2=\$LINENO
236 >  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 >  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 > ") 2> /dev/null; then
239 >  :
240 > else
241 >  as_candidate_shells=
242      as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243   for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244   do
245    IFS=$as_save_IFS
246    test -z "$as_dir" && as_dir=.
247 <  for as_base in sh bash ksh sh5; do
138 <         case $as_dir in
247 >  case $as_dir in
248           /*)
249 <           if ("$as_dir/$as_base" -c '
249 >           for as_base in sh bash ksh sh5; do
250 >             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251 >           done;;
252 >       esac
253 > done
254 > IFS=$as_save_IFS
255 >
256 >
257 >      for as_shell in $as_candidate_shells $SHELL; do
258 >         # Try only shells that exist, to save several forks.
259 >         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 >                { ("$as_shell") 2> /dev/null <<\_ASEOF
261 > if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 >  emulate sh
263 >  NULLCMD=:
264 >  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 >  # is contrary to our usage.  Disable this feature.
266 >  alias -g '${1+"$@"}'='"$@"'
267 >  setopt NO_GLOB_SUBST
268 > else
269 >  case `(set -o) 2>/dev/null` in
270 >  *posix*) set -o posix ;;
271 > esac
272 >
273 > fi
274 >
275 >
276 > :
277 > _ASEOF
278 > }; then
279 >  CONFIG_SHELL=$as_shell
280 >               as_have_required=yes
281 >               if { "$as_shell" 2> /dev/null <<\_ASEOF
282 > if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 >  emulate sh
284 >  NULLCMD=:
285 >  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 >  # is contrary to our usage.  Disable this feature.
287 >  alias -g '${1+"$@"}'='"$@"'
288 >  setopt NO_GLOB_SUBST
289 > else
290 >  case `(set -o) 2>/dev/null` in
291 >  *posix*) set -o posix ;;
292 > esac
293 >
294 > fi
295 >
296 >
297 > :
298 > (as_func_return () {
299 >  (exit $1)
300 > }
301 > as_func_success () {
302 >  as_func_return 0
303 > }
304 > as_func_failure () {
305 >  as_func_return 1
306 > }
307 > as_func_ret_success () {
308 >  return 0
309 > }
310 > as_func_ret_failure () {
311 >  return 1
312 > }
313 >
314 > exitcode=0
315 > if as_func_success; then
316 >  :
317 > else
318 >  exitcode=1
319 >  echo as_func_success failed.
320 > fi
321 >
322 > if as_func_failure; then
323 >  exitcode=1
324 >  echo as_func_failure succeeded.
325 > fi
326 >
327 > if as_func_ret_success; then
328 >  :
329 > else
330 >  exitcode=1
331 >  echo as_func_ret_success failed.
332 > fi
333 >
334 > if as_func_ret_failure; then
335 >  exitcode=1
336 >  echo as_func_ret_failure succeeded.
337 > fi
338 >
339 > if ( set x; as_func_ret_success y && test x = "$1" ); then
340 >  :
341 > else
342 >  exitcode=1
343 >  echo positional parameters were not saved.
344 > fi
345 >
346 > test $exitcode = 0) || { (exit 1); exit 1; }
347 >
348 > (
349    as_lineno_1=$LINENO
350    as_lineno_2=$LINENO
143  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
351    test "x$as_lineno_1" != "x$as_lineno_2" &&
352 <  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
352 >  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
353  
354 + _ASEOF
355 + }; then
356 +  break
357 + fi
358 +
359 + fi
360 +
361 +      done
362 +
363 +      if test "x$CONFIG_SHELL" != x; then
364 +  for as_var in BASH_ENV ENV
365 +        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 +        done
367 +        export CONFIG_SHELL
368 +        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
369 + fi
370 +
371 +
372 +    if test $as_have_required = no; then
373 +  echo This script requires a shell more modern than all the
374 +      echo shells that I found on your system.  Please install a
375 +      echo modern shell, or manually run the script under such a
376 +      echo shell if you do have one.
377 +      { (exit 1); exit 1; }
378 + fi
379 +
380 +
381 + fi
382 +
383 + fi
384 +
385 +
386 +
387 + (eval "as_func_return () {
388 +  (exit \$1)
389 + }
390 + as_func_success () {
391 +  as_func_return 0
392 + }
393 + as_func_failure () {
394 +  as_func_return 1
395 + }
396 + as_func_ret_success () {
397 +  return 0
398 + }
399 + as_func_ret_failure () {
400 +  return 1
401 + }
402 +
403 + exitcode=0
404 + if as_func_success; then
405 +  :
406 + else
407 +  exitcode=1
408 +  echo as_func_success failed.
409 + fi
410 +
411 + if as_func_failure; then
412 +  exitcode=1
413 +  echo as_func_failure succeeded.
414 + fi
415 +
416 + if as_func_ret_success; then
417 +  :
418 + else
419 +  exitcode=1
420 +  echo as_func_ret_success failed.
421 + fi
422 +
423 + if as_func_ret_failure; then
424 +  exitcode=1
425 +  echo as_func_ret_failure succeeded.
426 + fi
427 +
428 + if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
429 +  :
430 + else
431 +  exitcode=1
432 +  echo positional parameters were not saved.
433 + fi
434 +
435 + test \$exitcode = 0") || {
436 +  echo No shell found that supports shell functions.
437 +  echo Please tell bug-autoconf@gnu.org about your system,
438 +  echo including any error possibly output before this message.
439 +  echo This can help us improve future autoconf versions.
440 +  echo Configuration will now proceed without shell functions.
441 + }
442 +
443 +
444 +
445 +  as_lineno_1=$LINENO
446 +  as_lineno_2=$LINENO
447 +  test "x$as_lineno_1" != "x$as_lineno_2" &&
448 +  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
449 +
450    # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451    # uniformly replaced by the line number.  The first 'sed' inserts a
452 <  # line-number line before each line; the second 'sed' does the real
453 <  # work.  The second script uses 'N' to pair each line-number line
454 <  # with the numbered line, and appends trailing '-' during
455 <  # substitution so that $LINENO is not a special case at line end.
452 >  # line-number line after each line using $LINENO; the second 'sed'
453 >  # does the real work.  The second script uses 'N' to pair each
454 >  # line-number line with the line containing $LINENO, and appends
455 >  # trailing '-' during substitution so that $LINENO is not a special
456 >  # case at line end.
457    # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 <  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
459 <  sed '=' <$as_myself |
458 >  # scripts with optimization help from Paolo Bonzini.  Blame Lee
459 >  # E. McMahon (1931-1989) for sed's syntax.  :-)
460 >  sed -n '
461 >    p
462 >    /[$]LINENO/=
463 >  ' <$as_myself |
464      sed '
465 +      s/[$]LINENO.*/&-/
466 +      t lineno
467 +      b
468 +      :lineno
469        N
470 <      s,$,-,
471 <      : loop
171 <      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
470 >      :loop
471 >      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472        t loop
473 <      s,-$,,
174 <      s,^['$as_cr_digits']*\n,,
473 >      s/-\n.*//
474      ' >$as_me.lineno &&
475 <  chmod +x $as_me.lineno ||
476 <    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 >  chmod +x "$as_me.lineno" ||
476 >    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477     { (exit 1); exit 1; }; }
478  
479    # Don't try to exec as it changes $[0], causing all sort of problems
480    # (the dirname of $[0] is not the place where we might find the
481 <  # original and so on.  Autoconf is especially sensible to this).
482 <  . ./$as_me.lineno
481 >  # original and so on.  Autoconf is especially sensitive to this).
482 >  . "./$as_me.lineno"
483    # Exit status is that of the last command.
484    exit
485   }
486  
487  
488 < case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
489 <  *c*,-n*) ECHO_N= ECHO_C='
490 < ' ECHO_T='      ' ;;
491 <  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
492 <  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 < esac
488 > if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489 >  as_dirname=dirname
490 > else
491 >  as_dirname=false
492 > fi
493  
494 < if expr a : '\(a\)' >/dev/null 2>&1; then
494 > ECHO_C= ECHO_N= ECHO_T=
495 > case `echo -n x` in
496 > -n*)
497 >  case `echo 'x\c'` in
498 >  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
499 >  *)   ECHO_C='\c';;
500 >  esac;;
501 > *)
502 >  ECHO_N='-n';;
503 > esac
504 > if expr a : '\(a\)' >/dev/null 2>&1 &&
505 >   test "X`expr 00001 : '.*\(...\)'`" = X001; then
506    as_expr=expr
507   else
508    as_expr=false
509   fi
510  
511   rm -f conf$$ conf$$.exe conf$$.file
512 < echo >conf$$.file
513 < if ln -s conf$$.file conf$$ 2>/dev/null; then
514 <  # We could just check for DJGPP; but this test a) works b) is more generic
515 <  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
516 <  if test -f conf$$.exe; then
517 <    # Don't use ln at all; we don't have any links
518 <    as_ln_s='cp -p'
519 <  else
512 > if test -d conf$$.dir; then
513 >  rm -f conf$$.dir/conf$$.file
514 > else
515 >  rm -f conf$$.dir
516 >  mkdir conf$$.dir 2>/dev/null
517 > fi
518 > if (echo >conf$$.file) 2>/dev/null; then
519 >  if ln -s conf$$.file conf$$ 2>/dev/null; then
520      as_ln_s='ln -s'
521 +    # ... but there are two gotchas:
522 +    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 +    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 +    # In both cases, we have to default to `cp -p'.
525 +    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526 +      as_ln_s='cp -p'
527 +  elif ln conf$$.file conf$$ 2>/dev/null; then
528 +    as_ln_s=ln
529 +  else
530 +    as_ln_s='cp -p'
531    fi
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214  as_ln_s=ln
532   else
533    as_ln_s='cp -p'
534   fi
535 < rm -f conf$$ conf$$.exe conf$$.file
535 > rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 > rmdir conf$$.dir 2>/dev/null
537  
538   if mkdir -p . 2>/dev/null; then
539    as_mkdir_p=:
# Line 224 | Line 542 | fi
542    as_mkdir_p=false
543   fi
544  
545 < as_executable_p="test -f"
545 > if test -x / >/dev/null 2>&1; then
546 >  as_test_x='test -x'
547 > else
548 >  if ls -dL / >/dev/null 2>&1; then
549 >    as_ls_L_option=L
550 >  else
551 >    as_ls_L_option=
552 >  fi
553 >  as_test_x='
554 >    eval sh -c '\''
555 >      if test -d "$1"; then
556 >        test -d "$1/.";
557 >      else
558 >        case $1 in
559 >        -*)set "./$1";;
560 >        esac;
561 >        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 >        ???[sx]*):;;*)false;;esac;fi
563 >    '\'' sh
564 >  '
565 > fi
566 > as_executable_p=$as_test_x
567  
568   # Sed expression to map a string onto a valid CPP name.
569   as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Line 233 | Line 572 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
572   as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
573  
574  
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
239 '
240 IFS="   $as_nl"
575  
576 < # CDPATH.
243 < $as_unset CDPATH
576 > exec 7<&0 </dev/null 6>&1
577  
245
578   # Name of the host.
579   # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580   # so uname gets run too.
581   ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582  
251 exec 6>&1
252
583   #
584   # Initializations.
585   #
586   ac_default_prefix=/usr/local
587 + ac_clean_files=
588   ac_config_libobj_dir=.
589 + LIBOBJS=
590   cross_compiling=no
591   subdirs=
592   MFLAGS=
593   MAKEFLAGS=
594   SHELL=${CONFIG_SHELL-/bin/sh}
595  
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete.  It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
268
596   # Identity of this package.
597   PACKAGE_NAME='OOPSE'
598   PACKAGE_TARNAME='oopse'
599 < PACKAGE_VERSION='3.0'
600 < PACKAGE_STRING='OOPSE 3.0'
599 > PACKAGE_VERSION='4.0'
600 > PACKAGE_STRING='OOPSE 4.0'
601   PACKAGE_BUGREPORT='gezelter@nd.edu'
602  
603   ac_unique_file="src/applications/oopse/oopse.cpp"
# Line 278 | Line 605 | ac_includes_default="\
605   # Factoring default headers for most tests.
606   ac_includes_default="\
607   #include <stdio.h>
608 < #if HAVE_SYS_TYPES_H
608 > #ifdef HAVE_SYS_TYPES_H
609   # include <sys/types.h>
610   #endif
611 < #if HAVE_SYS_STAT_H
611 > #ifdef HAVE_SYS_STAT_H
612   # include <sys/stat.h>
613   #endif
614 < #if STDC_HEADERS
614 > #ifdef STDC_HEADERS
615   # include <stdlib.h>
616   # include <stddef.h>
617   #else
618 < # if HAVE_STDLIB_H
618 > # ifdef HAVE_STDLIB_H
619   #  include <stdlib.h>
620   # endif
621   #endif
622 < #if HAVE_STRING_H
623 < # if !STDC_HEADERS && HAVE_MEMORY_H
622 > #ifdef HAVE_STRING_H
623 > # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
624   #  include <memory.h>
625   # endif
626   # include <string.h>
627   #endif
628 < #if HAVE_STRINGS_H
628 > #ifdef HAVE_STRINGS_H
629   # include <strings.h>
630   #endif
631 < #if HAVE_INTTYPES_H
631 > #ifdef HAVE_INTTYPES_H
632   # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 #  include <stdint.h>
309 # endif
633   #endif
634 < #if HAVE_UNISTD_H
634 > #ifdef HAVE_STDINT_H
635 > # include <stdint.h>
636 > #endif
637 > #ifdef HAVE_UNISTD_H
638   # include <unistd.h>
639   #endif"
640  
641 < 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os PROGNAME debug CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC FC FCFLAGS ac_ct_FC CPP EGREP LN_S SET_MAKE RANLIB ac_ct_RANLIB PERLINTERP PERL_SHEBANG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA AR PS FCFLAGS_F90 FCFLAGS_SRCEXT PREPDEFFLAG FCLIBS FC_FUNC FC_FUNC_ MOD F90_WORK_FILES_ARG MODDIRFLAG F90MODINCSPEC F90_MODULE_NAMES ZLIB_INC_DIR ZLIB_LIB_DIR ZLIB FFTW_INC_DIR FFTW_LIB_DIR FFTW_LIBS LIBOBJS POW_LIB CXXCPP __func__ MPI_LIB_DIR MPI_INC_DIR MPI_F90_INC MPI_LIB MPI_F90_LIB USE_MPI USE_CGAL CGAL_INC_DIR CGAL_LIB_DIR CGAL_RLIB_DIR CGAL_DEFINES CGAL_CXXFLAGS CGAL_LIBS DOXYGEN DOT DOC enable_dot enable_html_docs enable_latex_docs BATEXT MKINSTALLDIRS OOPSE OOPSE_HOME SUBDIRS LTLIBOBJS'
641 > ac_subst_vars='SHELL
642 > PATH_SEPARATOR
643 > PACKAGE_NAME
644 > PACKAGE_TARNAME
645 > PACKAGE_VERSION
646 > PACKAGE_STRING
647 > PACKAGE_BUGREPORT
648 > exec_prefix
649 > prefix
650 > program_transform_name
651 > bindir
652 > sbindir
653 > libexecdir
654 > datarootdir
655 > datadir
656 > sysconfdir
657 > sharedstatedir
658 > localstatedir
659 > includedir
660 > oldincludedir
661 > docdir
662 > infodir
663 > htmldir
664 > dvidir
665 > pdfdir
666 > psdir
667 > libdir
668 > localedir
669 > mandir
670 > DEFS
671 > ECHO_C
672 > ECHO_N
673 > ECHO_T
674 > LIBS
675 > build_alias
676 > host_alias
677 > target_alias
678 > build
679 > build_cpu
680 > build_vendor
681 > build_os
682 > host
683 > host_cpu
684 > host_vendor
685 > host_os
686 > PROGNAME
687 > debug
688 > USE_SINGLE_PRECISION
689 > ac_cc_set
690 > ac_cc_path
691 > ac_cxx_set
692 > ac_cxx_path
693 > ac_fc_set
694 > ac_fc_path
695 > acx_mpi_mpicc
696 > acx_mpi_mpicc_path
697 > acx_mpi_mpif90
698 > acx_mpi_mpif90_path
699 > acx_mpi_mpicxx
700 > acx_mpi_mpicxx_path
701 > MPI_CPPFLAGS
702 > MPI_LIBS
703 > MPI90_LIBS
704 > USE_MPI
705 > CXX
706 > CXXFLAGS
707 > LDFLAGS
708 > CPPFLAGS
709 > ac_ct_CXX
710 > EXEEXT
711 > OBJEXT
712 > CC
713 > CFLAGS
714 > ac_ct_CC
715 > FC
716 > FCFLAGS
717 > ac_ct_FC
718 > CPP
719 > GREP
720 > EGREP
721 > LN_S
722 > SET_MAKE
723 > RANLIB
724 > PERLINTERP
725 > PERL_SHEBANG
726 > INSTALL_PROGRAM
727 > INSTALL_SCRIPT
728 > INSTALL_DATA
729 > AR
730 > PS
731 > FCFLAGS_F90
732 > FCFLAGS_SRCEXT
733 > PREPDEFFLAG
734 > FCLIBS
735 > FC_FUNC
736 > FC_FUNC_
737 > MOD
738 > F90_WORK_FILES_ARG
739 > MODDIRFLAG
740 > F90MODINCSPEC
741 > F90_MODULE_NAMES
742 > ZLIB_INC_DIR
743 > ZLIB_LIB_DIR
744 > ZLIB
745 > FFTW_INC_DIR
746 > FFTW_LIB_DIR
747 > FFTW_LIBS
748 > QHULL_INC_DIR
749 > QHULL_LIB_DIR
750 > QHULL
751 > USE_QHULL
752 > CXXCPP
753 > OPENBABEL_INC_DIR
754 > OPENBABEL_LIB_DIR
755 > OPENBABEL_LIB
756 > USE_OPENBABEL
757 > LIBOBJS
758 > POW_LIB
759 > CGAL_MAKEFILE
760 > CGAL_CXXFLAGS
761 > CGAL_CPPFLAGS
762 > CGAL_LDFLAGS
763 > CGAL_LIBS
764 > USE_CGAL
765 > DOXYGEN
766 > DOT
767 > DOC
768 > enable_dot
769 > enable_html_docs
770 > enable_latex_docs
771 > BATEXT
772 > MKINSTALLDIRS
773 > OOPSE
774 > OOPSE_HOME
775 > SUBDIRS
776 > LTLIBOBJS'
777   ac_subst_files=''
778 + ac_user_opts='
779 + enable_option_checking
780 + enable_oopse_home
781 + enable_debug
782 + enable_single
783 + enable_float
784 + with_mpi
785 + with_perl_shebang
786 + with_zlib
787 + with_fftw
788 + with_qhull
789 + with_openbabel
790 + with_cgalmakefile
791 + enable_doxygen
792 + enable_dot
793 + enable_html_docs
794 + enable_latex_docs
795 + '
796 +      ac_precious_vars='build_alias
797 + host_alias
798 + target_alias
799 + CXX
800 + CXXFLAGS
801 + LDFLAGS
802 + LIBS
803 + CPPFLAGS
804 + CCC
805 + CC
806 + CFLAGS
807 + FC
808 + FCFLAGS
809 + CPP
810 + CXXCPP'
811  
812 +
813   # Initialize some variables set by options.
814   ac_init_help=
815   ac_init_version=false
816 + ac_unrecognized_opts=
817 + ac_unrecognized_sep=
818   # The variables have the same names as the options, with
819   # dashes changed to underlines.
820   cache_file=/dev/null
# Line 340 | Line 837 | x_libraries=NONE
837   # and all the variables that are supposed to be based on exec_prefix
838   # by default will actually change.
839   # Use braces instead of parens because sh, perl, etc. also accept them.
840 + # (The list follows the same order as the GNU Coding Standards.)
841   bindir='${exec_prefix}/bin'
842   sbindir='${exec_prefix}/sbin'
843   libexecdir='${exec_prefix}/libexec'
844 < datadir='${prefix}/share'
844 > datarootdir='${prefix}/share'
845 > datadir='${datarootdir}'
846   sysconfdir='${prefix}/etc'
847   sharedstatedir='${prefix}/com'
848   localstatedir='${prefix}/var'
350 libdir='${exec_prefix}/lib'
849   includedir='${prefix}/include'
850   oldincludedir='/usr/include'
851 < infodir='${prefix}/info'
852 < mandir='${prefix}/man'
851 > docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
852 > infodir='${datarootdir}/info'
853 > htmldir='${docdir}'
854 > dvidir='${docdir}'
855 > pdfdir='${docdir}'
856 > psdir='${docdir}'
857 > libdir='${exec_prefix}/lib'
858 > localedir='${datarootdir}/locale'
859 > mandir='${datarootdir}/man'
860  
861   ac_prev=
862 + ac_dashdash=
863   for ac_option
864   do
865    # If the previous option needs an argument, assign it.
866    if test -n "$ac_prev"; then
867 <    eval "$ac_prev=\$ac_option"
867 >    eval $ac_prev=\$ac_option
868      ac_prev=
869      continue
870    fi
871  
872 <  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
872 >  case $ac_option in
873 >  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
874 >  *)    ac_optarg=yes ;;
875 >  esac
876  
877    # Accept the important Cygnus configure options, so we can diagnose typos.
878  
879 <  case $ac_option in
879 >  case $ac_dashdash$ac_option in
880 >  --)
881 >    ac_dashdash=yes ;;
882  
883    -bindir | --bindir | --bindi | --bind | --bin | --bi)
884      ac_prev=bindir ;;
# Line 389 | Line 900 | do
900    --config-cache | -C)
901      cache_file=config.cache ;;
902  
903 <  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
903 >  -datadir | --datadir | --datadi | --datad)
904      ac_prev=datadir ;;
905 <  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
395 <  | --da=*)
905 >  -datadir=* | --datadir=* | --datadi=* | --datad=*)
906      datadir=$ac_optarg ;;
907  
908 +  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
909 +  | --dataroo | --dataro | --datar)
910 +    ac_prev=datarootdir ;;
911 +  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
912 +  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
913 +    datarootdir=$ac_optarg ;;
914 +
915    -disable-* | --disable-*)
916 <    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
916 >    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
917      # Reject names that are not valid shell variable names.
918 <    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
919 <      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
918 >    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
919 >      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
920     { (exit 1); exit 1; }; }
921 <    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
922 <    eval "enable_$ac_feature=no" ;;
921 >    ac_useropt_orig=$ac_useropt
922 >    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
923 >    case $ac_user_opts in
924 >      *"
925 > "enable_$ac_useropt"
926 > "*) ;;
927 >      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
928 >         ac_unrecognized_sep=', ';;
929 >    esac
930 >    eval enable_$ac_useropt=no ;;
931  
932 <  -enable-* | --enable-*)
933 <    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
932 >  -docdir | --docdir | --docdi | --doc | --do)
933 >    ac_prev=docdir ;;
934 >  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
935 >    docdir=$ac_optarg ;;
936 >
937 >  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
938 >    ac_prev=dvidir ;;
939 >  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
940 >    dvidir=$ac_optarg ;;
941 >
942 >  -enable-* | --enable-*)
943 >    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
944      # Reject names that are not valid shell variable names.
945 <    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
946 <      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
945 >    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
946 >      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
947     { (exit 1); exit 1; }; }
948 <    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
949 <    case $ac_option in
950 <      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
951 <      *) ac_optarg=yes ;;
948 >    ac_useropt_orig=$ac_useropt
949 >    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
950 >    case $ac_user_opts in
951 >      *"
952 > "enable_$ac_useropt"
953 > "*) ;;
954 >      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
955 >         ac_unrecognized_sep=', ';;
956      esac
957 <    eval "enable_$ac_feature='$ac_optarg'" ;;
957 >    eval enable_$ac_useropt=\$ac_optarg ;;
958  
959    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
960    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
# Line 442 | Line 981 | do
981    -host=* | --host=* | --hos=* | --ho=*)
982      host_alias=$ac_optarg ;;
983  
984 +  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
985 +    ac_prev=htmldir ;;
986 +  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
987 +  | --ht=*)
988 +    htmldir=$ac_optarg ;;
989 +
990    -includedir | --includedir | --includedi | --included | --include \
991    | --includ | --inclu | --incl | --inc)
992      ac_prev=includedir ;;
# Line 466 | Line 1011 | do
1011    | --libexe=* | --libex=* | --libe=*)
1012      libexecdir=$ac_optarg ;;
1013  
1014 +  -localedir | --localedir | --localedi | --localed | --locale)
1015 +    ac_prev=localedir ;;
1016 +  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1017 +    localedir=$ac_optarg ;;
1018 +
1019    -localstatedir | --localstatedir | --localstatedi | --localstated \
1020 <  | --localstate | --localstat | --localsta | --localst \
471 <  | --locals | --local | --loca | --loc | --lo)
1020 >  | --localstate | --localstat | --localsta | --localst | --locals)
1021      ac_prev=localstatedir ;;
1022    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1023 <  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 <  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1023 >  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1024      localstatedir=$ac_optarg ;;
1025  
1026    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
# Line 537 | Line 1085 | do
1085    | --progr-tra=* | --program-tr=* | --program-t=*)
1086      program_transform_name=$ac_optarg ;;
1087  
1088 +  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1089 +    ac_prev=pdfdir ;;
1090 +  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1091 +    pdfdir=$ac_optarg ;;
1092 +
1093 +  -psdir | --psdir | --psdi | --psd | --ps)
1094 +    ac_prev=psdir ;;
1095 +  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1096 +    psdir=$ac_optarg ;;
1097 +
1098    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1099    | -silent | --silent | --silen | --sile | --sil)
1100      silent=yes ;;
# Line 587 | Line 1145 | do
1145      ac_init_version=: ;;
1146  
1147    -with-* | --with-*)
1148 <    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1148 >    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1149      # Reject names that are not valid shell variable names.
1150 <    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1151 <      { echo "$as_me: error: invalid package name: $ac_package" >&2
1150 >    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1151 >      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1152     { (exit 1); exit 1; }; }
1153 <    ac_package=`echo $ac_package| sed 's/-/_/g'`
1154 <    case $ac_option in
1155 <      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1156 <      *) ac_optarg=yes ;;
1153 >    ac_useropt_orig=$ac_useropt
1154 >    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1155 >    case $ac_user_opts in
1156 >      *"
1157 > "with_$ac_useropt"
1158 > "*) ;;
1159 >      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1160 >         ac_unrecognized_sep=', ';;
1161      esac
1162 <    eval "with_$ac_package='$ac_optarg'" ;;
1162 >    eval with_$ac_useropt=\$ac_optarg ;;
1163  
1164    -without-* | --without-*)
1165 <    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1165 >    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1166      # Reject names that are not valid shell variable names.
1167 <    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1168 <      { echo "$as_me: error: invalid package name: $ac_package" >&2
1167 >    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1168 >      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1169     { (exit 1); exit 1; }; }
1170 <    ac_package=`echo $ac_package | sed 's/-/_/g'`
1171 <    eval "with_$ac_package=no" ;;
1170 >    ac_useropt_orig=$ac_useropt
1171 >    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1172 >    case $ac_user_opts in
1173 >      *"
1174 > "with_$ac_useropt"
1175 > "*) ;;
1176 >      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1177 >         ac_unrecognized_sep=', ';;
1178 >    esac
1179 >    eval with_$ac_useropt=no ;;
1180  
1181    --x)
1182      # Obsolete; use --with-x.
# Line 626 | Line 1196 | do
1196    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1197      x_libraries=$ac_optarg ;;
1198  
1199 <  -*) { echo "$as_me: error: unrecognized option: $ac_option
1199 >  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1200   Try \`$0 --help' for more information." >&2
1201     { (exit 1); exit 1; }; }
1202      ;;
# Line 635 | Line 1205 | Try \`$0 --help' for more information." >&2
1205      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1206      # Reject names that are not valid shell variable names.
1207      expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1208 <      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1208 >      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1209     { (exit 1); exit 1; }; }
1210 <    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 <    eval "$ac_envvar='$ac_optarg'"
1210 >    eval $ac_envvar=\$ac_optarg
1211      export $ac_envvar ;;
1212  
1213    *)
1214      # FIXME: should be removed in autoconf 3.0.
1215 <    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1215 >    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1216      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1217 <      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1217 >      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1218      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1219      ;;
1220  
# Line 654 | Line 1223 | if test -n "$ac_prev"; then
1223  
1224   if test -n "$ac_prev"; then
1225    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1226 <  { echo "$as_me: error: missing argument to $ac_option" >&2
1226 >  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1227     { (exit 1); exit 1; }; }
1228   fi
1229  
1230 < # Be sure to have absolute paths.
1231 < for ac_var in exec_prefix prefix
1232 < do
1233 <  eval ac_val=$`echo $ac_var`
1234 <  case $ac_val in
1235 <    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667 <    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 <   { (exit 1); exit 1; }; };;
1230 > if test -n "$ac_unrecognized_opts"; then
1231 >  case $enable_option_checking in
1232 >    no) ;;
1233 >    fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1234 >   { (exit 1); exit 1; }; } ;;
1235 >    *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1236    esac
1237 < done
1237 > fi
1238  
1239 < # Be sure to have absolute paths.
1240 < for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1241 <              localstatedir libdir includedir oldincludedir infodir mandir
1239 > # Check all directory arguments for consistency.
1240 > for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1241 >                datadir sysconfdir sharedstatedir localstatedir includedir \
1242 >                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1243 >                libdir localedir mandir
1244   do
1245 <  eval ac_val=$`echo $ac_var`
1245 >  eval ac_val=\$$ac_var
1246 >  # Remove trailing slashes.
1247    case $ac_val in
1248 <    [\\/$]* | ?:[\\/]* ) ;;
1249 <    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1250 <   { (exit 1); exit 1; }; };;
1248 >    */ )
1249 >      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1250 >      eval $ac_var=\$ac_val;;
1251    esac
1252 +  # Be sure to have absolute directory names.
1253 +  case $ac_val in
1254 +    [\\/$]* | ?:[\\/]* )  continue;;
1255 +    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1256 +  esac
1257 +  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1258 +   { (exit 1); exit 1; }; }
1259   done
1260  
1261   # There might be people who depend on the old broken behavior: `$host'
# Line 692 | Line 1269 | if test "x$host_alias" != x; then
1269   if test "x$host_alias" != x; then
1270    if test "x$build_alias" = x; then
1271      cross_compiling=maybe
1272 <    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1272 >    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1273      If a cross compiler is detected then cross compile mode will be used." >&2
1274    elif test "x$build_alias" != "x$host_alias"; then
1275      cross_compiling=yes
# Line 705 | Line 1282 | test "$silent" = yes && exec 6>/dev/null
1282   test "$silent" = yes && exec 6>/dev/null
1283  
1284  
1285 < # Find the source files, if location was not specified.
1286 < if test -z "$srcdir"; then
1287 <  ac_srcdir_defaulted=yes
1288 <  # Try the directory containing this script, then its parent.
1289 <  ac_confdir=`(dirname "$0") 2>/dev/null ||
1290 < $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1291 <         X"$0" : 'X\(//\)[^/]' \| \
1292 <         X"$0" : 'X\(//\)$' \| \
1293 <         X"$0" : 'X\(/\)' \| \
1294 <         .     : '\(.\)' 2>/dev/null ||
1295 < echo X"$0" |
1296 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1297 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1298 <          /^X\(\/\/\)$/{ s//\1/; q; }
1299 <          /^X\(\/\).*/{ s//\1/; q; }
1300 <          s/.*/./; q'`
1285 > ac_pwd=`pwd` && test -n "$ac_pwd" &&
1286 > ac_ls_di=`ls -di .` &&
1287 > ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1288 >  { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1289 >   { (exit 1); exit 1; }; }
1290 > test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1291 >  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1292 >   { (exit 1); exit 1; }; }
1293 >
1294 >
1295 > # Find the source files, if location was not specified.
1296 > if test -z "$srcdir"; then
1297 >  ac_srcdir_defaulted=yes
1298 >  # Try the directory containing this script, then the parent directory.
1299 >  ac_confdir=`$as_dirname -- "$as_myself" ||
1300 > $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1301 >         X"$as_myself" : 'X\(//\)[^/]' \| \
1302 >         X"$as_myself" : 'X\(//\)$' \| \
1303 >         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1304 > $as_echo X"$as_myself" |
1305 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1306 >            s//\1/
1307 >            q
1308 >          }
1309 >          /^X\(\/\/\)[^/].*/{
1310 >            s//\1/
1311 >            q
1312 >          }
1313 >          /^X\(\/\/\)$/{
1314 >            s//\1/
1315 >            q
1316 >          }
1317 >          /^X\(\/\).*/{
1318 >            s//\1/
1319 >            q
1320 >          }
1321 >          s/.*/./; q'`
1322    srcdir=$ac_confdir
1323 <  if test ! -r $srcdir/$ac_unique_file; then
1323 >  if test ! -r "$srcdir/$ac_unique_file"; then
1324      srcdir=..
1325    fi
1326   else
1327    ac_srcdir_defaulted=no
1328   fi
1329 < if test ! -r $srcdir/$ac_unique_file; then
1330 <  if test "$ac_srcdir_defaulted" = yes; then
1331 <    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1329 > if test ! -r "$srcdir/$ac_unique_file"; then
1330 >  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1331 >  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1332     { (exit 1); exit 1; }; }
735  else
736    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737   { (exit 1); exit 1; }; }
738  fi
1333   fi
1334 < (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1335 <  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1334 > ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1335 > ac_abs_confdir=`(
1336 >        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1337     { (exit 1); exit 1; }; }
1338 < srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1339 < ac_env_build_alias_set=${build_alias+set}
1340 < ac_env_build_alias_value=$build_alias
1341 < ac_cv_env_build_alias_set=${build_alias+set}
1342 < ac_cv_env_build_alias_value=$build_alias
1343 < ac_env_host_alias_set=${host_alias+set}
1344 < ac_env_host_alias_value=$host_alias
1345 < ac_cv_env_host_alias_set=${host_alias+set}
1346 < ac_cv_env_host_alias_value=$host_alias
1347 < ac_env_target_alias_set=${target_alias+set}
1348 < ac_env_target_alias_value=$target_alias
1349 < ac_cv_env_target_alias_set=${target_alias+set}
1350 < ac_cv_env_target_alias_value=$target_alias
1351 < ac_env_CXX_set=${CXX+set}
1352 < ac_env_CXX_value=$CXX
1353 < ac_cv_env_CXX_set=${CXX+set}
1354 < ac_cv_env_CXX_value=$CXX
760 < ac_env_CXXFLAGS_set=${CXXFLAGS+set}
761 < ac_env_CXXFLAGS_value=$CXXFLAGS
762 < ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
763 < ac_cv_env_CXXFLAGS_value=$CXXFLAGS
764 < ac_env_LDFLAGS_set=${LDFLAGS+set}
765 < ac_env_LDFLAGS_value=$LDFLAGS
766 < ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
767 < ac_cv_env_LDFLAGS_value=$LDFLAGS
768 < ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769 < ac_env_CPPFLAGS_value=$CPPFLAGS
770 < ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771 < ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772 < ac_env_CC_set=${CC+set}
773 < ac_env_CC_value=$CC
774 < ac_cv_env_CC_set=${CC+set}
775 < ac_cv_env_CC_value=$CC
776 < ac_env_CFLAGS_set=${CFLAGS+set}
777 < ac_env_CFLAGS_value=$CFLAGS
778 < ac_cv_env_CFLAGS_set=${CFLAGS+set}
779 < ac_cv_env_CFLAGS_value=$CFLAGS
780 < ac_env_FC_set=${FC+set}
781 < ac_env_FC_value=$FC
782 < ac_cv_env_FC_set=${FC+set}
783 < ac_cv_env_FC_value=$FC
784 < ac_env_FCFLAGS_set=${FCFLAGS+set}
785 < ac_env_FCFLAGS_value=$FCFLAGS
786 < ac_cv_env_FCFLAGS_set=${FCFLAGS+set}
787 < ac_cv_env_FCFLAGS_value=$FCFLAGS
788 < ac_env_CPP_set=${CPP+set}
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
1338 >        pwd)`
1339 > # When building in place, set srcdir=.
1340 > if test "$ac_abs_confdir" = "$ac_pwd"; then
1341 >  srcdir=.
1342 > fi
1343 > # Remove unnecessary trailing slashes from srcdir.
1344 > # Double slashes in file names in object file debugging info
1345 > # mess up M-x gdb in Emacs.
1346 > case $srcdir in
1347 > */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1348 > esac
1349 > for ac_var in $ac_precious_vars; do
1350 >  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1351 >  eval ac_env_${ac_var}_value=\$${ac_var}
1352 >  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1353 >  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1354 > done
1355  
1356   #
1357   # Report the --help message.
# Line 801 | Line 1360 | if test "$ac_init_help" = "long"; then
1360    # Omit some internal or obsolete options to make the list less imposing.
1361    # This message is too long to be a string in the A/UX 3.1 sh.
1362    cat <<_ACEOF
1363 < \`configure' configures OOPSE 3.0 to adapt to many kinds of systems.
1363 > \`configure' configures OOPSE 4.0 to adapt to many kinds of systems.
1364  
1365   Usage: $0 [OPTION]... [VAR=VALUE]...
1366  
# Line 821 | Line 1380 | Configuration:
1380    -n, --no-create         do not create output files
1381        --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1382  
824 _ACEOF
825
826  cat <<_ACEOF
1383   Installation directories:
1384    --prefix=PREFIX         install architecture-independent files in PREFIX
1385 <                          [$ac_default_prefix]
1385 >                          [$ac_default_prefix]
1386    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1387 <                          [PREFIX]
1387 >                          [PREFIX]
1388  
1389   By default, \`make install' will install all the files in
1390   \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
# Line 838 | Line 1394 | Fine tuning of the installation directories:
1394   For better control, use the options below.
1395  
1396   Fine tuning of the installation directories:
1397 <  --bindir=DIR           user executables [EPREFIX/bin]
1398 <  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1399 <  --libexecdir=DIR       program executables [EPREFIX/libexec]
1400 <  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
1401 <  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1402 <  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1403 <  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1404 <  --libdir=DIR           object code libraries [EPREFIX/lib]
1405 <  --includedir=DIR       C header files [PREFIX/include]
1406 <  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1407 <  --infodir=DIR          info documentation [PREFIX/info]
1408 <  --mandir=DIR           man documentation [PREFIX/man]
1397 >  --bindir=DIR            user executables [EPREFIX/bin]
1398 >  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1399 >  --libexecdir=DIR        program executables [EPREFIX/libexec]
1400 >  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1401 >  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1402 >  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1403 >  --libdir=DIR            object code libraries [EPREFIX/lib]
1404 >  --includedir=DIR        C header files [PREFIX/include]
1405 >  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1406 >  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1407 >  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1408 >  --infodir=DIR           info documentation [DATAROOTDIR/info]
1409 >  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1410 >  --mandir=DIR            man documentation [DATAROOTDIR/man]
1411 >  --docdir=DIR            documentation root [DATAROOTDIR/doc/oopse]
1412 >  --htmldir=DIR           html documentation [DOCDIR]
1413 >  --dvidir=DIR            dvi documentation [DOCDIR]
1414 >  --pdfdir=DIR            pdf documentation [DOCDIR]
1415 >  --psdir=DIR             ps documentation [DOCDIR]
1416   _ACEOF
1417  
1418    cat <<\_ACEOF
# Line 862 | Line 1425 | if test -n "$ac_init_help"; then
1425  
1426   if test -n "$ac_init_help"; then
1427    case $ac_init_help in
1428 <     short | recursive ) echo "Configuration of OOPSE 3.0:";;
1428 >     short | recursive ) echo "Configuration of OOPSE 4.0:";;
1429     esac
1430    cat <<\_ACEOF
1431  
1432   Optional Features:
1433 +  --disable-option-checking  ignore unrecognized --enable/--with options
1434    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1435    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1436    --enable-oopse-home=DIR      define oopse home dir PREFIX/oopse
# Line 881 | Line 1445 | Optional Packages:
1445   Optional Packages:
1446    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1447    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1448 +  --with-mpi=auto|mpich|lam|openmpi|no
1449 +                          Indicates which kind of MPI implementation to use
1450 +                          [default=auto]
1451    --with-perl-shebang     override what perl thinks is the way for the kernel
1452                            to start it (seldom needed)
1453    --with-zlib=DIR         root directory path of zlib installation (defaults
1454                            to /usr/local or /usr if not found in /usr/local)
1455    --with-fftw=DIR         root directory path of fftw installation (defaults
1456                            to /usr/local or /usr if not found in /usr/local)
1457 <  --with-mpi=<prefix>     compile with MPI installed in <prefix> [default=no]
1458 <  --with-cgal-makefile=FILE  CGAL makefile that should be used
1457 >  --with-qhull=DIR        root directory path of qhull installation (defaults
1458 >                          to /usr/local or /usr if not found in /usr/local)
1459 >  --with-openbabel=DIR    root directory path of openbabel-2.x installation
1460 >                          (defaults to /usr/local or /usr if not found in
1461 >                          /usr/local)
1462 >  --with-cgalmakefile=makefile
1463 >                          Use the following CGAL makefile
1464  
1465   Some influential environment variables:
1466    CXX         C++ compiler command
1467    CXXFLAGS    C++ compiler flags
1468    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1469                nonstandard directory <lib dir>
1470 <  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1471 <              headers in a nonstandard directory <include dir>
1470 >  LIBS        libraries to pass to the linker, e.g. -l<library>
1471 >  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1472 >              you have headers in a nonstandard directory <include dir>
1473    CC          C compiler command
1474    CFLAGS      C compiler flags
1475    FC          Fortran compiler command
# Line 909 | Line 1482 | _ACEOF
1482  
1483   Report bugs to <gezelter@nd.edu>.
1484   _ACEOF
1485 + ac_status=$?
1486   fi
1487  
1488   if test "$ac_init_help" = "recursive"; then
1489    # If there are subdirs, report their specific --help.
916  ac_popdir=`pwd`
1490    for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1491 <    test -d $ac_dir || continue
1491 >    test -d "$ac_dir" ||
1492 >      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1493 >      continue
1494      ac_builddir=.
1495  
1496 < if test "$ac_dir" != .; then
1497 <  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1498 <  # A "../" for each directory in $ac_dir_suffix.
1499 <  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1500 < else
1501 <  ac_dir_suffix= ac_top_builddir=
1502 < fi
1496 > case "$ac_dir" in
1497 > .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1498 > *)
1499 >  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1500 >  # A ".." for each directory in $ac_dir_suffix.
1501 >  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1502 >  case $ac_top_builddir_sub in
1503 >  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1504 >  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1505 >  esac ;;
1506 > esac
1507 > ac_abs_top_builddir=$ac_pwd
1508 > ac_abs_builddir=$ac_pwd$ac_dir_suffix
1509 > # for backward compatibility:
1510 > ac_top_builddir=$ac_top_build_prefix
1511  
1512   case $srcdir in
1513 <  .)  # No --srcdir option.  We are building in place.
1513 >  .)  # We are building in place.
1514      ac_srcdir=.
1515 <    if test -z "$ac_top_builddir"; then
1516 <       ac_top_srcdir=.
1517 <    else
935 <       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
936 <    fi ;;
937 <  [\\/]* | ?:[\\/]* )  # Absolute path.
1515 >    ac_top_srcdir=$ac_top_builddir_sub
1516 >    ac_abs_top_srcdir=$ac_pwd ;;
1517 >  [\\/]* | ?:[\\/]* )  # Absolute name.
1518      ac_srcdir=$srcdir$ac_dir_suffix;
1519 <    ac_top_srcdir=$srcdir ;;
1520 <  *) # Relative path.
1521 <    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1522 <    ac_top_srcdir=$ac_top_builddir$srcdir ;;
1519 >    ac_top_srcdir=$srcdir
1520 >    ac_abs_top_srcdir=$srcdir ;;
1521 >  *) # Relative name.
1522 >    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1523 >    ac_top_srcdir=$ac_top_build_prefix$srcdir
1524 >    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1525   esac
1526 + ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1527  
1528 < # Do not use `cd foo && pwd` to compute absolute paths, because
1529 < # the directories may not exist.
1530 < case `pwd` in
1531 < .) ac_abs_builddir="$ac_dir";;
1532 < *)
1533 <  case "$ac_dir" in
1534 <  .) ac_abs_builddir=`pwd`;;
1535 <  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
953 <  *) ac_abs_builddir=`pwd`/"$ac_dir";;
954 <  esac;;
955 < esac
956 < case $ac_abs_builddir in
957 < .) ac_abs_top_builddir=${ac_top_builddir}.;;
958 < *)
959 <  case ${ac_top_builddir}. in
960 <  .) ac_abs_top_builddir=$ac_abs_builddir;;
961 <  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
962 <  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
963 <  esac;;
964 < esac
965 < case $ac_abs_builddir in
966 < .) ac_abs_srcdir=$ac_srcdir;;
967 < *)
968 <  case $ac_srcdir in
969 <  .) ac_abs_srcdir=$ac_abs_builddir;;
970 <  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
971 <  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
972 <  esac;;
973 < esac
974 < case $ac_abs_builddir in
975 < .) ac_abs_top_srcdir=$ac_top_srcdir;;
976 < *)
977 <  case $ac_top_srcdir in
978 <  .) ac_abs_top_srcdir=$ac_abs_builddir;;
979 <  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
980 <  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
981 <  esac;;
982 < esac
983 <
984 <    cd $ac_dir
985 <    # Check for guested configure; otherwise get Cygnus style configure.
986 <    if test -f $ac_srcdir/configure.gnu; then
987 <      echo
988 <      $SHELL $ac_srcdir/configure.gnu  --help=recursive
989 <    elif test -f $ac_srcdir/configure; then
990 <      echo
991 <      $SHELL $ac_srcdir/configure  --help=recursive
992 <    elif test -f $ac_srcdir/configure.ac ||
993 <           test -f $ac_srcdir/configure.in; then
994 <      echo
995 <      $ac_configure --help
1528 >    cd "$ac_dir" || { ac_status=$?; continue; }
1529 >    # Check for guested configure.
1530 >    if test -f "$ac_srcdir/configure.gnu"; then
1531 >      echo &&
1532 >      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1533 >    elif test -f "$ac_srcdir/configure"; then
1534 >      echo &&
1535 >      $SHELL "$ac_srcdir/configure" --help=recursive
1536      else
1537 <      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1538 <    fi
1539 <    cd $ac_popdir
1537 >      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1538 >    fi || ac_status=$?
1539 >    cd "$ac_pwd" || { ac_status=$?; break; }
1540    done
1541   fi
1542  
1543 < test -n "$ac_init_help" && exit 0
1543 > test -n "$ac_init_help" && exit $ac_status
1544   if $ac_init_version; then
1545    cat <<\_ACEOF
1546 < OOPSE configure 3.0
1547 < generated by GNU Autoconf 2.59
1546 > OOPSE configure 4.0
1547 > generated by GNU Autoconf 2.62
1548  
1549 < Copyright (C) 2003 Free Software Foundation, Inc.
1549 > Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1550 > 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1551   This configure script is free software; the Free Software Foundation
1552   gives unlimited permission to copy, distribute and modify it.
1553   _ACEOF
1554 <  exit 0
1554 >  exit
1555   fi
1556 < exec 5>config.log
1016 < cat >&5 <<_ACEOF
1556 > cat >config.log <<_ACEOF
1557   This file contains any messages produced by compilers while
1558   running configure, to aid debugging if configure makes a mistake.
1559  
1560 < It was created by OOPSE $as_me 3.0, which was
1561 < generated by GNU Autoconf 2.59.  Invocation command line was
1560 > It was created by OOPSE $as_me 4.0, which was
1561 > generated by GNU Autoconf 2.62.  Invocation command line was
1562  
1563    $ $0 $@
1564  
1565   _ACEOF
1566 + exec 5>>config.log
1567   {
1568   cat <<_ASUNAME
1569   ## --------- ##
# Line 1041 | Line 1582 | uname -v = `(uname -v) 2>/dev/null || echo unknown`
1582   /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1583   /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1584   /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1585 < hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1585 > /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1586   /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1587   /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1588   /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
# Line 1053 | Line 1594 | do
1594   do
1595    IFS=$as_save_IFS
1596    test -z "$as_dir" && as_dir=.
1597 <  echo "PATH: $as_dir"
1597 >  $as_echo "PATH: $as_dir"
1598   done
1599 + IFS=$as_save_IFS
1600  
1601   } >&5
1602  
# Line 1076 | Line 1618 | ac_configure_args1=
1618   ac_configure_args=
1619   ac_configure_args0=
1620   ac_configure_args1=
1079 ac_sep=
1621   ac_must_keep_next=false
1622   for ac_pass in 1 2
1623   do
# Line 1087 | Line 1628 | do
1628      -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1629      | -silent | --silent | --silen | --sile | --sil)
1630        continue ;;
1631 <    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1632 <      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1631 >    *\'*)
1632 >      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1633      esac
1634      case $ac_pass in
1635      1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
# Line 1109 | Line 1650 | do
1650            -* ) ac_must_keep_next=true ;;
1651          esac
1652        fi
1653 <      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1113 <      # Get rid of the leading space.
1114 <      ac_sep=" "
1653 >      ac_configure_args="$ac_configure_args '$ac_arg'"
1654        ;;
1655      esac
1656    done
# Line 1122 | Line 1661 | $as_unset ac_configure_args1 || test "${ac_configure_a
1661   # When interrupted or exit'd, cleanup temporary files, and complete
1662   # config.log.  We remove comments because anyway the quotes in there
1663   # would cause problems or look ugly.
1664 < # WARNING: Be sure not to use single quotes in there, as some shells,
1665 < # such as our DU 5.0 friend, will then `close' the trap.
1664 > # WARNING: Use '\'' to represent an apostrophe within the trap.
1665 > # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1666   trap 'exit_status=$?
1667    # Save into config.log some information that might help in debugging.
1668    {
# Line 1136 | Line 1675 | _ASBOX
1675   _ASBOX
1676      echo
1677      # The following way of writing the cache mishandles newlines in values,
1678 < {
1678 > (
1679 >  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1680 >    eval ac_val=\$$ac_var
1681 >    case $ac_val in #(
1682 >    *${as_nl}*)
1683 >      case $ac_var in #(
1684 >      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1685 > $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1686 >      esac
1687 >      case $ac_var in #(
1688 >      _ | IFS | as_nl) ;; #(
1689 >      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1690 >      *) $as_unset $ac_var ;;
1691 >      esac ;;
1692 >    esac
1693 >  done
1694    (set) 2>&1 |
1695 <    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1696 <    *ac_space=\ *)
1695 >    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1696 >    *${as_nl}ac_space=\ *)
1697        sed -n \
1698 <        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1699 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1700 <      ;;
1698 >        "s/'\''/'\''\\\\'\'''\''/g;
1699 >          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1700 >      ;; #(
1701      *)
1702 <      sed -n \
1149 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1702 >      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1703        ;;
1704 <    esac;
1705 < }
1704 >    esac |
1705 >    sort
1706 > )
1707      echo
1708  
1709      cat <<\_ASBOX
# Line 1160 | Line 1714 | _ASBOX
1714      echo
1715      for ac_var in $ac_subst_vars
1716      do
1717 <      eval ac_val=$`echo $ac_var`
1718 <      echo "$ac_var='"'"'$ac_val'"'"'"
1717 >      eval ac_val=\$$ac_var
1718 >      case $ac_val in
1719 >      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1720 >      esac
1721 >      $as_echo "$ac_var='\''$ac_val'\''"
1722      done | sort
1723      echo
1724  
1725      if test -n "$ac_subst_files"; then
1726        cat <<\_ASBOX
1727 < ## ------------- ##
1728 < ## Output files. ##
1729 < ## ------------- ##
1727 > ## ------------------- ##
1728 > ## File substitutions. ##
1729 > ## ------------------- ##
1730   _ASBOX
1731        echo
1732        for ac_var in $ac_subst_files
1733        do
1734 <        eval ac_val=$`echo $ac_var`
1735 <        echo "$ac_var='"'"'$ac_val'"'"'"
1734 >        eval ac_val=\$$ac_var
1735 >        case $ac_val in
1736 >        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1737 >        esac
1738 >        $as_echo "$ac_var='\''$ac_val'\''"
1739        done | sort
1740        echo
1741      fi
# Line 1187 | Line 1747 | _ASBOX
1747   ## ----------- ##
1748   _ASBOX
1749        echo
1750 <      sed "/^$/d" confdefs.h | sort
1750 >      cat confdefs.h
1751        echo
1752      fi
1753      test "$ac_signal" != 0 &&
1754 <      echo "$as_me: caught signal $ac_signal"
1755 <    echo "$as_me: exit $exit_status"
1754 >      $as_echo "$as_me: caught signal $ac_signal"
1755 >    $as_echo "$as_me: exit $exit_status"
1756    } >&5
1757 <  rm -f core *.core &&
1758 <  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1757 >  rm -f core *.core core.conftest.* &&
1758 >    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1759      exit $exit_status
1760 <     ' 0
1760 > ' 0
1761   for ac_signal in 1 2 13 15; do
1762    trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1763   done
1764   ac_signal=0
1765  
1766   # confdefs.h avoids OS command line length limits that DEFS can exceed.
1767 < rm -rf conftest* confdefs.h
1208 < # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1209 < echo >confdefs.h
1767 > rm -f -r conftest* confdefs.h
1768  
1769   # Predefined preprocessor variables.
1770  
# Line 1236 | Line 1794 | _ACEOF
1794  
1795  
1796   # Let the site file select an alternate cache file if it wants to.
1797 < # Prefer explicitly selected file to automatically selected ones.
1798 < if test -z "$CONFIG_SITE"; then
1799 <  if test "x$prefix" != xNONE; then
1800 <    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1801 <  else
1802 <    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1803 <  fi
1797 > # Prefer an explicitly selected file to automatically selected ones.
1798 > ac_site_file1=NONE
1799 > ac_site_file2=NONE
1800 > if test -n "$CONFIG_SITE"; then
1801 >  ac_site_file1=$CONFIG_SITE
1802 > elif test "x$prefix" != xNONE; then
1803 >  ac_site_file1=$prefix/share/config.site
1804 >  ac_site_file2=$prefix/etc/config.site
1805 > else
1806 >  ac_site_file1=$ac_default_prefix/share/config.site
1807 >  ac_site_file2=$ac_default_prefix/etc/config.site
1808   fi
1809 < for ac_site_file in $CONFIG_SITE; do
1809 > for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1810 > do
1811 >  test "x$ac_site_file" = xNONE && continue
1812    if test -r "$ac_site_file"; then
1813 <    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1814 < echo "$as_me: loading site script $ac_site_file" >&6;}
1813 >    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1814 > $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1815      sed 's/^/| /' "$ac_site_file" >&5
1816      . "$ac_site_file"
1817    fi
# Line 1257 | Line 1821 | if test -r "$cache_file"; then
1821    # Some versions of bash will fail to source /dev/null (special
1822    # files actually), so we avoid doing that.
1823    if test -f "$cache_file"; then
1824 <    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1825 < echo "$as_me: loading cache $cache_file" >&6;}
1824 >    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1825 > $as_echo "$as_me: loading cache $cache_file" >&6;}
1826      case $cache_file in
1827 <      [\\/]* | ?:[\\/]* ) . $cache_file;;
1828 <      *)                      . ./$cache_file;;
1827 >      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1828 >      *)                      . "./$cache_file";;
1829      esac
1830    fi
1831   else
1832 <  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1833 < echo "$as_me: creating cache $cache_file" >&6;}
1832 >  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1833 > $as_echo "$as_me: creating cache $cache_file" >&6;}
1834    >$cache_file
1835   fi
1836  
1837   # Check that the precious variables saved in the cache have kept the same
1838   # value.
1839   ac_cache_corrupted=false
1840 < for ac_var in `(set) 2>&1 |
1277 <               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1840 > for ac_var in $ac_precious_vars; do
1841    eval ac_old_set=\$ac_cv_env_${ac_var}_set
1842    eval ac_new_set=\$ac_env_${ac_var}_set
1843 <  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1844 <  eval ac_new_val="\$ac_env_${ac_var}_value"
1843 >  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1844 >  eval ac_new_val=\$ac_env_${ac_var}_value
1845    case $ac_old_set,$ac_new_set in
1846      set,)
1847 <      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1848 < echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1847 >      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1848 > $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1849        ac_cache_corrupted=: ;;
1850      ,set)
1851 <      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1852 < echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1851 >      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1852 > $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1853        ac_cache_corrupted=: ;;
1854      ,);;
1855      *)
1856        if test "x$ac_old_val" != "x$ac_new_val"; then
1857 <        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1858 < echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1859 <        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1860 < echo "$as_me:   former value:  $ac_old_val" >&2;}
1861 <        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1862 < echo "$as_me:   current value: $ac_new_val" >&2;}
1863 <        ac_cache_corrupted=:
1857 >        # differences in whitespace do not lead to failure.
1858 >        ac_old_val_w=`echo x $ac_old_val`
1859 >        ac_new_val_w=`echo x $ac_new_val`
1860 >        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1861 >          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1862 > $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1863 >          ac_cache_corrupted=:
1864 >        else
1865 >          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1866 > $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1867 >          eval $ac_var=\$ac_old_val
1868 >        fi
1869 >        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1870 > $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1871 >        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1872 > $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1873        fi;;
1874    esac
1875    # Pass precious variables to config.status.
1876    if test "$ac_new_set" = set; then
1877      case $ac_new_val in
1878 <    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1307 <      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1878 >    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1879      *) ac_arg=$ac_var=$ac_new_val ;;
1880      esac
1881      case " $ac_configure_args " in
# Line 1314 | Line 1885 | if $ac_cache_corrupted; then
1885    fi
1886   done
1887   if $ac_cache_corrupted; then
1888 <  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1889 < echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1890 <  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1891 < echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1888 >  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1889 > $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1890 >  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1891 > $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1892     { (exit 1); exit 1; }; }
1893   fi
1894  
1324 ac_ext=c
1325 ac_cpp='$CPP $CPPFLAGS'
1326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1895  
1896  
1897  
# Line 1350 | Line 1916 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
1916  
1917  
1918  
1919 + ac_ext=c
1920 + ac_cpp='$CPP $CPPFLAGS'
1921 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1922 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1923 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
1924  
1925  
1355
1926   ac_aux_dir=
1927 < for ac_dir in ac-tools $srcdir/ac-tools; do
1928 <  if test -f $ac_dir/install-sh; then
1927 > for ac_dir in ac-tools "$srcdir"/ac-tools; do
1928 >  if test -f "$ac_dir/install-sh"; then
1929      ac_aux_dir=$ac_dir
1930      ac_install_sh="$ac_aux_dir/install-sh -c"
1931      break
1932 <  elif test -f $ac_dir/install.sh; then
1932 >  elif test -f "$ac_dir/install.sh"; then
1933      ac_aux_dir=$ac_dir
1934      ac_install_sh="$ac_aux_dir/install.sh -c"
1935      break
1936 <  elif test -f $ac_dir/shtool; then
1936 >  elif test -f "$ac_dir/shtool"; then
1937      ac_aux_dir=$ac_dir
1938      ac_install_sh="$ac_aux_dir/shtool install -c"
1939      break
1940    fi
1941   done
1942   if test -z "$ac_aux_dir"; then
1943 <  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&5
1944 < echo "$as_me: error: cannot find install-sh or install.sh in ac-tools $srcdir/ac-tools" >&2;}
1943 >  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ac-tools \"$srcdir\"/ac-tools" >&5
1944 > $as_echo "$as_me: error: cannot find install-sh or install.sh in ac-tools \"$srcdir\"/ac-tools" >&2;}
1945     { (exit 1); exit 1; }; }
1946   fi
1377 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1378 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1379 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1947  
1948 + # These three variables are undocumented and unsupported,
1949 + # and are intended to be withdrawn in a future Autoconf release.
1950 + # They can cause serious problems if a builder's source tree is in a directory
1951 + # whose full name contains unusual characters.
1952 + ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1953 + ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1954 + ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1955  
1382          ac_config_headers="$ac_config_headers src/config.h"
1956  
1957  
1958 + ac_config_headers="$ac_config_headers src/config.h"
1959  
1960  
1961  
# Line 1424 | Line 1998 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
1998  
1999  
2000  
2001 +
2002 +
2003   #
2004   #
2005   #
# Line 1433 | Line 2009 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
2009  
2010  
2011  
2012 +
2013 +
2014 +
2015 +
2016   # AC_F90_MODULE_NAMES
2017   # -------------------
2018   #
# Line 1526 | Line 2106 | ac_configure="$SHELL $ac_aux_dir/configure" # This sho
2106  
2107  
2108  
2109 + # ACX_MPI_GET_PROG
2110  
2111 + # ACX_DETECT_MPI_IMPLEMENTATION
2112 +
2113 +
2114 +
2115 +
2116 +
2117 + # ACX_MPI
2118 +
2119 +
2120 +
2121 +
2122 +
2123 +
2124 +
2125 +
2126 +
2127 +
2128 +
2129 +
2130 +
2131 +
2132 +
2133 +
2134 +
2135 +
2136 +
2137 +
2138 +
2139 +
2140 +
2141 +
2142 +
2143 +
2144 +
2145 + # This is taken from http://autoqt.sourceforge.net/
2146 + # Copyright (c) 2002, Geoffrey Wossum
2147 + # All rights reserved.
2148 +
2149 + # Redistribution and use in source and binary forms, with or without
2150 + # modification, are permitted provided that the following conditions are
2151 + # met:
2152 +
2153 + #  - Redistributions of source code must retain the above copyright notice,
2154 + #    this list of conditions and the following disclaimer.
2155 +
2156 + #  - Redistributions in binary form must reproduce the above copyright
2157 + #    notice, this list of conditions and the following disclaimer in the
2158 + #    documentation and/or other materials provided with the distribution.
2159 +
2160 + #  - Neither the name of Geoffrey Wossum nor the names of its
2161 + #    contributors may be used to endorse or promote products derived from
2162 + #    this software without specific prior written permission.
2163 +
2164 +
2165 + # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2166 + # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
2167 + # TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
2168 + # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
2169 + # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
2170 + # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
2171 + # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
2172 + # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
2173 + # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
2174 + # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
2175 + # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2176 +
2177 +
2178 + # Check for Qt compiler flags, linker flags, and binary packages
2179 +
2180 +
2181 +
2182   # who am i
2183   # Make sure we can run config.sub.
2184 < $ac_config_sub sun4 >/dev/null 2>&1 ||
2185 <  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2186 < echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2184 > $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2185 >  { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2186 > $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2187     { (exit 1); exit 1; }; }
2188  
2189 < echo "$as_me:$LINENO: checking build system type" >&5
2190 < echo $ECHO_N "checking build system type... $ECHO_C" >&6
2189 > { $as_echo "$as_me:$LINENO: checking build system type" >&5
2190 > $as_echo_n "checking build system type... " >&6; }
2191   if test "${ac_cv_build+set}" = set; then
2192 <  echo $ECHO_N "(cached) $ECHO_C" >&6
2192 >  $as_echo_n "(cached) " >&6
2193   else
2194 <  ac_cv_build_alias=$build_alias
2195 < test -z "$ac_cv_build_alias" &&
2196 <  ac_cv_build_alias=`$ac_config_guess`
2197 < test -z "$ac_cv_build_alias" &&
2198 <  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2199 < echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2194 >  ac_build_alias=$build_alias
2195 > test "x$ac_build_alias" = x &&
2196 >  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2197 > test "x$ac_build_alias" = x &&
2198 >  { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2199 > $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2200     { (exit 1); exit 1; }; }
2201 < ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2202 <  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2203 < echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2201 > ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2202 >  { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2203 > $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2204     { (exit 1); exit 1; }; }
2205  
2206   fi
2207 < echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2208 < echo "${ECHO_T}$ac_cv_build" >&6
2207 > { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2208 > $as_echo "$ac_cv_build" >&6; }
2209 > case $ac_cv_build in
2210 > *-*-*) ;;
2211 > *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2212 > $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2213 >   { (exit 1); exit 1; }; };;
2214 > esac
2215   build=$ac_cv_build
2216 < build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2217 < build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2218 < build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2216 > ac_save_IFS=$IFS; IFS='-'
2217 > set x $ac_cv_build
2218 > shift
2219 > build_cpu=$1
2220 > build_vendor=$2
2221 > shift; shift
2222 > # Remember, the first character of IFS is used to create $*,
2223 > # except with old shells:
2224 > build_os=$*
2225 > IFS=$ac_save_IFS
2226 > case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2227  
2228  
2229 < echo "$as_me:$LINENO: checking host system type" >&5
2230 < echo $ECHO_N "checking host system type... $ECHO_C" >&6
2229 > { $as_echo "$as_me:$LINENO: checking host system type" >&5
2230 > $as_echo_n "checking host system type... " >&6; }
2231   if test "${ac_cv_host+set}" = set; then
2232 <  echo $ECHO_N "(cached) $ECHO_C" >&6
2232 >  $as_echo_n "(cached) " >&6
2233   else
2234 <  ac_cv_host_alias=$host_alias
2235 < test -z "$ac_cv_host_alias" &&
2236 <  ac_cv_host_alias=$ac_cv_build_alias
2237 < ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2238 <  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2239 < echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2234 >  if test "x$host_alias" = x; then
2235 >  ac_cv_host=$ac_cv_build
2236 > else
2237 >  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2238 >    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2239 > $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2240     { (exit 1); exit 1; }; }
2241 + fi
2242  
2243   fi
2244 < echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2245 < echo "${ECHO_T}$ac_cv_host" >&6
2244 > { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2245 > $as_echo "$ac_cv_host" >&6; }
2246 > case $ac_cv_host in
2247 > *-*-*) ;;
2248 > *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2249 > $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2250 >   { (exit 1); exit 1; }; };;
2251 > esac
2252   host=$ac_cv_host
2253 < host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2254 < host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2255 < host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2253 > ac_save_IFS=$IFS; IFS='-'
2254 > set x $ac_cv_host
2255 > shift
2256 > host_cpu=$1
2257 > host_vendor=$2
2258 > shift; shift
2259 > # Remember, the first character of IFS is used to create $*,
2260 > # except with old shells:
2261 > host_os=$*
2262 > IFS=$ac_save_IFS
2263 > case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2264  
2265  
2266  
# Line 1601 | Line 2282 | fi
2282   else
2283    OOPSE_HOME=${prefix}/oopse
2284   fi
2285 < # Check whether --enable-oopse-home or --disable-oopse-home was given.
2285 > # Check whether --enable-oopse-home was given.
2286   if test "${enable_oopse_home+set}" = set; then
2287 <  enableval="$enable_oopse_home"
2288 <  OOPSE_HOME="${enableval}"
1608 < fi;
2287 >  enableval=$enable_oopse_home; OOPSE_HOME="${enableval}"
2288 > fi
2289  
2290 +
2291   # there are two ways to do debugging.  One with the --enable-debug flag
2292   # and one using the DEBUG environment variable
2293  
2294   debug=0
2295 < # Check whether --enable-debug or --disable-debug was given.
2295 > # Check whether --enable-debug was given.
2296   if test "${enable_debug+set}" = set; then
2297 <  enableval="$enable_debug"
2298 <  debug=1
2299 < fi;
2297 >  enableval=$enable_debug; debug=1
2298 > fi
2299 >
2300   if test "${DEBUG}"; then
2301  
2302   cat >>confdefs.h <<\_ACEOF
# Line 1626 | Line 2307 | fi
2307   fi
2308  
2309  
2310 < # Check whether --enable-single or --disable-single was given.
2310 > # Check whether --enable-single was given.
2311   if test "${enable_single+set}" = set; then
2312 <  enableval="$enable_single"
1632 <  ok=$enableval
2312 >  enableval=$enable_single; ok=$enableval
2313   else
2314    ok=no
2315 < fi;
2316 < # Check whether --enable-float or --disable-float was given.
2315 > fi
2316 >
2317 > # Check whether --enable-float was given.
2318   if test "${enable_float+set}" = set; then
2319 <  enableval="$enable_float"
2320 <  ok=$enableval
2321 < fi;
2319 >  enableval=$enable_float; ok=$enableval
2320 > fi
2321 >
2322   if test "$ok" = "yes"; then
2323  
2324   cat >>confdefs.h <<\_ACEOF
2325   #define SINGLE_PRECISION 1
2326   _ACEOF
2327  
2328 <        PRECISION=s
2329 < else
1649 <        PRECISION=d
2328 >        USE_SINGLE_PRECISION=yes
2329 >
2330   fi
2331  
2332 < # Checks for programs.
2333 < ac_ext=cc
2334 < ac_cpp='$CXXCPP $CPPFLAGS'
2335 < ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2336 < ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2337 < ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2338 < if test -n "$ac_tool_prefix"; then
2339 <  for ac_prog in $CCC icpc icc pgCC pathCC c++ xlc++ xlC g++ CC
2340 <  do
1661 <    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1662 < set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1663 < echo "$as_me:$LINENO: checking for $ac_word" >&5
1664 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1665 < if test "${ac_cv_prog_CXX+set}" = set; then
1666 <  echo $ECHO_N "(cached) $ECHO_C" >&6
2332 > if test x"$CC" != x; then
2333 >   for ac_prog in $CC
2334 > do
2335 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
2336 > set dummy $ac_prog; ac_word=$2
2337 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2338 > $as_echo_n "checking for $ac_word... " >&6; }
2339 > if test "${ac_cv_prog_ac_cc_set+set}" = set; then
2340 >  $as_echo_n "(cached) " >&6
2341   else
2342 <  if test -n "$CXX"; then
2343 <  ac_cv_prog_CXX="$CXX" # Let the user override the test.
2342 >  if test -n "$ac_cc_set"; then
2343 >  ac_cv_prog_ac_cc_set="$ac_cc_set" # Let the user override the test.
2344   else
2345   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2346   for as_dir in $PATH
# Line 1674 | Line 2348 | do
2348    IFS=$as_save_IFS
2349    test -z "$as_dir" && as_dir=.
2350    for ac_exec_ext in '' $ac_executable_extensions; do
2351 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2352 <    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2353 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2351 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2352 >    ac_cv_prog_ac_cc_set="$ac_prog"
2353 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2354      break 2
2355    fi
2356   done
2357   done
2358 + IFS=$as_save_IFS
2359  
2360   fi
2361   fi
2362 < CXX=$ac_cv_prog_CXX
2363 < if test -n "$CXX"; then
2364 <  echo "$as_me:$LINENO: result: $CXX" >&5
2365 < echo "${ECHO_T}$CXX" >&6
2362 > ac_cc_set=$ac_cv_prog_ac_cc_set
2363 > if test -n "$ac_cc_set"; then
2364 >  { $as_echo "$as_me:$LINENO: result: $ac_cc_set" >&5
2365 > $as_echo "$ac_cc_set" >&6; }
2366   else
2367 <  echo "$as_me:$LINENO: result: no" >&5
2368 < echo "${ECHO_T}no" >&6
2367 >  { $as_echo "$as_me:$LINENO: result: no" >&5
2368 > $as_echo "no" >&6; }
2369   fi
2370  
2371 <    test -n "$CXX" && break
2372 <  done
2371 >
2372 >  test -n "$ac_cc_set" && break
2373 > done
2374 > test -n "$ac_cc_set" || ac_cc_set="no"
2375 >
2376 >   if test $ac_cc_set != no; then
2377 >
2378 >     # Extract the first word of "$ac_cc_set", so it can be a program name with args.
2379 > set dummy $ac_cc_set; ac_word=$2
2380 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2381 > $as_echo_n "checking for $ac_word... " >&6; }
2382 > if test "${ac_cv_path_ac_cc_path+set}" = set; then
2383 >  $as_echo_n "(cached) " >&6
2384 > else
2385 >  case $ac_cc_path in
2386 >  [\\/]* | ?:[\\/]*)
2387 >  ac_cv_path_ac_cc_path="$ac_cc_path" # Let the user override the test with a path.
2388 >  ;;
2389 >  *)
2390 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2391 > for as_dir in $PATH
2392 > do
2393 >  IFS=$as_save_IFS
2394 >  test -z "$as_dir" && as_dir=.
2395 >  for ac_exec_ext in '' $ac_executable_extensions; do
2396 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2397 >    ac_cv_path_ac_cc_path="$as_dir/$ac_word$ac_exec_ext"
2398 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2399 >    break 2
2400 >  fi
2401 > done
2402 > done
2403 > IFS=$as_save_IFS
2404 >
2405 >  test -z "$ac_cv_path_ac_cc_path" && ac_cv_path_ac_cc_path="no"
2406 >  ;;
2407 > esac
2408   fi
2409 < if test -z "$CXX"; then
2410 <  ac_ct_CXX=$CXX
2411 <  for ac_prog in $CCC icpc icc pgCC pathCC c++ xlc++ xlC g++ CC
2409 > ac_cc_path=$ac_cv_path_ac_cc_path
2410 > if test -n "$ac_cc_path"; then
2411 >  { $as_echo "$as_me:$LINENO: result: $ac_cc_path" >&5
2412 > $as_echo "$ac_cc_path" >&6; }
2413 > else
2414 >  { $as_echo "$as_me:$LINENO: result: no" >&5
2415 > $as_echo "no" >&6; }
2416 > fi
2417 >
2418 >
2419 > else
2420 >
2421 >     { { $as_echo "$as_me:$LINENO: error: Specified C compiler $CC doesn't seem to exist!" >&5
2422 > $as_echo "$as_me: error: Specified C compiler $CC doesn't seem to exist!" >&2;}
2423 >   { (exit 1); exit 1; }; }
2424 > fi
2425 >
2426 >
2427 >   if test $ac_cc_path != no; then
2428 >
2429 >     { $as_echo "$as_me:$LINENO: Will attempt to use $CC as C compiler" >&5
2430 > $as_echo "$as_me: Will attempt to use $CC as C compiler" >&6;}
2431 > else
2432 >
2433 >     { { $as_echo "$as_me:$LINENO: error: Can't find path to user-specified C compiler $CC" >&5
2434 > $as_echo "$as_me: error: Can't find path to user-specified C compiler $CC" >&2;}
2435 >   { (exit 1); exit 1; }; }
2436 > fi
2437 >
2438 > fi
2439 >
2440 > if test x"$CXX" != x; then
2441 >   for ac_prog in $CXX
2442   do
2443    # Extract the first word of "$ac_prog", so it can be a program name with args.
2444   set dummy $ac_prog; ac_word=$2
2445 < echo "$as_me:$LINENO: checking for $ac_word" >&5
2446 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2447 < if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2448 <  echo $ECHO_N "(cached) $ECHO_C" >&6
2445 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2446 > $as_echo_n "checking for $ac_word... " >&6; }
2447 > if test "${ac_cv_prog_ac_cxx_set+set}" = set; then
2448 >  $as_echo_n "(cached) " >&6
2449   else
2450 <  if test -n "$ac_ct_CXX"; then
2451 <  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2450 >  if test -n "$ac_cxx_set"; then
2451 >  ac_cv_prog_ac_cxx_set="$ac_cxx_set" # Let the user override the test.
2452   else
2453   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2454   for as_dir in $PATH
# Line 1716 | Line 2456 | do
2456    IFS=$as_save_IFS
2457    test -z "$as_dir" && as_dir=.
2458    for ac_exec_ext in '' $ac_executable_extensions; do
2459 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2460 <    ac_cv_prog_ac_ct_CXX="$ac_prog"
2461 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2459 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2460 >    ac_cv_prog_ac_cxx_set="$ac_prog"
2461 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2462      break 2
2463    fi
2464   done
2465   done
2466 + IFS=$as_save_IFS
2467  
2468   fi
2469   fi
2470 < ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2471 < if test -n "$ac_ct_CXX"; then
2472 <  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2473 < echo "${ECHO_T}$ac_ct_CXX" >&6
2470 > ac_cxx_set=$ac_cv_prog_ac_cxx_set
2471 > if test -n "$ac_cxx_set"; then
2472 >  { $as_echo "$as_me:$LINENO: result: $ac_cxx_set" >&5
2473 > $as_echo "$ac_cxx_set" >&6; }
2474   else
2475 <  echo "$as_me:$LINENO: result: no" >&5
2476 < echo "${ECHO_T}no" >&6
2475 >  { $as_echo "$as_me:$LINENO: result: no" >&5
2476 > $as_echo "no" >&6; }
2477   fi
2478  
2479 <  test -n "$ac_ct_CXX" && break
2479 >
2480 >  test -n "$ac_cxx_set" && break
2481   done
2482 < test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2482 > test -n "$ac_cxx_set" || ac_cxx_set="no"
2483  
2484 <  CXX=$ac_ct_CXX
2484 >   if test $ac_cxx_set != no; then
2485 >
2486 >     # Extract the first word of "$ac_cxx_set", so it can be a program name with args.
2487 > set dummy $ac_cxx_set; ac_word=$2
2488 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2489 > $as_echo_n "checking for $ac_word... " >&6; }
2490 > if test "${ac_cv_path_ac_cxx_path+set}" = set; then
2491 >  $as_echo_n "(cached) " >&6
2492 > else
2493 >  case $ac_cxx_path in
2494 >  [\\/]* | ?:[\\/]*)
2495 >  ac_cv_path_ac_cxx_path="$ac_cxx_path" # Let the user override the test with a path.
2496 >  ;;
2497 >  *)
2498 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2499 > for as_dir in $PATH
2500 > do
2501 >  IFS=$as_save_IFS
2502 >  test -z "$as_dir" && as_dir=.
2503 >  for ac_exec_ext in '' $ac_executable_extensions; do
2504 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2505 >    ac_cv_path_ac_cxx_path="$as_dir/$ac_word$ac_exec_ext"
2506 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 >    break 2
2508 >  fi
2509 > done
2510 > done
2511 > IFS=$as_save_IFS
2512 >
2513 >  test -z "$ac_cv_path_ac_cxx_path" && ac_cv_path_ac_cxx_path="no"
2514 >  ;;
2515 > esac
2516   fi
2517 + ac_cxx_path=$ac_cv_path_ac_cxx_path
2518 + if test -n "$ac_cxx_path"; then
2519 +  { $as_echo "$as_me:$LINENO: result: $ac_cxx_path" >&5
2520 + $as_echo "$ac_cxx_path" >&6; }
2521 + else
2522 +  { $as_echo "$as_me:$LINENO: result: no" >&5
2523 + $as_echo "no" >&6; }
2524 + fi
2525  
2526  
2527 < # Provide some information about the compiler.
1747 < echo "$as_me:$LINENO:" \
1748 <     "checking for C++ compiler version" >&5
1749 < ac_compiler=`set X $ac_compile; echo $2`
1750 < { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1751 <  (eval $ac_compiler --version </dev/null >&5) 2>&5
1752 <  ac_status=$?
1753 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1754 <  (exit $ac_status); }
1755 < { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1756 <  (eval $ac_compiler -v </dev/null >&5) 2>&5
1757 <  ac_status=$?
1758 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1759 <  (exit $ac_status); }
1760 < { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1761 <  (eval $ac_compiler -V </dev/null >&5) 2>&5
1762 <  ac_status=$?
1763 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1764 <  (exit $ac_status); }
2527 > else
2528  
2529 < cat >conftest.$ac_ext <<_ACEOF
2530 < /* confdefs.h.  */
2531 < _ACEOF
2532 < cat confdefs.h >>conftest.$ac_ext
1770 < cat >>conftest.$ac_ext <<_ACEOF
1771 < /* end confdefs.h.  */
2529 >     { { $as_echo "$as_me:$LINENO: error: Specified C++ compiler $CXX doesn't seem to exist!" >&5
2530 > $as_echo "$as_me: error: Specified C++ compiler $CXX doesn't seem to exist!" >&2;}
2531 >   { (exit 1); exit 1; }; }
2532 > fi
2533  
1773 int
1774 main ()
1775 {
2534  
2535 <  ;
1778 <  return 0;
1779 < }
1780 < _ACEOF
1781 < ac_clean_files_save=$ac_clean_files
1782 < ac_clean_files="$ac_clean_files a.out a.exe b.out"
1783 < # Try to create an executable without -o first, disregard a.out.
1784 < # It will help us diagnose broken compilers, and finding out an intuition
1785 < # of exeext.
1786 < echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
1787 < echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1788 < ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1789 < if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1790 <  (eval $ac_link_default) 2>&5
1791 <  ac_status=$?
1792 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1793 <  (exit $ac_status); }; then
1794 <  # Find the output, starting from the most likely.  This scheme is
1795 < # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1796 < # resort.
2535 >   if test $ac_cxx_path != no; then
2536  
2537 < # Be careful to initialize this variable, since it used to be cached.
2538 < # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2539 < ac_cv_exeext=
2540 < # b.out is created by i960 compilers.
2541 < for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2537 >     { $as_echo "$as_me:$LINENO: Will attempt to use $CXX as C++ compiler" >&5
2538 > $as_echo "$as_me: Will attempt to use $CXX as C++ compiler" >&6;}
2539 > else
2540 >
2541 >     { { $as_echo "$as_me:$LINENO: error: Can't find path to user-specified C++ compiler $CXX" >&5
2542 > $as_echo "$as_me: error: Can't find path to user-specified C++ compiler $CXX" >&2;}
2543 >   { (exit 1); exit 1; }; }
2544 > fi
2545 >
2546 > fi
2547 >
2548 > if test x"$FC" != x; then
2549 >   for ac_prog in $FC
2550   do
2551 <  test -f "$ac_file" || continue
2552 <  case $ac_file in
2553 <    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2554 <        ;;
2555 <    conftest.$ac_ext )
2556 <        # This is the source file.
1810 <        ;;
1811 <    [ab].out )
1812 <        # We found the default executable, but exeext='' is most
1813 <        # certainly right.
1814 <        break;;
1815 <    *.* )
1816 <        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1817 <        # FIXME: I believe we export ac_cv_exeext for Libtool,
1818 <        # but it would be cool to find out if it's true.  Does anybody
1819 <        # maintain Libtool? --akim.
1820 <        export ac_cv_exeext
1821 <        break;;
1822 <    * )
1823 <        break;;
1824 <  esac
1825 < done
2551 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
2552 > set dummy $ac_prog; ac_word=$2
2553 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2554 > $as_echo_n "checking for $ac_word... " >&6; }
2555 > if test "${ac_cv_prog_ac_fc_set+set}" = set; then
2556 >  $as_echo_n "(cached) " >&6
2557   else
2558 <  echo "$as_me: failed program was:" >&5
2559 < sed 's/^/| /' conftest.$ac_ext >&5
2558 >  if test -n "$ac_fc_set"; then
2559 >  ac_cv_prog_ac_fc_set="$ac_fc_set" # Let the user override the test.
2560 > else
2561 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2562 > for as_dir in $PATH
2563 > do
2564 >  IFS=$as_save_IFS
2565 >  test -z "$as_dir" && as_dir=.
2566 >  for ac_exec_ext in '' $ac_executable_extensions; do
2567 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2568 >    ac_cv_prog_ac_fc_set="$ac_prog"
2569 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2570 >    break 2
2571 >  fi
2572 > done
2573 > done
2574 > IFS=$as_save_IFS
2575  
1830 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1831 See \`config.log' for more details." >&5
1832 echo "$as_me: error: C++ compiler cannot create executables
1833 See \`config.log' for more details." >&2;}
1834   { (exit 77); exit 77; }; }
2576   fi
2577 + fi
2578 + ac_fc_set=$ac_cv_prog_ac_fc_set
2579 + if test -n "$ac_fc_set"; then
2580 +  { $as_echo "$as_me:$LINENO: result: $ac_fc_set" >&5
2581 + $as_echo "$ac_fc_set" >&6; }
2582 + else
2583 +  { $as_echo "$as_me:$LINENO: result: no" >&5
2584 + $as_echo "no" >&6; }
2585 + fi
2586  
1837 ac_exeext=$ac_cv_exeext
1838 echo "$as_me:$LINENO: result: $ac_file" >&5
1839 echo "${ECHO_T}$ac_file" >&6
2587  
2588 < # Check the compiler produces executables we can run.  If not, either
2589 < # the compiler is broken, or we cross compile.
2590 < echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1844 < echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1845 < # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1846 < # If not cross compiling, check that we can run a simple program.
1847 < if test "$cross_compiling" != yes; then
1848 <  if { ac_try='./$ac_file'
1849 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1850 <  (eval $ac_try) 2>&5
1851 <  ac_status=$?
1852 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1853 <  (exit $ac_status); }; }; then
1854 <    cross_compiling=no
1855 <  else
1856 <    if test "$cross_compiling" = maybe; then
1857 <        cross_compiling=yes
1858 <    else
1859 <        { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1860 < If you meant to cross compile, use \`--host'.
1861 < See \`config.log' for more details." >&5
1862 < echo "$as_me: error: cannot run C++ compiled programs.
1863 < If you meant to cross compile, use \`--host'.
1864 < See \`config.log' for more details." >&2;}
1865 <   { (exit 1); exit 1; }; }
1866 <    fi
1867 <  fi
1868 < fi
1869 < echo "$as_me:$LINENO: result: yes" >&5
1870 < echo "${ECHO_T}yes" >&6
2588 >  test -n "$ac_fc_set" && break
2589 > done
2590 > test -n "$ac_fc_set" || ac_fc_set="no"
2591  
2592 < rm -f a.out a.exe conftest$ac_cv_exeext b.out
1873 < ac_clean_files=$ac_clean_files_save
1874 < # Check the compiler produces executables we can run.  If not, either
1875 < # the compiler is broken, or we cross compile.
1876 < echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1877 < echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1878 < echo "$as_me:$LINENO: result: $cross_compiling" >&5
1879 < echo "${ECHO_T}$cross_compiling" >&6
2592 >   if test $ac_fc_set != no; then
2593  
2594 < echo "$as_me:$LINENO: checking for suffix of executables" >&5
2595 < echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2596 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2597 <  (eval $ac_link) 2>&5
2598 <  ac_status=$?
2599 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 <  (exit $ac_status); }; then
2601 <  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2602 < # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2603 < # work properly (i.e., refer to `conftest.exe'), while it won't with
2604 < # `rm'.
2605 < for ac_file in conftest.exe conftest conftest.*; do
2606 <  test -f "$ac_file" || continue
2607 <  case $ac_file in
2608 <    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2609 <    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2610 <          export ac_cv_exeext
2611 <          break;;
2612 <    * ) break;;
2613 <  esac
2594 >     # Extract the first word of "$ac_fc_set", so it can be a program name with args.
2595 > set dummy $ac_fc_set; ac_word=$2
2596 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2597 > $as_echo_n "checking for $ac_word... " >&6; }
2598 > if test "${ac_cv_path_ac_fc_path+set}" = set; then
2599 >  $as_echo_n "(cached) " >&6
2600 > else
2601 >  case $ac_fc_path in
2602 >  [\\/]* | ?:[\\/]*)
2603 >  ac_cv_path_ac_fc_path="$ac_fc_path" # Let the user override the test with a path.
2604 >  ;;
2605 >  *)
2606 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2607 > for as_dir in $PATH
2608 > do
2609 >  IFS=$as_save_IFS
2610 >  test -z "$as_dir" && as_dir=.
2611 >  for ac_exec_ext in '' $ac_executable_extensions; do
2612 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2613 >    ac_cv_path_ac_fc_path="$as_dir/$ac_word$ac_exec_ext"
2614 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2615 >    break 2
2616 >  fi
2617   done
2618 + done
2619 + IFS=$as_save_IFS
2620 +
2621 +  test -z "$ac_cv_path_ac_fc_path" && ac_cv_path_ac_fc_path="no"
2622 +  ;;
2623 + esac
2624 + fi
2625 + ac_fc_path=$ac_cv_path_ac_fc_path
2626 + if test -n "$ac_fc_path"; then
2627 +  { $as_echo "$as_me:$LINENO: result: $ac_fc_path" >&5
2628 + $as_echo "$ac_fc_path" >&6; }
2629   else
2630 <  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2631 < See \`config.log' for more details." >&5
1905 < echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1906 < See \`config.log' for more details." >&2;}
1907 <   { (exit 1); exit 1; }; }
2630 >  { $as_echo "$as_me:$LINENO: result: no" >&5
2631 > $as_echo "no" >&6; }
2632   fi
2633  
1910 rm -f conftest$ac_cv_exeext
1911 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1912 echo "${ECHO_T}$ac_cv_exeext" >&6
2634  
1914 rm -f conftest.$ac_ext
1915 EXEEXT=$ac_cv_exeext
1916 ac_exeext=$EXEEXT
1917 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1918 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1919 if test "${ac_cv_objext+set}" = set; then
1920  echo $ECHO_N "(cached) $ECHO_C" >&6
2635   else
1922  cat >conftest.$ac_ext <<_ACEOF
1923 /* confdefs.h.  */
1924 _ACEOF
1925 cat confdefs.h >>conftest.$ac_ext
1926 cat >>conftest.$ac_ext <<_ACEOF
1927 /* end confdefs.h.  */
2636  
2637 < int
2638 < main ()
2639 < {
2637 >     { { $as_echo "$as_me:$LINENO: error: Specified Fortran compiler $FC doesn't seem to exist!" >&5
2638 > $as_echo "$as_me: error: Specified Fortran compiler $FC doesn't seem to exist!" >&2;}
2639 >   { (exit 1); exit 1; }; }
2640 > fi
2641  
2642 <  ;
2643 <  return 0;
2644 < }
2645 < _ACEOF
2646 < rm -f conftest.o conftest.obj
1938 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1939 <  (eval $ac_compile) 2>&5
1940 <  ac_status=$?
1941 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1942 <  (exit $ac_status); }; then
1943 <  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1944 <  case $ac_file in
1945 <    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1946 <    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1947 <       break;;
1948 <  esac
1949 < done
2642 >
2643 >   if test $ac_fc_path != no; then
2644 >
2645 >     { $as_echo "$as_me:$LINENO: Will attempt to use $FC as Fortran compiler" >&5
2646 > $as_echo "$as_me: Will attempt to use $FC as Fortran compiler" >&6;}
2647   else
1951  echo "$as_me: failed program was:" >&5
1952 sed 's/^/| /' conftest.$ac_ext >&5
2648  
2649 < { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2650 < See \`config.log' for more details." >&5
1956 < echo "$as_me: error: cannot compute suffix of object files: cannot compile
1957 < See \`config.log' for more details." >&2;}
2649 >     { { $as_echo "$as_me:$LINENO: error: Can't find path to user-specified Fortran compiler $FC" >&5
2650 > $as_echo "$as_me: error: Can't find path to user-specified Fortran compiler $FC" >&2;}
2651     { (exit 1); exit 1; }; }
2652   fi
2653  
1961 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2654   fi
1963 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1964 echo "${ECHO_T}$ac_cv_objext" >&6
1965 OBJEXT=$ac_cv_objext
1966 ac_objext=$OBJEXT
1967 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1968 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1969 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1970  echo $ECHO_N "(cached) $ECHO_C" >&6
1971 else
1972  cat >conftest.$ac_ext <<_ACEOF
1973 /* confdefs.h.  */
1974 _ACEOF
1975 cat confdefs.h >>conftest.$ac_ext
1976 cat >>conftest.$ac_ext <<_ACEOF
1977 /* end confdefs.h.  */
2655  
1979 int
1980 main ()
1981 {
1982 #ifndef __GNUC__
1983       choke me
1984 #endif
2656  
2657 <  ;
2658 <  return 0;
2659 < }
2660 < _ACEOF
2661 < rm -f conftest.$ac_objext
1991 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1992 <  (eval $ac_compile) 2>conftest.er1
1993 <  ac_status=$?
1994 <  grep -v '^ *+' conftest.er1 >conftest.err
1995 <  rm -f conftest.er1
1996 <  cat conftest.err >&5
1997 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1998 <  (exit $ac_status); } &&
1999 <         { ac_try='test -z "$ac_cxx_werror_flag"
2000 <                         || test ! -s conftest.err'
2001 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2002 <  (eval $ac_try) 2>&5
2003 <  ac_status=$?
2004 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2005 <  (exit $ac_status); }; } &&
2006 <         { ac_try='test -s conftest.$ac_objext'
2007 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2008 <  (eval $ac_try) 2>&5
2009 <  ac_status=$?
2010 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011 <  (exit $ac_status); }; }; then
2012 <  ac_compiler_gnu=yes
2657 >
2658 >
2659 > # Check whether --with-mpi was given.
2660 > if test "${with_mpi+set}" = set; then
2661 >  withval=$with_mpi;
2662   else
2663 <  echo "$as_me: failed program was:" >&5
2664 < sed 's/^/| /' conftest.$ac_ext >&5
2663 >  with_mpi="auto"
2664 > fi
2665  
2666 < ac_compiler_gnu=no
2667 < fi
2668 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2669 < ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2670 <
2671 < fi
2672 < echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2673 < echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2674 < GXX=`test $ac_compiler_gnu = yes && echo yes`
2675 < ac_test_CXXFLAGS=${CXXFLAGS+set}
2676 < ac_save_CXXFLAGS=$CXXFLAGS
2028 < CXXFLAGS="-g"
2029 < echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2030 < echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2031 < if test "${ac_cv_prog_cxx_g+set}" = set; then
2032 <  echo $ECHO_N "(cached) $ECHO_C" >&6
2666 > if test "x$with_mpi" != "xno"; then
2667 >
2668 >
2669 > for ac_prog in $CC openmpicc mpicc
2670 > do
2671 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
2672 > set dummy $ac_prog; ac_word=$2
2673 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2674 > $as_echo_n "checking for $ac_word... " >&6; }
2675 > if test "${ac_cv_prog_acx_mpi_mpicc+set}" = set; then
2676 >  $as_echo_n "(cached) " >&6
2677   else
2678 <  cat >conftest.$ac_ext <<_ACEOF
2679 < /* confdefs.h.  */
2036 < _ACEOF
2037 < cat confdefs.h >>conftest.$ac_ext
2038 < cat >>conftest.$ac_ext <<_ACEOF
2039 < /* end confdefs.h.  */
2040 <
2041 < int
2042 < main ()
2043 < {
2044 <
2045 <  ;
2046 <  return 0;
2047 < }
2048 < _ACEOF
2049 < rm -f conftest.$ac_objext
2050 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2051 <  (eval $ac_compile) 2>conftest.er1
2052 <  ac_status=$?
2053 <  grep -v '^ *+' conftest.er1 >conftest.err
2054 <  rm -f conftest.er1
2055 <  cat conftest.err >&5
2056 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2057 <  (exit $ac_status); } &&
2058 <         { ac_try='test -z "$ac_cxx_werror_flag"
2059 <                         || test ! -s conftest.err'
2060 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2061 <  (eval $ac_try) 2>&5
2062 <  ac_status=$?
2063 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2064 <  (exit $ac_status); }; } &&
2065 <         { ac_try='test -s conftest.$ac_objext'
2066 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2067 <  (eval $ac_try) 2>&5
2068 <  ac_status=$?
2069 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2070 <  (exit $ac_status); }; }; then
2071 <  ac_cv_prog_cxx_g=yes
2678 >  if test -n "$acx_mpi_mpicc"; then
2679 >  ac_cv_prog_acx_mpi_mpicc="$acx_mpi_mpicc" # Let the user override the test.
2680   else
2681 <  echo "$as_me: failed program was:" >&5
2682 < sed 's/^/| /' conftest.$ac_ext >&5
2681 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2682 > for as_dir in $PATH
2683 > do
2684 >  IFS=$as_save_IFS
2685 >  test -z "$as_dir" && as_dir=.
2686 >  for ac_exec_ext in '' $ac_executable_extensions; do
2687 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2688 >    ac_cv_prog_acx_mpi_mpicc="$ac_prog"
2689 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2690 >    break 2
2691 >  fi
2692 > done
2693 > done
2694 > IFS=$as_save_IFS
2695  
2076 ac_cv_prog_cxx_g=no
2696   fi
2078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2697   fi
2698 < echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2699 < echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2700 < if test "$ac_test_CXXFLAGS" = set; then
2701 <  CXXFLAGS=$ac_save_CXXFLAGS
2084 < elif test $ac_cv_prog_cxx_g = yes; then
2085 <  if test "$GXX" = yes; then
2086 <    CXXFLAGS="-g -O2"
2087 <  else
2088 <    CXXFLAGS="-g"
2089 <  fi
2698 > acx_mpi_mpicc=$ac_cv_prog_acx_mpi_mpicc
2699 > if test -n "$acx_mpi_mpicc"; then
2700 >  { $as_echo "$as_me:$LINENO: result: $acx_mpi_mpicc" >&5
2701 > $as_echo "$acx_mpi_mpicc" >&6; }
2702   else
2703 <  if test "$GXX" = yes; then
2704 <    CXXFLAGS="-O2"
2093 <  else
2094 <    CXXFLAGS=
2095 <  fi
2703 >  { $as_echo "$as_me:$LINENO: result: no" >&5
2704 > $as_echo "no" >&6; }
2705   fi
2706 < for ac_declaration in \
2707 <   '' \
2708 <   'extern "C" void std::exit (int) throw (); using std::exit;' \
2709 <   'extern "C" void std::exit (int); using std::exit;' \
2710 <   'extern "C" void exit (int) throw ();' \
2711 <   'extern "C" void exit (int);' \
2712 <   'void exit (int);'
2713 < do
2714 <  cat >conftest.$ac_ext <<_ACEOF
2715 < /* confdefs.h.  */
2716 < _ACEOF
2717 < cat confdefs.h >>conftest.$ac_ext
2718 < cat >>conftest.$ac_ext <<_ACEOF
2719 < /* end confdefs.h.  */
2111 < $ac_declaration
2112 < #include <stdlib.h>
2113 < int
2114 < main ()
2115 < {
2116 < exit (42);
2117 <  ;
2118 <  return 0;
2119 < }
2120 < _ACEOF
2121 < rm -f conftest.$ac_objext
2122 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2123 <  (eval $ac_compile) 2>conftest.er1
2124 <  ac_status=$?
2125 <  grep -v '^ *+' conftest.er1 >conftest.err
2126 <  rm -f conftest.er1
2127 <  cat conftest.err >&5
2128 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2129 <  (exit $ac_status); } &&
2130 <         { ac_try='test -z "$ac_cxx_werror_flag"
2131 <                         || test ! -s conftest.err'
2132 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2133 <  (eval $ac_try) 2>&5
2134 <  ac_status=$?
2135 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2136 <  (exit $ac_status); }; } &&
2137 <         { ac_try='test -s conftest.$ac_objext'
2138 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2139 <  (eval $ac_try) 2>&5
2140 <  ac_status=$?
2141 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2142 <  (exit $ac_status); }; }; then
2143 <  :
2706 >
2707 >
2708 >  test -n "$acx_mpi_mpicc" && break
2709 > done
2710 > test -n "$acx_mpi_mpicc" || acx_mpi_mpicc="no"
2711 >
2712 > if test $acx_mpi_mpicc != no; then
2713 >
2714 >  # Extract the first word of "$acx_mpi_mpicc", so it can be a program name with args.
2715 > set dummy $acx_mpi_mpicc; ac_word=$2
2716 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2717 > $as_echo_n "checking for $ac_word... " >&6; }
2718 > if test "${ac_cv_path_acx_mpi_mpicc_path+set}" = set; then
2719 >  $as_echo_n "(cached) " >&6
2720   else
2721 <  echo "$as_me: failed program was:" >&5
2722 < sed 's/^/| /' conftest.$ac_ext >&5
2721 >  case $acx_mpi_mpicc_path in
2722 >  [\\/]* | ?:[\\/]*)
2723 >  ac_cv_path_acx_mpi_mpicc_path="$acx_mpi_mpicc_path" # Let the user override the test with a path.
2724 >  ;;
2725 >  *)
2726 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2727 > for as_dir in $PATH
2728 > do
2729 >  IFS=$as_save_IFS
2730 >  test -z "$as_dir" && as_dir=.
2731 >  for ac_exec_ext in '' $ac_executable_extensions; do
2732 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2733 >    ac_cv_path_acx_mpi_mpicc_path="$as_dir/$ac_word$ac_exec_ext"
2734 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2735 >    break 2
2736 >  fi
2737 > done
2738 > done
2739 > IFS=$as_save_IFS
2740  
2741 < continue
2741 >  test -z "$ac_cv_path_acx_mpi_mpicc_path" && ac_cv_path_acx_mpi_mpicc_path="no"
2742 >  ;;
2743 > esac
2744   fi
2745 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2746 <  cat >conftest.$ac_ext <<_ACEOF
2747 < /* confdefs.h.  */
2748 < _ACEOF
2154 < cat confdefs.h >>conftest.$ac_ext
2155 < cat >>conftest.$ac_ext <<_ACEOF
2156 < /* end confdefs.h.  */
2157 < $ac_declaration
2158 < int
2159 < main ()
2160 < {
2161 < exit (42);
2162 <  ;
2163 <  return 0;
2164 < }
2165 < _ACEOF
2166 < rm -f conftest.$ac_objext
2167 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2168 <  (eval $ac_compile) 2>conftest.er1
2169 <  ac_status=$?
2170 <  grep -v '^ *+' conftest.er1 >conftest.err
2171 <  rm -f conftest.er1
2172 <  cat conftest.err >&5
2173 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2174 <  (exit $ac_status); } &&
2175 <         { ac_try='test -z "$ac_cxx_werror_flag"
2176 <                         || test ! -s conftest.err'
2177 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2178 <  (eval $ac_try) 2>&5
2179 <  ac_status=$?
2180 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181 <  (exit $ac_status); }; } &&
2182 <         { ac_try='test -s conftest.$ac_objext'
2183 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2184 <  (eval $ac_try) 2>&5
2185 <  ac_status=$?
2186 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187 <  (exit $ac_status); }; }; then
2188 <  break
2745 > acx_mpi_mpicc_path=$ac_cv_path_acx_mpi_mpicc_path
2746 > if test -n "$acx_mpi_mpicc_path"; then
2747 >  { $as_echo "$as_me:$LINENO: result: $acx_mpi_mpicc_path" >&5
2748 > $as_echo "$acx_mpi_mpicc_path" >&6; }
2749   else
2750 <  echo "$as_me: failed program was:" >&5
2751 < sed 's/^/| /' conftest.$ac_ext >&5
2192 <
2750 >  { $as_echo "$as_me:$LINENO: result: no" >&5
2751 > $as_echo "no" >&6; }
2752   fi
2194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2195 done
2196 rm -f conftest*
2197 if test -n "$ac_declaration"; then
2198  echo '#ifdef __cplusplus' >>confdefs.h
2199  echo $ac_declaration      >>confdefs.h
2200  echo '#endif'             >>confdefs.h
2201 fi
2753  
2203 ac_ext=c
2204 ac_cpp='$CPP $CPPFLAGS'
2205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2754  
2755 < ac_ext=c
2756 < ac_cpp='$CPP $CPPFLAGS'
2757 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2758 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2759 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
2760 < if test -n "$ac_tool_prefix"; then
2761 <  for ac_prog in icc pgcc pathcc cc xlc gcc
2762 <  do
2763 <    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2764 < set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2219 < echo "$as_me:$LINENO: checking for $ac_word" >&5
2220 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2221 < if test "${ac_cv_prog_CC+set}" = set; then
2222 <  echo $ECHO_N "(cached) $ECHO_C" >&6
2223 < else
2224 <  if test -n "$CC"; then
2225 <  ac_cv_prog_CC="$CC" # Let the user override the test.
2755 > fi
2756 >
2757 > for ac_prog in $FC openmpif90 mpif90
2758 > do
2759 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
2760 > set dummy $ac_prog; ac_word=$2
2761 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2762 > $as_echo_n "checking for $ac_word... " >&6; }
2763 > if test "${ac_cv_prog_acx_mpi_mpif90+set}" = set; then
2764 >  $as_echo_n "(cached) " >&6
2765   else
2766 +  if test -n "$acx_mpi_mpif90"; then
2767 +  ac_cv_prog_acx_mpi_mpif90="$acx_mpi_mpif90" # Let the user override the test.
2768 + else
2769   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2770   for as_dir in $PATH
2771   do
2772    IFS=$as_save_IFS
2773    test -z "$as_dir" && as_dir=.
2774    for ac_exec_ext in '' $ac_executable_extensions; do
2775 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2776 <    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2777 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2775 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2776 >    ac_cv_prog_acx_mpi_mpif90="$ac_prog"
2777 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2778      break 2
2779    fi
2780   done
2781   done
2782 + IFS=$as_save_IFS
2783  
2784   fi
2785   fi
2786 < CC=$ac_cv_prog_CC
2787 < if test -n "$CC"; then
2788 <  echo "$as_me:$LINENO: result: $CC" >&5
2789 < echo "${ECHO_T}$CC" >&6
2786 > acx_mpi_mpif90=$ac_cv_prog_acx_mpi_mpif90
2787 > if test -n "$acx_mpi_mpif90"; then
2788 >  { $as_echo "$as_me:$LINENO: result: $acx_mpi_mpif90" >&5
2789 > $as_echo "$acx_mpi_mpif90" >&6; }
2790   else
2791 <  echo "$as_me:$LINENO: result: no" >&5
2792 < echo "${ECHO_T}no" >&6
2791 >  { $as_echo "$as_me:$LINENO: result: no" >&5
2792 > $as_echo "no" >&6; }
2793   fi
2794  
2795 <    test -n "$CC" && break
2796 <  done
2795 >
2796 >  test -n "$acx_mpi_mpif90" && break
2797 > done
2798 > test -n "$acx_mpi_mpif90" || acx_mpi_mpif90="no"
2799 >
2800 > if test $acx_mpi_mpif90 != no; then
2801 >
2802 >  # Extract the first word of "$acx_mpi_mpif90", so it can be a program name with args.
2803 > set dummy $acx_mpi_mpif90; ac_word=$2
2804 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2805 > $as_echo_n "checking for $ac_word... " >&6; }
2806 > if test "${ac_cv_path_acx_mpi_mpif90_path+set}" = set; then
2807 >  $as_echo_n "(cached) " >&6
2808 > else
2809 >  case $acx_mpi_mpif90_path in
2810 >  [\\/]* | ?:[\\/]*)
2811 >  ac_cv_path_acx_mpi_mpif90_path="$acx_mpi_mpif90_path" # Let the user override the test with a path.
2812 >  ;;
2813 >  *)
2814 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2815 > for as_dir in $PATH
2816 > do
2817 >  IFS=$as_save_IFS
2818 >  test -z "$as_dir" && as_dir=.
2819 >  for ac_exec_ext in '' $ac_executable_extensions; do
2820 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2821 >    ac_cv_path_acx_mpi_mpif90_path="$as_dir/$ac_word$ac_exec_ext"
2822 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2823 >    break 2
2824 >  fi
2825 > done
2826 > done
2827 > IFS=$as_save_IFS
2828 >
2829 >  test -z "$ac_cv_path_acx_mpi_mpif90_path" && ac_cv_path_acx_mpi_mpif90_path="no"
2830 >  ;;
2831 > esac
2832   fi
2833 < if test -z "$CC"; then
2834 <  ac_ct_CC=$CC
2835 <  for ac_prog in icc pgcc pathcc cc xlc gcc
2833 > acx_mpi_mpif90_path=$ac_cv_path_acx_mpi_mpif90_path
2834 > if test -n "$acx_mpi_mpif90_path"; then
2835 >  { $as_echo "$as_me:$LINENO: result: $acx_mpi_mpif90_path" >&5
2836 > $as_echo "$acx_mpi_mpif90_path" >&6; }
2837 > else
2838 >  { $as_echo "$as_me:$LINENO: result: no" >&5
2839 > $as_echo "no" >&6; }
2840 > fi
2841 >
2842 >
2843 > fi
2844 >
2845 > for ac_prog in $CXX openmpicxx openmpiCC openmpic++ mpicxx mpiCC mpic++
2846   do
2847    # Extract the first word of "$ac_prog", so it can be a program name with args.
2848   set dummy $ac_prog; ac_word=$2
2849 < echo "$as_me:$LINENO: checking for $ac_word" >&5
2850 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2851 < if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2852 <  echo $ECHO_N "(cached) $ECHO_C" >&6
2849 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2850 > $as_echo_n "checking for $ac_word... " >&6; }
2851 > if test "${ac_cv_prog_acx_mpi_mpicxx+set}" = set; then
2852 >  $as_echo_n "(cached) " >&6
2853   else
2854 <  if test -n "$ac_ct_CC"; then
2855 <  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2854 >  if test -n "$acx_mpi_mpicxx"; then
2855 >  ac_cv_prog_acx_mpi_mpicxx="$acx_mpi_mpicxx" # Let the user override the test.
2856   else
2857   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2858   for as_dir in $PATH
# Line 2272 | Line 2860 | do
2860    IFS=$as_save_IFS
2861    test -z "$as_dir" && as_dir=.
2862    for ac_exec_ext in '' $ac_executable_extensions; do
2863 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2864 <    ac_cv_prog_ac_ct_CC="$ac_prog"
2865 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2863 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2864 >    ac_cv_prog_acx_mpi_mpicxx="$ac_prog"
2865 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2866      break 2
2867    fi
2868   done
2869   done
2870 + IFS=$as_save_IFS
2871  
2872   fi
2873   fi
2874 < ac_ct_CC=$ac_cv_prog_ac_ct_CC
2875 < if test -n "$ac_ct_CC"; then
2876 <  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2877 < echo "${ECHO_T}$ac_ct_CC" >&6
2874 > acx_mpi_mpicxx=$ac_cv_prog_acx_mpi_mpicxx
2875 > if test -n "$acx_mpi_mpicxx"; then
2876 >  { $as_echo "$as_me:$LINENO: result: $acx_mpi_mpicxx" >&5
2877 > $as_echo "$acx_mpi_mpicxx" >&6; }
2878   else
2879 <  echo "$as_me:$LINENO: result: no" >&5
2880 < echo "${ECHO_T}no" >&6
2879 >  { $as_echo "$as_me:$LINENO: result: no" >&5
2880 > $as_echo "no" >&6; }
2881   fi
2882  
2883 <  test -n "$ac_ct_CC" && break
2883 >
2884 >  test -n "$acx_mpi_mpicxx" && break
2885   done
2886 + test -n "$acx_mpi_mpicxx" || acx_mpi_mpicxx="no"
2887  
2888 <  CC=$ac_ct_CC
2888 > if test $acx_mpi_mpicxx != no; then
2889 >
2890 >  # Extract the first word of "$acx_mpi_mpicxx", so it can be a program name with args.
2891 > set dummy $acx_mpi_mpicxx; ac_word=$2
2892 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2893 > $as_echo_n "checking for $ac_word... " >&6; }
2894 > if test "${ac_cv_path_acx_mpi_mpicxx_path+set}" = set; then
2895 >  $as_echo_n "(cached) " >&6
2896 > else
2897 >  case $acx_mpi_mpicxx_path in
2898 >  [\\/]* | ?:[\\/]*)
2899 >  ac_cv_path_acx_mpi_mpicxx_path="$acx_mpi_mpicxx_path" # Let the user override the test with a path.
2900 >  ;;
2901 >  *)
2902 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2903 > for as_dir in $PATH
2904 > do
2905 >  IFS=$as_save_IFS
2906 >  test -z "$as_dir" && as_dir=.
2907 >  for ac_exec_ext in '' $ac_executable_extensions; do
2908 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2909 >    ac_cv_path_acx_mpi_mpicxx_path="$as_dir/$ac_word$ac_exec_ext"
2910 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2911 >    break 2
2912 >  fi
2913 > done
2914 > done
2915 > IFS=$as_save_IFS
2916 >
2917 >  test -z "$ac_cv_path_acx_mpi_mpicxx_path" && ac_cv_path_acx_mpi_mpicxx_path="no"
2918 >  ;;
2919 > esac
2920   fi
2921 + acx_mpi_mpicxx_path=$ac_cv_path_acx_mpi_mpicxx_path
2922 + if test -n "$acx_mpi_mpicxx_path"; then
2923 +  { $as_echo "$as_me:$LINENO: result: $acx_mpi_mpicxx_path" >&5
2924 + $as_echo "$acx_mpi_mpicxx_path" >&6; }
2925 + else
2926 +  { $as_echo "$as_me:$LINENO: result: no" >&5
2927 + $as_echo "no" >&6; }
2928 + fi
2929  
2930  
2931 < test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2302 < See \`config.log' for more details." >&5
2303 < echo "$as_me: error: no acceptable C compiler found in \$PATH
2304 < See \`config.log' for more details." >&2;}
2305 <   { (exit 1); exit 1; }; }
2931 > fi
2932  
2933 < # Provide some information about the compiler.
2308 < echo "$as_me:$LINENO:" \
2309 <     "checking for C compiler version" >&5
2310 < ac_compiler=`set X $ac_compile; echo $2`
2311 < { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2312 <  (eval $ac_compiler --version </dev/null >&5) 2>&5
2313 <  ac_status=$?
2314 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315 <  (exit $ac_status); }
2316 < { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2317 <  (eval $ac_compiler -v </dev/null >&5) 2>&5
2318 <  ac_status=$?
2319 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320 <  (exit $ac_status); }
2321 < { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2322 <  (eval $ac_compiler -V </dev/null >&5) 2>&5
2323 <  ac_status=$?
2324 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 <  (exit $ac_status); }
2933 > if test $acx_mpi_mpicc = no; then
2934  
2935 < echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2328 < echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2329 < if test "${ac_cv_c_compiler_gnu+set}" = set; then
2330 <  echo $ECHO_N "(cached) $ECHO_C" >&6
2331 < else
2332 <  cat >conftest.$ac_ext <<_ACEOF
2333 < /* confdefs.h.  */
2334 < _ACEOF
2335 < cat confdefs.h >>conftest.$ac_ext
2336 < cat >>conftest.$ac_ext <<_ACEOF
2337 < /* end confdefs.h.  */
2935 >  if test $acx_mpi_mpicxx = no; then
2936  
2937 < int
2340 < main ()
2341 < {
2342 < #ifndef __GNUC__
2343 <       choke me
2344 < #endif
2937 >    acx_mpi_compiler=no
2938  
2346  ;
2347  return 0;
2348 }
2349 _ACEOF
2350 rm -f conftest.$ac_objext
2351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2352  (eval $ac_compile) 2>conftest.er1
2353  ac_status=$?
2354  grep -v '^ *+' conftest.er1 >conftest.err
2355  rm -f conftest.er1
2356  cat conftest.err >&5
2357  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358  (exit $ac_status); } &&
2359         { ac_try='test -z "$ac_c_werror_flag"
2360                         || test ! -s conftest.err'
2361  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2362  (eval $ac_try) 2>&5
2363  ac_status=$?
2364  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365  (exit $ac_status); }; } &&
2366         { ac_try='test -s conftest.$ac_objext'
2367  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2368  (eval $ac_try) 2>&5
2369  ac_status=$?
2370  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371  (exit $ac_status); }; }; then
2372  ac_compiler_gnu=yes
2939   else
2374  echo "$as_me: failed program was:" >&5
2375 sed 's/^/| /' conftest.$ac_ext >&5
2940  
2941 < ac_compiler_gnu=no
2941 >    acx_mpi_compiler=$acx_mpi_mpicxx
2942 >    acx_mpi_compiler_path=$acx_mpi_mpicxx_path
2943   fi
2379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2380 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2944  
2945 < fi
2383 < echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2384 < echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2385 < GCC=`test $ac_compiler_gnu = yes && echo yes`
2386 < ac_test_CFLAGS=${CFLAGS+set}
2387 < ac_save_CFLAGS=$CFLAGS
2388 < CFLAGS="-g"
2389 < echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2390 < echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2391 < if test "${ac_cv_prog_cc_g+set}" = set; then
2392 <  echo $ECHO_N "(cached) $ECHO_C" >&6
2945 >
2946   else
2947 <  cat >conftest.$ac_ext <<_ACEOF
2947 >
2948 >  if test $acx_mpi_mpicxx = no; then
2949 >
2950 >    acx_mpi_compiler=$acx_mpi_mpicc
2951 >    acx_mpi_compiler_path=$acx_mpi_mpicc_path
2952 >
2953 > else
2954 >
2955 >    { $as_echo "$as_me:$LINENO: checking whether to use $acx_mpi_mpicc or $acx_mpi_mpicxx" >&5
2956 > $as_echo_n "checking whether to use $acx_mpi_mpicc or $acx_mpi_mpicxx... " >&6; }
2957 >    ac_ext=cpp
2958 > ac_cpp='$CXXCPP $CPPFLAGS'
2959 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2960 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2961 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2962 >
2963 >    cat >conftest.$ac_ext <<_ACEOF
2964   /* confdefs.h.  */
2965   _ACEOF
2966   cat confdefs.h >>conftest.$ac_ext
2967   cat >>conftest.$ac_ext <<_ACEOF
2968   /* end confdefs.h.  */
2969  
2970 + #include <mpi.h>
2971 +
2972   int
2973   main ()
2974   {
2975  
2976 + MPI_Finalize();
2977 +
2978    ;
2979    return 0;
2980   }
2981   _ACEOF
2982 < rm -f conftest.$ac_objext
2983 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2984 <  (eval $ac_compile) 2>conftest.er1
2982 >    if { (ac_try="$acx_mpi_mpicxx_path -c conftest.$ac_ext >&5"
2983 > case "(($ac_try" in
2984 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2985 >  *) ac_try_echo=$ac_try;;
2986 > esac
2987 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2988 > $as_echo "$ac_try_echo") >&5
2989 >  (eval "$acx_mpi_mpicxx_path -c conftest.$ac_ext >&5") 2>conftest.er1
2990    ac_status=$?
2991    grep -v '^ *+' conftest.er1 >conftest.err
2992    rm -f conftest.er1
2993    cat conftest.err >&5
2994 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 <  (exit $ac_status); } &&
2996 <         { ac_try='test -z "$ac_c_werror_flag"
2997 <                         || test ! -s conftest.err'
2998 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2999 <  (eval $ac_try) 2>&5
3000 <  ac_status=$?
3001 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 <  (exit $ac_status); }; } &&
2425 <         { ac_try='test -s conftest.$ac_objext'
2426 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2427 <  (eval $ac_try) 2>&5
2428 <  ac_status=$?
2429 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 <  (exit $ac_status); }; }; then
2431 <  ac_cv_prog_cc_g=yes
2994 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 >  (exit $ac_status); } && {
2996 >         test -z "$ac_cxx_werror_flag" ||
2997 >         test ! -s conftest.err
2998 >       } && test -s conftest.$ac_objext; then
2999 >
3000 >      acx_mpi_compiler=$acx_mpi_mpicxx
3001 >      acx_mpi_compiler_path=$acx_mpi_mpicxx_path
3002 >
3003   else
2433  echo "$as_me: failed program was:" >&5
2434 sed 's/^/| /' conftest.$ac_ext >&5
3004  
3005 < ac_cv_prog_cc_g=no
3005 >      acx_mpi_compiler=$acx_mpi_mpicc
3006 >      acx_mpi_compiler_path=$acx_mpi_mpicc_path
3007   fi
3008 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3008 >
3009 >    ac_ext=c
3010 > ac_cpp='$CPP $CPPFLAGS'
3011 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3012 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3013 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
3014 >
3015 >    { $as_echo "$as_me:$LINENO: result: $acx_mpi_compiler" >&5
3016 > $as_echo "$acx_mpi_compiler" >&6; }
3017   fi
3018 < echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3019 < echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3020 < if test "$ac_test_CFLAGS" = set; then
3021 <  CFLAGS=$ac_save_CFLAGS
3022 < elif test $ac_cv_prog_cc_g = yes; then
3023 <  if test "$GCC" = yes; then
3024 <    CFLAGS="-g -O2"
3025 <  else
3026 <    CFLAGS="-g"
3027 <  fi
3018 >
3019 > fi
3020 >
3021 > { $as_echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5
3022 > $as_echo_n "checking whether mpif.h is usable... " >&6; }
3023 > ac_ext=${ac_fc_srcext-f}
3024 > ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
3025 > ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
3026 > ac_compiler_gnu=$ac_cv_fc_compiler_gnu
3027 >
3028 > ac_save_ext=$ac_ext
3029 > ac_ext=F90
3030 > rm -f conftest*
3031 > cat >conftest.$ac_ext <<EOF
3032 > program main
3033 >   include 'mpif.h'
3034 >   call MPI_Init
3035 > end
3036 > EOF
3037 > if $acx_mpi_mpif90_path -c conftest.$ac_ext > conftest.out 2>&1 ; then
3038 >        acx_mpi_f90_compiler=yes
3039 >        { $as_echo "$as_me:$LINENO: result: yes" >&5
3040 > $as_echo "yes" >&6; }
3041   else
3042 <  if test "$GCC" = yes; then
3043 <    CFLAGS="-O2"
3044 <  else
3045 <    CFLAGS=
3046 <  fi
3042 >        if test -s conftest.out ; then
3043 >                cat conftest.out >> config.log
3044 >        fi
3045 >        acx_mpi_f90_compiler=no
3046 >        { $as_echo "$as_me:$LINENO: result: no! Check MPI fortran include paths" >&5
3047 > $as_echo "no! Check MPI fortran include paths" >&6; }
3048   fi
3049 < echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3050 < echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3051 < if test "${ac_cv_prog_cc_stdc+set}" = set; then
3052 <  echo $ECHO_N "(cached) $ECHO_C" >&6
3049 > rm -f conftest*
3050 > ac_ext=$ac_save_ext
3051 > ac_ext=c
3052 > ac_cpp='$CPP $CPPFLAGS'
3053 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3054 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3055 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
3056 >
3057 > if test $acx_mpi_compiler = no || test $acx_mpi_f90_compiler = no; then
3058 >
3059 > acx_cv_mpi_implementation=no
3060   else
3061 <  ac_cv_prog_cc_stdc=no
3062 < ac_save_CC=$CC
3063 < cat >conftest.$ac_ext <<_ACEOF
3064 < /* confdefs.h.  */
3065 < _ACEOF
3066 < cat confdefs.h >>conftest.$ac_ext
3067 < cat >>conftest.$ac_ext <<_ACEOF
3068 < /* end confdefs.h.  */
3069 < #include <stdarg.h>
3070 < #include <stdio.h>
3071 < #include <sys/types.h>
3072 < #include <sys/stat.h>
3073 < /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3074 < struct buf { int x; };
3075 < FILE * (*rcsopen) (struct buf *, struct stat *, int);
3076 < static char *e (p, i)
3077 <     char **p;
3078 <     int i;
3079 < {
3080 <  return p[i];
2482 < }
2483 < static char *f (char * (*g) (char **, int), char **p, ...)
2484 < {
2485 <  char *s;
2486 <  va_list v;
2487 <  va_start (v,p);
2488 <  s = g (p, va_arg (v,int));
2489 <  va_end (v);
2490 <  return s;
2491 < }
3061 >  { $as_echo "$as_me:$LINENO: checking for the MPI implementation flavor" >&5
3062 > $as_echo_n "checking for the MPI implementation flavor... " >&6; }
3063 > if test "${acx_cv_mpi_implementation+set}" = set; then
3064 >  $as_echo_n "(cached) " >&6
3065 > else
3066 >  acx_cv_mpi_implementation=no
3067 > if { (ac_try="grep -q LAM $acx_mpi_compiler_path"
3068 > case "(($ac_try" in
3069 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3070 >  *) ac_try_echo=$ac_try;;
3071 > esac
3072 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3073 > $as_echo "$ac_try_echo") >&5
3074 >  (eval "grep -q LAM $acx_mpi_compiler_path") 2>conftest.er1
3075 >  ac_status=$?
3076 >  grep -v '^ *+' conftest.er1 >conftest.err
3077 >  rm -f conftest.er1
3078 >  cat conftest.err >&5
3079 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080 >  (exit $ac_status); }; then
3081  
3082 < /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2494 <   function prototypes and stuff, but not '\xHH' hex character constants.
2495 <   These don't provoke an error unfortunately, instead are silently treated
2496 <   as 'x'.  The following induces an error, until -std1 is added to get
2497 <   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2498 <   array size at least.  It's necessary to write '\x00'==0 to get something
2499 <   that's true only with -std1.  */
2500 < int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3082 >  acx_cv_mpi_implementation=lammpi
3083  
3084 < int test (int i, double x);
3085 < struct s1 {int (*f) (int a);};
3086 < struct s2 {int (*f) (double a);};
3087 < int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3088 < int argc;
3089 < char **argv;
3084 > else
3085 >
3086 >  if { (ac_try="grep -q showme $acx_mpi_compiler_path"
3087 > case "(($ac_try" in
3088 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089 >  *) ac_try_echo=$ac_try;;
3090 > esac
3091 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3092 > $as_echo "$ac_try_echo") >&5
3093 >  (eval "grep -q showme $acx_mpi_compiler_path") 2>conftest.er1
3094 >  ac_status=$?
3095 >  grep -v '^ *+' conftest.er1 >conftest.err
3096 >  rm -f conftest.er1
3097 >  cat conftest.err >&5
3098 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 >  (exit $ac_status); }; then
3100 >
3101 >    acx_cv_mpi_implementation=openmpi
3102 >
3103 > else
3104 >
3105 >    if { (ac_try="grep -q MPICH $acx_mpi_compiler_path"
3106 > case "(($ac_try" in
3107 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3108 >  *) ac_try_echo=$ac_try;;
3109 > esac
3110 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3111 > $as_echo "$ac_try_echo") >&5
3112 >  (eval "grep -q MPICH $acx_mpi_compiler_path") 2>conftest.er1
3113 >  ac_status=$?
3114 >  grep -v '^ *+' conftest.er1 >conftest.err
3115 >  rm -f conftest.er1
3116 >  cat conftest.err >&5
3117 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 >  (exit $ac_status); }; then
3119 >
3120 >      acx_cv_mpi_implementation=mpich
3121 >
3122 > else
3123 >  acx_cv_mpi_implementation=$with_mpi
3124 > fi
3125 >
3126 > fi
3127 >
3128 > fi
3129 >
3130 > fi
3131 > { $as_echo "$as_me:$LINENO: result: $acx_cv_mpi_implementation" >&5
3132 > $as_echo "$acx_cv_mpi_implementation" >&6; }
3133 >
3134 > fi
3135 > case $acx_cv_mpi_implementation in
3136 > (lammpi)
3137 >
3138 > cat >>confdefs.h <<\_ACEOF
3139 > #define MPI_IS_LAMMPI 1
3140 > _ACEOF
3141 >
3142 >  ;;
3143 > (openmpi)
3144 >
3145 > cat >>confdefs.h <<\_ACEOF
3146 > #define MPI_IS_OPENMPI 1
3147 > _ACEOF
3148 >
3149 >  ;;
3150 > (mpich)
3151 >
3152 > cat >>confdefs.h <<\_ACEOF
3153 > #define MPI_IS_MPICH 1
3154 > _ACEOF
3155 >
3156 >  ;;
3157 > esac
3158 > if test $acx_cv_mpi_implementation = no; then
3159 >
3160 > acx_mpi_cflags=""
3161 > acx_mpi_libs=""
3162 > USE_MPI="no"
3163 >        { $as_echo "$as_me:$LINENO: WARNING: No suitable MPI implementation found. oopse_MPI will not be build." >&5
3164 > $as_echo "$as_me: WARNING: No suitable MPI implementation found. oopse_MPI will not be build." >&2;}
3165 > else
3166 >
3167 >
3168 > { $as_echo "$as_me:$LINENO: checking how to compile MPI-C code" >&5
3169 > $as_echo_n "checking how to compile MPI-C code... " >&6; }
3170 > if test "${acx_mpi_cflags+set}" = set; then
3171 >  $as_echo_n "(cached) " >&6
3172 > else
3173 >
3174 > case $acx_cv_mpi_implementation in
3175 >  (lammpi)
3176 >    cfo="--showme:compile"
3177 >    ;;
3178 >  (openmpi)
3179 >    cfo="--showme:compile"
3180 >    ;;
3181 >  (mpich)
3182 >    case "$acx_mpi_compiler_path" in
3183 >      (*mpiCC)
3184 >        sc_cv_cn="-CC="
3185 >        ;;
3186 >      (*mpicxx)
3187 >        sc_cv_cn="-cxx="
3188 >        ;;
3189 >      (*mpicc)
3190 >        sc_cv_cn="-cc="
3191 >        ;;
3192 >      (*)
3193 >        sc_cv_cn=""
3194 >        ;;
3195 >    esac
3196 >    cfo="-compile_info $sc_cv_cn"
3197 >    ;;
3198 > esac
3199 > $as_echo "$as_me:$LINENO: mpi_pre_cflags=\"\`$acx_mpi_compiler_path $cfo || echo ' no'\`\"" >&5
3200 > mpi_pre_cflags="`$acx_mpi_compiler_path $cfo 2>conftest.er1 || echo ' no'`"
3201 > grep -v '^ *+' conftest.er1 >conftest.err
3202 > rm -f conftest.er1
3203 > cat conftest.err >&5
3204 > $as_echo "$as_me:$LINENO: mpi_pre_cflags = $mpi_pre_cflags" >&5
3205 > case "$mpi_pre_cflags" in
3206 >  (*no)
3207 >    acx_mpi_cflags=no
3208 >    acx_mpi_cflags="no"
3209 >    ;;
3210 >  (*)
3211 >    acx_mpi_tmp_mode="normal"
3212 >  acx_mpi_tmp_prefix=""
3213 >  eval "acx_mpi_cflags=\"\""
3214 >  for acx_mpi_tmp in $mpi_pre_cflags; do
3215 >    case "$acx_mpi_tmp_mode" in
3216 >      (normal)
3217 >        case "$acx_mpi_tmp" in
3218 >          (-I|-D)
3219 >            acx_mpi_tmp_prefix="$acx_mpi_tmp"
3220 >            acx_mpi_tmp_mode="accept"
3221 >            ;;
3222 >          (-I*|-D*)
3223 >            eval "acx_mpi_cflags=\"`eval 'as_val=${'\\acx_mpi_cflags'}
3224 >                 $as_echo "$as_val"'` \$acx_mpi_tmp\""
3225 >            ;;
3226 >          (-L|-l)
3227 >            acx_mpi_tmp_mode="skip"
3228 >            ;;
3229 >          (*)
3230 >            ;;
3231 >        esac
3232 >        ;;
3233 >      (accept)
3234 >        eval "acx_mpi_cflags=\"`eval 'as_val=${'\\acx_mpi_cflags'}
3235 >                 $as_echo "$as_val"'` \$acx_mpi_tmp_prefix \$acx_mpi_tmp\""
3236 >        ;;
3237 >      (skip)
3238 >        ;;
3239 >    esac
3240 >  done
3241 >
3242 >    ;;
3243 > esac
3244 >
3245 > fi
3246 > { $as_echo "$as_me:$LINENO: result: $acx_mpi_cflags" >&5
3247 > $as_echo "$acx_mpi_cflags" >&6; }
3248 >
3249 >
3250 > { $as_echo "$as_me:$LINENO: checking how to link MPI-C code" >&5
3251 > $as_echo_n "checking how to link MPI-C code... " >&6; }
3252 > if test "${acx_mpi_libs+set}" = set; then
3253 >  $as_echo_n "(cached) " >&6
3254 > else
3255 >
3256 > case $acx_cv_mpi_implementation in
3257 >  (lammpi)
3258 >    lfo="--showme:compile --showme:link"
3259 >    ;;
3260 >  (openmpi)
3261 >    lfo="--showme:link"
3262 >    ;;
3263 >  (mpich)
3264 >    case "$acx_mpi_compiler_path" in
3265 >      (*mpiCC)
3266 >        sc_cv_cn="-CC="
3267 >        ;;
3268 >      (*mpicxx)
3269 >        sc_cv_cn="-cxx="
3270 >        ;;
3271 >      (*mpicc)
3272 >        sc_cv_cn="-cc="
3273 >        ;;
3274 >      (*)
3275 >        sc_cv_cn=""
3276 >        ;;
3277 >    esac
3278 >    lfo="-link_info $sc_cv_cn"
3279 >    ;;
3280 > esac
3281 > $as_echo "$as_me:$LINENO: mpi_pre_libs=\"\`$acx_mpi_compiler_path $lfo || echo ' no'\`\"" >&5
3282 > mpi_pre_libs="`$acx_mpi_compiler_path $lfo 2>conftest.er1 || echo ' no'`"
3283 > grep -v '^ *+' conftest.er1 >conftest.err
3284 > rm -f conftest.er1
3285 > cat conftest.err >&5
3286 > $as_echo "$as_me:$LINENO: mpi_pre_libs = $mpi_pre_libs" >&5
3287 > case "$mpi_pre_libs" in
3288 >  (*no)
3289 >    acx_mpi_libs=no
3290 >    ;;
3291 >  (*)
3292 >    acx_mpi_libs="$mpi_pre_libs"
3293 >    ;;
3294 > esac
3295 >
3296 > fi
3297 > { $as_echo "$as_me:$LINENO: result: $acx_mpi_libs" >&5
3298 > $as_echo "$acx_mpi_libs" >&6; }
3299 >
3300 > if test $acx_mpi_mpif90_path != no; then
3301 >
3302 >
3303 >  { $as_echo "$as_me:$LINENO: checking how to link MPI-Fortran code" >&5
3304 > $as_echo_n "checking how to link MPI-Fortran code... " >&6; }
3305 > if test "${acx_mpi90_libs+set}" = set; then
3306 >  $as_echo_n "(cached) " >&6
3307 > else
3308 >
3309 >    $as_echo "$as_me:$LINENO: mpi_pre_libs=\"\`$acx_mpi_mpif90_path $lfo || echo \" no\"\`\"" >&5
3310 >    mpi_pre_libs="`$acx_mpi_mpif90_path $lfo 2>conftest.er1 || echo " no"`"
3311 >    grep -v '^ *+' conftest.er1 >conftest.err
3312 >    rm -f conftest.er1
3313 >    cat conftest.err >&5
3314 >    $as_echo "$as_me:$LINENO: mpi_pre_libs = $mpi_pre_libs" >&5
3315 >    case "$mpi_pre_libs" in
3316 >      (*no)
3317 >        acx_mpi90_libs=no
3318 >        ;;
3319 >      (*)
3320 >        acx_mpi90_libs="$mpi_pre_libs"
3321 >        ;;
3322 >    esac
3323 >
3324 > fi
3325 > { $as_echo "$as_me:$LINENO: result: $acx_mpi90_libs" >&5
3326 > $as_echo "$acx_mpi90_libs" >&6; }
3327 >
3328 >
3329 > fi
3330 >
3331 > if test "$acx_mpi_cflags" = no -o "$acx_mpi_libs" = no; then
3332 >
3333 > acx_mpi_cflags=""
3334 > acx_mpi_libs=""
3335 > USE_MPI="no"
3336 >        { $as_echo "$as_me:$LINENO: WARNING: No suitable MPI implementation found. oopse_MPI will not be build." >&5
3337 > $as_echo "$as_me: WARNING: No suitable MPI implementation found. oopse_MPI will not be build." >&2;}
3338 > else
3339 >
3340 > MPI_CPPFLAGS=$acx_mpi_cflags
3341 >
3342 > MPI_LIBS=$acx_mpi_libs
3343 >
3344 > if test "$acx_mpi90_libs" != no; then
3345 >  MPI90_LIBS=$acx_mpi90_libs
3346 >
3347 > fi
3348 >
3349 > USE_MPI="yes"
3350 > fi
3351 >
3352 >
3353 > fi
3354 >
3355 >
3356 > fi
3357 >
3358 >
3359 >
3360 > # Checks for programs.
3361 > ac_ext=cpp
3362 > ac_cpp='$CXXCPP $CPPFLAGS'
3363 > ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3364 > ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3365 > ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3366 > if test -z "$CXX"; then
3367 >  if test -n "$CCC"; then
3368 >    CXX=$CCC
3369 >  else
3370 >    if test -n "$ac_tool_prefix"; then
3371 >  for ac_prog in $CXX $ac_cv_prog_acx_mpi_mpicxx icpc pathCC pgCC c++ xlc++ xlC g++ CC
3372 >  do
3373 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3374 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3375 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3376 > $as_echo_n "checking for $ac_word... " >&6; }
3377 > if test "${ac_cv_prog_CXX+set}" = set; then
3378 >  $as_echo_n "(cached) " >&6
3379 > else
3380 >  if test -n "$CXX"; then
3381 >  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3382 > else
3383 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3384 > for as_dir in $PATH
3385 > do
3386 >  IFS=$as_save_IFS
3387 >  test -z "$as_dir" && as_dir=.
3388 >  for ac_exec_ext in '' $ac_executable_extensions; do
3389 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3390 >    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3391 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3392 >    break 2
3393 >  fi
3394 > done
3395 > done
3396 > IFS=$as_save_IFS
3397 >
3398 > fi
3399 > fi
3400 > CXX=$ac_cv_prog_CXX
3401 > if test -n "$CXX"; then
3402 >  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3403 > $as_echo "$CXX" >&6; }
3404 > else
3405 >  { $as_echo "$as_me:$LINENO: result: no" >&5
3406 > $as_echo "no" >&6; }
3407 > fi
3408 >
3409 >
3410 >    test -n "$CXX" && break
3411 >  done
3412 > fi
3413 > if test -z "$CXX"; then
3414 >  ac_ct_CXX=$CXX
3415 >  for ac_prog in $CXX $ac_cv_prog_acx_mpi_mpicxx icpc pathCC pgCC c++ xlc++ xlC g++ CC
3416 > do
3417 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
3418 > set dummy $ac_prog; ac_word=$2
3419 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3420 > $as_echo_n "checking for $ac_word... " >&6; }
3421 > if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3422 >  $as_echo_n "(cached) " >&6
3423 > else
3424 >  if test -n "$ac_ct_CXX"; then
3425 >  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3426 > else
3427 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 > for as_dir in $PATH
3429 > do
3430 >  IFS=$as_save_IFS
3431 >  test -z "$as_dir" && as_dir=.
3432 >  for ac_exec_ext in '' $ac_executable_extensions; do
3433 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3434 >    ac_cv_prog_ac_ct_CXX="$ac_prog"
3435 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3436 >    break 2
3437 >  fi
3438 > done
3439 > done
3440 > IFS=$as_save_IFS
3441 >
3442 > fi
3443 > fi
3444 > ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3445 > if test -n "$ac_ct_CXX"; then
3446 >  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3447 > $as_echo "$ac_ct_CXX" >&6; }
3448 > else
3449 >  { $as_echo "$as_me:$LINENO: result: no" >&5
3450 > $as_echo "no" >&6; }
3451 > fi
3452 >
3453 >
3454 >  test -n "$ac_ct_CXX" && break
3455 > done
3456 >
3457 >  if test "x$ac_ct_CXX" = x; then
3458 >    CXX="g++"
3459 >  else
3460 >    case $cross_compiling:$ac_tool_warned in
3461 > yes:)
3462 > { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3463 > whose name does not start with the host triplet.  If you think this
3464 > configuration is useful to you, please write to autoconf@gnu.org." >&5
3465 > $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3466 > whose name does not start with the host triplet.  If you think this
3467 > configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3468 > ac_tool_warned=yes ;;
3469 > esac
3470 >    CXX=$ac_ct_CXX
3471 >  fi
3472 > fi
3473 >
3474 >  fi
3475 > fi
3476 > # Provide some information about the compiler.
3477 > $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3478 > set X $ac_compile
3479 > ac_compiler=$2
3480 > { (ac_try="$ac_compiler --version >&5"
3481 > case "(($ac_try" in
3482 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3483 >  *) ac_try_echo=$ac_try;;
3484 > esac
3485 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3486 > $as_echo "$ac_try_echo") >&5
3487 >  (eval "$ac_compiler --version >&5") 2>&5
3488 >  ac_status=$?
3489 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490 >  (exit $ac_status); }
3491 > { (ac_try="$ac_compiler -v >&5"
3492 > case "(($ac_try" in
3493 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3494 >  *) ac_try_echo=$ac_try;;
3495 > esac
3496 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3497 > $as_echo "$ac_try_echo") >&5
3498 >  (eval "$ac_compiler -v >&5") 2>&5
3499 >  ac_status=$?
3500 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501 >  (exit $ac_status); }
3502 > { (ac_try="$ac_compiler -V >&5"
3503 > case "(($ac_try" in
3504 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3505 >  *) ac_try_echo=$ac_try;;
3506 > esac
3507 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3508 > $as_echo "$ac_try_echo") >&5
3509 >  (eval "$ac_compiler -V >&5") 2>&5
3510 >  ac_status=$?
3511 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512 >  (exit $ac_status); }
3513 >
3514 > cat >conftest.$ac_ext <<_ACEOF
3515 > /* confdefs.h.  */
3516 > _ACEOF
3517 > cat confdefs.h >>conftest.$ac_ext
3518 > cat >>conftest.$ac_ext <<_ACEOF
3519 > /* end confdefs.h.  */
3520 >
3521   int
3522   main ()
3523   {
3524 < return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3524 >
3525    ;
3526    return 0;
3527   }
3528   _ACEOF
3529 < # Don't try gcc -ansi; that turns off useful extensions and
3530 < # breaks some systems' header files.
3531 < # AIX                   -qlanglvl=ansi
3532 < # Ultrix and OSF/1      -std1
3533 < # HP-UX 10.20 and later -Ae
3534 < # HP-UX older versions  -Aa -D_HPUX_SOURCE
3535 < # SVR4                  -Xc -D__EXTENSIONS__
3536 < for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3529 > ac_clean_files_save=$ac_clean_files
3530 > ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3531 > # Try to create an executable without -o first, disregard a.out.
3532 > # It will help us diagnose broken compilers, and finding out an intuition
3533 > # of exeext.
3534 > { $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
3535 > $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3536 > ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3537 >
3538 > # The possible output files:
3539 > ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3540 >
3541 > ac_rmfiles=
3542 > for ac_file in $ac_files
3543   do
3544 <  CC="$ac_save_CC $ac_arg"
3545 <  rm -f conftest.$ac_objext
3546 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3547 <  (eval $ac_compile) 2>conftest.er1
3544 >  case $ac_file in
3545 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3546 >    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3547 >  esac
3548 > done
3549 > rm -f $ac_rmfiles
3550 >
3551 > if { (ac_try="$ac_link_default"
3552 > case "(($ac_try" in
3553 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3554 >  *) ac_try_echo=$ac_try;;
3555 > esac
3556 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3557 > $as_echo "$ac_try_echo") >&5
3558 >  (eval "$ac_link_default") 2>&5
3559    ac_status=$?
3560 <  grep -v '^ *+' conftest.er1 >conftest.err
3561 <  rm -f conftest.er1
3562 <  cat conftest.err >&5
3563 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564 <  (exit $ac_status); } &&
3565 <         { ac_try='test -z "$ac_c_werror_flag"
3566 <                         || test ! -s conftest.err'
3567 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3568 <  (eval $ac_try) 2>&5
3569 <  ac_status=$?
3570 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 <  (exit $ac_status); }; } &&
3572 <         { ac_try='test -s conftest.$ac_objext'
3573 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3574 <  (eval $ac_try) 2>&5
3575 <  ac_status=$?
3576 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 <  (exit $ac_status); }; }; then
3578 <  ac_cv_prog_cc_stdc=$ac_arg
3579 < break
3560 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3561 >  (exit $ac_status); }; then
3562 >  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3563 > # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3564 > # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3565 > # so that the user can short-circuit this test for compilers unknown to
3566 > # Autoconf.
3567 > for ac_file in $ac_files ''
3568 > do
3569 >  test -f "$ac_file" || continue
3570 >  case $ac_file in
3571 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3572 >        ;;
3573 >    [ab].out )
3574 >        # We found the default executable, but exeext='' is most
3575 >        # certainly right.
3576 >        break;;
3577 >    *.* )
3578 >        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3579 >        then :; else
3580 >           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3581 >        fi
3582 >        # We set ac_cv_exeext here because the later test for it is not
3583 >        # safe: cross compilers may not add the suffix if given an `-o'
3584 >        # argument, so we may need to know it at that point already.
3585 >        # Even if this section looks crufty: it has the advantage of
3586 >        # actually working.
3587 >        break;;
3588 >    * )
3589 >        break;;
3590 >  esac
3591 > done
3592 > test "$ac_cv_exeext" = no && ac_cv_exeext=
3593 >
3594   else
3595 <  echo "$as_me: failed program was:" >&5
3595 >  ac_file=''
3596 > fi
3597 >
3598 > { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3599 > $as_echo "$ac_file" >&6; }
3600 > if test -z "$ac_file"; then
3601 >  $as_echo "$as_me: failed program was:" >&5
3602   sed 's/^/| /' conftest.$ac_ext >&5
3603  
3604 + { { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
3605 + See \`config.log' for more details." >&5
3606 + $as_echo "$as_me: error: C++ compiler cannot create executables
3607 + See \`config.log' for more details." >&2;}
3608 +   { (exit 77); exit 77; }; }
3609   fi
2555 rm -f conftest.err conftest.$ac_objext
2556 done
2557 rm -f conftest.$ac_ext conftest.$ac_objext
2558 CC=$ac_save_CC
3610  
3611 + ac_exeext=$ac_cv_exeext
3612 +
3613 + # Check that the compiler produces executables we can run.  If not, either
3614 + # the compiler is broken, or we cross compile.
3615 + { $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
3616 + $as_echo_n "checking whether the C++ compiler works... " >&6; }
3617 + # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3618 + # If not cross compiling, check that we can run a simple program.
3619 + if test "$cross_compiling" != yes; then
3620 +  if { ac_try='./$ac_file'
3621 +  { (case "(($ac_try" in
3622 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3623 +  *) ac_try_echo=$ac_try;;
3624 + esac
3625 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3626 + $as_echo "$ac_try_echo") >&5
3627 +  (eval "$ac_try") 2>&5
3628 +  ac_status=$?
3629 +  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 +  (exit $ac_status); }; }; then
3631 +    cross_compiling=no
3632 +  else
3633 +    if test "$cross_compiling" = maybe; then
3634 +        cross_compiling=yes
3635 +    else
3636 +        { { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
3637 + If you meant to cross compile, use \`--host'.
3638 + See \`config.log' for more details." >&5
3639 + $as_echo "$as_me: error: cannot run C++ compiled programs.
3640 + If you meant to cross compile, use \`--host'.
3641 + See \`config.log' for more details." >&2;}
3642 +   { (exit 1); exit 1; }; }
3643 +    fi
3644 +  fi
3645   fi
3646 + { $as_echo "$as_me:$LINENO: result: yes" >&5
3647 + $as_echo "yes" >&6; }
3648  
3649 < case "x$ac_cv_prog_cc_stdc" in
3650 <  x|xno)
3651 <    echo "$as_me:$LINENO: result: none needed" >&5
3652 < echo "${ECHO_T}none needed" >&6 ;;
3653 <  *)
3654 <    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3655 < echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3656 <    CC="$CC $ac_cv_prog_cc_stdc" ;;
3649 > rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3650 > ac_clean_files=$ac_clean_files_save
3651 > # Check that the compiler produces executables we can run.  If not, either
3652 > # the compiler is broken, or we cross compile.
3653 > { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3654 > $as_echo_n "checking whether we are cross compiling... " >&6; }
3655 > { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3656 > $as_echo "$cross_compiling" >&6; }
3657 >
3658 > { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3659 > $as_echo_n "checking for suffix of executables... " >&6; }
3660 > if { (ac_try="$ac_link"
3661 > case "(($ac_try" in
3662 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3663 >  *) ac_try_echo=$ac_try;;
3664   esac
3665 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3666 + $as_echo "$ac_try_echo") >&5
3667 +  (eval "$ac_link") 2>&5
3668 +  ac_status=$?
3669 +  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 +  (exit $ac_status); }; then
3671 +  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3672 + # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3673 + # work properly (i.e., refer to `conftest.exe'), while it won't with
3674 + # `rm'.
3675 + for ac_file in conftest.exe conftest conftest.*; do
3676 +  test -f "$ac_file" || continue
3677 +  case $ac_file in
3678 +    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3679 +    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3680 +          break;;
3681 +    * ) break;;
3682 +  esac
3683 + done
3684 + else
3685 +  { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3686 + See \`config.log' for more details." >&5
3687 + $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3688 + See \`config.log' for more details." >&2;}
3689 +   { (exit 1); exit 1; }; }
3690 + fi
3691  
3692 < # Some people use a C++ compiler to compile C.  Since we use `exit',
3693 < # in C++ we need to declare it.  In case someone uses the same compiler
3694 < # for both compiling C and C++ we need to have the C++ compiler decide
3695 < # the declaration of exit, since it's the most demanding environment.
3696 < cat >conftest.$ac_ext <<_ACEOF
3697 < #ifndef __cplusplus
3698 <  choke me
3692 > rm -f conftest$ac_cv_exeext
3693 > { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3694 > $as_echo "$ac_cv_exeext" >&6; }
3695 >
3696 > rm -f conftest.$ac_ext
3697 > EXEEXT=$ac_cv_exeext
3698 > ac_exeext=$EXEEXT
3699 > { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3700 > $as_echo_n "checking for suffix of object files... " >&6; }
3701 > if test "${ac_cv_objext+set}" = set; then
3702 >  $as_echo_n "(cached) " >&6
3703 > else
3704 >  cat >conftest.$ac_ext <<_ACEOF
3705 > /* confdefs.h.  */
3706 > _ACEOF
3707 > cat confdefs.h >>conftest.$ac_ext
3708 > cat >>conftest.$ac_ext <<_ACEOF
3709 > /* end confdefs.h.  */
3710 >
3711 > int
3712 > main ()
3713 > {
3714 >
3715 >  ;
3716 >  return 0;
3717 > }
3718 > _ACEOF
3719 > rm -f conftest.o conftest.obj
3720 > if { (ac_try="$ac_compile"
3721 > case "(($ac_try" in
3722 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3723 >  *) ac_try_echo=$ac_try;;
3724 > esac
3725 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3726 > $as_echo "$ac_try_echo") >&5
3727 >  (eval "$ac_compile") 2>&5
3728 >  ac_status=$?
3729 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730 >  (exit $ac_status); }; then
3731 >  for ac_file in conftest.o conftest.obj conftest.*; do
3732 >  test -f "$ac_file" || continue;
3733 >  case $ac_file in
3734 >    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3735 >    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3736 >       break;;
3737 >  esac
3738 > done
3739 > else
3740 >  $as_echo "$as_me: failed program was:" >&5
3741 > sed 's/^/| /' conftest.$ac_ext >&5
3742 >
3743 > { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3744 > See \`config.log' for more details." >&5
3745 > $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3746 > See \`config.log' for more details." >&2;}
3747 >   { (exit 1); exit 1; }; }
3748 > fi
3749 >
3750 > rm -f conftest.$ac_cv_objext conftest.$ac_ext
3751 > fi
3752 > { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3753 > $as_echo "$ac_cv_objext" >&6; }
3754 > OBJEXT=$ac_cv_objext
3755 > ac_objext=$OBJEXT
3756 > { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3757 > $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3758 > if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3759 >  $as_echo_n "(cached) " >&6
3760 > else
3761 >  cat >conftest.$ac_ext <<_ACEOF
3762 > /* confdefs.h.  */
3763 > _ACEOF
3764 > cat confdefs.h >>conftest.$ac_ext
3765 > cat >>conftest.$ac_ext <<_ACEOF
3766 > /* end confdefs.h.  */
3767 >
3768 > int
3769 > main ()
3770 > {
3771 > #ifndef __GNUC__
3772 >       choke me
3773   #endif
3774 +
3775 +  ;
3776 +  return 0;
3777 + }
3778   _ACEOF
3779   rm -f conftest.$ac_objext
3780 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3781 <  (eval $ac_compile) 2>conftest.er1
3780 > if { (ac_try="$ac_compile"
3781 > case "(($ac_try" in
3782 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3783 >  *) ac_try_echo=$ac_try;;
3784 > esac
3785 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3786 > $as_echo "$ac_try_echo") >&5
3787 >  (eval "$ac_compile") 2>conftest.er1
3788    ac_status=$?
3789    grep -v '^ *+' conftest.er1 >conftest.err
3790    rm -f conftest.er1
3791    cat conftest.err >&5
3792 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 <  (exit $ac_status); } &&
3794 <         { ac_try='test -z "$ac_c_werror_flag"
3795 <                         || test ! -s conftest.err'
3796 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3797 <  (eval $ac_try) 2>&5
3798 <  ac_status=$?
3799 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 <  (exit $ac_status); }; } &&
3801 <         { ac_try='test -s conftest.$ac_objext'
3802 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3803 <  (eval $ac_try) 2>&5
3804 <  ac_status=$?
3805 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3806 <  (exit $ac_status); }; }; then
3807 <  for ac_declaration in \
3808 <   '' \
3809 <   'extern "C" void std::exit (int) throw (); using std::exit;' \
3810 <   'extern "C" void std::exit (int); using std::exit;' \
3811 <   'extern "C" void exit (int) throw ();' \
3812 <   'extern "C" void exit (int);' \
3813 <   'void exit (int);'
3814 < do
3815 <  cat >conftest.$ac_ext <<_ACEOF
3792 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 >  (exit $ac_status); } && {
3794 >         test -z "$ac_cxx_werror_flag" ||
3795 >         test ! -s conftest.err
3796 >       } && test -s conftest.$ac_objext; then
3797 >  ac_compiler_gnu=yes
3798 > else
3799 >  $as_echo "$as_me: failed program was:" >&5
3800 > sed 's/^/| /' conftest.$ac_ext >&5
3801 >
3802 >        ac_compiler_gnu=no
3803 > fi
3804 >
3805 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3806 > ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3807 >
3808 > fi
3809 > { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3810 > $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3811 > if test $ac_compiler_gnu = yes; then
3812 >  GXX=yes
3813 > else
3814 >  GXX=
3815 > fi
3816 > ac_test_CXXFLAGS=${CXXFLAGS+set}
3817 > ac_save_CXXFLAGS=$CXXFLAGS
3818 > { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3819 > $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3820 > if test "${ac_cv_prog_cxx_g+set}" = set; then
3821 >  $as_echo_n "(cached) " >&6
3822 > else
3823 >  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3824 >   ac_cxx_werror_flag=yes
3825 >   ac_cv_prog_cxx_g=no
3826 >   CXXFLAGS="-g"
3827 >   cat >conftest.$ac_ext <<_ACEOF
3828   /* confdefs.h.  */
3829   _ACEOF
3830   cat confdefs.h >>conftest.$ac_ext
3831   cat >>conftest.$ac_ext <<_ACEOF
3832   /* end confdefs.h.  */
3833 < $ac_declaration
2618 < #include <stdlib.h>
3833 >
3834   int
3835   main ()
3836   {
3837 < exit (42);
3837 >
3838    ;
3839    return 0;
3840   }
3841   _ACEOF
3842   rm -f conftest.$ac_objext
3843 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3844 <  (eval $ac_compile) 2>conftest.er1
3843 > if { (ac_try="$ac_compile"
3844 > case "(($ac_try" in
3845 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3846 >  *) ac_try_echo=$ac_try;;
3847 > esac
3848 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3849 > $as_echo "$ac_try_echo") >&5
3850 >  (eval "$ac_compile") 2>conftest.er1
3851    ac_status=$?
3852    grep -v '^ *+' conftest.er1 >conftest.err
3853    rm -f conftest.er1
3854    cat conftest.err >&5
3855 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 <  (exit $ac_status); } &&
3857 <         { ac_try='test -z "$ac_c_werror_flag"
3858 <                         || test ! -s conftest.err'
3859 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3860 <  (eval $ac_try) 2>&5
3861 <  ac_status=$?
3862 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863 <  (exit $ac_status); }; } &&
3864 <         { ac_try='test -s conftest.$ac_objext'
3865 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3866 <  (eval $ac_try) 2>&5
3855 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 >  (exit $ac_status); } && {
3857 >         test -z "$ac_cxx_werror_flag" ||
3858 >         test ! -s conftest.err
3859 >       } && test -s conftest.$ac_objext; then
3860 >  ac_cv_prog_cxx_g=yes
3861 > else
3862 >  $as_echo "$as_me: failed program was:" >&5
3863 > sed 's/^/| /' conftest.$ac_ext >&5
3864 >
3865 >        CXXFLAGS=""
3866 >      cat >conftest.$ac_ext <<_ACEOF
3867 > /* confdefs.h.  */
3868 > _ACEOF
3869 > cat confdefs.h >>conftest.$ac_ext
3870 > cat >>conftest.$ac_ext <<_ACEOF
3871 > /* end confdefs.h.  */
3872 >
3873 > int
3874 > main ()
3875 > {
3876 >
3877 >  ;
3878 >  return 0;
3879 > }
3880 > _ACEOF
3881 > rm -f conftest.$ac_objext
3882 > if { (ac_try="$ac_compile"
3883 > case "(($ac_try" in
3884 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3885 >  *) ac_try_echo=$ac_try;;
3886 > esac
3887 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3888 > $as_echo "$ac_try_echo") >&5
3889 >  (eval "$ac_compile") 2>conftest.er1
3890    ac_status=$?
3891 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3892 <  (exit $ac_status); }; }; then
3891 >  grep -v '^ *+' conftest.er1 >conftest.err
3892 >  rm -f conftest.er1
3893 >  cat conftest.err >&5
3894 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895 >  (exit $ac_status); } && {
3896 >         test -z "$ac_cxx_werror_flag" ||
3897 >         test ! -s conftest.err
3898 >       } && test -s conftest.$ac_objext; then
3899    :
3900   else
3901 <  echo "$as_me: failed program was:" >&5
3901 >  $as_echo "$as_me: failed program was:" >&5
3902   sed 's/^/| /' conftest.$ac_ext >&5
3903  
3904 < continue
3905 < fi
3906 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2657 <  cat >conftest.$ac_ext <<_ACEOF
3904 >        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3905 >         CXXFLAGS="-g"
3906 >         cat >conftest.$ac_ext <<_ACEOF
3907   /* confdefs.h.  */
3908   _ACEOF
3909   cat confdefs.h >>conftest.$ac_ext
3910   cat >>conftest.$ac_ext <<_ACEOF
3911   /* end confdefs.h.  */
3912 < $ac_declaration
3912 >
3913   int
3914   main ()
3915   {
3916 < exit (42);
3916 >
3917    ;
3918    return 0;
3919   }
3920   _ACEOF
3921   rm -f conftest.$ac_objext
3922 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3923 <  (eval $ac_compile) 2>conftest.er1
3922 > if { (ac_try="$ac_compile"
3923 > case "(($ac_try" in
3924 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3925 >  *) ac_try_echo=$ac_try;;
3926 > esac
3927 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3928 > $as_echo "$ac_try_echo") >&5
3929 >  (eval "$ac_compile") 2>conftest.er1
3930    ac_status=$?
3931    grep -v '^ *+' conftest.er1 >conftest.err
3932    rm -f conftest.er1
3933    cat conftest.err >&5
3934 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935 <  (exit $ac_status); } &&
3936 <         { ac_try='test -z "$ac_c_werror_flag"
3937 <                         || test ! -s conftest.err'
3938 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3939 <  (eval $ac_try) 2>&5
2685 <  ac_status=$?
2686 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687 <  (exit $ac_status); }; } &&
2688 <         { ac_try='test -s conftest.$ac_objext'
2689 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2690 <  (eval $ac_try) 2>&5
2691 <  ac_status=$?
2692 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 <  (exit $ac_status); }; }; then
2694 <  break
3934 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3935 >  (exit $ac_status); } && {
3936 >         test -z "$ac_cxx_werror_flag" ||
3937 >         test ! -s conftest.err
3938 >       } && test -s conftest.$ac_objext; then
3939 >  ac_cv_prog_cxx_g=yes
3940   else
3941 <  echo "$as_me: failed program was:" >&5
3941 >  $as_echo "$as_me: failed program was:" >&5
3942   sed 's/^/| /' conftest.$ac_ext >&5
3943  
3944 +
3945   fi
3946 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3947 < done
2702 < rm -f conftest*
2703 < if test -n "$ac_declaration"; then
2704 <  echo '#ifdef __cplusplus' >>confdefs.h
2705 <  echo $ac_declaration      >>confdefs.h
2706 <  echo '#endif'             >>confdefs.h
3946 >
3947 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3948   fi
3949  
3950 < else
3951 <  echo "$as_me: failed program was:" >&5
2711 < sed 's/^/| /' conftest.$ac_ext >&5
3950 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3951 > fi
3952  
3953 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3954 +   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3955   fi
3956 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3956 > { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3957 > $as_echo "$ac_cv_prog_cxx_g" >&6; }
3958 > if test "$ac_test_CXXFLAGS" = set; then
3959 >  CXXFLAGS=$ac_save_CXXFLAGS
3960 > elif test $ac_cv_prog_cxx_g = yes; then
3961 >  if test "$GXX" = yes; then
3962 >    CXXFLAGS="-g -O2"
3963 >  else
3964 >    CXXFLAGS="-g"
3965 >  fi
3966 > else
3967 >  if test "$GXX" = yes; then
3968 >    CXXFLAGS="-O2"
3969 >  else
3970 >    CXXFLAGS=
3971 >  fi
3972 > fi
3973   ac_ext=c
3974   ac_cpp='$CPP $CPPFLAGS'
3975   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3976   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3977   ac_compiler_gnu=$ac_cv_c_compiler_gnu
3978  
3979 < ac_ext=${FC_SRCEXT-f}
3980 < ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
3981 < ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
3982 < ac_compiler_gnu=$ac_cv_fc_compiler_gnu
3979 > ac_ext=c
3980 > ac_cpp='$CPP $CPPFLAGS'
3981 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3982 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3983 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
3984   if test -n "$ac_tool_prefix"; then
3985 <  for ac_prog in ifort ifc pgf95 pathf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort
3985 >  for ac_prog in $CC $ac_cv_prog_acx_mpi_mpicc icc pathcc pgcc cc xlc gcc
3986    do
3987      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3988   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3989 < echo "$as_me:$LINENO: checking for $ac_word" >&5
3990 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3991 < if test "${ac_cv_prog_FC+set}" = set; then
3992 <  echo $ECHO_N "(cached) $ECHO_C" >&6
3989 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3990 > $as_echo_n "checking for $ac_word... " >&6; }
3991 > if test "${ac_cv_prog_CC+set}" = set; then
3992 >  $as_echo_n "(cached) " >&6
3993   else
3994 <  if test -n "$FC"; then
3995 <  ac_cv_prog_FC="$FC" # Let the user override the test.
3994 >  if test -n "$CC"; then
3995 >  ac_cv_prog_CC="$CC" # Let the user override the test.
3996   else
3997   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3998   for as_dir in $PATH
# Line 2741 | Line 4000 | do
4000    IFS=$as_save_IFS
4001    test -z "$as_dir" && as_dir=.
4002    for ac_exec_ext in '' $ac_executable_extensions; do
4003 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4004 <    ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4005 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4003 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4004 >    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4005 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4006      break 2
4007    fi
4008   done
4009   done
4010 + IFS=$as_save_IFS
4011  
4012   fi
4013   fi
4014 < FC=$ac_cv_prog_FC
4015 < if test -n "$FC"; then
4016 <  echo "$as_me:$LINENO: result: $FC" >&5
4017 < echo "${ECHO_T}$FC" >&6
4014 > CC=$ac_cv_prog_CC
4015 > if test -n "$CC"; then
4016 >  { $as_echo "$as_me:$LINENO: result: $CC" >&5
4017 > $as_echo "$CC" >&6; }
4018   else
4019 <  echo "$as_me:$LINENO: result: no" >&5
4020 < echo "${ECHO_T}no" >&6
4019 >  { $as_echo "$as_me:$LINENO: result: no" >&5
4020 > $as_echo "no" >&6; }
4021   fi
4022  
4023 <    test -n "$FC" && break
4023 >
4024 >    test -n "$CC" && break
4025    done
4026   fi
4027 < if test -z "$FC"; then
4028 <  ac_ct_FC=$FC
4029 <  for ac_prog in ifort ifc pgf95 pathf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort
4027 > if test -z "$CC"; then
4028 >  ac_ct_CC=$CC
4029 >  for ac_prog in $CC $ac_cv_prog_acx_mpi_mpicc icc pathcc pgcc cc xlc gcc
4030   do
4031    # Extract the first word of "$ac_prog", so it can be a program name with args.
4032   set dummy $ac_prog; ac_word=$2
4033 < echo "$as_me:$LINENO: checking for $ac_word" >&5
4034 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4035 < if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4036 <  echo $ECHO_N "(cached) $ECHO_C" >&6
4033 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4034 > $as_echo_n "checking for $ac_word... " >&6; }
4035 > if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4036 >  $as_echo_n "(cached) " >&6
4037   else
4038 <  if test -n "$ac_ct_FC"; then
4039 <  ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4038 >  if test -n "$ac_ct_CC"; then
4039 >  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4040   else
4041   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4042   for as_dir in $PATH
# Line 2783 | Line 4044 | do
4044    IFS=$as_save_IFS
4045    test -z "$as_dir" && as_dir=.
4046    for ac_exec_ext in '' $ac_executable_extensions; do
4047 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4048 <    ac_cv_prog_ac_ct_FC="$ac_prog"
4049 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4047 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4048 >    ac_cv_prog_ac_ct_CC="$ac_prog"
4049 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4050      break 2
4051    fi
4052   done
4053   done
4054 + IFS=$as_save_IFS
4055  
4056   fi
4057   fi
4058 < ac_ct_FC=$ac_cv_prog_ac_ct_FC
4059 < if test -n "$ac_ct_FC"; then
4060 <  echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4061 < echo "${ECHO_T}$ac_ct_FC" >&6
4058 > ac_ct_CC=$ac_cv_prog_ac_ct_CC
4059 > if test -n "$ac_ct_CC"; then
4060 >  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4061 > $as_echo "$ac_ct_CC" >&6; }
4062   else
4063 <  echo "$as_me:$LINENO: result: no" >&5
4064 < echo "${ECHO_T}no" >&6
4063 >  { $as_echo "$as_me:$LINENO: result: no" >&5
4064 > $as_echo "no" >&6; }
4065   fi
4066  
4067 <  test -n "$ac_ct_FC" && break
4067 >
4068 >  test -n "$ac_ct_CC" && break
4069   done
4070  
4071 <  FC=$ac_ct_FC
4071 >  if test "x$ac_ct_CC" = x; then
4072 >    CC=""
4073 >  else
4074 >    case $cross_compiling:$ac_tool_warned in
4075 > yes:)
4076 > { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4077 > whose name does not start with the host triplet.  If you think this
4078 > configuration is useful to you, please write to autoconf@gnu.org." >&5
4079 > $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4080 > whose name does not start with the host triplet.  If you think this
4081 > configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4082 > ac_tool_warned=yes ;;
4083 > esac
4084 >    CC=$ac_ct_CC
4085 >  fi
4086   fi
4087  
4088  
4089 + test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4090 + See \`config.log' for more details." >&5
4091 + $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4092 + See \`config.log' for more details." >&2;}
4093 +   { (exit 1); exit 1; }; }
4094 +
4095   # Provide some information about the compiler.
4096 < echo "$as_me:2813:" \
4097 <     "checking for Fortran compiler version" >&5
4098 < ac_compiler=`set X $ac_compile; echo $2`
4099 < { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4100 <  (eval $ac_compiler --version </dev/null >&5) 2>&5
4101 <  ac_status=$?
4102 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103 <  (exit $ac_status); }
4104 < { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4105 <  (eval $ac_compiler -v </dev/null >&5) 2>&5
4106 <  ac_status=$?
2824 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825 <  (exit $ac_status); }
2826 < { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2827 <  (eval $ac_compiler -V </dev/null >&5) 2>&5
4096 > $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4097 > set X $ac_compile
4098 > ac_compiler=$2
4099 > { (ac_try="$ac_compiler --version >&5"
4100 > case "(($ac_try" in
4101 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4102 >  *) ac_try_echo=$ac_try;;
4103 > esac
4104 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4105 > $as_echo "$ac_try_echo") >&5
4106 >  (eval "$ac_compiler --version >&5") 2>&5
4107    ac_status=$?
4108 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4108 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4109 >  (exit $ac_status); }
4110 > { (ac_try="$ac_compiler -v >&5"
4111 > case "(($ac_try" in
4112 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4113 >  *) ac_try_echo=$ac_try;;
4114 > esac
4115 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4116 > $as_echo "$ac_try_echo") >&5
4117 >  (eval "$ac_compiler -v >&5") 2>&5
4118 >  ac_status=$?
4119 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4120 >  (exit $ac_status); }
4121 > { (ac_try="$ac_compiler -V >&5"
4122 > case "(($ac_try" in
4123 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4124 >  *) ac_try_echo=$ac_try;;
4125 > esac
4126 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4127 > $as_echo "$ac_try_echo") >&5
4128 >  (eval "$ac_compiler -V >&5") 2>&5
4129 >  ac_status=$?
4130 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4131 >  (exit $ac_status); }
4132 >
4133 > { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4134 > $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4135 > if test "${ac_cv_c_compiler_gnu+set}" = set; then
4136 >  $as_echo_n "(cached) " >&6
4137 > else
4138 >  cat >conftest.$ac_ext <<_ACEOF
4139 > /* confdefs.h.  */
4140 > _ACEOF
4141 > cat confdefs.h >>conftest.$ac_ext
4142 > cat >>conftest.$ac_ext <<_ACEOF
4143 > /* end confdefs.h.  */
4144 >
4145 > int
4146 > main ()
4147 > {
4148 > #ifndef __GNUC__
4149 >       choke me
4150 > #endif
4151 >
4152 >  ;
4153 >  return 0;
4154 > }
4155 > _ACEOF
4156 > rm -f conftest.$ac_objext
4157 > if { (ac_try="$ac_compile"
4158 > case "(($ac_try" in
4159 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4160 >  *) ac_try_echo=$ac_try;;
4161 > esac
4162 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4163 > $as_echo "$ac_try_echo") >&5
4164 >  (eval "$ac_compile") 2>conftest.er1
4165 >  ac_status=$?
4166 >  grep -v '^ *+' conftest.er1 >conftest.err
4167 >  rm -f conftest.er1
4168 >  cat conftest.err >&5
4169 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 >  (exit $ac_status); } && {
4171 >         test -z "$ac_c_werror_flag" ||
4172 >         test ! -s conftest.err
4173 >       } && test -s conftest.$ac_objext; then
4174 >  ac_compiler_gnu=yes
4175 > else
4176 >  $as_echo "$as_me: failed program was:" >&5
4177 > sed 's/^/| /' conftest.$ac_ext >&5
4178 >
4179 >        ac_compiler_gnu=no
4180 > fi
4181 >
4182 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4183 > ac_cv_c_compiler_gnu=$ac_compiler_gnu
4184 >
4185 > fi
4186 > { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4187 > $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4188 > if test $ac_compiler_gnu = yes; then
4189 >  GCC=yes
4190 > else
4191 >  GCC=
4192 > fi
4193 > ac_test_CFLAGS=${CFLAGS+set}
4194 > ac_save_CFLAGS=$CFLAGS
4195 > { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4196 > $as_echo_n "checking whether $CC accepts -g... " >&6; }
4197 > if test "${ac_cv_prog_cc_g+set}" = set; then
4198 >  $as_echo_n "(cached) " >&6
4199 > else
4200 >  ac_save_c_werror_flag=$ac_c_werror_flag
4201 >   ac_c_werror_flag=yes
4202 >   ac_cv_prog_cc_g=no
4203 >   CFLAGS="-g"
4204 >   cat >conftest.$ac_ext <<_ACEOF
4205 > /* confdefs.h.  */
4206 > _ACEOF
4207 > cat confdefs.h >>conftest.$ac_ext
4208 > cat >>conftest.$ac_ext <<_ACEOF
4209 > /* end confdefs.h.  */
4210 >
4211 > int
4212 > main ()
4213 > {
4214 >
4215 >  ;
4216 >  return 0;
4217 > }
4218 > _ACEOF
4219 > rm -f conftest.$ac_objext
4220 > if { (ac_try="$ac_compile"
4221 > case "(($ac_try" in
4222 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4223 >  *) ac_try_echo=$ac_try;;
4224 > esac
4225 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4226 > $as_echo "$ac_try_echo") >&5
4227 >  (eval "$ac_compile") 2>conftest.er1
4228 >  ac_status=$?
4229 >  grep -v '^ *+' conftest.er1 >conftest.err
4230 >  rm -f conftest.er1
4231 >  cat conftest.err >&5
4232 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 >  (exit $ac_status); } && {
4234 >         test -z "$ac_c_werror_flag" ||
4235 >         test ! -s conftest.err
4236 >       } && test -s conftest.$ac_objext; then
4237 >  ac_cv_prog_cc_g=yes
4238 > else
4239 >  $as_echo "$as_me: failed program was:" >&5
4240 > sed 's/^/| /' conftest.$ac_ext >&5
4241 >
4242 >        CFLAGS=""
4243 >      cat >conftest.$ac_ext <<_ACEOF
4244 > /* confdefs.h.  */
4245 > _ACEOF
4246 > cat confdefs.h >>conftest.$ac_ext
4247 > cat >>conftest.$ac_ext <<_ACEOF
4248 > /* end confdefs.h.  */
4249 >
4250 > int
4251 > main ()
4252 > {
4253 >
4254 >  ;
4255 >  return 0;
4256 > }
4257 > _ACEOF
4258 > rm -f conftest.$ac_objext
4259 > if { (ac_try="$ac_compile"
4260 > case "(($ac_try" in
4261 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4262 >  *) ac_try_echo=$ac_try;;
4263 > esac
4264 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4265 > $as_echo "$ac_try_echo") >&5
4266 >  (eval "$ac_compile") 2>conftest.er1
4267 >  ac_status=$?
4268 >  grep -v '^ *+' conftest.er1 >conftest.err
4269 >  rm -f conftest.er1
4270 >  cat conftest.err >&5
4271 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 >  (exit $ac_status); } && {
4273 >         test -z "$ac_c_werror_flag" ||
4274 >         test ! -s conftest.err
4275 >       } && test -s conftest.$ac_objext; then
4276 >  :
4277 > else
4278 >  $as_echo "$as_me: failed program was:" >&5
4279 > sed 's/^/| /' conftest.$ac_ext >&5
4280 >
4281 >        ac_c_werror_flag=$ac_save_c_werror_flag
4282 >         CFLAGS="-g"
4283 >         cat >conftest.$ac_ext <<_ACEOF
4284 > /* confdefs.h.  */
4285 > _ACEOF
4286 > cat confdefs.h >>conftest.$ac_ext
4287 > cat >>conftest.$ac_ext <<_ACEOF
4288 > /* end confdefs.h.  */
4289 >
4290 > int
4291 > main ()
4292 > {
4293 >
4294 >  ;
4295 >  return 0;
4296 > }
4297 > _ACEOF
4298 > rm -f conftest.$ac_objext
4299 > if { (ac_try="$ac_compile"
4300 > case "(($ac_try" in
4301 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4302 >  *) ac_try_echo=$ac_try;;
4303 > esac
4304 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4305 > $as_echo "$ac_try_echo") >&5
4306 >  (eval "$ac_compile") 2>conftest.er1
4307 >  ac_status=$?
4308 >  grep -v '^ *+' conftest.er1 >conftest.err
4309 >  rm -f conftest.er1
4310 >  cat conftest.err >&5
4311 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312 >  (exit $ac_status); } && {
4313 >         test -z "$ac_c_werror_flag" ||
4314 >         test ! -s conftest.err
4315 >       } && test -s conftest.$ac_objext; then
4316 >  ac_cv_prog_cc_g=yes
4317 > else
4318 >  $as_echo "$as_me: failed program was:" >&5
4319 > sed 's/^/| /' conftest.$ac_ext >&5
4320 >
4321 >
4322 > fi
4323 >
4324 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4325 > fi
4326 >
4327 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4328 > fi
4329 >
4330 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4331 >   ac_c_werror_flag=$ac_save_c_werror_flag
4332 > fi
4333 > { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4334 > $as_echo "$ac_cv_prog_cc_g" >&6; }
4335 > if test "$ac_test_CFLAGS" = set; then
4336 >  CFLAGS=$ac_save_CFLAGS
4337 > elif test $ac_cv_prog_cc_g = yes; then
4338 >  if test "$GCC" = yes; then
4339 >    CFLAGS="-g -O2"
4340 >  else
4341 >    CFLAGS="-g"
4342 >  fi
4343 > else
4344 >  if test "$GCC" = yes; then
4345 >    CFLAGS="-O2"
4346 >  else
4347 >    CFLAGS=
4348 >  fi
4349 > fi
4350 > { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4351 > $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4352 > if test "${ac_cv_prog_cc_c89+set}" = set; then
4353 >  $as_echo_n "(cached) " >&6
4354 > else
4355 >  ac_cv_prog_cc_c89=no
4356 > ac_save_CC=$CC
4357 > cat >conftest.$ac_ext <<_ACEOF
4358 > /* confdefs.h.  */
4359 > _ACEOF
4360 > cat confdefs.h >>conftest.$ac_ext
4361 > cat >>conftest.$ac_ext <<_ACEOF
4362 > /* end confdefs.h.  */
4363 > #include <stdarg.h>
4364 > #include <stdio.h>
4365 > #include <sys/types.h>
4366 > #include <sys/stat.h>
4367 > /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4368 > struct buf { int x; };
4369 > FILE * (*rcsopen) (struct buf *, struct stat *, int);
4370 > static char *e (p, i)
4371 >     char **p;
4372 >     int i;
4373 > {
4374 >  return p[i];
4375 > }
4376 > static char *f (char * (*g) (char **, int), char **p, ...)
4377 > {
4378 >  char *s;
4379 >  va_list v;
4380 >  va_start (v,p);
4381 >  s = g (p, va_arg (v,int));
4382 >  va_end (v);
4383 >  return s;
4384 > }
4385 >
4386 > /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4387 >   function prototypes and stuff, but not '\xHH' hex character constants.
4388 >   These don't provoke an error unfortunately, instead are silently treated
4389 >   as 'x'.  The following induces an error, until -std is added to get
4390 >   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4391 >   array size at least.  It's necessary to write '\x00'==0 to get something
4392 >   that's true only with -std.  */
4393 > int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4394 >
4395 > /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4396 >   inside strings and character constants.  */
4397 > #define FOO(x) 'x'
4398 > int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4399 >
4400 > int test (int i, double x);
4401 > struct s1 {int (*f) (int a);};
4402 > struct s2 {int (*f) (double a);};
4403 > int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4404 > int argc;
4405 > char **argv;
4406 > int
4407 > main ()
4408 > {
4409 > return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4410 >  ;
4411 >  return 0;
4412 > }
4413 > _ACEOF
4414 > for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4415 >        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4416 > do
4417 >  CC="$ac_save_CC $ac_arg"
4418 >  rm -f conftest.$ac_objext
4419 > if { (ac_try="$ac_compile"
4420 > case "(($ac_try" in
4421 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4422 >  *) ac_try_echo=$ac_try;;
4423 > esac
4424 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4425 > $as_echo "$ac_try_echo") >&5
4426 >  (eval "$ac_compile") 2>conftest.er1
4427 >  ac_status=$?
4428 >  grep -v '^ *+' conftest.er1 >conftest.err
4429 >  rm -f conftest.er1
4430 >  cat conftest.err >&5
4431 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4432 >  (exit $ac_status); } && {
4433 >         test -z "$ac_c_werror_flag" ||
4434 >         test ! -s conftest.err
4435 >       } && test -s conftest.$ac_objext; then
4436 >  ac_cv_prog_cc_c89=$ac_arg
4437 > else
4438 >  $as_echo "$as_me: failed program was:" >&5
4439 > sed 's/^/| /' conftest.$ac_ext >&5
4440 >
4441 >
4442 > fi
4443 >
4444 > rm -f core conftest.err conftest.$ac_objext
4445 >  test "x$ac_cv_prog_cc_c89" != "xno" && break
4446 > done
4447 > rm -f conftest.$ac_ext
4448 > CC=$ac_save_CC
4449 >
4450 > fi
4451 > # AC_CACHE_VAL
4452 > case "x$ac_cv_prog_cc_c89" in
4453 >  x)
4454 >    { $as_echo "$as_me:$LINENO: result: none needed" >&5
4455 > $as_echo "none needed" >&6; } ;;
4456 >  xno)
4457 >    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4458 > $as_echo "unsupported" >&6; } ;;
4459 >  *)
4460 >    CC="$CC $ac_cv_prog_cc_c89"
4461 >    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4462 > $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4463 > esac
4464 >
4465 >
4466 > ac_ext=c
4467 > ac_cpp='$CPP $CPPFLAGS'
4468 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4469 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4470 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
4471 >
4472 > ac_ext=${ac_fc_srcext-f}
4473 > ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
4474 > ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
4475 > ac_compiler_gnu=$ac_cv_fc_compiler_gnu
4476 > if test -n "$ac_tool_prefix"; then
4477 >  for ac_prog in $FC $ac_cv_prog_acx_mpi_mpif90 ifort ifc pathf95 pgf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort
4478 >  do
4479 >    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4480 > set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4481 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4482 > $as_echo_n "checking for $ac_word... " >&6; }
4483 > if test "${ac_cv_prog_FC+set}" = set; then
4484 >  $as_echo_n "(cached) " >&6
4485 > else
4486 >  if test -n "$FC"; then
4487 >  ac_cv_prog_FC="$FC" # Let the user override the test.
4488 > else
4489 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 > for as_dir in $PATH
4491 > do
4492 >  IFS=$as_save_IFS
4493 >  test -z "$as_dir" && as_dir=.
4494 >  for ac_exec_ext in '' $ac_executable_extensions; do
4495 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4496 >    ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
4497 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4498 >    break 2
4499 >  fi
4500 > done
4501 > done
4502 > IFS=$as_save_IFS
4503 >
4504 > fi
4505 > fi
4506 > FC=$ac_cv_prog_FC
4507 > if test -n "$FC"; then
4508 >  { $as_echo "$as_me:$LINENO: result: $FC" >&5
4509 > $as_echo "$FC" >&6; }
4510 > else
4511 >  { $as_echo "$as_me:$LINENO: result: no" >&5
4512 > $as_echo "no" >&6; }
4513 > fi
4514 >
4515 >
4516 >    test -n "$FC" && break
4517 >  done
4518 > fi
4519 > if test -z "$FC"; then
4520 >  ac_ct_FC=$FC
4521 >  for ac_prog in $FC $ac_cv_prog_acx_mpi_mpif90 ifort ifc pathf95 pgf95 xlf95 lf95 epcf90 pathf90 xlf90 f95 f90 gfortran g95 fort
4522 > do
4523 >  # Extract the first word of "$ac_prog", so it can be a program name with args.
4524 > set dummy $ac_prog; ac_word=$2
4525 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4526 > $as_echo_n "checking for $ac_word... " >&6; }
4527 > if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
4528 >  $as_echo_n "(cached) " >&6
4529 > else
4530 >  if test -n "$ac_ct_FC"; then
4531 >  ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
4532 > else
4533 > as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4534 > for as_dir in $PATH
4535 > do
4536 >  IFS=$as_save_IFS
4537 >  test -z "$as_dir" && as_dir=.
4538 >  for ac_exec_ext in '' $ac_executable_extensions; do
4539 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4540 >    ac_cv_prog_ac_ct_FC="$ac_prog"
4541 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4542 >    break 2
4543 >  fi
4544 > done
4545 > done
4546 > IFS=$as_save_IFS
4547 >
4548 > fi
4549 > fi
4550 > ac_ct_FC=$ac_cv_prog_ac_ct_FC
4551 > if test -n "$ac_ct_FC"; then
4552 >  { $as_echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
4553 > $as_echo "$ac_ct_FC" >&6; }
4554 > else
4555 >  { $as_echo "$as_me:$LINENO: result: no" >&5
4556 > $as_echo "no" >&6; }
4557 > fi
4558 >
4559 >
4560 >  test -n "$ac_ct_FC" && break
4561 > done
4562 >
4563 >  if test "x$ac_ct_FC" = x; then
4564 >    FC=""
4565 >  else
4566 >    case $cross_compiling:$ac_tool_warned in
4567 > yes:)
4568 > { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4569 > whose name does not start with the host triplet.  If you think this
4570 > configuration is useful to you, please write to autoconf@gnu.org." >&5
4571 > $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4572 > whose name does not start with the host triplet.  If you think this
4573 > configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4574 > ac_tool_warned=yes ;;
4575 > esac
4576 >    FC=$ac_ct_FC
4577 >  fi
4578 > fi
4579 >
4580 >
4581 > # Provide some information about the compiler.
4582 > $as_echo "$as_me:$LINENO: checking for Fortran compiler version" >&5
4583 > set X $ac_compile
4584 > ac_compiler=$2
4585 > { (ac_try="$ac_compiler --version >&5"
4586 > case "(($ac_try" in
4587 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4588 >  *) ac_try_echo=$ac_try;;
4589 > esac
4590 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4591 > $as_echo "$ac_try_echo") >&5
4592 >  (eval "$ac_compiler --version >&5") 2>&5
4593 >  ac_status=$?
4594 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595    (exit $ac_status); }
4596 + { (ac_try="$ac_compiler -v >&5"
4597 + case "(($ac_try" in
4598 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4599 +  *) ac_try_echo=$ac_try;;
4600 + esac
4601 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4602 + $as_echo "$ac_try_echo") >&5
4603 +  (eval "$ac_compiler -v >&5") 2>&5
4604 +  ac_status=$?
4605 +  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4606 +  (exit $ac_status); }
4607 + { (ac_try="$ac_compiler -V >&5"
4608 + case "(($ac_try" in
4609 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4610 +  *) ac_try_echo=$ac_try;;
4611 + esac
4612 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4613 + $as_echo "$ac_try_echo") >&5
4614 +  (eval "$ac_compiler -V >&5") 2>&5
4615 +  ac_status=$?
4616 +  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617 +  (exit $ac_status); }
4618   rm -f a.out
4619  
4620   # If we don't use `.F' as extension, the preprocessor is not run on the
4621   # input file.  (Note that this only needs to work for GNU compilers.)
4622   ac_save_ext=$ac_ext
4623   ac_ext=F
4624 < echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4625 < echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
4624 > { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
4625 > $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
4626   if test "${ac_cv_fc_compiler_gnu+set}" = set; then
4627 <  echo $ECHO_N "(cached) $ECHO_C" >&6
4627 >  $as_echo_n "(cached) " >&6
4628   else
4629    cat >conftest.$ac_ext <<_ACEOF
4630        program main
# Line 2848 | Line 4635 | rm -f conftest.$ac_objext
4635        end
4636   _ACEOF
4637   rm -f conftest.$ac_objext
4638 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4639 <  (eval $ac_compile) 2>conftest.er1
4638 > if { (ac_try="$ac_compile"
4639 > case "(($ac_try" in
4640 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4641 >  *) ac_try_echo=$ac_try;;
4642 > esac
4643 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4644 > $as_echo "$ac_try_echo") >&5
4645 >  (eval "$ac_compile") 2>conftest.er1
4646    ac_status=$?
4647    grep -v '^ *+' conftest.er1 >conftest.err
4648    rm -f conftest.er1
4649    cat conftest.err >&5
4650 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4651 <  (exit $ac_status); } &&
4652 <         { ac_try='test -z "$ac_fc_werror_flag"
4653 <                         || test ! -s conftest.err'
4654 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2862 <  (eval $ac_try) 2>&5
2863 <  ac_status=$?
2864 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 <  (exit $ac_status); }; } &&
2866 <         { ac_try='test -s conftest.$ac_objext'
2867 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2868 <  (eval $ac_try) 2>&5
2869 <  ac_status=$?
2870 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871 <  (exit $ac_status); }; }; then
4650 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4651 >  (exit $ac_status); } && {
4652 >         test -z "$ac_fc_werror_flag" ||
4653 >         test ! -s conftest.err
4654 >       } && test -s conftest.$ac_objext; then
4655    ac_compiler_gnu=yes
4656   else
4657 <  echo "$as_me: failed program was:" >&5
4657 >  $as_echo "$as_me: failed program was:" >&5
4658   sed 's/^/| /' conftest.$ac_ext >&5
4659  
4660 < ac_compiler_gnu=no
4660 >        ac_compiler_gnu=no
4661   fi
4662 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4662 >
4663 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4664   ac_cv_fc_compiler_gnu=$ac_compiler_gnu
4665  
4666   fi
4667 < echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4668 < echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
4667 > { $as_echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
4668 > $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
4669   ac_ext=$ac_save_ext
4670   ac_test_FFLAGS=${FCFLAGS+set}
4671   ac_save_FFLAGS=$FCFLAGS
4672   FCFLAGS=
4673 < echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4674 < echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
4673 > { $as_echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
4674 > $as_echo_n "checking whether $FC accepts -g... " >&6; }
4675   if test "${ac_cv_prog_fc_g+set}" = set; then
4676 <  echo $ECHO_N "(cached) $ECHO_C" >&6
4676 >  $as_echo_n "(cached) " >&6
4677   else
4678    FCFLAGS=-g
4679   cat >conftest.$ac_ext <<_ACEOF
# Line 2898 | Line 4682 | rm -f conftest.$ac_objext
4682        end
4683   _ACEOF
4684   rm -f conftest.$ac_objext
4685 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4686 <  (eval $ac_compile) 2>conftest.er1
4685 > if { (ac_try="$ac_compile"
4686 > case "(($ac_try" in
4687 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4688 >  *) ac_try_echo=$ac_try;;
4689 > esac
4690 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4691 > $as_echo "$ac_try_echo") >&5
4692 >  (eval "$ac_compile") 2>conftest.er1
4693    ac_status=$?
4694    grep -v '^ *+' conftest.er1 >conftest.err
4695    rm -f conftest.er1
4696    cat conftest.err >&5
4697 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 <  (exit $ac_status); } &&
4699 <         { ac_try='test -z "$ac_fc_werror_flag"
4700 <                         || test ! -s conftest.err'
4701 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2912 <  (eval $ac_try) 2>&5
2913 <  ac_status=$?
2914 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 <  (exit $ac_status); }; } &&
2916 <         { ac_try='test -s conftest.$ac_objext'
2917 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2918 <  (eval $ac_try) 2>&5
2919 <  ac_status=$?
2920 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 <  (exit $ac_status); }; }; then
4697 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 >  (exit $ac_status); } && {
4699 >         test -z "$ac_fc_werror_flag" ||
4700 >         test ! -s conftest.err
4701 >       } && test -s conftest.$ac_objext; then
4702    ac_cv_prog_fc_g=yes
4703   else
4704 <  echo "$as_me: failed program was:" >&5
4704 >  $as_echo "$as_me: failed program was:" >&5
4705   sed 's/^/| /' conftest.$ac_ext >&5
4706  
4707 < ac_cv_prog_fc_g=no
4707 >        ac_cv_prog_fc_g=no
4708   fi
2929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4709  
4710 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4711 +
4712   fi
4713 < echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4714 < echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
4713 > { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
4714 > $as_echo "$ac_cv_prog_fc_g" >&6; }
4715   if test "$ac_test_FFLAGS" = set; then
4716    FCFLAGS=$ac_save_FFLAGS
4717   elif test $ac_cv_prog_fc_g = yes; then
# Line 2958 | Line 4739 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
4739   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4740   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4741   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4742 < echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4743 < echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4742 > { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4743 > $as_echo_n "checking how to run the C preprocessor... " >&6; }
4744   # On Suns, sometimes $CPP names a directory.
4745   if test -n "$CPP" && test -d "$CPP"; then
4746    CPP=
4747   fi
4748   if test -z "$CPP"; then
4749    if test "${ac_cv_prog_CPP+set}" = set; then
4750 <  echo $ECHO_N "(cached) $ECHO_C" >&6
4750 >  $as_echo_n "(cached) " >&6
4751   else
4752        # Double quotes because CPP needs to be expanded
4753      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
# Line 2993 | Line 4774 | _ACEOF
4774   #endif
4775                       Syntax error
4776   _ACEOF
4777 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4778 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4777 > if { (ac_try="$ac_cpp conftest.$ac_ext"
4778 > case "(($ac_try" in
4779 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4780 >  *) ac_try_echo=$ac_try;;
4781 > esac
4782 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4783 > $as_echo "$ac_try_echo") >&5
4784 >  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4785    ac_status=$?
4786    grep -v '^ *+' conftest.er1 >conftest.err
4787    rm -f conftest.er1
4788    cat conftest.err >&5
4789 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 <  (exit $ac_status); } >/dev/null; then
4791 <  if test -s conftest.err; then
4792 <    ac_cpp_err=$ac_c_preproc_warn_flag
4793 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3007 <  else
3008 <    ac_cpp_err=
3009 <  fi
3010 < else
3011 <  ac_cpp_err=yes
3012 < fi
3013 < if test -z "$ac_cpp_err"; then
4789 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 >  (exit $ac_status); } >/dev/null && {
4791 >         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4792 >         test ! -s conftest.err
4793 >       }; then
4794    :
4795   else
4796 <  echo "$as_me: failed program was:" >&5
4796 >  $as_echo "$as_me: failed program was:" >&5
4797   sed 's/^/| /' conftest.$ac_ext >&5
4798  
4799    # Broken: fails on valid input.
4800   continue
4801   fi
4802 +
4803   rm -f conftest.err conftest.$ac_ext
4804  
4805 <  # OK, works on sane cases.  Now check whether non-existent headers
4805 >  # OK, works on sane cases.  Now check whether nonexistent headers
4806    # can be detected and how.
4807    cat >conftest.$ac_ext <<_ACEOF
4808   /* confdefs.h.  */
# Line 3031 | Line 4812 | _ACEOF
4812   /* end confdefs.h.  */
4813   #include <ac_nonexistent.h>
4814   _ACEOF
4815 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4816 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4815 > if { (ac_try="$ac_cpp conftest.$ac_ext"
4816 > case "(($ac_try" in
4817 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4818 >  *) ac_try_echo=$ac_try;;
4819 > esac
4820 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4821 > $as_echo "$ac_try_echo") >&5
4822 >  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4823    ac_status=$?
4824    grep -v '^ *+' conftest.er1 >conftest.err
4825    rm -f conftest.er1
4826    cat conftest.err >&5
4827 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 <  (exit $ac_status); } >/dev/null; then
4829 <  if test -s conftest.err; then
4830 <    ac_cpp_err=$ac_c_preproc_warn_flag
4831 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3045 <  else
3046 <    ac_cpp_err=
3047 <  fi
3048 < else
3049 <  ac_cpp_err=yes
3050 < fi
3051 < if test -z "$ac_cpp_err"; then
4827 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 >  (exit $ac_status); } >/dev/null && {
4829 >         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4830 >         test ! -s conftest.err
4831 >       }; then
4832    # Broken: success on invalid input.
4833   continue
4834   else
4835 <  echo "$as_me: failed program was:" >&5
4835 >  $as_echo "$as_me: failed program was:" >&5
4836   sed 's/^/| /' conftest.$ac_ext >&5
4837  
4838    # Passes both tests.
4839   ac_preproc_ok=:
4840   break
4841   fi
4842 +
4843   rm -f conftest.err conftest.$ac_ext
4844  
4845   done
# Line 3076 | Line 4857 | fi
4857   else
4858    ac_cv_prog_CPP=$CPP
4859   fi
4860 < echo "$as_me:$LINENO: result: $CPP" >&5
4861 < echo "${ECHO_T}$CPP" >&6
4860 > { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4861 > $as_echo "$CPP" >&6; }
4862   ac_preproc_ok=false
4863   for ac_c_preproc_warn_flag in '' yes
4864   do
# Line 3100 | Line 4881 | _ACEOF
4881   #endif
4882                       Syntax error
4883   _ACEOF
4884 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4885 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4884 > if { (ac_try="$ac_cpp conftest.$ac_ext"
4885 > case "(($ac_try" in
4886 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4887 >  *) ac_try_echo=$ac_try;;
4888 > esac
4889 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4890 > $as_echo "$ac_try_echo") >&5
4891 >  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4892    ac_status=$?
4893    grep -v '^ *+' conftest.er1 >conftest.err
4894    rm -f conftest.er1
4895    cat conftest.err >&5
4896 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897 <  (exit $ac_status); } >/dev/null; then
4898 <  if test -s conftest.err; then
4899 <    ac_cpp_err=$ac_c_preproc_warn_flag
4900 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3114 <  else
3115 <    ac_cpp_err=
3116 <  fi
3117 < else
3118 <  ac_cpp_err=yes
3119 < fi
3120 < if test -z "$ac_cpp_err"; then
4896 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897 >  (exit $ac_status); } >/dev/null && {
4898 >         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4899 >         test ! -s conftest.err
4900 >       }; then
4901    :
4902   else
4903 <  echo "$as_me: failed program was:" >&5
4903 >  $as_echo "$as_me: failed program was:" >&5
4904   sed 's/^/| /' conftest.$ac_ext >&5
4905  
4906    # Broken: fails on valid input.
4907   continue
4908   fi
4909 +
4910   rm -f conftest.err conftest.$ac_ext
4911  
4912 <  # OK, works on sane cases.  Now check whether non-existent headers
4912 >  # OK, works on sane cases.  Now check whether nonexistent headers
4913    # can be detected and how.
4914    cat >conftest.$ac_ext <<_ACEOF
4915   /* confdefs.h.  */
# Line 3138 | Line 4919 | _ACEOF
4919   /* end confdefs.h.  */
4920   #include <ac_nonexistent.h>
4921   _ACEOF
4922 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4923 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4922 > if { (ac_try="$ac_cpp conftest.$ac_ext"
4923 > case "(($ac_try" in
4924 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4925 >  *) ac_try_echo=$ac_try;;
4926 > esac
4927 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4928 > $as_echo "$ac_try_echo") >&5
4929 >  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4930    ac_status=$?
4931    grep -v '^ *+' conftest.er1 >conftest.err
4932    rm -f conftest.er1
4933    cat conftest.err >&5
4934 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 <  (exit $ac_status); } >/dev/null; then
4936 <  if test -s conftest.err; then
4937 <    ac_cpp_err=$ac_c_preproc_warn_flag
4938 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3152 <  else
3153 <    ac_cpp_err=
3154 <  fi
3155 < else
3156 <  ac_cpp_err=yes
3157 < fi
3158 < if test -z "$ac_cpp_err"; then
4934 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 >  (exit $ac_status); } >/dev/null && {
4936 >         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4937 >         test ! -s conftest.err
4938 >       }; then
4939    # Broken: success on invalid input.
4940   continue
4941   else
4942 <  echo "$as_me: failed program was:" >&5
4942 >  $as_echo "$as_me: failed program was:" >&5
4943   sed 's/^/| /' conftest.$ac_ext >&5
4944  
4945    # Passes both tests.
4946   ac_preproc_ok=:
4947   break
4948   fi
4949 +
4950   rm -f conftest.err conftest.$ac_ext
4951  
4952   done
# Line 3174 | Line 4955 | else
4955   if $ac_preproc_ok; then
4956    :
4957   else
4958 <  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4958 >  { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4959   See \`config.log' for more details." >&5
4960 < echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4960 > $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4961   See \`config.log' for more details." >&2;}
4962     { (exit 1); exit 1; }; }
4963   fi
# Line 3187 | Line 4968 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
4968   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4969   ac_compiler_gnu=$ac_cv_c_compiler_gnu
4970  
4971 < echo "$as_me:$LINENO: checking for egrep" >&5
4972 < echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4973 < if test "${ac_cv_prog_egrep+set}" = set; then
4974 <  echo $ECHO_N "(cached) $ECHO_C" >&6
4971 > { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4972 > $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4973 > if test "${ac_cv_path_GREP+set}" = set; then
4974 >  $as_echo_n "(cached) " >&6
4975   else
4976 <  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4977 <    then ac_cv_prog_egrep='grep -E'
4978 <    else ac_cv_prog_egrep='egrep'
4976 >  if test -z "$GREP"; then
4977 >  ac_path_GREP_found=false
4978 >  # Loop through the user's path and test for each of PROGNAME-LIST
4979 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4980 > for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4981 > do
4982 >  IFS=$as_save_IFS
4983 >  test -z "$as_dir" && as_dir=.
4984 >  for ac_prog in grep ggrep; do
4985 >    for ac_exec_ext in '' $ac_executable_extensions; do
4986 >      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4987 >      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4988 > # Check for GNU ac_path_GREP and select it if it is found.
4989 >  # Check for GNU $ac_path_GREP
4990 > case `"$ac_path_GREP" --version 2>&1` in
4991 > *GNU*)
4992 >  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4993 > *)
4994 >  ac_count=0
4995 >  $as_echo_n 0123456789 >"conftest.in"
4996 >  while :
4997 >  do
4998 >    cat "conftest.in" "conftest.in" >"conftest.tmp"
4999 >    mv "conftest.tmp" "conftest.in"
5000 >    cp "conftest.in" "conftest.nl"
5001 >    $as_echo 'GREP' >> "conftest.nl"
5002 >    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5003 >    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5004 >    ac_count=`expr $ac_count + 1`
5005 >    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5006 >      # Best one so far, save it but keep looking for a better one
5007 >      ac_cv_path_GREP="$ac_path_GREP"
5008 >      ac_path_GREP_max=$ac_count
5009      fi
5010 +    # 10*(2^10) chars as input seems more than enough
5011 +    test $ac_count -gt 10 && break
5012 +  done
5013 +  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5014 + esac
5015 +
5016 +      $ac_path_GREP_found && break 3
5017 +    done
5018 +  done
5019 + done
5020 + IFS=$as_save_IFS
5021 +  if test -z "$ac_cv_path_GREP"; then
5022 +    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5023 + $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5024 +   { (exit 1); exit 1; }; }
5025 +  fi
5026 + else
5027 +  ac_cv_path_GREP=$GREP
5028   fi
3200 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3201 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3202 EGREP=$ac_cv_prog_egrep
5029  
5030 + fi
5031 + { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5032 + $as_echo "$ac_cv_path_GREP" >&6; }
5033 + GREP="$ac_cv_path_GREP"
5034  
5035 < echo "$as_me:$LINENO: checking whether ln -s works" >&5
5036 < echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5035 >
5036 > { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5037 > $as_echo_n "checking for egrep... " >&6; }
5038 > if test "${ac_cv_path_EGREP+set}" = set; then
5039 >  $as_echo_n "(cached) " >&6
5040 > else
5041 >  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5042 >   then ac_cv_path_EGREP="$GREP -E"
5043 >   else
5044 >     if test -z "$EGREP"; then
5045 >  ac_path_EGREP_found=false
5046 >  # Loop through the user's path and test for each of PROGNAME-LIST
5047 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5048 > for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5049 > do
5050 >  IFS=$as_save_IFS
5051 >  test -z "$as_dir" && as_dir=.
5052 >  for ac_prog in egrep; do
5053 >    for ac_exec_ext in '' $ac_executable_extensions; do
5054 >      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5055 >      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5056 > # Check for GNU ac_path_EGREP and select it if it is found.
5057 >  # Check for GNU $ac_path_EGREP
5058 > case `"$ac_path_EGREP" --version 2>&1` in
5059 > *GNU*)
5060 >  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5061 > *)
5062 >  ac_count=0
5063 >  $as_echo_n 0123456789 >"conftest.in"
5064 >  while :
5065 >  do
5066 >    cat "conftest.in" "conftest.in" >"conftest.tmp"
5067 >    mv "conftest.tmp" "conftest.in"
5068 >    cp "conftest.in" "conftest.nl"
5069 >    $as_echo 'EGREP' >> "conftest.nl"
5070 >    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5071 >    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5072 >    ac_count=`expr $ac_count + 1`
5073 >    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5074 >      # Best one so far, save it but keep looking for a better one
5075 >      ac_cv_path_EGREP="$ac_path_EGREP"
5076 >      ac_path_EGREP_max=$ac_count
5077 >    fi
5078 >    # 10*(2^10) chars as input seems more than enough
5079 >    test $ac_count -gt 10 && break
5080 >  done
5081 >  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5082 > esac
5083 >
5084 >      $ac_path_EGREP_found && break 3
5085 >    done
5086 >  done
5087 > done
5088 > IFS=$as_save_IFS
5089 >  if test -z "$ac_cv_path_EGREP"; then
5090 >    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5091 > $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5092 >   { (exit 1); exit 1; }; }
5093 >  fi
5094 > else
5095 >  ac_cv_path_EGREP=$EGREP
5096 > fi
5097 >
5098 >   fi
5099 > fi
5100 > { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5101 > $as_echo "$ac_cv_path_EGREP" >&6; }
5102 > EGREP="$ac_cv_path_EGREP"
5103 >
5104 >
5105 > { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5106 > $as_echo_n "checking whether ln -s works... " >&6; }
5107   LN_S=$as_ln_s
5108   if test "$LN_S" = "ln -s"; then
5109 <  echo "$as_me:$LINENO: result: yes" >&5
5110 < echo "${ECHO_T}yes" >&6
5109 >  { $as_echo "$as_me:$LINENO: result: yes" >&5
5110 > $as_echo "yes" >&6; }
5111   else
5112 <  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5113 < echo "${ECHO_T}no, using $LN_S" >&6
5112 >  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5113 > $as_echo "no, using $LN_S" >&6; }
5114   fi
5115  
5116 < echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5117 < echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
5118 < set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
5119 < if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
5120 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5116 > { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5117 > $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5118 > set x ${MAKE-make}
5119 > ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5120 > if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
5121 >  $as_echo_n "(cached) " >&6
5122   else
5123    cat >conftest.make <<\_ACEOF
5124 + SHELL = /bin/sh
5125   all:
5126 <        @echo 'ac_maketemp="$(MAKE)"'
5126 >        @echo '@@@%%%=$(MAKE)=@@@%%%'
5127   _ACEOF
5128   # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5129 < eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
5130 < if test -n "$ac_maketemp"; then
5131 <  eval ac_cv_prog_make_${ac_make}_set=yes
5132 < else
5133 <  eval ac_cv_prog_make_${ac_make}_set=no
5134 < fi
5129 > case `${MAKE-make} -f conftest.make 2>/dev/null` in
5130 >  *@@@%%%=?*=@@@%%%*)
5131 >    eval ac_cv_prog_make_${ac_make}_set=yes;;
5132 >  *)
5133 >    eval ac_cv_prog_make_${ac_make}_set=no;;
5134 > esac
5135   rm -f conftest.make
5136   fi
5137 < if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
5138 <  echo "$as_me:$LINENO: result: yes" >&5
5139 < echo "${ECHO_T}yes" >&6
5137 > if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5138 >  { $as_echo "$as_me:$LINENO: result: yes" >&5
5139 > $as_echo "yes" >&6; }
5140    SET_MAKE=
5141   else
5142 <  echo "$as_me:$LINENO: result: no" >&5
5143 < echo "${ECHO_T}no" >&6
5142 >  { $as_echo "$as_me:$LINENO: result: no" >&5
5143 > $as_echo "no" >&6; }
5144    SET_MAKE="MAKE=${MAKE-make}"
5145   fi
5146  
5147   if test -n "$ac_tool_prefix"; then
5148    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5149   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5150 < echo "$as_me:$LINENO: checking for $ac_word" >&5
5151 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5150 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5151 > $as_echo_n "checking for $ac_word... " >&6; }
5152   if test "${ac_cv_prog_RANLIB+set}" = set; then
5153 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5153 >  $as_echo_n "(cached) " >&6
5154   else
5155    if test -n "$RANLIB"; then
5156    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
# Line 3259 | Line 5161 | do
5161    IFS=$as_save_IFS
5162    test -z "$as_dir" && as_dir=.
5163    for ac_exec_ext in '' $ac_executable_extensions; do
5164 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5164 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5165      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5166 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5166 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5167      break 2
5168    fi
5169   done
5170   done
5171 + IFS=$as_save_IFS
5172  
5173   fi
5174   fi
5175   RANLIB=$ac_cv_prog_RANLIB
5176   if test -n "$RANLIB"; then
5177 <  echo "$as_me:$LINENO: result: $RANLIB" >&5
5178 < echo "${ECHO_T}$RANLIB" >&6
5177 >  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5178 > $as_echo "$RANLIB" >&6; }
5179   else
5180 <  echo "$as_me:$LINENO: result: no" >&5
5181 < echo "${ECHO_T}no" >&6
5180 >  { $as_echo "$as_me:$LINENO: result: no" >&5
5181 > $as_echo "no" >&6; }
5182   fi
5183  
5184 +
5185   fi
5186   if test -z "$ac_cv_prog_RANLIB"; then
5187    ac_ct_RANLIB=$RANLIB
5188    # Extract the first word of "ranlib", so it can be a program name with args.
5189   set dummy ranlib; ac_word=$2
5190 < echo "$as_me:$LINENO: checking for $ac_word" >&5
5191 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5190 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5191 > $as_echo_n "checking for $ac_word... " >&6; }
5192   if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5193 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5193 >  $as_echo_n "(cached) " >&6
5194   else
5195    if test -n "$ac_ct_RANLIB"; then
5196    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
# Line 3297 | Line 5201 | do
5201    IFS=$as_save_IFS
5202    test -z "$as_dir" && as_dir=.
5203    for ac_exec_ext in '' $ac_executable_extensions; do
5204 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5204 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5205      ac_cv_prog_ac_ct_RANLIB="ranlib"
5206 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5206 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5207      break 2
5208    fi
5209   done
5210   done
5211 + IFS=$as_save_IFS
5212  
3308  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5213   fi
5214   fi
5215   ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5216   if test -n "$ac_ct_RANLIB"; then
5217 <  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5218 < echo "${ECHO_T}$ac_ct_RANLIB" >&6
5217 >  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5218 > $as_echo "$ac_ct_RANLIB" >&6; }
5219   else
5220 <  echo "$as_me:$LINENO: result: no" >&5
5221 < echo "${ECHO_T}no" >&6
5220 >  { $as_echo "$as_me:$LINENO: result: no" >&5
5221 > $as_echo "no" >&6; }
5222   fi
5223  
5224 <  RANLIB=$ac_ct_RANLIB
5224 >  if test "x$ac_ct_RANLIB" = x; then
5225 >    RANLIB=":"
5226 >  else
5227 >    case $cross_compiling:$ac_tool_warned in
5228 > yes:)
5229 > { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5230 > whose name does not start with the host triplet.  If you think this
5231 > configuration is useful to you, please write to autoconf@gnu.org." >&5
5232 > $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5233 > whose name does not start with the host triplet.  If you think this
5234 > configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5235 > ac_tool_warned=yes ;;
5236 > esac
5237 >    RANLIB=$ac_ct_RANLIB
5238 >  fi
5239   else
5240    RANLIB="$ac_cv_prog_RANLIB"
5241   fi
# Line 3325 | Line 5243 | set dummy perl; ac_word=$2
5243  
5244     # Extract the first word of "perl", so it can be a program name with args.
5245   set dummy perl; ac_word=$2
5246 < echo "$as_me:$LINENO: checking for $ac_word" >&5
5247 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5246 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5247 > $as_echo_n "checking for $ac_word... " >&6; }
5248   if test "${ac_cv_path_PERLINTERP+set}" = set; then
5249 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5249 >  $as_echo_n "(cached) " >&6
5250   else
5251    case $PERLINTERP in
5252    [\\/]* | ?:[\\/]*)
# Line 3341 | Line 5259 | do
5259    IFS=$as_save_IFS
5260    test -z "$as_dir" && as_dir=.
5261    for ac_exec_ext in '' $ac_executable_extensions; do
5262 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5262 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5263      ac_cv_path_PERLINTERP="$as_dir/$ac_word$ac_exec_ext"
5264 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5264 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5265      break 2
5266    fi
5267   done
5268   done
5269 + IFS=$as_save_IFS
5270  
5271    test -z "$ac_cv_path_PERLINTERP" && ac_cv_path_PERLINTERP="perl"
5272    ;;
5273   esac
5274   fi
5275   PERLINTERP=$ac_cv_path_PERLINTERP
3357
5276   if test -n "$PERLINTERP"; then
5277 <  echo "$as_me:$LINENO: result: $PERLINTERP" >&5
5278 < echo "${ECHO_T}$PERLINTERP" >&6
5277 >  { $as_echo "$as_me:$LINENO: result: $PERLINTERP" >&5
5278 > $as_echo "$PERLINTERP" >&6; }
5279   else
5280 <  echo "$as_me:$LINENO: result: no" >&5
5281 < echo "${ECHO_T}no" >&6
5280 >  { $as_echo "$as_me:$LINENO: result: no" >&5
5281 > $as_echo "no" >&6; }
5282   fi
5283  
5284 +
5285     ac_cv_path_perlinterp="$PERLINTERP"
5286     _sHpB='#!'
5287  
5288  
5289 < # Check whether --with-perl-shebang or --without-perl-shebang was given.
5289 > # Check whether --with-perl-shebang was given.
5290   if test "${with_perl_shebang+set}" = set; then
5291 <  withval="$with_perl_shebang"
3373 <  opt_perl_shebang="$withval"
5291 >  withval=$with_perl_shebang; opt_perl_shebang="$withval"
5292   else
5293                  opt_perl_shebang="not_set"
5294 < fi;
5295 <   echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5
5296 < echo $ECHO_N "checking whether explicit instead of detected sharpbang is to be used... $ECHO_C" >&6
5294 > fi
5295 >
5296 >   { $as_echo "$as_me:$LINENO: checking whether explicit instead of detected sharpbang is to be used" >&5
5297 > $as_echo_n "checking whether explicit instead of detected sharpbang is to be used... " >&6; }
5298   if test "${ax_cv_opt_perl_shebang+set}" = set; then
5299 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5299 >  $as_echo_n "(cached) " >&6
5300   else
5301     case "$opt_perl_shebang" in
5302                        not_set  ) ax_cv_opt_perl_shebang=''
# Line 3387 | Line 5306 | fi
5306                      esac
5307  
5308   fi
5309 < echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5
5310 < echo "${ECHO_T}$ax_cv_opt_perl_shebang" >&6
5309 > { $as_echo "$as_me:$LINENO: result: $ax_cv_opt_perl_shebang" >&5
5310 > $as_echo "$ax_cv_opt_perl_shebang" >&6; }
5311     if test "A$ax_cv_opt_perl_shebang" != "A"
5312       then
5313         ac_cv_sys_kernshrpbang_perl="$ax_cv_opt_perl_shebang"
5314         PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
5315 <              { echo "$as_me:$LINENO: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&5
5316 < echo "$as_me: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&6;}
5315 >              { $as_echo "$as_me:$LINENO: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&5
5316 > $as_echo "$as_me: OK - PERL_SHEBANG is $_sHpB$PERL_SHEBANG." >&6;}
5317  
5318   # Automatic detection of sharpbang formula starts here
5319       else
5320     _somian_shbangperl=`$PERLINTERP -V:startperl`
5321     negclass="[^']"; # must leave this comment:  m4 will remove the outer brackets for us, heheh
5322 <   echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5
5323 < echo $ECHO_N "checking for kernel sharpbang invocation to start perl... $ECHO_C" >&6
5322 >   { $as_echo "$as_me:$LINENO: checking for kernel sharpbang invocation to start perl" >&5
5323 > $as_echo_n "checking for kernel sharpbang invocation to start perl... " >&6; }
5324   if test "${ac_cv_sys_kernshrpbang_perl+set}" = set; then
5325 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5325 >  $as_echo_n "(cached) " >&6
5326   else
5327    _somian_kspb_perl=`echo "$_somian_shbangperl" | sed -ne"s|.*='\($negclass*\)';$|\1|p"`
5328          if test "x$_somian_kspb_perl" == x
# Line 3419 | Line 5338 | fi
5338          fi
5339  
5340   fi
5341 < echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5
5342 < echo "${ECHO_T}$ac_cv_sys_kernshrpbang_perl" >&6
5341 > { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_kernshrpbang_perl" >&5
5342 > $as_echo "$ac_cv_sys_kernshrpbang_perl" >&6; }
5343   # The above prints Checking ... result message to user.
5344     PERL_SHEBANG="$ac_cv_sys_kernshrpbang_perl"
5345  
5346      if test A${_somian_ksbp_warn_empty+set} == Aset
5347 <      then   { echo "$as_me:$LINENO: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&5
5348 < echo "$as_me: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&2;}
5347 >      then   { $as_echo "$as_me:$LINENO: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&5
5348 > $as_echo "$as_me: WARNING: In last check, doing $PERLINTERP -V:startperl yielded empty result! That should not happen." >&2;}
5349      fi
5350   # Inform user after printing result value
5351      if test A${_somian_ksbp_warn_defau+set} == Aset
5352 <      then { echo "$as_me:$LINENO: Maybe Not good -" >&5
5353 < echo "$as_me: Maybe Not good -" >&6;}
5354 <           { echo "$as_me:$LINENO: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&5
5355 < echo "$as_me: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&2;}
5356 <      else { echo "$as_me:$LINENO: OK Good result - " >&5
5357 < echo "$as_me: OK Good result - " >&6;}
5358 <           { echo "$as_me:$LINENO: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&5
5359 < echo "$as_me: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&6;}
5352 >      then { $as_echo "$as_me:$LINENO: Maybe Not good -" >&5
5353 > $as_echo "$as_me: Maybe Not good -" >&6;}
5354 >           { $as_echo "$as_me:$LINENO: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&5
5355 > $as_echo "$as_me: WARNING: In last check perl's Config query did not work so we bunted: $_sHpB$PERLINTERP" >&2;}
5356 >      else { $as_echo "$as_me:$LINENO: OK Good result - " >&5
5357 > $as_echo "$as_me: OK Good result - " >&6;}
5358 >           { $as_echo "$as_me:$LINENO: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&5
5359 > $as_echo "$as_me: In last check we got a proper-looking answer from perl's Config: $_somian_shbangperl" >&6;}
5360      fi
5361    fi
5362  
# Line 3454 | Line 5373 | echo "$as_me: In last check we got a proper-looking an
5373   # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5374   # OS/2's system install, which has a completely different semantic
5375   # ./install, which can be erroneously created by make from ./install.sh.
5376 < echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5377 < echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5376 > # Reject install programs that cannot install multiple files.
5377 > { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5378 > $as_echo_n "checking for a BSD-compatible install... " >&6; }
5379   if test -z "$INSTALL"; then
5380   if test "${ac_cv_path_install+set}" = set; then
5381 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5381 >  $as_echo_n "(cached) " >&6
5382   else
5383    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5384   for as_dir in $PATH
# Line 3477 | Line 5397 | case $as_dir/ in
5397      # by default.
5398      for ac_prog in ginstall scoinst install; do
5399        for ac_exec_ext in '' $ac_executable_extensions; do
5400 <        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5400 >        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5401            if test $ac_prog = install &&
5402              grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5403              # AIX install.  It has an incompatible calling convention.
# Line 3487 | Line 5407 | case $as_dir/ in
5407              # program-specific install script used by HP pwplus--don't use.
5408              :
5409            else
5410 <            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5411 <            break 3
5410 >            rm -rf conftest.one conftest.two conftest.dir
5411 >            echo one > conftest.one
5412 >            echo two > conftest.two
5413 >            mkdir conftest.dir
5414 >            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5415 >              test -s conftest.one && test -s conftest.two &&
5416 >              test -s conftest.dir/conftest.one &&
5417 >              test -s conftest.dir/conftest.two
5418 >            then
5419 >              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5420 >              break 3
5421 >            fi
5422            fi
5423          fi
5424        done
5425      done
5426      ;;
5427   esac
5428 +
5429   done
5430 + IFS=$as_save_IFS
5431  
5432 + rm -rf conftest.one conftest.two conftest.dir
5433  
5434   fi
5435    if test "${ac_cv_path_install+set}" = set; then
5436      INSTALL=$ac_cv_path_install
5437    else
5438 <    # As a last resort, use the slow shell script.  We don't cache a
5439 <    # path for INSTALL within a source directory, because that will
5438 >    # As a last resort, use the slow shell script.  Don't cache a
5439 >    # value for INSTALL within a source directory, because that will
5440      # break other packages using the cache if that directory is
5441 <    # removed, or if the path is relative.
5441 >    # removed, or if the value is a relative name.
5442      INSTALL=$ac_install_sh
5443    fi
5444   fi
5445 < echo "$as_me:$LINENO: result: $INSTALL" >&5
5446 < echo "${ECHO_T}$INSTALL" >&6
5445 > { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
5446 > $as_echo "$INSTALL" >&6; }
5447  
5448   # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5449   # It thinks the first close brace ends the variable substitution.
# Line 3527 | Line 5460 | set dummy ar; ac_word=$2
5460   MKINSTALLDIRS=`pwd`/ac-tools/"shtool mkdir -p -f"
5461   # Extract the first word of "ar", so it can be a program name with args.
5462   set dummy ar; ac_word=$2
5463 < echo "$as_me:$LINENO: checking for $ac_word" >&5
5464 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5463 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5464 > $as_echo_n "checking for $ac_word... " >&6; }
5465   if test "${ac_cv_prog_AR+set}" = set; then
5466 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5466 >  $as_echo_n "(cached) " >&6
5467   else
5468    if test -n "$AR"; then
5469    ac_cv_prog_AR="$AR" # Let the user override the test.
# Line 3541 | Line 5474 | do
5474    IFS=$as_save_IFS
5475    test -z "$as_dir" && as_dir=.
5476    for ac_exec_ext in '' $ac_executable_extensions; do
5477 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5477 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5478      ac_cv_prog_AR="ar"
5479 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5479 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5480      break 2
5481    fi
5482   done
5483   done
5484 + IFS=$as_save_IFS
5485  
5486    test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="NONE"
5487   fi
5488   fi
5489   AR=$ac_cv_prog_AR
5490   if test -n "$AR"; then
5491 <  echo "$as_me:$LINENO: result: $AR" >&5
5492 < echo "${ECHO_T}$AR" >&6
5491 >  { $as_echo "$as_me:$LINENO: result: $AR" >&5
5492 > $as_echo "$AR" >&6; }
5493   else
5494 <  echo "$as_me:$LINENO: result: no" >&5
5495 < echo "${ECHO_T}no" >&6
5494 >  { $as_echo "$as_me:$LINENO: result: no" >&5
5495 > $as_echo "no" >&6; }
5496   fi
5497  
5498 +
5499   if test "$AR" = "NONE"; then
5500    cat >confcache <<\_ACEOF
5501   # This file is a shell script that caches the results of configure
# Line 3580 | Line 5515 | _ACEOF
5515  
5516   # The following way of writing the cache mishandles newlines in values,
5517   # but we know of no workaround that is simple, portable, and efficient.
5518 < # So, don't put newlines in cache variables' values.
5518 > # So, we kill variables containing newlines.
5519   # Ultrix sh set writes to stderr and can't be redirected directly,
5520   # and sets the high bit in the cache file unless we assign to the vars.
5521 < {
5521 > (
5522 >  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5523 >    eval ac_val=\$$ac_var
5524 >    case $ac_val in #(
5525 >    *${as_nl}*)
5526 >      case $ac_var in #(
5527 >      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5528 > $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5529 >      esac
5530 >      case $ac_var in #(
5531 >      _ | IFS | as_nl) ;; #(
5532 >      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5533 >      *) $as_unset $ac_var ;;
5534 >      esac ;;
5535 >    esac
5536 >  done
5537 >
5538    (set) 2>&1 |
5539 <    case `(ac_space=' '; set | grep ac_space) 2>&1` in
5540 <    *ac_space=\ *)
5539 >    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5540 >    *${as_nl}ac_space=\ *)
5541        # `set' does not quote correctly, so add quotes (double-quote
5542        # substitution turns \\\\ into \\, and sed turns \\ into \).
5543        sed -n \
5544          "s/'/'\\\\''/g;
5545            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5546 <      ;;
5546 >      ;; #(
5547      *)
5548        # `set' quotes correctly as required by POSIX, so do not add quotes.
5549 <      sed -n \
3599 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5549 >      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5550        ;;
5551 <    esac;
5552 < } |
5551 >    esac |
5552 >    sort
5553 > ) |
5554    sed '
5555 +     /^ac_cv_env_/b end
5556       t clear
5557 <     : clear
5557 >     :clear
5558       s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5559       t end
5560 <     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5561 <     : end' >>confcache
5562 < if diff $cache_file confcache >/dev/null 2>&1; then :; else
5563 <  if test -w $cache_file; then
5564 <    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5560 >     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5561 >     :end' >>confcache
5562 > if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5563 >  if test -w "$cache_file"; then
5564 >    test "x$cache_file" != "x/dev/null" &&
5565 >      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
5566 > $as_echo "$as_me: updating cache $cache_file" >&6;}
5567      cat confcache >$cache_file
5568    else
5569 <    echo "not updating unwritable cache $cache_file"
5569 >    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5570 > $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5571    fi
5572   fi
5573   rm -f confcache
# Line 3620 | Line 5575 | set dummy ps; ac_word=$2
5575   fi
5576   # Extract the first word of "ps", so it can be a program name with args.
5577   set dummy ps; ac_word=$2
5578 < echo "$as_me:$LINENO: checking for $ac_word" >&5
5579 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5578 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5579 > $as_echo_n "checking for $ac_word... " >&6; }
5580   if test "${ac_cv_path_PS+set}" = set; then
5581 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5581 >  $as_echo_n "(cached) " >&6
5582   else
5583    case $PS in
5584    [\\/]* | ?:[\\/]*)
# Line 3636 | Line 5591 | do
5591    IFS=$as_save_IFS
5592    test -z "$as_dir" && as_dir=.
5593    for ac_exec_ext in '' $ac_executable_extensions; do
5594 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5594 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5595      ac_cv_path_PS="$as_dir/$ac_word$ac_exec_ext"
5596 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5596 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5597      break 2
5598    fi
5599   done
5600   done
5601 + IFS=$as_save_IFS
5602  
5603    ;;
5604   esac
5605   fi
5606   PS=$ac_cv_path_PS
3651
5607   if test -n "$PS"; then
5608 <  echo "$as_me:$LINENO: result: $PS" >&5
5609 < echo "${ECHO_T}$PS" >&6
5608 >  { $as_echo "$as_me:$LINENO: result: $PS" >&5
5609 > $as_echo "$PS" >&6; }
5610   else
5611 <  echo "$as_me:$LINENO: result: no" >&5
5612 < echo "${ECHO_T}no" >&6
5611 >  { $as_echo "$as_me:$LINENO: result: no" >&5
5612 > $as_echo "no" >&6; }
5613   fi
5614  
5615 < echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5
5616 < echo $ECHO_N "checking for POSIX or BSD ps syntax... $ECHO_C" >&6
5615 >
5616 > { $as_echo "$as_me:$LINENO: checking for POSIX or BSD ps syntax" >&5
5617 > $as_echo_n "checking for POSIX or BSD ps syntax... " >&6; }
5618   if test "${ac_cv_prog_ps_syntax+set}" = set; then
5619 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5619 >  $as_echo_n "(cached) " >&6
5620   else
5621  
5622          if $PS ax -o rss > /dev/null 2>&1; then
# Line 3679 | Line 5635 | else
5635                  if test "$ac_cv_prog_ps_ef" = yes; then
5636                          ac_cv_prog_ps_syntax=POSIX
5637                  else
5638 <                        { { echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5
5639 < echo "$as_me: error: Could not determine ps syntax" >&2;}
5638 >                        { { $as_echo "$as_me:$LINENO: error: Could not determine ps syntax" >&5
5639 > $as_echo "$as_me: error: Could not determine ps syntax" >&2;}
5640     { (exit 1); exit 1; }; }
5641                  fi
5642          fi
5643  
5644   fi
5645 < echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5
5646 < echo "${ECHO_T}$ac_cv_prog_ps_syntax" >&6
5645 > { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_ps_syntax" >&5
5646 > $as_echo "$ac_cv_prog_ps_syntax" >&6; }
5647  
5648   cat >>confdefs.h <<_ACEOF
5649   #define PSCOMMAND $PS
# Line 3707 | Line 5663 | _ACEOF
5663   _ACEOF
5664  
5665     else
5666 <       { { echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5
5667 < echo "$as_me: error: Unknown ps syntax type!" >&2;}
5666 >       { { $as_echo "$as_me:$LINENO: error: Unknown ps syntax type!" >&5
5667 > $as_echo "$as_me: error: Unknown ps syntax type!" >&2;}
5668     { (exit 1); exit 1; }; }
5669     fi
5670   fi
5671  
5672 < ac_ext=${FC_SRCEXT-f}
5673 < ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
5674 < ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
5672 > ac_ext=${ac_fc_srcext-f}
5673 > ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
5674 > ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
5675   ac_compiler_gnu=$ac_cv_fc_compiler_gnu
5676  
5677  
5678 < echo "$as_me:$LINENO: checking for Fortran flag to compile .F90 files" >&5
5679 < echo $ECHO_N "checking for Fortran flag to compile .F90 files... $ECHO_C" >&6
5678 > ac_ext=${ac_fc_srcext-f}
5679 > ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
5680 > ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
5681 > ac_compiler_gnu=$ac_cv_fc_compiler_gnu
5682 > { $as_echo "$as_me:$LINENO: checking for Fortran flag to compile .F90 files" >&5
5683 > $as_echo_n "checking for Fortran flag to compile .F90 files... " >&6; }
5684   if test "${ac_cv_fc_srcext_F90+set}" = set; then
5685 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5685 >  $as_echo_n "(cached) " >&6
5686   else
5687    ac_ext=F90
5688 < ac_fc_srcext_FCFLAGS_SRCEXT_save=$FCFLAGS_SRCEXT
5689 < FCFLAGS_SRCEXT=""
5688 > ac_fcflags_srcext_save=$ac_fcflags_srcext
5689 > ac_fcflags_srcext=
5690   ac_cv_fc_srcext_F90=unknown
5691   for ac_flag in none -qsuffix=f=F90 -Tf; do
5692 <  test "x$ac_flag" != xnone && FCFLAGS_SRCEXT="$ac_flag"
5692 >  test "x$ac_flag" != xnone && ac_fcflags_srcext="$ac_flag"
5693    cat >conftest.$ac_ext <<_ACEOF
5694        program main
5695  
5696        end
5697   _ACEOF
5698   rm -f conftest.$ac_objext
5699 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5700 <  (eval $ac_compile) 2>conftest.er1
5699 > if { (ac_try="$ac_compile"
5700 > case "(($ac_try" in
5701 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5702 >  *) ac_try_echo=$ac_try;;
5703 > esac
5704 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5705 > $as_echo "$ac_try_echo") >&5
5706 >  (eval "$ac_compile") 2>conftest.er1
5707    ac_status=$?
5708    grep -v '^ *+' conftest.er1 >conftest.err
5709    rm -f conftest.er1
5710    cat conftest.err >&5
5711 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712 <  (exit $ac_status); } &&
5713 <         { ac_try='test -z "$ac_fc_werror_flag"
5714 <                         || test ! -s conftest.err'
5715 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3750 <  (eval $ac_try) 2>&5
3751 <  ac_status=$?
3752 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753 <  (exit $ac_status); }; } &&
3754 <         { ac_try='test -s conftest.$ac_objext'
3755 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3756 <  (eval $ac_try) 2>&5
3757 <  ac_status=$?
3758 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3759 <  (exit $ac_status); }; }; then
5711 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5712 >  (exit $ac_status); } && {
5713 >         test -z "$ac_fc_werror_flag" ||
5714 >         test ! -s conftest.err
5715 >       } && test -s conftest.$ac_objext; then
5716    ac_cv_fc_srcext_F90=$ac_flag; break
5717   else
5718 <  echo "$as_me: failed program was:" >&5
5718 >  $as_echo "$as_me: failed program was:" >&5
5719   sed 's/^/| /' conftest.$ac_ext >&5
5720  
5721 +
5722   fi
5723 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5723 >
5724 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5725   done
5726   rm -f conftest.$ac_objext conftest.F90
5727 < FCFLAGS_SRCEXT=$ac_fc_srcext_FCFLAGS_SRCEXT_save
5727 > ac_fcflags_srcext=$ac_fcflags_srcext_save
5728  
5729   fi
5730 < echo "$as_me:$LINENO: result: $ac_cv_fc_srcext_F90" >&5
5731 < echo "${ECHO_T}$ac_cv_fc_srcext_F90" >&6
5730 > { $as_echo "$as_me:$LINENO: result: $ac_cv_fc_srcext_F90" >&5
5731 > $as_echo "$ac_cv_fc_srcext_F90" >&6; }
5732   if test "x$ac_cv_fc_srcext_F90" = xunknown; then
5733 <  { { echo "$as_me:$LINENO: error: Fortran could not compile .F90 files" >&5
5734 < echo "$as_me: error: Fortran could not compile .F90 files" >&2;}
5733 >  { { $as_echo "$as_me:$LINENO: error: Fortran could not compile .F90 files" >&5
5734 > $as_echo "$as_me: error: Fortran could not compile .F90 files" >&2;}
5735     { (exit 1); exit 1; }; }
5736   else
5737 <  FC_SRCEXT=F90
5737 >  ac_fc_srcext=F90
5738    if test "x$ac_cv_fc_srcext_F90" = xnone; then
5739 <    FCFLAGS_SRCEXT=""
5739 >    ac_fcflags_srcext=""
5740      FCFLAGS_F90=""
5741    else
5742 <    FCFLAGS_SRCEXT=$ac_cv_fc_srcext_F90
5742 >    ac_fcflags_srcext=$ac_cv_fc_srcext_F90
5743      FCFLAGS_F90=$ac_cv_fc_srcext_F90
5744    fi
5745  
5746  
5747   fi
5748 + ac_ext=${ac_fc_srcext-f}
5749 + ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
5750 + ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
5751 + ac_compiler_gnu=$ac_cv_fc_compiler_gnu
5752  
5753  
5754  
# Line 3812 | Line 5774 | if test "$ac_test_PREPFLAG" != "set"; then
5774    esac
5775  
5776    if test -z "$PREPFLAG"; then
5777 <        { echo "$as_me:$LINENO: WARNING: \"Using empty PREPFLAG\"" >&5
5778 < echo "$as_me: WARNING: \"Using empty PREPFLAG\"" >&2;}
5777 >        { $as_echo "$as_me:$LINENO: WARNING: \"Using empty PREPFLAG\"" >&5
5778 > $as_echo "$as_me: WARNING: \"Using empty PREPFLAG\"" >&2;}
5779          PREPFLAG=""
5780    fi
5781  
5782 <  echo "$as_me:$LINENO: checking to make sure F90 preprocessor flag works" >&5
5783 < echo $ECHO_N "checking to make sure F90 preprocessor flag works... $ECHO_C" >&6
5782 >  { $as_echo "$as_me:$LINENO: checking to make sure F90 preprocessor flag works" >&5
5783 > $as_echo_n "checking to make sure F90 preprocessor flag works... " >&6; }
5784  
5785 <
5786 <  ac_ext=${FC_SRCEXT-f}
5787 < ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
3826 < ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
5785 >  ac_ext=${ac_fc_srcext-f}
5786 > ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
5787 > ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
5788   ac_compiler_gnu=$ac_cv_fc_compiler_gnu
5789  
5790    ac_save_ext=$ac_ext
# Line 3844 | Line 5805 | rm -f conftest.$ac_objext
5805  
5806   _ACEOF
5807   rm -f conftest.$ac_objext
5808 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5809 <  (eval $ac_compile) 2>conftest.er1
5808 > if { (ac_try="$ac_compile"
5809 > case "(($ac_try" in
5810 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5811 >  *) ac_try_echo=$ac_try;;
5812 > esac
5813 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5814 > $as_echo "$ac_try_echo") >&5
5815 >  (eval "$ac_compile") 2>conftest.er1
5816    ac_status=$?
5817    grep -v '^ *+' conftest.er1 >conftest.err
5818    rm -f conftest.er1
5819    cat conftest.err >&5
5820 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5821 <  (exit $ac_status); } &&
5822 <         { ac_try='test -z "$ac_fc_werror_flag"
5823 <                         || test ! -s conftest.err'
5824 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3858 <  (eval $ac_try) 2>&5
3859 <  ac_status=$?
3860 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861 <  (exit $ac_status); }; } &&
3862 <         { ac_try='test -s conftest.$ac_objext'
3863 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3864 <  (eval $ac_try) 2>&5
3865 <  ac_status=$?
3866 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 <  (exit $ac_status); }; }; then
5820 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5821 >  (exit $ac_status); } && {
5822 >         test -z "$ac_fc_werror_flag" ||
5823 >         test ! -s conftest.err
5824 >       } && test -s conftest.$ac_objext; then
5825    prepflagworks=1
5826   else
5827 <  echo "$as_me: failed program was:" >&5
5827 >  $as_echo "$as_me: failed program was:" >&5
5828   sed 's/^/| /' conftest.$ac_ext >&5
5829  
5830 < prepflagworks=0
5830 >        prepflagworks=0
5831   fi
3875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5832  
5833 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5834 +
5835    FCFLAGS_SRCEXT=$ac_save_FCFLAGS_SRCEXT
5836    ac_ext=$ac_save_ext
5837 <  ac_ext=${FC_SRCEXT-f}
5838 < ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
5839 < ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
5837 >  ac_ext=${ac_fc_srcext-f}
5838 > ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
5839 > ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
5840   ac_compiler_gnu=$ac_cv_fc_compiler_gnu
5841  
5842  
5843    if test "$prepflagworks" = 1; then
5844 <    echo "$as_me:$LINENO: result: yes" >&5
5845 < echo "${ECHO_T}yes" >&6
5844 >    { $as_echo "$as_me:$LINENO: result: yes" >&5
5845 > $as_echo "yes" >&6; }
5846      FCFLAGS_SRCEXT="${PREPFLAG}"
5847  
5848    else
5849 <    echo "$as_me:$LINENO: result: no" >&5
5850 < echo "${ECHO_T}no" >&6
5851 <    { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor flag" >&5
5852 < echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;}
5849 >    { $as_echo "$as_me:$LINENO: result: no" >&5
5850 > $as_echo "no" >&6; }
5851 >    { { $as_echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor flag" >&5
5852 > $as_echo "$as_me: error: Can't figure out working Fortran90 preprocessor flag" >&2;}
5853     { (exit 1); exit 1; }; }
5854    fi
5855   fi
# Line 3920 | Line 5878 | if test "$ac_test_PREPDEFFLAG" != "set"; then
5878    esac
5879  
5880    if test -z "$PREPDEFFLAG"; then
5881 <        { echo "$as_me:$LINENO: WARNING: \"Using empty PREPDEFFLAG\"" >&5
5882 < echo "$as_me: WARNING: \"Using empty PREPDEFFLAG\"" >&2;}
5881 >        { $as_echo "$as_me:$LINENO: WARNING: \"Using empty PREPDEFFLAG\"" >&5
5882 > $as_echo "$as_me: WARNING: \"Using empty PREPDEFFLAG\"" >&2;}
5883          PREPDEFFLAG=" "
5884    fi
5885  
5886 <  echo "$as_me:$LINENO: checking to make sure F90 preprocessor define flag works" >&5
5887 < echo $ECHO_N "checking to make sure F90 preprocessor define flag works... $ECHO_C" >&6
5886 >  { $as_echo "$as_me:$LINENO: checking to make sure F90 preprocessor define flag works" >&5
5887 > $as_echo_n "checking to make sure F90 preprocessor define flag works... " >&6; }
5888  
5889 <
5890 <  ac_ext=${FC_SRCEXT-f}
5891 < ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
3934 < ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
5889 >  ac_ext=${ac_fc_srcext-f}
5890 > ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
5891 > ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
5892   ac_compiler_gnu=$ac_cv_fc_compiler_gnu
5893  
5894    ac_save_ext=$ac_ext
# Line 3956 | Line 5913 | rm -f conftest.$ac_objext
5913  
5914   _ACEOF
5915   rm -f conftest.$ac_objext
5916 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5917 <  (eval $ac_compile) 2>conftest.er1
5916 > if { (ac_try="$ac_compile"
5917 > case "(($ac_try" in
5918 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5919 >  *) ac_try_echo=$ac_try;;
5920 > esac
5921 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5922 > $as_echo "$ac_try_echo") >&5
5923 >  (eval "$ac_compile") 2>conftest.er1
5924    ac_status=$?
5925    grep -v '^ *+' conftest.er1 >conftest.err
5926    rm -f conftest.er1
5927    cat conftest.err >&5
5928 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5929 <  (exit $ac_status); } &&
5930 <         { ac_try='test -z "$ac_fc_werror_flag"
5931 <                         || test ! -s conftest.err'
5932 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3970 <  (eval $ac_try) 2>&5
3971 <  ac_status=$?
3972 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 <  (exit $ac_status); }; } &&
3974 <         { ac_try='test -s conftest.$ac_objext'
3975 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3976 <  (eval $ac_try) 2>&5
3977 <  ac_status=$?
3978 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3979 <  (exit $ac_status); }; }; then
5928 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5929 >  (exit $ac_status); } && {
5930 >         test -z "$ac_fc_werror_flag" ||
5931 >         test ! -s conftest.err
5932 >       } && test -s conftest.$ac_objext; then
5933    prepdefflagworks=1
5934   else
5935 <  echo "$as_me: failed program was:" >&5
5935 >  $as_echo "$as_me: failed program was:" >&5
5936   sed 's/^/| /' conftest.$ac_ext >&5
5937  
5938 < prepdefflagworks=0
5938 >        prepdefflagworks=0
5939   fi
3987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5940  
5941 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5942 +
5943    FCFLAGS=$ac_save_FCFLAGS
5944    ac_ext=$ac_save_ext
5945 <  ac_ext=${FC_SRCEXT-f}
5946 < ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
5947 < ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
5945 >  ac_ext=${ac_fc_srcext-f}
5946 > ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
5947 > ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
5948   ac_compiler_gnu=$ac_cv_fc_compiler_gnu
5949  
5950  
5951    if test "$prepdefflagworks" = 1; then
5952 <    echo "$as_me:$LINENO: result: yes" >&5
5953 < echo "${ECHO_T}yes" >&6
5952 >    { $as_echo "$as_me:$LINENO: result: yes" >&5
5953 > $as_echo "yes" >&6; }
5954  
5955    else
5956 <    echo "$as_me:$LINENO: result: no" >&5
5957 < echo "${ECHO_T}no" >&6
5958 <    { { echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor define flag" >&5
5959 < echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;}
5956 >    { $as_echo "$as_me:$LINENO: result: no" >&5
5957 > $as_echo "no" >&6; }
5958 >    { { $as_echo "$as_me:$LINENO: error: Can't figure out working Fortran90 preprocessor define flag" >&5
5959 > $as_echo "$as_me: error: Can't figure out working Fortran90 preprocessor define flag" >&2;}
5960     { (exit 1); exit 1; }; }
5961    fi
5962   fi
5963  
5964 < ac_ext=${FC_SRCEXT-f}
5965 < ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
5966 < ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
5964 > ac_ext=${ac_fc_srcext-f}
5965 > ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
5966 > ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
5967   ac_compiler_gnu=$ac_cv_fc_compiler_gnu
5968 < echo "$as_me:$LINENO: checking how to get verbose linking output from $FC" >&5
5969 < echo $ECHO_N "checking how to get verbose linking output from $FC... $ECHO_C" >&6
5968 > { $as_echo "$as_me:$LINENO: checking how to get verbose linking output from $FC" >&5
5969 > $as_echo_n "checking how to get verbose linking output from $FC... " >&6; }
5970   if test "${ac_cv_prog_fc_v+set}" = set; then
5971 <  echo $ECHO_N "(cached) $ECHO_C" >&6
5971 >  $as_echo_n "(cached) " >&6
5972   else
5973    cat >conftest.$ac_ext <<_ACEOF
5974        program main
# Line 4022 | Line 5976 | rm -f conftest.$ac_objext
5976        end
5977   _ACEOF
5978   rm -f conftest.$ac_objext
5979 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5980 <  (eval $ac_compile) 2>conftest.er1
5979 > if { (ac_try="$ac_compile"
5980 > case "(($ac_try" in
5981 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5982 >  *) ac_try_echo=$ac_try;;
5983 > esac
5984 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5985 > $as_echo "$ac_try_echo") >&5
5986 >  (eval "$ac_compile") 2>conftest.er1
5987    ac_status=$?
5988    grep -v '^ *+' conftest.er1 >conftest.err
5989    rm -f conftest.er1
5990    cat conftest.err >&5
5991 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992 <  (exit $ac_status); } &&
5993 <         { ac_try='test -z "$ac_fc_werror_flag"
5994 <                         || test ! -s conftest.err'
5995 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4036 <  (eval $ac_try) 2>&5
4037 <  ac_status=$?
4038 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 <  (exit $ac_status); }; } &&
4040 <         { ac_try='test -s conftest.$ac_objext'
4041 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4042 <  (eval $ac_try) 2>&5
4043 <  ac_status=$?
4044 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 <  (exit $ac_status); }; }; then
5991 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992 >  (exit $ac_status); } && {
5993 >         test -z "$ac_fc_werror_flag" ||
5994 >         test ! -s conftest.err
5995 >       } && test -s conftest.$ac_objext; then
5996    ac_cv_prog_fc_v=
5997   # Try some options frequently used verbose output
5998   for ac_verb in -v -verbose --verbose -V -\#\#\#; do
# Line 4058 | Line 6008 | FCFLAGS="$FCFLAGS $ac_verb"
6008   # flags.
6009   ac_save_FFLAGS=$FCFLAGS
6010   FCFLAGS="$FCFLAGS $ac_verb"
6011 < (eval echo $as_me:4061: \"$ac_link\") >&5
6012 < ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
6013 < echo "$ac_fc_v_output" >&5
6011 > eval "set x $ac_link"
6012 > shift
6013 > $as_echo "$as_me:$LINENO: $*" >&5
6014 > # gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
6015 > # LIBRARY_PATH; skip all such settings.
6016 > ac_fc_v_output=`eval $ac_link 5>&1 2>&1 |
6017 >  grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
6018 > $as_echo "$ac_fc_v_output" >&5
6019   FCFLAGS=$ac_save_FFLAGS
6020  
6021 < rm -f conftest*
6021 > rm -rf conftest*
6022  
6023   # On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
6024   # /foo, /bar, and /baz are search directories for the Fortran linker.
6025   # Here, we change these into -L/foo -L/bar -L/baz (and put it first):
6026   ac_fc_v_output="`echo $ac_fc_v_output |
6027          grep 'LPATH is:' |
6028 <        sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_fc_v_output"
6028 >        sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_fc_v_output"
6029  
6030 + # FIXME: we keep getting bitten by quoted arguments; a more general fix
6031 + #        that detects unbalanced quotes in FLIBS should be implemented
6032 + #        and (ugh) tested at some point.
6033   case $ac_fc_v_output in
6034    # If we are using xlf then replace all the commas with spaces.
6035    *xlfentry*)
# Line 4080 | Line 6038 | case $ac_fc_v_output in
6038    # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
6039    # $LIBS confuse us, and the libraries appear later in the output anyway).
6040    *mGLOB_options_string*)
6041 <    ac_fc_v_output=`echo $ac_fc_v_output | sed 's/\"-mGLOB[^\"]*\"/ /g'` ;;
6041 >    ac_fc_v_output=`echo $ac_fc_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;;
6042  
6043 +  # Portland Group compiler has singly- or doubly-quoted -cmdline argument
6044 +  # Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4.
6045 +  # Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2".
6046 +  *-cmdline\ * | *-ignore\ * | *-def\ *)
6047 +    ac_fc_v_output=`echo $ac_fc_v_output | sed "\
6048 +        s/-cmdline  *'[^']*'/ /g; s/-cmdline  *\"[^\"]*\"/ /g
6049 +        s/-ignore  *'[^']*'/ /g; s/-ignore  *\"[^\"]*\"/ /g
6050 +        s/-def  *'[^']*'/ /g; s/-def  *\"[^\"]*\"/ /g"` ;;
6051 +
6052    # If we are using Cray Fortran then delete quotes.
4086  # Use "\"" instead of '"' for font-lock-mode.
4087  # FIXME: a more general fix for quoted arguments with spaces?
6053    *cft90*)
6054 <    ac_fc_v_output=`echo $ac_fc_v_output | sed "s/\"//g"` ;;
6054 >    ac_fc_v_output=`echo $ac_fc_v_output | sed 's/"//g'` ;;
6055   esac
6056  
6057  
# Line 4100 | Line 6065 | if test -z "$ac_cv_prog_fc_v"; then
6065    done
6066   done
6067   if test -z "$ac_cv_prog_fc_v"; then
6068 <   { echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $FC" >&5
6069 < echo "$as_me: WARNING: cannot determine how to obtain linking information from $FC" >&2;}
6068 >   { $as_echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $FC" >&5
6069 > $as_echo "$as_me: WARNING: cannot determine how to obtain linking information from $FC" >&2;}
6070   fi
6071   else
6072 <  echo "$as_me: failed program was:" >&5
6072 >  $as_echo "$as_me: failed program was:" >&5
6073   sed 's/^/| /' conftest.$ac_ext >&5
6074  
6075 < { echo "$as_me:$LINENO: WARNING: compilation failed" >&5
6076 < echo "$as_me: WARNING: compilation failed" >&2;}
6075 >        { $as_echo "$as_me:$LINENO: WARNING: compilation failed" >&5
6076 > $as_echo "$as_me: WARNING: compilation failed" >&2;}
6077   fi
4113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6078  
6079 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6080 +
6081   fi
6082 < echo "$as_me:$LINENO: result: $ac_cv_prog_fc_v" >&5
6083 < echo "${ECHO_T}$ac_cv_prog_fc_v" >&6
6084 < echo "$as_me:$LINENO: checking for Fortran libraries of $FC" >&5
6085 < echo $ECHO_N "checking for Fortran libraries of $FC... $ECHO_C" >&6
6082 > { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_fc_v" >&5
6083 > $as_echo "$ac_cv_prog_fc_v" >&6; }
6084 > { $as_echo "$as_me:$LINENO: checking for Fortran libraries of $FC" >&5
6085 > $as_echo_n "checking for Fortran libraries of $FC... " >&6; }
6086   if test "${ac_cv_fc_libs+set}" = set; then
6087 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6087 >  $as_echo_n "(cached) " >&6
6088   else
6089    if test "x$FCLIBS" != "x"; then
6090    ac_cv_fc_libs="$FCLIBS" # Let the user override the test.
# Line 4136 | Line 6102 | FCFLAGS="$FCFLAGS $ac_cv_prog_fc_v"
6102   # flags.
6103   ac_save_FFLAGS=$FCFLAGS
6104   FCFLAGS="$FCFLAGS $ac_cv_prog_fc_v"
6105 < (eval echo $as_me:4139: \"$ac_link\") >&5
6106 < ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
6107 < echo "$ac_fc_v_output" >&5
6105 > eval "set x $ac_link"
6106 > shift
6107 > $as_echo "$as_me:$LINENO: $*" >&5
6108 > # gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
6109 > # LIBRARY_PATH; skip all such settings.
6110 > ac_fc_v_output=`eval $ac_link 5>&1 2>&1 |
6111 >  grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
6112 > $as_echo "$ac_fc_v_output" >&5
6113   FCFLAGS=$ac_save_FFLAGS
6114  
6115 < rm -f conftest*
6115 > rm -rf conftest*
6116  
6117   # On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
6118   # /foo, /bar, and /baz are search directories for the Fortran linker.
6119   # Here, we change these into -L/foo -L/bar -L/baz (and put it first):
6120   ac_fc_v_output="`echo $ac_fc_v_output |
6121          grep 'LPATH is:' |
6122 <        sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_fc_v_output"
6122 >        sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_fc_v_output"
6123  
6124 + # FIXME: we keep getting bitten by quoted arguments; a more general fix
6125 + #        that detects unbalanced quotes in FLIBS should be implemented
6126 + #        and (ugh) tested at some point.
6127   case $ac_fc_v_output in
6128    # If we are using xlf then replace all the commas with spaces.
6129    *xlfentry*)
# Line 4158 | Line 6132 | case $ac_fc_v_output in
6132    # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
6133    # $LIBS confuse us, and the libraries appear later in the output anyway).
6134    *mGLOB_options_string*)
6135 <    ac_fc_v_output=`echo $ac_fc_v_output | sed 's/\"-mGLOB[^\"]*\"/ /g'` ;;
6135 >    ac_fc_v_output=`echo $ac_fc_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;;
6136  
6137 <  # If we are using Cray Fortran then delete quotes.
6138 <  # Use "\"" instead of '"' for font-lock-mode.
6139 <  # FIXME: a more general fix for quoted arguments with spaces?
6137 >  # Portland Group compiler has singly- or doubly-quoted -cmdline argument
6138 >  # Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4.
6139 >  # Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2".
6140 >  *-cmdline\ * | *-ignore\ * | *-def\ *)
6141 >    ac_fc_v_output=`echo $ac_fc_v_output | sed "\
6142 >        s/-cmdline  *'[^']*'/ /g; s/-cmdline  *\"[^\"]*\"/ /g
6143 >        s/-ignore  *'[^']*'/ /g; s/-ignore  *\"[^\"]*\"/ /g
6144 >        s/-def  *'[^']*'/ /g; s/-def  *\"[^\"]*\"/ /g"` ;;
6145 >
6146 >  # If we are using Cray Fortran then delete quotes.
6147    *cft90*)
6148 <    ac_fc_v_output=`echo $ac_fc_v_output | sed "s/\"//g"` ;;
6148 >    ac_fc_v_output=`echo $ac_fc_v_output | sed 's/"//g'` ;;
6149   esac
6150  
6151  
# Line 4218 | Line 6199 | fi
6199  
6200            ;;
6201            # Ignore these flags.
6202 <        -lang* | -lcrt[01].o | -lcrtbegin.o | -lc | -lgcc | -libmil | -LANG:=*)
6202 >        -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | -LIST:* | -LNO:*)
6203            ;;
6204          -lkernel32)
6205            test x"$CYGWIN" != xyes && ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg"
6206            ;;
6207 <        -[LRuY])
6207 >        -[LRuYz])
6208            # These flags, when seen by themselves, take an argument.
6209            # We remove the space between option and argument and re-iterate
6210            # unless we find an empty arg or a new option (starting with -)
# Line 4237 | Line 6218 | fi
6218            esac
6219            ;;
6220          -YP,*)
6221 <          for ac_j in `echo $ac_arg | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do
6221 >          for ac_j in `$as_echo "$ac_arg" | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do
6222                ac_exists=false
6223    for ac_i in $ac_cv_fc_libs; do
6224      if test x"$ac_j" = x"$ac_i"; then
# Line 4271 | Line 6252 | fi
6252   fi
6253  
6254            ;;
6255 +        -zallextract*| -zdefaultextract)
6256 +          ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg"
6257 +          ;;
6258            # Ignore everything else.
6259    esac
6260   done
# Line 4282 | Line 6266 | case `(uname -sr) 2>/dev/null` in
6266   # must begin with a "/").
6267   case `(uname -sr) 2>/dev/null` in
6268     "SunOS 5"*)
6269 <      ac_ld_run_path=`echo $ac_fc_v_output |
6269 >      ac_ld_run_path=`$as_echo "$ac_fc_v_output" |
6270                          sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'`
6271        test "x$ac_ld_run_path" != x &&
6272          if test "$ac_compiler_gnu" = yes; then
# Line 4297 | Line 6281 | fi
6281   fi # test "x$[]_AC_LANG_PREFIX[]LIBS" = "x"
6282  
6283   fi
6284 < echo "$as_me:$LINENO: result: $ac_cv_fc_libs" >&5
6285 < echo "${ECHO_T}$ac_cv_fc_libs" >&6
6284 > { $as_echo "$as_me:$LINENO: result: $ac_cv_fc_libs" >&5
6285 > $as_echo "$ac_cv_fc_libs" >&6; }
6286   FCLIBS="$ac_cv_fc_libs"
6287  
6288  
6289 < ac_ext=${FC_SRCEXT-f}
6290 < ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
6291 < ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
6289 > ac_ext=${ac_fc_srcext-f}
6290 > ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
6291 > ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
6292   ac_compiler_gnu=$ac_cv_fc_compiler_gnu
6293  
6294  
6295 < ac_ext=${FC_SRCEXT-f}
6296 < ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
6297 < ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
6295 > ac_ext=${ac_fc_srcext-f}
6296 > ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
6297 > ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
6298   ac_compiler_gnu=$ac_cv_fc_compiler_gnu
6299  
6300 < echo "$as_me:$LINENO: checking for dummy main to link with Fortran libraries" >&5
6301 < echo $ECHO_N "checking for dummy main to link with Fortran libraries... $ECHO_C" >&6
6300 > { $as_echo "$as_me:$LINENO: checking for dummy main to link with Fortran libraries" >&5
6301 > $as_echo_n "checking for dummy main to link with Fortran libraries... " >&6; }
6302   if test "${ac_cv_fc_dummy_main+set}" = set; then
6303 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6303 >  $as_echo_n "(cached) " >&6
6304   else
6305    ac_fc_dm_save_LIBS=$LIBS
6306   LIBS="$LIBS $FCLIBS"
# Line 4352 | Line 6336 | rm -f conftest.$ac_objext conftest$ac_exeext
6336   }
6337   _ACEOF
6338   rm -f conftest.$ac_objext conftest$ac_exeext
6339 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6340 <  (eval $ac_link) 2>conftest.er1
6339 > if { (ac_try="$ac_link"
6340 > case "(($ac_try" in
6341 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6342 >  *) ac_try_echo=$ac_try;;
6343 > esac
6344 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6345 > $as_echo "$ac_try_echo") >&5
6346 >  (eval "$ac_link") 2>conftest.er1
6347    ac_status=$?
6348    grep -v '^ *+' conftest.er1 >conftest.err
6349    rm -f conftest.er1
6350    cat conftest.err >&5
6351 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6352 <  (exit $ac_status); } &&
6353 <         { ac_try='test -z "$ac_c_werror_flag"
6354 <                         || test ! -s conftest.err'
6355 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6356 <  (eval $ac_try) 2>&5
6357 <  ac_status=$?
6358 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369 <  (exit $ac_status); }; } &&
4370 <         { ac_try='test -s conftest$ac_exeext'
4371 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4372 <  (eval $ac_try) 2>&5
4373 <  ac_status=$?
4374 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375 <  (exit $ac_status); }; }; then
6351 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6352 >  (exit $ac_status); } && {
6353 >         test -z "$ac_c_werror_flag" ||
6354 >         test ! -s conftest.err
6355 >       } && test -s conftest$ac_exeext && {
6356 >         test "$cross_compiling" = yes ||
6357 >         $as_test_x conftest$ac_exeext
6358 >       }; then
6359    ac_cv_fortran_dummy_main=none
6360   else
6361 <  echo "$as_me: failed program was:" >&5
6361 >  $as_echo "$as_me: failed program was:" >&5
6362   sed 's/^/| /' conftest.$ac_ext >&5
6363  
6364 < ac_cv_fortran_dummy_main=unknown
6364 >        ac_cv_fortran_dummy_main=unknown
6365   fi
6366 < rm -f conftest.err conftest.$ac_objext \
6366 >
6367 > rm -rf conftest.dSYM
6368 > rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6369        conftest$ac_exeext conftest.$ac_ext
6370  
6371   if test $ac_cv_fortran_dummy_main = unknown; then
# Line 4409 | Line 6394 | rm -f conftest.$ac_objext conftest$ac_exeext
6394   }
6395   _ACEOF
6396   rm -f conftest.$ac_objext conftest$ac_exeext
6397 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6398 <  (eval $ac_link) 2>conftest.er1
6397 > if { (ac_try="$ac_link"
6398 > case "(($ac_try" in
6399 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6400 >  *) ac_try_echo=$ac_try;;
6401 > esac
6402 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6403 > $as_echo "$ac_try_echo") >&5
6404 >  (eval "$ac_link") 2>conftest.er1
6405    ac_status=$?
6406    grep -v '^ *+' conftest.er1 >conftest.err
6407    rm -f conftest.er1
6408    cat conftest.err >&5
6409 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6410 <  (exit $ac_status); } &&
6411 <         { ac_try='test -z "$ac_c_werror_flag"
6412 <                         || test ! -s conftest.err'
6413 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6414 <  (eval $ac_try) 2>&5
6415 <  ac_status=$?
6416 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4426 <  (exit $ac_status); }; } &&
4427 <         { ac_try='test -s conftest$ac_exeext'
4428 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4429 <  (eval $ac_try) 2>&5
4430 <  ac_status=$?
4431 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4432 <  (exit $ac_status); }; }; then
6409 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6410 >  (exit $ac_status); } && {
6411 >         test -z "$ac_c_werror_flag" ||
6412 >         test ! -s conftest.err
6413 >       } && test -s conftest$ac_exeext && {
6414 >         test "$cross_compiling" = yes ||
6415 >         $as_test_x conftest$ac_exeext
6416 >       }; then
6417    ac_cv_fortran_dummy_main=$ac_func; break
6418   else
6419 <  echo "$as_me: failed program was:" >&5
6419 >  $as_echo "$as_me: failed program was:" >&5
6420   sed 's/^/| /' conftest.$ac_ext >&5
6421  
6422 +
6423   fi
6424 < rm -f conftest.err conftest.$ac_objext \
6424 >
6425 > rm -rf conftest.dSYM
6426 > rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6427        conftest$ac_exeext conftest.$ac_ext
6428     done
6429   fi
6430 < ac_ext=${FC_SRCEXT-f}
6431 < ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
6432 < ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
6430 > ac_ext=${ac_fc_srcext-f}
6431 > ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
6432 > ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
6433   ac_compiler_gnu=$ac_cv_fc_compiler_gnu
6434   ac_cv_fc_dummy_main=$ac_cv_fortran_dummy_main
6435 < rm -f conftest*
6435 > rm -rf conftest*
6436   LIBS=$ac_fc_dm_save_LIBS
6437  
6438   fi
6439 < echo "$as_me:$LINENO: result: $ac_cv_fc_dummy_main" >&5
6440 < echo "${ECHO_T}$ac_cv_fc_dummy_main" >&6
6439 > { $as_echo "$as_me:$LINENO: result: $ac_cv_fc_dummy_main" >&5
6440 > $as_echo "$ac_cv_fc_dummy_main" >&6; }
6441   FC_DUMMY_MAIN=$ac_cv_fc_dummy_main
6442   if test "$FC_DUMMY_MAIN" != unknown; then
6443    if test $FC_DUMMY_MAIN != none; then
# Line 4468 | Line 6455 | else
6455    fi
6456   fi
6457   else
6458 <  { { echo "$as_me:$LINENO: error: linking to Fortran libraries from C fails
6458 >  { { $as_echo "$as_me:$LINENO: error: linking to Fortran libraries from C fails
6459   See \`config.log' for more details." >&5
6460 < echo "$as_me: error: linking to Fortran libraries from C fails
6460 > $as_echo "$as_me: error: linking to Fortran libraries from C fails
6461   See \`config.log' for more details." >&2;}
6462     { (exit 1); exit 1; }; }
6463   fi
6464  
6465  
6466 < ac_ext=${FC_SRCEXT-f}
6467 < ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
6468 < ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
6466 > ac_ext=${ac_fc_srcext-f}
6467 > ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
6468 > ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
6469   ac_compiler_gnu=$ac_cv_fc_compiler_gnu
6470  
6471 < ac_ext=${FC_SRCEXT-f}
6472 < ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
6473 < ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
6471 > ac_ext=${ac_fc_srcext-f}
6472 > ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
6473 > ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
6474   ac_compiler_gnu=$ac_cv_fc_compiler_gnu
6475 < echo "$as_me:$LINENO: checking for Fortran name-mangling scheme" >&5
6476 < echo $ECHO_N "checking for Fortran name-mangling scheme... $ECHO_C" >&6
6475 > { $as_echo "$as_me:$LINENO: checking for Fortran name-mangling scheme" >&5
6476 > $as_echo_n "checking for Fortran name-mangling scheme... " >&6; }
6477   if test "${ac_cv_fc_mangling+set}" = set; then
6478 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6478 >  $as_echo_n "(cached) " >&6
6479   else
6480    cat >conftest.$ac_ext <<_ACEOF
6481        subroutine foobar()
# Line 4499 | Line 6486 | rm -f conftest.$ac_objext
6486        end
6487   _ACEOF
6488   rm -f conftest.$ac_objext
6489 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6490 <  (eval $ac_compile) 2>conftest.er1
6489 > if { (ac_try="$ac_compile"
6490 > case "(($ac_try" in
6491 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6492 >  *) ac_try_echo=$ac_try;;
6493 > esac
6494 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6495 > $as_echo "$ac_try_echo") >&5
6496 >  (eval "$ac_compile") 2>conftest.er1
6497    ac_status=$?
6498    grep -v '^ *+' conftest.er1 >conftest.err
6499    rm -f conftest.er1
6500    cat conftest.err >&5
6501 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 <  (exit $ac_status); } &&
6503 <         { ac_try='test -z "$ac_fc_werror_flag"
6504 <                         || test ! -s conftest.err'
6505 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4513 <  (eval $ac_try) 2>&5
4514 <  ac_status=$?
4515 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4516 <  (exit $ac_status); }; } &&
4517 <         { ac_try='test -s conftest.$ac_objext'
4518 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4519 <  (eval $ac_try) 2>&5
4520 <  ac_status=$?
4521 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4522 <  (exit $ac_status); }; }; then
6501 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 >  (exit $ac_status); } && {
6503 >         test -z "$ac_fc_werror_flag" ||
6504 >         test ! -s conftest.err
6505 >       } && test -s conftest.$ac_objext; then
6506    mv conftest.$ac_objext cfortran_test.$ac_objext
6507  
6508    ac_save_LIBS=$LIBS
# Line 4541 | Line 6524 | cat >>conftest.$ac_ext <<_ACEOF
6524   cat >>conftest.$ac_ext <<_ACEOF
6525   /* end confdefs.h.  */
6526  
6527 < /* Override any gcc2 internal prototype to avoid an error.  */
6527 > /* Override any GCC internal prototype to avoid an error.
6528 >   Use char because int might match the return type of a GCC
6529 >   builtin and then its argument prototype would still apply.  */
6530   #ifdef __cplusplus
6531   extern "C"
6532   #endif
4548 /* We use char because int might match the return type of a gcc2
4549   builtin and then its argument prototype would still apply.  */
6533   char $ac_func ();
6534   #ifdef FC_DUMMY_MAIN
6535   #ifndef FC_DUMMY_MAIN_EQ_F77
# Line 4559 | Line 6542 | main ()
6542   int
6543   main ()
6544   {
6545 < $ac_func ();
6545 > return $ac_func ();
6546    ;
6547    return 0;
6548   }
6549   _ACEOF
6550   rm -f conftest.$ac_objext conftest$ac_exeext
6551 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6552 <  (eval $ac_link) 2>conftest.er1
6551 > if { (ac_try="$ac_link"
6552 > case "(($ac_try" in
6553 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6554 >  *) ac_try_echo=$ac_try;;
6555 > esac
6556 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6557 > $as_echo "$ac_try_echo") >&5
6558 >  (eval "$ac_link") 2>conftest.er1
6559    ac_status=$?
6560    grep -v '^ *+' conftest.er1 >conftest.err
6561    rm -f conftest.er1
6562    cat conftest.err >&5
6563 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564 <  (exit $ac_status); } &&
6565 <         { ac_try='test -z "$ac_c_werror_flag"
6566 <                         || test ! -s conftest.err'
6567 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6568 <  (eval $ac_try) 2>&5
6569 <  ac_status=$?
6570 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 <  (exit $ac_status); }; } &&
4583 <         { ac_try='test -s conftest$ac_exeext'
4584 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4585 <  (eval $ac_try) 2>&5
4586 <  ac_status=$?
4587 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 <  (exit $ac_status); }; }; then
6563 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564 >  (exit $ac_status); } && {
6565 >         test -z "$ac_c_werror_flag" ||
6566 >         test ! -s conftest.err
6567 >       } && test -s conftest$ac_exeext && {
6568 >         test "$cross_compiling" = yes ||
6569 >         $as_test_x conftest$ac_exeext
6570 >       }; then
6571    ac_success=yes; break 2
6572   else
6573 <  echo "$as_me: failed program was:" >&5
6573 >  $as_echo "$as_me: failed program was:" >&5
6574   sed 's/^/| /' conftest.$ac_ext >&5
6575  
6576 +
6577   fi
6578 < rm -f conftest.err conftest.$ac_objext \
6578 >
6579 > rm -rf conftest.dSYM
6580 > rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6581        conftest$ac_exeext conftest.$ac_ext
6582      done
6583    done
6584 <  ac_ext=${FC_SRCEXT-f}
6585 < ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
6586 < ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
6584 >  ac_ext=${ac_fc_srcext-f}
6585 > ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
6586 > ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
6587   ac_compiler_gnu=$ac_cv_fc_compiler_gnu
6588  
6589    if test "$ac_success" = "yes"; then
# Line 4628 | Line 6613 | cat >>conftest.$ac_ext <<_ACEOF
6613   cat >>conftest.$ac_ext <<_ACEOF
6614   /* end confdefs.h.  */
6615  
6616 < /* Override any gcc2 internal prototype to avoid an error.  */
6616 > /* Override any GCC internal prototype to avoid an error.
6617 >   Use char because int might match the return type of a GCC
6618 >   builtin and then its argument prototype would still apply.  */
6619   #ifdef __cplusplus
6620   extern "C"
6621   #endif
4635 /* We use char because int might match the return type of a gcc2
4636   builtin and then its argument prototype would still apply.  */
6622   char $ac_func ();
6623   #ifdef FC_DUMMY_MAIN
6624   #ifndef FC_DUMMY_MAIN_EQ_F77
# Line 4646 | Line 6631 | main ()
6631   int
6632   main ()
6633   {
6634 < $ac_func ();
6634 > return $ac_func ();
6635    ;
6636    return 0;
6637   }
6638   _ACEOF
6639   rm -f conftest.$ac_objext conftest$ac_exeext
6640 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6641 <  (eval $ac_link) 2>conftest.er1
6640 > if { (ac_try="$ac_link"
6641 > case "(($ac_try" in
6642 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6643 >  *) ac_try_echo=$ac_try;;
6644 > esac
6645 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6646 > $as_echo "$ac_try_echo") >&5
6647 >  (eval "$ac_link") 2>conftest.er1
6648    ac_status=$?
6649    grep -v '^ *+' conftest.er1 >conftest.err
6650    rm -f conftest.er1
6651    cat conftest.err >&5
6652 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653 <  (exit $ac_status); } &&
6654 <         { ac_try='test -z "$ac_c_werror_flag"
6655 <                         || test ! -s conftest.err'
6656 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6657 <  (eval $ac_try) 2>&5
6658 <  ac_status=$?
6659 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 <  (exit $ac_status); }; } &&
4670 <         { ac_try='test -s conftest$ac_exeext'
4671 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4672 <  (eval $ac_try) 2>&5
4673 <  ac_status=$?
4674 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675 <  (exit $ac_status); }; }; then
6652 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653 >  (exit $ac_status); } && {
6654 >         test -z "$ac_c_werror_flag" ||
6655 >         test ! -s conftest.err
6656 >       } && test -s conftest$ac_exeext && {
6657 >         test "$cross_compiling" = yes ||
6658 >         $as_test_x conftest$ac_exeext
6659 >       }; then
6660    ac_success_extra=yes; break
6661   else
6662 <  echo "$as_me: failed program was:" >&5
6662 >  $as_echo "$as_me: failed program was:" >&5
6663   sed 's/^/| /' conftest.$ac_ext >&5
6664  
6665 +
6666   fi
6667 < rm -f conftest.err conftest.$ac_objext \
6667 >
6668 > rm -rf conftest.dSYM
6669 > rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6670        conftest$ac_exeext conftest.$ac_ext
6671       done
6672 <     ac_ext=${FC_SRCEXT-f}
6673 < ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
6674 < ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
6672 >     ac_ext=${ac_fc_srcext-f}
6673 > ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
6674 > ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
6675   ac_compiler_gnu=$ac_cv_fc_compiler_gnu
6676  
6677       if test "$ac_success_extra" = "yes"; then
# Line 4707 | Line 6694 | ac_compiler_gnu=$ac_cv_fc_compiler_gnu
6694    fi
6695  
6696    LIBS=$ac_save_LIBS
6697 <  rm -f cfortran_test* conftest*
6697 >  rm -rf conftest*
6698 >  rm -f cfortran_test*
6699   else
6700 <  echo "$as_me: failed program was:" >&5
6700 >  $as_echo "$as_me: failed program was:" >&5
6701   sed 's/^/| /' conftest.$ac_ext >&5
6702  
6703 < { { echo "$as_me:$LINENO: error: cannot compile a simple Fortran program
6703 >        { { $as_echo "$as_me:$LINENO: error: cannot compile a simple Fortran program
6704   See \`config.log' for more details." >&5
6705 < echo "$as_me: error: cannot compile a simple Fortran program
6705 > $as_echo "$as_me: error: cannot compile a simple Fortran program
6706   See \`config.log' for more details." >&2;}
6707     { (exit 1); exit 1; }; }
6708   fi
4721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6709  
6710 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6711 +
6712   fi
6713 < echo "$as_me:$LINENO: result: $ac_cv_fc_mangling" >&5
6714 < echo "${ECHO_T}$ac_cv_fc_mangling" >&6
6713 > { $as_echo "$as_me:$LINENO: result: $ac_cv_fc_mangling" >&5
6714 > $as_echo "$ac_cv_fc_mangling" >&6; }
6715  
6716 < ac_ext=${FC_SRCEXT-f}
6717 < ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
6718 < ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
6716 > ac_ext=${ac_fc_srcext-f}
6717 > ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
6718 > ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
6719   ac_compiler_gnu=$ac_cv_fc_compiler_gnu
6720  
6721 < ac_ext=${FC_SRCEXT-f}
6722 < ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
6723 < ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
6721 > ac_ext=${ac_fc_srcext-f}
6722 > ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
6723 > ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
6724   ac_compiler_gnu=$ac_cv_fc_compiler_gnu
6725  
6726  
# Line 4809 | Line 6798 | _ACEOF
6798   _ACEOF
6799   ;;
6800    *)
6801 <          { echo "$as_me:$LINENO: WARNING: unknown Fortran name-mangling scheme" >&5
6802 < echo "$as_me: WARNING: unknown Fortran name-mangling scheme" >&2;}
6801 >          { $as_echo "$as_me:$LINENO: WARNING: unknown Fortran name-mangling scheme" >&5
6802 > $as_echo "$as_me: WARNING: unknown Fortran name-mangling scheme" >&2;}
6803            ;;
6804   esac
6805  
6806 < ac_ext=${FC_SRCEXT-f}
6807 < ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
6808 < ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
6806 > ac_ext=${ac_fc_srcext-f}
6807 > ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
6808 > ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
6809   ac_compiler_gnu=$ac_cv_fc_compiler_gnu
6810  
6811  
6812  
6813 < ac_ext=${FC_SRCEXT-f}
6814 < ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
6815 < ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
6813 > ac_ext=${ac_fc_srcext-f}
6814 > ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
6815 > ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
6816   ac_compiler_gnu=$ac_cv_fc_compiler_gnu
6817 < echo "$as_me:$LINENO: checking how to get verbose linking output from $FC" >&5
6818 < echo $ECHO_N "checking how to get verbose linking output from $FC... $ECHO_C" >&6
6817 > { $as_echo "$as_me:$LINENO: checking how to get verbose linking output from $FC" >&5
6818 > $as_echo_n "checking how to get verbose linking output from $FC... " >&6; }
6819   if test "${ac_cv_prog_fc_v+set}" = set; then
6820 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6820 >  $as_echo_n "(cached) " >&6
6821   else
6822    cat >conftest.$ac_ext <<_ACEOF
6823        program main
# Line 4836 | Line 6825 | rm -f conftest.$ac_objext
6825        end
6826   _ACEOF
6827   rm -f conftest.$ac_objext
6828 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6829 <  (eval $ac_compile) 2>conftest.er1
6828 > if { (ac_try="$ac_compile"
6829 > case "(($ac_try" in
6830 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6831 >  *) ac_try_echo=$ac_try;;
6832 > esac
6833 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6834 > $as_echo "$ac_try_echo") >&5
6835 >  (eval "$ac_compile") 2>conftest.er1
6836    ac_status=$?
6837    grep -v '^ *+' conftest.er1 >conftest.err
6838    rm -f conftest.er1
6839    cat conftest.err >&5
6840 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 <  (exit $ac_status); } &&
6842 <         { ac_try='test -z "$ac_fc_werror_flag"
6843 <                         || test ! -s conftest.err'
6844 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4850 <  (eval $ac_try) 2>&5
4851 <  ac_status=$?
4852 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853 <  (exit $ac_status); }; } &&
4854 <         { ac_try='test -s conftest.$ac_objext'
4855 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4856 <  (eval $ac_try) 2>&5
4857 <  ac_status=$?
4858 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859 <  (exit $ac_status); }; }; then
6840 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 >  (exit $ac_status); } && {
6842 >         test -z "$ac_fc_werror_flag" ||
6843 >         test ! -s conftest.err
6844 >       } && test -s conftest.$ac_objext; then
6845    ac_cv_prog_fc_v=
6846   # Try some options frequently used verbose output
6847   for ac_verb in -v -verbose --verbose -V -\#\#\#; do
# Line 4872 | Line 6857 | FCFLAGS="$FCFLAGS $ac_verb"
6857   # flags.
6858   ac_save_FFLAGS=$FCFLAGS
6859   FCFLAGS="$FCFLAGS $ac_verb"
6860 < (eval echo $as_me:4875: \"$ac_link\") >&5
6861 < ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
6862 < echo "$ac_fc_v_output" >&5
6860 > eval "set x $ac_link"
6861 > shift
6862 > $as_echo "$as_me:$LINENO: $*" >&5
6863 > # gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
6864 > # LIBRARY_PATH; skip all such settings.
6865 > ac_fc_v_output=`eval $ac_link 5>&1 2>&1 |
6866 >  grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
6867 > $as_echo "$ac_fc_v_output" >&5
6868   FCFLAGS=$ac_save_FFLAGS
6869  
6870 < rm -f conftest*
6870 > rm -rf conftest*
6871  
6872   # On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
6873   # /foo, /bar, and /baz are search directories for the Fortran linker.
6874   # Here, we change these into -L/foo -L/bar -L/baz (and put it first):
6875   ac_fc_v_output="`echo $ac_fc_v_output |
6876          grep 'LPATH is:' |
6877 <        sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_fc_v_output"
6877 >        sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_fc_v_output"
6878  
6879 + # FIXME: we keep getting bitten by quoted arguments; a more general fix
6880 + #        that detects unbalanced quotes in FLIBS should be implemented
6881 + #        and (ugh) tested at some point.
6882   case $ac_fc_v_output in
6883    # If we are using xlf then replace all the commas with spaces.
6884    *xlfentry*)
# Line 4894 | Line 6887 | case $ac_fc_v_output in
6887    # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
6888    # $LIBS confuse us, and the libraries appear later in the output anyway).
6889    *mGLOB_options_string*)
6890 <    ac_fc_v_output=`echo $ac_fc_v_output | sed 's/\"-mGLOB[^\"]*\"/ /g'` ;;
6890 >    ac_fc_v_output=`echo $ac_fc_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;;
6891  
6892 +  # Portland Group compiler has singly- or doubly-quoted -cmdline argument
6893 +  # Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4.
6894 +  # Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2".
6895 +  *-cmdline\ * | *-ignore\ * | *-def\ *)
6896 +    ac_fc_v_output=`echo $ac_fc_v_output | sed "\
6897 +        s/-cmdline  *'[^']*'/ /g; s/-cmdline  *\"[^\"]*\"/ /g
6898 +        s/-ignore  *'[^']*'/ /g; s/-ignore  *\"[^\"]*\"/ /g
6899 +        s/-def  *'[^']*'/ /g; s/-def  *\"[^\"]*\"/ /g"` ;;
6900 +
6901    # If we are using Cray Fortran then delete quotes.
4900  # Use "\"" instead of '"' for font-lock-mode.
4901  # FIXME: a more general fix for quoted arguments with spaces?
6902    *cft90*)
6903 <    ac_fc_v_output=`echo $ac_fc_v_output | sed "s/\"//g"` ;;
6903 >    ac_fc_v_output=`echo $ac_fc_v_output | sed 's/"//g'` ;;
6904   esac
6905  
6906  
# Line 4914 | Line 6914 | if test -z "$ac_cv_prog_fc_v"; then
6914    done
6915   done
6916   if test -z "$ac_cv_prog_fc_v"; then
6917 <   { echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $FC" >&5
6918 < echo "$as_me: WARNING: cannot determine how to obtain linking information from $FC" >&2;}
6917 >   { $as_echo "$as_me:$LINENO: WARNING: cannot determine how to obtain linking information from $FC" >&5
6918 > $as_echo "$as_me: WARNING: cannot determine how to obtain linking information from $FC" >&2;}
6919   fi
6920   else
6921 <  echo "$as_me: failed program was:" >&5
6921 >  $as_echo "$as_me: failed program was:" >&5
6922   sed 's/^/| /' conftest.$ac_ext >&5
6923  
6924 < { echo "$as_me:$LINENO: WARNING: compilation failed" >&5
6925 < echo "$as_me: WARNING: compilation failed" >&2;}
6924 >        { $as_echo "$as_me:$LINENO: WARNING: compilation failed" >&5
6925 > $as_echo "$as_me: WARNING: compilation failed" >&2;}
6926   fi
4927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6927  
6928 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6929 +
6930   fi
6931 < echo "$as_me:$LINENO: result: $ac_cv_prog_fc_v" >&5
6932 < echo "${ECHO_T}$ac_cv_prog_fc_v" >&6
6933 < echo "$as_me:$LINENO: checking for Fortran libraries of $FC" >&5
6934 < echo $ECHO_N "checking for Fortran libraries of $FC... $ECHO_C" >&6
6931 > { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_fc_v" >&5
6932 > $as_echo "$ac_cv_prog_fc_v" >&6; }
6933 > { $as_echo "$as_me:$LINENO: checking for Fortran libraries of $FC" >&5
6934 > $as_echo_n "checking for Fortran libraries of $FC... " >&6; }
6935   if test "${ac_cv_fc_libs+set}" = set; then
6936 <  echo $ECHO_N "(cached) $ECHO_C" >&6
6936 >  $as_echo_n "(cached) " >&6
6937   else
6938    if test "x$FCLIBS" != "x"; then
6939    ac_cv_fc_libs="$FCLIBS" # Let the user override the test.
# Line 4950 | Line 6951 | FCFLAGS="$FCFLAGS $ac_cv_prog_fc_v"
6951   # flags.
6952   ac_save_FFLAGS=$FCFLAGS
6953   FCFLAGS="$FCFLAGS $ac_cv_prog_fc_v"
6954 < (eval echo $as_me:4953: \"$ac_link\") >&5
6955 < ac_fc_v_output=`eval $ac_link 5>&1 2>&1 | grep -v 'Driving:'`
6956 < echo "$ac_fc_v_output" >&5
6954 > eval "set x $ac_link"
6955 > shift
6956 > $as_echo "$as_me:$LINENO: $*" >&5
6957 > # gfortran 4.3 outputs lines setting COLLECT_GCC_OPTIONS, COMPILER_PATH,
6958 > # LIBRARY_PATH; skip all such settings.
6959 > ac_fc_v_output=`eval $ac_link 5>&1 2>&1 |
6960 >  grep -v 'Driving:' | grep -v "^[_$as_cr_Letters][_$as_cr_alnum]*="`
6961 > $as_echo "$ac_fc_v_output" >&5
6962   FCFLAGS=$ac_save_FFLAGS
6963  
6964 < rm -f conftest*
6964 > rm -rf conftest*
6965  
6966   # On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
6967   # /foo, /bar, and /baz are search directories for the Fortran linker.
6968   # Here, we change these into -L/foo -L/bar -L/baz (and put it first):
6969   ac_fc_v_output="`echo $ac_fc_v_output |
6970          grep 'LPATH is:' |
6971 <        sed 's,.*LPATH is\(: *[^ ]*\).*,\1,;s,: */, -L/,g'` $ac_fc_v_output"
6971 >        sed 's|.*LPATH is\(: *[^ ]*\).*|\1|;s|: */| -L/|g'` $ac_fc_v_output"
6972  
6973 + # FIXME: we keep getting bitten by quoted arguments; a more general fix
6974 + #        that detects unbalanced quotes in FLIBS should be implemented
6975 + #        and (ugh) tested at some point.
6976   case $ac_fc_v_output in
6977    # If we are using xlf then replace all the commas with spaces.
6978    *xlfentry*)
# Line 4972 | Line 6981 | case $ac_fc_v_output in
6981    # With Intel ifc, ignore the quoted -mGLOB_options_string stuff (quoted
6982    # $LIBS confuse us, and the libraries appear later in the output anyway).
6983    *mGLOB_options_string*)
6984 <    ac_fc_v_output=`echo $ac_fc_v_output | sed 's/\"-mGLOB[^\"]*\"/ /g'` ;;
6984 >    ac_fc_v_output=`echo $ac_fc_v_output | sed 's/"-mGLOB[^"]*"/ /g'` ;;
6985  
6986 +  # Portland Group compiler has singly- or doubly-quoted -cmdline argument
6987 +  # Singly-quoted arguments were reported for versions 5.2-4 and 6.0-4.
6988 +  # Doubly-quoted arguments were reported for "PGF90/x86 Linux/x86 5.0-2".
6989 +  *-cmdline\ * | *-ignore\ * | *-def\ *)
6990 +    ac_fc_v_output=`echo $ac_fc_v_output | sed "\
6991 +        s/-cmdline  *'[^']*'/ /g; s/-cmdline  *\"[^\"]*\"/ /g
6992 +        s/-ignore  *'[^']*'/ /g; s/-ignore  *\"[^\"]*\"/ /g
6993 +        s/-def  *'[^']*'/ /g; s/-def  *\"[^\"]*\"/ /g"` ;;
6994 +
6995    # If we are using Cray Fortran then delete quotes.
4978  # Use "\"" instead of '"' for font-lock-mode.
4979  # FIXME: a more general fix for quoted arguments with spaces?
6996    *cft90*)
6997 <    ac_fc_v_output=`echo $ac_fc_v_output | sed "s/\"//g"` ;;
6997 >    ac_fc_v_output=`echo $ac_fc_v_output | sed 's/"//g'` ;;
6998   esac
6999  
7000  
# Line 5032 | Line 7048 | fi
7048  
7049            ;;
7050            # Ignore these flags.
7051 <        -lang* | -lcrt[01].o | -lcrtbegin.o | -lc | -lgcc | -libmil | -LANG:=*)
7051 >        -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | -LIST:* | -LNO:*)
7052            ;;
7053          -lkernel32)
7054            test x"$CYGWIN" != xyes && ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg"
7055            ;;
7056 <        -[LRuY])
7056 >        -[LRuYz])
7057            # These flags, when seen by themselves, take an argument.
7058            # We remove the space between option and argument and re-iterate
7059            # unless we find an empty arg or a new option (starting with -)
# Line 5051 | Line 7067 | fi
7067            esac
7068            ;;
7069          -YP,*)
7070 <          for ac_j in `echo $ac_arg | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do
7070 >          for ac_j in `$as_echo "$ac_arg" | sed -e 's/-YP,/-L/;s/:/ -L/g'`; do
7071                ac_exists=false
7072    for ac_i in $ac_cv_fc_libs; do
7073      if test x"$ac_j" = x"$ac_i"; then
# Line 5085 | Line 7101 | fi
7101   fi
7102  
7103            ;;
7104 +        -zallextract*| -zdefaultextract)
7105 +          ac_cv_fc_libs="$ac_cv_fc_libs $ac_arg"
7106 +          ;;
7107            # Ignore everything else.
7108    esac
7109   done
# Line 5096 | Line 7115 | case `(uname -sr) 2>/dev/null` in
7115   # must begin with a "/").
7116   case `(uname -sr) 2>/dev/null` in
7117     "SunOS 5"*)
7118 <      ac_ld_run_path=`echo $ac_fc_v_output |
7118 >      ac_ld_run_path=`$as_echo "$ac_fc_v_output" |
7119                          sed -n 's,^.*LD_RUN_PATH *= *\(/[^ ]*\).*$,-R\1,p'`
7120        test "x$ac_ld_run_path" != x &&
7121          if test "$ac_compiler_gnu" = yes; then
# Line 5111 | Line 7130 | fi
7130   fi # test "x$[]_AC_LANG_PREFIX[]LIBS" = "x"
7131  
7132   fi
7133 < echo "$as_me:$LINENO: result: $ac_cv_fc_libs" >&5
7134 < echo "${ECHO_T}$ac_cv_fc_libs" >&6
7133 > { $as_echo "$as_me:$LINENO: result: $ac_cv_fc_libs" >&5
7134 > $as_echo "$ac_cv_fc_libs" >&6; }
7135   FCLIBS="$ac_cv_fc_libs"
7136  
7137  
7138 < ac_ext=${FC_SRCEXT-f}
7139 < ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
7140 < ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
7138 > ac_ext=${ac_fc_srcext-f}
7139 > ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
7140 > ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
7141   ac_compiler_gnu=$ac_cv_fc_compiler_gnu
7142  
7143  
7144  
7145 < echo "$as_me:$LINENO: checking for module suffix" >&5
7146 < echo $ECHO_N "checking for module suffix... $ECHO_C" >&6
7145 > { $as_echo "$as_me:$LINENO: checking for module suffix" >&5
7146 > $as_echo_n "checking for module suffix... " >&6; }
7147   rm -f conftest*
7148   # Intel ifc compiler generates files by the name of work.pc and work.pcl (!)
7149   rm -f work*
# Line 5150 | Line 7169 | if (eval $ac_compile) 2>/dev/null ; then
7169          fi
7170      fi
7171      if test -z "$MOD" ; then
7172 <        echo "$as_me:$LINENO: result: unknown" >&5
7173 < echo "${ECHO_T}unknown" >&6
7172 >        { $as_echo "$as_me:$LINENO: result: unknown" >&5
7173 > $as_echo "unknown" >&6; }
7174          # Use mod if we can't figure it out
7175          MOD="mod"
7176      else
7177 <        echo "$as_me:$LINENO: result: $MOD" >&5
7178 < echo "${ECHO_T}$MOD" >&6
7177 >        { $as_echo "$as_me:$LINENO: result: $MOD" >&5
7178 > $as_echo "$MOD" >&6; }
7179      fi
7180      if test -s work.pcl ; then
7181 <        { echo "$as_me:$LINENO: WARNING: Compiler generates auxillery files!" >&5
7182 < echo "$as_me: WARNING: Compiler generates auxillery files!" >&2;}
7181 >        { $as_echo "$as_me:$LINENO: WARNING: Compiler generates auxillery files!" >&5
7182 > $as_echo "$as_me: WARNING: Compiler generates auxillery files!" >&2;}
7183      fi
7184   else
7185 <    echo "$as_me:$LINENO: result: unknown" >&5
7186 < echo "${ECHO_T}unknown" >&6
7185 >    { $as_echo "$as_me:$LINENO: result: unknown" >&5
7186 > $as_echo "unknown" >&6; }
7187   fi
7188  
7189  
# Line 5177 | Line 7196 | fi
7196   # specified, work.pcl and work.pc are created.  However, if you specify
7197   # a file, it must contain a the name of a file ending in .pc .  Ugh!
7198   # Use the module made above
7199 < echo "$as_me:$LINENO: checking for module directory path flag" >&5
7200 < echo $ECHO_N "checking for module directory path flag... $ECHO_C" >&6
7199 > { $as_echo "$as_me:$LINENO: checking for module directory path flag" >&5
7200 > $as_echo_n "checking for module directory path flag... " >&6; }
7201   rm -f conftest*
7202   # Intel ifc compiler generates files by the name of work.pc and work.pcl (!)
7203   rm -f work*
# Line 5211 | Line 7230 | EOF
7230     if $FC -c -Iconf $FCFLAGS $FCFLAGS_SRCEXT conftest1.$ac_ext > conftest.out 2>&1 ; then
7231         MODDIRFLAG="-I"
7232         F90MODINCSPEC="-I<dir>"
7233 <       echo "$as_me:$LINENO: result: -I" >&5
7234 < echo "${ECHO_T}-I" >&6
7233 >       { $as_echo "$as_me:$LINENO: result: -I" >&5
7234 > $as_echo "-I" >&6; }
7235     elif $FC -c -Mconf $FCFLAGS $FCFLAGS_SRCEXT conftest1.$ac_ext >> conftest.out 2>&1 ; then
7236         MODDIRFLAG="-M"
7237         F90MODINCSPEC="-M<dir>"
7238 <       echo "$as_me:$LINENO: result: -M" >&5
7239 < echo "${ECHO_T}-M" >&6
7238 >       { $as_echo "$as_me:$LINENO: result: -M" >&5
7239 > $as_echo "-M" >&6; }
7240     elif $FC -c -pconf $FCFLAGS $FCFLAGS_SRCEXT conftest1.$ac_ext >> conftest.out 2>&1 ; then
7241         MODDIRFLAG="-p"
7242         F90MODINCSPEC="-p<dir>"
7243 <       echo "$as_me:$LINENO: result: -p" >&5
7244 < echo "${ECHO_T}-p" >&6
7243 >       { $as_echo "$as_me:$LINENO: result: -p" >&5
7244 > $as_echo "-p" >&6; }
7245     elif test -s work.pc ; then
7246          cp work.pc conf/mpimod.pc
7247          echo "mpimod.pc" > conf/mpimod.pcl
7248          echo "`pwd`/conf/mpimod.pc" >> conf/mpimod.pcl
7249          if $FC -c -cl,conf/mpimod.pcl $FCFLAGS $FCFLAGS_SRCEXT conftest1.$ac_ext >>conftest.out 2>&1 ; then
7250              MODDIRFLAG='-cl,mpimod.pcl'
7251 <            echo "$as_me:$LINENO: result: -cl,filename where filename contains a list of files and directories" >&5
7252 < echo "${ECHO_T}-cl,filename where filename contains a list of files and directories" >&6
7251 >            { $as_echo "$as_me:$LINENO: result: -cl,filename where filename contains a list of files and directories" >&5
7252 > $as_echo "-cl,filename where filename contains a list of files and directories" >&6; }
7253              F90_WORK_FILES_ARG="-cl,mpimod.pcl"
7254              F90MODINCSPEC="-cl,<dir>/<file>mod.pcl"
7255  
# Line 5242 | Line 7261 | echo "${ECHO_T}-cl,filename where filename contains a
7261          fi
7262     fi
7263     if test -z "MODDIRFLAG" ; then
7264 <       echo "$as_me:$LINENO: result: unknown" >&5
7265 < echo "${ECHO_T}unknown" >&6
7264 >       { $as_echo "$as_me:$LINENO: result: unknown" >&5
7265 > $as_echo "unknown" >&6; }
7266     fi
7267  
7268  
# Line 5252 | Line 7271 | fi
7271   fi
7272  
7273  
7274 < echo "$as_me:$LINENO: checking for Fortran 90 module file names" >&5
7275 < echo $ECHO_N "checking for Fortran 90 module file names... $ECHO_C" >&6
7274 > { $as_echo "$as_me:$LINENO: checking for Fortran 90 module file names" >&5
7275 > $as_echo_n "checking for Fortran 90 module file names... " >&6; }
7276   if test "${ac_cv_f90_module_names+set}" = set; then
7277 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7277 >  $as_echo_n "(cached) " >&6
7278   else
7279 <  ac_ext=${FC_SRCEXT-f}
7280 < ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
7281 < ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
7279 >  ac_ext=${ac_fc_srcext-f}
7280 > ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
7281 > ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
7282   ac_compiler_gnu=$ac_cv_fc_compiler_gnu
7283  
7284   # carry out the test in a new directory, so that we don't miss anything
# Line 5270 | Line 7289 | rm -f conftest.$ac_objext
7289   END MODULE Bar
7290   _ACEOF
7291   rm -f conftest.$ac_objext
7292 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7293 <  (eval $ac_compile) 2>conftest.er1
7292 > if { (ac_try="$ac_compile"
7293 > case "(($ac_try" in
7294 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7295 >  *) ac_try_echo=$ac_try;;
7296 > esac
7297 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7298 > $as_echo "$ac_try_echo") >&5
7299 >  (eval "$ac_compile") 2>conftest.er1
7300    ac_status=$?
7301    grep -v '^ *+' conftest.er1 >conftest.err
7302    rm -f conftest.er1
7303    cat conftest.err >&5
7304 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7305 <  (exit $ac_status); } &&
7306 <         { ac_try='test -z "$ac_fc_werror_flag"
7307 <                         || test ! -s conftest.err'
7308 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5284 <  (eval $ac_try) 2>&5
5285 <  ac_status=$?
5286 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287 <  (exit $ac_status); }; } &&
5288 <         { ac_try='test -s conftest.$ac_objext'
5289 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5290 <  (eval $ac_try) 2>&5
5291 <  ac_status=$?
5292 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5293 <  (exit $ac_status); }; }; then
7304 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7305 >  (exit $ac_status); } && {
7306 >         test -z "$ac_fc_werror_flag" ||
7307 >         test ! -s conftest.err
7308 >       } && test -s conftest.$ac_objext; then
7309    ac_cv_f90_module_names=
7310   ac_file_list=*
7311   for ac_file in $ac_file_list; do
# Line 5372 | Line 7387 | fi
7387            ;;
7388         # Other files - we have no idea how they are generated
7389         *)
7390 <          { echo "$as_me:$LINENO: WARNING: Bogus file found: $ac_file" >&5
7391 < echo "$as_me: WARNING: Bogus file found: $ac_file" >&2;}
7390 >          { $as_echo "$as_me:$LINENO: WARNING: Bogus file found: $ac_file" >&5
7391 > $as_echo "$as_me: WARNING: Bogus file found: $ac_file" >&2;}
7392            ;;
7393     esac
7394   done
7395   if test "x$ac_cv_f90_module_names" = "x"; then
7396 <  { echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5
7397 < echo "$as_me: WARNING: Couldn't determine module file names" >&2;}
7396 >  { $as_echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5
7397 > $as_echo "$as_me: WARNING: Couldn't determine module file names" >&2;}
7398   fi
7399  
7400   else
7401 <  echo "$as_me: failed program was:" >&5
7401 >  $as_echo "$as_me: failed program was:" >&5
7402   sed 's/^/| /' conftest.$ac_ext >&5
7403  
7404 < ac_cv_f90_module_names=
7405 < { echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5
7406 < echo "$as_me: WARNING: Couldn't determine module file names" >&2;}
7404 >        ac_cv_f90_module_names=
7405 > { $as_echo "$as_me:$LINENO: WARNING: Couldn't determine module file names" >&5
7406 > $as_echo "$as_me: WARNING: Couldn't determine module file names" >&2;}
7407   fi
7408 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7408 >
7409 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7410   cd ..
7411   # cleanup
7412   rm -rf conftest
7413 < ac_ext=${FC_SRCEXT-f}
7414 < ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
7415 < ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
7413 > ac_ext=${ac_fc_srcext-f}
7414 > ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
7415 > ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
7416   ac_compiler_gnu=$ac_cv_fc_compiler_gnu
7417  
7418   fi
7419 < echo "$as_me:$LINENO: result: $ac_cv_f90_module_names" >&5
7420 < echo "${ECHO_T}$ac_cv_f90_module_names" >&6 # AC_CACHE_CHECK
7419 > { $as_echo "$as_me:$LINENO: result: $ac_cv_f90_module_names" >&5
7420 > $as_echo "$ac_cv_f90_module_names" >&6; } # AC_CACHE_CHECK
7421  
7422   # We now generate a shell script that will help us to figure out the correct
7423   # module file names, using the value of ac_cv_f90_module_names
# Line 5494 | Line 7510 | ac_compiler_gnu=$ac_cv_c_compiler_gnu
7510  
7511  
7512  
7513 < echo "$as_me:$LINENO: checking for asin in -lm" >&5
7514 < echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
7513 > { $as_echo "$as_me:$LINENO: checking for asin in -lm" >&5
7514 > $as_echo_n "checking for asin in -lm... " >&6; }
7515   if test "${ac_cv_lib_m_asin+set}" = set; then
7516 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7516 >  $as_echo_n "(cached) " >&6
7517   else
7518    ac_check_lib_save_LIBS=$LIBS
7519   LIBS="-lm  $LIBS"
# Line 5508 | Line 7524 | cat >>conftest.$ac_ext <<_ACEOF
7524   cat >>conftest.$ac_ext <<_ACEOF
7525   /* end confdefs.h.  */
7526  
7527 < /* Override any gcc2 internal prototype to avoid an error.  */
7527 > /* Override any GCC internal prototype to avoid an error.
7528 >   Use char because int might match the return type of a GCC
7529 >   builtin and then its argument prototype would still apply.  */
7530   #ifdef __cplusplus
7531   extern "C"
7532   #endif
5515 /* We use char because int might match the return type of a gcc2
5516   builtin and then its argument prototype would still apply.  */
7533   char asin ();
7534   #ifdef FC_DUMMY_MAIN
7535   #ifndef FC_DUMMY_MAIN_EQ_F77
# Line 5526 | Line 7542 | main ()
7542   int
7543   main ()
7544   {
7545 < asin ();
7545 > return asin ();
7546    ;
7547    return 0;
7548   }
7549   _ACEOF
7550   rm -f conftest.$ac_objext conftest$ac_exeext
7551 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7552 <  (eval $ac_link) 2>conftest.er1
7551 > if { (ac_try="$ac_link"
7552 > case "(($ac_try" in
7553 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7554 >  *) ac_try_echo=$ac_try;;
7555 > esac
7556 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7557 > $as_echo "$ac_try_echo") >&5
7558 >  (eval "$ac_link") 2>conftest.er1
7559    ac_status=$?
7560    grep -v '^ *+' conftest.er1 >conftest.err
7561    rm -f conftest.er1
7562    cat conftest.err >&5
7563 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7564 <  (exit $ac_status); } &&
7565 <         { ac_try='test -z "$ac_c_werror_flag"
7566 <                         || test ! -s conftest.err'
7567 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7568 <  (eval $ac_try) 2>&5
7569 <  ac_status=$?
7570 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5549 <  (exit $ac_status); }; } &&
5550 <         { ac_try='test -s conftest$ac_exeext'
5551 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5552 <  (eval $ac_try) 2>&5
5553 <  ac_status=$?
5554 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 <  (exit $ac_status); }; }; then
7563 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7564 >  (exit $ac_status); } && {
7565 >         test -z "$ac_c_werror_flag" ||
7566 >         test ! -s conftest.err
7567 >       } && test -s conftest$ac_exeext && {
7568 >         test "$cross_compiling" = yes ||
7569 >         $as_test_x conftest$ac_exeext
7570 >       }; then
7571    ac_cv_lib_m_asin=yes
7572   else
7573 <  echo "$as_me: failed program was:" >&5
7573 >  $as_echo "$as_me: failed program was:" >&5
7574   sed 's/^/| /' conftest.$ac_ext >&5
7575  
7576 < ac_cv_lib_m_asin=no
7576 >        ac_cv_lib_m_asin=no
7577   fi
7578 < rm -f conftest.err conftest.$ac_objext \
7578 >
7579 > rm -rf conftest.dSYM
7580 > rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7581        conftest$ac_exeext conftest.$ac_ext
7582   LIBS=$ac_check_lib_save_LIBS
7583   fi
7584 < echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
7585 < echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
7584 > { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
7585 > $as_echo "$ac_cv_lib_m_asin" >&6; }
7586   if test $ac_cv_lib_m_asin = yes; then
7587    cat >>confdefs.h <<_ACEOF
7588   #define HAVE_LIBM 1
# Line 5578 | Line 7595 | fi
7595   fi
7596  
7597  
7598 < echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7599 < echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7598 > { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7599 > $as_echo_n "checking for ANSI C header files... " >&6; }
7600   if test "${ac_cv_header_stdc+set}" = set; then
7601 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7601 >  $as_echo_n "(cached) " >&6
7602   else
7603    cat >conftest.$ac_ext <<_ACEOF
7604   /* confdefs.h.  */
# Line 5611 | Line 7628 | rm -f conftest.$ac_objext
7628   }
7629   _ACEOF
7630   rm -f conftest.$ac_objext
7631 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7632 <  (eval $ac_compile) 2>conftest.er1
7631 > if { (ac_try="$ac_compile"
7632 > case "(($ac_try" in
7633 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7634 >  *) ac_try_echo=$ac_try;;
7635 > esac
7636 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7637 > $as_echo "$ac_try_echo") >&5
7638 >  (eval "$ac_compile") 2>conftest.er1
7639    ac_status=$?
7640    grep -v '^ *+' conftest.er1 >conftest.err
7641    rm -f conftest.er1
7642    cat conftest.err >&5
7643 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7644 <  (exit $ac_status); } &&
7645 <         { ac_try='test -z "$ac_c_werror_flag"
7646 <                         || test ! -s conftest.err'
7647 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5625 <  (eval $ac_try) 2>&5
5626 <  ac_status=$?
5627 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5628 <  (exit $ac_status); }; } &&
5629 <         { ac_try='test -s conftest.$ac_objext'
5630 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5631 <  (eval $ac_try) 2>&5
5632 <  ac_status=$?
5633 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5634 <  (exit $ac_status); }; }; then
7643 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7644 >  (exit $ac_status); } && {
7645 >         test -z "$ac_c_werror_flag" ||
7646 >         test ! -s conftest.err
7647 >       } && test -s conftest.$ac_objext; then
7648    ac_cv_header_stdc=yes
7649   else
7650 <  echo "$as_me: failed program was:" >&5
7650 >  $as_echo "$as_me: failed program was:" >&5
7651   sed 's/^/| /' conftest.$ac_ext >&5
7652  
7653 < ac_cv_header_stdc=no
7653 >        ac_cv_header_stdc=no
7654   fi
5642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7655  
7656 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7657 +
7658   if test $ac_cv_header_stdc = yes; then
7659    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7660    cat >conftest.$ac_ext <<_ACEOF
# Line 5695 | Line 7709 | cat >>conftest.$ac_ext <<_ACEOF
7709   cat >>conftest.$ac_ext <<_ACEOF
7710   /* end confdefs.h.  */
7711   #include <ctype.h>
7712 + #include <stdlib.h>
7713   #if ((' ' & 0x0FF) == 0x020)
7714   # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7715   # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
# Line 5714 | Line 7729 | main ()
7729    for (i = 0; i < 256; i++)
7730      if (XOR (islower (i), ISLOWER (i))
7731          || toupper (i) != TOUPPER (i))
7732 <      exit(2);
7733 <  exit (0);
7732 >      return 2;
7733 >  return 0;
7734   }
7735   _ACEOF
7736   rm -f conftest$ac_exeext
7737 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7738 <  (eval $ac_link) 2>&5
7737 > if { (ac_try="$ac_link"
7738 > case "(($ac_try" in
7739 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7740 >  *) ac_try_echo=$ac_try;;
7741 > esac
7742 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7743 > $as_echo "$ac_try_echo") >&5
7744 >  (eval "$ac_link") 2>&5
7745    ac_status=$?
7746 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7746 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7747    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7748 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7749 <  (eval $ac_try) 2>&5
7748 >  { (case "(($ac_try" in
7749 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7750 >  *) ac_try_echo=$ac_try;;
7751 > esac
7752 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7753 > $as_echo "$ac_try_echo") >&5
7754 >  (eval "$ac_try") 2>&5
7755    ac_status=$?
7756 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7756 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7757    (exit $ac_status); }; }; then
7758    :
7759   else
7760 <  echo "$as_me: program exited with status $ac_status" >&5
7761 < echo "$as_me: failed program was:" >&5
7760 >  $as_echo "$as_me: program exited with status $ac_status" >&5
7761 > $as_echo "$as_me: failed program was:" >&5
7762   sed 's/^/| /' conftest.$ac_ext >&5
7763  
7764   ( exit $ac_status )
7765   ac_cv_header_stdc=no
7766   fi
7767 < rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7767 > rm -rf conftest.dSYM
7768 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7769   fi
7770 +
7771 +
7772   fi
7773   fi
7774 < echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7775 < echo "${ECHO_T}$ac_cv_header_stdc" >&6
7774 > { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7775 > $as_echo "$ac_cv_header_stdc" >&6; }
7776   if test $ac_cv_header_stdc = yes; then
7777  
7778   cat >>confdefs.h <<\_ACEOF
# Line 5765 | Line 7794 | do
7794   for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7795                    inttypes.h stdint.h unistd.h
7796   do
7797 < as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7798 < echo "$as_me:$LINENO: checking for $ac_header" >&5
7799 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7800 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
7801 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7797 > as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7798 > { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7799 > $as_echo_n "checking for $ac_header... " >&6; }
7800 > if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7801 >  $as_echo_n "(cached) " >&6
7802   else
7803    cat >conftest.$ac_ext <<_ACEOF
7804   /* confdefs.h.  */
# Line 5782 | Line 7811 | rm -f conftest.$ac_objext
7811   #include <$ac_header>
7812   _ACEOF
7813   rm -f conftest.$ac_objext
7814 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7815 <  (eval $ac_compile) 2>conftest.er1
7814 > if { (ac_try="$ac_compile"
7815 > case "(($ac_try" in
7816 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7817 >  *) ac_try_echo=$ac_try;;
7818 > esac
7819 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7820 > $as_echo "$ac_try_echo") >&5
7821 >  (eval "$ac_compile") 2>conftest.er1
7822    ac_status=$?
7823    grep -v '^ *+' conftest.er1 >conftest.err
7824    rm -f conftest.er1
7825    cat conftest.err >&5
7826 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7827 <  (exit $ac_status); } &&
7828 <         { ac_try='test -z "$ac_c_werror_flag"
7829 <                         || test ! -s conftest.err'
7830 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5796 <  (eval $ac_try) 2>&5
5797 <  ac_status=$?
5798 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5799 <  (exit $ac_status); }; } &&
5800 <         { ac_try='test -s conftest.$ac_objext'
5801 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5802 <  (eval $ac_try) 2>&5
5803 <  ac_status=$?
5804 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5805 <  (exit $ac_status); }; }; then
7826 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7827 >  (exit $ac_status); } && {
7828 >         test -z "$ac_c_werror_flag" ||
7829 >         test ! -s conftest.err
7830 >       } && test -s conftest.$ac_objext; then
7831    eval "$as_ac_Header=yes"
7832   else
7833 <  echo "$as_me: failed program was:" >&5
7833 >  $as_echo "$as_me: failed program was:" >&5
7834   sed 's/^/| /' conftest.$ac_ext >&5
7835  
7836 < eval "$as_ac_Header=no"
7836 >        eval "$as_ac_Header=no"
7837   fi
7838 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7838 >
7839 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7840   fi
7841 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7842 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7843 < if test `eval echo '${'$as_ac_Header'}'` = yes; then
7841 > ac_res=`eval 'as_val=${'$as_ac_Header'}
7842 >                 $as_echo "$as_val"'`
7843 >               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7844 > $as_echo "$ac_res" >&6; }
7845 > if test `eval 'as_val=${'$as_ac_Header'}
7846 >                 $as_echo "$as_val"'` = yes; then
7847    cat >>confdefs.h <<_ACEOF
7848 < #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7848 > #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7849   _ACEOF
7850  
7851   fi
# Line 5828 | Line 7857 | done
7857   # Handle user hints
7858   #
7859  
7860 < # Check whether --with-zlib or --without-zlib was given.
7860 > # Check whether --with-zlib was given.
7861   if test "${with_zlib+set}" = set; then
7862 <  withval="$with_zlib"
5834 <  zlib_dir="$withval"
7862 >  withval=$with_zlib; zlib_dir="$withval"
7863   else
7864                  zlib_dir="not_set"
7865 < fi;
7865 > fi
7866 >
7867   if test "$zlib_dir" != "no"; then
7868  
7869   if test "$zlib_dir" != "not_set" ; then
# Line 5842 | Line 7871 | if test "$zlib_dir" != "not_set" ; then
7871    then
7872      ZLIB_HOME="$zlib_dir"
7873    else
7874 <    { echo "$as_me:$LINENO: WARNING: Sorry, $zlib_dir does not exist, checking usual places" >&5
7875 < echo "$as_me: WARNING: Sorry, $zlib_dir does not exist, checking usual places" >&2;}
7874 >    { $as_echo "$as_me:$LINENO: WARNING: Sorry, $zlib_dir does not exist, checking usual places" >&5
7875 > $as_echo "$as_me: WARNING: Sorry, $zlib_dir does not exist, checking usual places" >&2;}
7876 >        ZLIB_HOME=/usr/local
7877 >        if test ! -f "${ZLIB_HOME}/include/zlib.h"
7878 >        then
7879 >                ZLIB_HOME=/usr
7880 >        fi
7881    fi
7882   fi
5849
5850 ZLIB_HOME=/usr/local
5851 if test ! -f "${ZLIB_HOME}/include/zlib.h"
5852 then
5853        ZLIB_HOME=/usr
5854 fi
5855
7883   #
7884   # Locate zlib, if wanted
7885   #
7886   if test -n "${ZLIB_HOME}"
7887   then
7888          ZLIB_OLD_LDFLAGS=$LDFLAGS
7889 <        ZLIB_OLD_CPPFLAGS=$LDFLAGS
7889 >        ZLIB_OLD_CFLAGS=$CFLAGS
7890          LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib"
7891 <        CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include"
7891 >        CFLAGS="$CFLAGS -I${ZLIB_HOME}/include"
7892  
5866
7893          ac_ext=c
7894   ac_cpp='$CPP $CPPFLAGS'
7895   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7896   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7897   ac_compiler_gnu=$ac_cv_c_compiler_gnu
7898  
7899 <        echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
7900 < echo $ECHO_N "checking for inflateEnd in -lz... $ECHO_C" >&6
7899 >        { $as_echo "$as_me:$LINENO: checking for inflateEnd in -lz" >&5
7900 > $as_echo_n "checking for inflateEnd in -lz... " >&6; }
7901   if test "${ac_cv_lib_z_inflateEnd+set}" = set; then
7902 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7902 >  $as_echo_n "(cached) " >&6
7903   else
7904    ac_check_lib_save_LIBS=$LIBS
7905   LIBS="-lz  $LIBS"
# Line 5884 | Line 7910 | cat >>conftest.$ac_ext <<_ACEOF
7910   cat >>conftest.$ac_ext <<_ACEOF
7911   /* end confdefs.h.  */
7912  
7913 < /* Override any gcc2 internal prototype to avoid an error.  */
7913 > /* Override any GCC internal prototype to avoid an error.
7914 >   Use char because int might match the return type of a GCC
7915 >   builtin and then its argument prototype would still apply.  */
7916   #ifdef __cplusplus
7917   extern "C"
7918   #endif
5891 /* We use char because int might match the return type of a gcc2
5892   builtin and then its argument prototype would still apply.  */
7919   char inflateEnd ();
7920   #ifdef FC_DUMMY_MAIN
7921   #ifndef FC_DUMMY_MAIN_EQ_F77
# Line 5902 | Line 7928 | main ()
7928   int
7929   main ()
7930   {
7931 < inflateEnd ();
7931 > return inflateEnd ();
7932    ;
7933    return 0;
7934   }
7935   _ACEOF
7936   rm -f conftest.$ac_objext conftest$ac_exeext
7937 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7938 <  (eval $ac_link) 2>conftest.er1
7937 > if { (ac_try="$ac_link"
7938 > case "(($ac_try" in
7939 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7940 >  *) ac_try_echo=$ac_try;;
7941 > esac
7942 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7943 > $as_echo "$ac_try_echo") >&5
7944 >  (eval "$ac_link") 2>conftest.er1
7945    ac_status=$?
7946    grep -v '^ *+' conftest.er1 >conftest.err
7947    rm -f conftest.er1
7948    cat conftest.err >&5
7949 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7950 <  (exit $ac_status); } &&
7951 <         { ac_try='test -z "$ac_c_werror_flag"
7952 <                         || test ! -s conftest.err'
7953 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7954 <  (eval $ac_try) 2>&5
7955 <  ac_status=$?
7956 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5925 <  (exit $ac_status); }; } &&
5926 <         { ac_try='test -s conftest$ac_exeext'
5927 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5928 <  (eval $ac_try) 2>&5
5929 <  ac_status=$?
5930 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931 <  (exit $ac_status); }; }; then
7949 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7950 >  (exit $ac_status); } && {
7951 >         test -z "$ac_c_werror_flag" ||
7952 >         test ! -s conftest.err
7953 >       } && test -s conftest$ac_exeext && {
7954 >         test "$cross_compiling" = yes ||
7955 >         $as_test_x conftest$ac_exeext
7956 >       }; then
7957    ac_cv_lib_z_inflateEnd=yes
7958   else
7959 <  echo "$as_me: failed program was:" >&5
7959 >  $as_echo "$as_me: failed program was:" >&5
7960   sed 's/^/| /' conftest.$ac_ext >&5
7961  
7962 < ac_cv_lib_z_inflateEnd=no
7962 >        ac_cv_lib_z_inflateEnd=no
7963   fi
7964 < rm -f conftest.err conftest.$ac_objext \
7964 >
7965 > rm -rf conftest.dSYM
7966 > rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7967        conftest$ac_exeext conftest.$ac_ext
7968   LIBS=$ac_check_lib_save_LIBS
7969   fi
7970 < echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
7971 < echo "${ECHO_T}$ac_cv_lib_z_inflateEnd" >&6
7970 > { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_inflateEnd" >&5
7971 > $as_echo "$ac_cv_lib_z_inflateEnd" >&6; }
7972   if test $ac_cv_lib_z_inflateEnd = yes; then
7973    zlib_cv_libz=yes
7974   else
# Line 5949 | Line 7976 | fi
7976   fi
7977  
7978          if test "${ac_cv_header_zlib_h+set}" = set; then
7979 <  echo "$as_me:$LINENO: checking for zlib.h" >&5
7980 < echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
7979 >  { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
7980 > $as_echo_n "checking for zlib.h... " >&6; }
7981   if test "${ac_cv_header_zlib_h+set}" = set; then
7982 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7982 >  $as_echo_n "(cached) " >&6
7983   fi
7984 < echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
7985 < echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
7984 > { $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
7985 > $as_echo "$ac_cv_header_zlib_h" >&6; }
7986   else
7987    # Is the header compilable?
7988 < echo "$as_me:$LINENO: checking zlib.h usability" >&5
7989 < echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
7988 > { $as_echo "$as_me:$LINENO: checking zlib.h usability" >&5
7989 > $as_echo_n "checking zlib.h usability... " >&6; }
7990   cat >conftest.$ac_ext <<_ACEOF
7991   /* confdefs.h.  */
7992   _ACEOF
# Line 5970 | Line 7997 | rm -f conftest.$ac_objext
7997   #include <zlib.h>
7998   _ACEOF
7999   rm -f conftest.$ac_objext
8000 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8001 <  (eval $ac_compile) 2>conftest.er1
8000 > if { (ac_try="$ac_compile"
8001 > case "(($ac_try" in
8002 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8003 >  *) ac_try_echo=$ac_try;;
8004 > esac
8005 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8006 > $as_echo "$ac_try_echo") >&5
8007 >  (eval "$ac_compile") 2>conftest.er1
8008    ac_status=$?
8009    grep -v '^ *+' conftest.er1 >conftest.err
8010    rm -f conftest.er1
8011    cat conftest.err >&5
8012 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 <  (exit $ac_status); } &&
8014 <         { ac_try='test -z "$ac_c_werror_flag"
8015 <                         || test ! -s conftest.err'
8016 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5984 <  (eval $ac_try) 2>&5
5985 <  ac_status=$?
5986 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5987 <  (exit $ac_status); }; } &&
5988 <         { ac_try='test -s conftest.$ac_objext'
5989 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5990 <  (eval $ac_try) 2>&5
5991 <  ac_status=$?
5992 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5993 <  (exit $ac_status); }; }; then
8012 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 >  (exit $ac_status); } && {
8014 >         test -z "$ac_c_werror_flag" ||
8015 >         test ! -s conftest.err
8016 >       } && test -s conftest.$ac_objext; then
8017    ac_header_compiler=yes
8018   else
8019 <  echo "$as_me: failed program was:" >&5
8019 >  $as_echo "$as_me: failed program was:" >&5
8020   sed 's/^/| /' conftest.$ac_ext >&5
8021  
8022 < ac_header_compiler=no
8022 >        ac_header_compiler=no
8023   fi
6001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6002 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6003 echo "${ECHO_T}$ac_header_compiler" >&6
8024  
8025 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8026 + { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8027 + $as_echo "$ac_header_compiler" >&6; }
8028 +
8029   # Is the header present?
8030 < echo "$as_me:$LINENO: checking zlib.h presence" >&5
8031 < echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
8030 > { $as_echo "$as_me:$LINENO: checking zlib.h presence" >&5
8031 > $as_echo_n "checking zlib.h presence... " >&6; }
8032   cat >conftest.$ac_ext <<_ACEOF
8033   /* confdefs.h.  */
8034   _ACEOF
# Line 6013 | Line 8037 | _ACEOF
8037   /* end confdefs.h.  */
8038   #include <zlib.h>
8039   _ACEOF
8040 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8041 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8040 > if { (ac_try="$ac_cpp conftest.$ac_ext"
8041 > case "(($ac_try" in
8042 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8043 >  *) ac_try_echo=$ac_try;;
8044 > esac
8045 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8046 > $as_echo "$ac_try_echo") >&5
8047 >  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8048    ac_status=$?
8049    grep -v '^ *+' conftest.er1 >conftest.err
8050    rm -f conftest.er1
8051    cat conftest.err >&5
8052 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8053 <  (exit $ac_status); } >/dev/null; then
8054 <  if test -s conftest.err; then
8055 <    ac_cpp_err=$ac_c_preproc_warn_flag
8056 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6027 <  else
6028 <    ac_cpp_err=
6029 <  fi
6030 < else
6031 <  ac_cpp_err=yes
6032 < fi
6033 < if test -z "$ac_cpp_err"; then
8052 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8053 >  (exit $ac_status); } >/dev/null && {
8054 >         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8055 >         test ! -s conftest.err
8056 >       }; then
8057    ac_header_preproc=yes
8058   else
8059 <  echo "$as_me: failed program was:" >&5
8059 >  $as_echo "$as_me: failed program was:" >&5
8060   sed 's/^/| /' conftest.$ac_ext >&5
8061  
8062    ac_header_preproc=no
8063   fi
8064 +
8065   rm -f conftest.err conftest.$ac_ext
8066 < echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8067 < echo "${ECHO_T}$ac_header_preproc" >&6
8066 > { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8067 > $as_echo "$ac_header_preproc" >&6; }
8068  
8069   # So?  What about this header?
8070   case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8071    yes:no: )
8072 <    { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
8073 < echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8074 <    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
8075 < echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
8072 >    { $as_echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
8073 > $as_echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8074 >    { $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
8075 > $as_echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
8076      ac_header_preproc=yes
8077      ;;
8078    no:yes:* )
8079 <    { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
8080 < echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
8081 <    { echo "$as_me:$LINENO: WARNING: zlib.h:     check for missing prerequisite headers?" >&5
8082 < echo "$as_me: WARNING: zlib.h:     check for missing prerequisite headers?" >&2;}
8083 <    { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
8084 < echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
8085 <    { echo "$as_me:$LINENO: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&5
8086 < echo "$as_me: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
8087 <    { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
8088 < echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
8089 <    { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
8090 < echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
8091 <    (
6068 <      cat <<\_ASBOX
8079 >    { $as_echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
8080 > $as_echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
8081 >    { $as_echo "$as_me:$LINENO: WARNING: zlib.h:     check for missing prerequisite headers?" >&5
8082 > $as_echo "$as_me: WARNING: zlib.h:     check for missing prerequisite headers?" >&2;}
8083 >    { $as_echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
8084 > $as_echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
8085 >    { $as_echo "$as_me:$LINENO: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&5
8086 > $as_echo "$as_me: WARNING: zlib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
8087 >    { $as_echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
8088 > $as_echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
8089 >    { $as_echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
8090 > $as_echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
8091 >    ( cat <<\_ASBOX
8092   ## ------------------------------ ##
8093   ## Report this to gezelter@nd.edu ##
8094   ## ------------------------------ ##
8095   _ASBOX
8096 <    ) |
6074 <      sed "s/^/$as_me: WARNING:     /" >&2
8096 >     ) | sed "s/^/$as_me: WARNING:     /" >&2
8097      ;;
8098   esac
8099 < echo "$as_me:$LINENO: checking for zlib.h" >&5
8100 < echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
8099 > { $as_echo "$as_me:$LINENO: checking for zlib.h" >&5
8100 > $as_echo_n "checking for zlib.h... " >&6; }
8101   if test "${ac_cv_header_zlib_h+set}" = set; then
8102 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8102 >  $as_echo_n "(cached) " >&6
8103   else
8104    ac_cv_header_zlib_h=$ac_header_preproc
8105   fi
8106 < echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
8107 < echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
8106 > { $as_echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
8107 > $as_echo "$ac_cv_header_zlib_h" >&6; }
8108  
8109   fi
8110   if test $ac_cv_header_zlib_h = yes; then
# Line 6114 | Line 8136 | _ACEOF
8136                  ZLIB_LIB_DIR="${ZLIB_HOME}/lib"
8137                  ZLIB="-lz"
8138          else
8139 <                echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
8140 < echo $ECHO_N "checking zlib in ${ZLIB_HOME}... $ECHO_C" >&6
8139 >                { $as_echo "$as_me:$LINENO: checking zlib in ${ZLIB_HOME}" >&5
8140 > $as_echo_n "checking zlib in ${ZLIB_HOME}... " >&6; }
8141                  ZLIB_INC_DIR=
8142                  ZLIB_LIB_DIR=
8143                  ZLIB=
8144                  LDFLAGS="$ZLIB_OLD_LDFLAGS"
8145 <                CPPFLAGS="$ZLIB_OLD_CPPFLAGS"
8146 <                echo "$as_me:$LINENO: result: failed" >&5
8147 < echo "${ECHO_T}failed" >&6
8145 >                CFLAGS="$ZLIB_OLD_CFLAGS"
8146 >                { $as_echo "$as_me:$LINENO: result: failed" >&5
8147 > $as_echo "failed" >&6; }
8148                  echo ""
8149                  echo "*********************************************************"
8150                  echo "* WARNING: Could not find a working zlib installation   *"
# Line 6144 | Line 8166 | fi
8166   # Handle user hints
8167   #
8168  
8169 < # Check whether --with-fftw or --without-fftw was given.
8169 > # Check whether --with-fftw was given.
8170   if test "${with_fftw+set}" = set; then
8171 <  withval="$with_fftw"
6150 <  fftw_dir="$withval"
8171 >  withval=$with_fftw; fftw_dir="$withval"
8172   else
8173 <                fftw_dir="not_set"
6153 < fi;
6154 < if test "$fftw_dir" != "no"; then
6155 <
6156 < if test "$fftw_dir" != "not_set" ; then
6157 <  if test -d "$fftw_dir"
6158 <  then
6159 <    FFTW_HOME="$fftw_dir"
6160 <  else
6161 <    { echo "$as_me:$LINENO: WARNING: Sorry, $fftw_dir does not exist, checking usual places" >&5
6162 < echo "$as_me: WARNING: Sorry, $fftw_dir does not exist, checking usual places" >&2;}
6163 <  fi
8173 >             fftw_dir="not_set"
8174   fi
8175  
8176 < FFTW_HOME=/usr/local
8177 < if test ! -f "${FFTW_HOME}/include/fftw3.h" -o -f "${FFTW_HOME}/include/fftw.h" -o  -f "${FFTW_HOME}/include/dfftw.h"
8178 < then
8176 > if test "$fftw_dir" != "no"; then
8177 >  if test "$fftw_dir" != "not_set" ; then
8178 >    if test -d "$fftw_dir"; then
8179 >      FFTW_HOME="$fftw_dir"
8180 >    else
8181 >      { $as_echo "$as_me:$LINENO: WARNING: Sorry, $fftw_dir does not exist, checking usual places" >&5
8182 > $as_echo "$as_me: WARNING: Sorry, $fftw_dir does not exist, checking usual places" >&2;}
8183 >      FFTW_HOME=/usr/local
8184 >      if test ! -f "${FFTW_HOME}/include/fftw3.h" -o -f "${FFTW_HOME}/include/fftw.h" -o  -f "${FFTW_HOME}/include/dfftw.h"; then
8185          FFTW_HOME=/usr
8186 < fi
8186 >      fi
8187 >    fi
8188 >    #
8189 >    # Locate fftw, if wanted
8190 >    #
8191 >    if test -n "${FFTW_HOME}"; then
8192 >      FFTW_OLD_LDFLAGS=$LDFLAGS
8193 >      FFTW_OLD_CFLAGS=$CFLAGS
8194 >      LDFLAGS="$LDFLAGS -L${FFTW_HOME}/lib"
8195 >      CFLAGS="$CFLAGS -I${FFTW_HOME}/include"
8196  
8197 < #
6173 < # Locate fftw, if wanted
6174 < #
6175 < if test -n "${FFTW_HOME}"
6176 < then
6177 <        FFTW_OLD_LDFLAGS=$LDFLAGS
6178 <        FFTW_OLD_CPPFLAGS=$LDFLAGS
6179 <        LDFLAGS="$LDFLAGS -L${FFTW_HOME}/lib"
6180 <        CPPFLAGS="$CPPFLAGS -I${FFTW_HOME}/include"
6181 <
6182 <
6183 <        ac_ext=c
8197 >      ac_ext=c
8198   ac_cpp='$CPP $CPPFLAGS'
8199   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8200   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8201   ac_compiler_gnu=$ac_cv_c_compiler_gnu
8202  
8203 <        echo "$as_me:$LINENO: checking for fftw_execute in -lfftw3" >&5
8204 < echo $ECHO_N "checking for fftw_execute in -lfftw3... $ECHO_C" >&6
8203 >      { $as_echo "$as_me:$LINENO: checking for fftw_execute in -lfftw3" >&5
8204 > $as_echo_n "checking for fftw_execute in -lfftw3... " >&6; }
8205   if test "${ac_cv_lib_fftw3_fftw_execute+set}" = set; then
8206 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8206 >  $as_echo_n "(cached) " >&6
8207   else
8208    ac_check_lib_save_LIBS=$LIBS
8209   LIBS="-lfftw3  $LIBS"
# Line 6200 | Line 8214 | cat >>conftest.$ac_ext <<_ACEOF
8214   cat >>conftest.$ac_ext <<_ACEOF
8215   /* end confdefs.h.  */
8216  
8217 < /* Override any gcc2 internal prototype to avoid an error.  */
8217 > /* Override any GCC internal prototype to avoid an error.
8218 >   Use char because int might match the return type of a GCC
8219 >   builtin and then its argument prototype would still apply.  */
8220   #ifdef __cplusplus
8221   extern "C"
8222   #endif
6207 /* We use char because int might match the return type of a gcc2
6208   builtin and then its argument prototype would still apply.  */
8223   char fftw_execute ();
8224   #ifdef FC_DUMMY_MAIN
8225   #ifndef FC_DUMMY_MAIN_EQ_F77
# Line 6218 | Line 8232 | main ()
8232   int
8233   main ()
8234   {
8235 < fftw_execute ();
8235 > return fftw_execute ();
8236    ;
8237    return 0;
8238   }
8239   _ACEOF
8240   rm -f conftest.$ac_objext conftest$ac_exeext
8241 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8242 <  (eval $ac_link) 2>conftest.er1
8241 > if { (ac_try="$ac_link"
8242 > case "(($ac_try" in
8243 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8244 >  *) ac_try_echo=$ac_try;;
8245 > esac
8246 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8247 > $as_echo "$ac_try_echo") >&5
8248 >  (eval "$ac_link") 2>conftest.er1
8249    ac_status=$?
8250    grep -v '^ *+' conftest.er1 >conftest.err
8251    rm -f conftest.er1
8252    cat conftest.err >&5
8253 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 <  (exit $ac_status); } &&
8255 <         { ac_try='test -z "$ac_c_werror_flag"
8256 <                         || test ! -s conftest.err'
8257 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8258 <  (eval $ac_try) 2>&5
8259 <  ac_status=$?
8260 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6241 <  (exit $ac_status); }; } &&
6242 <         { ac_try='test -s conftest$ac_exeext'
6243 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6244 <  (eval $ac_try) 2>&5
6245 <  ac_status=$?
6246 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6247 <  (exit $ac_status); }; }; then
8253 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 >  (exit $ac_status); } && {
8255 >         test -z "$ac_c_werror_flag" ||
8256 >         test ! -s conftest.err
8257 >       } && test -s conftest$ac_exeext && {
8258 >         test "$cross_compiling" = yes ||
8259 >         $as_test_x conftest$ac_exeext
8260 >       }; then
8261    ac_cv_lib_fftw3_fftw_execute=yes
8262   else
8263 <  echo "$as_me: failed program was:" >&5
8263 >  $as_echo "$as_me: failed program was:" >&5
8264   sed 's/^/| /' conftest.$ac_ext >&5
8265  
8266 < ac_cv_lib_fftw3_fftw_execute=no
8266 >        ac_cv_lib_fftw3_fftw_execute=no
8267   fi
8268 < rm -f conftest.err conftest.$ac_objext \
8268 >
8269 > rm -rf conftest.dSYM
8270 > rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8271        conftest$ac_exeext conftest.$ac_ext
8272   LIBS=$ac_check_lib_save_LIBS
8273   fi
8274 < echo "$as_me:$LINENO: result: $ac_cv_lib_fftw3_fftw_execute" >&5
8275 < echo "${ECHO_T}$ac_cv_lib_fftw3_fftw_execute" >&6
8274 > { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_fftw3_fftw_execute" >&5
8275 > $as_echo "$ac_cv_lib_fftw3_fftw_execute" >&6; }
8276   if test $ac_cv_lib_fftw3_fftw_execute = yes; then
8277    fftw_cv_libfftw3=yes
8278   else
8279    fftw_cv_libfftw3=no
8280   fi
8281  
8282 <        if test "${ac_cv_header_fftw3_h+set}" = set; then
8283 <  echo "$as_me:$LINENO: checking for fftw3.h" >&5
8284 < echo $ECHO_N "checking for fftw3.h... $ECHO_C" >&6
8282 >      if test "${ac_cv_header_fftw3_h+set}" = set; then
8283 >  { $as_echo "$as_me:$LINENO: checking for fftw3.h" >&5
8284 > $as_echo_n "checking for fftw3.h... " >&6; }
8285   if test "${ac_cv_header_fftw3_h+set}" = set; then
8286 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8286 >  $as_echo_n "(cached) " >&6
8287   fi
8288 < echo "$as_me:$LINENO: result: $ac_cv_header_fftw3_h" >&5
8289 < echo "${ECHO_T}$ac_cv_header_fftw3_h" >&6
8288 > { $as_echo "$as_me:$LINENO: result: $ac_cv_header_fftw3_h" >&5
8289 > $as_echo "$ac_cv_header_fftw3_h" >&6; }
8290   else
8291    # Is the header compilable?
8292 < echo "$as_me:$LINENO: checking fftw3.h usability" >&5
8293 < echo $ECHO_N "checking fftw3.h usability... $ECHO_C" >&6
8292 > { $as_echo "$as_me:$LINENO: checking fftw3.h usability" >&5
8293 > $as_echo_n "checking fftw3.h usability... " >&6; }
8294   cat >conftest.$ac_ext <<_ACEOF
8295   /* confdefs.h.  */
8296   _ACEOF
# Line 6286 | Line 8301 | rm -f conftest.$ac_objext
8301   #include <fftw3.h>
8302   _ACEOF
8303   rm -f conftest.$ac_objext
8304 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8305 <  (eval $ac_compile) 2>conftest.er1
8304 > if { (ac_try="$ac_compile"
8305 > case "(($ac_try" in
8306 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8307 >  *) ac_try_echo=$ac_try;;
8308 > esac
8309 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8310 > $as_echo "$ac_try_echo") >&5
8311 >  (eval "$ac_compile") 2>conftest.er1
8312    ac_status=$?
8313    grep -v '^ *+' conftest.er1 >conftest.err
8314    rm -f conftest.er1
8315    cat conftest.err >&5
8316 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8317 <  (exit $ac_status); } &&
8318 <         { ac_try='test -z "$ac_c_werror_flag"
8319 <                         || test ! -s conftest.err'
8320 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6300 <  (eval $ac_try) 2>&5
6301 <  ac_status=$?
6302 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6303 <  (exit $ac_status); }; } &&
6304 <         { ac_try='test -s conftest.$ac_objext'
6305 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6306 <  (eval $ac_try) 2>&5
6307 <  ac_status=$?
6308 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6309 <  (exit $ac_status); }; }; then
8316 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8317 >  (exit $ac_status); } && {
8318 >         test -z "$ac_c_werror_flag" ||
8319 >         test ! -s conftest.err
8320 >       } && test -s conftest.$ac_objext; then
8321    ac_header_compiler=yes
8322   else
8323 <  echo "$as_me: failed program was:" >&5
8323 >  $as_echo "$as_me: failed program was:" >&5
8324   sed 's/^/| /' conftest.$ac_ext >&5
8325  
8326 < ac_header_compiler=no
8326 >        ac_header_compiler=no
8327   fi
6317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6318 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6319 echo "${ECHO_T}$ac_header_compiler" >&6
8328  
8329 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8330 + { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8331 + $as_echo "$ac_header_compiler" >&6; }
8332 +
8333   # Is the header present?
8334 < echo "$as_me:$LINENO: checking fftw3.h presence" >&5
8335 < echo $ECHO_N "checking fftw3.h presence... $ECHO_C" >&6
8334 > { $as_echo "$as_me:$LINENO: checking fftw3.h presence" >&5
8335 > $as_echo_n "checking fftw3.h presence... " >&6; }
8336   cat >conftest.$ac_ext <<_ACEOF
8337   /* confdefs.h.  */
8338   _ACEOF
# Line 6329 | Line 8341 | _ACEOF
8341   /* end confdefs.h.  */
8342   #include <fftw3.h>
8343   _ACEOF
8344 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8345 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8344 > if { (ac_try="$ac_cpp conftest.$ac_ext"
8345 > case "(($ac_try" in
8346 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8347 >  *) ac_try_echo=$ac_try;;
8348 > esac
8349 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8350 > $as_echo "$ac_try_echo") >&5
8351 >  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8352    ac_status=$?
8353    grep -v '^ *+' conftest.er1 >conftest.err
8354    rm -f conftest.er1
8355    cat conftest.err >&5
8356 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8357 <  (exit $ac_status); } >/dev/null; then
8358 <  if test -s conftest.err; then
8359 <    ac_cpp_err=$ac_c_preproc_warn_flag
8360 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6343 <  else
6344 <    ac_cpp_err=
6345 <  fi
6346 < else
6347 <  ac_cpp_err=yes
6348 < fi
6349 < if test -z "$ac_cpp_err"; then
8356 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8357 >  (exit $ac_status); } >/dev/null && {
8358 >         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8359 >         test ! -s conftest.err
8360 >       }; then
8361    ac_header_preproc=yes
8362   else
8363 <  echo "$as_me: failed program was:" >&5
8363 >  $as_echo "$as_me: failed program was:" >&5
8364   sed 's/^/| /' conftest.$ac_ext >&5
8365  
8366    ac_header_preproc=no
8367   fi
8368 +
8369   rm -f conftest.err conftest.$ac_ext
8370 < echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8371 < echo "${ECHO_T}$ac_header_preproc" >&6
8370 > { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8371 > $as_echo "$ac_header_preproc" >&6; }
8372  
8373   # So?  What about this header?
8374   case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8375    yes:no: )
8376 <    { echo "$as_me:$LINENO: WARNING: fftw3.h: accepted by the compiler, rejected by the preprocessor!" >&5
8377 < echo "$as_me: WARNING: fftw3.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8378 <    { echo "$as_me:$LINENO: WARNING: fftw3.h: proceeding with the compiler's result" >&5
8379 < echo "$as_me: WARNING: fftw3.h: proceeding with the compiler's result" >&2;}
8376 >    { $as_echo "$as_me:$LINENO: WARNING: fftw3.h: accepted by the compiler, rejected by the preprocessor!" >&5
8377 > $as_echo "$as_me: WARNING: fftw3.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8378 >    { $as_echo "$as_me:$LINENO: WARNING: fftw3.h: proceeding with the compiler's result" >&5
8379 > $as_echo "$as_me: WARNING: fftw3.h: proceeding with the compiler's result" >&2;}
8380      ac_header_preproc=yes
8381      ;;
8382    no:yes:* )
8383 <    { echo "$as_me:$LINENO: WARNING: fftw3.h: present but cannot be compiled" >&5
8384 < echo "$as_me: WARNING: fftw3.h: present but cannot be compiled" >&2;}
8385 <    { echo "$as_me:$LINENO: WARNING: fftw3.h:     check for missing prerequisite headers?" >&5
8386 < echo "$as_me: WARNING: fftw3.h:     check for missing prerequisite headers?" >&2;}
8387 <    { echo "$as_me:$LINENO: WARNING: fftw3.h: see the Autoconf documentation" >&5
8388 < echo "$as_me: WARNING: fftw3.h: see the Autoconf documentation" >&2;}
8389 <    { echo "$as_me:$LINENO: WARNING: fftw3.h:     section \"Present But Cannot Be Compiled\"" >&5
8390 < echo "$as_me: WARNING: fftw3.h:     section \"Present But Cannot Be Compiled\"" >&2;}
8391 <    { echo "$as_me:$LINENO: WARNING: fftw3.h: proceeding with the preprocessor's result" >&5
8392 < echo "$as_me: WARNING: fftw3.h: proceeding with the preprocessor's result" >&2;}
8393 <    { echo "$as_me:$LINENO: WARNING: fftw3.h: in the future, the compiler will take precedence" >&5
8394 < echo "$as_me: WARNING: fftw3.h: in the future, the compiler will take precedence" >&2;}
8395 <    (
6384 <      cat <<\_ASBOX
8383 >    { $as_echo "$as_me:$LINENO: WARNING: fftw3.h: present but cannot be compiled" >&5
8384 > $as_echo "$as_me: WARNING: fftw3.h: present but cannot be compiled" >&2;}
8385 >    { $as_echo "$as_me:$LINENO: WARNING: fftw3.h:     check for missing prerequisite headers?" >&5
8386 > $as_echo "$as_me: WARNING: fftw3.h:     check for missing prerequisite headers?" >&2;}
8387 >    { $as_echo "$as_me:$LINENO: WARNING: fftw3.h: see the Autoconf documentation" >&5
8388 > $as_echo "$as_me: WARNING: fftw3.h: see the Autoconf documentation" >&2;}
8389 >    { $as_echo "$as_me:$LINENO: WARNING: fftw3.h:     section \"Present But Cannot Be Compiled\"" >&5
8390 > $as_echo "$as_me: WARNING: fftw3.h:     section \"Present But Cannot Be Compiled\"" >&2;}
8391 >    { $as_echo "$as_me:$LINENO: WARNING: fftw3.h: proceeding with the preprocessor's result" >&5
8392 > $as_echo "$as_me: WARNING: fftw3.h: proceeding with the preprocessor's result" >&2;}
8393 >    { $as_echo "$as_me:$LINENO: WARNING: fftw3.h: in the future, the compiler will take precedence" >&5
8394 > $as_echo "$as_me: WARNING: fftw3.h: in the future, the compiler will take precedence" >&2;}
8395 >    ( cat <<\_ASBOX
8396   ## ------------------------------ ##
8397   ## Report this to gezelter@nd.edu ##
8398   ## ------------------------------ ##
8399   _ASBOX
8400 <    ) |
6390 <      sed "s/^/$as_me: WARNING:     /" >&2
8400 >     ) | sed "s/^/$as_me: WARNING:     /" >&2
8401      ;;
8402   esac
8403 < echo "$as_me:$LINENO: checking for fftw3.h" >&5
8404 < echo $ECHO_N "checking for fftw3.h... $ECHO_C" >&6
8403 > { $as_echo "$as_me:$LINENO: checking for fftw3.h" >&5
8404 > $as_echo_n "checking for fftw3.h... " >&6; }
8405   if test "${ac_cv_header_fftw3_h+set}" = set; then
8406 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8406 >  $as_echo_n "(cached) " >&6
8407   else
8408    ac_cv_header_fftw3_h=$ac_header_preproc
8409   fi
8410 < echo "$as_me:$LINENO: result: $ac_cv_header_fftw3_h" >&5
8411 < echo "${ECHO_T}$ac_cv_header_fftw3_h" >&6
8410 > { $as_echo "$as_me:$LINENO: result: $ac_cv_header_fftw3_h" >&5
8411 > $as_echo "$ac_cv_header_fftw3_h" >&6; }
8412  
8413   fi
8414   if test $ac_cv_header_fftw3_h = yes; then
# Line 6408 | Line 8418 | fi
8418   fi
8419  
8420  
8421 <        if test "$fftw_cv_libfftw3" = "no" -o "$fftw_cv_fftw3_h" = "no"
8422 <        then
8423 <                echo "$as_me:$LINENO: checking for fftwnd_one in -lfftw" >&5
6414 < echo $ECHO_N "checking for fftwnd_one in -lfftw... $ECHO_C" >&6
8421 >      if test "$fftw_cv_libfftw3" = "no" -o "$fftw_cv_fftw3_h" = "no"; then
8422 >        { $as_echo "$as_me:$LINENO: checking for fftwnd_one in -lfftw" >&5
8423 > $as_echo_n "checking for fftwnd_one in -lfftw... " >&6; }
8424   if test "${ac_cv_lib_fftw_fftwnd_one+set}" = set; then
8425 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8425 >  $as_echo_n "(cached) " >&6
8426   else
8427    ac_check_lib_save_LIBS=$LIBS
8428   LIBS="-lfftw  $LIBS"
# Line 6424 | Line 8433 | cat >>conftest.$ac_ext <<_ACEOF
8433   cat >>conftest.$ac_ext <<_ACEOF
8434   /* end confdefs.h.  */
8435  
8436 < /* Override any gcc2 internal prototype to avoid an error.  */
8436 > /* Override any GCC internal prototype to avoid an error.
8437 >   Use char because int might match the return type of a GCC
8438 >   builtin and then its argument prototype would still apply.  */
8439   #ifdef __cplusplus
8440   extern "C"
8441   #endif
6431 /* We use char because int might match the return type of a gcc2
6432   builtin and then its argument prototype would still apply.  */
8442   char fftwnd_one ();
8443   #ifdef FC_DUMMY_MAIN
8444   #ifndef FC_DUMMY_MAIN_EQ_F77
# Line 6442 | Line 8451 | main ()
8451   int
8452   main ()
8453   {
8454 < fftwnd_one ();
8454 > return fftwnd_one ();
8455    ;
8456    return 0;
8457   }
8458   _ACEOF
8459   rm -f conftest.$ac_objext conftest$ac_exeext
8460 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8461 <  (eval $ac_link) 2>conftest.er1
8460 > if { (ac_try="$ac_link"
8461 > case "(($ac_try" in
8462 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8463 >  *) ac_try_echo=$ac_try;;
8464 > esac
8465 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8466 > $as_echo "$ac_try_echo") >&5
8467 >  (eval "$ac_link") 2>conftest.er1
8468    ac_status=$?
8469    grep -v '^ *+' conftest.er1 >conftest.err
8470    rm -f conftest.er1
8471    cat conftest.err >&5
8472 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473 <  (exit $ac_status); } &&
8474 <         { ac_try='test -z "$ac_c_werror_flag"
8475 <                         || test ! -s conftest.err'
8476 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8477 <  (eval $ac_try) 2>&5
8478 <  ac_status=$?
8479 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465 <  (exit $ac_status); }; } &&
6466 <         { ac_try='test -s conftest$ac_exeext'
6467 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6468 <  (eval $ac_try) 2>&5
6469 <  ac_status=$?
6470 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6471 <  (exit $ac_status); }; }; then
8472 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473 >  (exit $ac_status); } && {
8474 >         test -z "$ac_c_werror_flag" ||
8475 >         test ! -s conftest.err
8476 >       } && test -s conftest$ac_exeext && {
8477 >         test "$cross_compiling" = yes ||
8478 >         $as_test_x conftest$ac_exeext
8479 >       }; then
8480    ac_cv_lib_fftw_fftwnd_one=yes
8481   else
8482 <  echo "$as_me: failed program was:" >&5
8482 >  $as_echo "$as_me: failed program was:" >&5
8483   sed 's/^/| /' conftest.$ac_ext >&5
8484  
8485 < ac_cv_lib_fftw_fftwnd_one=no
8485 >        ac_cv_lib_fftw_fftwnd_one=no
8486   fi
8487 < rm -f conftest.err conftest.$ac_objext \
8487 >
8488 > rm -rf conftest.dSYM
8489 > rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8490        conftest$ac_exeext conftest.$ac_ext
8491   LIBS=$ac_check_lib_save_LIBS
8492   fi
8493 < echo "$as_me:$LINENO: result: $ac_cv_lib_fftw_fftwnd_one" >&5
8494 < echo "${ECHO_T}$ac_cv_lib_fftw_fftwnd_one" >&6
8493 > { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_fftw_fftwnd_one" >&5
8494 > $as_echo "$ac_cv_lib_fftw_fftwnd_one" >&6; }
8495   if test $ac_cv_lib_fftw_fftwnd_one = yes; then
8496    fftw_cv_libfftw=yes
8497   else
8498    fftw_cv_libfftw=no
8499   fi
8500  
8501 <                if test "${ac_cv_header_fftw_h+set}" = set; then
8502 <  echo "$as_me:$LINENO: checking for fftw.h" >&5
8503 < echo $ECHO_N "checking for fftw.h... $ECHO_C" >&6
8501 >        if test "${ac_cv_header_fftw_h+set}" = set; then
8502 >  { $as_echo "$as_me:$LINENO: checking for fftw.h" >&5
8503 > $as_echo_n "checking for fftw.h... " >&6; }
8504   if test "${ac_cv_header_fftw_h+set}" = set; then
8505 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8505 >  $as_echo_n "(cached) " >&6
8506   fi
8507 < echo "$as_me:$LINENO: result: $ac_cv_header_fftw_h" >&5
8508 < echo "${ECHO_T}$ac_cv_header_fftw_h" >&6
8507 > { $as_echo "$as_me:$LINENO: result: $ac_cv_header_fftw_h" >&5
8508 > $as_echo "$ac_cv_header_fftw_h" >&6; }
8509   else
8510    # Is the header compilable?
8511 < echo "$as_me:$LINENO: checking fftw.h usability" >&5
8512 < echo $ECHO_N "checking fftw.h usability... $ECHO_C" >&6
8511 > { $as_echo "$as_me:$LINENO: checking fftw.h usability" >&5
8512 > $as_echo_n "checking fftw.h usability... " >&6; }
8513   cat >conftest.$ac_ext <<_ACEOF
8514   /* confdefs.h.  */
8515   _ACEOF
# Line 6510 | Line 8520 | rm -f conftest.$ac_objext
8520   #include <fftw.h>
8521   _ACEOF
8522   rm -f conftest.$ac_objext
8523 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8524 <  (eval $ac_compile) 2>conftest.er1
8523 > if { (ac_try="$ac_compile"
8524 > case "(($ac_try" in
8525 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8526 >  *) ac_try_echo=$ac_try;;
8527 > esac
8528 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8529 > $as_echo "$ac_try_echo") >&5
8530 >  (eval "$ac_compile") 2>conftest.er1
8531    ac_status=$?
8532    grep -v '^ *+' conftest.er1 >conftest.err
8533    rm -f conftest.er1
8534    cat conftest.err >&5
8535 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 <  (exit $ac_status); } &&
8537 <         { ac_try='test -z "$ac_c_werror_flag"
8538 <                         || test ! -s conftest.err'
8539 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6524 <  (eval $ac_try) 2>&5
6525 <  ac_status=$?
6526 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6527 <  (exit $ac_status); }; } &&
6528 <         { ac_try='test -s conftest.$ac_objext'
6529 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6530 <  (eval $ac_try) 2>&5
6531 <  ac_status=$?
6532 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6533 <  (exit $ac_status); }; }; then
8535 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8536 >  (exit $ac_status); } && {
8537 >         test -z "$ac_c_werror_flag" ||
8538 >         test ! -s conftest.err
8539 >       } && test -s conftest.$ac_objext; then
8540    ac_header_compiler=yes
8541   else
8542 <  echo "$as_me: failed program was:" >&5
8542 >  $as_echo "$as_me: failed program was:" >&5
8543   sed 's/^/| /' conftest.$ac_ext >&5
8544  
8545 < ac_header_compiler=no
8545 >        ac_header_compiler=no
8546   fi
6541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6542 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6543 echo "${ECHO_T}$ac_header_compiler" >&6
8547  
8548 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8549 + { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8550 + $as_echo "$ac_header_compiler" >&6; }
8551 +
8552   # Is the header present?
8553 < echo "$as_me:$LINENO: checking fftw.h presence" >&5
8554 < echo $ECHO_N "checking fftw.h presence... $ECHO_C" >&6
8553 > { $as_echo "$as_me:$LINENO: checking fftw.h presence" >&5
8554 > $as_echo_n "checking fftw.h presence... " >&6; }
8555   cat >conftest.$ac_ext <<_ACEOF
8556   /* confdefs.h.  */
8557   _ACEOF
# Line 6553 | Line 8560 | _ACEOF
8560   /* end confdefs.h.  */
8561   #include <fftw.h>
8562   _ACEOF
8563 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8564 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8563 > if { (ac_try="$ac_cpp conftest.$ac_ext"
8564 > case "(($ac_try" in
8565 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8566 >  *) ac_try_echo=$ac_try;;
8567 > esac
8568 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8569 > $as_echo "$ac_try_echo") >&5
8570 >  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8571    ac_status=$?
8572    grep -v '^ *+' conftest.er1 >conftest.err
8573    rm -f conftest.er1
8574    cat conftest.err >&5
8575 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8576 <  (exit $ac_status); } >/dev/null; then
8577 <  if test -s conftest.err; then
8578 <    ac_cpp_err=$ac_c_preproc_warn_flag
8579 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6567 <  else
6568 <    ac_cpp_err=
6569 <  fi
6570 < else
6571 <  ac_cpp_err=yes
6572 < fi
6573 < if test -z "$ac_cpp_err"; then
8575 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8576 >  (exit $ac_status); } >/dev/null && {
8577 >         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8578 >         test ! -s conftest.err
8579 >       }; then
8580    ac_header_preproc=yes
8581   else
8582 <  echo "$as_me: failed program was:" >&5
8582 >  $as_echo "$as_me: failed program was:" >&5
8583   sed 's/^/| /' conftest.$ac_ext >&5
8584  
8585    ac_header_preproc=no
8586   fi
8587 +
8588   rm -f conftest.err conftest.$ac_ext
8589 < echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8590 < echo "${ECHO_T}$ac_header_preproc" >&6
8589 > { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8590 > $as_echo "$ac_header_preproc" >&6; }
8591  
8592   # So?  What about this header?
8593   case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8594    yes:no: )
8595 <    { echo "$as_me:$LINENO: WARNING: fftw.h: accepted by the compiler, rejected by the preprocessor!" >&5
8596 < echo "$as_me: WARNING: fftw.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8597 <    { echo "$as_me:$LINENO: WARNING: fftw.h: proceeding with the compiler's result" >&5
8598 < echo "$as_me: WARNING: fftw.h: proceeding with the compiler's result" >&2;}
8595 >    { $as_echo "$as_me:$LINENO: WARNING: fftw.h: accepted by the compiler, rejected by the preprocessor!" >&5
8596 > $as_echo "$as_me: WARNING: fftw.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8597 >    { $as_echo "$as_me:$LINENO: WARNING: fftw.h: proceeding with the compiler's result" >&5
8598 > $as_echo "$as_me: WARNING: fftw.h: proceeding with the compiler's result" >&2;}
8599      ac_header_preproc=yes
8600      ;;
8601    no:yes:* )
8602 <    { echo "$as_me:$LINENO: WARNING: fftw.h: present but cannot be compiled" >&5
8603 < echo "$as_me: WARNING: fftw.h: present but cannot be compiled" >&2;}
8604 <    { echo "$as_me:$LINENO: WARNING: fftw.h:     check for missing prerequisite headers?" >&5
8605 < echo "$as_me: WARNING: fftw.h:     check for missing prerequisite headers?" >&2;}
8606 <    { echo "$as_me:$LINENO: WARNING: fftw.h: see the Autoconf documentation" >&5
8607 < echo "$as_me: WARNING: fftw.h: see the Autoconf documentation" >&2;}
8608 <    { echo "$as_me:$LINENO: WARNING: fftw.h:     section \"Present But Cannot Be Compiled\"" >&5
8609 < echo "$as_me: WARNING: fftw.h:     section \"Present But Cannot Be Compiled\"" >&2;}
8610 <    { echo "$as_me:$LINENO: WARNING: fftw.h: proceeding with the preprocessor's result" >&5
8611 < echo "$as_me: WARNING: fftw.h: proceeding with the preprocessor's result" >&2;}
8612 <    { echo "$as_me:$LINENO: WARNING: fftw.h: in the future, the compiler will take precedence" >&5
8613 < echo "$as_me: WARNING: fftw.h: in the future, the compiler will take precedence" >&2;}
8614 <    (
6608 <      cat <<\_ASBOX
8602 >    { $as_echo "$as_me:$LINENO: WARNING: fftw.h: present but cannot be compiled" >&5
8603 > $as_echo "$as_me: WARNING: fftw.h: present but cannot be compiled" >&2;}
8604 >    { $as_echo "$as_me:$LINENO: WARNING: fftw.h:     check for missing prerequisite headers?" >&5
8605 > $as_echo "$as_me: WARNING: fftw.h:     check for missing prerequisite headers?" >&2;}
8606 >    { $as_echo "$as_me:$LINENO: WARNING: fftw.h: see the Autoconf documentation" >&5
8607 > $as_echo "$as_me: WARNING: fftw.h: see the Autoconf documentation" >&2;}
8608 >    { $as_echo "$as_me:$LINENO: WARNING: fftw.h:     section \"Present But Cannot Be Compiled\"" >&5
8609 > $as_echo "$as_me: WARNING: fftw.h:     section \"Present But Cannot Be Compiled\"" >&2;}
8610 >    { $as_echo "$as_me:$LINENO: WARNING: fftw.h: proceeding with the preprocessor's result" >&5
8611 > $as_echo "$as_me: WARNING: fftw.h: proceeding with the preprocessor's result" >&2;}
8612 >    { $as_echo "$as_me:$LINENO: WARNING: fftw.h: in the future, the compiler will take precedence" >&5
8613 > $as_echo "$as_me: WARNING: fftw.h: in the future, the compiler will take precedence" >&2;}
8614 >    ( cat <<\_ASBOX
8615   ## ------------------------------ ##
8616   ## Report this to gezelter@nd.edu ##
8617   ## ------------------------------ ##
8618   _ASBOX
8619 <    ) |
6614 <      sed "s/^/$as_me: WARNING:     /" >&2
8619 >     ) | sed "s/^/$as_me: WARNING:     /" >&2
8620      ;;
8621   esac
8622 < echo "$as_me:$LINENO: checking for fftw.h" >&5
8623 < echo $ECHO_N "checking for fftw.h... $ECHO_C" >&6
8622 > { $as_echo "$as_me:$LINENO: checking for fftw.h" >&5
8623 > $as_echo_n "checking for fftw.h... " >&6; }
8624   if test "${ac_cv_header_fftw_h+set}" = set; then
8625 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8625 >  $as_echo_n "(cached) " >&6
8626   else
8627    ac_cv_header_fftw_h=$ac_header_preproc
8628   fi
8629 < echo "$as_me:$LINENO: result: $ac_cv_header_fftw_h" >&5
8630 < echo "${ECHO_T}$ac_cv_header_fftw_h" >&6
8629 > { $as_echo "$as_me:$LINENO: result: $ac_cv_header_fftw_h" >&5
8630 > $as_echo "$ac_cv_header_fftw_h" >&6; }
8631  
8632   fi
8633   if test $ac_cv_header_fftw_h = yes; then
# Line 6632 | Line 8637 | fi
8637   fi
8638  
8639  
8640 <                if test "$fftw_cv_libfftw" = "no" -o "$fftw_cv_fftw_h" = "no"
8641 <                then
8642 <                        echo "$as_me:$LINENO: checking for fftwnd_one in -ldfftw" >&5
6638 < echo $ECHO_N "checking for fftwnd_one in -ldfftw... $ECHO_C" >&6
8640 >        if test "$fftw_cv_libfftw" = "no" -o "$fftw_cv_fftw_h" = "no"; then
8641 >          { $as_echo "$as_me:$LINENO: checking for fftwnd_one in -ldfftw" >&5
8642 > $as_echo_n "checking for fftwnd_one in -ldfftw... " >&6; }
8643   if test "${ac_cv_lib_dfftw_fftwnd_one+set}" = set; then
8644 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8644 >  $as_echo_n "(cached) " >&6
8645   else
8646    ac_check_lib_save_LIBS=$LIBS
8647   LIBS="-ldfftw  $LIBS"
# Line 6648 | Line 8652 | cat >>conftest.$ac_ext <<_ACEOF
8652   cat >>conftest.$ac_ext <<_ACEOF
8653   /* end confdefs.h.  */
8654  
8655 < /* Override any gcc2 internal prototype to avoid an error.  */
8655 > /* Override any GCC internal prototype to avoid an error.
8656 >   Use char because int might match the return type of a GCC
8657 >   builtin and then its argument prototype would still apply.  */
8658   #ifdef __cplusplus
8659   extern "C"
8660   #endif
6655 /* We use char because int might match the return type of a gcc2
6656   builtin and then its argument prototype would still apply.  */
8661   char fftwnd_one ();
8662   #ifdef FC_DUMMY_MAIN
8663   #ifndef FC_DUMMY_MAIN_EQ_F77
# Line 6666 | Line 8670 | main ()
8670   int
8671   main ()
8672   {
8673 < fftwnd_one ();
8673 > return fftwnd_one ();
8674    ;
8675    return 0;
8676   }
8677   _ACEOF
8678   rm -f conftest.$ac_objext conftest$ac_exeext
8679 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8680 <  (eval $ac_link) 2>conftest.er1
8679 > if { (ac_try="$ac_link"
8680 > case "(($ac_try" in
8681 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8682 >  *) ac_try_echo=$ac_try;;
8683 > esac
8684 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8685 > $as_echo "$ac_try_echo") >&5
8686 >  (eval "$ac_link") 2>conftest.er1
8687    ac_status=$?
8688    grep -v '^ *+' conftest.er1 >conftest.err
8689    rm -f conftest.er1
8690    cat conftest.err >&5
8691 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692 <  (exit $ac_status); } &&
8693 <         { ac_try='test -z "$ac_c_werror_flag"
8694 <                         || test ! -s conftest.err'
8695 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8696 <  (eval $ac_try) 2>&5
8697 <  ac_status=$?
8698 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 <  (exit $ac_status); }; } &&
6690 <         { ac_try='test -s conftest$ac_exeext'
6691 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6692 <  (eval $ac_try) 2>&5
6693 <  ac_status=$?
6694 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695 <  (exit $ac_status); }; }; then
8691 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692 >  (exit $ac_status); } && {
8693 >         test -z "$ac_c_werror_flag" ||
8694 >         test ! -s conftest.err
8695 >       } && test -s conftest$ac_exeext && {
8696 >         test "$cross_compiling" = yes ||
8697 >         $as_test_x conftest$ac_exeext
8698 >       }; then
8699    ac_cv_lib_dfftw_fftwnd_one=yes
8700   else
8701 <  echo "$as_me: failed program was:" >&5
8701 >  $as_echo "$as_me: failed program was:" >&5
8702   sed 's/^/| /' conftest.$ac_ext >&5
8703  
8704 < ac_cv_lib_dfftw_fftwnd_one=no
8704 >        ac_cv_lib_dfftw_fftwnd_one=no
8705   fi
8706 < rm -f conftest.err conftest.$ac_objext \
8706 >
8707 > rm -rf conftest.dSYM
8708 > rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8709        conftest$ac_exeext conftest.$ac_ext
8710   LIBS=$ac_check_lib_save_LIBS
8711   fi
8712 < echo "$as_me:$LINENO: result: $ac_cv_lib_dfftw_fftwnd_one" >&5
8713 < echo "${ECHO_T}$ac_cv_lib_dfftw_fftwnd_one" >&6
8712 > { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dfftw_fftwnd_one" >&5
8713 > $as_echo "$ac_cv_lib_dfftw_fftwnd_one" >&6; }
8714   if test $ac_cv_lib_dfftw_fftwnd_one = yes; then
8715    fftw_cv_libdfftw=yes
8716   else
8717    fftw_cv_libdfftw=no
8718   fi
8719  
8720 <                        if test "${ac_cv_header_dfftw_h+set}" = set; then
8721 <  echo "$as_me:$LINENO: checking for dfftw.h" >&5
8722 < echo $ECHO_N "checking for dfftw.h... $ECHO_C" >&6
8720 >          if test "${ac_cv_header_dfftw_h+set}" = set; then
8721 >  { $as_echo "$as_me:$LINENO: checking for dfftw.h" >&5
8722 > $as_echo_n "checking for dfftw.h... " >&6; }
8723   if test "${ac_cv_header_dfftw_h+set}" = set; then
8724 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8724 >  $as_echo_n "(cached) " >&6
8725   fi
8726 < echo "$as_me:$LINENO: result: $ac_cv_header_dfftw_h" >&5
8727 < echo "${ECHO_T}$ac_cv_header_dfftw_h" >&6
8726 > { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dfftw_h" >&5
8727 > $as_echo "$ac_cv_header_dfftw_h" >&6; }
8728   else
8729    # Is the header compilable?
8730 < echo "$as_me:$LINENO: checking dfftw.h usability" >&5
8731 < echo $ECHO_N "checking dfftw.h usability... $ECHO_C" >&6
8730 > { $as_echo "$as_me:$LINENO: checking dfftw.h usability" >&5
8731 > $as_echo_n "checking dfftw.h usability... " >&6; }
8732   cat >conftest.$ac_ext <<_ACEOF
8733   /* confdefs.h.  */
8734   _ACEOF
# Line 6734 | Line 8739 | rm -f conftest.$ac_objext
8739   #include <dfftw.h>
8740   _ACEOF
8741   rm -f conftest.$ac_objext
8742 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8743 <  (eval $ac_compile) 2>conftest.er1
8742 > if { (ac_try="$ac_compile"
8743 > case "(($ac_try" in
8744 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8745 >  *) ac_try_echo=$ac_try;;
8746 > esac
8747 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8748 > $as_echo "$ac_try_echo") >&5
8749 >  (eval "$ac_compile") 2>conftest.er1
8750    ac_status=$?
8751    grep -v '^ *+' conftest.er1 >conftest.err
8752    rm -f conftest.er1
8753    cat conftest.err >&5
8754 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8755 <  (exit $ac_status); } &&
8756 <         { ac_try='test -z "$ac_c_werror_flag"
8757 <                         || test ! -s conftest.err'
8758 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6748 <  (eval $ac_try) 2>&5
6749 <  ac_status=$?
6750 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 <  (exit $ac_status); }; } &&
6752 <         { ac_try='test -s conftest.$ac_objext'
6753 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6754 <  (eval $ac_try) 2>&5
6755 <  ac_status=$?
6756 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6757 <  (exit $ac_status); }; }; then
8754 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8755 >  (exit $ac_status); } && {
8756 >         test -z "$ac_c_werror_flag" ||
8757 >         test ! -s conftest.err
8758 >       } && test -s conftest.$ac_objext; then
8759    ac_header_compiler=yes
8760   else
8761 <  echo "$as_me: failed program was:" >&5
8761 >  $as_echo "$as_me: failed program was:" >&5
8762   sed 's/^/| /' conftest.$ac_ext >&5
8763  
8764 < ac_header_compiler=no
8764 >        ac_header_compiler=no
8765   fi
6765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6766 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6767 echo "${ECHO_T}$ac_header_compiler" >&6
8766  
8767 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8768 + { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8769 + $as_echo "$ac_header_compiler" >&6; }
8770 +
8771   # Is the header present?
8772 < echo "$as_me:$LINENO: checking dfftw.h presence" >&5
8773 < echo $ECHO_N "checking dfftw.h presence... $ECHO_C" >&6
8772 > { $as_echo "$as_me:$LINENO: checking dfftw.h presence" >&5
8773 > $as_echo_n "checking dfftw.h presence... " >&6; }
8774   cat >conftest.$ac_ext <<_ACEOF
8775   /* confdefs.h.  */
8776   _ACEOF
# Line 6777 | Line 8779 | _ACEOF
8779   /* end confdefs.h.  */
8780   #include <dfftw.h>
8781   _ACEOF
8782 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8783 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8782 > if { (ac_try="$ac_cpp conftest.$ac_ext"
8783 > case "(($ac_try" in
8784 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8785 >  *) ac_try_echo=$ac_try;;
8786 > esac
8787 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8788 > $as_echo "$ac_try_echo") >&5
8789 >  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8790    ac_status=$?
8791    grep -v '^ *+' conftest.er1 >conftest.err
8792    rm -f conftest.er1
8793    cat conftest.err >&5
8794 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795 <  (exit $ac_status); } >/dev/null; then
8796 <  if test -s conftest.err; then
8797 <    ac_cpp_err=$ac_c_preproc_warn_flag
8798 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6791 <  else
6792 <    ac_cpp_err=
6793 <  fi
6794 < else
6795 <  ac_cpp_err=yes
6796 < fi
6797 < if test -z "$ac_cpp_err"; then
8794 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795 >  (exit $ac_status); } >/dev/null && {
8796 >         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8797 >         test ! -s conftest.err
8798 >       }; then
8799    ac_header_preproc=yes
8800   else
8801 <  echo "$as_me: failed program was:" >&5
8801 >  $as_echo "$as_me: failed program was:" >&5
8802   sed 's/^/| /' conftest.$ac_ext >&5
8803  
8804    ac_header_preproc=no
8805   fi
8806 +
8807   rm -f conftest.err conftest.$ac_ext
8808 < echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8809 < echo "${ECHO_T}$ac_header_preproc" >&6
8808 > { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8809 > $as_echo "$ac_header_preproc" >&6; }
8810  
8811   # So?  What about this header?
8812   case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8813    yes:no: )
8814 <    { echo "$as_me:$LINENO: WARNING: dfftw.h: accepted by the compiler, rejected by the preprocessor!" >&5
8815 < echo "$as_me: WARNING: dfftw.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8816 <    { echo "$as_me:$LINENO: WARNING: dfftw.h: proceeding with the compiler's result" >&5
8817 < echo "$as_me: WARNING: dfftw.h: proceeding with the compiler's result" >&2;}
8814 >    { $as_echo "$as_me:$LINENO: WARNING: dfftw.h: accepted by the compiler, rejected by the preprocessor!" >&5
8815 > $as_echo "$as_me: WARNING: dfftw.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8816 >    { $as_echo "$as_me:$LINENO: WARNING: dfftw.h: proceeding with the compiler's result" >&5
8817 > $as_echo "$as_me: WARNING: dfftw.h: proceeding with the compiler's result" >&2;}
8818      ac_header_preproc=yes
8819      ;;
8820    no:yes:* )
8821 <    { echo "$as_me:$LINENO: WARNING: dfftw.h: present but cannot be compiled" >&5
8822 < echo "$as_me: WARNING: dfftw.h: present but cannot be compiled" >&2;}
8823 <    { echo "$as_me:$LINENO: WARNING: dfftw.h:     check for missing prerequisite headers?" >&5
8824 < echo "$as_me: WARNING: dfftw.h:     check for missing prerequisite headers?" >&2;}
8825 <    { echo "$as_me:$LINENO: WARNING: dfftw.h: see the Autoconf documentation" >&5
8826 < echo "$as_me: WARNING: dfftw.h: see the Autoconf documentation" >&2;}
8827 <    { echo "$as_me:$LINENO: WARNING: dfftw.h:     section \"Present But Cannot Be Compiled\"" >&5
8828 < echo "$as_me: WARNING: dfftw.h:     section \"Present But Cannot Be Compiled\"" >&2;}
8829 <    { echo "$as_me:$LINENO: WARNING: dfftw.h: proceeding with the preprocessor's result" >&5
8830 < echo "$as_me: WARNING: dfftw.h: proceeding with the preprocessor's result" >&2;}
8831 <    { echo "$as_me:$LINENO: WARNING: dfftw.h: in the future, the compiler will take precedence" >&5
8832 < echo "$as_me: WARNING: dfftw.h: in the future, the compiler will take precedence" >&2;}
8833 <    (
6832 <      cat <<\_ASBOX
8821 >    { $as_echo "$as_me:$LINENO: WARNING: dfftw.h: present but cannot be compiled" >&5
8822 > $as_echo "$as_me: WARNING: dfftw.h: present but cannot be compiled" >&2;}
8823 >    { $as_echo "$as_me:$LINENO: WARNING: dfftw.h:     check for missing prerequisite headers?" >&5
8824 > $as_echo "$as_me: WARNING: dfftw.h:     check for missing prerequisite headers?" >&2;}
8825 >    { $as_echo "$as_me:$LINENO: WARNING: dfftw.h: see the Autoconf documentation" >&5
8826 > $as_echo "$as_me: WARNING: dfftw.h: see the Autoconf documentation" >&2;}
8827 >    { $as_echo "$as_me:$LINENO: WARNING: dfftw.h:     section \"Present But Cannot Be Compiled\"" >&5
8828 > $as_echo "$as_me: WARNING: dfftw.h:     section \"Present But Cannot Be Compiled\"" >&2;}
8829 >    { $as_echo "$as_me:$LINENO: WARNING: dfftw.h: proceeding with the preprocessor's result" >&5
8830 > $as_echo "$as_me: WARNING: dfftw.h: proceeding with the preprocessor's result" >&2;}
8831 >    { $as_echo "$as_me:$LINENO: WARNING: dfftw.h: in the future, the compiler will take precedence" >&5
8832 > $as_echo "$as_me: WARNING: dfftw.h: in the future, the compiler will take precedence" >&2;}
8833 >    ( cat <<\_ASBOX
8834   ## ------------------------------ ##
8835   ## Report this to gezelter@nd.edu ##
8836   ## ------------------------------ ##
8837   _ASBOX
8838 <    ) |
6838 <      sed "s/^/$as_me: WARNING:     /" >&2
8838 >     ) | sed "s/^/$as_me: WARNING:     /" >&2
8839      ;;
8840   esac
8841 < echo "$as_me:$LINENO: checking for dfftw.h" >&5
8842 < echo $ECHO_N "checking for dfftw.h... $ECHO_C" >&6
8841 > { $as_echo "$as_me:$LINENO: checking for dfftw.h" >&5
8842 > $as_echo_n "checking for dfftw.h... " >&6; }
8843   if test "${ac_cv_header_dfftw_h+set}" = set; then
8844 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8844 >  $as_echo_n "(cached) " >&6
8845   else
8846    ac_cv_header_dfftw_h=$ac_header_preproc
8847   fi
8848 < echo "$as_me:$LINENO: result: $ac_cv_header_dfftw_h" >&5
8849 < echo "${ECHO_T}$ac_cv_header_dfftw_h" >&6
8848 > { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dfftw_h" >&5
8849 > $as_echo "$ac_cv_header_dfftw_h" >&6; }
8850  
8851   fi
8852   if test $ac_cv_header_dfftw_h = yes; then
# Line 6856 | Line 8856 | fi
8856   fi
8857  
8858  
6859                fi
8859          fi
8860 <        ac_ext=c
8860 >      fi
8861 >      ac_ext=c
8862   ac_cpp='$CPP $CPPFLAGS'
8863   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8864   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8865   ac_compiler_gnu=$ac_cv_c_compiler_gnu
8866  
8867 +      if test "$fftw_cv_libfftw3" = "yes" -a "$fftw_cv_fftw3_h" = "yes"; then
8868  
6868        if test "$fftw_cv_libfftw3" = "yes" -a "$fftw_cv_fftw3_h" = "yes"
6869        then
6870
8869   cat >>confdefs.h <<\_ACEOF
8870   #define HAVE_FFTW3_H 1
8871   _ACEOF
8872  
8873 <                FFTW_INC_DIR="${FFTW_HOME}/include"
8874 <                FFTW_LIB_DIR="${FFTW_HOME}/lib"
8875 <                FFTW_LIBS="-lfftw3"
8876 <        else
8877 <        if test "$fftw_cv_libfftw" = "yes" -a "$fftw_cv_fftw_h" = "yes"
6880 <        then
8873 >        FFTW_INC_DIR="${FFTW_HOME}/include"
8874 >        FFTW_LIB_DIR="${FFTW_HOME}/lib"
8875 >        FFTW_LIBS="-lfftw3"
8876 >      else
8877 >        if test "$fftw_cv_libfftw" = "yes" -a "$fftw_cv_fftw_h" = "yes"; then
8878  
8879   cat >>confdefs.h <<\_ACEOF
8880   #define HAVE_FFTW_H 1
8881   _ACEOF
8882  
8883 <                FFTW_INC_DIR="${FFTW_HOME}/include"
8884 <                FFTW_LIB_DIR="${FFTW_HOME}/lib"
8885 <                FFTW_LIBS="-lfftw"
8883 >          FFTW_INC_DIR="${FFTW_HOME}/include"
8884 >          FFTW_LIB_DIR="${FFTW_HOME}/lib"
8885 >          FFTW_LIBS="-lfftw"
8886          else
8887 <        if test "$fftw_cv_libdfftw" = "yes" -a "$fftw_cv_dfftw_h" = "yes"
6891 <        then
8887 >          if test "$fftw_cv_libdfftw" = "yes" -a "$fftw_cv_dfftw_h" = "yes"; then
8888  
8889   cat >>confdefs.h <<\_ACEOF
8890   #define HAVE_DFFTW_H 1
8891   _ACEOF
8892  
8893 <                FFTW_INC_DIR="${FFTW_HOME}/include"
8894 <                FFTW_LIB_DIR="${FFTW_HOME}/lib"
8895 <                FFTW_LIBS="-ldfftw"
8896 <        else
8897 <                echo "$as_me:$LINENO: checking fftw in ${FFTW_HOME}" >&5
8898 < echo $ECHO_N "checking fftw in ${FFTW_HOME}... $ECHO_C" >&6
8899 <                FFTW_INC_DIR=
8900 <                FFTW_LIB_DIR=
8901 <                FFTW_LIBS=
8902 <                LDFLAGS="$FFTW_OLD_LDFLAGS"
8903 <                CPPFLAGS="$FFTW_OLD_CPPFLAGS"
8904 <                echo "$as_me:$LINENO: result: failed" >&5
8905 < echo "${ECHO_T}failed" >&6
8906 <        echo ""
8907 <        echo "*********************************************************"
8908 <        echo "* WARNING: Could not find a working FFTW installation   *"
8909 <        echo "* If you need the staticProps program to be able to     *"
8910 <        echo "* compute undulation spectra, be sure to specify a      *"
8911 <        echo "* valid fftw installation with --with-fftw=DIR          *"
8912 <        echo "*                                                       *"
8913 <        echo "* OOPSE will still work without fftw installed.         *"
8914 <        echo "*********************************************************"
8915 <        echo ""
8893 >            FFTW_INC_DIR="${FFTW_HOME}/include"
8894 >            FFTW_LIB_DIR="${FFTW_HOME}/lib"
8895 >            FFTW_LIBS="-ldfftw"
8896 >          else
8897 >            { $as_echo "$as_me:$LINENO: checking fftw in ${FFTW_HOME}" >&5
8898 > $as_echo_n "checking fftw in ${FFTW_HOME}... " >&6; }
8899 >            FFTW_INC_DIR=
8900 >            FFTW_LIB_DIR=
8901 >            FFTW_LIBS=
8902 >            LDFLAGS="$FFTW_OLD_LDFLAGS"
8903 >            CFLAGS="$FFTW_OLD_CFLAGS"
8904 >            { $as_echo "$as_me:$LINENO: result: failed" >&5
8905 > $as_echo "failed" >&6; }
8906 >            echo ""
8907 >            echo "*********************************************************"
8908 >            echo "* WARNING: Could not find a working FFTW installation   *"
8909 >            echo "* If you need the staticProps program to be able to     *"
8910 >            echo "* compute undulation spectra, be sure to specify a      *"
8911 >            echo "* valid fftw installation with --with-fftw=DIR          *"
8912 >            echo "*                                                       *"
8913 >            echo "* OOPSE will still work without fftw installed.         *"
8914 >            echo "*********************************************************"
8915 >            echo ""
8916 >          fi
8917          fi
8918 <        fi
6922 <        fi
8918 >      fi
8919  
8920  
8921  
8922 +    fi
8923 +  fi
8924   fi
8925 +
8926 + #
8927 + # Handle user hints
8928 + #
8929 +
8930 + # Check whether --with-qhull was given.
8931 + if test "${with_qhull+set}" = set; then
8932 +  withval=$with_qhull; qhull_dir="$withval"
8933 + else
8934 +                qhull_dir="not_set"
8935   fi
8936  
8937 + if test "$qhull_dir" != "no"; then
8938  
8939 + if test "$qhull_dir" != "not_set" ; then
8940 +  if test -d "$qhull_dir"
8941 +  then
8942 +    QHULL_HOME="$qhull_dir"
8943 +  else
8944 +    { $as_echo "$as_me:$LINENO: WARNING: Sorry, $qhull_dir does not exist, checking usual places" >&5
8945 + $as_echo "$as_me: WARNING: Sorry, $qhull_dir does not exist, checking usual places" >&2;}
8946 +        QHULL_HOME=/usr/local
8947 +        if test ! -f "${QHULL_HOME}/include/qhull/qhull.h"
8948 +        then
8949 +                QHULL_HOME=/usr
8950 +        fi
8951 +  fi
8952 + fi
8953 + #
8954 + # Locate qhull, if wanted
8955 + #
8956 + if test -n "${QHULL_HOME}"
8957 + then
8958  
8959 < # Checks for header files.
8960 < echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8961 < echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8962 < if test "${ac_cv_header_stdc+set}" = set; then
8963 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8959 >        ac_ext=c
8960 > ac_cpp='$CPP $CPPFLAGS'
8961 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8962 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8963 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
8964 >
8965 >        QHULL_OLD_LDFLAGS=$LDFLAGS
8966 >        QHULL_OLD_CFLAGS=$CFLAGS
8967 >        QHULL_OLD_CPPFLAGS=$CPPFLAGS
8968 >        LDFLAGS="$LDFLAGS -L${QHULL_HOME}/lib"
8969 >        CFLAGS="$CFLAGS -I${QHULL_HOME}/include"
8970 >        CPPFLAGS="$CPPFLAGS -I${QHULL_HOME}/include"
8971 >        if test "${ac_cv_header_qhull_qhull_h+set}" = set; then
8972 >  { $as_echo "$as_me:$LINENO: checking for qhull/qhull.h" >&5
8973 > $as_echo_n "checking for qhull/qhull.h... " >&6; }
8974 > if test "${ac_cv_header_qhull_qhull_h+set}" = set; then
8975 >  $as_echo_n "(cached) " >&6
8976 > fi
8977 > { $as_echo "$as_me:$LINENO: result: $ac_cv_header_qhull_qhull_h" >&5
8978 > $as_echo "$ac_cv_header_qhull_qhull_h" >&6; }
8979   else
8980 <  cat >conftest.$ac_ext <<_ACEOF
8980 >  # Is the header compilable?
8981 > { $as_echo "$as_me:$LINENO: checking qhull/qhull.h usability" >&5
8982 > $as_echo_n "checking qhull/qhull.h usability... " >&6; }
8983 > cat >conftest.$ac_ext <<_ACEOF
8984   /* confdefs.h.  */
8985   _ACEOF
8986   cat confdefs.h >>conftest.$ac_ext
8987   cat >>conftest.$ac_ext <<_ACEOF
8988   /* end confdefs.h.  */
8989 < #include <stdlib.h>
8990 < #include <stdarg.h>
6945 < #include <string.h>
6946 < #include <float.h>
6947 <
6948 < #ifdef FC_DUMMY_MAIN
6949 < #ifndef FC_DUMMY_MAIN_EQ_F77
6950 < #  ifdef __cplusplus
6951 <     extern "C"
6952 < #  endif
6953 <   int FC_DUMMY_MAIN() { return 1; }
6954 < #endif
6955 < #endif
6956 < int
6957 < main ()
6958 < {
6959 <
6960 <  ;
6961 <  return 0;
6962 < }
8989 > $ac_includes_default
8990 > #include <qhull/qhull.h>
8991   _ACEOF
8992   rm -f conftest.$ac_objext
8993 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8994 <  (eval $ac_compile) 2>conftest.er1
8993 > if { (ac_try="$ac_compile"
8994 > case "(($ac_try" in
8995 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8996 >  *) ac_try_echo=$ac_try;;
8997 > esac
8998 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8999 > $as_echo "$ac_try_echo") >&5
9000 >  (eval "$ac_compile") 2>conftest.er1
9001    ac_status=$?
9002    grep -v '^ *+' conftest.er1 >conftest.err
9003    rm -f conftest.er1
9004    cat conftest.err >&5
9005 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9006 <  (exit $ac_status); } &&
9007 <         { ac_try='test -z "$ac_c_werror_flag"
9008 <                         || test ! -s conftest.err'
9009 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9010 <  (eval $ac_try) 2>&5
6977 <  ac_status=$?
6978 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6979 <  (exit $ac_status); }; } &&
6980 <         { ac_try='test -s conftest.$ac_objext'
6981 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6982 <  (eval $ac_try) 2>&5
6983 <  ac_status=$?
6984 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985 <  (exit $ac_status); }; }; then
6986 <  ac_cv_header_stdc=yes
9005 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9006 >  (exit $ac_status); } && {
9007 >         test -z "$ac_c_werror_flag" ||
9008 >         test ! -s conftest.err
9009 >       } && test -s conftest.$ac_objext; then
9010 >  ac_header_compiler=yes
9011   else
9012 <  echo "$as_me: failed program was:" >&5
9012 >  $as_echo "$as_me: failed program was:" >&5
9013   sed 's/^/| /' conftest.$ac_ext >&5
9014  
9015 < ac_cv_header_stdc=no
9015 >        ac_header_compiler=no
9016   fi
6993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9017  
9018 < if test $ac_cv_header_stdc = yes; then
9019 <  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9020 <  cat >conftest.$ac_ext <<_ACEOF
9018 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9019 > { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9020 > $as_echo "$ac_header_compiler" >&6; }
9021 >
9022 > # Is the header present?
9023 > { $as_echo "$as_me:$LINENO: checking qhull/qhull.h presence" >&5
9024 > $as_echo_n "checking qhull/qhull.h presence... " >&6; }
9025 > cat >conftest.$ac_ext <<_ACEOF
9026   /* confdefs.h.  */
9027   _ACEOF
9028   cat confdefs.h >>conftest.$ac_ext
9029   cat >>conftest.$ac_ext <<_ACEOF
9030   /* end confdefs.h.  */
9031 < #include <string.h>
7004 <
9031 > #include <qhull/qhull.h>
9032   _ACEOF
9033 < if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9034 <  $EGREP "memchr" >/dev/null 2>&1; then
9035 <  :
9033 > if { (ac_try="$ac_cpp conftest.$ac_ext"
9034 > case "(($ac_try" in
9035 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9036 >  *) ac_try_echo=$ac_try;;
9037 > esac
9038 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9039 > $as_echo "$ac_try_echo") >&5
9040 >  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9041 >  ac_status=$?
9042 >  grep -v '^ *+' conftest.er1 >conftest.err
9043 >  rm -f conftest.er1
9044 >  cat conftest.err >&5
9045 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9046 >  (exit $ac_status); } >/dev/null && {
9047 >         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9048 >         test ! -s conftest.err
9049 >       }; then
9050 >  ac_header_preproc=yes
9051   else
9052 <  ac_cv_header_stdc=no
9053 < fi
7012 < rm -f conftest*
9052 >  $as_echo "$as_me: failed program was:" >&5
9053 > sed 's/^/| /' conftest.$ac_ext >&5
9054  
9055 +  ac_header_preproc=no
9056   fi
9057  
9058 < if test $ac_cv_header_stdc = yes; then
9059 <  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9060 <  cat >conftest.$ac_ext <<_ACEOF
7019 < /* confdefs.h.  */
7020 < _ACEOF
7021 < cat confdefs.h >>conftest.$ac_ext
7022 < cat >>conftest.$ac_ext <<_ACEOF
7023 < /* end confdefs.h.  */
7024 < #include <stdlib.h>
9058 > rm -f conftest.err conftest.$ac_ext
9059 > { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9060 > $as_echo "$ac_header_preproc" >&6; }
9061  
9062 < _ACEOF
9063 < if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9064 <  $EGREP "free" >/dev/null 2>&1; then
9065 <  :
9062 > # So?  What about this header?
9063 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9064 >  yes:no: )
9065 >    { $as_echo "$as_me:$LINENO: WARNING: qhull/qhull.h: accepted by the compiler, rejected by the preprocessor!" >&5
9066 > $as_echo "$as_me: WARNING: qhull/qhull.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9067 >    { $as_echo "$as_me:$LINENO: WARNING: qhull/qhull.h: proceeding with the compiler's result" >&5
9068 > $as_echo "$as_me: WARNING: qhull/qhull.h: proceeding with the compiler's result" >&2;}
9069 >    ac_header_preproc=yes
9070 >    ;;
9071 >  no:yes:* )
9072 >    { $as_echo "$as_me:$LINENO: WARNING: qhull/qhull.h: present but cannot be compiled" >&5
9073 > $as_echo "$as_me: WARNING: qhull/qhull.h: present but cannot be compiled" >&2;}
9074 >    { $as_echo "$as_me:$LINENO: WARNING: qhull/qhull.h:     check for missing prerequisite headers?" >&5
9075 > $as_echo "$as_me: WARNING: qhull/qhull.h:     check for missing prerequisite headers?" >&2;}
9076 >    { $as_echo "$as_me:$LINENO: WARNING: qhull/qhull.h: see the Autoconf documentation" >&5
9077 > $as_echo "$as_me: WARNING: qhull/qhull.h: see the Autoconf documentation" >&2;}
9078 >    { $as_echo "$as_me:$LINENO: WARNING: qhull/qhull.h:     section \"Present But Cannot Be Compiled\"" >&5
9079 > $as_echo "$as_me: WARNING: qhull/qhull.h:     section \"Present But Cannot Be Compiled\"" >&2;}
9080 >    { $as_echo "$as_me:$LINENO: WARNING: qhull/qhull.h: proceeding with the preprocessor's result" >&5
9081 > $as_echo "$as_me: WARNING: qhull/qhull.h: proceeding with the preprocessor's result" >&2;}
9082 >    { $as_echo "$as_me:$LINENO: WARNING: qhull/qhull.h: in the future, the compiler will take precedence" >&5
9083 > $as_echo "$as_me: WARNING: qhull/qhull.h: in the future, the compiler will take precedence" >&2;}
9084 >    ( cat <<\_ASBOX
9085 > ## ------------------------------ ##
9086 > ## Report this to gezelter@nd.edu ##
9087 > ## ------------------------------ ##
9088 > _ASBOX
9089 >     ) | sed "s/^/$as_me: WARNING:     /" >&2
9090 >    ;;
9091 > esac
9092 > { $as_echo "$as_me:$LINENO: checking for qhull/qhull.h" >&5
9093 > $as_echo_n "checking for qhull/qhull.h... " >&6; }
9094 > if test "${ac_cv_header_qhull_qhull_h+set}" = set; then
9095 >  $as_echo_n "(cached) " >&6
9096   else
9097 <  ac_cv_header_stdc=no
9097 >  ac_cv_header_qhull_qhull_h=$ac_header_preproc
9098   fi
9099 < rm -f conftest*
9099 > { $as_echo "$as_me:$LINENO: result: $ac_cv_header_qhull_qhull_h" >&5
9100 > $as_echo "$ac_cv_header_qhull_qhull_h" >&6; }
9101  
9102   fi
9103 + if test $ac_cv_header_qhull_qhull_h = yes; then
9104 +  qhull_cv_qhull_h=yes
9105 + else
9106 +  qhull_cv_qhull_h=no
9107 + fi
9108  
9109 < if test $ac_cv_header_stdc = yes; then
9110 <  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9111 <  if test "$cross_compiling" = yes; then
9112 <  :
9109 >
9110 >        { $as_echo "$as_me:$LINENO: checking for qh_qhull in -lqhull" >&5
9111 > $as_echo_n "checking for qh_qhull in -lqhull... " >&6; }
9112 > if test "${ac_cv_lib_qhull_qh_qhull+set}" = set; then
9113 >  $as_echo_n "(cached) " >&6
9114   else
9115 <  cat >conftest.$ac_ext <<_ACEOF
9115 >  ac_check_lib_save_LIBS=$LIBS
9116 > LIBS="-lqhull  $LIBS"
9117 > cat >conftest.$ac_ext <<_ACEOF
9118   /* confdefs.h.  */
9119   _ACEOF
9120   cat confdefs.h >>conftest.$ac_ext
9121   cat >>conftest.$ac_ext <<_ACEOF
9122   /* end confdefs.h.  */
7048 #include <ctype.h>
7049 #if ((' ' & 0x0FF) == 0x020)
7050 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7051 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7052 #else
7053 # define ISLOWER(c) \
7054                   (('a' <= (c) && (c) <= 'i') \
7055                     || ('j' <= (c) && (c) <= 'r') \
7056                     || ('s' <= (c) && (c) <= 'z'))
7057 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7058 #endif
9123  
9124 < #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9124 > /* Override any GCC internal prototype to avoid an error.
9125 >   Use char because int might match the return type of a GCC
9126 >   builtin and then its argument prototype would still apply.  */
9127 > #ifdef __cplusplus
9128 > extern "C"
9129 > #endif
9130 > char qh_qhull ();
9131 > #ifdef FC_DUMMY_MAIN
9132 > #ifndef FC_DUMMY_MAIN_EQ_F77
9133 > #  ifdef __cplusplus
9134 >     extern "C"
9135 > #  endif
9136 >   int FC_DUMMY_MAIN() { return 1; }
9137 > #endif
9138 > #endif
9139   int
9140   main ()
9141   {
9142 <  int i;
9143 <  for (i = 0; i < 256; i++)
9144 <    if (XOR (islower (i), ISLOWER (i))
7067 <        || toupper (i) != TOUPPER (i))
7068 <      exit(2);
7069 <  exit (0);
9142 > return qh_qhull ();
9143 >  ;
9144 >  return 0;
9145   }
9146   _ACEOF
9147 < rm -f conftest$ac_exeext
9148 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9149 <  (eval $ac_link) 2>&5
9147 > rm -f conftest.$ac_objext conftest$ac_exeext
9148 > if { (ac_try="$ac_link"
9149 > case "(($ac_try" in
9150 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9151 >  *) ac_try_echo=$ac_try;;
9152 > esac
9153 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9154 > $as_echo "$ac_try_echo") >&5
9155 >  (eval "$ac_link") 2>conftest.er1
9156    ac_status=$?
9157 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9158 <  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9159 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9160 <  (eval $ac_try) 2>&5
9161 <  ac_status=$?
9162 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9163 <  (exit $ac_status); }; }; then
9164 <  :
9157 >  grep -v '^ *+' conftest.er1 >conftest.err
9158 >  rm -f conftest.er1
9159 >  cat conftest.err >&5
9160 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9161 >  (exit $ac_status); } && {
9162 >         test -z "$ac_c_werror_flag" ||
9163 >         test ! -s conftest.err
9164 >       } && test -s conftest$ac_exeext && {
9165 >         test "$cross_compiling" = yes ||
9166 >         $as_test_x conftest$ac_exeext
9167 >       }; then
9168 >  ac_cv_lib_qhull_qh_qhull=yes
9169   else
9170 <  echo "$as_me: program exited with status $ac_status" >&5
7086 < echo "$as_me: failed program was:" >&5
9170 >  $as_echo "$as_me: failed program was:" >&5
9171   sed 's/^/| /' conftest.$ac_ext >&5
9172  
9173 < ( exit $ac_status )
7090 < ac_cv_header_stdc=no
9173 >        ac_cv_lib_qhull_qh_qhull=no
9174   fi
9175 < rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9175 >
9176 > rm -rf conftest.dSYM
9177 > rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9178 >      conftest$ac_exeext conftest.$ac_ext
9179 > LIBS=$ac_check_lib_save_LIBS
9180   fi
9181 + { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_qhull_qh_qhull" >&5
9182 + $as_echo "$ac_cv_lib_qhull_qh_qhull" >&6; }
9183 + if test $ac_cv_lib_qhull_qh_qhull = yes; then
9184 +  qhull_cv_libqhull=yes
9185 + else
9186 +  qhull_cv_libqhull=no
9187   fi
7095 fi
7096 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7097 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7098 if test $ac_cv_header_stdc = yes; then
9188  
9189 +        LDFLAGS="$QHULL_OLD_LDFLAGS"
9190 +        CFLAGS="$QHULL_OLD_CFLAGS"
9191 +        CPPFLAGS="$QHULL_OLD_CPPFLAGS"
9192 +        ac_ext=c
9193 + ac_cpp='$CPP $CPPFLAGS'
9194 + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9195 + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9196 + ac_compiler_gnu=$ac_cv_c_compiler_gnu
9197 +
9198 +
9199 +        if test "$qhull_cv_libqhull" = "yes" -a "$qhull_cv_qhull_h" = "yes"; then
9200 +
9201   cat >>confdefs.h <<\_ACEOF
9202 < #define STDC_HEADERS 1
9202 > #define HAVE_QHULL_H 1
9203   _ACEOF
9204  
7104 fi
9205  
9206 + cat >>confdefs.h <<\_ACEOF
9207 + #define HAVE_QHULL 1
9208 + _ACEOF
9209  
9210 +                USE_QHULL=yes
9211 +                QHULL_INC_DIR="${QHULL_HOME}/include"
9212 +                QHULL_LIB_DIR="${QHULL_HOME}/lib"
9213 +                QHULL="-lqhull"
9214 +        else
9215 +                { $as_echo "$as_me:$LINENO: checking qhull in ${QHULL_HOME}" >&5
9216 + $as_echo_n "checking qhull in ${QHULL_HOME}... " >&6; }
9217 +                QHULL_INC_DIR=
9218 +                QHULL_LIB_DIR=
9219 +                QHULL=
9220 +                USE_QHULL=no
9221 +                { $as_echo "$as_me:$LINENO: result: failed" >&5
9222 + $as_echo "failed" >&6; }
9223 +                echo ""
9224 +                echo "*********************************************************"
9225 +                echo "* WARNING: Could not find a working qhull installation  *"
9226 +                echo "* If you need OOPSE to be able to deal with convex      *"
9227 +                echo "* hulls be sure to specify a valid qhull installation   *"
9228 +                echo "* with --with-qhull=DIR                                 *"
9229 +                echo "*                                                       *"
9230 +                echo "* OOPSE will still work without qhull installed.        *"
9231 +                echo "*********************************************************"
9232 +                echo ""
9233 +        fi
9234  
9235  
9236  
9237  
9238 + fi
9239 + fi
9240  
9241  
9242 + ac_ext=cpp
9243 + ac_cpp='$CXXCPP $CPPFLAGS'
9244 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9245 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9246 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9247 + { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
9248 + $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
9249 + if test -z "$CXXCPP"; then
9250 +  if test "${ac_cv_prog_CXXCPP+set}" = set; then
9251 +  $as_echo_n "(cached) " >&6
9252 + else
9253 +      # Double quotes because CXXCPP needs to be expanded
9254 +    for CXXCPP in "$CXX -E" "/lib/cpp"
9255 +    do
9256 +      ac_preproc_ok=false
9257 + for ac_cxx_preproc_warn_flag in '' yes
9258 + do
9259 +  # Use a header file that comes with gcc, so configuring glibc
9260 +  # with a fresh cross-compiler works.
9261 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9262 +  # <limits.h> exists even on freestanding compilers.
9263 +  # On the NeXT, cc -E runs the code through the compiler's parser,
9264 +  # not just through cpp. "Syntax error" is here to catch this case.
9265 +  cat >conftest.$ac_ext <<_ACEOF
9266 + /* confdefs.h.  */
9267 + _ACEOF
9268 + cat confdefs.h >>conftest.$ac_ext
9269 + cat >>conftest.$ac_ext <<_ACEOF
9270 + /* end confdefs.h.  */
9271 + #ifdef __STDC__
9272 + # include <limits.h>
9273 + #else
9274 + # include <assert.h>
9275 + #endif
9276 +                     Syntax error
9277 + _ACEOF
9278 + if { (ac_try="$ac_cpp conftest.$ac_ext"
9279 + case "(($ac_try" in
9280 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9281 +  *) ac_try_echo=$ac_try;;
9282 + esac
9283 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9284 + $as_echo "$ac_try_echo") >&5
9285 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9286 +  ac_status=$?
9287 +  grep -v '^ *+' conftest.er1 >conftest.err
9288 +  rm -f conftest.er1
9289 +  cat conftest.err >&5
9290 +  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9291 +  (exit $ac_status); } >/dev/null && {
9292 +         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9293 +         test ! -s conftest.err
9294 +       }; then
9295 +  :
9296 + else
9297 +  $as_echo "$as_me: failed program was:" >&5
9298 + sed 's/^/| /' conftest.$ac_ext >&5
9299  
9300 +  # Broken: fails on valid input.
9301 + continue
9302 + fi
9303  
9304 + rm -f conftest.err conftest.$ac_ext
9305  
9306 +  # OK, works on sane cases.  Now check whether nonexistent headers
9307 +  # can be detected and how.
9308 +  cat >conftest.$ac_ext <<_ACEOF
9309 + /* confdefs.h.  */
9310 + _ACEOF
9311 + cat confdefs.h >>conftest.$ac_ext
9312 + cat >>conftest.$ac_ext <<_ACEOF
9313 + /* end confdefs.h.  */
9314 + #include <ac_nonexistent.h>
9315 + _ACEOF
9316 + if { (ac_try="$ac_cpp conftest.$ac_ext"
9317 + case "(($ac_try" in
9318 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9319 +  *) ac_try_echo=$ac_try;;
9320 + esac
9321 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9322 + $as_echo "$ac_try_echo") >&5
9323 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9324 +  ac_status=$?
9325 +  grep -v '^ *+' conftest.er1 >conftest.err
9326 +  rm -f conftest.er1
9327 +  cat conftest.err >&5
9328 +  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9329 +  (exit $ac_status); } >/dev/null && {
9330 +         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9331 +         test ! -s conftest.err
9332 +       }; then
9333 +  # Broken: success on invalid input.
9334 + continue
9335 + else
9336 +  $as_echo "$as_me: failed program was:" >&5
9337 + sed 's/^/| /' conftest.$ac_ext >&5
9338  
9339 +  # Passes both tests.
9340 + ac_preproc_ok=:
9341 + break
9342 + fi
9343 +
9344 + rm -f conftest.err conftest.$ac_ext
9345 +
9346 + done
9347 + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9348 + rm -f conftest.err conftest.$ac_ext
9349 + if $ac_preproc_ok; then
9350 +  break
9351 + fi
9352 +
9353 +    done
9354 +    ac_cv_prog_CXXCPP=$CXXCPP
9355 +
9356 + fi
9357 +  CXXCPP=$ac_cv_prog_CXXCPP
9358 + else
9359 +  ac_cv_prog_CXXCPP=$CXXCPP
9360 + fi
9361 + { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
9362 + $as_echo "$CXXCPP" >&6; }
9363 + ac_preproc_ok=false
9364 + for ac_cxx_preproc_warn_flag in '' yes
9365 + do
9366 +  # Use a header file that comes with gcc, so configuring glibc
9367 +  # with a fresh cross-compiler works.
9368 +  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9369 +  # <limits.h> exists even on freestanding compilers.
9370 +  # On the NeXT, cc -E runs the code through the compiler's parser,
9371 +  # not just through cpp. "Syntax error" is here to catch this case.
9372 +  cat >conftest.$ac_ext <<_ACEOF
9373 + /* confdefs.h.  */
9374 + _ACEOF
9375 + cat confdefs.h >>conftest.$ac_ext
9376 + cat >>conftest.$ac_ext <<_ACEOF
9377 + /* end confdefs.h.  */
9378 + #ifdef __STDC__
9379 + # include <limits.h>
9380 + #else
9381 + # include <assert.h>
9382 + #endif
9383 +                     Syntax error
9384 + _ACEOF
9385 + if { (ac_try="$ac_cpp conftest.$ac_ext"
9386 + case "(($ac_try" in
9387 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9388 +  *) ac_try_echo=$ac_try;;
9389 + esac
9390 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9391 + $as_echo "$ac_try_echo") >&5
9392 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9393 +  ac_status=$?
9394 +  grep -v '^ *+' conftest.er1 >conftest.err
9395 +  rm -f conftest.er1
9396 +  cat conftest.err >&5
9397 +  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9398 +  (exit $ac_status); } >/dev/null && {
9399 +         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9400 +         test ! -s conftest.err
9401 +       }; then
9402 +  :
9403 + else
9404 +  $as_echo "$as_me: failed program was:" >&5
9405 + sed 's/^/| /' conftest.$ac_ext >&5
9406  
9407 +  # Broken: fails on valid input.
9408 + continue
9409 + fi
9410  
9411 + rm -f conftest.err conftest.$ac_ext
9412  
9413 +  # OK, works on sane cases.  Now check whether nonexistent headers
9414 +  # can be detected and how.
9415 +  cat >conftest.$ac_ext <<_ACEOF
9416 + /* confdefs.h.  */
9417 + _ACEOF
9418 + cat confdefs.h >>conftest.$ac_ext
9419 + cat >>conftest.$ac_ext <<_ACEOF
9420 + /* end confdefs.h.  */
9421 + #include <ac_nonexistent.h>
9422 + _ACEOF
9423 + if { (ac_try="$ac_cpp conftest.$ac_ext"
9424 + case "(($ac_try" in
9425 +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9426 +  *) ac_try_echo=$ac_try;;
9427 + esac
9428 + eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9429 + $as_echo "$ac_try_echo") >&5
9430 +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9431 +  ac_status=$?
9432 +  grep -v '^ *+' conftest.er1 >conftest.err
9433 +  rm -f conftest.er1
9434 +  cat conftest.err >&5
9435 +  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9436 +  (exit $ac_status); } >/dev/null && {
9437 +         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9438 +         test ! -s conftest.err
9439 +       }; then
9440 +  # Broken: success on invalid input.
9441 + continue
9442 + else
9443 +  $as_echo "$as_me: failed program was:" >&5
9444 + sed 's/^/| /' conftest.$ac_ext >&5
9445  
9446 +  # Passes both tests.
9447 + ac_preproc_ok=:
9448 + break
9449 + fi
9450  
9451 + rm -f conftest.err conftest.$ac_ext
9452  
9453 + done
9454 + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9455 + rm -f conftest.err conftest.$ac_ext
9456 + if $ac_preproc_ok; then
9457 +  :
9458 + else
9459 +  { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
9460 + See \`config.log' for more details." >&5
9461 + $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
9462 + See \`config.log' for more details." >&2;}
9463 +   { (exit 1); exit 1; }; }
9464 + fi
9465  
9466 + ac_ext=cpp
9467 + ac_cpp='$CXXCPP $CPPFLAGS'
9468 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9469 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9470 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9471  
9472  
9473 + #
9474 + # Handle user hints
9475 + #
9476  
9477 + # Check whether --with-openbabel was given.
9478 + if test "${with_openbabel+set}" = set; then
9479 +  withval=$with_openbabel; openbabel_dir="$withval"
9480 + else
9481 +                openbabel_dir="not_set"
9482 + fi
9483  
9484 + if test "$openbabel_dir" != "no"; then
9485  
9486 + if test "$openbabel_dir" != "not_set" ; then
9487 +  if test -d "$openbabel_dir"
9488 +  then
9489 +    OPENBABEL_HOME="$openbabel_dir"
9490 +  else
9491 +    { $as_echo "$as_me:$LINENO: WARNING: Sorry, $openbabel_dir does not exist, checking usual places" >&5
9492 + $as_echo "$as_me: WARNING: Sorry, $openbabel_dir does not exist, checking usual places" >&2;}
9493 +        OPENBABEL_HOME=/usr/local
9494 +        if test ! -f "${OPENBABEL_HOME}/include/openbabel-2.0/openbabel/babelconfig.h" -a -f "${OPENBABEL_HOME}/include/openbabel-2.0/openbabel/obconversion.h"
9495 +        then
9496 +                OPENBABEL_HOME=/usr
9497 +        fi
9498 +  fi
9499 + fi
9500 + #
9501 + # Locate openbabel, if wanted
9502 + #
9503 + if test -n "${OPENBABEL_HOME}"
9504 + then
9505  
9506 +        ac_ext=cpp
9507 + ac_cpp='$CXXCPP $CPPFLAGS'
9508 + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9509 + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9510 + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9511  
9512 < for ac_header in conio.h dlfcn.h fstream.h iostream.h libintl.h limits.h machine/hal_sysinfo.h math.h stddef.h stdio.h stdlib.h string.h strings.h strstream.h sys/param.h sys/pstat.h sys/sysmp.h sys/sysctl.h sys/sysinfo.h sys/systemcfg.h sys/table.h sys/time.h time.h unistd.h zlib.h
9513 < do
9514 < as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9515 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
9516 <  echo "$as_me:$LINENO: checking for $ac_header" >&5
9517 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9518 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
9519 <  echo $ECHO_N "(cached) $ECHO_C" >&6
9512 >        OPENBABEL_OLD_LDFLAGS=$LDFLAGS
9513 >        OPENBABEL_OLD_CPPFLAGS=$CPPFLAGS
9514 >        LDFLAGS="$LDFLAGS -L${OPENBABEL_HOME}/lib -lopenbabel"
9515 >        CPPFLAGS="$CPPFLAGS -I${OPENBABEL_HOME}/include/openbabel-2.0"
9516 >        if test "${ac_cv_header_openbabel_babelconfig_h+set}" = set; then
9517 >  { $as_echo "$as_me:$LINENO: checking for openbabel/babelconfig.h" >&5
9518 > $as_echo_n "checking for openbabel/babelconfig.h... " >&6; }
9519 > if test "${ac_cv_header_openbabel_babelconfig_h+set}" = set; then
9520 >  $as_echo_n "(cached) " >&6
9521   fi
9522 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9523 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9522 > { $as_echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_babelconfig_h" >&5
9523 > $as_echo "$ac_cv_header_openbabel_babelconfig_h" >&6; }
9524   else
9525    # Is the header compilable?
9526 < echo "$as_me:$LINENO: checking $ac_header usability" >&5
9527 < echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9526 > { $as_echo "$as_me:$LINENO: checking openbabel/babelconfig.h usability" >&5
9527 > $as_echo_n "checking openbabel/babelconfig.h usability... " >&6; }
9528   cat >conftest.$ac_ext <<_ACEOF
9529   /* confdefs.h.  */
9530   _ACEOF
# Line 7150 | Line 9532 | $ac_includes_default
9532   cat >>conftest.$ac_ext <<_ACEOF
9533   /* end confdefs.h.  */
9534   $ac_includes_default
9535 < #include <$ac_header>
9535 > #include <openbabel/babelconfig.h>
9536   _ACEOF
9537   rm -f conftest.$ac_objext
9538 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9539 <  (eval $ac_compile) 2>conftest.er1
9538 > if { (ac_try="$ac_compile"
9539 > case "(($ac_try" in
9540 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9541 >  *) ac_try_echo=$ac_try;;
9542 > esac
9543 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9544 > $as_echo "$ac_try_echo") >&5
9545 >  (eval "$ac_compile") 2>conftest.er1
9546    ac_status=$?
9547    grep -v '^ *+' conftest.er1 >conftest.err
9548    rm -f conftest.er1
9549    cat conftest.err >&5
9550 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551 <  (exit $ac_status); } &&
9552 <         { ac_try='test -z "$ac_c_werror_flag"
9553 <                         || test ! -s conftest.err'
9554 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7167 <  (eval $ac_try) 2>&5
7168 <  ac_status=$?
7169 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7170 <  (exit $ac_status); }; } &&
7171 <         { ac_try='test -s conftest.$ac_objext'
7172 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7173 <  (eval $ac_try) 2>&5
7174 <  ac_status=$?
7175 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176 <  (exit $ac_status); }; }; then
9550 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551 >  (exit $ac_status); } && {
9552 >         test -z "$ac_cxx_werror_flag" ||
9553 >         test ! -s conftest.err
9554 >       } && test -s conftest.$ac_objext; then
9555    ac_header_compiler=yes
9556   else
9557 <  echo "$as_me: failed program was:" >&5
9557 >  $as_echo "$as_me: failed program was:" >&5
9558   sed 's/^/| /' conftest.$ac_ext >&5
9559  
9560 < ac_header_compiler=no
9560 >        ac_header_compiler=no
9561   fi
7184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7185 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7186 echo "${ECHO_T}$ac_header_compiler" >&6
9562  
9563 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9564 + { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9565 + $as_echo "$ac_header_compiler" >&6; }
9566 +
9567   # Is the header present?
9568 < echo "$as_me:$LINENO: checking $ac_header presence" >&5
9569 < echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9568 > { $as_echo "$as_me:$LINENO: checking openbabel/babelconfig.h presence" >&5
9569 > $as_echo_n "checking openbabel/babelconfig.h presence... " >&6; }
9570   cat >conftest.$ac_ext <<_ACEOF
9571   /* confdefs.h.  */
9572   _ACEOF
9573   cat confdefs.h >>conftest.$ac_ext
9574   cat >>conftest.$ac_ext <<_ACEOF
9575   /* end confdefs.h.  */
9576 < #include <$ac_header>
9576 > #include <openbabel/babelconfig.h>
9577   _ACEOF
9578 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9579 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9578 > if { (ac_try="$ac_cpp conftest.$ac_ext"
9579 > case "(($ac_try" in
9580 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9581 >  *) ac_try_echo=$ac_try;;
9582 > esac
9583 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9584 > $as_echo "$ac_try_echo") >&5
9585 >  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9586    ac_status=$?
9587    grep -v '^ *+' conftest.er1 >conftest.err
9588    rm -f conftest.er1
9589    cat conftest.err >&5
9590 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9591 <  (exit $ac_status); } >/dev/null; then
9592 <  if test -s conftest.err; then
9593 <    ac_cpp_err=$ac_c_preproc_warn_flag
9594 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7210 <  else
7211 <    ac_cpp_err=
7212 <  fi
7213 < else
7214 <  ac_cpp_err=yes
7215 < fi
7216 < if test -z "$ac_cpp_err"; then
9590 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9591 >  (exit $ac_status); } >/dev/null && {
9592 >         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9593 >         test ! -s conftest.err
9594 >       }; then
9595    ac_header_preproc=yes
9596   else
9597 <  echo "$as_me: failed program was:" >&5
9597 >  $as_echo "$as_me: failed program was:" >&5
9598   sed 's/^/| /' conftest.$ac_ext >&5
9599  
9600    ac_header_preproc=no
9601   fi
9602 +
9603   rm -f conftest.err conftest.$ac_ext
9604 < echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9605 < echo "${ECHO_T}$ac_header_preproc" >&6
9604 > { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9605 > $as_echo "$ac_header_preproc" >&6; }
9606  
9607   # So?  What about this header?
9608 < case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9608 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9609    yes:no: )
9610 <    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9611 < echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9612 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9613 < echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9610 >    { $as_echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: accepted by the compiler, rejected by the preprocessor!" >&5
9611 > $as_echo "$as_me: WARNING: openbabel/babelconfig.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9612 >    { $as_echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: proceeding with the compiler's result" >&5
9613 > $as_echo "$as_me: WARNING: openbabel/babelconfig.h: proceeding with the compiler's result" >&2;}
9614      ac_header_preproc=yes
9615      ;;
9616    no:yes:* )
9617 <    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9618 < echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9619 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
9620 < echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
9621 <    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9622 < echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9623 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
9624 < echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
9625 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9626 < echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9627 <    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9628 < echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9629 <    (
7251 <      cat <<\_ASBOX
9617 >    { $as_echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: present but cannot be compiled" >&5
9618 > $as_echo "$as_me: WARNING: openbabel/babelconfig.h: present but cannot be compiled" >&2;}
9619 >    { $as_echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h:     check for missing prerequisite headers?" >&5
9620 > $as_echo "$as_me: WARNING: openbabel/babelconfig.h:     check for missing prerequisite headers?" >&2;}
9621 >    { $as_echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: see the Autoconf documentation" >&5
9622 > $as_echo "$as_me: WARNING: openbabel/babelconfig.h: see the Autoconf documentation" >&2;}
9623 >    { $as_echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h:     section \"Present But Cannot Be Compiled\"" >&5
9624 > $as_echo "$as_me: WARNING: openbabel/babelconfig.h:     section \"Present But Cannot Be Compiled\"" >&2;}
9625 >    { $as_echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: proceeding with the preprocessor's result" >&5
9626 > $as_echo "$as_me: WARNING: openbabel/babelconfig.h: proceeding with the preprocessor's result" >&2;}
9627 >    { $as_echo "$as_me:$LINENO: WARNING: openbabel/babelconfig.h: in the future, the compiler will take precedence" >&5
9628 > $as_echo "$as_me: WARNING: openbabel/babelconfig.h: in the future, the compiler will take precedence" >&2;}
9629 >    ( cat <<\_ASBOX
9630   ## ------------------------------ ##
9631   ## Report this to gezelter@nd.edu ##
9632   ## ------------------------------ ##
9633   _ASBOX
9634 <    ) |
7257 <      sed "s/^/$as_me: WARNING:     /" >&2
9634 >     ) | sed "s/^/$as_me: WARNING:     /" >&2
9635      ;;
9636   esac
9637 < echo "$as_me:$LINENO: checking for $ac_header" >&5
9638 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9639 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
9640 <  echo $ECHO_N "(cached) $ECHO_C" >&6
9637 > { $as_echo "$as_me:$LINENO: checking for openbabel/babelconfig.h" >&5
9638 > $as_echo_n "checking for openbabel/babelconfig.h... " >&6; }
9639 > if test "${ac_cv_header_openbabel_babelconfig_h+set}" = set; then
9640 >  $as_echo_n "(cached) " >&6
9641   else
9642 <  eval "$as_ac_Header=\$ac_header_preproc"
9642 >  ac_cv_header_openbabel_babelconfig_h=$ac_header_preproc
9643   fi
9644 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9645 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9644 > { $as_echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_babelconfig_h" >&5
9645 > $as_echo "$ac_cv_header_openbabel_babelconfig_h" >&6; }
9646  
9647   fi
9648 < if test `eval echo '${'$as_ac_Header'}'` = yes; then
9648 > if test $ac_cv_header_openbabel_babelconfig_h = yes; then
9649 >  openbabel_cv_openbabel_h=yes
9650 > else
9651 >  openbabel_cv_openbabel_h=no
9652 > fi
9653 >
9654 >
9655 >        if test "${ac_cv_header_openbabel_obconversion_h+set}" = set; then
9656 >  { $as_echo "$as_me:$LINENO: checking for openbabel/obconversion.h" >&5
9657 > $as_echo_n "checking for openbabel/obconversion.h... " >&6; }
9658 > if test "${ac_cv_header_openbabel_obconversion_h+set}" = set; then
9659 >  $as_echo_n "(cached) " >&6
9660 > fi
9661 > { $as_echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_obconversion_h" >&5
9662 > $as_echo "$ac_cv_header_openbabel_obconversion_h" >&6; }
9663 > else
9664 >  # Is the header compilable?
9665 > { $as_echo "$as_me:$LINENO: checking openbabel/obconversion.h usability" >&5
9666 > $as_echo_n "checking openbabel/obconversion.h usability... " >&6; }
9667 > cat >conftest.$ac_ext <<_ACEOF
9668 > /* confdefs.h.  */
9669 > _ACEOF
9670 > cat confdefs.h >>conftest.$ac_ext
9671 > cat >>conftest.$ac_ext <<_ACEOF
9672 > /* end confdefs.h.  */
9673 > $ac_includes_default
9674 > #include <openbabel/obconversion.h>
9675 > _ACEOF
9676 > rm -f conftest.$ac_objext
9677 > if { (ac_try="$ac_compile"
9678 > case "(($ac_try" in
9679 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9680 >  *) ac_try_echo=$ac_try;;
9681 > esac
9682 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9683 > $as_echo "$ac_try_echo") >&5
9684 >  (eval "$ac_compile") 2>conftest.er1
9685 >  ac_status=$?
9686 >  grep -v '^ *+' conftest.er1 >conftest.err
9687 >  rm -f conftest.er1
9688 >  cat conftest.err >&5
9689 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690 >  (exit $ac_status); } && {
9691 >         test -z "$ac_cxx_werror_flag" ||
9692 >         test ! -s conftest.err
9693 >       } && test -s conftest.$ac_objext; then
9694 >  ac_header_compiler=yes
9695 > else
9696 >  $as_echo "$as_me: failed program was:" >&5
9697 > sed 's/^/| /' conftest.$ac_ext >&5
9698 >
9699 >        ac_header_compiler=no
9700 > fi
9701 >
9702 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9703 > { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9704 > $as_echo "$ac_header_compiler" >&6; }
9705 >
9706 > # Is the header present?
9707 > { $as_echo "$as_me:$LINENO: checking openbabel/obconversion.h presence" >&5
9708 > $as_echo_n "checking openbabel/obconversion.h presence... " >&6; }
9709 > cat >conftest.$ac_ext <<_ACEOF
9710 > /* confdefs.h.  */
9711 > _ACEOF
9712 > cat confdefs.h >>conftest.$ac_ext
9713 > cat >>conftest.$ac_ext <<_ACEOF
9714 > /* end confdefs.h.  */
9715 > #include <openbabel/obconversion.h>
9716 > _ACEOF
9717 > if { (ac_try="$ac_cpp conftest.$ac_ext"
9718 > case "(($ac_try" in
9719 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9720 >  *) ac_try_echo=$ac_try;;
9721 > esac
9722 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9723 > $as_echo "$ac_try_echo") >&5
9724 >  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9725 >  ac_status=$?
9726 >  grep -v '^ *+' conftest.er1 >conftest.err
9727 >  rm -f conftest.er1
9728 >  cat conftest.err >&5
9729 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9730 >  (exit $ac_status); } >/dev/null && {
9731 >         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9732 >         test ! -s conftest.err
9733 >       }; then
9734 >  ac_header_preproc=yes
9735 > else
9736 >  $as_echo "$as_me: failed program was:" >&5
9737 > sed 's/^/| /' conftest.$ac_ext >&5
9738 >
9739 >  ac_header_preproc=no
9740 > fi
9741 >
9742 > rm -f conftest.err conftest.$ac_ext
9743 > { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9744 > $as_echo "$ac_header_preproc" >&6; }
9745 >
9746 > # So?  What about this header?
9747 > case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9748 >  yes:no: )
9749 >    { $as_echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: accepted by the compiler, rejected by the preprocessor!" >&5
9750 > $as_echo "$as_me: WARNING: openbabel/obconversion.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9751 >    { $as_echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: proceeding with the compiler's result" >&5
9752 > $as_echo "$as_me: WARNING: openbabel/obconversion.h: proceeding with the compiler's result" >&2;}
9753 >    ac_header_preproc=yes
9754 >    ;;
9755 >  no:yes:* )
9756 >    { $as_echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: present but cannot be compiled" >&5
9757 > $as_echo "$as_me: WARNING: openbabel/obconversion.h: present but cannot be compiled" >&2;}
9758 >    { $as_echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h:     check for missing prerequisite headers?" >&5
9759 > $as_echo "$as_me: WARNING: openbabel/obconversion.h:     check for missing prerequisite headers?" >&2;}
9760 >    { $as_echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: see the Autoconf documentation" >&5
9761 > $as_echo "$as_me: WARNING: openbabel/obconversion.h: see the Autoconf documentation" >&2;}
9762 >    { $as_echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h:     section \"Present But Cannot Be Compiled\"" >&5
9763 > $as_echo "$as_me: WARNING: openbabel/obconversion.h:     section \"Present But Cannot Be Compiled\"" >&2;}
9764 >    { $as_echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: proceeding with the preprocessor's result" >&5
9765 > $as_echo "$as_me: WARNING: openbabel/obconversion.h: proceeding with the preprocessor's result" >&2;}
9766 >    { $as_echo "$as_me:$LINENO: WARNING: openbabel/obconversion.h: in the future, the compiler will take precedence" >&5
9767 > $as_echo "$as_me: WARNING: openbabel/obconversion.h: in the future, the compiler will take precedence" >&2;}
9768 >    ( cat <<\_ASBOX
9769 > ## ------------------------------ ##
9770 > ## Report this to gezelter@nd.edu ##
9771 > ## ------------------------------ ##
9772 > _ASBOX
9773 >     ) | sed "s/^/$as_me: WARNING:     /" >&2
9774 >    ;;
9775 > esac
9776 > { $as_echo "$as_me:$LINENO: checking for openbabel/obconversion.h" >&5
9777 > $as_echo_n "checking for openbabel/obconversion.h... " >&6; }
9778 > if test "${ac_cv_header_openbabel_obconversion_h+set}" = set; then
9779 >  $as_echo_n "(cached) " >&6
9780 > else
9781 >  ac_cv_header_openbabel_obconversion_h=$ac_header_preproc
9782 > fi
9783 > { $as_echo "$as_me:$LINENO: result: $ac_cv_header_openbabel_obconversion_h" >&5
9784 > $as_echo "$ac_cv_header_openbabel_obconversion_h" >&6; }
9785 >
9786 > fi
9787 > if test $ac_cv_header_openbabel_obconversion_h = yes; then
9788 >  openbabel_cv_obconversion_h=yes
9789 > else
9790 >  openbabel_cv_obconversion_h=no
9791 > fi
9792 >
9793 >
9794 >        cat >conftest.$ac_ext <<_ACEOF
9795 >
9796 >             /* confdefs.h.  */
9797 > _ACEOF
9798 > cat confdefs.h >>conftest.$ac_ext
9799 > cat >>conftest.$ac_ext <<_ACEOF
9800 > /* end confdefs.h.  */
9801 >
9802 > #include <openbabel/babelconfig.h>
9803 > #include <openbabel/obconversion.h>
9804 > using namespace std;
9805 > using namespace OpenBabel;
9806 >
9807 > #ifdef FC_DUMMY_MAIN
9808 > #ifndef FC_DUMMY_MAIN_EQ_F77
9809 > #  ifdef __cplusplus
9810 >     extern "C"
9811 > #  endif
9812 >   int FC_DUMMY_MAIN() { return 1; }
9813 > #endif
9814 > #endif
9815 > int
9816 > main ()
9817 > {
9818 >
9819 > OBConversion Conv(&cin, &cout);
9820 >
9821 >
9822 >  ;
9823 >  return 0;
9824 > }
9825 > _ACEOF
9826 > rm -f conftest.$ac_objext conftest$ac_exeext
9827 > if { (ac_try="$ac_link"
9828 > case "(($ac_try" in
9829 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9830 >  *) ac_try_echo=$ac_try;;
9831 > esac
9832 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9833 > $as_echo "$ac_try_echo") >&5
9834 >  (eval "$ac_link") 2>conftest.er1
9835 >  ac_status=$?
9836 >  grep -v '^ *+' conftest.er1 >conftest.err
9837 >  rm -f conftest.er1
9838 >  cat conftest.err >&5
9839 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9840 >  (exit $ac_status); } && {
9841 >         test -z "$ac_cxx_werror_flag" ||
9842 >         test ! -s conftest.err
9843 >       } && test -s conftest$ac_exeext && {
9844 >         test "$cross_compiling" = yes ||
9845 >         $as_test_x conftest$ac_exeext
9846 >       }; then
9847 >
9848 >                openbabel_lib_found="yes"
9849 >                { $as_echo "$as_me:$LINENO: result: found" >&5
9850 > $as_echo "found" >&6; }
9851 >
9852 > else
9853 >  $as_echo "$as_me: failed program was:" >&5
9854 > sed 's/^/| /' conftest.$ac_ext >&5
9855 >
9856 >
9857 >                openbabel_lib_found="no"
9858 >                { $as_echo "$as_me:$LINENO: result: not found" >&5
9859 > $as_echo "not found" >&6; }
9860 >
9861 >
9862 > fi
9863 >
9864 > rm -rf conftest.dSYM
9865 > rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9866 >      conftest$ac_exeext conftest.$ac_ext
9867 >        ac_ext=c
9868 > ac_cpp='$CPP $CPPFLAGS'
9869 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9870 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9871 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
9872 >
9873 >        LDFLAGS="$OPENBABEL_OLD_LDFLAGS"
9874 >        CPPFLAGS="$OPENBABEL_OLD_CPPFLAGS"
9875 >
9876 >        if test "$openbabel_lib_found" = "yes" -a "$openbabel_cv_openbabel_h" = "yes" -a "$openbabel_cv_obconversion_h" = "yes"; then
9877 >                USE_OPENBABEL=yes
9878 >                OPENBABEL_INC_DIR="${OPENBABEL_HOME}/include/openbabel-2.0"
9879 >                OPENBABEL_LIB_DIR="${OPENBABEL_HOME}/lib"
9880 >                OPENBABEL_LIB="-lopenbabel"
9881 >        else
9882 >                { $as_echo "$as_me:$LINENO: checking openbabel in ${OPENBABEL_HOME}" >&5
9883 > $as_echo_n "checking openbabel in ${OPENBABEL_HOME}... " >&6; }
9884 >                OPENBABEL_INC_DIR=
9885 >                OPENBABEL_LIB_DIR=
9886 >                OPENBABEL_LIB=
9887 >                USE_OPENBABEL=no
9888 >                { $as_echo "$as_me:$LINENO: result: failed" >&5
9889 > $as_echo "failed" >&6; }
9890 >                echo ""
9891 >                echo "*********************************************************"
9892 >                echo "* WARNING: Could not find a working openbabel-2.x       *"
9893 >                echo "* installation If you need OOPSE to be able to convert  *"
9894 >                echo "* xyz or pdb files you need to specify a valid          *"
9895 >                echo "* openbabel-2.x installation with --with-openbabel=DIR  *"
9896 >                echo "*                                                       *"
9897 >                echo "* OOPSE will still work without openbabel installed.    *"
9898 >                echo "*********************************************************"
9899 >                echo ""
9900 >        fi
9901 >
9902 >
9903 >
9904 >
9905 > fi
9906 > fi
9907 >
9908 >
9909 > # Checks for header files.
9910 > { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9911 > $as_echo_n "checking for ANSI C header files... " >&6; }
9912 > if test "${ac_cv_header_stdc+set}" = set; then
9913 >  $as_echo_n "(cached) " >&6
9914 > else
9915 >  cat >conftest.$ac_ext <<_ACEOF
9916 > /* confdefs.h.  */
9917 > _ACEOF
9918 > cat confdefs.h >>conftest.$ac_ext
9919 > cat >>conftest.$ac_ext <<_ACEOF
9920 > /* end confdefs.h.  */
9921 > #include <stdlib.h>
9922 > #include <stdarg.h>
9923 > #include <string.h>
9924 > #include <float.h>
9925 >
9926 > #ifdef FC_DUMMY_MAIN
9927 > #ifndef FC_DUMMY_MAIN_EQ_F77
9928 > #  ifdef __cplusplus
9929 >     extern "C"
9930 > #  endif
9931 >   int FC_DUMMY_MAIN() { return 1; }
9932 > #endif
9933 > #endif
9934 > int
9935 > main ()
9936 > {
9937 >
9938 >  ;
9939 >  return 0;
9940 > }
9941 > _ACEOF
9942 > rm -f conftest.$ac_objext
9943 > if { (ac_try="$ac_compile"
9944 > case "(($ac_try" in
9945 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9946 >  *) ac_try_echo=$ac_try;;
9947 > esac
9948 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9949 > $as_echo "$ac_try_echo") >&5
9950 >  (eval "$ac_compile") 2>conftest.er1
9951 >  ac_status=$?
9952 >  grep -v '^ *+' conftest.er1 >conftest.err
9953 >  rm -f conftest.er1
9954 >  cat conftest.err >&5
9955 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9956 >  (exit $ac_status); } && {
9957 >         test -z "$ac_c_werror_flag" ||
9958 >         test ! -s conftest.err
9959 >       } && test -s conftest.$ac_objext; then
9960 >  ac_cv_header_stdc=yes
9961 > else
9962 >  $as_echo "$as_me: failed program was:" >&5
9963 > sed 's/^/| /' conftest.$ac_ext >&5
9964 >
9965 >        ac_cv_header_stdc=no
9966 > fi
9967 >
9968 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9969 >
9970 > if test $ac_cv_header_stdc = yes; then
9971 >  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9972 >  cat >conftest.$ac_ext <<_ACEOF
9973 > /* confdefs.h.  */
9974 > _ACEOF
9975 > cat confdefs.h >>conftest.$ac_ext
9976 > cat >>conftest.$ac_ext <<_ACEOF
9977 > /* end confdefs.h.  */
9978 > #include <string.h>
9979 >
9980 > _ACEOF
9981 > if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9982 >  $EGREP "memchr" >/dev/null 2>&1; then
9983 >  :
9984 > else
9985 >  ac_cv_header_stdc=no
9986 > fi
9987 > rm -f conftest*
9988 >
9989 > fi
9990 >
9991 > if test $ac_cv_header_stdc = yes; then
9992 >  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9993 >  cat >conftest.$ac_ext <<_ACEOF
9994 > /* confdefs.h.  */
9995 > _ACEOF
9996 > cat confdefs.h >>conftest.$ac_ext
9997 > cat >>conftest.$ac_ext <<_ACEOF
9998 > /* end confdefs.h.  */
9999 > #include <stdlib.h>
10000 >
10001 > _ACEOF
10002 > if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10003 >  $EGREP "free" >/dev/null 2>&1; then
10004 >  :
10005 > else
10006 >  ac_cv_header_stdc=no
10007 > fi
10008 > rm -f conftest*
10009 >
10010 > fi
10011 >
10012 > if test $ac_cv_header_stdc = yes; then
10013 >  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10014 >  if test "$cross_compiling" = yes; then
10015 >  :
10016 > else
10017 >  cat >conftest.$ac_ext <<_ACEOF
10018 > /* confdefs.h.  */
10019 > _ACEOF
10020 > cat confdefs.h >>conftest.$ac_ext
10021 > cat >>conftest.$ac_ext <<_ACEOF
10022 > /* end confdefs.h.  */
10023 > #include <ctype.h>
10024 > #include <stdlib.h>
10025 > #if ((' ' & 0x0FF) == 0x020)
10026 > # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10027 > # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10028 > #else
10029 > # define ISLOWER(c) \
10030 >                   (('a' <= (c) && (c) <= 'i') \
10031 >                     || ('j' <= (c) && (c) <= 'r') \
10032 >                     || ('s' <= (c) && (c) <= 'z'))
10033 > # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10034 > #endif
10035 >
10036 > #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10037 > int
10038 > main ()
10039 > {
10040 >  int i;
10041 >  for (i = 0; i < 256; i++)
10042 >    if (XOR (islower (i), ISLOWER (i))
10043 >        || toupper (i) != TOUPPER (i))
10044 >      return 2;
10045 >  return 0;
10046 > }
10047 > _ACEOF
10048 > rm -f conftest$ac_exeext
10049 > if { (ac_try="$ac_link"
10050 > case "(($ac_try" in
10051 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10052 >  *) ac_try_echo=$ac_try;;
10053 > esac
10054 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10055 > $as_echo "$ac_try_echo") >&5
10056 >  (eval "$ac_link") 2>&5
10057 >  ac_status=$?
10058 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10059 >  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10060 >  { (case "(($ac_try" in
10061 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10062 >  *) ac_try_echo=$ac_try;;
10063 > esac
10064 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10065 > $as_echo "$ac_try_echo") >&5
10066 >  (eval "$ac_try") 2>&5
10067 >  ac_status=$?
10068 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10069 >  (exit $ac_status); }; }; then
10070 >  :
10071 > else
10072 >  $as_echo "$as_me: program exited with status $ac_status" >&5
10073 > $as_echo "$as_me: failed program was:" >&5
10074 > sed 's/^/| /' conftest.$ac_ext >&5
10075 >
10076 > ( exit $ac_status )
10077 > ac_cv_header_stdc=no
10078 > fi
10079 > rm -rf conftest.dSYM
10080 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10081 > fi
10082 >
10083 >
10084 > fi
10085 > fi
10086 > { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
10087 > $as_echo "$ac_cv_header_stdc" >&6; }
10088 > if test $ac_cv_header_stdc = yes; then
10089 >
10090 > cat >>confdefs.h <<\_ACEOF
10091 > #define STDC_HEADERS 1
10092 > _ACEOF
10093 >
10094 > fi
10095 >
10096 >
10097 >
10098 >
10099 >
10100 >
10101 >
10102 >
10103 >
10104 >
10105 >
10106 >
10107 >
10108 >
10109 >
10110 >
10111 > for ac_header in libintl.h limits.h machine/hal_sysinfo.h stdlib.h string.h strings.h sys/param.h sys/pstat.h sys/sysctl.h sys/sysinfo.h sys/sysmp.h sys/systemcfg.h sys/table.h sys/time.h unistd.h
10112 > do
10113 > as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10114 > if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10115 >  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10116 > $as_echo_n "checking for $ac_header... " >&6; }
10117 > if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10118 >  $as_echo_n "(cached) " >&6
10119 > fi
10120 > ac_res=`eval 'as_val=${'$as_ac_Header'}
10121 >                 $as_echo "$as_val"'`
10122 >               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10123 > $as_echo "$ac_res" >&6; }
10124 > else
10125 >  # Is the header compilable?
10126 > { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10127 > $as_echo_n "checking $ac_header usability... " >&6; }
10128 > cat >conftest.$ac_ext <<_ACEOF
10129 > /* confdefs.h.  */
10130 > _ACEOF
10131 > cat confdefs.h >>conftest.$ac_ext
10132 > cat >>conftest.$ac_ext <<_ACEOF
10133 > /* end confdefs.h.  */
10134 > $ac_includes_default
10135 > #include <$ac_header>
10136 > _ACEOF
10137 > rm -f conftest.$ac_objext
10138 > if { (ac_try="$ac_compile"
10139 > case "(($ac_try" in
10140 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10141 >  *) ac_try_echo=$ac_try;;
10142 > esac
10143 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10144 > $as_echo "$ac_try_echo") >&5
10145 >  (eval "$ac_compile") 2>conftest.er1
10146 >  ac_status=$?
10147 >  grep -v '^ *+' conftest.er1 >conftest.err
10148 >  rm -f conftest.er1
10149 >  cat conftest.err >&5
10150 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10151 >  (exit $ac_status); } && {
10152 >         test -z "$ac_c_werror_flag" ||
10153 >         test ! -s conftest.err
10154 >       } && test -s conftest.$ac_objext; then
10155 >  ac_header_compiler=yes
10156 > else
10157 >  $as_echo "$as_me: failed program was:" >&5
10158 > sed 's/^/| /' conftest.$ac_ext >&5
10159 >
10160 >        ac_header_compiler=no
10161 > fi
10162 >
10163 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10164 > { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10165 > $as_echo "$ac_header_compiler" >&6; }
10166 >
10167 > # Is the header present?
10168 > { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10169 > $as_echo_n "checking $ac_header presence... " >&6; }
10170 > cat >conftest.$ac_ext <<_ACEOF
10171 > /* confdefs.h.  */
10172 > _ACEOF
10173 > cat confdefs.h >>conftest.$ac_ext
10174 > cat >>conftest.$ac_ext <<_ACEOF
10175 > /* end confdefs.h.  */
10176 > #include <$ac_header>
10177 > _ACEOF
10178 > if { (ac_try="$ac_cpp conftest.$ac_ext"
10179 > case "(($ac_try" in
10180 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10181 >  *) ac_try_echo=$ac_try;;
10182 > esac
10183 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10184 > $as_echo "$ac_try_echo") >&5
10185 >  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10186 >  ac_status=$?
10187 >  grep -v '^ *+' conftest.er1 >conftest.err
10188 >  rm -f conftest.er1
10189 >  cat conftest.err >&5
10190 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10191 >  (exit $ac_status); } >/dev/null && {
10192 >         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10193 >         test ! -s conftest.err
10194 >       }; then
10195 >  ac_header_preproc=yes
10196 > else
10197 >  $as_echo "$as_me: failed program was:" >&5
10198 > sed 's/^/| /' conftest.$ac_ext >&5
10199 >
10200 >  ac_header_preproc=no
10201 > fi
10202 >
10203 > rm -f conftest.err conftest.$ac_ext
10204 > { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10205 > $as_echo "$ac_header_preproc" >&6; }
10206 >
10207 > # So?  What about this header?
10208 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10209 >  yes:no: )
10210 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10211 > $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10212 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10213 > $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10214 >    ac_header_preproc=yes
10215 >    ;;
10216 >  no:yes:* )
10217 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10218 > $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10219 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
10220 > $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
10221 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10222 > $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10223 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
10224 > $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
10225 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10226 > $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10227 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10228 > $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10229 >    ( cat <<\_ASBOX
10230 > ## ------------------------------ ##
10231 > ## Report this to gezelter@nd.edu ##
10232 > ## ------------------------------ ##
10233 > _ASBOX
10234 >     ) | sed "s/^/$as_me: WARNING:     /" >&2
10235 >    ;;
10236 > esac
10237 > { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10238 > $as_echo_n "checking for $ac_header... " >&6; }
10239 > if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10240 >  $as_echo_n "(cached) " >&6
10241 > else
10242 >  eval "$as_ac_Header=\$ac_header_preproc"
10243 > fi
10244 > ac_res=`eval 'as_val=${'$as_ac_Header'}
10245 >                 $as_echo "$as_val"'`
10246 >               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10247 > $as_echo "$ac_res" >&6; }
10248 >
10249 > fi
10250 > if test `eval 'as_val=${'$as_ac_Header'}
10251 >                 $as_echo "$as_val"'` = yes; then
10252    cat >>confdefs.h <<_ACEOF
10253 < #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10253 > #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10254   _ACEOF
10255  
10256   fi
# Line 7279 | Line 10259 | done
10259  
10260  
10261   # Checks for typedefs, structures, and compiler characteristics.
10262 < echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
10263 < echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
10262 > { $as_echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
10263 > $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
10264   if test "${ac_cv_header_stdbool_h+set}" = set; then
10265 <  echo $ECHO_N "(cached) $ECHO_C" >&6
10265 >  $as_echo_n "(cached) " >&6
10266   else
10267    cat >conftest.$ac_ext <<_ACEOF
10268   /* confdefs.h.  */
# Line 7293 | Line 10273 | cat >>conftest.$ac_ext <<_ACEOF
10273  
10274   #include <stdbool.h>
10275   #ifndef bool
10276 < # error bool is not defined
10276 > "error: bool is not defined"
10277   #endif
10278   #ifndef false
10279 < # error false is not defined
10279 > "error: false is not defined"
10280   #endif
10281   #if false
10282 < # error false is not 0
10282 > "error: false is not 0"
10283   #endif
10284   #ifndef true
10285 < # error true is not defined
10285 > "error: true is not defined"
10286   #endif
10287   #if true != 1
10288 < # error true is not 1
10288 > "error: true is not 1"
10289   #endif
10290   #ifndef __bool_true_false_are_defined
10291 < # error __bool_true_false_are_defined is not defined
10291 > "error: __bool_true_false_are_defined is not defined"
10292   #endif
10293  
10294          struct s { _Bool s: 1; _Bool t; } s;
# Line 7316 | Line 10296 | cat >>conftest.$ac_ext <<_ACEOF
10296          char a[true == 1 ? 1 : -1];
10297          char b[false == 0 ? 1 : -1];
10298          char c[__bool_true_false_are_defined == 1 ? 1 : -1];
10299 <        char d[(bool) -0.5 == true ? 1 : -1];
10299 >        char d[(bool) 0.5 == true ? 1 : -1];
10300          bool e = &s;
10301 <        char f[(_Bool) -0.0 == false ? 1 : -1];
10301 >        char f[(_Bool) 0.0 == false ? 1 : -1];
10302          char g[true];
10303          char h[sizeof (_Bool)];
10304          char i[sizeof s.t];
10305 +        enum { j = false, k = true, l = false * true, m = true * 256 };
10306 +        /* The following fails for
10307 +           HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
10308 +        _Bool n[m];
10309 +        char o[sizeof n == m * sizeof n[0] ? 1 : -1];
10310 +        char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
10311 + #       if defined __xlc__ || defined __GNUC__
10312 +         /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
10313 +            reported by James Lemley on 2005-10-05; see
10314 +            http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
10315 +            This test is not quite right, since xlc is allowed to
10316 +            reject this program, as the initializer for xlcbug is
10317 +            not one of the forms that C requires support for.
10318 +            However, doing the test right would require a runtime
10319 +            test, and that would make cross-compilation harder.
10320 +            Let us hope that IBM fixes the xlc bug, and also adds
10321 +            support for this kind of constant expression.  In the
10322 +            meantime, this test will reject xlc, which is OK, since
10323 +            our stdbool.h substitute should suffice.  We also test
10324 +            this with GCC, where it should work, to detect more
10325 +            quickly whether someone messes up the test in the
10326 +            future.  */
10327 +         char digs[] = "0123456789";
10328 +         int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
10329 + #       endif
10330 +        /* Catch a bug in an HP-UX C compiler.  See
10331 +           http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
10332 +           http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
10333 +         */
10334 +        _Bool q = true;
10335 +        _Bool *pq = &q;
10336  
10337   #ifdef FC_DUMMY_MAIN
10338   #ifndef FC_DUMMY_MAIN_EQ_F77
# Line 7334 | Line 10345 | main ()
10345   int
10346   main ()
10347   {
10348 < return !a + !b + !c + !d + !e + !f + !g + !h + !i;
10348 >
10349 >        *pq |= q;
10350 >        *pq |= ! q;
10351 >        /* Refer to every declared value, to avoid compiler optimizations.  */
10352 >        return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
10353 >                + !m + !n + !o + !p + !q + !pq);
10354 >
10355    ;
10356    return 0;
10357   }
10358   _ACEOF
10359   rm -f conftest.$ac_objext
10360 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10361 <  (eval $ac_compile) 2>conftest.er1
10360 > if { (ac_try="$ac_compile"
10361 > case "(($ac_try" in
10362 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10363 >  *) ac_try_echo=$ac_try;;
10364 > esac
10365 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10366 > $as_echo "$ac_try_echo") >&5
10367 >  (eval "$ac_compile") 2>conftest.er1
10368    ac_status=$?
10369    grep -v '^ *+' conftest.er1 >conftest.err
10370    rm -f conftest.er1
10371    cat conftest.err >&5
10372 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373 <  (exit $ac_status); } &&
10374 <         { ac_try='test -z "$ac_c_werror_flag"
10375 <                         || test ! -s conftest.err'
10376 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7354 <  (eval $ac_try) 2>&5
7355 <  ac_status=$?
7356 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7357 <  (exit $ac_status); }; } &&
7358 <         { ac_try='test -s conftest.$ac_objext'
7359 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7360 <  (eval $ac_try) 2>&5
7361 <  ac_status=$?
7362 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7363 <  (exit $ac_status); }; }; then
10372 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10373 >  (exit $ac_status); } && {
10374 >         test -z "$ac_c_werror_flag" ||
10375 >         test ! -s conftest.err
10376 >       } && test -s conftest.$ac_objext; then
10377    ac_cv_header_stdbool_h=yes
10378   else
10379 <  echo "$as_me: failed program was:" >&5
10379 >  $as_echo "$as_me: failed program was:" >&5
10380   sed 's/^/| /' conftest.$ac_ext >&5
10381  
10382 < ac_cv_header_stdbool_h=no
10382 >        ac_cv_header_stdbool_h=no
10383   fi
10384 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10384 >
10385 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10386   fi
10387 < echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
10388 < echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
10389 < echo "$as_me:$LINENO: checking for _Bool" >&5
10390 < echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
10387 > { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
10388 > $as_echo "$ac_cv_header_stdbool_h" >&6; }
10389 > { $as_echo "$as_me:$LINENO: checking for _Bool" >&5
10390 > $as_echo_n "checking for _Bool... " >&6; }
10391   if test "${ac_cv_type__Bool+set}" = set; then
10392 <  echo $ECHO_N "(cached) $ECHO_C" >&6
10392 >  $as_echo_n "(cached) " >&6
10393   else
10394 <  cat >conftest.$ac_ext <<_ACEOF
10394 >  ac_cv_type__Bool=no
10395 > cat >conftest.$ac_ext <<_ACEOF
10396   /* confdefs.h.  */
10397   _ACEOF
10398   cat confdefs.h >>conftest.$ac_ext
# Line 7395 | Line 10410 | main ()
10410   int
10411   main ()
10412   {
7398 if ((_Bool *) 0)
7399  return 0;
10413   if (sizeof (_Bool))
10414 <  return 0;
10414 >       return 0;
10415    ;
10416    return 0;
10417   }
10418   _ACEOF
10419   rm -f conftest.$ac_objext
10420 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10421 <  (eval $ac_compile) 2>conftest.er1
10420 > if { (ac_try="$ac_compile"
10421 > case "(($ac_try" in
10422 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10423 >  *) ac_try_echo=$ac_try;;
10424 > esac
10425 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10426 > $as_echo "$ac_try_echo") >&5
10427 >  (eval "$ac_compile") 2>conftest.er1
10428    ac_status=$?
10429    grep -v '^ *+' conftest.er1 >conftest.err
10430    rm -f conftest.er1
10431    cat conftest.err >&5
10432 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10433 <  (exit $ac_status); } &&
10434 <         { ac_try='test -z "$ac_c_werror_flag"
10435 <                         || test ! -s conftest.err'
10436 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10437 <  (eval $ac_try) 2>&5
10438 <  ac_status=$?
10439 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10440 <  (exit $ac_status); }; } &&
10441 <         { ac_try='test -s conftest.$ac_objext'
10442 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10443 <  (eval $ac_try) 2>&5
10444 <  ac_status=$?
10445 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10446 <  (exit $ac_status); }; }; then
10447 <  ac_cv_type__Bool=yes
10432 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10433 >  (exit $ac_status); } && {
10434 >         test -z "$ac_c_werror_flag" ||
10435 >         test ! -s conftest.err
10436 >       } && test -s conftest.$ac_objext; then
10437 >  cat >conftest.$ac_ext <<_ACEOF
10438 > /* confdefs.h.  */
10439 > _ACEOF
10440 > cat confdefs.h >>conftest.$ac_ext
10441 > cat >>conftest.$ac_ext <<_ACEOF
10442 > /* end confdefs.h.  */
10443 > $ac_includes_default
10444 > #ifdef FC_DUMMY_MAIN
10445 > #ifndef FC_DUMMY_MAIN_EQ_F77
10446 > #  ifdef __cplusplus
10447 >     extern "C"
10448 > #  endif
10449 >   int FC_DUMMY_MAIN() { return 1; }
10450 > #endif
10451 > #endif
10452 > int
10453 > main ()
10454 > {
10455 > if (sizeof ((_Bool)))
10456 >          return 0;
10457 >  ;
10458 >  return 0;
10459 > }
10460 > _ACEOF
10461 > rm -f conftest.$ac_objext
10462 > if { (ac_try="$ac_compile"
10463 > case "(($ac_try" in
10464 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10465 >  *) ac_try_echo=$ac_try;;
10466 > esac
10467 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10468 > $as_echo "$ac_try_echo") >&5
10469 >  (eval "$ac_compile") 2>conftest.er1
10470 >  ac_status=$?
10471 >  grep -v '^ *+' conftest.er1 >conftest.err
10472 >  rm -f conftest.er1
10473 >  cat conftest.err >&5
10474 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475 >  (exit $ac_status); } && {
10476 >         test -z "$ac_c_werror_flag" ||
10477 >         test ! -s conftest.err
10478 >       } && test -s conftest.$ac_objext; then
10479 >  :
10480   else
10481 <  echo "$as_me: failed program was:" >&5
10481 >  $as_echo "$as_me: failed program was:" >&5
10482   sed 's/^/| /' conftest.$ac_ext >&5
10483  
10484 < ac_cv_type__Bool=no
10484 >        ac_cv_type__Bool=yes
10485   fi
10486 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10486 >
10487 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10488 > else
10489 >  $as_echo "$as_me: failed program was:" >&5
10490 > sed 's/^/| /' conftest.$ac_ext >&5
10491 >
10492 >
10493   fi
10494 < echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
10495 < echo "${ECHO_T}$ac_cv_type__Bool" >&6
10494 >
10495 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10496 > fi
10497 > { $as_echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
10498 > $as_echo "$ac_cv_type__Bool" >&6; }
10499   if test $ac_cv_type__Bool = yes; then
10500  
10501   cat >>confdefs.h <<_ACEOF
# Line 7453 | Line 10513 | fi
10513  
10514   fi
10515  
10516 < echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
10517 < echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
10516 > { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
10517 > $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
10518   if test "${ac_cv_c_const+set}" = set; then
10519 <  echo $ECHO_N "(cached) $ECHO_C" >&6
10519 >  $as_echo_n "(cached) " >&6
10520   else
10521    cat >conftest.$ac_ext <<_ACEOF
10522   /* confdefs.h.  */
# Line 7480 | Line 10540 | main ()
10540   #ifndef __cplusplus
10541    /* Ultrix mips cc rejects this.  */
10542    typedef int charset[2];
10543 <  const charset x;
10543 >  const charset cs;
10544    /* SunOS 4.1.1 cc rejects this.  */
10545 <  char const *const *ccp;
10546 <  char **p;
10545 >  char const *const *pcpcc;
10546 >  char **ppc;
10547    /* NEC SVR4.0.2 mips cc rejects this.  */
10548    struct point {int x, y;};
10549    static struct point const zero = {0,0};
# Line 7492 | Line 10552 | main ()
10552       an arm of an if-expression whose if-part is not a constant
10553       expression */
10554    const char *g = "string";
10555 <  ccp = &g + (g ? g-g : 0);
10555 >  pcpcc = &g + (g ? g-g : 0);
10556    /* HPUX 7.0 cc rejects these. */
10557 <  ++ccp;
10558 <  p = (char**) ccp;
10559 <  ccp = (char const *const *) p;
10557 >  ++pcpcc;
10558 >  ppc = (char**) pcpcc;
10559 >  pcpcc = (char const *const *) ppc;
10560    { /* SCO 3.2v4 cc rejects this.  */
10561      char *t;
10562      char const *s = 0 ? (char *) 0 : (char const *) 0;
10563  
10564      *t++ = 0;
10565 +    if (s) return 0;
10566    }
10567    { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
10568      int x[] = {25, 17};
# Line 7520 | Line 10581 | main ()
10581    }
10582    { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10583      const int foo = 10;
10584 +    if (!foo) return 0;
10585    }
10586 +  return !cs[0] && !zero.x;
10587   #endif
10588  
10589    ;
# Line 7528 | Line 10591 | rm -f conftest.$ac_objext
10591   }
10592   _ACEOF
10593   rm -f conftest.$ac_objext
10594 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10595 <  (eval $ac_compile) 2>conftest.er1
10594 > if { (ac_try="$ac_compile"
10595 > case "(($ac_try" in
10596 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10597 >  *) ac_try_echo=$ac_try;;
10598 > esac
10599 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10600 > $as_echo "$ac_try_echo") >&5
10601 >  (eval "$ac_compile") 2>conftest.er1
10602    ac_status=$?
10603    grep -v '^ *+' conftest.er1 >conftest.err
10604    rm -f conftest.er1
10605    cat conftest.err >&5
10606 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10607 <  (exit $ac_status); } &&
10608 <         { ac_try='test -z "$ac_c_werror_flag"
10609 <                         || test ! -s conftest.err'
10610 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7542 <  (eval $ac_try) 2>&5
7543 <  ac_status=$?
7544 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7545 <  (exit $ac_status); }; } &&
7546 <         { ac_try='test -s conftest.$ac_objext'
7547 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7548 <  (eval $ac_try) 2>&5
7549 <  ac_status=$?
7550 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7551 <  (exit $ac_status); }; }; then
10606 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10607 >  (exit $ac_status); } && {
10608 >         test -z "$ac_c_werror_flag" ||
10609 >         test ! -s conftest.err
10610 >       } && test -s conftest.$ac_objext; then
10611    ac_cv_c_const=yes
10612   else
10613 <  echo "$as_me: failed program was:" >&5
10613 >  $as_echo "$as_me: failed program was:" >&5
10614   sed 's/^/| /' conftest.$ac_ext >&5
10615  
10616 < ac_cv_c_const=no
10616 >        ac_cv_c_const=no
10617   fi
10618 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10618 >
10619 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10620   fi
10621 < echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
10622 < echo "${ECHO_T}$ac_cv_c_const" >&6
10621 > { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
10622 > $as_echo "$ac_cv_c_const" >&6; }
10623   if test $ac_cv_c_const = no; then
10624  
10625   cat >>confdefs.h <<\_ACEOF
10626 < #define const
10626 > #define const /**/
10627   _ACEOF
10628  
10629   fi
10630  
10631 < echo "$as_me:$LINENO: checking for inline" >&5
10632 < echo $ECHO_N "checking for inline... $ECHO_C" >&6
10631 > { $as_echo "$as_me:$LINENO: checking for inline" >&5
10632 > $as_echo_n "checking for inline... " >&6; }
10633   if test "${ac_cv_c_inline+set}" = set; then
10634 <  echo $ECHO_N "(cached) $ECHO_C" >&6
10634 >  $as_echo_n "(cached) " >&6
10635   else
10636    ac_cv_c_inline=no
10637   for ac_kw in inline __inline__ __inline; do
# Line 7589 | Line 10649 | rm -f conftest.$ac_objext
10649  
10650   _ACEOF
10651   rm -f conftest.$ac_objext
10652 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10653 <  (eval $ac_compile) 2>conftest.er1
10652 > if { (ac_try="$ac_compile"
10653 > case "(($ac_try" in
10654 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10655 >  *) ac_try_echo=$ac_try;;
10656 > esac
10657 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10658 > $as_echo "$ac_try_echo") >&5
10659 >  (eval "$ac_compile") 2>conftest.er1
10660    ac_status=$?
10661    grep -v '^ *+' conftest.er1 >conftest.err
10662    rm -f conftest.er1
10663    cat conftest.err >&5
10664 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665 <  (exit $ac_status); } &&
10666 <         { ac_try='test -z "$ac_c_werror_flag"
10667 <                         || test ! -s conftest.err'
10668 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10669 <  (eval $ac_try) 2>&5
7604 <  ac_status=$?
7605 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7606 <  (exit $ac_status); }; } &&
7607 <         { ac_try='test -s conftest.$ac_objext'
7608 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7609 <  (eval $ac_try) 2>&5
7610 <  ac_status=$?
7611 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7612 <  (exit $ac_status); }; }; then
7613 <  ac_cv_c_inline=$ac_kw; break
10664 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665 >  (exit $ac_status); } && {
10666 >         test -z "$ac_c_werror_flag" ||
10667 >         test ! -s conftest.err
10668 >       } && test -s conftest.$ac_objext; then
10669 >  ac_cv_c_inline=$ac_kw
10670   else
10671 <  echo "$as_me: failed program was:" >&5
10671 >  $as_echo "$as_me: failed program was:" >&5
10672   sed 's/^/| /' conftest.$ac_ext >&5
10673  
10674 +
10675   fi
10676 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10676 >
10677 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10678 >  test "$ac_cv_c_inline" != no && break
10679   done
10680  
10681   fi
10682 < echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
10683 < echo "${ECHO_T}$ac_cv_c_inline" >&6
10682 > { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
10683 > $as_echo "$ac_cv_c_inline" >&6; }
10684  
10685  
10686   case $ac_cv_c_inline in
# Line 7639 | Line 10698 | esac
10698      ;;
10699   esac
10700  
10701 < echo "$as_me:$LINENO: checking for C/C++ restrict keyword" >&5
10702 < echo $ECHO_N "checking for C/C++ restrict keyword... $ECHO_C" >&6
7644 < if test "${ac_cv_c_restrict+set}" = set; then
7645 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7646 < else
7647 <  ac_cv_c_restrict=no
7648 <   # Try the official restrict keyword, then gcc's __restrict, and
7649 <   # the less common variants.
7650 <   for ac_kw in restrict __restrict __restrict__ _Restrict; do
7651 <     cat >conftest.$ac_ext <<_ACEOF
7652 < /* confdefs.h.  */
7653 < _ACEOF
7654 < cat confdefs.h >>conftest.$ac_ext
7655 < cat >>conftest.$ac_ext <<_ACEOF
7656 < /* end confdefs.h.  */
7657 < float * $ac_kw x;
7658 < _ACEOF
7659 < rm -f conftest.$ac_objext
7660 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7661 <  (eval $ac_compile) 2>conftest.er1
7662 <  ac_status=$?
7663 <  grep -v '^ *+' conftest.er1 >conftest.err
7664 <  rm -f conftest.er1
7665 <  cat conftest.err >&5
7666 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7667 <  (exit $ac_status); } &&
7668 <         { ac_try='test -z "$ac_c_werror_flag"
7669 <                         || test ! -s conftest.err'
7670 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7671 <  (eval $ac_try) 2>&5
7672 <  ac_status=$?
7673 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7674 <  (exit $ac_status); }; } &&
7675 <         { ac_try='test -s conftest.$ac_objext'
7676 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7677 <  (eval $ac_try) 2>&5
7678 <  ac_status=$?
7679 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7680 <  (exit $ac_status); }; }; then
7681 <  ac_cv_c_restrict=$ac_kw; break
7682 < else
7683 <  echo "$as_me: failed program was:" >&5
7684 < sed 's/^/| /' conftest.$ac_ext >&5
7685 <
7686 < fi
7687 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7688 <   done
7689 <
7690 < fi
7691 < echo "$as_me:$LINENO: result: $ac_cv_c_restrict" >&5
7692 < echo "${ECHO_T}$ac_cv_c_restrict" >&6
7693 < case $ac_cv_c_restrict in
7694 <   restrict) ;;
7695 <   no)
7696 < cat >>confdefs.h <<\_ACEOF
7697 < #define restrict
7698 < _ACEOF
7699 < ;;
7700 <   *)  cat >>confdefs.h <<_ACEOF
7701 < #define restrict $ac_cv_c_restrict
7702 < _ACEOF
7703 < ;;
7704 < esac
7705 <
7706 < echo "$as_me:$LINENO: checking for size_t" >&5
7707 < echo $ECHO_N "checking for size_t... $ECHO_C" >&6
10701 > { $as_echo "$as_me:$LINENO: checking for size_t" >&5
10702 > $as_echo_n "checking for size_t... " >&6; }
10703   if test "${ac_cv_type_size_t+set}" = set; then
10704 <  echo $ECHO_N "(cached) $ECHO_C" >&6
10704 >  $as_echo_n "(cached) " >&6
10705   else
10706 <  cat >conftest.$ac_ext <<_ACEOF
10706 >  ac_cv_type_size_t=no
10707 > cat >conftest.$ac_ext <<_ACEOF
10708   /* confdefs.h.  */
10709   _ACEOF
10710   cat confdefs.h >>conftest.$ac_ext
# Line 7726 | Line 10722 | main ()
10722   int
10723   main ()
10724   {
7729 if ((size_t *) 0)
7730  return 0;
10725   if (sizeof (size_t))
10726 <  return 0;
10726 >       return 0;
10727    ;
10728    return 0;
10729   }
10730   _ACEOF
10731   rm -f conftest.$ac_objext
10732 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10733 <  (eval $ac_compile) 2>conftest.er1
10734 <  ac_status=$?
10735 <  grep -v '^ *+' conftest.er1 >conftest.err
10736 <  rm -f conftest.er1
10737 <  cat conftest.err >&5
10738 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10739 <  (exit $ac_status); } &&
7746 <         { ac_try='test -z "$ac_c_werror_flag"
7747 <                         || test ! -s conftest.err'
7748 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7749 <  (eval $ac_try) 2>&5
10732 > if { (ac_try="$ac_compile"
10733 > case "(($ac_try" in
10734 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10735 >  *) ac_try_echo=$ac_try;;
10736 > esac
10737 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10738 > $as_echo "$ac_try_echo") >&5
10739 >  (eval "$ac_compile") 2>conftest.er1
10740    ac_status=$?
10741 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10742 <  (exit $ac_status); }; } &&
10743 <         { ac_try='test -s conftest.$ac_objext'
10744 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10745 <  (eval $ac_try) 2>&5
10746 <  ac_status=$?
10747 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10748 <  (exit $ac_status); }; }; then
7759 <  ac_cv_type_size_t=yes
7760 < else
7761 <  echo "$as_me: failed program was:" >&5
7762 < sed 's/^/| /' conftest.$ac_ext >&5
7763 <
7764 < ac_cv_type_size_t=no
7765 < fi
7766 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7767 < fi
7768 < echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7769 < echo "${ECHO_T}$ac_cv_type_size_t" >&6
7770 < if test $ac_cv_type_size_t = yes; then
7771 <  :
7772 < else
7773 <
7774 < cat >>confdefs.h <<_ACEOF
7775 < #define size_t unsigned
7776 < _ACEOF
7777 <
7778 < fi
7779 <
7780 < echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
7781 < echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
7782 < if test "${ac_cv_header_time+set}" = set; then
7783 <  echo $ECHO_N "(cached) $ECHO_C" >&6
7784 < else
10741 >  grep -v '^ *+' conftest.er1 >conftest.err
10742 >  rm -f conftest.er1
10743 >  cat conftest.err >&5
10744 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10745 >  (exit $ac_status); } && {
10746 >         test -z "$ac_c_werror_flag" ||
10747 >         test ! -s conftest.err
10748 >       } && test -s conftest.$ac_objext; then
10749    cat >conftest.$ac_ext <<_ACEOF
10750   /* confdefs.h.  */
10751   _ACEOF
10752   cat confdefs.h >>conftest.$ac_ext
10753   cat >>conftest.$ac_ext <<_ACEOF
10754   /* end confdefs.h.  */
10755 < #include <sys/types.h>
7792 < #include <sys/time.h>
7793 < #include <time.h>
7794 <
10755 > $ac_includes_default
10756   #ifdef FC_DUMMY_MAIN
10757   #ifndef FC_DUMMY_MAIN_EQ_F77
10758   #  ifdef __cplusplus
# Line 7803 | Line 10764 | main ()
10764   int
10765   main ()
10766   {
10767 < if ((struct tm *) 0)
10768 < return 0;
10767 > if (sizeof ((size_t)))
10768 >          return 0;
10769    ;
10770    return 0;
10771   }
10772   _ACEOF
10773   rm -f conftest.$ac_objext
10774 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10775 <  (eval $ac_compile) 2>conftest.er1
10774 > if { (ac_try="$ac_compile"
10775 > case "(($ac_try" in
10776 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10777 >  *) ac_try_echo=$ac_try;;
10778 > esac
10779 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10780 > $as_echo "$ac_try_echo") >&5
10781 >  (eval "$ac_compile") 2>conftest.er1
10782    ac_status=$?
10783    grep -v '^ *+' conftest.er1 >conftest.err
10784    rm -f conftest.er1
10785    cat conftest.err >&5
10786 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10787 <  (exit $ac_status); } &&
10788 <         { ac_try='test -z "$ac_c_werror_flag"
10789 <                         || test ! -s conftest.err'
10790 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10791 <  (eval $ac_try) 2>&5
7825 <  ac_status=$?
7826 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7827 <  (exit $ac_status); }; } &&
7828 <         { ac_try='test -s conftest.$ac_objext'
7829 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7830 <  (eval $ac_try) 2>&5
7831 <  ac_status=$?
7832 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7833 <  (exit $ac_status); }; }; then
7834 <  ac_cv_header_time=yes
10786 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10787 >  (exit $ac_status); } && {
10788 >         test -z "$ac_c_werror_flag" ||
10789 >         test ! -s conftest.err
10790 >       } && test -s conftest.$ac_objext; then
10791 >  :
10792   else
10793 <  echo "$as_me: failed program was:" >&5
10793 >  $as_echo "$as_me: failed program was:" >&5
10794   sed 's/^/| /' conftest.$ac_ext >&5
10795  
10796 < ac_cv_header_time=no
10796 >        ac_cv_type_size_t=yes
10797   fi
7841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7842 fi
7843 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7844 echo "${ECHO_T}$ac_cv_header_time" >&6
7845 if test $ac_cv_header_time = yes; then
10798  
10799 < cat >>confdefs.h <<\_ACEOF
7848 < #define TIME_WITH_SYS_TIME 1
7849 < _ACEOF
7850 <
7851 < fi
7852 <
7853 < echo "$as_me:$LINENO: checking for clock_t" >&5
7854 < echo $ECHO_N "checking for clock_t... $ECHO_C" >&6
7855 < if test "${ac_cv_type_clock_t+set}" = set; then
7856 <  echo $ECHO_N "(cached) $ECHO_C" >&6
10799 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10800   else
10801 <  cat >conftest.$ac_ext <<_ACEOF
7859 < /* confdefs.h.  */
7860 < _ACEOF
7861 < cat confdefs.h >>conftest.$ac_ext
7862 < cat >>conftest.$ac_ext <<_ACEOF
7863 < /* end confdefs.h.  */
7864 < $ac_includes_default
7865 < #ifdef FC_DUMMY_MAIN
7866 < #ifndef FC_DUMMY_MAIN_EQ_F77
7867 < #  ifdef __cplusplus
7868 <     extern "C"
7869 < #  endif
7870 <   int FC_DUMMY_MAIN() { return 1; }
7871 < #endif
7872 < #endif
7873 < int
7874 < main ()
7875 < {
7876 < if ((clock_t *) 0)
7877 <  return 0;
7878 < if (sizeof (clock_t))
7879 <  return 0;
7880 <  ;
7881 <  return 0;
7882 < }
7883 < _ACEOF
7884 < rm -f conftest.$ac_objext
7885 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7886 <  (eval $ac_compile) 2>conftest.er1
7887 <  ac_status=$?
7888 <  grep -v '^ *+' conftest.er1 >conftest.err
7889 <  rm -f conftest.er1
7890 <  cat conftest.err >&5
7891 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7892 <  (exit $ac_status); } &&
7893 <         { ac_try='test -z "$ac_c_werror_flag"
7894 <                         || test ! -s conftest.err'
7895 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7896 <  (eval $ac_try) 2>&5
7897 <  ac_status=$?
7898 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7899 <  (exit $ac_status); }; } &&
7900 <         { ac_try='test -s conftest.$ac_objext'
7901 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7902 <  (eval $ac_try) 2>&5
7903 <  ac_status=$?
7904 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7905 <  (exit $ac_status); }; }; then
7906 <  ac_cv_type_clock_t=yes
7907 < else
7908 <  echo "$as_me: failed program was:" >&5
10801 >  $as_echo "$as_me: failed program was:" >&5
10802   sed 's/^/| /' conftest.$ac_ext >&5
10803  
10804 < ac_cv_type_clock_t=no
10804 >
10805   fi
10806 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10806 >
10807 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10808   fi
10809 < echo "$as_me:$LINENO: result: $ac_cv_type_clock_t" >&5
10810 < echo "${ECHO_T}$ac_cv_type_clock_t" >&6
10811 < if test $ac_cv_type_clock_t = yes; then
10809 > { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
10810 > $as_echo "$ac_cv_type_size_t" >&6; }
10811 > if test $ac_cv_type_size_t = yes; then
10812 >  :
10813 > else
10814  
10815   cat >>confdefs.h <<_ACEOF
10816 < #define HAVE_CLOCK_T 1
10816 > #define size_t unsigned int
10817   _ACEOF
10818  
7923
10819   fi
10820  
10821 < echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
10822 < echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
10823 < if test "${ac_cv_c_const+set}" = set; then
10824 <  echo $ECHO_N "(cached) $ECHO_C" >&6
10821 > { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10822 > $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
10823 > if test "${ac_cv_header_time+set}" = set; then
10824 >  $as_echo_n "(cached) " >&6
10825   else
10826    cat >conftest.$ac_ext <<_ACEOF
10827   /* confdefs.h.  */
# Line 7934 | Line 10829 | cat >>conftest.$ac_ext <<_ACEOF
10829   cat confdefs.h >>conftest.$ac_ext
10830   cat >>conftest.$ac_ext <<_ACEOF
10831   /* end confdefs.h.  */
10832 + #include <sys/types.h>
10833 + #include <sys/time.h>
10834 + #include <time.h>
10835  
10836   #ifdef FC_DUMMY_MAIN
10837   #ifndef FC_DUMMY_MAIN_EQ_F77
# Line 7946 | Line 10844 | main ()
10844   int
10845   main ()
10846   {
10847 < /* FIXME: Include the comments suggested by Paul. */
10848 < #ifndef __cplusplus
7951 <  /* Ultrix mips cc rejects this.  */
7952 <  typedef int charset[2];
7953 <  const charset x;
7954 <  /* SunOS 4.1.1 cc rejects this.  */
7955 <  char const *const *ccp;
7956 <  char **p;
7957 <  /* NEC SVR4.0.2 mips cc rejects this.  */
7958 <  struct point {int x, y;};
7959 <  static struct point const zero = {0,0};
7960 <  /* AIX XL C 1.02.0.0 rejects this.
7961 <     It does not let you subtract one const X* pointer from another in
7962 <     an arm of an if-expression whose if-part is not a constant
7963 <     expression */
7964 <  const char *g = "string";
7965 <  ccp = &g + (g ? g-g : 0);
7966 <  /* HPUX 7.0 cc rejects these. */
7967 <  ++ccp;
7968 <  p = (char**) ccp;
7969 <  ccp = (char const *const *) p;
7970 <  { /* SCO 3.2v4 cc rejects this.  */
7971 <    char *t;
7972 <    char const *s = 0 ? (char *) 0 : (char const *) 0;
7973 <
7974 <    *t++ = 0;
7975 <  }
7976 <  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
7977 <    int x[] = {25, 17};
7978 <    const int *foo = &x[0];
7979 <    ++foo;
7980 <  }
7981 <  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7982 <    typedef const int *iptr;
7983 <    iptr p = 0;
7984 <    ++p;
7985 <  }
7986 <  { /* AIX XL C 1.02.0.0 rejects this saying
7987 <       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7988 <    struct s { int j; const int *ap[3]; };
7989 <    struct s *b; b->j = 5;
7990 <  }
7991 <  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7992 <    const int foo = 10;
7993 <  }
7994 < #endif
7995 <
10847 > if ((struct tm *) 0)
10848 > return 0;
10849    ;
10850    return 0;
10851   }
10852   _ACEOF
10853   rm -f conftest.$ac_objext
10854 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10855 <  (eval $ac_compile) 2>conftest.er1
10854 > if { (ac_try="$ac_compile"
10855 > case "(($ac_try" in
10856 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10857 >  *) ac_try_echo=$ac_try;;
10858 > esac
10859 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10860 > $as_echo "$ac_try_echo") >&5
10861 >  (eval "$ac_compile") 2>conftest.er1
10862    ac_status=$?
10863    grep -v '^ *+' conftest.er1 >conftest.err
10864    rm -f conftest.er1
10865    cat conftest.err >&5
10866 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10867 <  (exit $ac_status); } &&
10868 <         { ac_try='test -z "$ac_c_werror_flag"
10869 <                         || test ! -s conftest.err'
10870 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10871 <  (eval $ac_try) 2>&5
8013 <  ac_status=$?
8014 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015 <  (exit $ac_status); }; } &&
8016 <         { ac_try='test -s conftest.$ac_objext'
8017 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8018 <  (eval $ac_try) 2>&5
8019 <  ac_status=$?
8020 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8021 <  (exit $ac_status); }; }; then
8022 <  ac_cv_c_const=yes
10866 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10867 >  (exit $ac_status); } && {
10868 >         test -z "$ac_c_werror_flag" ||
10869 >         test ! -s conftest.err
10870 >       } && test -s conftest.$ac_objext; then
10871 >  ac_cv_header_time=yes
10872   else
10873 <  echo "$as_me: failed program was:" >&5
10873 >  $as_echo "$as_me: failed program was:" >&5
10874   sed 's/^/| /' conftest.$ac_ext >&5
10875  
10876 < ac_cv_c_const=no
10876 >        ac_cv_header_time=no
10877   fi
10878 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10878 >
10879 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10880   fi
10881 < echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
10882 < echo "${ECHO_T}$ac_cv_c_const" >&6
10883 < if test $ac_cv_c_const = no; then
10881 > { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10882 > $as_echo "$ac_cv_header_time" >&6; }
10883 > if test $ac_cv_header_time = yes; then
10884  
10885   cat >>confdefs.h <<\_ACEOF
10886 < #define const
10886 > #define TIME_WITH_SYS_TIME 1
10887   _ACEOF
10888  
10889   fi
10890  
8041 echo "$as_me:$LINENO: checking for inline" >&5
8042 echo $ECHO_N "checking for inline... $ECHO_C" >&6
8043 if test "${ac_cv_c_inline+set}" = set; then
8044  echo $ECHO_N "(cached) $ECHO_C" >&6
8045 else
8046  ac_cv_c_inline=no
8047 for ac_kw in inline __inline__ __inline; do
8048  cat >conftest.$ac_ext <<_ACEOF
8049 /* confdefs.h.  */
8050 _ACEOF
8051 cat confdefs.h >>conftest.$ac_ext
8052 cat >>conftest.$ac_ext <<_ACEOF
8053 /* end confdefs.h.  */
8054 #ifndef __cplusplus
8055 typedef int foo_t;
8056 static $ac_kw foo_t static_foo () {return 0; }
8057 $ac_kw foo_t foo () {return 0; }
8058 #endif
10891  
8060 _ACEOF
8061 rm -f conftest.$ac_objext
8062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8063  (eval $ac_compile) 2>conftest.er1
8064  ac_status=$?
8065  grep -v '^ *+' conftest.er1 >conftest.err
8066  rm -f conftest.er1
8067  cat conftest.err >&5
8068  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8069  (exit $ac_status); } &&
8070         { ac_try='test -z "$ac_c_werror_flag"
8071                         || test ! -s conftest.err'
8072  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8073  (eval $ac_try) 2>&5
8074  ac_status=$?
8075  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8076  (exit $ac_status); }; } &&
8077         { ac_try='test -s conftest.$ac_objext'
8078  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8079  (eval $ac_try) 2>&5
8080  ac_status=$?
8081  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8082  (exit $ac_status); }; }; then
8083  ac_cv_c_inline=$ac_kw; break
8084 else
8085  echo "$as_me: failed program was:" >&5
8086 sed 's/^/| /' conftest.$ac_ext >&5
8087
8088 fi
8089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8090 done
8091
8092 fi
8093 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
8094 echo "${ECHO_T}$ac_cv_c_inline" >&6
8095
8096
8097 case $ac_cv_c_inline in
8098  inline | yes) ;;
8099  *)
8100    case $ac_cv_c_inline in
8101      no) ac_val=;;
8102      *) ac_val=$ac_cv_c_inline;;
8103    esac
8104    cat >>confdefs.h <<_ACEOF
8105 #ifndef __cplusplus
8106 #define inline $ac_val
8107 #endif
8108 _ACEOF
8109    ;;
8110 esac
8111
8112
10892   # Checks for library functions.
10893  
10894   for ac_header in stdlib.h
10895   do
10896 < as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10897 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
10898 <  echo "$as_me:$LINENO: checking for $ac_header" >&5
10899 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10900 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
10901 <  echo $ECHO_N "(cached) $ECHO_C" >&6
10896 > as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10897 > if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10898 >  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10899 > $as_echo_n "checking for $ac_header... " >&6; }
10900 > if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10901 >  $as_echo_n "(cached) " >&6
10902   fi
10903 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10904 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10903 > ac_res=`eval 'as_val=${'$as_ac_Header'}
10904 >                 $as_echo "$as_val"'`
10905 >               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10906 > $as_echo "$ac_res" >&6; }
10907   else
10908    # Is the header compilable?
10909 < echo "$as_me:$LINENO: checking $ac_header usability" >&5
10910 < echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10909 > { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10910 > $as_echo_n "checking $ac_header usability... " >&6; }
10911   cat >conftest.$ac_ext <<_ACEOF
10912   /* confdefs.h.  */
10913   _ACEOF
# Line 8137 | Line 10918 | rm -f conftest.$ac_objext
10918   #include <$ac_header>
10919   _ACEOF
10920   rm -f conftest.$ac_objext
10921 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10922 <  (eval $ac_compile) 2>conftest.er1
10921 > if { (ac_try="$ac_compile"
10922 > case "(($ac_try" in
10923 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10924 >  *) ac_try_echo=$ac_try;;
10925 > esac
10926 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10927 > $as_echo "$ac_try_echo") >&5
10928 >  (eval "$ac_compile") 2>conftest.er1
10929    ac_status=$?
10930    grep -v '^ *+' conftest.er1 >conftest.err
10931    rm -f conftest.er1
10932    cat conftest.err >&5
10933 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 <  (exit $ac_status); } &&
10935 <         { ac_try='test -z "$ac_c_werror_flag"
10936 <                         || test ! -s conftest.err'
10937 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8151 <  (eval $ac_try) 2>&5
8152 <  ac_status=$?
8153 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8154 <  (exit $ac_status); }; } &&
8155 <         { ac_try='test -s conftest.$ac_objext'
8156 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8157 <  (eval $ac_try) 2>&5
8158 <  ac_status=$?
8159 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8160 <  (exit $ac_status); }; }; then
10933 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 >  (exit $ac_status); } && {
10935 >         test -z "$ac_c_werror_flag" ||
10936 >         test ! -s conftest.err
10937 >       } && test -s conftest.$ac_objext; then
10938    ac_header_compiler=yes
10939   else
10940 <  echo "$as_me: failed program was:" >&5
10940 >  $as_echo "$as_me: failed program was:" >&5
10941   sed 's/^/| /' conftest.$ac_ext >&5
10942  
10943 < ac_header_compiler=no
10943 >        ac_header_compiler=no
10944   fi
8168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8169 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8170 echo "${ECHO_T}$ac_header_compiler" >&6
10945  
10946 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10947 + { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10948 + $as_echo "$ac_header_compiler" >&6; }
10949 +
10950   # Is the header present?
10951 < echo "$as_me:$LINENO: checking $ac_header presence" >&5
10952 < echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10951 > { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10952 > $as_echo_n "checking $ac_header presence... " >&6; }
10953   cat >conftest.$ac_ext <<_ACEOF
10954   /* confdefs.h.  */
10955   _ACEOF
# Line 8180 | Line 10958 | _ACEOF
10958   /* end confdefs.h.  */
10959   #include <$ac_header>
10960   _ACEOF
10961 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10962 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10961 > if { (ac_try="$ac_cpp conftest.$ac_ext"
10962 > case "(($ac_try" in
10963 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10964 >  *) ac_try_echo=$ac_try;;
10965 > esac
10966 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10967 > $as_echo "$ac_try_echo") >&5
10968 >  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10969    ac_status=$?
10970    grep -v '^ *+' conftest.er1 >conftest.err
10971    rm -f conftest.er1
10972    cat conftest.err >&5
10973 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10974 <  (exit $ac_status); } >/dev/null; then
10975 <  if test -s conftest.err; then
10976 <    ac_cpp_err=$ac_c_preproc_warn_flag
10977 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8194 <  else
8195 <    ac_cpp_err=
8196 <  fi
8197 < else
8198 <  ac_cpp_err=yes
8199 < fi
8200 < if test -z "$ac_cpp_err"; then
10973 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10974 >  (exit $ac_status); } >/dev/null && {
10975 >         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10976 >         test ! -s conftest.err
10977 >       }; then
10978    ac_header_preproc=yes
10979   else
10980 <  echo "$as_me: failed program was:" >&5
10980 >  $as_echo "$as_me: failed program was:" >&5
10981   sed 's/^/| /' conftest.$ac_ext >&5
10982  
10983    ac_header_preproc=no
10984   fi
10985 +
10986   rm -f conftest.err conftest.$ac_ext
10987 < echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10988 < echo "${ECHO_T}$ac_header_preproc" >&6
10987 > { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10988 > $as_echo "$ac_header_preproc" >&6; }
10989  
10990   # So?  What about this header?
10991   case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10992    yes:no: )
10993 <    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10994 < echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10995 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10996 < echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10993 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10994 > $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10995 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10996 > $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10997      ac_header_preproc=yes
10998      ;;
10999    no:yes:* )
11000 <    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11001 < echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11002 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11003 < echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11004 <    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11005 < echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11006 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11007 < echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11008 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11009 < echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11010 <    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11011 < echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11012 <    (
8235 <      cat <<\_ASBOX
11000 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11001 > $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11002 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11003 > $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11004 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11005 > $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11006 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11007 > $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11008 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11009 > $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11010 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11011 > $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11012 >    ( cat <<\_ASBOX
11013   ## ------------------------------ ##
11014   ## Report this to gezelter@nd.edu ##
11015   ## ------------------------------ ##
11016   _ASBOX
11017 <    ) |
8241 <      sed "s/^/$as_me: WARNING:     /" >&2
11017 >     ) | sed "s/^/$as_me: WARNING:     /" >&2
11018      ;;
11019   esac
11020 < echo "$as_me:$LINENO: checking for $ac_header" >&5
11021 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11022 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
11023 <  echo $ECHO_N "(cached) $ECHO_C" >&6
11020 > { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11021 > $as_echo_n "checking for $ac_header... " >&6; }
11022 > if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11023 >  $as_echo_n "(cached) " >&6
11024   else
11025    eval "$as_ac_Header=\$ac_header_preproc"
11026   fi
11027 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11028 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11027 > ac_res=`eval 'as_val=${'$as_ac_Header'}
11028 >                 $as_echo "$as_val"'`
11029 >               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11030 > $as_echo "$ac_res" >&6; }
11031  
11032   fi
11033 < if test `eval echo '${'$as_ac_Header'}'` = yes; then
11033 > if test `eval 'as_val=${'$as_ac_Header'}
11034 >                 $as_echo "$as_val"'` = yes; then
11035    cat >>confdefs.h <<_ACEOF
11036 < #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11036 > #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11037   _ACEOF
11038  
11039   fi
11040  
11041   done
11042  
11043 < echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
11044 < echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
11043 > { $as_echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
11044 > $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
11045   if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
11046 <  echo $ECHO_N "(cached) $ECHO_C" >&6
11046 >  $as_echo_n "(cached) " >&6
11047   else
11048    if test "$cross_compiling" = yes; then
11049    ac_cv_func_malloc_0_nonnull=no
# Line 8275 | Line 11054 | cat >>conftest.$ac_ext <<_ACEOF
11054   cat confdefs.h >>conftest.$ac_ext
11055   cat >>conftest.$ac_ext <<_ACEOF
11056   /* end confdefs.h.  */
11057 < #if STDC_HEADERS || HAVE_STDLIB_H
11057 > #if defined STDC_HEADERS || defined HAVE_STDLIB_H
11058   # include <stdlib.h>
11059   #else
11060   char *malloc ();
# Line 8292 | Line 11071 | main ()
11071   int
11072   main ()
11073   {
11074 < exit (malloc (0) ? 0 : 1);
11074 > return ! malloc (0);
11075    ;
11076    return 0;
11077   }
11078   _ACEOF
11079   rm -f conftest$ac_exeext
11080 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11081 <  (eval $ac_link) 2>&5
11080 > if { (ac_try="$ac_link"
11081 > case "(($ac_try" in
11082 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11083 >  *) ac_try_echo=$ac_try;;
11084 > esac
11085 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11086 > $as_echo "$ac_try_echo") >&5
11087 >  (eval "$ac_link") 2>&5
11088    ac_status=$?
11089 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11089 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11090    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11091 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11092 <  (eval $ac_try) 2>&5
11091 >  { (case "(($ac_try" in
11092 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11093 >  *) ac_try_echo=$ac_try;;
11094 > esac
11095 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11096 > $as_echo "$ac_try_echo") >&5
11097 >  (eval "$ac_try") 2>&5
11098    ac_status=$?
11099 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11099 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11100    (exit $ac_status); }; }; then
11101    ac_cv_func_malloc_0_nonnull=yes
11102   else
11103 <  echo "$as_me: program exited with status $ac_status" >&5
11104 < echo "$as_me: failed program was:" >&5
11103 >  $as_echo "$as_me: program exited with status $ac_status" >&5
11104 > $as_echo "$as_me: failed program was:" >&5
11105   sed 's/^/| /' conftest.$ac_ext >&5
11106  
11107   ( exit $ac_status )
11108   ac_cv_func_malloc_0_nonnull=no
11109   fi
11110 < rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11110 > rm -rf conftest.dSYM
11111 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11112   fi
11113 +
11114 +
11115   fi
11116 < echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
11117 < echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
11116 > { $as_echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
11117 > $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
11118   if test $ac_cv_func_malloc_0_nonnull = yes; then
11119  
11120   cat >>confdefs.h <<\_ACEOF
# Line 8333 | Line 11126 | _ACEOF
11126   #define HAVE_MALLOC 0
11127   _ACEOF
11128  
11129 <   case $LIBOBJS in
8337 <    "malloc.$ac_objext"   | \
8338 <  *" malloc.$ac_objext"   | \
8339 <    "malloc.$ac_objext "* | \
11129 >   case " $LIBOBJS " in
11130    *" malloc.$ac_objext "* ) ;;
11131 <  *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;;
11131 >  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
11132 > ;;
11133   esac
11134  
11135  
# Line 8350 | Line 11141 | fi
11141  
11142  
11143  
8353 echo "$as_me:$LINENO: checking for working memcmp" >&5
8354 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
8355 if test "${ac_cv_func_memcmp_working+set}" = set; then
8356  echo $ECHO_N "(cached) $ECHO_C" >&6
8357 else
8358  if test "$cross_compiling" = yes; then
8359  ac_cv_func_memcmp_working=no
8360 else
8361  cat >conftest.$ac_ext <<_ACEOF
8362 /* confdefs.h.  */
8363 _ACEOF
8364 cat confdefs.h >>conftest.$ac_ext
8365 cat >>conftest.$ac_ext <<_ACEOF
8366 /* end confdefs.h.  */
8367 $ac_includes_default
8368 #ifdef FC_DUMMY_MAIN
8369 #ifndef FC_DUMMY_MAIN_EQ_F77
8370 #  ifdef __cplusplus
8371     extern "C"
8372 #  endif
8373   int FC_DUMMY_MAIN() { return 1; }
8374 #endif
8375 #endif
8376 int
8377 main ()
8378 {
11144  
8380  /* Some versions of memcmp are not 8-bit clean.  */
8381  char c0 = 0x40, c1 = 0x80, c2 = 0x81;
8382  if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
8383    exit (1);
8384
8385  /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
8386     or more and with at least one buffer not starting on a 4-byte boundary.
8387     William Lewis provided this test program.   */
8388  {
8389    char foo[21];
8390    char bar[21];
8391    int i;
8392    for (i = 0; i < 4; i++)
8393      {
8394        char *a = foo + i;
8395        char *b = bar + i;
8396        strcpy (a, "--------01111111");
8397        strcpy (b, "--------10000000");
8398        if (memcmp (a, b, 16) >= 0)
8399          exit (1);
8400      }
8401    exit (0);
8402  }
8403
8404  ;
8405  return 0;
8406 }
8407 _ACEOF
8408 rm -f conftest$ac_exeext
8409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8410  (eval $ac_link) 2>&5
8411  ac_status=$?
8412  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8413  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8414  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8415  (eval $ac_try) 2>&5
8416  ac_status=$?
8417  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8418  (exit $ac_status); }; }; then
8419  ac_cv_func_memcmp_working=yes
8420 else
8421  echo "$as_me: program exited with status $ac_status" >&5
8422 echo "$as_me: failed program was:" >&5
8423 sed 's/^/| /' conftest.$ac_ext >&5
8424
8425 ( exit $ac_status )
8426 ac_cv_func_memcmp_working=no
8427 fi
8428 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8429 fi
8430 fi
8431 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
8432 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
8433 test $ac_cv_func_memcmp_working = no && case $LIBOBJS in
8434    "memcmp.$ac_objext"   | \
8435  *" memcmp.$ac_objext"   | \
8436    "memcmp.$ac_objext "* | \
8437  *" memcmp.$ac_objext "* ) ;;
8438  *) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;;
8439 esac
8440
8441
8442
11145   for ac_header in stdlib.h
11146   do
11147 < as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11148 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
11149 <  echo "$as_me:$LINENO: checking for $ac_header" >&5
11150 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11151 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
11152 <  echo $ECHO_N "(cached) $ECHO_C" >&6
11147 > as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11148 > if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11149 >  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11150 > $as_echo_n "checking for $ac_header... " >&6; }
11151 > if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11152 >  $as_echo_n "(cached) " >&6
11153   fi
11154 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11155 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11154 > ac_res=`eval 'as_val=${'$as_ac_Header'}
11155 >                 $as_echo "$as_val"'`
11156 >               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11157 > $as_echo "$ac_res" >&6; }
11158   else
11159    # Is the header compilable?
11160 < echo "$as_me:$LINENO: checking $ac_header usability" >&5
11161 < echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11160 > { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11161 > $as_echo_n "checking $ac_header usability... " >&6; }
11162   cat >conftest.$ac_ext <<_ACEOF
11163   /* confdefs.h.  */
11164   _ACEOF
# Line 8465 | Line 11169 | rm -f conftest.$ac_objext
11169   #include <$ac_header>
11170   _ACEOF
11171   rm -f conftest.$ac_objext
11172 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11173 <  (eval $ac_compile) 2>conftest.er1
11172 > if { (ac_try="$ac_compile"
11173 > case "(($ac_try" in
11174 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11175 >  *) ac_try_echo=$ac_try;;
11176 > esac
11177 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11178 > $as_echo "$ac_try_echo") >&5
11179 >  (eval "$ac_compile") 2>conftest.er1
11180    ac_status=$?
11181    grep -v '^ *+' conftest.er1 >conftest.err
11182    rm -f conftest.er1
11183    cat conftest.err >&5
11184 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11185 <  (exit $ac_status); } &&
11186 <         { ac_try='test -z "$ac_c_werror_flag"
11187 <                         || test ! -s conftest.err'
11188 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8479 <  (eval $ac_try) 2>&5
8480 <  ac_status=$?
8481 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8482 <  (exit $ac_status); }; } &&
8483 <         { ac_try='test -s conftest.$ac_objext'
8484 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8485 <  (eval $ac_try) 2>&5
8486 <  ac_status=$?
8487 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488 <  (exit $ac_status); }; }; then
11184 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11185 >  (exit $ac_status); } && {
11186 >         test -z "$ac_c_werror_flag" ||
11187 >         test ! -s conftest.err
11188 >       } && test -s conftest.$ac_objext; then
11189    ac_header_compiler=yes
11190   else
11191 <  echo "$as_me: failed program was:" >&5
11191 >  $as_echo "$as_me: failed program was:" >&5
11192   sed 's/^/| /' conftest.$ac_ext >&5
11193  
11194 < ac_header_compiler=no
11194 >        ac_header_compiler=no
11195   fi
8496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8497 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8498 echo "${ECHO_T}$ac_header_compiler" >&6
11196  
11197 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11198 + { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11199 + $as_echo "$ac_header_compiler" >&6; }
11200 +
11201   # Is the header present?
11202 < echo "$as_me:$LINENO: checking $ac_header presence" >&5
11203 < echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11202 > { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11203 > $as_echo_n "checking $ac_header presence... " >&6; }
11204   cat >conftest.$ac_ext <<_ACEOF
11205   /* confdefs.h.  */
11206   _ACEOF
# Line 8508 | Line 11209 | _ACEOF
11209   /* end confdefs.h.  */
11210   #include <$ac_header>
11211   _ACEOF
11212 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11213 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11212 > if { (ac_try="$ac_cpp conftest.$ac_ext"
11213 > case "(($ac_try" in
11214 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11215 >  *) ac_try_echo=$ac_try;;
11216 > esac
11217 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11218 > $as_echo "$ac_try_echo") >&5
11219 >  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11220    ac_status=$?
11221    grep -v '^ *+' conftest.er1 >conftest.err
11222    rm -f conftest.er1
11223    cat conftest.err >&5
11224 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 <  (exit $ac_status); } >/dev/null; then
11226 <  if test -s conftest.err; then
11227 <    ac_cpp_err=$ac_c_preproc_warn_flag
11228 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8522 <  else
8523 <    ac_cpp_err=
8524 <  fi
8525 < else
8526 <  ac_cpp_err=yes
8527 < fi
8528 < if test -z "$ac_cpp_err"; then
11224 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11225 >  (exit $ac_status); } >/dev/null && {
11226 >         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11227 >         test ! -s conftest.err
11228 >       }; then
11229    ac_header_preproc=yes
11230   else
11231 <  echo "$as_me: failed program was:" >&5
11231 >  $as_echo "$as_me: failed program was:" >&5
11232   sed 's/^/| /' conftest.$ac_ext >&5
11233  
11234    ac_header_preproc=no
11235   fi
11236 +
11237   rm -f conftest.err conftest.$ac_ext
11238 < echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11239 < echo "${ECHO_T}$ac_header_preproc" >&6
11238 > { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11239 > $as_echo "$ac_header_preproc" >&6; }
11240  
11241   # So?  What about this header?
11242   case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11243    yes:no: )
11244 <    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11245 < echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11246 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11247 < echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11244 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11245 > $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11246 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11247 > $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11248      ac_header_preproc=yes
11249      ;;
11250    no:yes:* )
11251 <    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11252 < echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11253 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11254 < echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11255 <    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11256 < echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11257 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11258 < echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11259 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11260 < echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11261 <    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11262 < echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11263 <    (
8563 <      cat <<\_ASBOX
11251 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11252 > $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11253 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11254 > $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11255 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11256 > $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11257 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11258 > $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11259 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11260 > $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11261 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11262 > $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11263 >    ( cat <<\_ASBOX
11264   ## ------------------------------ ##
11265   ## Report this to gezelter@nd.edu ##
11266   ## ------------------------------ ##
11267   _ASBOX
11268 <    ) |
8569 <      sed "s/^/$as_me: WARNING:     /" >&2
11268 >     ) | sed "s/^/$as_me: WARNING:     /" >&2
11269      ;;
11270   esac
11271 < echo "$as_me:$LINENO: checking for $ac_header" >&5
11272 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11273 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
11274 <  echo $ECHO_N "(cached) $ECHO_C" >&6
11271 > { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11272 > $as_echo_n "checking for $ac_header... " >&6; }
11273 > if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11274 >  $as_echo_n "(cached) " >&6
11275   else
11276    eval "$as_ac_Header=\$ac_header_preproc"
11277   fi
11278 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11279 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11278 > ac_res=`eval 'as_val=${'$as_ac_Header'}
11279 >                 $as_echo "$as_val"'`
11280 >               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11281 > $as_echo "$ac_res" >&6; }
11282  
11283   fi
11284 < if test `eval echo '${'$as_ac_Header'}'` = yes; then
11284 > if test `eval 'as_val=${'$as_ac_Header'}
11285 >                 $as_echo "$as_val"'` = yes; then
11286    cat >>confdefs.h <<_ACEOF
11287 < #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11287 > #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11288   _ACEOF
11289  
11290   fi
11291  
11292   done
11293  
11294 < echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
11295 < echo $ECHO_N "checking for GNU libc compatible realloc... $ECHO_C" >&6
11294 > { $as_echo "$as_me:$LINENO: checking for GNU libc compatible realloc" >&5
11295 > $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
11296   if test "${ac_cv_func_realloc_0_nonnull+set}" = set; then
11297 <  echo $ECHO_N "(cached) $ECHO_C" >&6
11297 >  $as_echo_n "(cached) " >&6
11298   else
11299    if test "$cross_compiling" = yes; then
11300    ac_cv_func_realloc_0_nonnull=no
# Line 8603 | Line 11305 | cat >>conftest.$ac_ext <<_ACEOF
11305   cat confdefs.h >>conftest.$ac_ext
11306   cat >>conftest.$ac_ext <<_ACEOF
11307   /* end confdefs.h.  */
11308 < #if STDC_HEADERS || HAVE_STDLIB_H
11308 > #if defined STDC_HEADERS || defined HAVE_STDLIB_H
11309   # include <stdlib.h>
11310   #else
11311   char *realloc ();
# Line 8620 | Line 11322 | main ()
11322   int
11323   main ()
11324   {
11325 < exit (realloc (0, 0) ? 0 : 1);
11325 > return ! realloc (0, 0);
11326    ;
11327    return 0;
11328   }
11329   _ACEOF
11330   rm -f conftest$ac_exeext
11331 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11332 <  (eval $ac_link) 2>&5
11331 > if { (ac_try="$ac_link"
11332 > case "(($ac_try" in
11333 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11334 >  *) ac_try_echo=$ac_try;;
11335 > esac
11336 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11337 > $as_echo "$ac_try_echo") >&5
11338 >  (eval "$ac_link") 2>&5
11339    ac_status=$?
11340 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11342 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11343 <  (eval $ac_try) 2>&5
11342 >  { (case "(($ac_try" in
11343 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11344 >  *) ac_try_echo=$ac_try;;
11345 > esac
11346 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11347 > $as_echo "$ac_try_echo") >&5
11348 >  (eval "$ac_try") 2>&5
11349    ac_status=$?
11350 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11350 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11351    (exit $ac_status); }; }; then
11352    ac_cv_func_realloc_0_nonnull=yes
11353   else
11354 <  echo "$as_me: program exited with status $ac_status" >&5
11355 < echo "$as_me: failed program was:" >&5
11354 >  $as_echo "$as_me: program exited with status $ac_status" >&5
11355 > $as_echo "$as_me: failed program was:" >&5
11356   sed 's/^/| /' conftest.$ac_ext >&5
11357  
11358   ( exit $ac_status )
11359   ac_cv_func_realloc_0_nonnull=no
11360   fi
11361 < rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11361 > rm -rf conftest.dSYM
11362 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11363   fi
11364 +
11365 +
11366   fi
11367 < echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
11368 < echo "${ECHO_T}$ac_cv_func_realloc_0_nonnull" >&6
11367 > { $as_echo "$as_me:$LINENO: result: $ac_cv_func_realloc_0_nonnull" >&5
11368 > $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
11369   if test $ac_cv_func_realloc_0_nonnull = yes; then
11370  
11371   cat >>confdefs.h <<\_ACEOF
# Line 8661 | Line 11377 | _ACEOF
11377   #define HAVE_REALLOC 0
11378   _ACEOF
11379  
11380 <   case $LIBOBJS in
8665 <    "realloc.$ac_objext"   | \
8666 <  *" realloc.$ac_objext"   | \
8667 <    "realloc.$ac_objext "* | \
11380 >   case " $LIBOBJS " in
11381    *" realloc.$ac_objext "* ) ;;
11382 <  *) LIBOBJS="$LIBOBJS realloc.$ac_objext" ;;
11382 >  *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
11383 > ;;
11384   esac
11385  
11386  
# Line 8682 | Line 11396 | do
11396  
11397   for ac_header in sys/select.h sys/socket.h
11398   do
11399 < as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11400 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
11401 <  echo "$as_me:$LINENO: checking for $ac_header" >&5
11402 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11403 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
11404 <  echo $ECHO_N "(cached) $ECHO_C" >&6
11399 > as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11400 > if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11401 >  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11402 > $as_echo_n "checking for $ac_header... " >&6; }
11403 > if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11404 >  $as_echo_n "(cached) " >&6
11405   fi
11406 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11407 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11406 > ac_res=`eval 'as_val=${'$as_ac_Header'}
11407 >                 $as_echo "$as_val"'`
11408 >               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11409 > $as_echo "$ac_res" >&6; }
11410   else
11411    # Is the header compilable?
11412 < echo "$as_me:$LINENO: checking $ac_header usability" >&5
11413 < echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11412 > { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11413 > $as_echo_n "checking $ac_header usability... " >&6; }
11414   cat >conftest.$ac_ext <<_ACEOF
11415   /* confdefs.h.  */
11416   _ACEOF
# Line 8705 | Line 11421 | rm -f conftest.$ac_objext
11421   #include <$ac_header>
11422   _ACEOF
11423   rm -f conftest.$ac_objext
11424 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11425 <  (eval $ac_compile) 2>conftest.er1
11424 > if { (ac_try="$ac_compile"
11425 > case "(($ac_try" in
11426 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11427 >  *) ac_try_echo=$ac_try;;
11428 > esac
11429 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11430 > $as_echo "$ac_try_echo") >&5
11431 >  (eval "$ac_compile") 2>conftest.er1
11432    ac_status=$?
11433    grep -v '^ *+' conftest.er1 >conftest.err
11434    rm -f conftest.er1
11435    cat conftest.err >&5
11436 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11437 <  (exit $ac_status); } &&
11438 <         { ac_try='test -z "$ac_c_werror_flag"
11439 <                         || test ! -s conftest.err'
11440 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8719 <  (eval $ac_try) 2>&5
8720 <  ac_status=$?
8721 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722 <  (exit $ac_status); }; } &&
8723 <         { ac_try='test -s conftest.$ac_objext'
8724 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8725 <  (eval $ac_try) 2>&5
8726 <  ac_status=$?
8727 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 <  (exit $ac_status); }; }; then
11436 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11437 >  (exit $ac_status); } && {
11438 >         test -z "$ac_c_werror_flag" ||
11439 >         test ! -s conftest.err
11440 >       } && test -s conftest.$ac_objext; then
11441    ac_header_compiler=yes
11442   else
11443 <  echo "$as_me: failed program was:" >&5
11443 >  $as_echo "$as_me: failed program was:" >&5
11444   sed 's/^/| /' conftest.$ac_ext >&5
11445  
11446 < ac_header_compiler=no
11446 >        ac_header_compiler=no
11447   fi
8736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8737 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8738 echo "${ECHO_T}$ac_header_compiler" >&6
11448  
11449 + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11450 + { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11451 + $as_echo "$ac_header_compiler" >&6; }
11452 +
11453   # Is the header present?
11454 < echo "$as_me:$LINENO: checking $ac_header presence" >&5
11455 < echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11454 > { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11455 > $as_echo_n "checking $ac_header presence... " >&6; }
11456   cat >conftest.$ac_ext <<_ACEOF
11457   /* confdefs.h.  */
11458   _ACEOF
# Line 8748 | Line 11461 | _ACEOF
11461   /* end confdefs.h.  */
11462   #include <$ac_header>
11463   _ACEOF
11464 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11465 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11464 > if { (ac_try="$ac_cpp conftest.$ac_ext"
11465 > case "(($ac_try" in
11466 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11467 >  *) ac_try_echo=$ac_try;;
11468 > esac
11469 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11470 > $as_echo "$ac_try_echo") >&5
11471 >  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11472    ac_status=$?
11473    grep -v '^ *+' conftest.er1 >conftest.err
11474    rm -f conftest.er1
11475    cat conftest.err >&5
11476 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11477 <  (exit $ac_status); } >/dev/null; then
11478 <  if test -s conftest.err; then
11479 <    ac_cpp_err=$ac_c_preproc_warn_flag
11480 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8762 <  else
8763 <    ac_cpp_err=
8764 <  fi
8765 < else
8766 <  ac_cpp_err=yes
8767 < fi
8768 < if test -z "$ac_cpp_err"; then
11476 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11477 >  (exit $ac_status); } >/dev/null && {
11478 >         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11479 >         test ! -s conftest.err
11480 >       }; then
11481    ac_header_preproc=yes
11482   else
11483 <  echo "$as_me: failed program was:" >&5
11483 >  $as_echo "$as_me: failed program was:" >&5
11484   sed 's/^/| /' conftest.$ac_ext >&5
11485  
11486    ac_header_preproc=no
11487   fi
11488 +
11489   rm -f conftest.err conftest.$ac_ext
11490 < echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11491 < echo "${ECHO_T}$ac_header_preproc" >&6
11490 > { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11491 > $as_echo "$ac_header_preproc" >&6; }
11492  
11493   # So?  What about this header?
11494   case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11495    yes:no: )
11496 <    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11497 < echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11498 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11499 < echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11496 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11497 > $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11498 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11499 > $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11500      ac_header_preproc=yes
11501      ;;
11502    no:yes:* )
11503 <    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11504 < echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11505 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11506 < echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11507 <    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11508 < echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11509 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11510 < echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11511 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11512 < echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11513 <    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11514 < echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11515 <    (
8803 <      cat <<\_ASBOX
11503 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11504 > $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11505 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11506 > $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11507 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11508 > $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11509 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11510 > $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11511 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11512 > $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11513 >    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11514 > $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11515 >    ( cat <<\_ASBOX
11516   ## ------------------------------ ##
11517   ## Report this to gezelter@nd.edu ##
11518   ## ------------------------------ ##
11519   _ASBOX
11520 <    ) |
8809 <      sed "s/^/$as_me: WARNING:     /" >&2
11520 >     ) | sed "s/^/$as_me: WARNING:     /" >&2
11521      ;;
11522   esac
11523 < echo "$as_me:$LINENO: checking for $ac_header" >&5
11524 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11525 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
11526 <  echo $ECHO_N "(cached) $ECHO_C" >&6
11523 > { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11524 > $as_echo_n "checking for $ac_header... " >&6; }
11525 > if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11526 >  $as_echo_n "(cached) " >&6
11527   else
11528    eval "$as_ac_Header=\$ac_header_preproc"
11529   fi
11530 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11531 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11530 > ac_res=`eval 'as_val=${'$as_ac_Header'}
11531 >                 $as_echo "$as_val"'`
11532 >               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11533 > $as_echo "$ac_res" >&6; }
11534  
11535   fi
11536 < if test `eval echo '${'$as_ac_Header'}'` = yes; then
11536 > if test `eval 'as_val=${'$as_ac_Header'}
11537 >                 $as_echo "$as_val"'` = yes; then
11538    cat >>confdefs.h <<_ACEOF
11539 < #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11539 > #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11540   _ACEOF
11541  
11542   fi
11543  
11544   done
11545  
11546 < echo "$as_me:$LINENO: checking types of arguments for select" >&5
11547 < echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6
11546 > { $as_echo "$as_me:$LINENO: checking types of arguments for select" >&5
11547 > $as_echo_n "checking types of arguments for select... " >&6; }
11548   if test "${ac_cv_func_select_args+set}" = set; then
11549 <  echo $ECHO_N "(cached) $ECHO_C" >&6
11549 >  $as_echo_n "(cached) " >&6
11550   else
11551    for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
11552 < for ac_arg1 in 'int' 'size_t' 'unsigned long' 'unsigned'; do
11552 > for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
11553    for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
11554     cat >conftest.$ac_ext <<_ACEOF
11555   /* confdefs.h.  */
# Line 8844 | Line 11558 | $ac_includes_default
11558   cat >>conftest.$ac_ext <<_ACEOF
11559   /* end confdefs.h.  */
11560   $ac_includes_default
11561 < #if HAVE_SYS_SELECT_H
11561 > #ifdef HAVE_SYS_SELECT_H
11562   # include <sys/select.h>
11563   #endif
11564 < #if HAVE_SYS_SOCKET_H
11564 > #ifdef HAVE_SYS_SOCKET_H
11565   # include <sys/socket.h>
11566   #endif
11567  
# Line 8870 | Line 11584 | rm -f conftest.$ac_objext
11584   }
11585   _ACEOF
11586   rm -f conftest.$ac_objext
11587 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11588 <  (eval $ac_compile) 2>conftest.er1
11587 > if { (ac_try="$ac_compile"
11588 > case "(($ac_try" in
11589 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11590 >  *) ac_try_echo=$ac_try;;
11591 > esac
11592 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11593 > $as_echo "$ac_try_echo") >&5
11594 >  (eval "$ac_compile") 2>conftest.er1
11595    ac_status=$?
11596    grep -v '^ *+' conftest.er1 >conftest.err
11597    rm -f conftest.er1
11598    cat conftest.err >&5
11599 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11600 <  (exit $ac_status); } &&
11601 <         { ac_try='test -z "$ac_c_werror_flag"
11602 <                         || test ! -s conftest.err'
11603 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8884 <  (eval $ac_try) 2>&5
8885 <  ac_status=$?
8886 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8887 <  (exit $ac_status); }; } &&
8888 <         { ac_try='test -s conftest.$ac_objext'
8889 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8890 <  (eval $ac_try) 2>&5
8891 <  ac_status=$?
8892 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8893 <  (exit $ac_status); }; }; then
11599 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11600 >  (exit $ac_status); } && {
11601 >         test -z "$ac_c_werror_flag" ||
11602 >         test ! -s conftest.err
11603 >       } && test -s conftest.$ac_objext; then
11604    ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
11605   else
11606 <  echo "$as_me: failed program was:" >&5
11606 >  $as_echo "$as_me: failed program was:" >&5
11607   sed 's/^/| /' conftest.$ac_ext >&5
11608  
11609 +
11610   fi
11611 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11611 >
11612 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11613    done
11614   done
11615   done
# Line 8905 | Line 11617 | fi
11617   : ${ac_cv_func_select_args='int,int *,struct timeval *'}
11618  
11619   fi
11620 < echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
11621 < echo "${ECHO_T}$ac_cv_func_select_args" >&6
11620 > { $as_echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
11621 > $as_echo "$ac_cv_func_select_args" >&6; }
11622   ac_save_IFS=$IFS; IFS=','
11623   set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
11624   IFS=$ac_save_IFS
# Line 8928 | Line 11640 | rm -f conftest*
11640  
11641   rm -f conftest*
11642  
11643 <
11644 < for ac_func in strftime
8933 < do
8934 < as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8935 < echo "$as_me:$LINENO: checking for $ac_func" >&5
8936 < echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8937 < if eval "test \"\${$as_ac_var+set}\" = set"; then
8938 <  echo $ECHO_N "(cached) $ECHO_C" >&6
8939 < else
8940 <  cat >conftest.$ac_ext <<_ACEOF
8941 < /* confdefs.h.  */
8942 < _ACEOF
8943 < cat confdefs.h >>conftest.$ac_ext
8944 < cat >>conftest.$ac_ext <<_ACEOF
8945 < /* end confdefs.h.  */
8946 < /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8947 <   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8948 < #define $ac_func innocuous_$ac_func
8949 <
8950 < /* System header to define __stub macros and hopefully few prototypes,
8951 <    which can conflict with char $ac_func (); below.
8952 <    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8953 <    <limits.h> exists even on freestanding compilers.  */
8954 <
8955 < #ifdef __STDC__
8956 < # include <limits.h>
8957 < #else
8958 < # include <assert.h>
8959 < #endif
8960 <
8961 < #undef $ac_func
8962 <
8963 < /* Override any gcc2 internal prototype to avoid an error.  */
8964 < #ifdef __cplusplus
8965 < extern "C"
8966 < {
8967 < #endif
8968 < /* We use char because int might match the return type of a gcc2
8969 <   builtin and then its argument prototype would still apply.  */
8970 < char $ac_func ();
8971 < /* The GNU C library defines this for functions which it implements
8972 <    to always fail with ENOSYS.  Some functions are actually named
8973 <    something starting with __ and the normal name is an alias.  */
8974 < #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8975 < choke me
8976 < #else
8977 < char (*f) () = $ac_func;
8978 < #endif
8979 < #ifdef __cplusplus
8980 < }
8981 < #endif
8982 <
8983 < #ifdef FC_DUMMY_MAIN
8984 < #ifndef FC_DUMMY_MAIN_EQ_F77
8985 < #  ifdef __cplusplus
8986 <     extern "C"
8987 < #  endif
8988 <   int FC_DUMMY_MAIN() { return 1; }
8989 < #endif
8990 < #endif
8991 < int
8992 < main ()
8993 < {
8994 < return f != $ac_func;
8995 <  ;
8996 <  return 0;
8997 < }
8998 < _ACEOF
8999 < rm -f conftest.$ac_objext conftest$ac_exeext
9000 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9001 <  (eval $ac_link) 2>conftest.er1
9002 <  ac_status=$?
9003 <  grep -v '^ *+' conftest.er1 >conftest.err
9004 <  rm -f conftest.er1
9005 <  cat conftest.err >&5
9006 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9007 <  (exit $ac_status); } &&
9008 <         { ac_try='test -z "$ac_c_werror_flag"
9009 <                         || test ! -s conftest.err'
9010 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9011 <  (eval $ac_try) 2>&5
9012 <  ac_status=$?
9013 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9014 <  (exit $ac_status); }; } &&
9015 <         { ac_try='test -s conftest$ac_exeext'
9016 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9017 <  (eval $ac_try) 2>&5
9018 <  ac_status=$?
9019 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9020 <  (exit $ac_status); }; }; then
9021 <  eval "$as_ac_var=yes"
9022 < else
9023 <  echo "$as_me: failed program was:" >&5
9024 < sed 's/^/| /' conftest.$ac_ext >&5
9025 <
9026 < eval "$as_ac_var=no"
9027 < fi
9028 < rm -f conftest.err conftest.$ac_objext \
9029 <      conftest$ac_exeext conftest.$ac_ext
9030 < fi
9031 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9032 < echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9033 < if test `eval echo '${'$as_ac_var'}'` = yes; then
9034 <  cat >>confdefs.h <<_ACEOF
9035 < #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9036 < _ACEOF
9037 <
9038 < else
9039 <  # strftime is in -lintl on SCO UNIX.
9040 < echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
9041 < echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
9042 < if test "${ac_cv_lib_intl_strftime+set}" = set; then
9043 <  echo $ECHO_N "(cached) $ECHO_C" >&6
9044 < else
9045 <  ac_check_lib_save_LIBS=$LIBS
9046 < LIBS="-lintl  $LIBS"
9047 < cat >conftest.$ac_ext <<_ACEOF
9048 < /* confdefs.h.  */
9049 < _ACEOF
9050 < cat confdefs.h >>conftest.$ac_ext
9051 < cat >>conftest.$ac_ext <<_ACEOF
9052 < /* end confdefs.h.  */
9053 <
9054 < /* Override any gcc2 internal prototype to avoid an error.  */
9055 < #ifdef __cplusplus
9056 < extern "C"
9057 < #endif
9058 < /* We use char because int might match the return type of a gcc2
9059 <   builtin and then its argument prototype would still apply.  */
9060 < char strftime ();
9061 < #ifdef FC_DUMMY_MAIN
9062 < #ifndef FC_DUMMY_MAIN_EQ_F77
9063 < #  ifdef __cplusplus
9064 <     extern "C"
9065 < #  endif
9066 <   int FC_DUMMY_MAIN() { return 1; }
9067 < #endif
9068 < #endif
9069 < int
9070 < main ()
9071 < {
9072 < strftime ();
9073 <  ;
9074 <  return 0;
9075 < }
9076 < _ACEOF
9077 < rm -f conftest.$ac_objext conftest$ac_exeext
9078 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9079 <  (eval $ac_link) 2>conftest.er1
9080 <  ac_status=$?
9081 <  grep -v '^ *+' conftest.er1 >conftest.err
9082 <  rm -f conftest.er1
9083 <  cat conftest.err >&5
9084 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9085 <  (exit $ac_status); } &&
9086 <         { ac_try='test -z "$ac_c_werror_flag"
9087 <                         || test ! -s conftest.err'
9088 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9089 <  (eval $ac_try) 2>&5
9090 <  ac_status=$?
9091 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9092 <  (exit $ac_status); }; } &&
9093 <         { ac_try='test -s conftest$ac_exeext'
9094 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9095 <  (eval $ac_try) 2>&5
9096 <  ac_status=$?
9097 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098 <  (exit $ac_status); }; }; then
9099 <  ac_cv_lib_intl_strftime=yes
9100 < else
9101 <  echo "$as_me: failed program was:" >&5
9102 < sed 's/^/| /' conftest.$ac_ext >&5
9103 <
9104 < ac_cv_lib_intl_strftime=no
9105 < fi
9106 < rm -f conftest.err conftest.$ac_objext \
9107 <      conftest$ac_exeext conftest.$ac_ext
9108 < LIBS=$ac_check_lib_save_LIBS
9109 < fi
9110 < echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
9111 < echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
9112 < if test $ac_cv_lib_intl_strftime = yes; then
9113 <  cat >>confdefs.h <<\_ACEOF
9114 < #define HAVE_STRFTIME 1
9115 < _ACEOF
9116 <
9117 < LIBS="-lintl $LIBS"
9118 < fi
9119 <
9120 < fi
9121 < done
9122 <
9123 < echo "$as_me:$LINENO: checking for working strtod" >&5
9124 < echo $ECHO_N "checking for working strtod... $ECHO_C" >&6
11643 > { $as_echo "$as_me:$LINENO: checking for working strtod" >&5
11644 > $as_echo_n "checking for working strtod... " >&6; }
11645   if test "${ac_cv_func_strtod+set}" = set; then
11646 <  echo $ECHO_N "(cached) $ECHO_C" >&6
11646 >  $as_echo_n "(cached) " >&6
11647   else
11648    if test "$cross_compiling" = yes; then
11649    ac_cv_func_strtod=no
# Line 9135 | Line 11655 | cat >>conftest.$ac_ext <<_ACEOF
11655   cat >>conftest.$ac_ext <<_ACEOF
11656   /* end confdefs.h.  */
11657  
11658 + $ac_includes_default
11659 + #ifndef strtod
11660   double strtod ();
11661 + #endif
11662   int
11663   main()
11664   {
# Line 9146 | Line 11669 | main()
11669      double value;
11670      value = strtod (string, &term);
11671      if (value != 69 || term != (string + 4))
11672 <      exit (1);
11672 >      return 1;
11673    }
11674  
11675    {
# Line 9156 | Line 11679 | main()
11679      char *term;
11680      strtod (string, &term);
11681      if (term != string && *(term - 1) == 0)
11682 <      exit (1);
11682 >      return 1;
11683    }
11684 <  exit (0);
11684 >  return 0;
11685   }
11686  
11687   _ACEOF
11688   rm -f conftest$ac_exeext
11689 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11690 <  (eval $ac_link) 2>&5
11689 > if { (ac_try="$ac_link"
11690 > case "(($ac_try" in
11691 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11692 >  *) ac_try_echo=$ac_try;;
11693 > esac
11694 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11695 > $as_echo "$ac_try_echo") >&5
11696 >  (eval "$ac_link") 2>&5
11697    ac_status=$?
11698 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11698 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11699    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11700 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11701 <  (eval $ac_try) 2>&5
11700 >  { (case "(($ac_try" in
11701 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11702 >  *) ac_try_echo=$ac_try;;
11703 > esac
11704 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11705 > $as_echo "$ac_try_echo") >&5
11706 >  (eval "$ac_try") 2>&5
11707    ac_status=$?
11708 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11709    (exit $ac_status); }; }; then
11710    ac_cv_func_strtod=yes
11711   else
11712 <  echo "$as_me: program exited with status $ac_status" >&5
11713 < echo "$as_me: failed program was:" >&5
11712 >  $as_echo "$as_me: program exited with status $ac_status" >&5
11713 > $as_echo "$as_me: failed program was:" >&5
11714   sed 's/^/| /' conftest.$ac_ext >&5
11715  
11716   ( exit $ac_status )
11717   ac_cv_func_strtod=no
11718   fi
11719 < rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11719 > rm -rf conftest.dSYM
11720 > rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11721   fi
11722 +
11723 +
11724   fi
11725 < echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
11726 < echo "${ECHO_T}$ac_cv_func_strtod" >&6
11725 > { $as_echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
11726 > $as_echo "$ac_cv_func_strtod" >&6; }
11727   if test $ac_cv_func_strtod = no; then
11728 <  case $LIBOBJS in
9192 <    "strtod.$ac_objext"   | \
9193 <  *" strtod.$ac_objext"   | \
9194 <    "strtod.$ac_objext "* | \
11728 >  case " $LIBOBJS " in
11729    *" strtod.$ac_objext "* ) ;;
11730 <  *) LIBOBJS="$LIBOBJS strtod.$ac_objext" ;;
11730 >  *) LIBOBJS="$LIBOBJS strtod.$ac_objext"
11731 > ;;
11732   esac
11733  
11734 < echo "$as_me:$LINENO: checking for pow" >&5
11735 < echo $ECHO_N "checking for pow... $ECHO_C" >&6
11734 > { $as_echo "$as_me:$LINENO: checking for pow" >&5
11735 > $as_echo_n "checking for pow... " >&6; }
11736   if test "${ac_cv_func_pow+set}" = set; then
11737 <  echo $ECHO_N "(cached) $ECHO_C" >&6
11737 >  $as_echo_n "(cached) " >&6
11738   else
11739    cat >conftest.$ac_ext <<_ACEOF
11740   /* confdefs.h.  */
# Line 9224 | Line 11759 | cat >>conftest.$ac_ext <<_ACEOF
11759  
11760   #undef pow
11761  
11762 < /* Override any gcc2 internal prototype to avoid an error.  */
11762 > /* Override any GCC internal prototype to avoid an error.
11763 >   Use char because int might match the return type of a GCC
11764 >   builtin and then its argument prototype would still apply.  */
11765   #ifdef __cplusplus
11766   extern "C"
9230 {
11767   #endif
9232 /* We use char because int might match the return type of a gcc2
9233   builtin and then its argument prototype would still apply.  */
11768   char pow ();
11769   /* The GNU C library defines this for functions which it implements
11770      to always fail with ENOSYS.  Some functions are actually named
11771      something starting with __ and the normal name is an alias.  */
11772 < #if defined (__stub_pow) || defined (__stub___pow)
11772 > #if defined __stub_pow || defined __stub___pow
11773   choke me
9240 #else
9241 char (*f) () = pow;
11774   #endif
9243 #ifdef __cplusplus
9244 }
9245 #endif
11775  
11776   #ifdef FC_DUMMY_MAIN
11777   #ifndef FC_DUMMY_MAIN_EQ_F77
# Line 9255 | Line 11784 | main ()
11784   int
11785   main ()
11786   {
11787 < return f != pow;
11787 > return pow ();
11788    ;
11789    return 0;
11790   }
11791   _ACEOF
11792   rm -f conftest.$ac_objext conftest$ac_exeext
11793 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11794 <  (eval $ac_link) 2>conftest.er1
11793 > if { (ac_try="$ac_link"
11794 > case "(($ac_try" in
11795 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11796 >  *) ac_try_echo=$ac_try;;
11797 > esac
11798 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11799 > $as_echo "$ac_try_echo") >&5
11800 >  (eval "$ac_link") 2>conftest.er1
11801    ac_status=$?
11802    grep -v '^ *+' conftest.er1 >conftest.err
11803    rm -f conftest.er1
11804    cat conftest.err >&5
11805 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806 <  (exit $ac_status); } &&
11807 <         { ac_try='test -z "$ac_c_werror_flag"
11808 <                         || test ! -s conftest.err'
11809 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11810 <  (eval $ac_try) 2>&5
11811 <  ac_status=$?
11812 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9278 <  (exit $ac_status); }; } &&
9279 <         { ac_try='test -s conftest$ac_exeext'
9280 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9281 <  (eval $ac_try) 2>&5
9282 <  ac_status=$?
9283 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9284 <  (exit $ac_status); }; }; then
11805 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806 >  (exit $ac_status); } && {
11807 >         test -z "$ac_c_werror_flag" ||
11808 >         test ! -s conftest.err
11809 >       } && test -s conftest$ac_exeext && {
11810 >         test "$cross_compiling" = yes ||
11811 >         $as_test_x conftest$ac_exeext
11812 >       }; then
11813    ac_cv_func_pow=yes
11814   else
11815 <  echo "$as_me: failed program was:" >&5
11815 >  $as_echo "$as_me: failed program was:" >&5
11816   sed 's/^/| /' conftest.$ac_ext >&5
11817  
11818 < ac_cv_func_pow=no
11818 >        ac_cv_func_pow=no
11819   fi
11820 < rm -f conftest.err conftest.$ac_objext \
11820 >
11821 > rm -rf conftest.dSYM
11822 > rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11823        conftest$ac_exeext conftest.$ac_ext
11824   fi
11825 < echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
11826 < echo "${ECHO_T}$ac_cv_func_pow" >&6
11825 > { $as_echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
11826 > $as_echo "$ac_cv_func_pow" >&6; }
11827  
11828   if test $ac_cv_func_pow = no; then
11829 <  echo "$as_me:$LINENO: checking for pow in -lm" >&5
11830 < echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
11829 >  { $as_echo "$as_me:$LINENO: checking for pow in -lm" >&5
11830 > $as_echo_n "checking for pow in -lm... " >&6; }
11831   if test "${ac_cv_lib_m_pow+set}" = set; then
11832 <  echo $ECHO_N "(cached) $ECHO_C" >&6
11832 >  $as_echo_n "(cached) " >&6
11833   else
11834    ac_check_lib_save_LIBS=$LIBS
11835   LIBS="-lm  $LIBS"
# Line 9310 | Line 11840 | cat >>conftest.$ac_ext <<_ACEOF
11840   cat >>conftest.$ac_ext <<_ACEOF
11841   /* end confdefs.h.  */
11842  
11843 < /* Override any gcc2 internal prototype to avoid an error.  */
11843 > /* Override any GCC internal prototype to avoid an error.
11844 >   Use char because int might match the return type of a GCC
11845 >   builtin and then its argument prototype would still apply.  */
11846   #ifdef __cplusplus
11847   extern "C"
11848   #endif
9317 /* We use char because int might match the return type of a gcc2
9318   builtin and then its argument prototype would still apply.  */
11849   char pow ();
11850   #ifdef FC_DUMMY_MAIN
11851   #ifndef FC_DUMMY_MAIN_EQ_F77
# Line 9328 | Line 11858 | main ()
11858   int
11859   main ()
11860   {
11861 < pow ();
11861 > return pow ();
11862    ;
11863    return 0;
11864   }
11865   _ACEOF
11866   rm -f conftest.$ac_objext conftest$ac_exeext
11867 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11868 <  (eval $ac_link) 2>conftest.er1
11867 > if { (ac_try="$ac_link"
11868 > case "(($ac_try" in
11869 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11870 >  *) ac_try_echo=$ac_try;;
11871 > esac
11872 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11873 > $as_echo "$ac_try_echo") >&5
11874 >  (eval "$ac_link") 2>conftest.er1
11875    ac_status=$?
11876    grep -v '^ *+' conftest.er1 >conftest.err
11877    rm -f conftest.er1
11878    cat conftest.err >&5
11879 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11880 <  (exit $ac_status); } &&
11881 <         { ac_try='test -z "$ac_c_werror_flag"
11882 <                         || test ! -s conftest.err'
11883 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11884 <  (eval $ac_try) 2>&5
11885 <  ac_status=$?
11886 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9351 <  (exit $ac_status); }; } &&
9352 <         { ac_try='test -s conftest$ac_exeext'
9353 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9354 <  (eval $ac_try) 2>&5
9355 <  ac_status=$?
9356 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9357 <  (exit $ac_status); }; }; then
11879 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11880 >  (exit $ac_status); } && {
11881 >         test -z "$ac_c_werror_flag" ||
11882 >         test ! -s conftest.err
11883 >       } && test -s conftest$ac_exeext && {
11884 >         test "$cross_compiling" = yes ||
11885 >         $as_test_x conftest$ac_exeext
11886 >       }; then
11887    ac_cv_lib_m_pow=yes
11888   else
11889 <  echo "$as_me: failed program was:" >&5
11889 >  $as_echo "$as_me: failed program was:" >&5
11890   sed 's/^/| /' conftest.$ac_ext >&5
11891  
11892 < ac_cv_lib_m_pow=no
11892 >        ac_cv_lib_m_pow=no
11893   fi
11894 < rm -f conftest.err conftest.$ac_objext \
11894 >
11895 > rm -rf conftest.dSYM
11896 > rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11897        conftest$ac_exeext conftest.$ac_ext
11898   LIBS=$ac_check_lib_save_LIBS
11899   fi
11900 < echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
11901 < echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
11900 > { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
11901 > $as_echo "$ac_cv_lib_m_pow" >&6; }
11902   if test $ac_cv_lib_m_pow = yes; then
11903    POW_LIB=-lm
11904   else
11905 <  { echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
11906 < echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
11905 >  { $as_echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
11906 > $as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
11907   fi
11908  
11909   fi
# Line 9400 | Line 11931 | fi
11931  
11932  
11933  
11934 <
9404 <
9405 <
9406 <
9407 <
9408 <
9409 < for ac_func in floor getpagesize gettimeofday memchr memmove memset pow pstat_getdynamic pstat_getstatic rint select snprintf sranddev sqrt strcasecmp strchr strdup stricmp strncasecmp strnicmp strrchr strstr strtol sysmp getsysinfo sysctl table
11934 > for ac_func in floor getpagesize gettimeofday memset pow pstat_getdynamic pstat_getstatic select sqrt strcasecmp strchr strdup stricmp strncasecmp strnicmp strstr strtol sysmp getsysinfo sysctl table
11935   do
11936 < as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11937 < echo "$as_me:$LINENO: checking for $ac_func" >&5
11938 < echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11939 < if eval "test \"\${$as_ac_var+set}\" = set"; then
11940 <  echo $ECHO_N "(cached) $ECHO_C" >&6
11936 > as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11937 > { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
11938 > $as_echo_n "checking for $ac_func... " >&6; }
11939 > if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11940 >  $as_echo_n "(cached) " >&6
11941   else
11942    cat >conftest.$ac_ext <<_ACEOF
11943   /* confdefs.h.  */
# Line 9437 | Line 11962 | cat >>conftest.$ac_ext <<_ACEOF
11962  
11963   #undef $ac_func
11964  
11965 < /* Override any gcc2 internal prototype to avoid an error.  */
11965 > /* Override any GCC internal prototype to avoid an error.
11966 >   Use char because int might match the return type of a GCC
11967 >   builtin and then its argument prototype would still apply.  */
11968   #ifdef __cplusplus
11969   extern "C"
9443 {
11970   #endif
9445 /* We use char because int might match the return type of a gcc2
9446   builtin and then its argument prototype would still apply.  */
11971   char $ac_func ();
11972   /* The GNU C library defines this for functions which it implements
11973      to always fail with ENOSYS.  Some functions are actually named
11974      something starting with __ and the normal name is an alias.  */
11975 < #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11975 > #if defined __stub_$ac_func || defined __stub___$ac_func
11976   choke me
9453 #else
9454 char (*f) () = $ac_func;
11977   #endif
9456 #ifdef __cplusplus
9457 }
9458 #endif
11978  
11979   #ifdef FC_DUMMY_MAIN
11980   #ifndef FC_DUMMY_MAIN_EQ_F77
# Line 9468 | Line 11987 | main ()
11987   int
11988   main ()
11989   {
11990 < return f != $ac_func;
11990 > return $ac_func ();
11991    ;
11992    return 0;
11993   }
11994   _ACEOF
11995   rm -f conftest.$ac_objext conftest$ac_exeext
11996 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11997 <  (eval $ac_link) 2>conftest.er1
11996 > if { (ac_try="$ac_link"
11997 > case "(($ac_try" in
11998 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11999 >  *) ac_try_echo=$ac_try;;
12000 > esac
12001 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12002 > $as_echo "$ac_try_echo") >&5
12003 >  (eval "$ac_link") 2>conftest.er1
12004    ac_status=$?
12005    grep -v '^ *+' conftest.er1 >conftest.err
12006    rm -f conftest.er1
12007    cat conftest.err >&5
12008 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 <  (exit $ac_status); } &&
12010 <         { ac_try='test -z "$ac_c_werror_flag"
12011 <                         || test ! -s conftest.err'
12012 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12013 <  (eval $ac_try) 2>&5
12014 <  ac_status=$?
12015 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491 <  (exit $ac_status); }; } &&
9492 <         { ac_try='test -s conftest$ac_exeext'
9493 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9494 <  (eval $ac_try) 2>&5
9495 <  ac_status=$?
9496 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9497 <  (exit $ac_status); }; }; then
12008 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 >  (exit $ac_status); } && {
12010 >         test -z "$ac_c_werror_flag" ||
12011 >         test ! -s conftest.err
12012 >       } && test -s conftest$ac_exeext && {
12013 >         test "$cross_compiling" = yes ||
12014 >         $as_test_x conftest$ac_exeext
12015 >       }; then
12016    eval "$as_ac_var=yes"
12017   else
12018 <  echo "$as_me: failed program was:" >&5
12018 >  $as_echo "$as_me: failed program was:" >&5
12019   sed 's/^/| /' conftest.$ac_ext >&5
12020  
12021 < eval "$as_ac_var=no"
12021 >        eval "$as_ac_var=no"
12022   fi
12023 < rm -f conftest.err conftest.$ac_objext \
12023 >
12024 > rm -rf conftest.dSYM
12025 > rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12026        conftest$ac_exeext conftest.$ac_ext
12027   fi
12028 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12029 < echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12030 < if test `eval echo '${'$as_ac_var'}'` = yes; then
12028 > ac_res=`eval 'as_val=${'$as_ac_var'}
12029 >                 $as_echo "$as_val"'`
12030 >               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12031 > $as_echo "$ac_res" >&6; }
12032 > if test `eval 'as_val=${'$as_ac_var'}
12033 >                 $as_echo "$as_val"'` = yes; then
12034    cat >>confdefs.h <<_ACEOF
12035 < #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12035 > #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12036   _ACEOF
12037  
12038   fi
# Line 9518 | Line 12041 | done
12041  
12042   # special check for _system_configuration because AIX <4.3.2 do not
12043   # contain the `physmem' member.
12044 < echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
12045 < echo $ECHO_N "checking for external symbol _system_configuration... $ECHO_C" >&6
12044 > { $as_echo "$as_me:$LINENO: checking for external symbol _system_configuration" >&5
12045 > $as_echo_n "checking for external symbol _system_configuration... " >&6; }
12046   cat >conftest.$ac_ext <<_ACEOF
12047   /* confdefs.h.  */
12048   _ACEOF
# Line 9544 | Line 12067 | rm -f conftest.$ac_objext
12067   }
12068   _ACEOF
12069   rm -f conftest.$ac_objext
12070 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12071 <  (eval $ac_compile) 2>conftest.er1
12070 > if { (ac_try="$ac_compile"
12071 > case "(($ac_try" in
12072 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12073 >  *) ac_try_echo=$ac_try;;
12074 > esac
12075 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12076 > $as_echo "$ac_try_echo") >&5
12077 >  (eval "$ac_compile") 2>conftest.er1
12078    ac_status=$?
12079    grep -v '^ *+' conftest.er1 >conftest.err
12080    rm -f conftest.er1
12081    cat conftest.err >&5
12082 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12083 <  (exit $ac_status); } &&
12084 <         { ac_try='test -z "$ac_c_werror_flag"
12085 <                         || test ! -s conftest.err'
12086 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12087 <  (eval $ac_try) 2>&5
12088 <  ac_status=$?
9560 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9561 <  (exit $ac_status); }; } &&
9562 <         { ac_try='test -s conftest.$ac_objext'
9563 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9564 <  (eval $ac_try) 2>&5
9565 <  ac_status=$?
9566 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9567 <  (exit $ac_status); }; }; then
9568 <  echo "$as_me:$LINENO: result: yes" >&5
9569 < echo "${ECHO_T}yes" >&6
12082 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12083 >  (exit $ac_status); } && {
12084 >         test -z "$ac_c_werror_flag" ||
12085 >         test ! -s conftest.err
12086 >       } && test -s conftest.$ac_objext; then
12087 >  { $as_echo "$as_me:$LINENO: result: yes" >&5
12088 > $as_echo "yes" >&6; }
12089  
12090   cat >>confdefs.h <<\_ACEOF
12091   #define HAVE__SYSTEM_CONFIGURATION 1
12092   _ACEOF
12093  
12094   else
12095 <  echo "$as_me: failed program was:" >&5
12095 >  $as_echo "$as_me: failed program was:" >&5
12096   sed 's/^/| /' conftest.$ac_ext >&5
12097  
12098 < echo "$as_me:$LINENO: result: no" >&5
12099 < echo "${ECHO_T}no" >&6
12098 >        { $as_echo "$as_me:$LINENO: result: no" >&5
12099 > $as_echo "no" >&6; }
12100   fi
9582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12101  
12102 <  # clean out junk possibly left behind by a previous configuration
9585 <  rm -f src/getopt.h
9586 <  # Check for getopt_long support
12102 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12103  
12104 < for ac_header in getopt.h
12105 < do
12106 < as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12107 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
12108 <  echo "$as_me:$LINENO: checking for $ac_header" >&5
12109 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12110 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
12111 <  echo $ECHO_N "(cached) $ECHO_C" >&6
12112 < fi
12113 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12114 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12104 >
12105 > case $debug in
12106 >  1)
12107 >     ;;
12108 >  *)
12109 >
12110 >
12111 >
12112 >
12113 >
12114 > # Try to determine "good" native compiler flags if none specified on command
12115 > # line
12116 >
12117 > if test "$ac_test_FFLAGS" != "set"; then
12118 >  FCFLAGS=""
12119 >  case "${host_cpu}-${host_os}" in
12120 >
12121 >  *linux*) if test "$FC" = ifc -o "$FC" = ifort; then
12122 >                    FCFLAGS="-O2"
12123 >                fi;;
12124 >   rs6000*-aix*)  if test "$FC" = xlf90 -o "$FC" = f90 -o "$FC" = xlf95; then
12125 >                    FCFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
12126 >                fi;;
12127 >   powerpc*-aix*)
12128 >        if test "$FC" = f90 -o "$FC" = xlf90 -o "$FC" = xlf95; then
12129 >                FCFLAGS="-O3 -qarch=ppc -qansialias -w"
12130 >                echo "*******************************************************"
12131 >                echo "*  You have AIX on an unknown powerpc system.  It is  *"
12132 >                echo "*  recommended that you use                           *"
12133 >                echo "*                                                     *"
12134 >                echo "*   FCFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
12135 >                echo "*                                 ^^^                 *"
12136 >                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
12137 >                echo "*  PowerPC CPU you have.   For more info, man xlf.    *"
12138 >                echo "*******************************************************"
12139 >        fi;;
12140 >   *darwin*)
12141 >        if test "$FC" = f90 -o "$FC" = xlf90 -o "$FC" = xlf95; then
12142 >                FCFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto"
12143 >        fi
12144 >        if test "$FC" = ifort; then
12145 >                FCFLAGS="-O2"
12146 >        fi
12147 >        if test "$FC" = gfortran; then
12148 >                FCFLAGS="-Os"
12149 >        fi;;
12150 >  esac
12151 >
12152 >  if test -z "$FCFLAGS"; then
12153 >        echo ""
12154 >        echo "*********************************************************"
12155 >        echo "* WARNING: Don't know the best FCFLAGS for this system  *"
12156 >        echo "* Use  make FCFLAGS=..., or edit the top level Makefile *"
12157 >        echo "* (otherwise, a default of FCFLAGS=-O will be used)     *"
12158 >        echo "*********************************************************"
12159 >        echo ""
12160 >        FCFLAGS="-O"
12161 >  fi
12162 >
12163 >
12164 > { $as_echo "$as_me:$LINENO: checking whether ${FC} accepts ${FCFLAGS}" >&5
12165 > $as_echo_n "checking whether ${FC} accepts ${FCFLAGS}... " >&6; }
12166 > if test "${ac_guessed_f90flags+set}" = set; then
12167 >  $as_echo_n "(cached) " >&6
12168   else
9600  # Is the header compilable?
9601 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9602 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9603 cat >conftest.$ac_ext <<_ACEOF
9604 /* confdefs.h.  */
9605 _ACEOF
9606 cat confdefs.h >>conftest.$ac_ext
9607 cat >>conftest.$ac_ext <<_ACEOF
9608 /* end confdefs.h.  */
9609 $ac_includes_default
9610 #include <$ac_header>
9611 _ACEOF
9612 rm -f conftest.$ac_objext
9613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9614  (eval $ac_compile) 2>conftest.er1
9615  ac_status=$?
9616  grep -v '^ *+' conftest.er1 >conftest.err
9617  rm -f conftest.er1
9618  cat conftest.err >&5
9619  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9620  (exit $ac_status); } &&
9621         { ac_try='test -z "$ac_c_werror_flag"
9622                         || test ! -s conftest.err'
9623  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9624  (eval $ac_try) 2>&5
9625  ac_status=$?
9626  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9627  (exit $ac_status); }; } &&
9628         { ac_try='test -s conftest.$ac_objext'
9629  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9630  (eval $ac_try) 2>&5
9631  ac_status=$?
9632  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9633  (exit $ac_status); }; }; then
9634  ac_header_compiler=yes
9635 else
9636  echo "$as_me: failed program was:" >&5
9637 sed 's/^/| /' conftest.$ac_ext >&5
12169  
9639 ac_header_compiler=no
9640 fi
9641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9642 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9643 echo "${ECHO_T}$ac_header_compiler" >&6
12170  
12171 < # Is the header present?
12172 < echo "$as_me:$LINENO: checking $ac_header presence" >&5
12173 < echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12174 < cat >conftest.$ac_ext <<_ACEOF
12175 < /* confdefs.h.  */
12176 < _ACEOF
12177 < cat confdefs.h >>conftest.$ac_ext
12178 < cat >>conftest.$ac_ext <<_ACEOF
12179 < /* end confdefs.h.  */
12180 < #include <$ac_header>
9655 < _ACEOF
9656 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9657 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12171 > ac_ext=${ac_fc_srcext-f}
12172 > ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
12173 > ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
12174 > ac_compiler_gnu=$ac_cv_fc_compiler_gnu
12175 >
12176 > echo 'program main' > conftest.$ac_ext
12177 > echo 'end program main' >> conftest.$ac_ext
12178 > ac_compile='${FC} -c ${FCFLAGS} $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext 1>&5'
12179 > if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12180 >  (eval $ac_compile) 2>&5
12181    ac_status=$?
12182 <  grep -v '^ *+' conftest.er1 >conftest.err
12183 <  rm -f conftest.er1
12184 <  cat conftest.err >&5
9662 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9663 <  (exit $ac_status); } >/dev/null; then
9664 <  if test -s conftest.err; then
9665 <    ac_cpp_err=$ac_c_preproc_warn_flag
9666 <    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9667 <  else
9668 <    ac_cpp_err=
9669 <  fi
12182 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12183 >  (exit $ac_status); }; then
12184 >        ac_guessed_f90flags=yes
12185   else
12186 <  ac_cpp_err=yes
12186 >        ac_guessed_f90flags=no
12187   fi
12188 < if test -z "$ac_cpp_err"; then
12189 <  ac_header_preproc=yes
12190 < else
12191 <  echo "$as_me: failed program was:" >&5
12192 < sed 's/^/| /' conftest.$ac_ext >&5
12188 > rm -f conftest*
12189 > ac_ext=c
12190 > ac_cpp='$CPP $CPPFLAGS'
12191 > ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12192 > ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12193 > ac_compiler_gnu=$ac_cv_c_compiler_gnu
12194  
12195 <  ac_header_preproc=no
12195 >
12196   fi
12197 < rm -f conftest.err conftest.$ac_ext
12198 < echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12199 < echo "${ECHO_T}$ac_header_preproc" >&6
12197 > { $as_echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5
12198 > $as_echo "$ac_guessed_f90flags" >&6; }
12199 > if test "$ac_guessed_f90flags" = yes; then
12200 >        :
12201  
9685 # So?  What about this header?
9686 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9687  yes:no: )
9688    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9689 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9690    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9691 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9692    ac_header_preproc=yes
9693    ;;
9694  no:yes:* )
9695    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9696 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9697    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
9698 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
9699    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9700 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9701    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
9702 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
9703    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9704 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9705    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9706 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9707    (
9708      cat <<\_ASBOX
9709 ## ------------------------------ ##
9710 ## Report this to gezelter@nd.edu ##
9711 ## ------------------------------ ##
9712 _ASBOX
9713    ) |
9714      sed "s/^/$as_me: WARNING:     /" >&2
9715    ;;
9716 esac
9717 echo "$as_me:$LINENO: checking for $ac_header" >&5
9718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9720  echo $ECHO_N "(cached) $ECHO_C" >&6
12202   else
12203 <  eval "$as_ac_Header=\$ac_header_preproc"
9723 < fi
9724 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9725 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12203 >        :
12204  
12205 < fi
12206 < if test `eval echo '${'$as_ac_Header'}'` = yes; then
12207 <  cat >>confdefs.h <<_ACEOF
12208 < #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12209 < _ACEOF
12205 >        echo ""
12206 >        echo "**********************************************************"
12207 >        echo "* WARNING: The guessed FCFLAGS don't seem to work with  *"
12208 >        echo "* your compiler.                                        *"
12209 >        echo "* Use  make FCFLAGS=..., or edit the top level Makefile *"
12210 >        echo "*********************************************************"
12211 >        echo ""
12212 >        FCFLAGS=""
12213  
12214   fi
12215  
9735 done
12216  
12217 + fi
12218  
9738 for ac_func in getopt_long
9739 do
9740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9741 echo "$as_me:$LINENO: checking for $ac_func" >&5
9742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9743 if eval "test \"\${$as_ac_var+set}\" = set"; then
9744  echo $ECHO_N "(cached) $ECHO_C" >&6
9745 else
9746  cat >conftest.$ac_ext <<_ACEOF
9747 /* confdefs.h.  */
9748 _ACEOF
9749 cat confdefs.h >>conftest.$ac_ext
9750 cat >>conftest.$ac_ext <<_ACEOF
9751 /* end confdefs.h.  */
9752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9753   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9754 #define $ac_func innocuous_$ac_func
12219  
9756 /* System header to define __stub macros and hopefully few prototypes,
9757    which can conflict with char $ac_func (); below.
9758    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9759    <limits.h> exists even on freestanding compilers.  */
12220  
9761 #ifdef __STDC__
9762 # include <limits.h>
9763 #else
9764 # include <assert.h>
9765 #endif
12221  
9767 #undef $ac_func
12222  
9769 /* Override any gcc2 internal prototype to avoid an error.  */
9770 #ifdef __cplusplus
9771 extern "C"
9772 {
9773 #endif
9774 /* We use char because int might match the return type of a gcc2
9775   builtin and then its argument prototype would still apply.  */
9776 char $ac_func ();
9777 /* The GNU C library defines this for functions which it implements
9778    to always fail with ENOSYS.  Some functions are actually named
9779    something starting with __ and the normal name is an alias.  */
9780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9781 choke me
9782 #else
9783 char (*f) () = $ac_func;
9784 #endif
9785 #ifdef __cplusplus
9786 }
9787 #endif
12223  
9789 #ifdef FC_DUMMY_MAIN
9790 #ifndef FC_DUMMY_MAIN_EQ_F77
9791 #  ifdef __cplusplus
9792     extern "C"
9793 #  endif
9794   int FC_DUMMY_MAIN() { return 1; }
9795 #endif
9796 #endif
9797 int
9798 main ()
9799 {
9800 return f != $ac_func;
9801  ;
9802  return 0;
9803 }
9804 _ACEOF
9805 rm -f conftest.$ac_objext conftest$ac_exeext
9806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9807  (eval $ac_link) 2>conftest.er1
9808  ac_status=$?
9809  grep -v '^ *+' conftest.er1 >conftest.err
9810  rm -f conftest.er1
9811  cat conftest.err >&5
9812  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9813  (exit $ac_status); } &&
9814         { ac_try='test -z "$ac_c_werror_flag"
9815                         || test ! -s conftest.err'
9816  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9817  (eval $ac_try) 2>&5
9818  ac_status=$?
9819  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9820  (exit $ac_status); }; } &&
9821         { ac_try='test -s conftest$ac_exeext'
9822  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9823  (eval $ac_try) 2>&5
9824  ac_status=$?
9825  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9826  (exit $ac_status); }; }; then
9827  eval "$as_ac_var=yes"
9828 else
9829  echo "$as_me: failed program was:" >&5
9830 sed 's/^/| /' conftest.$ac_ext >&5
12224  
12225 < eval "$as_ac_var=no"
12226 < fi
12227 < rm -f conftest.err conftest.$ac_objext \
12228 <      conftest$ac_exeext conftest.$ac_ext
9836 < fi
9837 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9838 < echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9839 < if test `eval echo '${'$as_ac_var'}'` = yes; then
9840 <  cat >>confdefs.h <<_ACEOF
9841 < #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9842 < _ACEOF
9843 <
12225 > { $as_echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5
12226 > $as_echo_n "checking whether we are *really* using GNU cc... " >&6; }
12227 > if test "${ac_cv_prog_really_gcc+set}" = set; then
12228 >  $as_echo_n "(cached) " >&6
12229   else
9845  # FreeBSD has a gnugetopt library for this
9846    echo "$as_me:$LINENO: checking for getopt_long in -lgnugetopt" >&5
9847 echo $ECHO_N "checking for getopt_long in -lgnugetopt... $ECHO_C" >&6
9848 if test "${ac_cv_lib_gnugetopt_getopt_long+set}" = set; then
9849  echo $ECHO_N "(cached) $ECHO_C" >&6
9850 else
9851  ac_check_lib_save_LIBS=$LIBS
9852 LIBS="-lgnugetopt  $LIBS"
9853 cat >conftest.$ac_ext <<_ACEOF
9854 /* confdefs.h.  */
9855 _ACEOF
9856 cat confdefs.h >>conftest.$ac_ext
9857 cat >>conftest.$ac_ext <<_ACEOF
9858 /* end confdefs.h.  */
12230  
12231 < /* Override any gcc2 internal prototype to avoid an error.  */
12232 < #ifdef __cplusplus
12233 < extern "C"
12231 > cat > conftest.c <<EOF
12232 > #ifdef __GNUC__
12233 >  #if defined(__INTEL_COMPILER) || defined(__PATHCC__)
12234 >     no;
12235 >  #else
12236 >     yes;
12237 >  #endif
12238   #endif
12239 < /* We use char because int might match the return type of a gcc2
12240 <   builtin and then its argument prototype would still apply.  */
9866 < char getopt_long ();
9867 < #ifdef FC_DUMMY_MAIN
9868 < #ifndef FC_DUMMY_MAIN_EQ_F77
9869 < #  ifdef __cplusplus
9870 <     extern "C"
9871 < #  endif
9872 <   int FC_DUMMY_MAIN() { return 1; }
9873 < #endif
9874 < #endif
9875 < int
9876 < main ()
9877 < {
9878 < getopt_long ();
9879 <  ;
9880 <  return 0;
9881 < }
9882 < _ACEOF
9883 < rm -f conftest.$ac_objext conftest$ac_exeext
9884 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9885 <  (eval $ac_link) 2>conftest.er1
9886 <  ac_status=$?
9887 <  grep -v '^ *+' conftest.er1 >conftest.err
9888 <  rm -f conftest.er1
9889 <  cat conftest.err >&5
9890 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9891 <  (exit $ac_status); } &&
9892 <         { ac_try='test -z "$ac_c_werror_flag"
9893 <                         || test ! -s conftest.err'
12239 > EOF
12240 > if { ac_try='${CC-cc} -E conftest.c'
12241    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12242    (eval $ac_try) 2>&5
12243    ac_status=$?
12244 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12245 <  (exit $ac_status); }; } &&
12246 <         { ac_try='test -s conftest$ac_exeext'
9900 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9901 <  (eval $ac_try) 2>&5
9902 <  ac_status=$?
9903 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9904 <  (exit $ac_status); }; }; then
9905 <  ac_cv_lib_gnugetopt_getopt_long=yes
12244 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12245 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
12246 >  ac_cv_prog_really_gcc=yes
12247   else
12248 <  echo "$as_me: failed program was:" >&5
12249 < sed 's/^/| /' conftest.$ac_ext >&5
12248 >  ac_cv_prog_really_gcc=no
12249 > fi
12250  
9910 ac_cv_lib_gnugetopt_getopt_long=no
12251   fi
12252 < rm -f conftest.err conftest.$ac_objext \
12253 <      conftest$ac_exeext conftest.$ac_ext
12254 < LIBS=$ac_check_lib_save_LIBS
12255 < fi
9916 < echo "$as_me:$LINENO: result: $ac_cv_lib_gnugetopt_getopt_long" >&5
9917 < echo "${ECHO_T}$ac_cv_lib_gnugetopt_getopt_long" >&6
9918 < if test $ac_cv_lib_gnugetopt_getopt_long = yes; then
9919 <  cat >>confdefs.h <<\_ACEOF
9920 < #define HAVE_GETOPT_LONG 1
9921 < _ACEOF
12252 > { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5
12253 > $as_echo "$ac_cv_prog_really_gcc" >&6; }
12254 > if test "$ac_cv_prog_really_gcc" = yes; then
12255 >        :
12256  
12257   else
12258 <  # use the GNU replacement
9925 <      case $LIBOBJS in
9926 <    "getopt.$ac_objext"   | \
9927 <  *" getopt.$ac_objext"   | \
9928 <    "getopt.$ac_objext "* | \
9929 <  *" getopt.$ac_objext "* ) ;;
9930 <  *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
9931 < esac
12258 >        :
12259  
9933      case $LIBOBJS in
9934    "getopt1.$ac_objext"   | \
9935  *" getopt1.$ac_objext"   | \
9936    "getopt1.$ac_objext "* | \
9937  *" getopt1.$ac_objext "* ) ;;
9938  *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
9939 esac
9940
9941                ac_config_links="$ac_config_links src/getopt.h:src/utils/gnugetopt.h"
9942
12260   fi
12261  
9945 fi
9946 done
12262  
12263 <
12264 < ac_ext=cc
12265 < ac_cpp='$CXXCPP $CPPFLAGS'
12266 < ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12267 < ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9953 < ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12263 > # Try to determine "good" native compiler flags if none specified on command
12264 > # line
12265 > if test "$ac_test_CFLAGS" != "set"; then
12266 >  CFLAGS=""
12267 >  case "${host_cpu}-${host_os}" in
12268  
12269 +  *linux*) if test "$CC" = icc; then
12270 +                    CFLAGS="-O2"
12271 +                fi;;
12272 +  sparc-solaris2*) if test "$CC" = cc; then
12273 +                    CFLAGS="-O -dalign"
12274 +                 fi;;
12275  
12276 < echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
12277 < echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
12278 < if test "${ac_cv_cxx_namespaces+set}" = set; then
12279 <  echo $ECHO_N "(cached) $ECHO_C" >&6
12276 >  alpha*-osf*)  if test "$CC" = cc; then
12277 >                    CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1"
12278 >                fi;;
12279 >
12280 >  hppa*-hpux*)  if test "$CC" = cc; then
12281 >                    CFLAGS="-Ae +O3 +Oall"
12282 >                fi;;
12283 >
12284 >   rs6000*-aix*)  if test "$CC" = cc -o "$CC" = xlc; then
12285 >                    CFLAGS="-O3 -qtune=auto -qansialias -w"
12286 >                fi;;
12287 >   powerpc*-aix*)
12288 >        if test "$CC" = cc -o "$CC" = xlc; then
12289 >                CFLAGS="-O3 -qtune=auto -qansialias -w"
12290 >                echo "*******************************************************"
12291 >                echo "*  You have AIX on an unknown powerpc system.  It is  *"
12292 >                echo "*  recommended that you use                           *"
12293 >                echo "*                                                     *"
12294 >                echo "*    CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
12295 >                echo "*                                 ^^^                 *"
12296 >                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
12297 >                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
12298 >                echo "*******************************************************"
12299 >        fi;;
12300 >   *darwin*)
12301 >        if test "$CC" = xlc; then
12302 >                CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
12303 >        fi
12304 >        if test "$CC" = icc; then
12305 >                CFLAGS="-O2"
12306 >        fi
12307 >        if test $ac_cv_prog_really_gcc = yes; then
12308 >                CFLAGS="-Os"
12309 >        fi;;
12310 >  esac
12311 >
12312 >  # use default flags for gcc on all systems
12313 >  if test $ac_cv_prog_really_gcc = yes -a -z "$CFLAGS"; then
12314 >     CFLAGS="-O2"
12315 >  fi
12316 >
12317 >  if test -z "$CFLAGS"; then
12318 >        echo ""
12319 >        echo "********************************************************"
12320 >        echo "* WARNING: Don't know the best CFLAGS for this system  *"
12321 >        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
12322 >        echo "* (otherwise, a default of CFLAGS=-O will be used)     *"
12323 >        echo "********************************************************"
12324 >        echo ""
12325 >        CFLAGS="-O"
12326 >  fi
12327 >
12328 >
12329 >
12330 > { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts ${CFLAGS}" >&5
12331 > $as_echo_n "checking whether ${CC} accepts ${CFLAGS}... " >&6; }
12332 > if test "${ac_guessed_cflags+set}" = set; then
12333 >  $as_echo_n "(cached) " >&6
12334   else
12335 +  echo 'void f(){}' > conftest.c
12336 + if test -z "`${CC} ${CFLAGS} -c conftest.c 2>&1`"; then
12337 +        ac_guessed_cflags=yes
12338 + else
12339 +        ac_guessed_cflags=no
12340 + fi
12341 + rm -f conftest*
12342  
12343 + fi
12344 + { $as_echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
12345 + $as_echo "$ac_guessed_cflags" >&6; }
12346 + if test "$ac_guessed_cflags" = yes; then
12347 +        :
12348  
12349 < ac_ext=cc
12350 < ac_cpp='$CXXCPP $CPPFLAGS'
9965 < ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9966 < ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9967 < ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12349 > else
12350 >        :
12351  
12352 < cat >conftest.$ac_ext <<_ACEOF
12353 < /* confdefs.h.  */
12354 < _ACEOF
12355 < cat confdefs.h >>conftest.$ac_ext
12356 < cat >>conftest.$ac_ext <<_ACEOF
12357 < /* end confdefs.h.  */
12358 < namespace Outer { namespace Inner { int i = 0; }}
12359 < #ifdef FC_DUMMY_MAIN
12360 < #ifndef FC_DUMMY_MAIN_EQ_F77
12361 < #  ifdef __cplusplus
12362 <     extern "C"
12363 < #  endif
12364 <   int FC_DUMMY_MAIN() { return 1; }
12352 >        echo ""
12353 >        echo "********************************************************"
12354 >        echo "* WARNING: The guessed CFLAGS don't seem to work with  *"
12355 >        echo "* your compiler.                                       *"
12356 >        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
12357 >        echo "********************************************************"
12358 >        echo ""
12359 >        CFLAGS=""
12360 >
12361 > fi
12362 >
12363 >
12364 > fi
12365 >
12366 >
12367 >
12368 >
12369 >
12370 >
12371 >
12372 > { $as_echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5
12373 > $as_echo_n "checking whether we are *really* using GNU c++... " >&6; }
12374 > if test "${ac_cv_prog_really_gxx+set}" = set; then
12375 >  $as_echo_n "(cached) " >&6
12376 > else
12377 >
12378 > cat > conftest.cpp <<EOF
12379 > #ifdef __GNUC__
12380 >  #if defined(__INTEL_COMPILER) || defined(__PATHCC__)
12381 >     no;
12382 >  #else
12383 >     yes;
12384 >  #endif
12385   #endif
12386 < #endif
12387 < int
9985 < main ()
9986 < {
9987 < using namespace Outer::Inner; return i;
9988 <  ;
9989 <  return 0;
9990 < }
9991 < _ACEOF
9992 < rm -f conftest.$ac_objext
9993 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9994 <  (eval $ac_compile) 2>conftest.er1
9995 <  ac_status=$?
9996 <  grep -v '^ *+' conftest.er1 >conftest.err
9997 <  rm -f conftest.er1
9998 <  cat conftest.err >&5
9999 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10000 <  (exit $ac_status); } &&
10001 <         { ac_try='test -z "$ac_cxx_werror_flag"
10002 <                         || test ! -s conftest.err'
12386 > EOF
12387 > if { ac_try='${CXX-c++} -E conftest.cpp'
12388    { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12389    (eval $ac_try) 2>&5
12390    ac_status=$?
12391 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 <  (exit $ac_status); }; } &&
12393 <         { ac_try='test -s conftest.$ac_objext'
10009 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10010 <  (eval $ac_try) 2>&5
10011 <  ac_status=$?
10012 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10013 <  (exit $ac_status); }; }; then
10014 <  ac_cv_cxx_namespaces=yes
12391 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 >  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
12393 >  ac_cv_prog_really_gxx=yes
12394   else
12395 <  echo "$as_me: failed program was:" >&5
12396 < sed 's/^/| /' conftest.$ac_ext >&5
12395 >  ac_cv_prog_really_gxx=no
12396 > fi
12397  
10019 ac_cv_cxx_namespaces=no
12398   fi
12399 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12400 < ac_ext=cc
12401 < ac_cpp='$CXXCPP $CPPFLAGS'
12402 < ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10025 < ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10026 < ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12399 > { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5
12400 > $as_echo "$ac_cv_prog_really_gxx" >&6; }
12401 > if test "$ac_cv_prog_really_gxx" = yes; then
12402 >        :
12403  
12404 + else
12405 +        :
12406  
12407   fi
10030 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
10031 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
10032 if test "$ac_cv_cxx_namespaces" = yes; then
12408  
10034 cat >>confdefs.h <<\_ACEOF
10035 #define HAVE_NAMESPACES
10036 _ACEOF
12409  
12410 + # Try to determine "good" native compiler flags if none specified on command
12411 + # line
12412 + if test "$ac_test_CXXFLAGS" != "set"; then
12413 +  CXXFLAGS=""
12414 +  case "${host_cpu}-${host_os}" in
12415 +
12416 +  *linux*) if test "$CXX" = icc -o "$CXX" = icpc; then
12417 +                    CXXFLAGS="-O2"
12418 +                fi;;
12419 +  sparc-solaris2*) if test "$CXX" = CC; then
12420 +                    CXXFLAGS="-features=extensions -O -dalign"
12421 +                 fi;;
12422 +   rs6000*-aix*)  if test "$CXX" = xlC; then
12423 +                    CXXFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
12424 +                fi;;
12425 +   powerpc*-aix*)
12426 +        if test "$CXX" = xlC; then
12427 +                CXXFLAGS="-O3 -qarch=ppc -qansialias -w"
12428 +                echo "*******************************************************"
12429 +                echo "*  You have AIX on an unknown powerpc system.  It is  *"
12430 +                echo "*  recommended that you use                           *"
12431 +                echo "*                                                     *"
12432 +                echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
12433 +                echo "*                                 ^^^                 *"
12434 +                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
12435 +                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
12436 +                echo "*******************************************************"
12437 +        fi;;
12438 +   *darwin*)
12439 +        if test "$CXX" = xlc++ -o "$CXX" = xlC ; then
12440 +                CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
12441 +        fi
12442 +        if test "$CXX" = icpc; then
12443 +                CXXFLAGS="-O2"
12444 +        fi
12445 +        if test $ac_cv_prog_really_gxx = yes; then
12446 +                CXXFLAGS="-Os"
12447 +        fi;;
12448 +  esac
12449 +
12450 +  # use default flags for gcc on all systems
12451 +  if test $ac_cv_prog_really_gxx = yes -a -z "$CXXFLAGS"; then
12452 +     CXXFLAGS="-O2"
12453 +  fi
12454 +
12455 +  if test -z "$CXXFLAGS"; then
12456 +        echo ""
12457 +        echo "**********************************************************"
12458 +        echo "* WARNING: Don't know the best CXXFLAGS for this system  *"
12459 +        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
12460 +        echo "* (otherwise, a default of CXXFLAGS=-O will be used)     *"
12461 +        echo "**********************************************************"
12462 +        echo ""
12463 +        CXXFLAGS="-O"
12464 +  fi
12465 +
12466 +
12467 +
12468 + { $as_echo "$as_me:$LINENO: checking whether ${CXX} accepts ${CXXFLAGS}" >&5
12469 + $as_echo_n "checking whether ${CXX} accepts ${CXXFLAGS}... " >&6; }
12470 + if test "${ac_guessed_cxxflags+set}" = set; then
12471 +  $as_echo_n "(cached) " >&6
12472 + else
12473 +  echo 'void f(){}' > conftest.cpp
12474 + if test -z "`${CXX} ${CXXFLAGS} -c conftest.cpp 2>&1`"; then
12475 +        ac_guessed_cxxflags=yes
12476 + else
12477 +        ac_guessed_cxxflags=no
12478   fi
12479 + rm -f conftest*
12480  
12481 < ac_ext=cc
12482 < ac_cpp='$CXXCPP $CPPFLAGS'
12483 < ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12484 < ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12485 < ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12486 < echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
10046 < echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
10047 < if test -z "$CXXCPP"; then
10048 <  if test "${ac_cv_prog_CXXCPP+set}" = set; then
10049 <  echo $ECHO_N "(cached) $ECHO_C" >&6
12481 > fi
12482 > { $as_echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5
12483 > $as_echo "$ac_guessed_cxxflags" >&6; }
12484 > if test "$ac_guessed_cxxflags" = yes; then
12485 >        :
12486 >
12487   else
12488 <      # Double quotes because CXXCPP needs to be expanded
12489 <    for CXXCPP in "$CXX -E" "/lib/cpp"
12490 <    do
12491 <      ac_preproc_ok=false
12492 < for ac_cxx_preproc_warn_flag in '' yes
12493 < do
12494 <  # Use a header file that comes with gcc, so configuring glibc
12495 <  # with a fresh cross-compiler works.
12496 <  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12497 <  # <limits.h> exists even on freestanding compilers.
12498 <  # On the NeXT, cc -E runs the code through the compiler's parser,
12499 <  # not just through cpp. "Syntax error" is here to catch this case.
12500 <  cat >conftest.$ac_ext <<_ACEOF
12488 >        :
12489 >
12490 >        echo ""
12491 >        echo "**********************************************************"
12492 >        echo "* WARNING: The guessed CXXFLAGS don't seem to work with  *"
12493 >        echo "* your compiler.                                         *"
12494 >        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
12495 >        echo "**********************************************************"
12496 >        echo ""
12497 >        CXXFLAGS=""
12498 >
12499 > fi
12500 >
12501 >
12502 > fi
12503 >
12504 >     ;;
12505 > esac
12506 >
12507 >
12508 > acx_cgal_found=no
12509 >
12510 > # Check whether --with-cgalmakefile was given.
12511 > if test "${with_cgalmakefile+set}" = set; then
12512 >  withval=$with_cgalmakefile;
12513 > fi
12514 >
12515 > case $with_cgalmakefile in
12516 >        yes | "") ;;
12517 >        no) acx_cgal_found=disable ;;
12518 >        -* | */* | *.a | *.so | *.so.* | *.o) CGAL_MAKEFILE="$with_cgalmakefile" ;;
12519 >        *) CGAL_MAKEFILE="$with_cgalmakefile" ;;
12520 > esac
12521 >
12522 > if test "$acx_cgal_found" == no; then
12523 >    { $as_echo "$as_me:$LINENO: checking CGAL_MAKEFILE" >&5
12524 > $as_echo_n "checking CGAL_MAKEFILE... " >&6; }
12525 >
12526 >    if test \! -z "$CGAL_MAKEFILE"; then
12527 >
12528 >        if test -e "$CGAL_MAKEFILE"; then
12529 >            tname=`mktemp /tmp/cgal_makefile_dsrXXXXXX`
12530 >
12531 > cat > $tname << _ACEOF
12532 > include $CGAL_MAKEFILE
12533 >
12534 > cppflags:
12535 >        @echo \$(CGAL_CXXFLAGS)
12536 >
12537 > cxxflags:
12538 >        @echo
12539 > ldflags:
12540 >        @echo \$(CGAL_LDFLAGS)
12541 > _ACEOF
12542 >            CGAL_CPPFLAGS="`make -s -f $tname cppflags`"
12543 >            CGAL_CXXFLAGS="`make -s -f $tname cxxflags`"
12544 >            CGAL_LDFLAGST="`make -s -f $tname ldflags`"
12545 >            for i in $CGAL_LDFLAGST; do
12546 >                if test `echo $i| grep -c ^-l`; then
12547 >                    CGAL_LIBS="$CGAL_LIBS $i"
12548 >                else
12549 >                    CGAL_LDFLAGS="$CGAL_LDFLAGS $i"
12550 >                fi
12551 >            done
12552 >            rm -f $tname
12553 >            { $as_echo "$as_me:$LINENO: result: yes" >&5
12554 > $as_echo "yes" >&6; }
12555 >            acx_cgal_found=yes
12556 >                                   else
12557 >            { $as_echo "$as_me:$LINENO: result: invalid" >&5
12558 > $as_echo "invalid" >&6; }
12559 >            { { $as_echo "$as_me:$LINENO: error: CGAL_MAKEFILE defined, but the makefile does not exist." >&5
12560 > $as_echo "$as_me: error: CGAL_MAKEFILE defined, but the makefile does not exist." >&2;}
12561 >   { (exit 1); exit 1; }; }
12562 >        fi
12563 >    else
12564 >        { $as_echo "$as_me:$LINENO: result: not defined" >&5
12565 > $as_echo "not defined" >&6; }
12566 >    fi
12567 > fi
12568 >
12569 > if test "$acx_cgal_found" == no; then
12570 >        if test "${ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h+set}" = set; then
12571 >  { $as_echo "$as_me:$LINENO: checking for CGAL/Exact_predicates_inexact_constructions_kernel.h" >&5
12572 > $as_echo_n "checking for CGAL/Exact_predicates_inexact_constructions_kernel.h... " >&6; }
12573 > if test "${ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h+set}" = set; then
12574 >  $as_echo_n "(cached) " >&6
12575 > fi
12576 > { $as_echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&5
12577 > $as_echo "$ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&6; }
12578 > else
12579 >  # Is the header compilable?
12580 > { $as_echo "$as_me:$LINENO: checking CGAL/Exact_predicates_inexact_constructions_kernel.h usability" >&5
12581 > $as_echo_n "checking CGAL/Exact_predicates_inexact_constructions_kernel.h usability... " >&6; }
12582 > cat >conftest.$ac_ext <<_ACEOF
12583   /* confdefs.h.  */
12584   _ACEOF
12585   cat confdefs.h >>conftest.$ac_ext
12586   cat >>conftest.$ac_ext <<_ACEOF
12587   /* end confdefs.h.  */
12588 < #ifdef __STDC__
12589 < # include <limits.h>
10071 < #else
10072 < # include <assert.h>
10073 < #endif
10074 <                     Syntax error
12588 > $ac_includes_default
12589 > #include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
12590   _ACEOF
12591 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12592 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12591 > rm -f conftest.$ac_objext
12592 > if { (ac_try="$ac_compile"
12593 > case "(($ac_try" in
12594 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12595 >  *) ac_try_echo=$ac_try;;
12596 > esac
12597 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12598 > $as_echo "$ac_try_echo") >&5
12599 >  (eval "$ac_compile") 2>conftest.er1
12600    ac_status=$?
12601    grep -v '^ *+' conftest.er1 >conftest.err
12602    rm -f conftest.er1
12603    cat conftest.err >&5
12604 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12605 <  (exit $ac_status); } >/dev/null; then
12606 <  if test -s conftest.err; then
12607 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
12608 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12609 <  else
10088 <    ac_cpp_err=
10089 <  fi
12604 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12605 >  (exit $ac_status); } && {
12606 >         test -z "$ac_c_werror_flag" ||
12607 >         test ! -s conftest.err
12608 >       } && test -s conftest.$ac_objext; then
12609 >  ac_header_compiler=yes
12610   else
12611 <  ac_cpp_err=yes
10092 < fi
10093 < if test -z "$ac_cpp_err"; then
10094 <  :
10095 < else
10096 <  echo "$as_me: failed program was:" >&5
12611 >  $as_echo "$as_me: failed program was:" >&5
12612   sed 's/^/| /' conftest.$ac_ext >&5
12613  
12614 <  # Broken: fails on valid input.
10100 < continue
12614 >        ac_header_compiler=no
12615   fi
10102 rm -f conftest.err conftest.$ac_ext
12616  
12617 <  # OK, works on sane cases.  Now check whether non-existent headers
12618 <  # can be detected and how.
12619 <  cat >conftest.$ac_ext <<_ACEOF
12617 > rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12618 > { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12619 > $as_echo "$ac_header_compiler" >&6; }
12620 >
12621 > # Is the header present?
12622 > { $as_echo "$as_me:$LINENO: checking CGAL/Exact_predicates_inexact_constructions_kernel.h presence" >&5
12623 > $as_echo_n "checking CGAL/Exact_predicates_inexact_constructions_kernel.h presence... " >&6; }
12624 > cat >conftest.$ac_ext <<_ACEOF
12625   /* confdefs.h.  */
12626   _ACEOF
12627   cat confdefs.h >>conftest.$ac_ext
12628   cat >>conftest.$ac_ext <<_ACEOF
12629   /* end confdefs.h.  */
12630 < #include <ac_nonexistent.h>
12630 > #include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
12631   _ACEOF
12632 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12633 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12632 > if { (ac_try="$ac_cpp conftest.$ac_ext"
12633 > case "(($ac_try" in
12634 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12635 >  *) ac_try_echo=$ac_try;;
12636 > esac
12637 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12638 > $as_echo "$ac_try_echo") >&5
12639 >  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12640    ac_status=$?
12641    grep -v '^ *+' conftest.er1 >conftest.err
12642    rm -f conftest.er1
12643    cat conftest.err >&5
12644 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 <  (exit $ac_status); } >/dev/null; then
12646 <  if test -s conftest.err; then
12647 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
12648 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12649 <  else
10126 <    ac_cpp_err=
10127 <  fi
12644 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 >  (exit $ac_status); } >/dev/null && {
12646 >         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12647 >         test ! -s conftest.err
12648 >       }; then
12649 >  ac_header_preproc=yes
12650   else
12651 <  ac_cpp_err=yes
10130 < fi
10131 < if test -z "$ac_cpp_err"; then
10132 <  # Broken: success on invalid input.
10133 < continue
10134 < else
10135 <  echo "$as_me: failed program was:" >&5
12651 >  $as_echo "$as_me: failed program was:" >&5
12652   sed 's/^/| /' conftest.$ac_ext >&5
12653  
12654 <  # Passes both tests.
10139 < ac_preproc_ok=:
10140 < break
12654 >  ac_header_preproc=no
12655   fi
10142 rm -f conftest.err conftest.$ac_ext
12656  
10144 done
10145 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12657   rm -f conftest.err conftest.$ac_ext
12658 < if $ac_preproc_ok; then
12659 <  break
12658 > { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12659 > $as_echo "$ac_header_preproc" >&6; }
12660 >
12661 > # So?  What about this header?
12662 > case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12663 >  yes:no: )
12664 >    { $as_echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: accepted by the compiler, rejected by the preprocessor!" >&5
12665 > $as_echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12666 >    { $as_echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the compiler's result" >&5
12667 > $as_echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the compiler's result" >&2;}
12668 >    ac_header_preproc=yes
12669 >    ;;
12670 >  no:yes:* )
12671 >    { $as_echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: present but cannot be compiled" >&5
12672 > $as_echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: present but cannot be compiled" >&2;}
12673 >    { $as_echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h:     check for missing prerequisite headers?" >&5
12674 > $as_echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h:     check for missing prerequisite headers?" >&2;}
12675 >    { $as_echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: see the Autoconf documentation" >&5
12676 > $as_echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: see the Autoconf documentation" >&2;}
12677 >    { $as_echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h:     section \"Present But Cannot Be Compiled\"" >&5
12678 > $as_echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h:     section \"Present But Cannot Be Compiled\"" >&2;}
12679 >    { $as_echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the preprocessor's result" >&5
12680 > $as_echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: proceeding with the preprocessor's result" >&2;}
12681 >    { $as_echo "$as_me:$LINENO: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: in the future, the compiler will take precedence" >&5
12682 > $as_echo "$as_me: WARNING: CGAL/Exact_predicates_inexact_constructions_kernel.h: in the future, the compiler will take precedence" >&2;}
12683 >    ( cat <<\_ASBOX
12684 > ## ------------------------------ ##
12685 > ## Report this to gezelter@nd.edu ##
12686 > ## ------------------------------ ##
12687 > _ASBOX
12688 >     ) | sed "s/^/$as_me: WARNING:     /" >&2
12689 >    ;;
12690 > esac
12691 > { $as_echo "$as_me:$LINENO: checking for CGAL/Exact_predicates_inexact_constructions_kernel.h" >&5
12692 > $as_echo_n "checking for CGAL/Exact_predicates_inexact_constructions_kernel.h... " >&6; }
12693 > if test "${ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h+set}" = set; then
12694 >  $as_echo_n "(cached) " >&6
12695 > else
12696 >  ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h=$ac_header_preproc
12697   fi
12698 + { $as_echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&5
12699 + $as_echo "$ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h" >&6; }
12700  
10151    done
10152    ac_cv_prog_CXXCPP=$CXXCPP
10153
12701   fi
12702 <  CXXCPP=$ac_cv_prog_CXXCPP
12702 > if test $ac_cv_header_CGAL_Exact_predicates_inexact_constructions_kernel_h = yes; then
12703 >  cgal_have_header=yes
12704   else
12705 <  ac_cv_prog_CXXCPP=$CXXCPP
12705 >  cgal_have_header=no
12706   fi
12707 < echo "$as_me:$LINENO: result: $CXXCPP" >&5
12708 < echo "${ECHO_T}$CXXCPP" >&6
12709 < ac_preproc_ok=false
12710 < for ac_cxx_preproc_warn_flag in '' yes
12711 < do
12712 <  # Use a header file that comes with gcc, so configuring glibc
12713 <  # with a fresh cross-compiler works.
12714 <  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12715 <  # <limits.h> exists even on freestanding compilers.
12716 <  # On the NeXT, cc -E runs the code through the compiler's parser,
12717 <  # not just through cpp. "Syntax error" is here to catch this case.
10170 <  cat >conftest.$ac_ext <<_ACEOF
12707 >
12708 >
12709 >        if test "$cgal_have_header" == yes; then
12710 >                { $as_echo "$as_me:$LINENO: checking for main in -lCGAL" >&5
12711 > $as_echo_n "checking for main in -lCGAL... " >&6; }
12712 > if test "${ac_cv_lib_CGAL_main+set}" = set; then
12713 >  $as_echo_n "(cached) " >&6
12714 > else
12715 >  ac_check_lib_save_LIBS=$LIBS
12716 > LIBS="-lCGAL  $LIBS"
12717 > cat >conftest.$ac_ext <<_ACEOF
12718   /* confdefs.h.  */
12719   _ACEOF
12720   cat confdefs.h >>conftest.$ac_ext
12721   cat >>conftest.$ac_ext <<_ACEOF
12722   /* end confdefs.h.  */
12723 < #ifdef __STDC__
12724 < # include <limits.h>
12725 < #else
12726 < # include <assert.h>
12723 >
12724 >
12725 > #ifdef FC_DUMMY_MAIN
12726 > #ifndef FC_DUMMY_MAIN_EQ_F77
12727 > #  ifdef __cplusplus
12728 >     extern "C"
12729 > #  endif
12730 >   int FC_DUMMY_MAIN() { return 1; }
12731   #endif
12732 <                     Syntax error
12732 > #endif
12733 > int
12734 > main ()
12735 > {
12736 > return main ();
12737 >  ;
12738 >  return 0;
12739 > }
12740   _ACEOF
12741 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12742 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12741 > rm -f conftest.$ac_objext conftest$ac_exeext
12742 > if { (ac_try="$ac_link"
12743 > case "(($ac_try" in
12744 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12745 >  *) ac_try_echo=$ac_try;;
12746 > esac
12747 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12748 > $as_echo "$ac_try_echo") >&5
12749 >  (eval "$ac_link") 2>conftest.er1
12750    ac_status=$?
12751    grep -v '^ *+' conftest.er1 >conftest.err
12752    rm -f conftest.er1
12753    cat conftest.err >&5
12754 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12755 <  (exit $ac_status); } >/dev/null; then
12756 <  if test -s conftest.err; then
12757 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
12758 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12759 <  else
12760 <    ac_cpp_err=
12761 <  fi
12754 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12755 >  (exit $ac_status); } && {
12756 >         test -z "$ac_c_werror_flag" ||
12757 >         test ! -s conftest.err
12758 >       } && test -s conftest$ac_exeext && {
12759 >         test "$cross_compiling" = yes ||
12760 >         $as_test_x conftest$ac_exeext
12761 >       }; then
12762 >  ac_cv_lib_CGAL_main=yes
12763   else
12764 <  ac_cpp_err=yes
10199 < fi
10200 < if test -z "$ac_cpp_err"; then
10201 <  :
10202 < else
10203 <  echo "$as_me: failed program was:" >&5
12764 >  $as_echo "$as_me: failed program was:" >&5
12765   sed 's/^/| /' conftest.$ac_ext >&5
12766  
12767 <  # Broken: fails on valid input.
10207 < continue
12767 >        ac_cv_lib_CGAL_main=no
12768   fi
10209 rm -f conftest.err conftest.$ac_ext
12769  
12770 <  # OK, works on sane cases.  Now check whether non-existent headers
12771 <  # can be detected and how.
12772 <  cat >conftest.$ac_ext <<_ACEOF
12770 > rm -rf conftest.dSYM
12771 > rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12772 >      conftest$ac_exeext conftest.$ac_ext
12773 > LIBS=$ac_check_lib_save_LIBS
12774 > fi
12775 > { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_CGAL_main" >&5
12776 > $as_echo "$ac_cv_lib_CGAL_main" >&6; }
12777 > if test $ac_cv_lib_CGAL_main = yes; then
12778 >  cgal_have_lib=yes
12779 > else
12780 >  cgal_have_lib=no
12781 > fi
12782 >
12783 >                if test "$cgal_have_lib" == no; then
12784 >                        save_LIBS="$LIBS"; LIBS="$LIBS -lgmp -lmpfr -lm"
12785 >                        { $as_echo "$as_me:$LINENO: checking for main in -lCGAL" >&5
12786 > $as_echo_n "checking for main in -lCGAL... " >&6; }
12787 > if test "${ac_cv_lib_CGAL_main+set}" = set; then
12788 >  $as_echo_n "(cached) " >&6
12789 > else
12790 >  ac_check_lib_save_LIBS=$LIBS
12791 > LIBS="-lCGAL  $LIBS"
12792 > cat >conftest.$ac_ext <<_ACEOF
12793   /* confdefs.h.  */
12794   _ACEOF
12795   cat confdefs.h >>conftest.$ac_ext
12796   cat >>conftest.$ac_ext <<_ACEOF
12797   /* end confdefs.h.  */
12798 < #include <ac_nonexistent.h>
12798 >
12799 >
12800 > #ifdef FC_DUMMY_MAIN
12801 > #ifndef FC_DUMMY_MAIN_EQ_F77
12802 > #  ifdef __cplusplus
12803 >     extern "C"
12804 > #  endif
12805 >   int FC_DUMMY_MAIN() { return 1; }
12806 > #endif
12807 > #endif
12808 > int
12809 > main ()
12810 > {
12811 > return main ();
12812 >  ;
12813 >  return 0;
12814 > }
12815   _ACEOF
12816 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12817 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12816 > rm -f conftest.$ac_objext conftest$ac_exeext
12817 > if { (ac_try="$ac_link"
12818 > case "(($ac_try" in
12819 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12820 >  *) ac_try_echo=$ac_try;;
12821 > esac
12822 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12823 > $as_echo "$ac_try_echo") >&5
12824 >  (eval "$ac_link") 2>conftest.er1
12825    ac_status=$?
12826    grep -v '^ *+' conftest.er1 >conftest.err
12827    rm -f conftest.er1
12828    cat conftest.err >&5
12829 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12830 <  (exit $ac_status); } >/dev/null; then
12831 <  if test -s conftest.err; then
12832 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
12833 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
12834 <  else
12835 <    ac_cpp_err=
12836 <  fi
12829 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12830 >  (exit $ac_status); } && {
12831 >         test -z "$ac_c_werror_flag" ||
12832 >         test ! -s conftest.err
12833 >       } && test -s conftest$ac_exeext && {
12834 >         test "$cross_compiling" = yes ||
12835 >         $as_test_x conftest$ac_exeext
12836 >       }; then
12837 >  ac_cv_lib_CGAL_main=yes
12838   else
12839 <  ac_cpp_err=yes
10237 < fi
10238 < if test -z "$ac_cpp_err"; then
10239 <  # Broken: success on invalid input.
10240 < continue
10241 < else
10242 <  echo "$as_me: failed program was:" >&5
12839 >  $as_echo "$as_me: failed program was:" >&5
12840   sed 's/^/| /' conftest.$ac_ext >&5
12841  
12842 <  # Passes both tests.
10246 < ac_preproc_ok=:
10247 < break
12842 >        ac_cv_lib_CGAL_main=no
12843   fi
10249 rm -f conftest.err conftest.$ac_ext
12844  
12845 < done
12846 < # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12847 < rm -f conftest.err conftest.$ac_ext
12848 < if $ac_preproc_ok; then
12849 <  :
12845 > rm -rf conftest.dSYM
12846 > rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12847 >      conftest$ac_exeext conftest.$ac_ext
12848 > LIBS=$ac_check_lib_save_LIBS
12849 > fi
12850 > { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_CGAL_main" >&5
12851 > $as_echo "$ac_cv_lib_CGAL_main" >&6; }
12852 > if test $ac_cv_lib_CGAL_main = yes; then
12853 >  CGAL_LIBS="-lCGAL -lgmp -lmpfr"
12854 >                                                  cgal_have_lib=yes
12855   else
12856 <  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
10258 < See \`config.log' for more details." >&5
10259 < echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
10260 < See \`config.log' for more details." >&2;}
10261 <   { (exit 1); exit 1; }; }
12856 >  cgal_have_lib=no
12857   fi
12858  
12859 < ac_ext=cc
12860 < ac_cpp='$CXXCPP $CPPFLAGS'
12861 < ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12862 < ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12863 < ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12864 <
12865 <
10271 < echo "$as_me:$LINENO: checking whether the compiler supports Standard Template Library" >&5
10272 < echo $ECHO_N "checking whether the compiler supports Standard Template Library... $ECHO_C" >&6
10273 < if test "${ac_cv_cxx_have_stl+set}" = set; then
10274 <  echo $ECHO_N "(cached) $ECHO_C" >&6
12859 >                        LIBS="$save_LIBS"
12860 >                else
12861 >                        CGAL_LIBS="-lCGAL"
12862 >                        { $as_echo "$as_me:$LINENO: checking for main in -lmpfr" >&5
12863 > $as_echo_n "checking for main in -lmpfr... " >&6; }
12864 > if test "${ac_cv_lib_mpfr_main+set}" = set; then
12865 >  $as_echo_n "(cached) " >&6
12866   else
12867 <
12868 <
12869 <
10279 < ac_ext=cc
10280 < ac_cpp='$CXXCPP $CPPFLAGS'
10281 < ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10282 < ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10283 < ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10284 <
10285 < cat >conftest.$ac_ext <<_ACEOF
12867 >  ac_check_lib_save_LIBS=$LIBS
12868 > LIBS="-lmpfr  $LIBS"
12869 > cat >conftest.$ac_ext <<_ACEOF
12870   /* confdefs.h.  */
12871   _ACEOF
12872   cat confdefs.h >>conftest.$ac_ext
12873   cat >>conftest.$ac_ext <<_ACEOF
12874   /* end confdefs.h.  */
12875 < #include <list>
12876 < #include <deque>
10293 < #ifdef HAVE_NAMESPACES
10294 < using namespace std;
10295 < #endif
12875 >
12876 >
12877   #ifdef FC_DUMMY_MAIN
12878   #ifndef FC_DUMMY_MAIN_EQ_F77
12879   #  ifdef __cplusplus
# Line 10304 | Line 12885 | main ()
12885   int
12886   main ()
12887   {
12888 < list<int> x; x.push_back(5);
10308 < list<int>::iterator iter = x.begin(); if (iter != x.end()) ++iter; return 0;
12888 > return main ();
12889    ;
12890    return 0;
12891   }
12892   _ACEOF
12893 < rm -f conftest.$ac_objext
12894 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12895 <  (eval $ac_compile) 2>conftest.er1
12893 > rm -f conftest.$ac_objext conftest$ac_exeext
12894 > if { (ac_try="$ac_link"
12895 > case "(($ac_try" in
12896 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12897 >  *) ac_try_echo=$ac_try;;
12898 > esac
12899 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12900 > $as_echo "$ac_try_echo") >&5
12901 >  (eval "$ac_link") 2>conftest.er1
12902    ac_status=$?
12903    grep -v '^ *+' conftest.er1 >conftest.err
12904    rm -f conftest.er1
12905    cat conftest.err >&5
12906 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 <  (exit $ac_status); } &&
12908 <         { ac_try='test -z "$ac_cxx_werror_flag"
12909 <                         || test ! -s conftest.err'
12910 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12911 <  (eval $ac_try) 2>&5
12912 <  ac_status=$?
12913 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 <  (exit $ac_status); }; } &&
10329 <         { ac_try='test -s conftest.$ac_objext'
10330 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10331 <  (eval $ac_try) 2>&5
10332 <  ac_status=$?
10333 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10334 <  (exit $ac_status); }; }; then
10335 <  ac_cv_cxx_have_stl=yes
12906 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 >  (exit $ac_status); } && {
12908 >         test -z "$ac_c_werror_flag" ||
12909 >         test ! -s conftest.err
12910 >       } && test -s conftest$ac_exeext && {
12911 >         test "$cross_compiling" = yes ||
12912 >         $as_test_x conftest$ac_exeext
12913 >       }; then
12914 >  ac_cv_lib_mpfr_main=yes
12915   else
12916 <  echo "$as_me: failed program was:" >&5
12916 >  $as_echo "$as_me: failed program was:" >&5
12917   sed 's/^/| /' conftest.$ac_ext >&5
12918  
12919 < ac_cv_cxx_have_stl=no
12919 >        ac_cv_lib_mpfr_main=no
12920   fi
10342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10343 ac_ext=cc
10344 ac_cpp='$CXXCPP $CPPFLAGS'
10345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12921  
12922 <
12922 > rm -rf conftest.dSYM
12923 > rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12924 >      conftest$ac_exeext conftest.$ac_ext
12925 > LIBS=$ac_check_lib_save_LIBS
12926   fi
12927 < echo "$as_me:$LINENO: result: $ac_cv_cxx_have_stl" >&5
12928 < echo "${ECHO_T}$ac_cv_cxx_have_stl" >&6
12929 < if test "$ac_cv_cxx_have_stl" = yes; then
12930 <
10355 < cat >>confdefs.h <<\_ACEOF
10356 < #define HAVE_STL
10357 < _ACEOF
10358 <
12927 > { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mpfr_main" >&5
12928 > $as_echo "$ac_cv_lib_mpfr_main" >&6; }
12929 > if test $ac_cv_lib_mpfr_main = yes; then
12930 >  CGAL_LIBS="$CGAL_LIBS -lmpfr"
12931   fi
12932  
12933 <
12934 <
12935 <  if test "${ac_cv_header_iostream+set}" = set; then
12936 <  echo "$as_me:$LINENO: checking for iostream" >&5
10365 < echo $ECHO_N "checking for iostream... $ECHO_C" >&6
10366 < if test "${ac_cv_header_iostream+set}" = set; then
10367 <  echo $ECHO_N "(cached) $ECHO_C" >&6
10368 < fi
10369 < echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
10370 < echo "${ECHO_T}$ac_cv_header_iostream" >&6
12933 >                        { $as_echo "$as_me:$LINENO: checking for main in -lgmp" >&5
12934 > $as_echo_n "checking for main in -lgmp... " >&6; }
12935 > if test "${ac_cv_lib_gmp_main+set}" = set; then
12936 >  $as_echo_n "(cached) " >&6
12937   else
12938 <  # Is the header compilable?
12939 < echo "$as_me:$LINENO: checking iostream usability" >&5
10374 < echo $ECHO_N "checking iostream usability... $ECHO_C" >&6
12938 >  ac_check_lib_save_LIBS=$LIBS
12939 > LIBS="-lgmp  $LIBS"
12940   cat >conftest.$ac_ext <<_ACEOF
12941   /* confdefs.h.  */
12942   _ACEOF
12943   cat confdefs.h >>conftest.$ac_ext
12944   cat >>conftest.$ac_ext <<_ACEOF
12945   /* end confdefs.h.  */
12946 < $ac_includes_default
12947 < #include <iostream>
12946 >
12947 >
12948 > #ifdef FC_DUMMY_MAIN
12949 > #ifndef FC_DUMMY_MAIN_EQ_F77
12950 > #  ifdef __cplusplus
12951 >     extern "C"
12952 > #  endif
12953 >   int FC_DUMMY_MAIN() { return 1; }
12954 > #endif
12955 > #endif
12956 > int
12957 > main ()
12958 > {
12959 > return main ();
12960 >  ;
12961 >  return 0;
12962 > }
12963   _ACEOF
12964 < rm -f conftest.$ac_objext
12965 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12966 <  (eval $ac_compile) 2>conftest.er1
12964 > rm -f conftest.$ac_objext conftest$ac_exeext
12965 > if { (ac_try="$ac_link"
12966 > case "(($ac_try" in
12967 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12968 >  *) ac_try_echo=$ac_try;;
12969 > esac
12970 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12971 > $as_echo "$ac_try_echo") >&5
12972 >  (eval "$ac_link") 2>conftest.er1
12973    ac_status=$?
12974    grep -v '^ *+' conftest.er1 >conftest.err
12975    rm -f conftest.er1
12976    cat conftest.err >&5
12977 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12978 <  (exit $ac_status); } &&
12979 <         { ac_try='test -z "$ac_cxx_werror_flag"
12980 <                         || test ! -s conftest.err'
12981 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12982 <  (eval $ac_try) 2>&5
12983 <  ac_status=$?
12984 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12985 <  (exit $ac_status); }; } &&
10400 <         { ac_try='test -s conftest.$ac_objext'
10401 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10402 <  (eval $ac_try) 2>&5
10403 <  ac_status=$?
10404 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10405 <  (exit $ac_status); }; }; then
10406 <  ac_header_compiler=yes
12977 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12978 >  (exit $ac_status); } && {
12979 >         test -z "$ac_c_werror_flag" ||
12980 >         test ! -s conftest.err
12981 >       } && test -s conftest$ac_exeext && {
12982 >         test "$cross_compiling" = yes ||
12983 >         $as_test_x conftest$ac_exeext
12984 >       }; then
12985 >  ac_cv_lib_gmp_main=yes
12986   else
12987 <  echo "$as_me: failed program was:" >&5
12987 >  $as_echo "$as_me: failed program was:" >&5
12988   sed 's/^/| /' conftest.$ac_ext >&5
12989  
12990 < ac_header_compiler=no
12990 >        ac_cv_lib_gmp_main=no
12991   fi
10413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10414 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10415 echo "${ECHO_T}$ac_header_compiler" >&6
12992  
12993 < # Is the header present?
12994 < echo "$as_me:$LINENO: checking iostream presence" >&5
12995 < echo $ECHO_N "checking iostream presence... $ECHO_C" >&6
12993 > rm -rf conftest.dSYM
12994 > rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12995 >      conftest$ac_exeext conftest.$ac_ext
12996 > LIBS=$ac_check_lib_save_LIBS
12997 > fi
12998 > { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5
12999 > $as_echo "$ac_cv_lib_gmp_main" >&6; }
13000 > if test $ac_cv_lib_gmp_main = yes; then
13001 >  CGAL_LIBS="$CGAL_LIBS -lgmp"
13002 > fi
13003 >
13004 >                        { $as_echo "$as_me:$LINENO: checking for main in -lgmpxx" >&5
13005 > $as_echo_n "checking for main in -lgmpxx... " >&6; }
13006 > if test "${ac_cv_lib_gmpxx_main+set}" = set; then
13007 >  $as_echo_n "(cached) " >&6
13008 > else
13009 >  ac_check_lib_save_LIBS=$LIBS
13010 > LIBS="-lgmpxx  $LIBS"
13011   cat >conftest.$ac_ext <<_ACEOF
13012   /* confdefs.h.  */
13013   _ACEOF
13014   cat confdefs.h >>conftest.$ac_ext
13015   cat >>conftest.$ac_ext <<_ACEOF
13016   /* end confdefs.h.  */
13017 < #include <iostream>
13017 >
13018 >
13019 > #ifdef FC_DUMMY_MAIN
13020 > #ifndef FC_DUMMY_MAIN_EQ_F77
13021 > #  ifdef __cplusplus
13022 >     extern "C"
13023 > #  endif
13024 >   int FC_DUMMY_MAIN() { return 1; }
13025 > #endif
13026 > #endif
13027 > int
13028 > main ()
13029 > {
13030 > return main ();
13031 >  ;
13032 >  return 0;
13033 > }
13034   _ACEOF
13035 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13036 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13035 > rm -f conftest.$ac_objext conftest$ac_exeext
13036 > if { (ac_try="$ac_link"
13037 > case "(($ac_try" in
13038 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13039 >  *) ac_try_echo=$ac_try;;
13040 > esac
13041 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13042 > $as_echo "$ac_try_echo") >&5
13043 >  (eval "$ac_link") 2>conftest.er1
13044    ac_status=$?
13045    grep -v '^ *+' conftest.er1 >conftest.err
13046    rm -f conftest.er1
13047    cat conftest.err >&5
13048 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13049 <  (exit $ac_status); } >/dev/null; then
13050 <  if test -s conftest.err; then
13051 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
13052 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13053 <  else
13054 <    ac_cpp_err=
13055 <  fi
13048 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13049 >  (exit $ac_status); } && {
13050 >         test -z "$ac_c_werror_flag" ||
13051 >         test ! -s conftest.err
13052 >       } && test -s conftest$ac_exeext && {
13053 >         test "$cross_compiling" = yes ||
13054 >         $as_test_x conftest$ac_exeext
13055 >       }; then
13056 >  ac_cv_lib_gmpxx_main=yes
13057   else
13058 <  ac_cpp_err=yes
10444 < fi
10445 < if test -z "$ac_cpp_err"; then
10446 <  ac_header_preproc=yes
10447 < else
10448 <  echo "$as_me: failed program was:" >&5
13058 >  $as_echo "$as_me: failed program was:" >&5
13059   sed 's/^/| /' conftest.$ac_ext >&5
13060  
13061 <  ac_header_preproc=no
13061 >        ac_cv_lib_gmpxx_main=no
13062   fi
10453 rm -f conftest.err conftest.$ac_ext
10454 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10455 echo "${ECHO_T}$ac_header_preproc" >&6
13063  
13064 < # So?  What about this header?
13065 < case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
13066 <  yes:no: )
13067 <    { echo "$as_me:$LINENO: WARNING: iostream: accepted by the compiler, rejected by the preprocessor!" >&5
10461 < echo "$as_me: WARNING: iostream: accepted by the compiler, rejected by the preprocessor!" >&2;}
10462 <    { echo "$as_me:$LINENO: WARNING: iostream: proceeding with the compiler's result" >&5
10463 < echo "$as_me: WARNING: iostream: proceeding with the compiler's result" >&2;}
10464 <    ac_header_preproc=yes
10465 <    ;;
10466 <  no:yes:* )
10467 <    { echo "$as_me:$LINENO: WARNING: iostream: present but cannot be compiled" >&5
10468 < echo "$as_me: WARNING: iostream: present but cannot be compiled" >&2;}
10469 <    { echo "$as_me:$LINENO: WARNING: iostream:     check for missing prerequisite headers?" >&5
10470 < echo "$as_me: WARNING: iostream:     check for missing prerequisite headers?" >&2;}
10471 <    { echo "$as_me:$LINENO: WARNING: iostream: see the Autoconf documentation" >&5
10472 < echo "$as_me: WARNING: iostream: see the Autoconf documentation" >&2;}
10473 <    { echo "$as_me:$LINENO: WARNING: iostream:     section \"Present But Cannot Be Compiled\"" >&5
10474 < echo "$as_me: WARNING: iostream:     section \"Present But Cannot Be Compiled\"" >&2;}
10475 <    { echo "$as_me:$LINENO: WARNING: iostream: proceeding with the preprocessor's result" >&5
10476 < echo "$as_me: WARNING: iostream: proceeding with the preprocessor's result" >&2;}
10477 <    { echo "$as_me:$LINENO: WARNING: iostream: in the future, the compiler will take precedence" >&5
10478 < echo "$as_me: WARNING: iostream: in the future, the compiler will take precedence" >&2;}
10479 <    (
10480 <      cat <<\_ASBOX
10481 < ## ------------------------------ ##
10482 < ## Report this to gezelter@nd.edu ##
10483 < ## ------------------------------ ##
10484 < _ASBOX
10485 <    ) |
10486 <      sed "s/^/$as_me: WARNING:     /" >&2
10487 <    ;;
10488 < esac
10489 < echo "$as_me:$LINENO: checking for iostream" >&5
10490 < echo $ECHO_N "checking for iostream... $ECHO_C" >&6
10491 < if test "${ac_cv_header_iostream+set}" = set; then
10492 <  echo $ECHO_N "(cached) $ECHO_C" >&6
10493 < else
10494 <  ac_cv_header_iostream=$ac_header_preproc
13064 > rm -rf conftest.dSYM
13065 > rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13066 >      conftest$ac_exeext conftest.$ac_ext
13067 > LIBS=$ac_check_lib_save_LIBS
13068   fi
13069 < echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
13070 < echo "${ECHO_T}$ac_cv_header_iostream" >&6
13071 <
13069 > { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gmpxx_main" >&5
13070 > $as_echo "$ac_cv_lib_gmpxx_main" >&6; }
13071 > if test $ac_cv_lib_gmpxx_main = yes; then
13072 >  CGAL_LIBS="$CGAL_LIBS -lgmpxx"
13073   fi
10500 if test $ac_cv_header_iostream = yes; then
13074  
13075 +                fi
13076  
13077 < cat >>confdefs.h <<\_ACEOF
13078 < #define HAVE_IOSTREAM 1
13079 < _ACEOF
13080 <
13081 <
13077 >                if test "$cgal_have_lib" == yes; then
13078 >                        acx_cgal_found=yes
13079 >                fi
13080 >        fi
13081 >        if test "$acx_cgal_found" == yes; then
13082 >                { $as_echo "$as_me:$LINENO: checking for main in -lCore" >&5
13083 > $as_echo_n "checking for main in -lCore... " >&6; }
13084 > if test "${ac_cv_lib_Core_main+set}" = set; then
13085 >  $as_echo_n "(cached) " >&6
13086   else
13087 <
13088 <
10511 < for ac_header in iostream.h
10512 < do
10513 < as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10514 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
10515 <  echo "$as_me:$LINENO: checking for $ac_header" >&5
10516 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10517 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
10518 <  echo $ECHO_N "(cached) $ECHO_C" >&6
10519 < fi
10520 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10521 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10522 < else
10523 <  # Is the header compilable?
10524 < echo "$as_me:$LINENO: checking $ac_header usability" >&5
10525 < echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13087 >  ac_check_lib_save_LIBS=$LIBS
13088 > LIBS="-lCore  $LIBS"
13089   cat >conftest.$ac_ext <<_ACEOF
13090   /* confdefs.h.  */
13091   _ACEOF
13092   cat confdefs.h >>conftest.$ac_ext
13093   cat >>conftest.$ac_ext <<_ACEOF
13094   /* end confdefs.h.  */
10532 $ac_includes_default
10533 #include <$ac_header>
10534 _ACEOF
10535 rm -f conftest.$ac_objext
10536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10537  (eval $ac_compile) 2>conftest.er1
10538  ac_status=$?
10539  grep -v '^ *+' conftest.er1 >conftest.err
10540  rm -f conftest.er1
10541  cat conftest.err >&5
10542  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10543  (exit $ac_status); } &&
10544         { ac_try='test -z "$ac_cxx_werror_flag"
10545                         || test ! -s conftest.err'
10546  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10547  (eval $ac_try) 2>&5
10548  ac_status=$?
10549  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10550  (exit $ac_status); }; } &&
10551         { ac_try='test -s conftest.$ac_objext'
10552  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10553  (eval $ac_try) 2>&5
10554  ac_status=$?
10555  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10556  (exit $ac_status); }; }; then
10557  ac_header_compiler=yes
10558 else
10559  echo "$as_me: failed program was:" >&5
10560 sed 's/^/| /' conftest.$ac_ext >&5
13095  
10562 ac_header_compiler=no
10563 fi
10564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10565 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10566 echo "${ECHO_T}$ac_header_compiler" >&6
13096  
13097 < # Is the header present?
13098 < echo "$as_me:$LINENO: checking $ac_header presence" >&5
13099 < echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13100 < cat >conftest.$ac_ext <<_ACEOF
13101 < /* confdefs.h.  */
13097 > #ifdef FC_DUMMY_MAIN
13098 > #ifndef FC_DUMMY_MAIN_EQ_F77
13099 > #  ifdef __cplusplus
13100 >     extern "C"
13101 > #  endif
13102 >   int FC_DUMMY_MAIN() { return 1; }
13103 > #endif
13104 > #endif
13105 > int
13106 > main ()
13107 > {
13108 > return main ();
13109 >  ;
13110 >  return 0;
13111 > }
13112   _ACEOF
13113 < cat confdefs.h >>conftest.$ac_ext
13114 < cat >>conftest.$ac_ext <<_ACEOF
13115 < /* end confdefs.h.  */
13116 < #include <$ac_header>
13117 < _ACEOF
13118 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13119 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13113 > rm -f conftest.$ac_objext conftest$ac_exeext
13114 > if { (ac_try="$ac_link"
13115 > case "(($ac_try" in
13116 >  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13117 >  *) ac_try_echo=$ac_try;;
13118 > esac
13119 > eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13120 > $as_echo "$ac_try_echo") >&5
13121 >  (eval "$ac_link") 2>conftest.er1
13122    ac_status=$?
13123    grep -v '^ *+' conftest.er1 >conftest.err
13124    rm -f conftest.er1
13125    cat conftest.err >&5
13126 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13127 <  (exit $ac_status); } >/dev/null; then
13128 <  if test -s conftest.err; then
13129 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
13130 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13131 <  else
13132 <    ac_cpp_err=
13133 <  fi
13126 >  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13127 >  (exit $ac_status); } && {
13128 >         test -z "$ac_c_werror_flag" ||
13129 >         test ! -s conftest.err
13130 >       } && test -s conftest$ac_exeext && {
13131 >         test "$cross_compiling" = yes ||
13132 >         $as_test_x conftest$ac_exeext
13133 >       }; then
13134 >  ac_cv_lib_Core_main=yes
13135   else
13136 <  ac_cpp_err=yes
10595 < fi
10596 < if test -z "$ac_cpp_err"; then
10597 <  ac_header_preproc=yes
10598 < else
10599 <  echo "$as_me: failed program was:" >&5
13136 >  $as_echo "$as_me: failed program was:" >&5
13137   sed 's/^/| /' conftest.$ac_ext >&5
13138  
13139 <  ac_header_preproc=no
13139 >        ac_cv_lib_Core_main=no
13140   fi
10604 rm -f conftest.err conftest.$ac_ext
10605 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10606 echo "${ECHO_T}$ac_header_preproc" >&6
13141  
13142 < # So?  What about this header?
13143 < case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
13144 <  yes:no: )
13145 <    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10612 < echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10613 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10614 < echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10615 <    ac_header_preproc=yes
10616 <    ;;
10617 <  no:yes:* )
10618 <    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10619 < echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10620 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
10621 < echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
10622 <    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10623 < echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10624 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
10625 < echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
10626 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10627 < echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10628 <    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10629 < echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10630 <    (
10631 <      cat <<\_ASBOX
10632 < ## ------------------------------ ##
10633 < ## Report this to gezelter@nd.edu ##
10634 < ## ------------------------------ ##
10635 < _ASBOX
10636 <    ) |
10637 <      sed "s/^/$as_me: WARNING:     /" >&2
10638 <    ;;
10639 < esac
10640 < echo "$as_me:$LINENO: checking for $ac_header" >&5
10641 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10642 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
10643 <  echo $ECHO_N "(cached) $ECHO_C" >&6
10644 < else
10645 <  eval "$as_ac_Header=\$ac_header_preproc"
13142 > rm -rf conftest.dSYM
13143 > rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13144 >      conftest$ac_exeext conftest.$ac_ext
13145 > LIBS=$ac_check_lib_save_LIBS
13146   fi
13147 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13148 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13149 <
13147 > { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Core_main" >&5
13148 > $as_echo "$ac_cv_lib_Core_main" >&6; }
13149 > if test $ac_cv_lib_Core_main = yes; then
13150 >  CGAL_LIBS="$CGAL_LIBS -lCore"
13151   fi
10651 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10652  cat >>confdefs.h <<_ACEOF
10653 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10654 _ACEOF
13152  
13153 +        fi
13154   fi
13155  
10658 done
13156  
13157  
13158 < fi
13158 > { $as_echo "$as_me:$LINENO: checking CGAL" >&5
13159 > $as_echo_n "checking CGAL... " >&6; }
13160  
13161  
13162  
13163  
10666  if test "${ac_cv_header_iomanip+set}" = set; then
10667  echo "$as_me:$LINENO: checking for iomanip" >&5
10668 echo $ECHO_N "checking for iomanip... $ECHO_C" >&6
10669 if test "${ac_cv_header_iomanip+set}" = set; then
10670  echo $ECHO_N "(cached) $ECHO_C" >&6
10671 fi
10672 echo "$as_me:$LINENO: result: $ac_cv_header_iomanip" >&5
10673 echo "${ECHO_T}$ac_cv_header_iomanip" >&6
10674 else
10675  # Is the header compilable?
10676 echo "$as_me:$LINENO: checking iomanip usability" >&5
10677 echo $ECHO_N "checking iomanip usability... $ECHO_C" >&6
10678 cat >conftest.$ac_ext <<_ACEOF
10679 /* confdefs.h.  */
10680 _ACEOF
10681 cat confdefs.h >>conftest.$ac_ext
10682 cat >>conftest.$ac_ext <<_ACEOF
10683 /* end confdefs.h.  */
10684 $ac_includes_default
10685 #include <iomanip>
10686 _ACEOF
10687 rm -f conftest.$ac_objext
10688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10689  (eval $ac_compile) 2>conftest.er1
10690  ac_status=$?
10691  grep -v '^ *+' conftest.er1 >conftest.err
10692  rm -f conftest.er1
10693  cat conftest.err >&5
10694  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10695  (exit $ac_status); } &&
10696         { ac_try='test -z "$ac_cxx_werror_flag"
10697                         || test ! -s conftest.err'
10698  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10699  (eval $ac_try) 2>&5
10700  ac_status=$?
10701  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10702  (exit $ac_status); }; } &&
10703         { ac_try='test -s conftest.$ac_objext'
10704  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10705  (eval $ac_try) 2>&5
10706  ac_status=$?
10707  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10708  (exit $ac_status); }; }; then
10709  ac_header_compiler=yes
10710 else
10711  echo "$as_me: failed program was:" >&5
10712 sed 's/^/| /' conftest.$ac_ext >&5
13164  
13165 < ac_header_compiler=no
13166 < fi
13167 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10717 < echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10718 < echo "${ECHO_T}$ac_header_compiler" >&6
13165 > if test "$acx_cgal_found" == yes; then
13166 >        { $as_echo "$as_me:$LINENO: result: yes" >&5
13167 > $as_echo "yes" >&6; }
13168  
13169 < # Is the header present?
13170 < echo "$as_me:$LINENO: checking iomanip presence" >&5
13171 < echo $ECHO_N "checking iomanip presence... $ECHO_C" >&6
10723 < cat >conftest.$ac_ext <<_ACEOF
10724 < /* confdefs.h.  */
10725 < _ACEOF
10726 < cat confdefs.h >>conftest.$ac_ext
10727 < cat >>conftest.$ac_ext <<_ACEOF
10728 < /* end confdefs.h.  */
10729 < #include <iomanip>
10730 < _ACEOF
10731 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10732 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10733 <  ac_status=$?
10734 <  grep -v '^ *+' conftest.er1 >conftest.err
10735 <  rm -f conftest.er1
10736 <  cat conftest.err >&5
10737 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10738 <  (exit $ac_status); } >/dev/null; then
10739 <  if test -s conftest.err; then
10740 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
10741 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
10742 <  else
10743 <    ac_cpp_err=
10744 <  fi
10745 < else
10746 <  ac_cpp_err=yes
10747 < fi
10748 < if test -z "$ac_cpp_err"; then
10749 <  ac_header_preproc=yes
10750 < else
10751 <  echo "$as_me: failed program was:" >&5
10752 < sed 's/^/| /' conftest.$ac_ext >&5
13169 > else
13170 >        { $as_echo "$as_me:$LINENO: result: no" >&5
13171 > $as_echo "no" >&6; }
13172  
10754  ac_header_preproc=no
13173   fi
13174 < rm -f conftest.err conftest.$ac_ext
13175 < echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13176 < echo "${ECHO_T}$ac_header_preproc" >&6
13174 > USE_CGAL=no
13175 > if test "$acx_cgal_found" == yes; then
13176 >        USE_CGAL=yes
13177  
10760 # So?  What about this header?
10761 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10762  yes:no: )
10763    { echo "$as_me:$LINENO: WARNING: iomanip: accepted by the compiler, rejected by the preprocessor!" >&5
10764 echo "$as_me: WARNING: iomanip: accepted by the compiler, rejected by the preprocessor!" >&2;}
10765    { echo "$as_me:$LINENO: WARNING: iomanip: proceeding with the compiler's result" >&5
10766 echo "$as_me: WARNING: iomanip: proceeding with the compiler's result" >&2;}
10767    ac_header_preproc=yes
10768    ;;
10769  no:yes:* )
10770    { echo "$as_me:$LINENO: WARNING: iomanip: present but cannot be compiled" >&5
10771 echo "$as_me: WARNING: iomanip: present but cannot be compiled" >&2;}
10772    { echo "$as_me:$LINENO: WARNING: iomanip:     check for missing prerequisite headers?" >&5
10773 echo "$as_me: WARNING: iomanip:     check for missing prerequisite headers?" >&2;}
10774    { echo "$as_me:$LINENO: WARNING: iomanip: see the Autoconf documentation" >&5
10775 echo "$as_me: WARNING: iomanip: see the Autoconf documentation" >&2;}
10776    { echo "$as_me:$LINENO: WARNING: iomanip:     section \"Present But Cannot Be Compiled\"" >&5
10777 echo "$as_me: WARNING: iomanip:     section \"Present But Cannot Be Compiled\"" >&2;}
10778    { echo "$as_me:$LINENO: WARNING: iomanip: proceeding with the preprocessor's result" >&5
10779 echo "$as_me: WARNING: iomanip: proceeding with the preprocessor's result" >&2;}
10780    { echo "$as_me:$LINENO: WARNING: iomanip: in the future, the compiler will take precedence" >&5
10781 echo "$as_me: WARNING: iomanip: in the future, the compiler will take precedence" >&2;}
10782    (
10783      cat <<\_ASBOX
10784 ## ------------------------------ ##
10785 ## Report this to gezelter@nd.edu ##
10786 ## ------------------------------ ##
10787 _ASBOX
10788    ) |
10789      sed "s/^/$as_me: WARNING:     /" >&2
10790    ;;
10791 esac
10792 echo "$as_me:$LINENO: checking for iomanip" >&5
10793 echo $ECHO_N "checking for iomanip... $ECHO_C" >&6
10794 if test "${ac_cv_header_iomanip+set}" = set; then
10795  echo $ECHO_N "(cached) $ECHO_C" >&6
10796 else
10797  ac_cv_header_iomanip=$ac_header_preproc
10798 fi
10799 echo "$as_me:$LINENO: result: $ac_cv_header_iomanip" >&5
10800 echo "${ECHO_T}$ac_cv_header_iomanip" >&6
10801
10802 fi
10803 if test $ac_cv_header_iomanip = yes; then
10804
10805
13178   cat >>confdefs.h <<\_ACEOF
13179 < #define HAVE_IOMANIP 1
13179 > #define HAVE_CGAL 1
13180   _ACEOF
13181  
13182  
10811 else
13183  
13184  
10814 for ac_header in iomanip.h
10815 do
10816 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10818  echo "$as_me:$LINENO: checking for $ac_header" >&5
10819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10821  echo $ECHO_N "(cached) $ECHO_C" >&6
10822 fi
10823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10825 else
10826  # Is the header compilable?
10827 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10828 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10829 cat >conftest.$ac_ext <<_ACEOF
10830 /* confdefs.h.  */
10831 _ACEOF
10832 cat confdefs.h >>conftest.$ac_ext
10833 cat >>conftest.$ac_ext <<_ACEOF
10834 /* end confdefs.h.  */
10835 $ac_includes_default
10836 #include <$ac_header>
10837 _ACEOF
10838 rm -f conftest.$ac_objext
10839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10840  (eval $ac_compile) 2>conftest.er1
10841  ac_status=$?
10842  grep -v '^ *+' conftest.er1 >conftest.err
10843  rm -f conftest.er1
10844  cat conftest.err >&5
10845  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10846  (exit $ac_status); } &&
10847         { ac_try='test -z "$ac_cxx_werror_flag"
10848                         || test ! -s conftest.err'
10849  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10850  (eval $ac_try) 2>&5
10851  ac_status=$?
10852  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10853  (exit $ac_status); }; } &&
10854         { ac_try='test -s conftest.$ac_objext'
10855  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10856  (eval $ac_try) 2>&5
10857  ac_status=$?
10858  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10859  (exit $ac_status); }; }; then
10860  ac_header_compiler=yes
10861 else
10862  echo "$as_me: failed program was:" >&5
10863 sed 's/^/| /' conftest.$ac_ext >&5
13185  
10865 ac_header_compiler=no
13186   fi
10867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10868 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10869 echo "${ECHO_T}$ac_header_compiler" >&6
13187  
13188 < # Is the header present?
13189 < echo "$as_me:$LINENO: checking $ac_header presence" >&5
13190 < echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13191 < cat >conftest.$ac_ext <<_ACEOF
13192 < /* confdefs.h.  */
13193 < _ACEOF
10877 < cat confdefs.h >>conftest.$ac_ext
10878 < cat >>conftest.$ac_ext <<_ACEOF
10879 < /* end confdefs.h.  */
10880 < #include <$ac_header>
10881 < _ACEOF
10882 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10883 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10884 <  ac_status=$?
10885 <  grep -v '^ *+' conftest.er1 >conftest.err
10886 <  rm -f conftest.er1
10887 <  cat conftest.err >&5
10888 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10889 <  (exit $ac_status); } >/dev/null; then
10890 <  if test -s conftest.err; then
10891 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
10892 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
10893 <  else
10894 <    ac_cpp_err=
10895 <  fi
10896 < else
10897 <  ac_cpp_err=yes
13188 >
13189 >
13190 >
13191 > # Check whether --enable-doxygen was given.
13192 > if test "${enable_doxygen+set}" = set; then
13193 >  enableval=$enable_doxygen;
13194   fi
10899 if test -z "$ac_cpp_err"; then
10900  ac_header_preproc=yes
10901 else
10902  echo "$as_me: failed program was:" >&5
10903 sed 's/^/| /' conftest.$ac_ext >&5
13195  
13196 <  ac_header_preproc=no
13196 > # Check whether --enable-dot was given.
13197 > if test "${enable_dot+set}" = set; then
13198 >  enableval=$enable_dot;
13199   fi
10907 rm -f conftest.err conftest.$ac_ext
10908 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10909 echo "${ECHO_T}$ac_header_preproc" >&6
13200  
13201 < # So?  What about this header?
13202 < case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
13203 <  yes:no: )
10914 <    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10915 < echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10916 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10917 < echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10918 <    ac_header_preproc=yes
10919 <    ;;
10920 <  no:yes:* )
10921 <    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10922 < echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10923 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
10924 < echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
10925 <    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10926 < echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10927 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
10928 < echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
10929 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10930 < echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10931 <    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10932 < echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10933 <    (
10934 <      cat <<\_ASBOX
10935 < ## ------------------------------ ##
10936 < ## Report this to gezelter@nd.edu ##
10937 < ## ------------------------------ ##
10938 < _ASBOX
10939 <    ) |
10940 <      sed "s/^/$as_me: WARNING:     /" >&2
10941 <    ;;
10942 < esac
10943 < echo "$as_me:$LINENO: checking for $ac_header" >&5
10944 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10945 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
10946 <  echo $ECHO_N "(cached) $ECHO_C" >&6
13201 > # Check whether --enable-html-docs was given.
13202 > if test "${enable_html_docs+set}" = set; then
13203 >  enableval=$enable_html_docs;
13204   else
13205 <  eval "$as_ac_Header=\$ac_header_preproc"
13205 >   enable_html_docs=yes
13206   fi
10950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10951 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13207  
13208 + # Check whether --enable-latex-docs was given.
13209 + if test "${enable_latex_docs+set}" = set; then
13210 +  enableval=$enable_latex_docs;
13211 + else
13212 +   enable_latex_docs=no
13213   fi
13214 < if test `eval echo '${'$as_ac_Header'}'` = yes; then
13215 <  cat >>confdefs.h <<_ACEOF
13216 < #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13217 < _ACEOF
13218 <
13219 < fi
13220 <
13214 >
13215 > if test "x$enable_doxygen" = xno; then
13216 >        enable_doc=no
13217 > else
13218 >        # Extract the first word of "doxygen", so it can be a program name with args.
13219 > set dummy doxygen; ac_word=$2
13220 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13221 > $as_echo_n "checking for $ac_word... " >&6; }
13222 > if test "${ac_cv_path_DOXYGEN+set}" = set; then
13223 >  $as_echo_n "(cached) " >&6
13224 > else
13225 >  case $DOXYGEN in
13226 >  [\\/]* | ?:[\\/]*)
13227 >  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
13228 >  ;;
13229 >  *)
13230 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13231 > for as_dir in $PATH
13232 > do
13233 >  IFS=$as_save_IFS
13234 >  test -z "$as_dir" && as_dir=.
13235 >  for ac_exec_ext in '' $ac_executable_extensions; do
13236 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13237 >    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
13238 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13239 >    break 2
13240 >  fi
13241   done
13242 + done
13243 + IFS=$as_save_IFS
13244  
13245 <
13245 >  ;;
13246 > esac
13247   fi
13248 + DOXYGEN=$ac_cv_path_DOXYGEN
13249 + if test -n "$DOXYGEN"; then
13250 +  { $as_echo "$as_me:$LINENO: result: $DOXYGEN" >&5
13251 + $as_echo "$DOXYGEN" >&6; }
13252 + else
13253 +  { $as_echo "$as_me:$LINENO: result: no" >&5
13254 + $as_echo "no" >&6; }
13255 + fi
13256  
13257  
13258 <
13259 <
13260 < for ac_header in cmath
13258 >        if test "x$DOXYGEN" = x; then
13259 >                if test "x$enable_doxygen" = xyes; then
13260 >                        { { $as_echo "$as_me:$LINENO: error: could not find doxygen" >&5
13261 > $as_echo "$as_me: error: could not find doxygen" >&2;}
13262 >   { (exit 1); exit 1; }; }
13263 >                fi
13264 >                enable_doc=no
13265 >        else
13266 >                enable_doc=yes
13267 >                # Extract the first word of "dot", so it can be a program name with args.
13268 > set dummy dot; ac_word=$2
13269 > { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
13270 > $as_echo_n "checking for $ac_word... " >&6; }
13271 > if test "${ac_cv_path_DOT+set}" = set; then
13272 >  $as_echo_n "(cached) " >&6
13273 > else
13274 >  case $DOT in
13275 >  [\\/]* | ?:[\\/]*)
13276 >  ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
13277 >  ;;
13278 >  *)
13279 >  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13280 > for as_dir in $PATH
13281   do
13282 < as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13283 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
13284 <  echo "$as_me:$LINENO: checking for $ac_header" >&5
13285 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13286 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
13287 <  echo $ECHO_N "(cached) $ECHO_C" >&6
13282 >  IFS=$as_save_IFS
13283 >  test -z "$as_dir" && as_dir=.
13284 >  for ac_exec_ext in '' $ac_executable_extensions; do
13285 >  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13286 >    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
13287 >    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13288 >    break 2
13289 >  fi
13290 > done
13291 > done
13292 > IFS=$as_save_IFS
13293 >
13294 >  ;;
13295 > esac
13296   fi
13297 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13298 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13297 > DOT=$ac_cv_path_DOT
13298 > if test -n "$DOT"; then
13299 >  { $as_echo "$as_me:$LINENO: result: $DOT" >&5
13300 > $as_echo "$DOT" >&6; }
13301   else
13302 <  # Is the header compilable?
13303 < echo "$as_me:$LINENO: checking $ac_header usability" >&5
13304 < echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10984 < cat >conftest.$ac_ext <<_ACEOF
10985 < /* confdefs.h.  */
10986 < _ACEOF
10987 < cat confdefs.h >>conftest.$ac_ext
10988 < cat >>conftest.$ac_ext <<_ACEOF
10989 < /* end confdefs.h.  */
10990 < $ac_includes_default
10991 < #include <$ac_header>
10992 < _ACEOF
10993 < rm -f conftest.$ac_objext
10994 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10995 <  (eval $ac_compile) 2>conftest.er1
10996 <  ac_status=$?
10997 <  grep -v '^ *+' conftest.er1 >conftest.err
10998 <  rm -f conftest.er1
10999 <  cat conftest.err >&5
11000 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11001 <  (exit $ac_status); } &&
11002 <         { ac_try='test -z "$ac_cxx_werror_flag"
11003 <                         || test ! -s conftest.err'
11004 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11005 <  (eval $ac_try) 2>&5
11006 <  ac_status=$?
11007 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11008 <  (exit $ac_status); }; } &&
11009 <         { ac_try='test -s conftest.$ac_objext'
11010 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11011 <  (eval $ac_try) 2>&5
11012 <  ac_status=$?
11013 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014 <  (exit $ac_status); }; }; then
11015 <  ac_header_compiler=yes
11016 < else
11017 <  echo "$as_me: failed program was:" >&5
11018 < sed 's/^/| /' conftest.$ac_ext >&5
13302 >  { $as_echo "$as_me:$LINENO: result: no" >&5
13303 > $as_echo "no" >&6; }
13304 > fi
13305  
13306 < ac_header_compiler=no
13306 >
13307 >        fi
13308   fi
11022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11023 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11024 echo "${ECHO_T}$ac_header_compiler" >&6
13309  
13310 < # Is the header present?
13311 < echo "$as_me:$LINENO: checking $ac_header presence" >&5
11028 < echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11029 < cat >conftest.$ac_ext <<_ACEOF
11030 < /* confdefs.h.  */
11031 < _ACEOF
11032 < cat confdefs.h >>conftest.$ac_ext
11033 < cat >>conftest.$ac_ext <<_ACEOF
11034 < /* end confdefs.h.  */
11035 < #include <$ac_header>
11036 < _ACEOF
11037 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11038 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11039 <  ac_status=$?
11040 <  grep -v '^ *+' conftest.er1 >conftest.err
11041 <  rm -f conftest.er1
11042 <  cat conftest.err >&5
11043 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11044 <  (exit $ac_status); } >/dev/null; then
11045 <  if test -s conftest.err; then
11046 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
11047 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
11048 <  else
11049 <    ac_cpp_err=
11050 <  fi
13310 > if test "x$enable_doc" = xyes; then
13311 >  DOC=1
13312   else
13313 <  ac_cpp_err=yes
13313 >  DOC=0
13314   fi
11054 if test -z "$ac_cpp_err"; then
11055  ac_header_preproc=yes
11056 else
11057  echo "$as_me: failed program was:" >&5
11058 sed 's/^/| /' conftest.$ac_ext >&5
13315  
11060  ac_header_preproc=no
11061 fi
11062 rm -f conftest.err conftest.$ac_ext
11063 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11064 echo "${ECHO_T}$ac_header_preproc" >&6
13316  
13317 < # So?  What about this header?
13318 < case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
13319 <  yes:no: )
13320 <    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13321 < echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13322 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13323 < echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11073 <    ac_header_preproc=yes
11074 <    ;;
11075 <  no:yes:* )
11076 <    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11077 < echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11078 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11079 < echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11080 <    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11081 < echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11082 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11083 < echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11084 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11085 < echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11086 <    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11087 < echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11088 <    (
11089 <      cat <<\_ASBOX
11090 < ## ------------------------------ ##
11091 < ## Report this to gezelter@nd.edu ##
11092 < ## ------------------------------ ##
11093 < _ASBOX
11094 <    ) |
11095 <      sed "s/^/$as_me: WARNING:     /" >&2
11096 <    ;;
11097 < esac
11098 < echo "$as_me:$LINENO: checking for $ac_header" >&5
11099 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11100 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
11101 <  echo $ECHO_N "(cached) $ECHO_C" >&6
13317 > if test x$DOT = x; then
13318 >        if test "x$enable_dot" = xyes; then
13319 >                { { $as_echo "$as_me:$LINENO: error: could not find dot" >&5
13320 > $as_echo "$as_me: error: could not find dot" >&2;}
13321 >   { (exit 1); exit 1; }; }
13322 >        fi
13323 >        enable_dot=no
13324   else
13325 <  eval "$as_ac_Header=\$ac_header_preproc"
13325 >        enable_dot=yes
13326   fi
11105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11106 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13327  
11108 fi
11109 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11110  cat >>confdefs.h <<_ACEOF
11111 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11112 _ACEOF
13328  
11114 fi
13329  
11116 done
13330  
13331  
13332  
13333  
11121  echo "$as_me:$LINENO: checking for C++ iostream in namespace std" >&5
11122 echo $ECHO_N "checking for C++ iostream in namespace std... $ECHO_C" >&6
11123 if test "${ac_cv_cxx_have_std_iostream+set}" = set; then
11124  echo $ECHO_N "(cached) $ECHO_C" >&6
11125 else
13334  
11127      ac_cv_cxx_have_std_iostream=no
11128      ac_cv_cxx_need_use_std_iostream=no
11129      if test "x$ac_cv_cxx_namespaces" = xyes; then
13335  
13336  
11132        ac_ext=cc
11133 ac_cpp='$CXXCPP $CPPFLAGS'
11134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13337  
11138        cat >conftest.$ac_ext <<_ACEOF
11139 /* confdefs.h.  */
11140 _ACEOF
11141 cat confdefs.h >>conftest.$ac_ext
11142 cat >>conftest.$ac_ext <<_ACEOF
11143 /* end confdefs.h.  */
13338  
11145 #ifdef HAVE_IOSTREAM
11146 #include <iostream>
11147 #else
11148 #include <iostream.h>
11149 #endif
13339  
13340 < #ifdef FC_DUMMY_MAIN
11152 < #ifndef FC_DUMMY_MAIN_EQ_F77
11153 < #  ifdef __cplusplus
11154 <     extern "C"
11155 < #  endif
11156 <   int FC_DUMMY_MAIN() { return 1; }
11157 < #endif
11158 < #endif
11159 < int
11160 < main ()
11161 < {
11162 < std::cout<<"Hello World"<<std::endl;return 0;
11163 <  ;
11164 <  return 0;
11165 < }
11166 < _ACEOF
11167 < rm -f conftest.$ac_objext
11168 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11169 <  (eval $ac_compile) 2>conftest.er1
11170 <  ac_status=$?
11171 <  grep -v '^ *+' conftest.er1 >conftest.err
11172 <  rm -f conftest.er1
11173 <  cat conftest.err >&5
11174 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175 <  (exit $ac_status); } &&
11176 <         { ac_try='test -z "$ac_cxx_werror_flag"
11177 <                         || test ! -s conftest.err'
11178 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11179 <  (eval $ac_try) 2>&5
11180 <  ac_status=$?
11181 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11182 <  (exit $ac_status); }; } &&
11183 <         { ac_try='test -s conftest.$ac_objext'
11184 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11185 <  (eval $ac_try) 2>&5
11186 <  ac_status=$?
11187 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 <  (exit $ac_status); }; }; then
11189 <  ac_cv_cxx_have_std_iostream=yes
11190 < else
11191 <  echo "$as_me: failed program was:" >&5
11192 < sed 's/^/| /' conftest.$ac_ext >&5
13340 >
13341  
11194 fi
11195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11196        cat >conftest.$ac_ext <<_ACEOF
11197 /* confdefs.h.  */
11198 _ACEOF
11199 cat confdefs.h >>conftest.$ac_ext
11200 cat >>conftest.$ac_ext <<_ACEOF
11201 /* end confdefs.h.  */
13342  
11203 #define __USE_STD_IOSTREAM 1
11204 #ifdef HAVE_IOSTREAM
11205 #include <iostream>
11206 #else
11207 #include <iostream.h>
11208 #endif
13343  
11210 #ifdef FC_DUMMY_MAIN
11211 #ifndef FC_DUMMY_MAIN_EQ_F77
11212 #  ifdef __cplusplus
11213     extern "C"
11214 #  endif
11215   int FC_DUMMY_MAIN() { return 1; }
11216 #endif
11217 #endif
11218 int
11219 main ()
11220 {
11221 std::cout<<"Hello World"<<std::endl;return 0;
11222  ;
11223  return 0;
11224 }
11225 _ACEOF
11226 rm -f conftest.$ac_objext
11227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11228  (eval $ac_compile) 2>conftest.er1
11229  ac_status=$?
11230  grep -v '^ *+' conftest.er1 >conftest.err
11231  rm -f conftest.er1
11232  cat conftest.err >&5
11233  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11234  (exit $ac_status); } &&
11235         { ac_try='test -z "$ac_cxx_werror_flag"
11236                         || test ! -s conftest.err'
11237  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11238  (eval $ac_try) 2>&5
11239  ac_status=$?
11240  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11241  (exit $ac_status); }; } &&
11242         { ac_try='test -s conftest.$ac_objext'
11243  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11244  (eval $ac_try) 2>&5
11245  ac_status=$?
11246  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247  (exit $ac_status); }; }; then
11248  ac_cv_cxx_have_std_iostream=yes;ac_cv_cxx_need_use_std_iostream=yes
11249 else
11250  echo "$as_me: failed program was:" >&5
11251 sed 's/^/| /' conftest.$ac_ext >&5
13344  
11253 fi
11254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11255        ac_ext=cc
11256 ac_cpp='$CXXCPP $CPPFLAGS'
11257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13345  
13346 <      fi
13346 > ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/math/Makefile src/integrators/Makefile src/applications/atom2md/Makefile scripts/filepp"
13347  
11263 fi
11264 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iostream" >&5
11265 echo "${ECHO_T}$ac_cv_cxx_have_std_iostream" >&6
11266  if test "$ac_cv_cxx_have_std_iostream" = yes; then
13348  
13349 < cat >>confdefs.h <<\_ACEOF
13350 < #define HAVE_STD_IOSTREAM 1
13351 < _ACEOF
13349 > cat >confcache <<\_ACEOF
13350 > # This file is a shell script that caches the results of configure
13351 > # tests run on this system so they can be shared between configure
13352 > # scripts and configure runs, see configure's option --config-cache.
13353 > # It is not useful on other systems.  If it contains results you don't
13354 > # want to keep, you may remove or edit it.
13355 > #
13356 > # config.status only pays attention to the cache file if you give it
13357 > # the --recheck option to rerun configure.
13358 > #
13359 > # `ac_cv_env_foo' variables (set or unset) will be overridden when
13360 > # loading this file, other *unset* `ac_cv_foo' will be assigned the
13361 > # following values.
13362  
11272  fi
11273  if test "$ac_cv_cxx_need_use_std_iostream" = yes; then
11274
11275 cat >>confdefs.h <<\_ACEOF
11276 #define __USE_STD_IOSTREAM 1
13363   _ACEOF
13364  
13365 + # The following way of writing the cache mishandles newlines in values,
13366 + # but we know of no workaround that is simple, portable, and efficient.
13367 + # So, we kill variables containing newlines.
13368 + # Ultrix sh set writes to stderr and can't be redirected directly,
13369 + # and sets the high bit in the cache file unless we assign to the vars.
13370 + (
13371 +  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13372 +    eval ac_val=\$$ac_var
13373 +    case $ac_val in #(
13374 +    *${as_nl}*)
13375 +      case $ac_var in #(
13376 +      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13377 + $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13378 +      esac
13379 +      case $ac_var in #(
13380 +      _ | IFS | as_nl) ;; #(
13381 +      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13382 +      *) $as_unset $ac_var ;;
13383 +      esac ;;
13384 +    esac
13385 +  done
13386 +
13387 +  (set) 2>&1 |
13388 +    case $as_nl`(ac_space=' '; set) 2>&1` in #(
13389 +    *${as_nl}ac_space=\ *)
13390 +      # `set' does not quote correctly, so add quotes (double-quote
13391 +      # substitution turns \\\\ into \\, and sed turns \\ into \).
13392 +      sed -n \
13393 +        "s/'/'\\\\''/g;
13394 +          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13395 +      ;; #(
13396 +    *)
13397 +      # `set' quotes correctly as required by POSIX, so do not add quotes.
13398 +      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13399 +      ;;
13400 +    esac |
13401 +    sort
13402 + ) |
13403 +  sed '
13404 +     /^ac_cv_env_/b end
13405 +     t clear
13406 +     :clear
13407 +     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13408 +     t end
13409 +     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13410 +     :end' >>confcache
13411 + if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13412 +  if test -w "$cache_file"; then
13413 +    test "x$cache_file" != "x/dev/null" &&
13414 +      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13415 + $as_echo "$as_me: updating cache $cache_file" >&6;}
13416 +    cat confcache >$cache_file
13417 +  else
13418 +    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13419 + $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13420    fi
13421 + fi
13422 + rm -f confcache
13423  
13424 + test "x$prefix" = xNONE && prefix=$ac_default_prefix
13425 + # Let make expand exec_prefix.
13426 + test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13427  
13428 + DEFS=-DHAVE_CONFIG_H
13429  
13430 + ac_libobjs=
13431 + ac_ltlibobjs=
13432 + for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13433 +  # 1. Remove the extension, and $U if already installed.
13434 +  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13435 +  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13436 +  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13437 +  #    will be set to the directory where LIBOBJS objects are built.
13438 +  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13439 +  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13440 + done
13441 + LIBOBJS=$ac_libobjs
13442  
13443 <  echo "$as_me:$LINENO: checking for C++ Standard Template Library in namespace std." >&5
11285 < echo $ECHO_N "checking for C++ Standard Template Library in namespace std.... $ECHO_C" >&6
11286 < if test "${ac_cv_cxx_have_std_stl+set}" = set; then
11287 <  echo $ECHO_N "(cached) $ECHO_C" >&6
11288 < else
13443 > LTLIBOBJS=$ac_ltlibobjs
13444  
11290      ac_cv_cxx_have_std_stl=no
11291      if test "x$ac_cv_cxx_namespaces" = xyes; then
13445  
13446  
13447 <        ac_ext=cc
13448 < ac_cpp='$CXXCPP $CPPFLAGS'
13449 < ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13450 < ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13451 < ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13447 > : ${CONFIG_STATUS=./config.status}
13448 > ac_write_fail=0
13449 > ac_clean_files_save=$ac_clean_files
13450 > ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13451 > { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13452 > $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13453 > cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13454 > #! $SHELL
13455 > # Generated by $as_me.
13456 > # Run this file to recreate the current configuration.
13457 > # Compiler output produced by configure, useful for debugging
13458 > # configure, is in config.log if it exists.
13459  
13460 <        cat >conftest.$ac_ext <<_ACEOF
13461 < /* confdefs.h.  */
13460 > debug=false
13461 > ac_cs_recheck=false
13462 > ac_cs_silent=false
13463 > SHELL=\${CONFIG_SHELL-$SHELL}
13464   _ACEOF
11303 cat confdefs.h >>conftest.$ac_ext
11304 cat >>conftest.$ac_ext <<_ACEOF
11305 /* end confdefs.h.  */
11306 #include <list>
13465  
13466 < #ifdef FC_DUMMY_MAIN
13467 < #ifndef FC_DUMMY_MAIN_EQ_F77
13468 < #  ifdef __cplusplus
13469 <     extern "C"
13470 < #  endif
13471 <   int FC_DUMMY_MAIN() { return 1; }
13472 < #endif
13473 < #endif
13474 < int
13475 < main ()
13476 < {
13477 < std::list<int> foo;return 0;
13478 <  ;
13479 <  return 0;
11322 < }
11323 < _ACEOF
11324 < rm -f conftest.$ac_objext
11325 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11326 <  (eval $ac_compile) 2>conftest.er1
11327 <  ac_status=$?
11328 <  grep -v '^ *+' conftest.er1 >conftest.err
11329 <  rm -f conftest.er1
11330 <  cat conftest.err >&5
11331 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332 <  (exit $ac_status); } &&
11333 <         { ac_try='test -z "$ac_cxx_werror_flag"
11334 <                         || test ! -s conftest.err'
11335 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11336 <  (eval $ac_try) 2>&5
11337 <  ac_status=$?
11338 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339 <  (exit $ac_status); }; } &&
11340 <         { ac_try='test -s conftest.$ac_objext'
11341 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11342 <  (eval $ac_try) 2>&5
11343 <  ac_status=$?
11344 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345 <  (exit $ac_status); }; }; then
11346 <  ac_cv_cxx_have_std_stl=yes
13466 > cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13467 > ## --------------------- ##
13468 > ## M4sh Initialization.  ##
13469 > ## --------------------- ##
13470 >
13471 > # Be more Bourne compatible
13472 > DUALCASE=1; export DUALCASE # for MKS sh
13473 > if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13474 >  emulate sh
13475 >  NULLCMD=:
13476 >  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13477 >  # is contrary to our usage.  Disable this feature.
13478 >  alias -g '${1+"$@"}'='"$@"'
13479 >  setopt NO_GLOB_SUBST
13480   else
13481 <  echo "$as_me: failed program was:" >&5
13482 < sed 's/^/| /' conftest.$ac_ext >&5
13481 >  case `(set -o) 2>/dev/null` in
13482 >  *posix*) set -o posix ;;
13483 > esac
13484  
13485   fi
11352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11353        ac_ext=cc
11354 ac_cpp='$CXXCPP $CPPFLAGS'
11355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13486  
11359      fi
13487  
11361 fi
11362 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_stl" >&5
11363 echo "${ECHO_T}$ac_cv_cxx_have_std_stl" >&6
11364  if test "$ac_cv_cxx_have_std_stl" = yes; then
13488  
11366 cat >>confdefs.h <<\_ACEOF
11367 #define HAVE_STD_STL 1
11368 _ACEOF
13489  
13490 + # PATH needs CR
13491 + # Avoid depending upon Character Ranges.
13492 + as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13493 + as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13494 + as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13495 + as_cr_digits='0123456789'
13496 + as_cr_alnum=$as_cr_Letters$as_cr_digits
13497 +
13498 + as_nl='
13499 + '
13500 + export as_nl
13501 + # Printing a long string crashes Solaris 7 /usr/bin/printf.
13502 + as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13503 + as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13504 + as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13505 + if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13506 +  as_echo='printf %s\n'
13507 +  as_echo_n='printf %s'
13508 + else
13509 +  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13510 +    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13511 +    as_echo_n='/usr/ucb/echo -n'
13512 +  else
13513 +    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13514 +    as_echo_n_body='eval
13515 +      arg=$1;
13516 +      case $arg in
13517 +      *"$as_nl"*)
13518 +        expr "X$arg" : "X\\(.*\\)$as_nl";
13519 +        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13520 +      esac;
13521 +      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13522 +    '
13523 +    export as_echo_n_body
13524 +    as_echo_n='sh -c $as_echo_n_body as_echo'
13525    fi
13526 +  export as_echo_body
13527 +  as_echo='sh -c $as_echo_body as_echo'
13528 + fi
13529  
13530 + # The user is always right.
13531 + if test "${PATH_SEPARATOR+set}" != set; then
13532 +  PATH_SEPARATOR=:
13533 +  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13534 +    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13535 +      PATH_SEPARATOR=';'
13536 +  }
13537 + fi
13538  
13539 <
13540 <  echo "$as_me:$LINENO: checking for fstream::attach()" >&5
13541 < echo $ECHO_N "checking for fstream::attach()... $ECHO_C" >&6
11376 < if test "${ac_cv_cxx_have_fstream_attach+set}" = set; then
11377 <  echo $ECHO_N "(cached) $ECHO_C" >&6
13539 > # Support unset when possible.
13540 > if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13541 >  as_unset=unset
13542   else
13543 +  as_unset=false
13544 + fi
13545  
11380    ac_cv_cxx_have_fstream_attach=no
13546  
13547 + # IFS
13548 + # We need space, tab and new line, in precisely that order.  Quoting is
13549 + # there to prevent editors from complaining about space-tab.
13550 + # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13551 + # splitting by setting IFS to empty value.)
13552 + IFS=" ""        $as_nl"
13553  
13554 <    ac_ext=cc
13555 < ac_cpp='$CXXCPP $CPPFLAGS'
13556 < ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13557 < ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13558 < ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13554 > # Find who we are.  Look in the path if we contain no directory separator.
13555 > case $0 in
13556 >  *[\\/]* ) as_myself=$0 ;;
13557 >  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13558 > for as_dir in $PATH
13559 > do
13560 >  IFS=$as_save_IFS
13561 >  test -z "$as_dir" && as_dir=.
13562 >  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13563 > done
13564 > IFS=$as_save_IFS
13565  
13566 <    cat >conftest.$ac_ext <<_ACEOF
13567 < /* confdefs.h.  */
13568 < _ACEOF
13569 < cat confdefs.h >>conftest.$ac_ext
13570 < cat >>conftest.$ac_ext <<_ACEOF
13571 < /* end confdefs.h.  */
13566 >     ;;
13567 > esac
13568 > # We did not find ourselves, most probably we were run as `sh COMMAND'
13569 > # in which case we are not to be found in the path.
13570 > if test "x$as_myself" = x; then
13571 >  as_myself=$0
13572 > fi
13573 > if test ! -f "$as_myself"; then
13574 >  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13575 >  { (exit 1); exit 1; }
13576 > fi
13577  
13578 < #ifdef HAVE_IOSTREAM
13579 < #include <fstream>
13580 < #else
13581 < #include <fstream.h>
13582 < #endif
13583 < #ifdef HAVE_STD_IOSTREAM
13584 < using namespace std;
11403 < #endif
13578 > # Work around bugs in pre-3.0 UWIN ksh.
13579 > for as_var in ENV MAIL MAILPATH
13580 > do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13581 > done
13582 > PS1='$ '
13583 > PS2='> '
13584 > PS4='+ '
13585  
13586 < #ifdef FC_DUMMY_MAIN
13587 < #ifndef FC_DUMMY_MAIN_EQ_F77
13588 < #  ifdef __cplusplus
13589 <     extern "C"
13590 < #  endif
11410 <   int FC_DUMMY_MAIN() { return 1; }
11411 < #endif
11412 < #endif
11413 < int
11414 < main ()
11415 < {
11416 < int fd=0;ofstream s;s.attach(fd);
11417 <  ;
11418 <  return 0;
11419 < }
11420 < _ACEOF
11421 < rm -f conftest.$ac_objext
11422 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11423 <  (eval $ac_compile) 2>conftest.er1
11424 <  ac_status=$?
11425 <  grep -v '^ *+' conftest.er1 >conftest.err
11426 <  rm -f conftest.er1
11427 <  cat conftest.err >&5
11428 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11429 <  (exit $ac_status); } &&
11430 <         { ac_try='test -z "$ac_cxx_werror_flag"
11431 <                         || test ! -s conftest.err'
11432 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11433 <  (eval $ac_try) 2>&5
11434 <  ac_status=$?
11435 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11436 <  (exit $ac_status); }; } &&
11437 <         { ac_try='test -s conftest.$ac_objext'
11438 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11439 <  (eval $ac_try) 2>&5
11440 <  ac_status=$?
11441 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11442 <  (exit $ac_status); }; }; then
11443 <  ac_cv_cxx_have_fstream_attach=yes
11444 < else
11445 <  echo "$as_me: failed program was:" >&5
11446 < sed 's/^/| /' conftest.$ac_ext >&5
13586 > # NLS nuisances.
13587 > LC_ALL=C
13588 > export LC_ALL
13589 > LANGUAGE=C
13590 > export LANGUAGE
13591  
13592 + # Required to use basename.
13593 + if expr a : '\(a\)' >/dev/null 2>&1 &&
13594 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13595 +  as_expr=expr
13596 + else
13597 +  as_expr=false
13598   fi
11449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11450    ac_ext=cc
11451 ac_cpp='$CXXCPP $CPPFLAGS'
11452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13599  
13600 <
13600 > if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13601 >  as_basename=basename
13602 > else
13603 >  as_basename=false
13604   fi
11458 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fstream_attach" >&5
11459 echo "${ECHO_T}$ac_cv_cxx_have_fstream_attach" >&6
11460  if test "$ac_cv_cxx_have_fstream_attach" = yes; then
13605  
11462 cat >>confdefs.h <<\_ACEOF
11463 #define HAVE_FSTREAM_ATTACH 1
11464 _ACEOF
13606  
13607 <  fi
13607 > # Name of the executable.
13608 > as_me=`$as_basename -- "$0" ||
13609 > $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13610 >         X"$0" : 'X\(//\)$' \| \
13611 >         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13612 > $as_echo X/"$0" |
13613 >    sed '/^.*\/\([^/][^/]*\)\/*$/{
13614 >            s//\1/
13615 >            q
13616 >          }
13617 >          /^X\/\(\/\/\)$/{
13618 >            s//\1/
13619 >            q
13620 >          }
13621 >          /^X\/\(\/\).*/{
13622 >            s//\1/
13623 >            q
13624 >          }
13625 >          s/.*/./; q'`
13626  
13627 + # CDPATH.
13628 + $as_unset CDPATH
13629  
13630  
11470  echo "$as_me:$LINENO: checking for fstream::open()" >&5
11471 echo $ECHO_N "checking for fstream::open()... $ECHO_C" >&6
11472 if test "${ac_cv_cxx_have_fstream_open+set}" = set; then
11473  echo $ECHO_N "(cached) $ECHO_C" >&6
11474 else
13631  
13632 <    ac_cv_cxx_have_fstream_open=no
13633 <    ac_cv_cxx_fstream_open_prot=no
13632 >  as_lineno_1=$LINENO
13633 >  as_lineno_2=$LINENO
13634 >  test "x$as_lineno_1" != "x$as_lineno_2" &&
13635 >  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13636  
13637 <
13638 <    ac_ext=cc
13639 < ac_cpp='$CXXCPP $CPPFLAGS'
13640 < ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13641 < ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13642 < ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13643 <
13644 <    # Try with 2 parameters
13645 <    cat >conftest.$ac_ext <<_ACEOF
13646 < /* confdefs.h.  */
13647 < _ACEOF
13648 < cat confdefs.h >>conftest.$ac_ext
13649 < cat >>conftest.$ac_ext <<_ACEOF
13650 < /* end confdefs.h.  */
13637 >  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13638 >  # uniformly replaced by the line number.  The first 'sed' inserts a
13639 >  # line-number line after each line using $LINENO; the second 'sed'
13640 >  # does the real work.  The second script uses 'N' to pair each
13641 >  # line-number line with the line containing $LINENO, and appends
13642 >  # trailing '-' during substitution so that $LINENO is not a special
13643 >  # case at line end.
13644 >  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13645 >  # scripts with optimization help from Paolo Bonzini.  Blame Lee
13646 >  # E. McMahon (1931-1989) for sed's syntax.  :-)
13647 >  sed -n '
13648 >    p
13649 >    /[$]LINENO/=
13650 >  ' <$as_myself |
13651 >    sed '
13652 >      s/[$]LINENO.*/&-/
13653 >      t lineno
13654 >      b
13655 >      :lineno
13656 >      N
13657 >      :loop
13658 >      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13659 >      t loop
13660 >      s/-\n.*//
13661 >    ' >$as_me.lineno &&
13662 >  chmod +x "$as_me.lineno" ||
13663 >    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13664 >   { (exit 1); exit 1; }; }
13665  
13666 < #ifdef HAVE_IOSTREAM
13667 < #include <fstream>
13668 < #else
13669 < #include <fstream.h>
13670 < #endif
13671 < #ifdef HAVE_STD_IOSTREAM
11500 < using namespace std;
11501 < #endif
11502 <
11503 < #ifdef FC_DUMMY_MAIN
11504 < #ifndef FC_DUMMY_MAIN_EQ_F77
11505 < #  ifdef __cplusplus
11506 <     extern "C"
11507 < #  endif
11508 <   int FC_DUMMY_MAIN() { return 1; }
11509 < #endif
11510 < #endif
11511 < int
11512 < main ()
11513 < {
11514 < ofstream s;s.open("conftest.txt",ios::out|ios::trunc);
11515 <  ;
11516 <  return 0;
13666 >  # Don't try to exec as it changes $[0], causing all sort of problems
13667 >  # (the dirname of $[0] is not the place where we might find the
13668 >  # original and so on.  Autoconf is especially sensitive to this).
13669 >  . "./$as_me.lineno"
13670 >  # Exit status is that of the last command.
13671 >  exit
13672   }
13673 < _ACEOF
13674 < rm -f conftest.$ac_objext
13675 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13676 <  (eval $ac_compile) 2>conftest.er1
11522 <  ac_status=$?
11523 <  grep -v '^ *+' conftest.er1 >conftest.err
11524 <  rm -f conftest.er1
11525 <  cat conftest.err >&5
11526 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11527 <  (exit $ac_status); } &&
11528 <         { ac_try='test -z "$ac_cxx_werror_flag"
11529 <                         || test ! -s conftest.err'
11530 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11531 <  (eval $ac_try) 2>&5
11532 <  ac_status=$?
11533 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11534 <  (exit $ac_status); }; } &&
11535 <         { ac_try='test -s conftest.$ac_objext'
11536 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11537 <  (eval $ac_try) 2>&5
11538 <  ac_status=$?
11539 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11540 <  (exit $ac_status); }; }; then
11541 <  ac_cv_cxx_have_fstream_open=yes
13673 >
13674 >
13675 > if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13676 >  as_dirname=dirname
13677   else
13678 <  echo "$as_me: failed program was:" >&5
13679 < sed 's/^/| /' conftest.$ac_ext >&5
13678 >  as_dirname=false
13679 > fi
13680  
13681 + ECHO_C= ECHO_N= ECHO_T=
13682 + case `echo -n x` in
13683 + -n*)
13684 +  case `echo 'x\c'` in
13685 +  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
13686 +  *)   ECHO_C='\c';;
13687 +  esac;;
13688 + *)
13689 +  ECHO_N='-n';;
13690 + esac
13691 + if expr a : '\(a\)' >/dev/null 2>&1 &&
13692 +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13693 +  as_expr=expr
13694 + else
13695 +  as_expr=false
13696   fi
11547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11548    # Try with mode parameter
11549    cat >conftest.$ac_ext <<_ACEOF
11550 /* confdefs.h.  */
11551 _ACEOF
11552 cat confdefs.h >>conftest.$ac_ext
11553 cat >>conftest.$ac_ext <<_ACEOF
11554 /* end confdefs.h.  */
13697  
13698 < #ifdef HAVE_IOSTREAM
13699 < #include <fstream>
13700 < #else
13701 < #include <fstream.h>
13702 < #endif
13703 < #ifdef HAVE_STD_IOSTREAM
13704 < using namespace std;
13705 < #endif
13698 > rm -f conf$$ conf$$.exe conf$$.file
13699 > if test -d conf$$.dir; then
13700 >  rm -f conf$$.dir/conf$$.file
13701 > else
13702 >  rm -f conf$$.dir
13703 >  mkdir conf$$.dir 2>/dev/null
13704 > fi
13705 > if (echo >conf$$.file) 2>/dev/null; then
13706 >  if ln -s conf$$.file conf$$ 2>/dev/null; then
13707 >    as_ln_s='ln -s'
13708 >    # ... but there are two gotchas:
13709 >    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13710 >    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13711 >    # In both cases, we have to default to `cp -p'.
13712 >    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13713 >      as_ln_s='cp -p'
13714 >  elif ln conf$$.file conf$$ 2>/dev/null; then
13715 >    as_ln_s=ln
13716 >  else
13717 >    as_ln_s='cp -p'
13718 >  fi
13719 > else
13720 >  as_ln_s='cp -p'
13721 > fi
13722 > rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13723 > rmdir conf$$.dir 2>/dev/null
13724  
13725 < #ifdef FC_DUMMY_MAIN
13726 < #ifndef FC_DUMMY_MAIN_EQ_F77
11567 < #  ifdef __cplusplus
11568 <     extern "C"
11569 < #  endif
11570 <   int FC_DUMMY_MAIN() { return 1; }
11571 < #endif
11572 < #endif
11573 < int
11574 < main ()
11575 < {
11576 < ofstream s;s.open("conftest.txt",ios::out|ios::trunc,0666);
11577 <  ;
11578 <  return 0;
11579 < }
11580 < _ACEOF
11581 < rm -f conftest.$ac_objext
11582 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11583 <  (eval $ac_compile) 2>conftest.er1
11584 <  ac_status=$?
11585 <  grep -v '^ *+' conftest.er1 >conftest.err
11586 <  rm -f conftest.er1
11587 <  cat conftest.err >&5
11588 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11589 <  (exit $ac_status); } &&
11590 <         { ac_try='test -z "$ac_cxx_werror_flag"
11591 <                         || test ! -s conftest.err'
11592 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11593 <  (eval $ac_try) 2>&5
11594 <  ac_status=$?
11595 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11596 <  (exit $ac_status); }; } &&
11597 <         { ac_try='test -s conftest.$ac_objext'
11598 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11599 <  (eval $ac_try) 2>&5
11600 <  ac_status=$?
11601 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11602 <  (exit $ac_status); }; }; then
11603 <  ac_cv_cxx_fstream_open_prot=yes
13725 > if mkdir -p . 2>/dev/null; then
13726 >  as_mkdir_p=:
13727   else
13728 <  echo "$as_me: failed program was:" >&5
13729 < sed 's/^/| /' conftest.$ac_ext >&5
13728 >  test -d ./-p && rmdir ./-p
13729 >  as_mkdir_p=false
13730 > fi
13731  
13732 + if test -x / >/dev/null 2>&1; then
13733 +  as_test_x='test -x'
13734 + else
13735 +  if ls -dL / >/dev/null 2>&1; then
13736 +    as_ls_L_option=L
13737 +  else
13738 +    as_ls_L_option=
13739 +  fi
13740 +  as_test_x='
13741 +    eval sh -c '\''
13742 +      if test -d "$1"; then
13743 +        test -d "$1/.";
13744 +      else
13745 +        case $1 in
13746 +        -*)set "./$1";;
13747 +        esac;
13748 +        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13749 +        ???[sx]*):;;*)false;;esac;fi
13750 +    '\'' sh
13751 +  '
13752   fi
13753 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11610 <    ac_ext=cc
11611 < ac_cpp='$CXXCPP $CPPFLAGS'
11612 < ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11613 < ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11614 < ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13753 > as_executable_p=$as_test_x
13754  
13755 + # Sed expression to map a string onto a valid CPP name.
13756 + as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13757  
13758 < fi
13759 < echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fstream_open" >&5
11619 < echo "${ECHO_T}$ac_cv_cxx_have_fstream_open" >&6
11620 <  if test "$ac_cv_cxx_have_fstream_open" = yes; then
13758 > # Sed expression to map a string onto a valid variable name.
13759 > as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13760  
13761 < cat >>confdefs.h <<\_ACEOF
13762 < #define HAVE_FSTREAM_OPEN 1
13761 >
13762 > exec 6>&1
13763 >
13764 > # Save the log message, to keep $[0] and so on meaningful, and to
13765 > # report actual input values of CONFIG_FILES etc. instead of their
13766 > # values after options handling.
13767 > ac_log="
13768 > This file was extended by OOPSE $as_me 4.0, which was
13769 > generated by GNU Autoconf 2.62.  Invocation command line was
13770 >
13771 >  CONFIG_FILES    = $CONFIG_FILES
13772 >  CONFIG_HEADERS  = $CONFIG_HEADERS
13773 >  CONFIG_LINKS    = $CONFIG_LINKS
13774 >  CONFIG_COMMANDS = $CONFIG_COMMANDS
13775 >  $ $0 $@
13776 >
13777 > on `(hostname || uname -n) 2>/dev/null | sed 1q`
13778 > "
13779 >
13780   _ACEOF
13781  
13782 <  fi
13783 <  if test "$ac_cv_cxx_fstream_open_prot" = yes; then
13782 > cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13783 > # Files that config.status was made for.
13784 > config_files="$ac_config_files"
13785 > config_headers="$ac_config_headers"
13786  
11629 cat >>confdefs.h <<\_ACEOF
11630 #define FSTREAM_OPEN_PROT 1
13787   _ACEOF
13788  
13789 <  fi
13789 > cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13790 > ac_cs_usage="\
13791 > \`$as_me' instantiates files from templates according to the
13792 > current configuration.
13793  
13794 + Usage: $0 [OPTIONS] [FILE]...
13795  
13796 +  -h, --help       print this help, then exit
13797 +  -V, --version    print version number and configuration settings, then exit
13798 +  -q, --quiet      do not print progress messages
13799 +  -d, --debug      don't remove temporary files
13800 +      --recheck    update $as_me by reconfiguring in the same conditions
13801 +  --file=FILE[:TEMPLATE]
13802 +                   instantiate the configuration file FILE
13803 +  --header=FILE[:TEMPLATE]
13804 +                   instantiate the configuration header FILE
13805  
13806 + Configuration files:
13807 + $config_files
13808  
13809 + Configuration headers:
13810 + $config_headers
13811  
13812 + Report bugs to <bug-autoconf@gnu.org>."
13813  
11640
11641 for ac_header in ctype.h iostream fstream sstream strstream
11642 do
11643 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11645  echo "$as_me:$LINENO: checking for $ac_header" >&5
11646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11648  echo $ECHO_N "(cached) $ECHO_C" >&6
11649 fi
11650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11651 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11652 else
11653  # Is the header compilable?
11654 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11655 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11656 cat >conftest.$ac_ext <<_ACEOF
11657 /* confdefs.h.  */
13814   _ACEOF
13815 < cat confdefs.h >>conftest.$ac_ext
13816 < cat >>conftest.$ac_ext <<_ACEOF
13817 < /* end confdefs.h.  */
13818 < $ac_includes_default
13819 < #include <$ac_header>
11664 < _ACEOF
11665 < rm -f conftest.$ac_objext
11666 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11667 <  (eval $ac_compile) 2>conftest.er1
11668 <  ac_status=$?
11669 <  grep -v '^ *+' conftest.er1 >conftest.err
11670 <  rm -f conftest.er1
11671 <  cat conftest.err >&5
11672 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11673 <  (exit $ac_status); } &&
11674 <         { ac_try='test -z "$ac_cxx_werror_flag"
11675 <                         || test ! -s conftest.err'
11676 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11677 <  (eval $ac_try) 2>&5
11678 <  ac_status=$?
11679 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11680 <  (exit $ac_status); }; } &&
11681 <         { ac_try='test -s conftest.$ac_objext'
11682 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11683 <  (eval $ac_try) 2>&5
11684 <  ac_status=$?
11685 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11686 <  (exit $ac_status); }; }; then
11687 <  ac_header_compiler=yes
11688 < else
11689 <  echo "$as_me: failed program was:" >&5
11690 < sed 's/^/| /' conftest.$ac_ext >&5
13815 > cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13816 > ac_cs_version="\\
13817 > OOPSE config.status 4.0
13818 > configured by $0, generated by GNU Autoconf 2.62,
13819 >  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13820  
13821 < ac_header_compiler=no
13822 < fi
13823 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11695 < echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11696 < echo "${ECHO_T}$ac_header_compiler" >&6
13821 > Copyright (C) 2008 Free Software Foundation, Inc.
13822 > This config.status script is free software; the Free Software Foundation
13823 > gives unlimited permission to copy, distribute and modify it."
13824  
13825 < # Is the header present?
13826 < echo "$as_me:$LINENO: checking $ac_header presence" >&5
13827 < echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13828 < cat >conftest.$ac_ext <<_ACEOF
11702 < /* confdefs.h.  */
13825 > ac_pwd='$ac_pwd'
13826 > srcdir='$srcdir'
13827 > INSTALL='$INSTALL'
13828 > test -n "\$AWK" || AWK=awk
13829   _ACEOF
11704 cat confdefs.h >>conftest.$ac_ext
11705 cat >>conftest.$ac_ext <<_ACEOF
11706 /* end confdefs.h.  */
11707 #include <$ac_header>
11708 _ACEOF
11709 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11710  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11711  ac_status=$?
11712  grep -v '^ *+' conftest.er1 >conftest.err
11713  rm -f conftest.er1
11714  cat conftest.err >&5
11715  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11716  (exit $ac_status); } >/dev/null; then
11717  if test -s conftest.err; then
11718    ac_cpp_err=$ac_cxx_preproc_warn_flag
11719    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
11720  else
11721    ac_cpp_err=
11722  fi
11723 else
11724  ac_cpp_err=yes
11725 fi
11726 if test -z "$ac_cpp_err"; then
11727  ac_header_preproc=yes
11728 else
11729  echo "$as_me: failed program was:" >&5
11730 sed 's/^/| /' conftest.$ac_ext >&5
13830  
13831 <  ac_header_preproc=no
13832 < fi
13833 < rm -f conftest.err conftest.$ac_ext
13834 < echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13835 < echo "${ECHO_T}$ac_header_preproc" >&6
13836 <
13837 < # So?  What about this header?
13838 < case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
13839 <  yes:no: )
13840 <    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11742 < echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11743 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11744 < echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11745 <    ac_header_preproc=yes
13831 > cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13832 > # The default lists apply if the user does not specify any file.
13833 > ac_need_defaults=:
13834 > while test $# != 0
13835 > do
13836 >  case $1 in
13837 >  --*=*)
13838 >    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13839 >    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13840 >    ac_shift=:
13841      ;;
13842 <  no:yes:* )
13843 <    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13844 < echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13845 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11751 < echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11752 <    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11753 < echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11754 <    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11755 < echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11756 <    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11757 < echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11758 <    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11759 < echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11760 <    (
11761 <      cat <<\_ASBOX
11762 < ## ------------------------------ ##
11763 < ## Report this to gezelter@nd.edu ##
11764 < ## ------------------------------ ##
11765 < _ASBOX
11766 <    ) |
11767 <      sed "s/^/$as_me: WARNING:     /" >&2
13842 >  *)
13843 >    ac_option=$1
13844 >    ac_optarg=$2
13845 >    ac_shift=shift
13846      ;;
13847 < esac
11770 < echo "$as_me:$LINENO: checking for $ac_header" >&5
11771 < echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11772 < if eval "test \"\${$as_ac_Header+set}\" = set"; then
11773 <  echo $ECHO_N "(cached) $ECHO_C" >&6
11774 < else
11775 <  eval "$as_ac_Header=\$ac_header_preproc"
11776 < fi
11777 < echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11778 < echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13847 >  esac
13848  
13849 < fi
13850 < if test `eval echo '${'$as_ac_Header'}'` = yes; then
13851 <  cat >>confdefs.h <<_ACEOF
13852 < #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13853 < _ACEOF
13849 >  case $ac_option in
13850 >  # Handling of the options.
13851 >  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13852 >    ac_cs_recheck=: ;;
13853 >  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13854 >    $as_echo "$ac_cs_version"; exit ;;
13855 >  --debug | --debu | --deb | --de | --d | -d )
13856 >    debug=: ;;
13857 >  --file | --fil | --fi | --f )
13858 >    $ac_shift
13859 >    case $ac_optarg in
13860 >    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13861 >    esac
13862 >    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
13863 >    ac_need_defaults=false;;
13864 >  --header | --heade | --head | --hea )
13865 >    $ac_shift
13866 >    case $ac_optarg in
13867 >    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13868 >    esac
13869 >    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
13870 >    ac_need_defaults=false;;
13871 >  --he | --h)
13872 >    # Conflict between --help and --header
13873 >    { $as_echo "$as_me: error: ambiguous option: $1
13874 > Try \`$0 --help' for more information." >&2
13875 >   { (exit 1); exit 1; }; };;
13876 >  --help | --hel | -h )
13877 >    $as_echo "$ac_cs_usage"; exit ;;
13878 >  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13879 >  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13880 >    ac_cs_silent=: ;;
13881  
13882 < fi
13882 >  # This is an error.
13883 >  -*) { $as_echo "$as_me: error: unrecognized option: $1
13884 > Try \`$0 --help' for more information." >&2
13885 >   { (exit 1); exit 1; }; } ;;
13886  
13887 +  *) ac_config_targets="$ac_config_targets $1"
13888 +     ac_need_defaults=false ;;
13889 +
13890 +  esac
13891 +  shift
13892   done
13893  
13894 < # AC_CPP_FUNC
11791 < # ------------------ #
11792 < # Checks to see if ANSI C99 CPP variable __func__ works.
11793 < # If not, perhaps __FUNCTION__ works instead.
11794 < # If not, we'll just define __func__ to "".
11795 < # AC_CPP_FUNC
13894 > ac_configure_extra_args=
13895  
13896 + if $ac_cs_silent; then
13897 +  exec 6>/dev/null
13898 +  ac_configure_extra_args="$ac_configure_extra_args --silent"
13899 + fi
13900  
11798 echo "$as_me:$LINENO: checking for an ANSI C99-conforming __func__" >&5
11799 echo $ECHO_N "checking for an ANSI C99-conforming __func__... $ECHO_C" >&6
11800 if test "${ac_cv_cpp_func+set}" = set; then
11801  echo $ECHO_N "(cached) $ECHO_C" >&6
11802 else
11803  cat >conftest.$ac_ext <<_ACEOF
11804 /* confdefs.h.  */
13901   _ACEOF
13902 < cat confdefs.h >>conftest.$ac_ext
13903 < cat >>conftest.$ac_ext <<_ACEOF
13904 < /* end confdefs.h.  */
13905 <
13906 < #ifdef FC_DUMMY_MAIN
13907 < #ifndef FC_DUMMY_MAIN_EQ_F77
13908 < #  ifdef __cplusplus
13909 <     extern "C"
13910 < #  endif
11815 <   int FC_DUMMY_MAIN() { return 1; }
11816 < #endif
11817 < #endif
11818 < int
11819 < main ()
11820 < {
11821 < const char *foo = __func__;
11822 <  ;
11823 <  return 0;
11824 < }
11825 < _ACEOF
11826 < rm -f conftest.$ac_objext
11827 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11828 <  (eval $ac_compile) 2>conftest.er1
11829 <  ac_status=$?
11830 <  grep -v '^ *+' conftest.er1 >conftest.err
11831 <  rm -f conftest.er1
11832 <  cat conftest.err >&5
11833 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 <  (exit $ac_status); } &&
11835 <         { ac_try='test -z "$ac_cxx_werror_flag"
11836 <                         || test ! -s conftest.err'
11837 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11838 <  (eval $ac_try) 2>&5
11839 <  ac_status=$?
11840 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 <  (exit $ac_status); }; } &&
11842 <         { ac_try='test -s conftest.$ac_objext'
11843 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11844 <  (eval $ac_try) 2>&5
11845 <  ac_status=$?
11846 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 <  (exit $ac_status); }; }; then
11848 <  ac_cv_cpp_func=yes
11849 < else
11850 <  echo "$as_me: failed program was:" >&5
11851 < sed 's/^/| /' conftest.$ac_ext >&5
13902 > cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13903 > if \$ac_cs_recheck; then
13904 >  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13905 >  shift
13906 >  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13907 >  CONFIG_SHELL='$SHELL'
13908 >  export CONFIG_SHELL
13909 >  exec "\$@"
13910 > fi
13911  
11853 cat >conftest.$ac_ext <<_ACEOF
11854 /* confdefs.h.  */
13912   _ACEOF
13913 < cat confdefs.h >>conftest.$ac_ext
13914 < cat >>conftest.$ac_ext <<_ACEOF
11858 < /* end confdefs.h.  */
11859 <
11860 < #ifdef FC_DUMMY_MAIN
11861 < #ifndef FC_DUMMY_MAIN_EQ_F77
11862 < #  ifdef __cplusplus
11863 <     extern "C"
11864 < #  endif
11865 <   int FC_DUMMY_MAIN() { return 1; }
11866 < #endif
11867 < #endif
11868 < int
11869 < main ()
13913 > cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13914 > exec 5>>config.log
13915   {
13916 < const char *foo = __FUNCTION__;
13917 <  ;
13918 <  return 0;
13919 < }
13916 >  echo
13917 >  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13918 > ## Running $as_me. ##
13919 > _ASBOX
13920 >  $as_echo "$ac_log"
13921 > } >&5
13922 >
13923   _ACEOF
13924 < rm -f conftest.$ac_objext
13925 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11878 <  (eval $ac_compile) 2>conftest.er1
11879 <  ac_status=$?
11880 <  grep -v '^ *+' conftest.er1 >conftest.err
11881 <  rm -f conftest.er1
11882 <  cat conftest.err >&5
11883 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11884 <  (exit $ac_status); } &&
11885 <         { ac_try='test -z "$ac_cxx_werror_flag"
11886 <                         || test ! -s conftest.err'
11887 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11888 <  (eval $ac_try) 2>&5
11889 <  ac_status=$?
11890 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 <  (exit $ac_status); }; } &&
11892 <         { ac_try='test -s conftest.$ac_objext'
11893 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11894 <  (eval $ac_try) 2>&5
11895 <  ac_status=$?
11896 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11897 <  (exit $ac_status); }; }; then
11898 <  ac_cv_cpp_func=__FUNCTION__
11899 < else
11900 <  echo "$as_me: failed program was:" >&5
11901 < sed 's/^/| /' conftest.$ac_ext >&5
13924 > cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13925 > _ACEOF
13926  
13927 < ac_cv_cpp_func=no
11904 < fi
11905 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11906 < fi
11907 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11908 < fi
11909 < echo "$as_me:$LINENO: result: $ac_cv_cpp_func" >&5
11910 < echo "${ECHO_T}$ac_cv_cpp_func" >&6
11911 < if test $ac_cv_cpp_func = __FUNCTION__; then
13927 > cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13928  
13929 < cat >>confdefs.h <<\_ACEOF
13930 < #define __func__ __FUNCTION__
13931 < _ACEOF
13929 > # Handling of arguments.
13930 > for ac_config_target in $ac_config_targets
13931 > do
13932 >  case $ac_config_target in
13933 >    "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
13934 >    "make/Makefile") CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
13935 >    "src/utils/Makefile") CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
13936 >    "src/math/Makefile") CONFIG_FILES="$CONFIG_FILES src/math/Makefile" ;;
13937 >    "src/integrators/Makefile") CONFIG_FILES="$CONFIG_FILES src/integrators/Makefile" ;;
13938 >    "src/applications/atom2md/Makefile") CONFIG_FILES="$CONFIG_FILES src/applications/atom2md/Makefile" ;;
13939 >    "scripts/filepp") CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;;
13940  
13941 < elif test $ac_cv_cpp_func = no; then
13941 >  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13942 > $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13943 >   { (exit 1); exit 1; }; };;
13944 >  esac
13945 > done
13946  
11919 cat >>confdefs.h <<\_ACEOF
11920 #define __func__ ""
11921 _ACEOF
13947  
13948 + # If the user did not use the arguments to specify the items to instantiate,
13949 + # then the envvar interface is used.  Set only those that are not.
13950 + # We use the long form for the default assignment because of an extremely
13951 + # bizarre bug on SunOS 4.1.3.
13952 + if $ac_need_defaults; then
13953 +  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13954 +  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13955   fi
13956  
13957 + # Have a temporary directory for convenience.  Make it in the build tree
13958 + # simply because there is no reason against having it here, and in addition,
13959 + # creating and moving files from /tmp can sometimes cause problems.
13960 + # Hook for its removal unless debugging.
13961 + # Note that there is a small window in which the directory will not be cleaned:
13962 + # after its creation but before its name has been assigned to `$tmp'.
13963 + $debug ||
13964 + {
13965 +  tmp=
13966 +  trap 'exit_status=$?
13967 +  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13968 + ' 0
13969 +  trap '{ (exit 1); exit 1; }' 1 2 13 15
13970 + }
13971 + # Create a (secure) tmp directory for tmp files.
13972  
13973 + {
13974 +  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13975 +  test -n "$tmp" && test -d "$tmp"
13976 + }  ||
13977 + {
13978 +  tmp=./conf$$-$RANDOM
13979 +  (umask 077 && mkdir "$tmp")
13980 + } ||
13981 + {
13982 +   $as_echo "$as_me: cannot create a temporary directory in ." >&2
13983 +   { (exit 1); exit 1; }
13984 + }
13985  
13986 + # Set up the scripts for CONFIG_FILES section.
13987 + # No need to generate them if there are no CONFIG_FILES.
13988 + # This happens for instance with `./config.status config.h'.
13989 + if test -n "$CONFIG_FILES"; then
13990  
13991  
13992 < case $debug in
13993 <  1)
13994 <     ;;
13995 <  *)
13992 > ac_cr='
13993 > '
13994 > ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13995 > if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13996 >  ac_cs_awk_cr='\\r'
13997 > else
13998 >  ac_cs_awk_cr=$ac_cr
13999 > fi
14000  
14001 + echo 'BEGIN {' >"$tmp/subs1.awk" &&
14002 + _ACEOF
14003  
14004  
14005 + {
14006 +  echo "cat >conf$$subs.awk <<_ACEOF" &&
14007 +  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14008 +  echo "_ACEOF"
14009 + } >conf$$subs.sh ||
14010 +  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14011 + $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14012 +   { (exit 1); exit 1; }; }
14013 + ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14014 + ac_delim='%!_!# '
14015 + for ac_last_try in false false false false false :; do
14016 +  . ./conf$$subs.sh ||
14017 +    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14018 + $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14019 +   { (exit 1); exit 1; }; }
14020  
14021 < # Try to determine "good" native compiler flags if none specified on command
14022 < # line
14021 >  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
14022 >    break
14023 >  elif $ac_last_try; then
14024 >    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14025 > $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14026 >   { (exit 1); exit 1; }; }
14027 >  else
14028 >    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14029 >  fi
14030 > done
14031 > rm -f conf$$subs.sh
14032  
14033 < if test "$ac_test_FFLAGS" != "set"; then
14034 <  FCFLAGS=""
14035 <  case "${host_cpu}-${host_os}" in
14036 <
14037 <  *linux*) if test "$FC" = ifc -o "$FC" = ifort; then
14038 <                    FCFLAGS="-O3 -ip -no-prec-div -cxxlib-icc"
14039 <                fi;;
14040 <   rs6000*-aix*)  if test "$FC" = xlf90 -o "$FC" = f90 -o "$FC" = xlf95; then
14041 <                    FCFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
14042 <                fi;;
14043 <   powerpc*-aix*)
14044 <        if test "$FC" = f90 -o "$FC" = xlf90 -o "$FC" = xlf95; then
14045 <                FCFLAGS="-O3 -qarch=ppc -qansialias -w"
14046 <                echo "*******************************************************"
14047 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
14048 <                echo "*  recommended that you use                           *"
14049 <                echo "*                                                     *"
14050 <                echo "*   FCFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
14051 <                echo "*                                 ^^^                 *"
14052 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
14053 <                echo "*  PowerPC CPU you have.   For more info, man xlf.    *"
14054 <                echo "*******************************************************"
14055 <        fi;;
14056 <   *darwin*)
14057 <        if test "$FC" = f90 -o "$FC" = xlf90 -o "$FC" = xlf95; then
14058 <                FCFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto"
14059 <        fi
14060 <        if test "$FC" = ifort; then
14061 <                FCFLAGS="-O3 -ip -no-prec-dev -mdynamic-no-pic"
14062 <        fi;;
14063 <  esac
14064 <
14065 <  if test -n "$CPU_FLAGS"; then
14066 <        FCFLAGS="$FCFLAGS $CPU_FLAGS"
14067 <  fi
14068 <
14069 <  if test -z "$FCFLAGS"; then
14070 <        echo ""
14071 <        echo "*********************************************************"
14072 <        echo "* WARNING: Don't know the best FCFLAGS for this system  *"
14073 <        echo "* Use  make FCFLAGS=..., or edit the top level Makefile *"
14074 <        echo "* (otherwise, a default of FCFLAGS=-O3 will be used)    *"
14075 <        echo "*********************************************************"
14076 <        echo ""
14077 <        FCFLAGS="-O3"
14078 <  fi
14079 <
14080 <
14081 < echo "$as_me:$LINENO: checking whether ${FC} accepts ${FCFLAGS}" >&5
14082 < echo $ECHO_N "checking whether ${FC} accepts ${FCFLAGS}... $ECHO_C" >&6
14083 < if test "${ac_guessed_f90flags+set}" = set; then
14084 <  echo $ECHO_N "(cached) $ECHO_C" >&6
14085 < else
14086 <
14087 <
14088 <
14089 < ac_ext=${FC_SRCEXT-f}
14090 < ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
14091 < ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
14092 < ac_compiler_gnu=$ac_cv_fc_compiler_gnu
14093 <
14094 < echo 'program main' > conftest.$ac_ext
14095 < echo 'end program main' >> conftest.$ac_ext
14096 < ac_compile='${FC} -c ${FCFLAGS} $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext 1>&5'
14097 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14098 <  (eval $ac_compile) 2>&5
14099 <  ac_status=$?
14100 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101 <  (exit $ac_status); }; then
14102 <        ac_guessed_f90flags=yes
14103 < else
14104 <        ac_guessed_f90flags=no
14105 < fi
14106 < rm -f conftest*
14107 < ac_ext=cc
14108 < ac_cpp='$CXXCPP $CPPFLAGS'
14109 < ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14110 < ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14111 < ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14112 <
14113 <
14114 < fi
14115 < echo "$as_me:$LINENO: result: $ac_guessed_f90flags" >&5
14116 < echo "${ECHO_T}$ac_guessed_f90flags" >&6
14117 < if test "$ac_guessed_f90flags" = yes; then
14118 <        :
14119 <
14120 < else
14121 <        :
14122 <
14123 <        echo ""
14124 <        echo "**********************************************************"
14125 <        echo "* WARNING: The guessed FCFLAGS don't seem to work with  *"
14126 <        echo "* your compiler.                                        *"
14127 <        echo "* Use  make FCFLAGS=..., or edit the top level Makefile *"
14128 <        echo "*********************************************************"
14129 <        echo ""
14130 <        FCFLAGS=""
14131 <
14132 < fi
14133 <
14134 <
14135 < fi
14136 <
14137 <
14138 <
14139 <
14140 <
14141 <
14142 <
14143 < echo "$as_me:$LINENO: checking whether we are *really* using GNU cc" >&5
14144 < echo $ECHO_N "checking whether we are *really* using GNU cc... $ECHO_C" >&6
14145 < if test "${ac_cv_prog_really_gcc+set}" = set; then
14146 <  echo $ECHO_N "(cached) $ECHO_C" >&6
14147 < else
14148 <
14149 < cat > conftest.c <<EOF
14150 < #ifdef __GNUC__
14151 <  #if defined(__INTEL_COMPILER) || defined(__PATHCC__)
14152 <     no;
14153 <  #else
14154 <     yes;
14155 <  #endif
14156 < #endif
14157 < EOF
14158 < if { ac_try='${CC-cc} -E conftest.c'
14159 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14160 <  (eval $ac_try) 2>&5
14161 <  ac_status=$?
14162 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14163 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
14164 <  ac_cv_prog_really_gcc=yes
14165 < else
14166 <  ac_cv_prog_really_gcc=no
14167 < fi
14168 <
14169 < fi
14170 < echo "$as_me:$LINENO: result: $ac_cv_prog_really_gcc" >&5
14171 < echo "${ECHO_T}$ac_cv_prog_really_gcc" >&6
14172 < if test "$ac_cv_prog_really_gcc" = yes; then
14173 <        :
14174 <
14175 < else
14176 <        :
14177 <
14178 < fi
14179 <
14180 <
14181 < # Try to determine "good" native compiler flags if none specified on command
14182 < # line
14183 < if test "$ac_test_CFLAGS" != "set"; then
14184 <  CFLAGS=""
14185 <  case "${host_cpu}-${host_os}" in
14186 <
14187 <  *linux*) if test "$CC" = icc; then
14188 <                    CFLAGS="-O"
14189 <                fi;;
14190 <  sparc-solaris2*) if test "$CC" = cc; then
14191 <                    CFLAGS="-O -dalign"
14192 <                 fi;;
14193 <
14194 <  alpha*-osf*)  if test "$CC" = cc; then
14195 <                    CFLAGS="-newc -w0 -O5 -ansi_alias -ansi_args -fp_reorder -tune host -arch host -std1"
14196 <                fi;;
14197 <
14198 <  hppa*-hpux*)  if test "$CC" = cc; then
14199 <                    CFLAGS="-Ae +O3 +Oall"
14200 <                fi;;
14201 <
14202 <   rs6000*-aix*)  if test "$CC" = cc -o "$CC" = xlc; then
14203 <                    CFLAGS="-O3 -qtune=auto -qansialias -w"
14204 <                fi;;
14205 <   powerpc*-aix*)
14206 <        if test "$CC" = cc -o "$CC" = xlc; then
14207 <                CFLAGS="-O3 -qtune=auto -qansialias -w"
14208 <                echo "*******************************************************"
14209 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
14210 <                echo "*  recommended that you use                           *"
14211 <                echo "*                                                     *"
14212 <                echo "*    CFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
14213 <                echo "*                                 ^^^                 *"
14214 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
14215 <                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
14216 <                echo "*******************************************************"
14217 <        fi;;
14218 <   *darwin*)
14219 <        if test "$CC" = xlc -o "$CC" = cc; then
14220 <                CFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
14221 <        fi
14222 <        if test "$CC" = icc; then
14223 <                CFLAGS="-O3 -ip -no-prec-div -mdynamic-no-pic"
14224 <        fi;;
14225 <  esac
14226 <
14227 <  # use default flags for gcc on all systems
14228 <  if test $ac_cv_prog_really_gcc = yes; then
14229 <     CFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
14230 <  fi
14231 <
14232 <  # test for gcc-specific flags:
14233 <  if test $ac_cv_prog_really_gcc = yes; then
14234 <    # -malign-double for x86 systems
14235 <
14236 <
14237 < echo "$as_me:$LINENO: checking whether ${CC} accepts -malign-double" >&5
14238 < echo $ECHO_N "checking whether ${CC} accepts -malign-double... $ECHO_C" >&6
14239 < if test "${ac_align_double+set}" = set; then
14240 <  echo $ECHO_N "(cached) $ECHO_C" >&6
14241 < else
14242 <  echo 'void f(){}' > conftest.c
14243 < if test -z "`${CC} -malign-double -c conftest.c 2>&1`"; then
14244 <        ac_align_double=yes
14245 < else
14246 <        ac_align_double=no
14247 < fi
14248 < rm -f conftest*
14249 <
14250 < fi
14251 < echo "$as_me:$LINENO: result: $ac_align_double" >&5
14252 < echo "${ECHO_T}$ac_align_double" >&6
14253 < if test "$ac_align_double" = yes; then
14254 <        :
14255 <        CFLAGS="$CFLAGS -malign-double"
14256 < else
14257 <        :
14258 <
14259 < fi
14260 <
14261 <    # -fstrict-aliasing for gcc-2.95+
14262 <
14263 <
14264 < echo "$as_me:$LINENO: checking whether ${CC} accepts -fstrict-aliasing" >&5
14265 < echo $ECHO_N "checking whether ${CC} accepts -fstrict-aliasing... $ECHO_C" >&6
14266 < if test "${ac_fstrict_aliasing+set}" = set; then
14267 <  echo $ECHO_N "(cached) $ECHO_C" >&6
14268 < else
14269 <  echo 'void f(){}' > conftest.c
14270 < if test -z "`${CC} -fstrict-aliasing -c conftest.c 2>&1`"; then
14271 <        ac_fstrict_aliasing=yes
14272 < else
14273 <        ac_fstrict_aliasing=no
14274 < fi
14275 < rm -f conftest*
14276 <
14277 < fi
14278 < echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
14279 < echo "${ECHO_T}$ac_fstrict_aliasing" >&6
14280 < if test "$ac_fstrict_aliasing" = yes; then
14281 <        :
14282 <        CFLAGS="$CFLAGS -fstrict-aliasing"
14283 < else
14284 <        :
14285 <
14286 < fi
14287 <
14288 <  fi
14289 <
14290 <  CPU_FLAGS=""
14291 <  if test $ac_cv_prog_really_gcc = yes; then
14292 <                  case "${host_cpu}" in
14293 <          i586*)
14294 <
14295 < echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=pentium" >&5
14296 < echo $ECHO_N "checking whether ${CC} accepts -mcpu=pentium... $ECHO_C" >&6
14297 < if test "${ac_cpu_pentium+set}" = set; then
14298 <  echo $ECHO_N "(cached) $ECHO_C" >&6
14299 < else
14300 <  echo 'void f(){}' > conftest.c
14301 < if test -z "`${CC} -mcpu=pentium -c conftest.c 2>&1`"; then
14302 <        ac_cpu_pentium=yes
14303 < else
14304 <        ac_cpu_pentium=no
14305 < fi
14306 < rm -f conftest*
14307 <
14308 < fi
14309 < echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
14310 < echo "${ECHO_T}$ac_cpu_pentium" >&6
14311 < if test "$ac_cpu_pentium" = yes; then
14312 <        :
14313 <        CPU_FLAGS=-mcpu=pentium
14314 < else
14315 <        :
14316 <
14317 <
14318 < echo "$as_me:$LINENO: checking whether ${CC} accepts -mpentium" >&5
14319 < echo $ECHO_N "checking whether ${CC} accepts -mpentium... $ECHO_C" >&6
14320 < if test "${ac_pentium+set}" = set; then
14321 <  echo $ECHO_N "(cached) $ECHO_C" >&6
14322 < else
14323 <  echo 'void f(){}' > conftest.c
14324 < if test -z "`${CC} -mpentium -c conftest.c 2>&1`"; then
14325 <        ac_pentium=yes
14326 < else
14327 <        ac_pentium=no
14328 < fi
14329 < rm -f conftest*
14330 <
14331 < fi
14332 < echo "$as_me:$LINENO: result: $ac_pentium" >&5
14333 < echo "${ECHO_T}$ac_pentium" >&6
14334 < if test "$ac_pentium" = yes; then
14335 <        :
14336 <        CPU_FLAGS=-mpentium
14337 < else
14338 <        :
14339 <
14340 < fi
14341 <
14342 < fi
14343 <
14344 <                  ;;
14345 <          i686*)
14346 <
14347 < echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=pentiumpro" >&5
14348 < echo $ECHO_N "checking whether ${CC} accepts -mcpu=pentiumpro... $ECHO_C" >&6
14349 < if test "${ac_cpu_pentiumpro+set}" = set; then
14350 <  echo $ECHO_N "(cached) $ECHO_C" >&6
14351 < else
14352 <  echo 'void f(){}' > conftest.c
14353 < if test -z "`${CC} -mcpu=pentiumpro -c conftest.c 2>&1`"; then
14354 <        ac_cpu_pentiumpro=yes
14355 < else
14356 <        ac_cpu_pentiumpro=no
14357 < fi
14358 < rm -f conftest*
14359 <
14360 < fi
14361 < echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
14362 < echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
14363 < if test "$ac_cpu_pentiumpro" = yes; then
14364 <        :
14365 <        CPU_FLAGS=-mcpu=pentiumpro
14366 < else
14367 <        :
14368 <
14369 <
14370 < echo "$as_me:$LINENO: checking whether ${CC} accepts -mpentiumpro" >&5
14371 < echo $ECHO_N "checking whether ${CC} accepts -mpentiumpro... $ECHO_C" >&6
14372 < if test "${ac_pentiumpro+set}" = set; then
14373 <  echo $ECHO_N "(cached) $ECHO_C" >&6
14374 < else
14375 <  echo 'void f(){}' > conftest.c
14376 < if test -z "`${CC} -mpentiumpro -c conftest.c 2>&1`"; then
14377 <        ac_pentiumpro=yes
14378 < else
14379 <        ac_pentiumpro=no
14380 < fi
14381 < rm -f conftest*
14382 <
14383 < fi
14384 < echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
14385 < echo "${ECHO_T}$ac_pentiumpro" >&6
14386 < if test "$ac_pentiumpro" = yes; then
14387 <        :
14388 <        CPU_FLAGS=-mpentiumpro
14389 < else
14390 <        :
14391 <
14392 < fi
14393 <
14394 < fi
14395 <
14396 <                  ;;
14397 <          powerpc*)
14398 <                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
14399 <                is60x=`echo $cputype | egrep "^600-9e?$"`
14400 <                if test -n "$is60x"; then
14401 <
14402 <
14403 < echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=$cputype" >&5
14404 < echo $ECHO_N "checking whether ${CC} accepts -mcpu=$cputype... $ECHO_C" >&6
14405 < if test "${ac_m_cpu_60x+set}" = set; then
14406 <  echo $ECHO_N "(cached) $ECHO_C" >&6
14407 < else
14408 <  echo 'void f(){}' > conftest.c
14409 < if test -z "`${CC} -mcpu=$cputype -c conftest.c 2>&1`"; then
14410 <        ac_m_cpu_60x=yes
14411 < else
14412 <        ac_m_cpu_60x=no
14413 < fi
14414 < rm -f conftest*
14415 <
14416 < fi
14417 < echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
14418 < echo "${ECHO_T}$ac_m_cpu_60x" >&6
14419 < if test "$ac_m_cpu_60x" = yes; then
14420 <        :
14421 <        CPU_FLAGS=-mcpu=$cputype
14422 < else
14423 <        :
14424 <
14425 < fi
14426 <
14427 <                elif test "$cputype" = 750; then
14428 <
14429 <
14430 < echo "$as_me:$LINENO: checking whether we are using gcc 2.95 or later" >&5
14431 < echo $ECHO_N "checking whether we are using gcc 2.95 or later... $ECHO_C" >&6
14432 < if test "${ac_cv_prog_gcc_2_95+set}" = set; then
14433 <  echo $ECHO_N "(cached) $ECHO_C" >&6
14434 < else
14435 <
14436 < cat > conftest.c <<EOF
14437 < #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
14438 < #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
14439 <     yes;
14440 < #  endif
14441 < #endif
14442 < EOF
14443 < if { ac_try='${CC-cc} -E conftest.c'
14444 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14445 <  (eval $ac_try) 2>&5
14446 <  ac_status=$?
14447 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
14449 <  ac_cv_prog_gcc_2_95=yes
14450 < else
14451 <  ac_cv_prog_gcc_2_95=no
14452 < fi
14453 <
14454 < fi
14455 < echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_2_95" >&5
14456 < echo "${ECHO_T}$ac_cv_prog_gcc_2_95" >&6
14457 < if test "$ac_cv_prog_gcc_2_95" = yes; then
14458 <        :
14459 <
14460 <
14461 < echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=750" >&5
14462 < echo $ECHO_N "checking whether ${CC} accepts -mcpu=750... $ECHO_C" >&6
14463 < if test "${ac_m_cpu_750+set}" = set; then
14464 <  echo $ECHO_N "(cached) $ECHO_C" >&6
14465 < else
14466 <  echo 'void f(){}' > conftest.c
14467 < if test -z "`${CC} -mcpu=750 -c conftest.c 2>&1`"; then
14468 <        ac_m_cpu_750=yes
14469 < else
14470 <        ac_m_cpu_750=no
14471 < fi
14472 < rm -f conftest*
14473 <
14474 < fi
14475 < echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
14476 < echo "${ECHO_T}$ac_m_cpu_750" >&6
14477 < if test "$ac_m_cpu_750" = yes; then
14478 <        :
14479 <        CPU_FLAGS=-mcpu=750
14480 < else
14481 <        :
14482 <
14483 < fi
14484 <
14485 < else
14486 <        :
14487 <
14488 < fi
14489 <
14490 <                fi
14491 <                if test -z "$CPU_FLAGS"; then
14492 <
14493 <
14494 < echo "$as_me:$LINENO: checking whether ${CC} accepts -mcpu=powerpc" >&5
14495 < echo $ECHO_N "checking whether ${CC} accepts -mcpu=powerpc... $ECHO_C" >&6
14496 < if test "${ac_m_cpu_powerpc+set}" = set; then
14497 <  echo $ECHO_N "(cached) $ECHO_C" >&6
14498 < else
14499 <  echo 'void f(){}' > conftest.c
14500 < if test -z "`${CC} -mcpu=powerpc -c conftest.c 2>&1`"; then
14501 <        ac_m_cpu_powerpc=yes
14502 < else
14503 <        ac_m_cpu_powerpc=no
14504 < fi
14505 < rm -f conftest*
14506 <
14507 < fi
14508 < echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
14509 < echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
14510 < if test "$ac_m_cpu_powerpc" = yes; then
14511 <        :
14512 <        CPU_FLAGS=-mcpu=powerpc
14513 < else
14514 <        :
14515 <
14516 < fi
14517 <
14518 <                fi
14519 <                if test -z "$CPU_FLAGS"; then
14520 <
14521 <
14522 < echo "$as_me:$LINENO: checking whether ${CC} accepts -mpowerpc" >&5
14523 < echo $ECHO_N "checking whether ${CC} accepts -mpowerpc... $ECHO_C" >&6
14524 < if test "${ac_m_powerpc+set}" = set; then
14525 <  echo $ECHO_N "(cached) $ECHO_C" >&6
14526 < else
14527 <  echo 'void f(){}' > conftest.c
14528 < if test -z "`${CC} -mpowerpc -c conftest.c 2>&1`"; then
14529 <        ac_m_powerpc=yes
14530 < else
14531 <        ac_m_powerpc=no
14532 < fi
14533 < rm -f conftest*
14534 <
14535 < fi
14536 < echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
14537 < echo "${ECHO_T}$ac_m_powerpc" >&6
14538 < if test "$ac_m_powerpc" = yes; then
14539 <        :
14540 <        CPU_FLAGS=-mpowerpc
14541 < else
14542 <        :
14543 <
14544 < fi
14545 <
14546 <                fi
14547 <          esac
14548 <  fi
14549 <
14550 <  if test -n "$CPU_FLAGS"; then
14551 <        CFLAGS="$CFLAGS $CPU_FLAGS"
14552 <  fi
14553 <
14554 <  if test -z "$CFLAGS"; then
14555 <        echo ""
14556 <        echo "********************************************************"
14557 <        echo "* WARNING: Don't know the best CFLAGS for this system  *"
14558 <        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
14559 <        echo "* (otherwise, a default of CFLAGS=-O3 will be used)    *"
14560 <        echo "********************************************************"
14561 <        echo ""
14562 <        CFLAGS="-O3"
14563 <  fi
14564 <
14565 <
14566 <
14567 < echo "$as_me:$LINENO: checking whether ${CC} accepts ${CFLAGS}" >&5
14568 < echo $ECHO_N "checking whether ${CC} accepts ${CFLAGS}... $ECHO_C" >&6
14569 < if test "${ac_guessed_cflags+set}" = set; then
14570 <  echo $ECHO_N "(cached) $ECHO_C" >&6
14571 < else
14572 <  echo 'void f(){}' > conftest.c
14573 < if test -z "`${CC} ${CFLAGS} -c conftest.c 2>&1`"; then
14574 <        ac_guessed_cflags=yes
14575 < else
14576 <        ac_guessed_cflags=no
14577 < fi
14578 < rm -f conftest*
14579 <
14580 < fi
14581 < echo "$as_me:$LINENO: result: $ac_guessed_cflags" >&5
14582 < echo "${ECHO_T}$ac_guessed_cflags" >&6
14583 < if test "$ac_guessed_cflags" = yes; then
14584 <        :
14585 <
14586 < else
14587 <        :
14588 <
14589 <        echo ""
14590 <        echo "********************************************************"
14591 <        echo "* WARNING: The guessed CFLAGS don't seem to work with  *"
14592 <        echo "* your compiler.                                       *"
14593 <        echo "* Use  make CFLAGS=..., or edit the top level Makefile *"
14594 <        echo "********************************************************"
14595 <        echo ""
12503 <        CFLAGS=""
12504 <
12505 < fi
12506 <
12507 <
12508 < fi
12509 <
12510 <
12511 <
12512 <
12513 <
12514 <
12515 <
12516 < echo "$as_me:$LINENO: checking whether we are *really* using GNU c++" >&5
12517 < echo $ECHO_N "checking whether we are *really* using GNU c++... $ECHO_C" >&6
12518 < if test "${ac_cv_prog_really_gxx+set}" = set; then
12519 <  echo $ECHO_N "(cached) $ECHO_C" >&6
12520 < else
12521 <
12522 < cat > conftest.cpp <<EOF
12523 < #ifdef __GNUC__
12524 <  #if defined(__INTEL_COMPILER) || defined(__PATHCC__)
12525 <     no;
12526 <  #else
12527 <     yes;
12528 <  #endif
12529 < #endif
12530 < EOF
12531 < if { ac_try='${CXX-c++} -E conftest.cpp'
12532 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12533 <  (eval $ac_try) 2>&5
12534 <  ac_status=$?
12535 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12536 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
12537 <  ac_cv_prog_really_gxx=yes
12538 < else
12539 <  ac_cv_prog_really_gxx=no
12540 < fi
12541 <
12542 < fi
12543 < echo "$as_me:$LINENO: result: $ac_cv_prog_really_gxx" >&5
12544 < echo "${ECHO_T}$ac_cv_prog_really_gxx" >&6
12545 < if test "$ac_cv_prog_really_gxx" = yes; then
12546 <        :
12547 <
12548 < else
12549 <        :
12550 <
12551 < fi
12552 <
12553 <
12554 < # Try to determine "good" native compiler flags if none specified on command
12555 < # line
12556 < if test "$ac_test_CXXFLAGS" != "set"; then
12557 <  CXXFLAGS=""
12558 <  case "${host_cpu}-${host_os}" in
12559 <
12560 <  *linux*) if test "$CXX" = icc -o "$CXX" = icpc; then
12561 <                    CXXFLAGS="-O"
12562 <                fi;;
12563 <  sparc-solaris2*) if test "$CXX" = CC; then
12564 <                    CXXFLAGS="-features=extensions -O -dalign"
12565 <                 fi;;
12566 <   rs6000*-aix*)  if test "$CXX" = xlC; then
12567 <                    CXXFLAGS="-O3 -qarch=pwrx -qtune=pwrx -qansialias -w"
12568 <                fi;;
12569 <   powerpc*-aix*)
12570 <        if test "$CXX" = xlC; then
12571 <                CXXFLAGS="-O3 -qarch=ppc -qansialias -w"
12572 <                echo "*******************************************************"
12573 <                echo "*  You have AIX on an unknown powerpc system.  It is  *"
12574 <                echo "*  recommended that you use                           *"
12575 <                echo "*                                                     *"
12576 <                echo "*  CXXFLAGS=-O3 -qarch=ppc -qtune=xxx -qansialias -w  *"
12577 <                echo "*                                 ^^^                 *"
12578 <                echo "*  where xxx is 601, 603, 604, or whatever kind of    *"
12579 <                echo "*  PowerPC CPU you have.   For more info, man cc.     *"
12580 <                echo "*******************************************************"
12581 <        fi;;
12582 <   *darwin*)
12583 <        if test "$CXX" = xlc++ -o "$CXX" = xlC ; then
12584 <                CXXFLAGS="-qthreaded -O -qtune=auto -qarch=auto -qunroll=auto -qaltivec"
12585 <        fi
12586 <        if test "$CXX" = icpc; then
12587 <                CXXFLAGS="-O3 -ip -no-prec-div -mdynamic-no-pic"
12588 <        fi;;
12589 <  esac
12590 <
12591 <  # use default flags for gcc on all systems
12592 <  if test $ac_cv_prog_really_gxx = yes; then
12593 <     CXXFLAGS="-O6 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic"
12594 <  fi
12595 <
12596 <  # test for gcc-specific flags:
12597 <  if test $ac_cv_prog_really_gxx = yes; then
12598 <    # -malign-double for x86 systems
12599 <
12600 <
12601 < echo "$as_me:$LINENO: checking whether ${CXX} accepts -malign-double" >&5
12602 < echo $ECHO_N "checking whether ${CXX} accepts -malign-double... $ECHO_C" >&6
12603 < if test "${ac_align_double+set}" = set; then
12604 <  echo $ECHO_N "(cached) $ECHO_C" >&6
12605 < else
12606 <  echo 'void f(){}' > conftest.cpp
12607 < if test -z "`${CXX} -malign-double -c conftest.cpp 2>&1`"; then
12608 <        ac_align_double=yes
12609 < else
12610 <        ac_align_double=no
12611 < fi
12612 < rm -f conftest*
12613 <
12614 < fi
12615 < echo "$as_me:$LINENO: result: $ac_align_double" >&5
12616 < echo "${ECHO_T}$ac_align_double" >&6
12617 < if test "$ac_align_double" = yes; then
12618 <        :
12619 <        CXXFLAGS="$CXXFLAGS -malign-double"
12620 < else
12621 <        :
12622 <
12623 < fi
12624 <
12625 <    # -fstrict-aliasing for gcc-2.95+
12626 <
12627 <
12628 < echo "$as_me:$LINENO: checking whether ${CXX} accepts -fstrict-aliasing" >&5
12629 < echo $ECHO_N "checking whether ${CXX} accepts -fstrict-aliasing... $ECHO_C" >&6
12630 < if test "${ac_fstrict_aliasing+set}" = set; then
12631 <  echo $ECHO_N "(cached) $ECHO_C" >&6
12632 < else
12633 <  echo 'void f(){}' > conftest.cpp
12634 < if test -z "`${CXX} -fstrict-aliasing -c conftest.cpp 2>&1`"; then
12635 <        ac_fstrict_aliasing=yes
12636 < else
12637 <        ac_fstrict_aliasing=no
12638 < fi
12639 < rm -f conftest*
12640 <
12641 < fi
12642 < echo "$as_me:$LINENO: result: $ac_fstrict_aliasing" >&5
12643 < echo "${ECHO_T}$ac_fstrict_aliasing" >&6
12644 < if test "$ac_fstrict_aliasing" = yes; then
12645 <        :
12646 <        CXXFLAGS="$CXXFLAGS -fstrict-aliasing"
12647 < else
12648 <        :
12649 <
12650 < fi
12651 <
12652 <  fi
12653 <
12654 <  CPU_FLAGS=""
12655 <  if test $ac_cv_prog_really_gxx = yes; then
12656 <                  case "${host_cpu}" in
12657 <          i586*)
12658 <
12659 < echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=pentium" >&5
12660 < echo $ECHO_N "checking whether ${CXX} accepts -mcpu=pentium... $ECHO_C" >&6
12661 < if test "${ac_cpu_pentium+set}" = set; then
12662 <  echo $ECHO_N "(cached) $ECHO_C" >&6
12663 < else
12664 <  echo 'void f(){}' > conftest.cpp
12665 < if test -z "`${CXX} -mcpu=pentium -c conftest.cpp 2>&1`"; then
12666 <        ac_cpu_pentium=yes
12667 < else
12668 <        ac_cpu_pentium=no
12669 < fi
12670 < rm -f conftest*
12671 <
12672 < fi
12673 < echo "$as_me:$LINENO: result: $ac_cpu_pentium" >&5
12674 < echo "${ECHO_T}$ac_cpu_pentium" >&6
12675 < if test "$ac_cpu_pentium" = yes; then
12676 <        :
12677 <        CPU_FLAGS=-mcpu=pentium
12678 < else
12679 <        :
12680 <
12681 <
12682 < echo "$as_me:$LINENO: checking whether ${CXX} accepts -mpentium" >&5
12683 < echo $ECHO_N "checking whether ${CXX} accepts -mpentium... $ECHO_C" >&6
12684 < if test "${ac_pentium+set}" = set; then
12685 <  echo $ECHO_N "(cached) $ECHO_C" >&6
12686 < else
12687 <  echo 'void f(){}' > conftest.cpp
12688 < if test -z "`${CXX} -mpentium -c conftest.cpp 2>&1`"; then
12689 <        ac_pentium=yes
12690 < else
12691 <        ac_pentium=no
12692 < fi
12693 < rm -f conftest*
12694 <
12695 < fi
12696 < echo "$as_me:$LINENO: result: $ac_pentium" >&5
12697 < echo "${ECHO_T}$ac_pentium" >&6
12698 < if test "$ac_pentium" = yes; then
12699 <        :
12700 <        CPU_FLAGS=-mpentium
12701 < else
12702 <        :
12703 <
12704 < fi
12705 <
12706 < fi
12707 <
12708 <                  ;;
12709 <          i686*)
12710 <
12711 < echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=pentiumpro" >&5
12712 < echo $ECHO_N "checking whether ${CXX} accepts -mcpu=pentiumpro... $ECHO_C" >&6
12713 < if test "${ac_cpu_pentiumpro+set}" = set; then
12714 <  echo $ECHO_N "(cached) $ECHO_C" >&6
12715 < else
12716 <  echo 'void f(){}' > conftest.cpp
12717 < if test -z "`${CXX} -mcpu=pentiumpro -c conftest.cpp 2>&1`"; then
12718 <        ac_cpu_pentiumpro=yes
12719 < else
12720 <        ac_cpu_pentiumpro=no
12721 < fi
12722 < rm -f conftest*
12723 <
12724 < fi
12725 < echo "$as_me:$LINENO: result: $ac_cpu_pentiumpro" >&5
12726 < echo "${ECHO_T}$ac_cpu_pentiumpro" >&6
12727 < if test "$ac_cpu_pentiumpro" = yes; then
12728 <        :
12729 <        CPU_FLAGS=-mcpu=pentiumpro
12730 < else
12731 <        :
12732 <
12733 <
12734 < echo "$as_me:$LINENO: checking whether ${CXX} accepts -mpentiumpro" >&5
12735 < echo $ECHO_N "checking whether ${CXX} accepts -mpentiumpro... $ECHO_C" >&6
12736 < if test "${ac_pentiumpro+set}" = set; then
12737 <  echo $ECHO_N "(cached) $ECHO_C" >&6
12738 < else
12739 <  echo 'void f(){}' > conftest.cpp
12740 < if test -z "`${CXX} -mpentiumpro -c conftest.cpp 2>&1`"; then
12741 <        ac_pentiumpro=yes
12742 < else
12743 <        ac_pentiumpro=no
12744 < fi
12745 < rm -f conftest*
12746 <
12747 < fi
12748 < echo "$as_me:$LINENO: result: $ac_pentiumpro" >&5
12749 < echo "${ECHO_T}$ac_pentiumpro" >&6
12750 < if test "$ac_pentiumpro" = yes; then
12751 <        :
12752 <        CPU_FLAGS=-mpentiumpro
12753 < else
12754 <        :
12755 <
12756 < fi
12757 <
12758 < fi
12759 <
12760 <                  ;;
12761 <          powerpc*)
12762 <                cputype=`(grep cpu /proc/cpuinfo | head -1 | cut -d: -f2 | sed 's/ //g') 2> /dev/null`
12763 <                is60x=`echo $cputype | egrep "^600-9e?$"`
12764 <                if test -n "$is60x"; then
12765 <
12766 <
12767 < echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=$cputype" >&5
12768 < echo $ECHO_N "checking whether ${CXX} accepts -mcpu=$cputype... $ECHO_C" >&6
12769 < if test "${ac_m_cpu_60x+set}" = set; then
12770 <  echo $ECHO_N "(cached) $ECHO_C" >&6
12771 < else
12772 <  echo 'void f(){}' > conftest.cpp
12773 < if test -z "`${CXX} -mcpu=$cputype -c conftest.cpp 2>&1`"; then
12774 <        ac_m_cpu_60x=yes
12775 < else
12776 <        ac_m_cpu_60x=no
12777 < fi
12778 < rm -f conftest*
12779 <
12780 < fi
12781 < echo "$as_me:$LINENO: result: $ac_m_cpu_60x" >&5
12782 < echo "${ECHO_T}$ac_m_cpu_60x" >&6
12783 < if test "$ac_m_cpu_60x" = yes; then
12784 <        :
12785 <        CPU_FLAGS=-mcpu=$cputype
12786 < else
12787 <        :
12788 <
12789 < fi
12790 <
12791 <                elif test "$cputype" = 750; then
12792 <
12793 <
12794 < echo "$as_me:$LINENO: checking whether we are using g++ 2.95 or later" >&5
12795 < echo $ECHO_N "checking whether we are using g++ 2.95 or later... $ECHO_C" >&6
12796 < if test "${ac_cv_prog_gxx_2_95+set}" = set; then
12797 <  echo $ECHO_N "(cached) $ECHO_C" >&6
12798 < else
12799 <
12800 < cat > conftest.cpp <<EOF
12801 < #ifdef __GNUC__ && !defined (__INTEL_COMPILER)
12802 < #  if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
12803 <     yes;
12804 < #  endif
12805 < #endif
12806 < EOF
12807 < if { ac_try='${CXX-c++} -E conftest.cpp'
12808 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12809 <  (eval $ac_try) 2>&5
12810 <  ac_status=$?
12811 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 <  (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
12813 <  ac_cv_prog_gxx_2_95=yes
12814 < else
12815 <  ac_cv_prog_gxx_2_95=no
12816 < fi
12817 <
12818 < fi
12819 < echo "$as_me:$LINENO: result: $ac_cv_prog_gxx_2_95" >&5
12820 < echo "${ECHO_T}$ac_cv_prog_gxx_2_95" >&6
12821 < if test "$ac_cv_prog_gxx_2_95" = yes; then
12822 <        :
12823 <
12824 <
12825 < echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=750" >&5
12826 < echo $ECHO_N "checking whether ${CXX} accepts -mcpu=750... $ECHO_C" >&6
12827 < if test "${ac_m_cpu_750+set}" = set; then
12828 <  echo $ECHO_N "(cached) $ECHO_C" >&6
12829 < else
12830 <  echo 'void f(){}' > conftest.cpp
12831 < if test -z "`${CXX} -mcpu=750 -c conftest.cpp 2>&1`"; then
12832 <        ac_m_cpu_750=yes
12833 < else
12834 <        ac_m_cpu_750=no
12835 < fi
12836 < rm -f conftest*
12837 <
12838 < fi
12839 < echo "$as_me:$LINENO: result: $ac_m_cpu_750" >&5
12840 < echo "${ECHO_T}$ac_m_cpu_750" >&6
12841 < if test "$ac_m_cpu_750" = yes; then
12842 <        :
12843 <        CPU_FLAGS=-mcpu=750
12844 < else
12845 <        :
12846 <
12847 < fi
12848 <
12849 < else
12850 <        :
12851 <
12852 < fi
12853 <
12854 <                fi
12855 <                if test -z "$CPU_FLAGS"; then
12856 <
12857 <
12858 < echo "$as_me:$LINENO: checking whether ${CXX} accepts -mcpu=powerpc" >&5
12859 < echo $ECHO_N "checking whether ${CXX} accepts -mcpu=powerpc... $ECHO_C" >&6
12860 < if test "${ac_m_cpu_powerpc+set}" = set; then
12861 <  echo $ECHO_N "(cached) $ECHO_C" >&6
12862 < else
12863 <  echo 'void f(){}' > conftest.cpp
12864 < if test -z "`${CXX} -mcpu=powerpc -c conftest.cpp 2>&1`"; then
12865 <        ac_m_cpu_powerpc=yes
12866 < else
12867 <        ac_m_cpu_powerpc=no
12868 < fi
12869 < rm -f conftest*
12870 <
12871 < fi
12872 < echo "$as_me:$LINENO: result: $ac_m_cpu_powerpc" >&5
12873 < echo "${ECHO_T}$ac_m_cpu_powerpc" >&6
12874 < if test "$ac_m_cpu_powerpc" = yes; then
12875 <        :
12876 <        CPU_FLAGS=-mcpu=powerpc
12877 < else
12878 <        :
12879 <
12880 < fi
12881 <
12882 <                fi
12883 <                if test -z "$CPU_FLAGS"; then
12884 <
12885 <
12886 < echo "$as_me:$LINENO: checking whether ${CXX} accepts -mpowerpc" >&5
12887 < echo $ECHO_N "checking whether ${CXX} accepts -mpowerpc... $ECHO_C" >&6
12888 < if test "${ac_m_powerpc+set}" = set; then
12889 <  echo $ECHO_N "(cached) $ECHO_C" >&6
12890 < else
12891 <  echo 'void f(){}' > conftest.cpp
12892 < if test -z "`${CXX} -mpowerpc -c conftest.cpp 2>&1`"; then
12893 <        ac_m_powerpc=yes
12894 < else
12895 <        ac_m_powerpc=no
12896 < fi
12897 < rm -f conftest*
12898 <
12899 < fi
12900 < echo "$as_me:$LINENO: result: $ac_m_powerpc" >&5
12901 < echo "${ECHO_T}$ac_m_powerpc" >&6
12902 < if test "$ac_m_powerpc" = yes; then
12903 <        :
12904 <        CPU_FLAGS=-mpowerpc
12905 < else
12906 <        :
12907 <
12908 < fi
12909 <
12910 <                fi
12911 <          esac
12912 <  fi
12913 <
12914 <  if test -n "$CPU_FLAGS"; then
12915 <        CXXFLAGS="$CXXFLAGS $CPU_FLAGS"
12916 <  fi
12917 <
12918 <  if test -z "$CXXFLAGS"; then
12919 <        echo ""
12920 <        echo "**********************************************************"
12921 <        echo "* WARNING: Don't know the best CXXFLAGS for this system  *"
12922 <        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
12923 <        echo "* (otherwise, a default of CXXFLAGS=-O3 will be used)    *"
12924 <        echo "**********************************************************"
12925 <        echo ""
12926 <        CXXFLAGS="-O3"
12927 <  fi
12928 <
12929 <
12930 <
12931 < echo "$as_me:$LINENO: checking whether ${CXX} accepts ${CXXFLAGS}" >&5
12932 < echo $ECHO_N "checking whether ${CXX} accepts ${CXXFLAGS}... $ECHO_C" >&6
12933 < if test "${ac_guessed_cxxflags+set}" = set; then
12934 <  echo $ECHO_N "(cached) $ECHO_C" >&6
12935 < else
12936 <  echo 'void f(){}' > conftest.cpp
12937 < if test -z "`${CXX} ${CXXFLAGS} -c conftest.cpp 2>&1`"; then
12938 <        ac_guessed_cxxflags=yes
12939 < else
12940 <        ac_guessed_cxxflags=no
12941 < fi
12942 < rm -f conftest*
12943 <
12944 < fi
12945 < echo "$as_me:$LINENO: result: $ac_guessed_cxxflags" >&5
12946 < echo "${ECHO_T}$ac_guessed_cxxflags" >&6
12947 < if test "$ac_guessed_cxxflags" = yes; then
12948 <        :
12949 <
12950 < else
12951 <        :
12952 <
12953 <        echo ""
12954 <        echo "**********************************************************"
12955 <        echo "* WARNING: The guessed CXXFLAGS don't seem to work with  *"
12956 <        echo "* your compiler.                                         *"
12957 <        echo "* Use  make CXXFLAGS=..., or edit the top level Makefile *"
12958 <        echo "**********************************************************"
12959 <        echo ""
12960 <        CXXFLAGS=""
12961 <
12962 < fi
12963 <
12964 <
12965 < fi
12966 <
12967 <     ;;
12968 < esac
12969 <
12970 <
12971 < cat >>confdefs.h <<\_ACEOF
12972 < #define OBAPI
12973 < _ACEOF
12974 <
12975 <
12976 <
12977 <
12978 < # Check whether --with-mpi or --without-mpi was given.
12979 < if test "${with_mpi+set}" = set; then
12980 <  withval="$with_mpi"
12981 <  with_mpi=$withval
12982 < else
12983 <  with_mpi="no"
12984 < fi;
12985 <
12986 < case "x$with_mpi" in
12987 <        xyes | "x")  USE_MPI=yes;;
12988 <        xno) USE_MPI=no ;;
12989 <        *) MPI="$with_mpi"; USE_MPI=yes ;;
12990 < esac
12991 < if test "$USE_MPI" = "yes" -a -z "$with_mpi"; then
12992 <        MPI="/usr/local"
12993 < fi
12994 < if test "$USE_MPI" = "yes"; then
12995 <
12996 <
12997 < # Set variables...
12998 < MPI_LIB_DIR="$MPI/lib"
12999 < MPI_INC_DIR="$MPI/include"
13000 <
13001 <
13002 <
13003 < echo "$as_me:$LINENO: checking for mpi.h" >&5
13004 < echo $ECHO_N "checking for mpi.h... $ECHO_C" >&6
13005 < have_mpi_h=0
13006 < rm -f conftest*
13007 < echo '#include <mpi.h>' > conftest.cc
13008 < if ${CXX} -I${MPI_INC_DIR} -c conftest.cc 2>&1 ; then
13009 <        echo "$as_me:$LINENO: result: yes" >&5
13010 < echo "${ECHO_T}yes" >&6
13011 <        have_mpi_h=1
13012 < else
13013 <        if test -s conftest.out ; then
13014 <                cat conftest.out >> config.log
13015 <        fi
13016 <        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
13017 < echo "${ECHO_T}no! Check MPI include paths" >&6
13018 <        USE_MPI="no"
13019 < fi
13020 < rm -f conftest*
13021 < if test "$have_mpi_h" = 1; then
13022 <
13023 < cat >>confdefs.h <<\_ACEOF
13024 < #define HAVE_MPI_H 1
13025 < _ACEOF
13026 <
13027 < fi
13028 <
13029 < echo "$as_me:$LINENO: checking whether mpif.h is usable" >&5
13030 < echo $ECHO_N "checking whether mpif.h is usable... $ECHO_C" >&6
13031 < have_mpif_h=0
13032 < rm -f conftest*
13033 < cat >conftest.$ac_ext <<EOF
13034 < program main
13035 <   include 'mpif.h'
13036 < end
13037 < EOF
13038 < if $FC -I$MPI_INC_DIR -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext > conftest.out 2>&1 ; then
13039 <        echo "$as_me:$LINENO: result: yes" >&5
13040 < echo "${ECHO_T}yes" >&6
13041 <        MPI_F90_INC="$MPI_INC_DIR"
13042 <        have_mpif_h=1
13043 < else
13044 <        if test -s conftest.out ; then
13045 <                cat conftest.out >> config.log
13046 <        fi
13047 <        echo "$as_me:$LINENO: result: no! Check MPI include paths" >&5
13048 < echo "${ECHO_T}no! Check MPI include paths" >&6
13049 <        USE_MPI="no"
13050 < fi
13051 < rm -f conftest*
13052 <
13053 < if test "$have_mpif_h" = 1; then
13054 <
13055 < cat >>confdefs.h <<\_ACEOF
13056 < #define HAVE_MPIF_H 1
13057 < _ACEOF
13058 <
13059 < fi
13060 <
13061 < ac_ext=c
13062 < ac_cpp='$CPP $CPPFLAGS'
13063 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13064 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13065 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
13066 <
13067 < ac_save_LDFLAGS=$LDFLAGS
13068 < LDFLAGS="${LDFLAGS} -L${MPI_LIB_DIR} "
13069 <
13070 < if test x = x"$MPI_LIB"; then
13071 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
13072 < echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
13073 < if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
13074 <  echo $ECHO_N "(cached) $ECHO_C" >&6
13075 < else
13076 <  ac_check_lib_save_LIBS=$LIBS
13077 < LIBS="-lmpich  $LIBS"
13078 < cat >conftest.$ac_ext <<_ACEOF
13079 < /* confdefs.h.  */
13080 < _ACEOF
13081 < cat confdefs.h >>conftest.$ac_ext
13082 < cat >>conftest.$ac_ext <<_ACEOF
13083 < /* end confdefs.h.  */
13084 <
13085 < /* Override any gcc2 internal prototype to avoid an error.  */
13086 < #ifdef __cplusplus
13087 < extern "C"
13088 < #endif
13089 < /* We use char because int might match the return type of a gcc2
13090 <   builtin and then its argument prototype would still apply.  */
13091 < char MPI_Init ();
13092 < #ifdef FC_DUMMY_MAIN
13093 < #ifndef FC_DUMMY_MAIN_EQ_F77
13094 < #  ifdef __cplusplus
13095 <     extern "C"
13096 < #  endif
13097 <   int FC_DUMMY_MAIN() { return 1; }
13098 < #endif
13099 < #endif
13100 < int
13101 < main ()
13102 < {
13103 < MPI_Init ();
13104 <  ;
13105 <  return 0;
13106 < }
13107 < _ACEOF
13108 < rm -f conftest.$ac_objext conftest$ac_exeext
13109 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13110 <  (eval $ac_link) 2>conftest.er1
13111 <  ac_status=$?
13112 <  grep -v '^ *+' conftest.er1 >conftest.err
13113 <  rm -f conftest.er1
13114 <  cat conftest.err >&5
13115 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13116 <  (exit $ac_status); } &&
13117 <         { ac_try='test -z "$ac_c_werror_flag"
13118 <                         || test ! -s conftest.err'
13119 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13120 <  (eval $ac_try) 2>&5
13121 <  ac_status=$?
13122 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13123 <  (exit $ac_status); }; } &&
13124 <         { ac_try='test -s conftest$ac_exeext'
13125 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13126 <  (eval $ac_try) 2>&5
13127 <  ac_status=$?
13128 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129 <  (exit $ac_status); }; }; then
13130 <  ac_cv_lib_mpich_MPI_Init=yes
13131 < else
13132 <  echo "$as_me: failed program was:" >&5
13133 < sed 's/^/| /' conftest.$ac_ext >&5
13134 <
13135 < ac_cv_lib_mpich_MPI_Init=no
13136 < fi
13137 < rm -f conftest.err conftest.$ac_objext \
13138 <      conftest$ac_exeext conftest.$ac_ext
13139 < LIBS=$ac_check_lib_save_LIBS
13140 < fi
13141 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
13142 < echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
13143 < if test $ac_cv_lib_mpich_MPI_Init = yes; then
13144 <  MPI_LIB="-lmpich"
13145 < fi
13146 <
13147 < fi
13148 < if test x = x"$MPI_LIB"; then
13149 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
13150 < echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
13151 < if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
13152 <  echo $ECHO_N "(cached) $ECHO_C" >&6
13153 < else
13154 <  ac_check_lib_save_LIBS=$LIBS
13155 < LIBS="-lmpi  $LIBS"
13156 < cat >conftest.$ac_ext <<_ACEOF
13157 < /* confdefs.h.  */
13158 < _ACEOF
13159 < cat confdefs.h >>conftest.$ac_ext
13160 < cat >>conftest.$ac_ext <<_ACEOF
13161 < /* end confdefs.h.  */
13162 <
13163 < /* Override any gcc2 internal prototype to avoid an error.  */
13164 < #ifdef __cplusplus
13165 < extern "C"
13166 < #endif
13167 < /* We use char because int might match the return type of a gcc2
13168 <   builtin and then its argument prototype would still apply.  */
13169 < char MPI_Init ();
13170 < #ifdef FC_DUMMY_MAIN
13171 < #ifndef FC_DUMMY_MAIN_EQ_F77
13172 < #  ifdef __cplusplus
13173 <     extern "C"
13174 < #  endif
13175 <   int FC_DUMMY_MAIN() { return 1; }
13176 < #endif
13177 < #endif
13178 < int
13179 < main ()
13180 < {
13181 < MPI_Init ();
13182 <  ;
13183 <  return 0;
13184 < }
13185 < _ACEOF
13186 < rm -f conftest.$ac_objext conftest$ac_exeext
13187 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13188 <  (eval $ac_link) 2>conftest.er1
13189 <  ac_status=$?
13190 <  grep -v '^ *+' conftest.er1 >conftest.err
13191 <  rm -f conftest.er1
13192 <  cat conftest.err >&5
13193 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13194 <  (exit $ac_status); } &&
13195 <         { ac_try='test -z "$ac_c_werror_flag"
13196 <                         || test ! -s conftest.err'
13197 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13198 <  (eval $ac_try) 2>&5
13199 <  ac_status=$?
13200 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13201 <  (exit $ac_status); }; } &&
13202 <         { ac_try='test -s conftest$ac_exeext'
13203 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13204 <  (eval $ac_try) 2>&5
13205 <  ac_status=$?
13206 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13207 <  (exit $ac_status); }; }; then
13208 <  ac_cv_lib_mpi_MPI_Init=yes
13209 < else
13210 <  echo "$as_me: failed program was:" >&5
13211 < sed 's/^/| /' conftest.$ac_ext >&5
13212 <
13213 < ac_cv_lib_mpi_MPI_Init=no
13214 < fi
13215 < rm -f conftest.err conftest.$ac_objext \
13216 <      conftest$ac_exeext conftest.$ac_ext
13217 < LIBS=$ac_check_lib_save_LIBS
13218 < fi
13219 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
13220 < echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
13221 < if test $ac_cv_lib_mpi_MPI_Init = yes; then
13222 <  MPI_LIB="-lmpi"
13223 < fi
13224 <
13225 < fi
13226 < $as_unset ac_cv_lib_mpi_MPI_Init
13227 < if test x = x"$MPI_LIB"; then
13228 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
13229 < echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
13230 < if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
13231 <  echo $ECHO_N "(cached) $ECHO_C" >&6
13232 < else
13233 <  ac_check_lib_save_LIBS=$LIBS
13234 < LIBS="-lmpi "-llam" $LIBS"
13235 < cat >conftest.$ac_ext <<_ACEOF
13236 < /* confdefs.h.  */
13237 < _ACEOF
13238 < cat confdefs.h >>conftest.$ac_ext
13239 < cat >>conftest.$ac_ext <<_ACEOF
13240 < /* end confdefs.h.  */
13241 <
13242 < /* Override any gcc2 internal prototype to avoid an error.  */
13243 < #ifdef __cplusplus
13244 < extern "C"
13245 < #endif
13246 < /* We use char because int might match the return type of a gcc2
13247 <   builtin and then its argument prototype would still apply.  */
13248 < char MPI_Init ();
13249 < #ifdef FC_DUMMY_MAIN
13250 < #ifndef FC_DUMMY_MAIN_EQ_F77
13251 < #  ifdef __cplusplus
13252 <     extern "C"
13253 < #  endif
13254 <   int FC_DUMMY_MAIN() { return 1; }
13255 < #endif
13256 < #endif
13257 < int
13258 < main ()
13259 < {
13260 < MPI_Init ();
13261 <  ;
13262 <  return 0;
13263 < }
13264 < _ACEOF
13265 < rm -f conftest.$ac_objext conftest$ac_exeext
13266 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13267 <  (eval $ac_link) 2>conftest.er1
13268 <  ac_status=$?
13269 <  grep -v '^ *+' conftest.er1 >conftest.err
13270 <  rm -f conftest.er1
13271 <  cat conftest.err >&5
13272 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273 <  (exit $ac_status); } &&
13274 <         { ac_try='test -z "$ac_c_werror_flag"
13275 <                         || test ! -s conftest.err'
13276 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13277 <  (eval $ac_try) 2>&5
13278 <  ac_status=$?
13279 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13280 <  (exit $ac_status); }; } &&
13281 <         { ac_try='test -s conftest$ac_exeext'
13282 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13283 <  (eval $ac_try) 2>&5
13284 <  ac_status=$?
13285 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13286 <  (exit $ac_status); }; }; then
13287 <  ac_cv_lib_mpi_MPI_Init=yes
13288 < else
13289 <  echo "$as_me: failed program was:" >&5
13290 < sed 's/^/| /' conftest.$ac_ext >&5
13291 <
13292 < ac_cv_lib_mpi_MPI_Init=no
13293 < fi
13294 < rm -f conftest.err conftest.$ac_objext \
13295 <      conftest$ac_exeext conftest.$ac_ext
13296 < LIBS=$ac_check_lib_save_LIBS
13297 < fi
13298 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
13299 < echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
13300 < if test $ac_cv_lib_mpi_MPI_Init = yes; then
13301 <  MPI_LIB="-lmpi -llam"
13302 < fi
13303 <
13304 < fi
13305 < $as_unset ac_cv_lib_mpich_MPI_Init
13306 < if test x = x"$MPI_LIB"; then
13307 <        echo "$as_me:$LINENO: checking for MPI_Init in -lmpich" >&5
13308 < echo $ECHO_N "checking for MPI_Init in -lmpich... $ECHO_C" >&6
13309 < if test "${ac_cv_lib_mpich_MPI_Init+set}" = set; then
13310 <  echo $ECHO_N "(cached) $ECHO_C" >&6
13311 < else
13312 <  ac_check_lib_save_LIBS=$LIBS
13313 < LIBS="-lmpich "-lpmpich" $LIBS"
13314 < cat >conftest.$ac_ext <<_ACEOF
13315 < /* confdefs.h.  */
13316 < _ACEOF
13317 < cat confdefs.h >>conftest.$ac_ext
13318 < cat >>conftest.$ac_ext <<_ACEOF
13319 < /* end confdefs.h.  */
13320 <
13321 < /* Override any gcc2 internal prototype to avoid an error.  */
13322 < #ifdef __cplusplus
13323 < extern "C"
13324 < #endif
13325 < /* We use char because int might match the return type of a gcc2
13326 <   builtin and then its argument prototype would still apply.  */
13327 < char MPI_Init ();
13328 < #ifdef FC_DUMMY_MAIN
13329 < #ifndef FC_DUMMY_MAIN_EQ_F77
13330 < #  ifdef __cplusplus
13331 <     extern "C"
13332 < #  endif
13333 <   int FC_DUMMY_MAIN() { return 1; }
13334 < #endif
13335 < #endif
13336 < int
13337 < main ()
13338 < {
13339 < MPI_Init ();
13340 <  ;
13341 <  return 0;
13342 < }
13343 < _ACEOF
13344 < rm -f conftest.$ac_objext conftest$ac_exeext
13345 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13346 <  (eval $ac_link) 2>conftest.er1
13347 <  ac_status=$?
13348 <  grep -v '^ *+' conftest.er1 >conftest.err
13349 <  rm -f conftest.er1
13350 <  cat conftest.err >&5
13351 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13352 <  (exit $ac_status); } &&
13353 <         { ac_try='test -z "$ac_c_werror_flag"
13354 <                         || test ! -s conftest.err'
13355 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13356 <  (eval $ac_try) 2>&5
13357 <  ac_status=$?
13358 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13359 <  (exit $ac_status); }; } &&
13360 <         { ac_try='test -s conftest$ac_exeext'
13361 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13362 <  (eval $ac_try) 2>&5
13363 <  ac_status=$?
13364 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13365 <  (exit $ac_status); }; }; then
13366 <  ac_cv_lib_mpich_MPI_Init=yes
13367 < else
13368 <  echo "$as_me: failed program was:" >&5
13369 < sed 's/^/| /' conftest.$ac_ext >&5
13370 <
13371 < ac_cv_lib_mpich_MPI_Init=no
13372 < fi
13373 < rm -f conftest.err conftest.$ac_objext \
13374 <      conftest$ac_exeext conftest.$ac_ext
13375 < LIBS=$ac_check_lib_save_LIBS
13376 < fi
13377 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpich_MPI_Init" >&5
13378 < echo "${ECHO_T}$ac_cv_lib_mpich_MPI_Init" >&6
13379 < if test $ac_cv_lib_mpich_MPI_Init = yes; then
13380 <  MPI_LIB="-lpmpich -lmpich"
13381 < fi
13382 <
13383 < fi
13384 <
13385 < $as_unset ac_cv_lib_mpi_MPI_Init
13386 < if test x = x"$MPI_LIB"; then
13387 < echo "$as_me:$LINENO: checking for MPI_Init in -lmpi" >&5
13388 < echo $ECHO_N "checking for MPI_Init in -lmpi... $ECHO_C" >&6
13389 < if test "${ac_cv_lib_mpi_MPI_Init+set}" = set; then
13390 <  echo $ECHO_N "(cached) $ECHO_C" >&6
13391 < else
13392 <  ac_check_lib_save_LIBS=$LIBS
13393 < LIBS="-lmpi -llam -lpthread $LIBS"
13394 < cat >conftest.$ac_ext <<_ACEOF
13395 < /* confdefs.h.  */
13396 < _ACEOF
13397 < cat confdefs.h >>conftest.$ac_ext
13398 < cat >>conftest.$ac_ext <<_ACEOF
13399 < /* end confdefs.h.  */
13400 <
13401 < /* Override any gcc2 internal prototype to avoid an error.  */
13402 < #ifdef __cplusplus
13403 < extern "C"
13404 < #endif
13405 < /* We use char because int might match the return type of a gcc2
13406 <   builtin and then its argument prototype would still apply.  */
13407 < char MPI_Init ();
13408 < #ifdef FC_DUMMY_MAIN
13409 < #ifndef FC_DUMMY_MAIN_EQ_F77
13410 < #  ifdef __cplusplus
13411 <     extern "C"
13412 < #  endif
13413 <   int FC_DUMMY_MAIN() { return 1; }
13414 < #endif
13415 < #endif
13416 < int
13417 < main ()
13418 < {
13419 < MPI_Init ();
13420 <  ;
13421 <  return 0;
13422 < }
13423 < _ACEOF
13424 < rm -f conftest.$ac_objext conftest$ac_exeext
13425 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13426 <  (eval $ac_link) 2>conftest.er1
13427 <  ac_status=$?
13428 <  grep -v '^ *+' conftest.er1 >conftest.err
13429 <  rm -f conftest.er1
13430 <  cat conftest.err >&5
13431 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13432 <  (exit $ac_status); } &&
13433 <         { ac_try='test -z "$ac_c_werror_flag"
13434 <                         || test ! -s conftest.err'
13435 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13436 <  (eval $ac_try) 2>&5
13437 <  ac_status=$?
13438 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439 <  (exit $ac_status); }; } &&
13440 <         { ac_try='test -s conftest$ac_exeext'
13441 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13442 <  (eval $ac_try) 2>&5
13443 <  ac_status=$?
13444 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13445 <  (exit $ac_status); }; }; then
13446 <  ac_cv_lib_mpi_MPI_Init=yes
13447 < else
13448 <  echo "$as_me: failed program was:" >&5
13449 < sed 's/^/| /' conftest.$ac_ext >&5
13450 <
13451 < ac_cv_lib_mpi_MPI_Init=no
13452 < fi
13453 < rm -f conftest.err conftest.$ac_objext \
13454 <      conftest$ac_exeext conftest.$ac_ext
13455 < LIBS=$ac_check_lib_save_LIBS
13456 < fi
13457 < echo "$as_me:$LINENO: result: $ac_cv_lib_mpi_MPI_Init" >&5
13458 < echo "${ECHO_T}$ac_cv_lib_mpi_MPI_Init" >&6
13459 < if test $ac_cv_lib_mpi_MPI_Init = yes; then
13460 <  MPI_LIB="-lmpi -llam -lpthread"
13461 < else
13462 <
13463 <             { { echo "$as_me:$LINENO: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&5
13464 < echo "$as_me: error: Didn't find liblam, libmpi, or libmpich; check path for MPI package first..." >&2;}
13465 <   { (exit 1); exit 1; }; }
13466 <             USE_MPI="no"
13467 <
13468 < fi
13469 <
13470 < fi
13471 <
13472 <
13473 <
13474 < echo "$as_me:$LINENO: checking for MPI Fortran library" >&5
13475 < echo $ECHO_N "checking for MPI Fortran library... $ECHO_C" >&6
13476 < MPI_F90_LIB=""
13477 < if test -f "$MPI_LIB_DIR/libfmpich.a" ; then
13478 <        MPI_F90_LIB="-lfmpich"
13479 < elif test -f "$MPI_LIB_DIR/liblamf77mpi.a" ; then
13480 <        MPI_F90_LIB="-llamf77mpi"
13481 < else
13482 <                        MPI_F90_LIB="  "
13483 < fi
13484 < echo "$as_me:$LINENO: result: found $MPI_F90_LIB" >&5
13485 < echo "${ECHO_T}found $MPI_F90_LIB" >&6
13486 <
13487 <
13488 < fi
13489 <
13490 <
13491 <
13492 < USE_CGAL=no
13493 < cgal_makefile=auto
13494 <
13495 < # Check whether --with-cgal-makefile or --without-cgal-makefile was given.
13496 < if test "${with_cgal_makefile+set}" = set; then
13497 <  withval="$with_cgal_makefile"
13498 <  cgal_makefile="$withval"
13499 < fi;
13500 <
13501 < if test "x$cgal_makefile" != xno; then
13502 <
13503 <  if test "x$cgal_makefile" = xauto -a "x$CGAL_MAKEFILE" != x; then
13504 <    cgal_makefile="$CGAL_MAKEFILE"
13505 <  fi
13506 <
13507 <  echo "$as_me:$LINENO: checking for cgal_makefile: $cgal_makefile" >&5
13508 < echo $ECHO_N "checking for cgal_makefile: $cgal_makefile... $ECHO_C" >&6
13509 <
13510 <  if test -f "$cgal_makefile"; then
13511 <
13512 <    cat >config.tmp.Makefile <<EOF
13513 < include $cgal_makefile
13514 < default:
13515 <        @echo CGAL_OS_COMPILER=\"\${CGAL_OS_COMPILER}\" >config.tmp.cgalvariables
13516 <        @echo CGAL_INCLDIR=\"\${CGAL_INCL_DIR}\" >>config.tmp.cgalvariables
13517 <        @echo CGAL_INCLCONFDIR=\"\${CGAL_INCL_CONF_DIR}\" >>config.tmp.cgalvariables
13518 <        @echo CGAL_LIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
13519 <        @echo CGAL_RLIBDIR=\"\${CGAL_LIB_DIR}/\${CGAL_OS_COMPILER}\" >>config.tmp.cgalvariables
13520 <        @echo CGAL_CXXFLAGS=\"\${CGAL_CXXFLAGS}\" >>config.tmp.cgalvariables
13521 <        @echo GMP_INCLDIR=\"\${GMP_INCL_DIR}\" >>config.tmp.cgalvariables
13522 <        @echo GMP_LIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
13523 <        @echo GMP_RLIBDIR=\"\${GMP_LIB_DIR}\" >>config.tmp.cgalvariables
13524 <        @echo LEDA_INCLDIR=\"\${LEDA_INCL_DIR}\" >>config.tmp.cgalvariables
13525 <        @echo LEDA_LIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
13526 <        @echo LEDA_RLIBDIR=\"\${LEDA_LIB_DIR}\" >>config.tmp.cgalvariables
13527 < EOF
13528 <
13529 <    make -s -f config.tmp.Makefile
13530 <    . config.tmp.cgalvariables
13531 <
13532 <    rm -f config.tmp.Makefile config.tmp.cgalvariables
13533 <
13534 <    if test "x$CGAL_INCLDIR" = "x"; then
13535 <      CGAL_INCLDIR=""
13536 <    fi
13537 <
13538 <    if test "x$CGAL_LIBDIR" = "x"; then
13539 <      CGAL_LIBDIR=""
13540 <    fi
13541 <
13542 <    if test "x$CGAL_RLIBDIR" = "x"; then
13543 <      CGAL_RLIBDIR=""
13544 <    fi
13545 <
13546 <    if test "x$LEDA_INCLDIR" = "x"; then
13547 <      LEDA_INCLDIR=""
13548 <    fi
13549 <
13550 <    if test "x$LEDA_LIBDIR" = "x"; then
13551 <      LEDA_LIBDIR=""
13552 <    fi
13553 <
13554 <    if test "x$LEDA_RLIBDIR" = "x"; then
13555 <      LEDA_RLIBDIR=""
13556 <    fi
13557 <
13558 <    if test "x$GMP_INCLDIR" = "x"; then
13559 <      GMP_INCLDIR=""
13560 <    fi
13561 <
13562 <    if test "x$GMP_LIBDIR" = "x"; then
13563 <      GMP_LIBDIR=""
13564 <    fi
13565 <
13566 <    if test "x$GMP_RLIBDIR" = "x"; then
13567 <      GMP_RLIBDIR=""
13568 <    fi
13569 <
13570 <    echo "$as_me:$LINENO: result: CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&5
13571 < echo "${ECHO_T}CGAL_OS_COMPILER=   $CGAL_OS_COMPILER" >&6
13572 <    echo "$as_me:$LINENO: result: CGAL_INCLDIR=       $CGAL_INCLDIR" >&5
13573 < echo "${ECHO_T}CGAL_INCLDIR=       $CGAL_INCLDIR" >&6
13574 <    echo "$as_me:$LINENO: result: CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&5
13575 < echo "${ECHO_T}CGAL_INCLCONFDIR=   $CGAL_INCLCONFDIR" >&6
13576 <    echo "$as_me:$LINENO: result: CGAL_LIBDIR=        $CGAL_LIBDIR" >&5
13577 < echo "${ECHO_T}CGAL_LIBDIR=        $CGAL_LIBDIR" >&6
13578 <    echo "$as_me:$LINENO: result: CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&5
13579 < echo "${ECHO_T}CGAL_CXXFLAGS=      $CGAL_CXXFLAGS" >&6
13580 <    echo "$as_me:$LINENO: result: LEDA_INCLDIR=       $LEDA_INCLDIR" >&5
13581 < echo "${ECHO_T}LEDA_INCLDIR=       $LEDA_INCLDIR" >&6
13582 <    echo "$as_me:$LINENO: result: LEDA_LIBDIR=        $LEDA_LIBDIR" >&5
13583 < echo "${ECHO_T}LEDA_LIBDIR=        $LEDA_LIBDIR" >&6
13584 <    echo "$as_me:$LINENO: result: GMP_INCLDIR=        $GMP_INCLDIR" >&5
13585 < echo "${ECHO_T}GMP_INCLDIR=        $GMP_INCLDIR" >&6
13586 <    echo "$as_me:$LINENO: result: GMP_LIBDIR=         $GMP_LIBDIR" >&5
13587 < echo "${ECHO_T}GMP_LIBDIR=         $GMP_LIBDIR" >&6
13588 <
13589 <    ac_ext=cc
13590 < ac_cpp='$CXXCPP $CPPFLAGS'
13591 < ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13592 < ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13593 < ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13594 <
13595 <    save_CXXFLAGS="$CXXFLAGS"
13596 <    CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
13597 <    if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
13598 <  echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
13599 < echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
13600 < if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
13601 <  echo $ECHO_N "(cached) $ECHO_C" >&6
13602 < fi
13603 < echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
13604 < echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
13605 < else
13606 <  # Is the header compilable?
13607 < echo "$as_me:$LINENO: checking CGAL/Cartesian.h usability" >&5
13608 < echo $ECHO_N "checking CGAL/Cartesian.h usability... $ECHO_C" >&6
13609 < cat >conftest.$ac_ext <<_ACEOF
13610 < /* confdefs.h.  */
13611 < _ACEOF
13612 < cat confdefs.h >>conftest.$ac_ext
13613 < cat >>conftest.$ac_ext <<_ACEOF
13614 < /* end confdefs.h.  */
13615 < $ac_includes_default
13616 < #include <CGAL/Cartesian.h>
13617 < _ACEOF
13618 < rm -f conftest.$ac_objext
13619 < if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13620 <  (eval $ac_compile) 2>conftest.er1
13621 <  ac_status=$?
13622 <  grep -v '^ *+' conftest.er1 >conftest.err
13623 <  rm -f conftest.er1
13624 <  cat conftest.err >&5
13625 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13626 <  (exit $ac_status); } &&
13627 <         { ac_try='test -z "$ac_cxx_werror_flag"
13628 <                         || test ! -s conftest.err'
13629 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13630 <  (eval $ac_try) 2>&5
13631 <  ac_status=$?
13632 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13633 <  (exit $ac_status); }; } &&
13634 <         { ac_try='test -s conftest.$ac_objext'
13635 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13636 <  (eval $ac_try) 2>&5
13637 <  ac_status=$?
13638 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13639 <  (exit $ac_status); }; }; then
13640 <  ac_header_compiler=yes
13641 < else
13642 <  echo "$as_me: failed program was:" >&5
13643 < sed 's/^/| /' conftest.$ac_ext >&5
13644 <
13645 < ac_header_compiler=no
13646 < fi
13647 < rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13648 < echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13649 < echo "${ECHO_T}$ac_header_compiler" >&6
13650 <
13651 < # Is the header present?
13652 < echo "$as_me:$LINENO: checking CGAL/Cartesian.h presence" >&5
13653 < echo $ECHO_N "checking CGAL/Cartesian.h presence... $ECHO_C" >&6
13654 < cat >conftest.$ac_ext <<_ACEOF
13655 < /* confdefs.h.  */
13656 < _ACEOF
13657 < cat confdefs.h >>conftest.$ac_ext
13658 < cat >>conftest.$ac_ext <<_ACEOF
13659 < /* end confdefs.h.  */
13660 < #include <CGAL/Cartesian.h>
13661 < _ACEOF
13662 < if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13663 <  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13664 <  ac_status=$?
13665 <  grep -v '^ *+' conftest.er1 >conftest.err
13666 <  rm -f conftest.er1
13667 <  cat conftest.err >&5
13668 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 <  (exit $ac_status); } >/dev/null; then
13670 <  if test -s conftest.err; then
13671 <    ac_cpp_err=$ac_cxx_preproc_warn_flag
13672 <    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
13673 <  else
13674 <    ac_cpp_err=
13675 <  fi
13676 < else
13677 <  ac_cpp_err=yes
13678 < fi
13679 < if test -z "$ac_cpp_err"; then
13680 <  ac_header_preproc=yes
13681 < else
13682 <  echo "$as_me: failed program was:" >&5
13683 < sed 's/^/| /' conftest.$ac_ext >&5
13684 <
13685 <  ac_header_preproc=no
13686 < fi
13687 < rm -f conftest.err conftest.$ac_ext
13688 < echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13689 < echo "${ECHO_T}$ac_header_preproc" >&6
13690 <
13691 < # So?  What about this header?
13692 < case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
13693 <  yes:no: )
13694 <    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&5
13695 < echo "$as_me: WARNING: CGAL/Cartesian.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13696 <    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&5
13697 < echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the compiler's result" >&2;}
13698 <    ac_header_preproc=yes
13699 <    ;;
13700 <  no:yes:* )
13701 <    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&5
13702 < echo "$as_me: WARNING: CGAL/Cartesian.h: present but cannot be compiled" >&2;}
13703 <    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&5
13704 < echo "$as_me: WARNING: CGAL/Cartesian.h:     check for missing prerequisite headers?" >&2;}
13705 <    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&5
13706 < echo "$as_me: WARNING: CGAL/Cartesian.h: see the Autoconf documentation" >&2;}
13707 <    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&5
13708 < echo "$as_me: WARNING: CGAL/Cartesian.h:     section \"Present But Cannot Be Compiled\"" >&2;}
13709 <    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&5
13710 < echo "$as_me: WARNING: CGAL/Cartesian.h: proceeding with the preprocessor's result" >&2;}
13711 <    { echo "$as_me:$LINENO: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&5
13712 < echo "$as_me: WARNING: CGAL/Cartesian.h: in the future, the compiler will take precedence" >&2;}
13713 <    (
13714 <      cat <<\_ASBOX
13715 < ## ------------------------------ ##
13716 < ## Report this to gezelter@nd.edu ##
13717 < ## ------------------------------ ##
13718 < _ASBOX
13719 <    ) |
13720 <      sed "s/^/$as_me: WARNING:     /" >&2
13721 <    ;;
13722 < esac
13723 < echo "$as_me:$LINENO: checking for CGAL/Cartesian.h" >&5
13724 < echo $ECHO_N "checking for CGAL/Cartesian.h... $ECHO_C" >&6
13725 < if test "${ac_cv_header_CGAL_Cartesian_h+set}" = set; then
13726 <  echo $ECHO_N "(cached) $ECHO_C" >&6
13727 < else
13728 <  ac_cv_header_CGAL_Cartesian_h=$ac_header_preproc
13729 < fi
13730 < echo "$as_me:$LINENO: result: $ac_cv_header_CGAL_Cartesian_h" >&5
13731 < echo "${ECHO_T}$ac_cv_header_CGAL_Cartesian_h" >&6
13732 <
13733 < fi
13734 < if test $ac_cv_header_CGAL_Cartesian_h = yes; then
13735 <  cgal=yes
13736 < else
13737 <  cgal=no
13738 < fi
13739 <
13740 <
13741 <    CXXFLAGS="$save_CXXFLAGS"
13742 <
13743 <    if test "x$cgal" = xyes; then
13744 <      echo "$as_me:$LINENO: checking for CGAL version" >&5
13745 < echo $ECHO_N "checking for CGAL version... $ECHO_C" >&6
13746 <      LOCATION=${CGAL_INCLDIR}
13747 <      LOCATION=${LOCATION:-/usr/include}
13748 <      if test -f $LOCATION/CGAL/version.h; then
13749 <        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/version.h | sed 's/[^0-9\.]*//g'`
13750 <      else
13751 <        CGAL_VERSION=`grep '#define.*\<CGAL_VERSION\>.*' $LOCATION/CGAL/config.h | sed 's/[^0-9\.]*//g'`
13752 <      fi
13753 <      if echo $CGAL_VERSION | grep -q "^[3456789]"; then
13754 <        echo "$as_me:$LINENO: result: ($CGAL_VERSION) yes" >&5
13755 < echo "${ECHO_T}($CGAL_VERSION) yes" >&6
13756 <      else
13757 <        echo "$as_me:$LINENO: result: ($CGAL_VERSION) no" >&5
13758 < echo "${ECHO_T}($CGAL_VERSION) no" >&6
13759 <        cgal=no
13760 <      fi
13761 <    fi
13762 <
13763 <    if test "x$cgal" = xyes; then
13764 <      CGAL_LIBS="-lCGAL"
13765 <      echo "$as_me:$LINENO: checking whether CGAL uses LEDA" >&5
13766 < echo $ECHO_N "checking whether CGAL uses LEDA... $ECHO_C" >&6
13767 <      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_LEDA; then
13768 <        CGAL_USES_LEDA=yes
13769 <        echo "$as_me:$LINENO: result: yes" >&5
13770 < echo "${ECHO_T}yes" >&6
13771 <        CGAL_DEFINES="-DCGAL_USE_LEDA -DLEDA_PREFIX"
13772 <      else
13773 <        echo "$as_me:$LINENO: result: no" >&5
13774 < echo "${ECHO_T}no" >&6
13775 <        CGAL_USES_LEDA=no
13776 <      fi
13777 <
13778 <      echo "$as_me:$LINENO: checking whether CGAL uses GMP" >&5
13779 < echo $ECHO_N "checking whether CGAL uses GMP... $ECHO_C" >&6
13780 <      if echo $CGAL_CXXFLAGS | grep -q -- -DCGAL_USE_GMP; then
13781 <        CGAL_USES_GMP=yes
13782 <        echo "$as_me:$LINENO: result: yes" >&5
13783 < echo "${ECHO_T}yes" >&6
13784 <        CGAL_DEFINES="-DCGAL_USE_GMP $CGAL_DEFINES"
13785 <      else
13786 <        echo "$as_me:$LINENO: result: no" >&5
13787 < echo "${ECHO_T}no" >&6
13788 <        CGAL_USES_GMP=no
13789 <      fi
13790 <
13791 <      CGAL_LIBS="$CGAL_LIBS -lm"
13792 <
13793 <      CGAL_CXXFLAGS="-ftemplate-depth-50"
13794 <
13795 <      echo "$as_me:$LINENO: result: CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&5
13796 < echo "${ECHO_T}CGAL_USES_LEDA=     $CGAL_USES_LEDA" >&6
13797 <      echo "$as_me:$LINENO: result: CGAL_USES_GMP =     $CGAL_USES_GMP" >&5
13798 < echo "${ECHO_T}CGAL_USES_GMP =     $CGAL_USES_GMP" >&6
13799 <      echo "$as_me:$LINENO: result: CGAL_INCLDIR  =     $CGAL_INCLDIR" >&5
13800 < echo "${ECHO_T}CGAL_INCLDIR  =     $CGAL_INCLDIR" >&6
13801 <      echo "$as_me:$LINENO: result: CGAL_LIBDIR   =     $CGAL_LIBDIR" >&5
13802 < echo "${ECHO_T}CGAL_LIBDIR   =     $CGAL_LIBDIR" >&6
13803 <      echo "$as_me:$LINENO: result: CGAL_DEFINES  =     $CGAL_DEFINES" >&5
13804 < echo "${ECHO_T}CGAL_DEFINES  =     $CGAL_DEFINES" >&6
13805 <      echo "$as_me:$LINENO: result: CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&5
13806 < echo "${ECHO_T}CGAL_CXXFLAGS =     $CGAL_CXXFLAGS" >&6
13807 <      echo "$as_me:$LINENO: result: CGAL_LIBS     =     $CGAL_LIBS" >&5
13808 < echo "${ECHO_T}CGAL_LIBS     =     $CGAL_LIBS" >&6
13809 <    fi
13810 <
13811 <    if test "x$cgal" = xyes; then
13812 <      save_LIBS="$LIBS"
13813 <      LIBS="$LIBS -L$CGAL_LIBDIR"
13814 <      if test "x$CGAL_USES_LEDA" = xyes; then
13815 <        LIBS="-lL $LIBS -L$LEDA_LIBDIR"
13816 <      fi
13817 <      # if test "x$CGAL_USES_GMP" = xyes; then
13818 <      #   LIBS="-lgmp $LIBS $GMP_LIBDIR"
13819 <      # fi
13820 <      echo "$as_me:$LINENO: checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL" >&5
13821 < echo $ECHO_N "checking for ::CGAL::Cartesian<int>::Point_2 in -lCGAL... $ECHO_C" >&6
13822 < save_CXXFLAGS_CHECK_CXX_LIB="$CXXFLAGS"
13823 < CXXFLAGS="$CXXFLAGS -I$CGAL_INCLDIR -I$CGAL_INCLCONFDIR"
13824 < save_LIBS_CHECK_CXX_LIB="$LIBS"
13825 < LIBS="-lCGAL  $LIBS"
13826 < cat >conftest.$ac_ext <<_ACEOF
13827 < /* confdefs.h.  */
13828 < _ACEOF
13829 < cat confdefs.h >>conftest.$ac_ext
13830 < cat >>conftest.$ac_ext <<_ACEOF
13831 < /* end confdefs.h.  */
13832 < #include <CGAL/Cartesian.h>
13833 < #ifdef FC_DUMMY_MAIN
13834 < #ifndef FC_DUMMY_MAIN_EQ_F77
13835 < #  ifdef __cplusplus
13836 <     extern "C"
13837 < #  endif
13838 <   int FC_DUMMY_MAIN() { return 1; }
13839 < #endif
13840 < #endif
13841 < int
13842 < main ()
13843 < {
13844 < ::CGAL::Cartesian<int>::Point_2 P
13845 <  ;
13846 <  return 0;
13847 < }
13848 < _ACEOF
13849 < rm -f conftest.$ac_objext conftest$ac_exeext
13850 < if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13851 <  (eval $ac_link) 2>conftest.er1
13852 <  ac_status=$?
13853 <  grep -v '^ *+' conftest.er1 >conftest.err
13854 <  rm -f conftest.er1
13855 <  cat conftest.err >&5
13856 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 <  (exit $ac_status); } &&
13858 <         { ac_try='test -z "$ac_cxx_werror_flag"
13859 <                         || test ! -s conftest.err'
13860 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13861 <  (eval $ac_try) 2>&5
13862 <  ac_status=$?
13863 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13864 <  (exit $ac_status); }; } &&
13865 <         { ac_try='test -s conftest$ac_exeext'
13866 <  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13867 <  (eval $ac_try) 2>&5
13868 <  ac_status=$?
13869 <  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13870 <  (exit $ac_status); }; }; then
13871 <  echo "$as_me:$LINENO: result: yes" >&5
13872 < echo "${ECHO_T}yes" >&6
13873 < cgal=yes
13874 < else
13875 <  echo "$as_me: failed program was:" >&5
13876 < sed 's/^/| /' conftest.$ac_ext >&5
13877 <
13878 < echo "$as_me:$LINENO: result: no" >&5
13879 < echo "${ECHO_T}no" >&6
13880 < cgal=no
13881 < fi
13882 < rm -f conftest.err conftest.$ac_objext \
13883 <      conftest$ac_exeext conftest.$ac_ext
13884 < CXXFLAGS="$save_CXXFLAGS_CHECK_CXX_LIB"
13885 < LIBS="$save_LIBS_CHECK_CXX_LIB"
13886 <      LIBS="$save_LIBS"
13887 <    fi
13888 <
13889 <  fi
13890 <  ac_ext=c
13891 < ac_cpp='$CPP $CPPFLAGS'
13892 < ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13893 < ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13894 < ac_compiler_gnu=$ac_cv_c_compiler_gnu
13895 <
13896 <
13897 < fi
13898 <
13899 < if test "x$cgal" = xyes; then
13900 <  USE_CGAL=yes
13901 <
13902 < cat >>confdefs.h <<\_ACEOF
13903 < #define HAVE_CGAL 1
13904 < _ACEOF
13905 <
13906 <
13907 < cat >>confdefs.h <<_ACEOF
13908 < #define CGAL_VERSION $CGAL_VERSION
13909 < _ACEOF
13910 <
13911 <  if ! echo $CGAL_VERSION | grep -q "^3.0"; then
13912 <    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
13913 < echo "$as_me: WARNING: *****************************************************" >&2;}
13914 <    { echo "$as_me:$LINENO: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&5
13915 < echo "$as_me: WARNING: *** Warning: Your CGAL version is newer than the  ***" >&2;}
13916 <    { echo "$as_me:$LINENO: WARNING: *** supported versions. It may still work though. ***" >&5
13917 < echo "$as_me: WARNING: *** supported versions. It may still work though. ***" >&2;}
13918 <    { echo "$as_me:$LINENO: WARNING: *****************************************************" >&5
13919 < echo "$as_me: WARNING: *****************************************************" >&2;}
13920 <  fi
13921 < else
13922 <   if test "x$cgal_makefile" != xno; then
13923 <    echo "$as_me:$LINENO: result: No CGAL support. These are not the droids you want." >&5
13924 < echo "${ECHO_T}No CGAL support. These are not the droids you want." >&6
13925 <  fi
13926 <  CGAL_INCLDIR=
13927 <  CGAL_LIBDIR=
13928 <  CGAL_RLIBDIR=
13929 <  CGAL_DEFINES=
13930 <  CGAL_CXXFLAGS=
13931 <  CGAL_LIBS=
13932 < fi
13933 <
13934 <
13935 < CGAL_INC_DIR="${CGAL_INCLDIR} ${CGAL_INCLCONFDIR}"
13936 <
13937 < CGAL_LIB_DIR=${CGAL_LIBDIR}
13938 <
13939 < CGAL_RLIB_DIR=${CGAL_RLIBDIR}
13940 <
13941 <
13942 <
13943 <
13944 <
13945 <
13946 < # Check whether --enable-doxygen or --disable-doxygen was given.
13947 < if test "${enable_doxygen+set}" = set; then
13948 <  enableval="$enable_doxygen"
13949 <
13950 < fi;
13951 < # Check whether --enable-dot or --disable-dot was given.
13952 < if test "${enable_dot+set}" = set; then
13953 <  enableval="$enable_dot"
13954 <
13955 < fi;
13956 < # Check whether --enable-html-docs or --disable-html-docs was given.
13957 < if test "${enable_html_docs+set}" = set; then
13958 <  enableval="$enable_html_docs"
13959 <
13960 < else
13961 <   enable_html_docs=yes
13962 < fi;
13963 < # Check whether --enable-latex-docs or --disable-latex-docs was given.
13964 < if test "${enable_latex_docs+set}" = set; then
13965 <  enableval="$enable_latex_docs"
13966 <
13967 < else
13968 <   enable_latex_docs=no
13969 < fi;
13970 < if test "x$enable_doxygen" = xno; then
13971 <        enable_doc=no
13972 < else
13973 <        # Extract the first word of "doxygen", so it can be a program name with args.
13974 < set dummy doxygen; ac_word=$2
13975 < echo "$as_me:$LINENO: checking for $ac_word" >&5
13976 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13977 < if test "${ac_cv_path_DOXYGEN+set}" = set; then
13978 <  echo $ECHO_N "(cached) $ECHO_C" >&6
13979 < else
13980 <  case $DOXYGEN in
13981 <  [\\/]* | ?:[\\/]*)
13982 <  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
13983 <  ;;
13984 <  *)
13985 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13986 < for as_dir in $PATH
13987 < do
13988 <  IFS=$as_save_IFS
13989 <  test -z "$as_dir" && as_dir=.
13990 <  for ac_exec_ext in '' $ac_executable_extensions; do
13991 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13992 <    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
13993 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13994 <    break 2
13995 <  fi
13996 < done
13997 < done
13998 <
13999 <  ;;
14000 < esac
14001 < fi
14002 < DOXYGEN=$ac_cv_path_DOXYGEN
14003 <
14004 < if test -n "$DOXYGEN"; then
14005 <  echo "$as_me:$LINENO: result: $DOXYGEN" >&5
14006 < echo "${ECHO_T}$DOXYGEN" >&6
14007 < else
14008 <  echo "$as_me:$LINENO: result: no" >&5
14009 < echo "${ECHO_T}no" >&6
14010 < fi
14011 <
14012 <        if test "x$DOXYGEN" = x; then
14013 <                if test "x$enable_doxygen" = xyes; then
14014 <                        { { echo "$as_me:$LINENO: error: could not find doxygen" >&5
14015 < echo "$as_me: error: could not find doxygen" >&2;}
14016 <   { (exit 1); exit 1; }; }
14017 <                fi
14018 <                enable_doc=no
14019 <        else
14020 <                enable_doc=yes
14021 <                # Extract the first word of "dot", so it can be a program name with args.
14022 < set dummy dot; ac_word=$2
14023 < echo "$as_me:$LINENO: checking for $ac_word" >&5
14024 < echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14025 < if test "${ac_cv_path_DOT+set}" = set; then
14026 <  echo $ECHO_N "(cached) $ECHO_C" >&6
14027 < else
14028 <  case $DOT in
14029 <  [\\/]* | ?:[\\/]*)
14030 <  ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
14031 <  ;;
14032 <  *)
14033 <  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14034 < for as_dir in $PATH
14035 < do
14036 <  IFS=$as_save_IFS
14037 <  test -z "$as_dir" && as_dir=.
14038 <  for ac_exec_ext in '' $ac_executable_extensions; do
14039 <  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14040 <    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
14041 <    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14042 <    break 2
14043 <  fi
14044 < done
14045 < done
14046 <
14047 <  ;;
14048 < esac
14049 < fi
14050 < DOT=$ac_cv_path_DOT
14051 <
14052 < if test -n "$DOT"; then
14053 <  echo "$as_me:$LINENO: result: $DOT" >&5
14054 < echo "${ECHO_T}$DOT" >&6
14055 < else
14056 <  echo "$as_me:$LINENO: result: no" >&5
14057 < echo "${ECHO_T}no" >&6
14058 < fi
14059 <
14060 <        fi
14061 < fi
14062 <
14063 < if test "x$enable_doc" = xyes; then
14064 <  DOC=1
14065 < else
14066 <  DOC=0
14067 < fi
14068 <
14069 <
14070 < if test x$DOT = x; then
14071 <        if test "x$enable_dot" = xyes; then
14072 <                { { echo "$as_me:$LINENO: error: could not find dot" >&5
14073 < echo "$as_me: error: could not find dot" >&2;}
14074 <   { (exit 1); exit 1; }; }
14075 <        fi
14076 <        enable_dot=no
14077 < else
14078 <        enable_dot=yes
14079 < fi
14080 <
14081 <
14082 <
14083 <
14084 <
14085 <
14086 <
14087 <
14088 <
14089 <
14090 <
14091 <
14092 <
14093 <
14094 <
14095 <
14096 <
14097 <
14098 <
14099 <                                        ac_config_files="$ac_config_files make/Makefile src/utils/Makefile src/applications/nanoRodBuilder/Makefile scripts/filepp"
14100 <
14101 <
14102 < cat >confcache <<\_ACEOF
14103 < # This file is a shell script that caches the results of configure
14104 < # tests run on this system so they can be shared between configure
14105 < # scripts and configure runs, see configure's option --config-cache.
14106 < # It is not useful on other systems.  If it contains results you don't
14107 < # want to keep, you may remove or edit it.
14108 < #
14109 < # config.status only pays attention to the cache file if you give it
14110 < # the --recheck option to rerun configure.
14111 < #
14112 < # `ac_cv_env_foo' variables (set or unset) will be overridden when
14113 < # loading this file, other *unset* `ac_cv_foo' will be assigned the
14114 < # following values.
14115 <
14116 < _ACEOF
14117 <
14118 < # The following way of writing the cache mishandles newlines in values,
14119 < # but we know of no workaround that is simple, portable, and efficient.
14120 < # So, don't put newlines in cache variables' values.
14121 < # Ultrix sh set writes to stderr and can't be redirected directly,
14122 < # and sets the high bit in the cache file unless we assign to the vars.
14123 < {
14124 <  (set) 2>&1 |
14125 <    case `(ac_space=' '; set | grep ac_space) 2>&1` in
14126 <    *ac_space=\ *)
14127 <      # `set' does not quote correctly, so add quotes (double-quote
14128 <      # substitution turns \\\\ into \\, and sed turns \\ into \).
14129 <      sed -n \
14130 <        "s/'/'\\\\''/g;
14131 <          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14132 <      ;;
14133 <    *)
14134 <      # `set' quotes correctly as required by POSIX, so do not add quotes.
14135 <      sed -n \
14136 <        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14137 <      ;;
14138 <    esac;
14139 < } |
14140 <  sed '
14141 <     t clear
14142 <     : clear
14143 <     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14144 <     t end
14145 <     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14146 <     : end' >>confcache
14147 < if diff $cache_file confcache >/dev/null 2>&1; then :; else
14148 <  if test -w $cache_file; then
14149 <    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14150 <    cat confcache >$cache_file
14151 <  else
14152 <    echo "not updating unwritable cache $cache_file"
14153 <  fi
14154 < fi
14155 < rm -f confcache
14156 <
14157 < test "x$prefix" = xNONE && prefix=$ac_default_prefix
14158 < # Let make expand exec_prefix.
14159 < test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14160 <
14161 < # VPATH may cause trouble with some makes, so we remove $(srcdir),
14162 < # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14163 < # trailing colons and then remove the whole line if VPATH becomes empty
14164 < # (actually we leave an empty line to preserve line numbers).
14165 < if test "x$srcdir" = x.; then
14166 <  ac_vpsub='/^[  ]*VPATH[        ]*=/{
14167 < s/:*\$(srcdir):*/:/;
14168 < s/:*\${srcdir}:*/:/;
14169 < s/:*@srcdir@:*/:/;
14170 < s/^\([^=]*=[     ]*\):*/\1/;
14171 < s/:*$//;
14172 < s/^[^=]*=[       ]*$//;
14173 < }'
14174 < fi
14175 <
14176 < DEFS=-DHAVE_CONFIG_H
14177 <
14178 < ac_libobjs=
14179 < ac_ltlibobjs=
14180 < for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14181 <  # 1. Remove the extension, and $U if already installed.
14182 <  ac_i=`echo "$ac_i" |
14183 <         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
14184 <  # 2. Add them.
14185 <  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
14186 <  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
14187 < done
14188 < LIBOBJS=$ac_libobjs
14189 <
14190 < LTLIBOBJS=$ac_ltlibobjs
14191 <
14192 <
14193 <
14194 < : ${CONFIG_STATUS=./config.status}
14195 < ac_clean_files_save=$ac_clean_files
14196 < ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14197 < { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14198 < echo "$as_me: creating $CONFIG_STATUS" >&6;}
14199 < cat >$CONFIG_STATUS <<_ACEOF
14200 < #! $SHELL
14201 < # Generated by $as_me.
14202 < # Run this file to recreate the current configuration.
14203 < # Compiler output produced by configure, useful for debugging
14204 < # configure, is in config.log if it exists.
14205 <
14206 < debug=false
14207 < ac_cs_recheck=false
14208 < ac_cs_silent=false
14209 < SHELL=\${CONFIG_SHELL-$SHELL}
14210 < _ACEOF
14211 <
14212 < cat >>$CONFIG_STATUS <<\_ACEOF
14213 < ## --------------------- ##
14214 < ## M4sh Initialization.  ##
14215 < ## --------------------- ##
14216 <
14217 < # Be Bourne compatible
14218 < if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14219 <  emulate sh
14220 <  NULLCMD=:
14221 <  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14222 <  # is contrary to our usage.  Disable this feature.
14223 <  alias -g '${1+"$@"}'='"$@"'
14224 < elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
14225 <  set -o posix
14226 < fi
14227 < DUALCASE=1; export DUALCASE # for MKS sh
14228 <
14229 < # Support unset when possible.
14230 < if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
14231 <  as_unset=unset
14232 < else
14233 <  as_unset=false
14234 < fi
14235 <
14236 <
14237 < # Work around bugs in pre-3.0 UWIN ksh.
14238 < $as_unset ENV MAIL MAILPATH
14239 < PS1='$ '
14240 < PS2='> '
14241 < PS4='+ '
14242 <
14243 < # NLS nuisances.
14244 < for as_var in \
14245 <  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
14246 <  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
14247 <  LC_TELEPHONE LC_TIME
14248 < do
14249 <  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14250 <    eval $as_var=C; export $as_var
14251 <  else
14252 <    $as_unset $as_var
14253 <  fi
14254 < done
14255 <
14256 < # Required to use basename.
14257 < if expr a : '\(a\)' >/dev/null 2>&1; then
14258 <  as_expr=expr
14259 < else
14260 <  as_expr=false
14261 < fi
14262 <
14263 < if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
14264 <  as_basename=basename
14265 < else
14266 <  as_basename=false
14267 < fi
14268 <
14269 <
14270 < # Name of the executable.
14271 < as_me=`$as_basename "$0" ||
14272 < $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14273 <         X"$0" : 'X\(//\)$' \| \
14274 <         X"$0" : 'X\(/\)$' \| \
14275 <         .     : '\(.\)' 2>/dev/null ||
14276 < echo X/"$0" |
14277 <    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14278 <          /^X\/\(\/\/\)$/{ s//\1/; q; }
14279 <          /^X\/\(\/\).*/{ s//\1/; q; }
14280 <          s/.*/./; q'`
14281 <
14282 <
14283 < # PATH needs CR, and LINENO needs CR and PATH.
14284 < # Avoid depending upon Character Ranges.
14285 < as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14286 < as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14287 < as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14288 < as_cr_digits='0123456789'
14289 < as_cr_alnum=$as_cr_Letters$as_cr_digits
14290 <
14291 < # The user is always right.
14292 < if test "${PATH_SEPARATOR+set}" != set; then
14293 <  echo "#! /bin/sh" >conf$$.sh
14294 <  echo  "exit 0"   >>conf$$.sh
14295 <  chmod +x conf$$.sh
14296 <  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14297 <    PATH_SEPARATOR=';'
14298 <  else
14299 <    PATH_SEPARATOR=:
14300 <  fi
14301 <  rm -f conf$$.sh
14302 < fi
14303 <
14304 <
14305 <  as_lineno_1=$LINENO
14306 <  as_lineno_2=$LINENO
14307 <  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14308 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
14309 <  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
14310 <  # Find who we are.  Look in the path if we contain no path at all
14311 <  # relative or not.
14312 <  case $0 in
14313 <    *[\\/]* ) as_myself=$0 ;;
14314 <    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14315 < for as_dir in $PATH
14316 < do
14317 <  IFS=$as_save_IFS
14318 <  test -z "$as_dir" && as_dir=.
14319 <  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14320 < done
14321 <
14322 <       ;;
14323 <  esac
14324 <  # We did not find ourselves, most probably we were run as `sh COMMAND'
14325 <  # in which case we are not to be found in the path.
14326 <  if test "x$as_myself" = x; then
14327 <    as_myself=$0
14328 <  fi
14329 <  if test ! -f "$as_myself"; then
14330 <    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
14331 < echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
14332 <   { (exit 1); exit 1; }; }
14333 <  fi
14334 <  case $CONFIG_SHELL in
14335 <  '')
14336 <    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14337 < for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
14338 < do
14339 <  IFS=$as_save_IFS
14340 <  test -z "$as_dir" && as_dir=.
14341 <  for as_base in sh bash ksh sh5; do
14342 <         case $as_dir in
14343 <         /*)
14344 <           if ("$as_dir/$as_base" -c '
14345 <  as_lineno_1=$LINENO
14346 <  as_lineno_2=$LINENO
14347 <  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14348 <  test "x$as_lineno_1" != "x$as_lineno_2" &&
14349 <  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
14350 <             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
14351 <             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
14352 <             CONFIG_SHELL=$as_dir/$as_base
14353 <             export CONFIG_SHELL
14354 <             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
14355 <           fi;;
14356 <         esac
14357 <       done
14358 < done
14359 < ;;
14360 <  esac
14361 <
14362 <  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14363 <  # uniformly replaced by the line number.  The first 'sed' inserts a
14364 <  # line-number line before each line; the second 'sed' does the real
14365 <  # work.  The second script uses 'N' to pair each line-number line
14366 <  # with the numbered line, and appends trailing '-' during
14367 <  # substitution so that $LINENO is not a special case at line end.
14368 <  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14369 <  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
14370 <  sed '=' <$as_myself |
14371 <    sed '
14372 <      N
14373 <      s,$,-,
14374 <      : loop
14375 <      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
14376 <      t loop
14377 <      s,-$,,
14378 <      s,^['$as_cr_digits']*\n,,
14379 <    ' >$as_me.lineno &&
14380 <  chmod +x $as_me.lineno ||
14381 <    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
14382 < echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
14383 <   { (exit 1); exit 1; }; }
14384 <
14385 <  # Don't try to exec as it changes $[0], causing all sort of problems
14386 <  # (the dirname of $[0] is not the place where we might find the
14387 <  # original and so on.  Autoconf is especially sensible to this).
14388 <  . ./$as_me.lineno
14389 <  # Exit status is that of the last command.
14390 <  exit
14391 < }
14392 <
14393 <
14394 < case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
14395 <  *c*,-n*) ECHO_N= ECHO_C='
14396 < ' ECHO_T='      ' ;;
14397 <  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
14398 <  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
14399 < esac
14400 <
14401 < if expr a : '\(a\)' >/dev/null 2>&1; then
14402 <  as_expr=expr
14403 < else
14404 <  as_expr=false
14405 < fi
14406 <
14407 < rm -f conf$$ conf$$.exe conf$$.file
14408 < echo >conf$$.file
14409 < if ln -s conf$$.file conf$$ 2>/dev/null; then
14410 <  # We could just check for DJGPP; but this test a) works b) is more generic
14411 <  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
14412 <  if test -f conf$$.exe; then
14413 <    # Don't use ln at all; we don't have any links
14414 <    as_ln_s='cp -p'
14415 <  else
14416 <    as_ln_s='ln -s'
14417 <  fi
14418 < elif ln conf$$.file conf$$ 2>/dev/null; then
14419 <  as_ln_s=ln
14420 < else
14421 <  as_ln_s='cp -p'
14422 < fi
14423 < rm -f conf$$ conf$$.exe conf$$.file
14424 <
14425 < if mkdir -p . 2>/dev/null; then
14426 <  as_mkdir_p=:
14427 < else
14428 <  test -d ./-p && rmdir ./-p
14429 <  as_mkdir_p=false
14430 < fi
14431 <
14432 < as_executable_p="test -f"
14433 <
14434 < # Sed expression to map a string onto a valid CPP name.
14435 < as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14436 <
14437 < # Sed expression to map a string onto a valid variable name.
14438 < as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14439 <
14440 <
14441 < # IFS
14442 < # We need space, tab and new line, in precisely that order.
14443 < as_nl='
14444 < '
14445 < IFS="   $as_nl"
14446 <
14447 < # CDPATH.
14448 < $as_unset CDPATH
14449 <
14450 < exec 6>&1
14451 <
14452 < # Open the log real soon, to keep \$[0] and so on meaningful, and to
14453 < # report actual input values of CONFIG_FILES etc. instead of their
14454 < # values after options handling.  Logging --version etc. is OK.
14455 < exec 5>>config.log
14456 < {
14457 <  echo
14458 <  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14459 < ## Running $as_me. ##
14460 < _ASBOX
14461 < } >&5
14462 < cat >&5 <<_CSEOF
14463 <
14464 < This file was extended by OOPSE $as_me 3.0, which was
14465 < generated by GNU Autoconf 2.59.  Invocation command line was
14466 <
14467 <  CONFIG_FILES    = $CONFIG_FILES
14468 <  CONFIG_HEADERS  = $CONFIG_HEADERS
14469 <  CONFIG_LINKS    = $CONFIG_LINKS
14470 <  CONFIG_COMMANDS = $CONFIG_COMMANDS
14471 <  $ $0 $@
14472 <
14473 < _CSEOF
14474 < echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
14475 < echo >&5
14476 < _ACEOF
14477 <
14478 < # Files that config.status was made for.
14479 < if test -n "$ac_config_files"; then
14480 <  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14481 < fi
14482 <
14483 < if test -n "$ac_config_headers"; then
14484 <  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
14485 < fi
14486 <
14487 < if test -n "$ac_config_links"; then
14488 <  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
14489 < fi
14490 <
14491 < if test -n "$ac_config_commands"; then
14492 <  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
14493 < fi
14494 <
14495 < cat >>$CONFIG_STATUS <<\_ACEOF
14496 <
14497 < ac_cs_usage="\
14498 < \`$as_me' instantiates files from templates according to the
14499 < current configuration.
14500 <
14501 < Usage: $0 [OPTIONS] [FILE]...
14502 <
14503 <  -h, --help       print this help, then exit
14504 <  -V, --version    print version number, then exit
14505 <  -q, --quiet      do not print progress messages
14506 <  -d, --debug      don't remove temporary files
14507 <      --recheck    update $as_me by reconfiguring in the same conditions
14508 <  --file=FILE[:TEMPLATE]
14509 <                   instantiate the configuration file FILE
14510 <  --header=FILE[:TEMPLATE]
14511 <                   instantiate the configuration header FILE
14512 <
14513 < Configuration files:
14514 < $config_files
14515 <
14516 < Configuration headers:
14517 < $config_headers
14518 <
14519 < Configuration links:
14520 < $config_links
14521 <
14522 < Report bugs to <bug-autoconf@gnu.org>."
14523 < _ACEOF
14524 <
14525 < cat >>$CONFIG_STATUS <<_ACEOF
14526 < ac_cs_version="\\
14527 < OOPSE config.status 3.0
14528 < configured by $0, generated by GNU Autoconf 2.59,
14529 <  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
14530 <
14531 < Copyright (C) 2003 Free Software Foundation, Inc.
14532 < This config.status script is free software; the Free Software Foundation
14533 < gives unlimited permission to copy, distribute and modify it."
14534 < srcdir=$srcdir
14535 < INSTALL="$INSTALL"
14536 < _ACEOF
14537 <
14538 < cat >>$CONFIG_STATUS <<\_ACEOF
14539 < # If no file are specified by the user, then we need to provide default
14540 < # value.  By we need to know if files were specified by the user.
14541 < ac_need_defaults=:
14542 < while test $# != 0
14543 < do
14544 <  case $1 in
14545 <  --*=*)
14546 <    ac_option=`expr "x$1" : 'x\([^=]*\)='`
14547 <    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
14548 <    ac_shift=:
14549 <    ;;
14550 <  -*)
14551 <    ac_option=$1
14552 <    ac_optarg=$2
14553 <    ac_shift=shift
14554 <    ;;
14555 <  *) # This is not an option, so the user has probably given explicit
14556 <     # arguments.
14557 <     ac_option=$1
14558 <     ac_need_defaults=false;;
14559 <  esac
14560 <
14561 <  case $ac_option in
14562 <  # Handling of the options.
14563 < _ACEOF
14564 < cat >>$CONFIG_STATUS <<\_ACEOF
14565 <  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14566 <    ac_cs_recheck=: ;;
14567 <  --version | --vers* | -V )
14568 <    echo "$ac_cs_version"; exit 0 ;;
14569 <  --he | --h)
14570 <    # Conflict between --help and --header
14571 <    { { echo "$as_me:$LINENO: error: ambiguous option: $1
14572 < Try \`$0 --help' for more information." >&5
14573 < echo "$as_me: error: ambiguous option: $1
14574 < Try \`$0 --help' for more information." >&2;}
14575 <   { (exit 1); exit 1; }; };;
14576 <  --help | --hel | -h )
14577 <    echo "$ac_cs_usage"; exit 0 ;;
14578 <  --debug | --d* | -d )
14579 <    debug=: ;;
14580 <  --file | --fil | --fi | --f )
14581 <    $ac_shift
14582 <    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
14583 <    ac_need_defaults=false;;
14584 <  --header | --heade | --head | --hea )
14585 <    $ac_shift
14586 <    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
14587 <    ac_need_defaults=false;;
14588 <  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14589 <  | -silent | --silent | --silen | --sile | --sil | --si | --s)
14590 <    ac_cs_silent=: ;;
14591 <
14592 <  # This is an error.
14593 <  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
14594 < Try \`$0 --help' for more information." >&5
14595 < echo "$as_me: error: unrecognized option: $1
14596 < Try \`$0 --help' for more information." >&2;}
14597 <   { (exit 1); exit 1; }; } ;;
14598 <
14599 <  *) ac_config_targets="$ac_config_targets $1" ;;
14600 <
14601 <  esac
14602 <  shift
14603 < done
14604 <
14605 < ac_configure_extra_args=
14606 <
14607 < if $ac_cs_silent; then
14608 <  exec 6>/dev/null
14609 <  ac_configure_extra_args="$ac_configure_extra_args --silent"
14610 < fi
14611 <
14612 < _ACEOF
14613 < cat >>$CONFIG_STATUS <<_ACEOF
14614 < if \$ac_cs_recheck; then
14615 <  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
14616 <  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14617 < fi
14618 <
14619 < _ACEOF
14620 <
14621 <
14622 <
14623 <
14624 <
14625 < cat >>$CONFIG_STATUS <<\_ACEOF
14626 < for ac_config_target in $ac_config_targets
14627 < do
14628 <  case "$ac_config_target" in
14629 <  # Handling of arguments.
14630 <  "make/Makefile" ) CONFIG_FILES="$CONFIG_FILES make/Makefile" ;;
14631 <  "src/utils/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/utils/Makefile" ;;
14632 <  "src/applications/nanoRodBuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/applications/nanoRodBuilder/Makefile" ;;
14633 <  "scripts/filepp" ) CONFIG_FILES="$CONFIG_FILES scripts/filepp" ;;
14634 <  "src/getopt.h" ) CONFIG_LINKS="$CONFIG_LINKS src/getopt.h:src/utils/gnugetopt.h" ;;
14635 <  "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
14636 <  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14637 < echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14638 <   { (exit 1); exit 1; }; };;
14639 <  esac
14640 < done
14641 <
14642 < # If the user did not use the arguments to specify the items to instantiate,
14643 < # then the envvar interface is used.  Set only those that are not.
14644 < # We use the long form for the default assignment because of an extremely
14645 < # bizarre bug on SunOS 4.1.3.
14646 < if $ac_need_defaults; then
14647 <  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14648 <  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14649 <  test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
14650 < fi
14651 <
14652 < # Have a temporary directory for convenience.  Make it in the build tree
14653 < # simply because there is no reason to put it here, and in addition,
14654 < # creating and moving files from /tmp can sometimes cause problems.
14655 < # Create a temporary directory, and hook for its removal unless debugging.
14656 < $debug ||
14657 < {
14658 <  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
14659 <  trap '{ (exit 1); exit 1; }' 1 2 13 15
14660 < }
14661 <
14662 < # Create a (secure) tmp directory for tmp files.
14663 <
14664 < {
14665 <  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
14666 <  test -n "$tmp" && test -d "$tmp"
14667 < }  ||
14668 < {
14669 <  tmp=./confstat$$-$RANDOM
14670 <  (umask 077 && mkdir $tmp)
14671 < } ||
14672 < {
14673 <   echo "$me: cannot create a temporary directory in ." >&2
14674 <   { (exit 1); exit 1; }
14675 < }
14676 <
14677 < _ACEOF
14678 <
14679 < cat >>$CONFIG_STATUS <<_ACEOF
14680 <
14681 < #
14682 < # CONFIG_FILES section.
14683 < #
14684 <
14685 < # No need to generate the scripts if there are no CONFIG_FILES.
14686 < # This happens for instance when ./config.status config.h
14687 < if test -n "\$CONFIG_FILES"; then
14688 <  # Protect against being on the right side of a sed subst in config.status.
14689 <  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
14690 <   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
14691 < s,@SHELL@,$SHELL,;t t
14692 < s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
14693 < s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
14694 < s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
14695 < s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
14696 < s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
14697 < s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
14698 < s,@exec_prefix@,$exec_prefix,;t t
14699 < s,@prefix@,$prefix,;t t
14700 < s,@program_transform_name@,$program_transform_name,;t t
14701 < s,@bindir@,$bindir,;t t
14702 < s,@sbindir@,$sbindir,;t t
14703 < s,@libexecdir@,$libexecdir,;t t
14704 < s,@datadir@,$datadir,;t t
14705 < s,@sysconfdir@,$sysconfdir,;t t
14706 < s,@sharedstatedir@,$sharedstatedir,;t t
14707 < s,@localstatedir@,$localstatedir,;t t
14708 < s,@libdir@,$libdir,;t t
14709 < s,@includedir@,$includedir,;t t
14710 < s,@oldincludedir@,$oldincludedir,;t t
14711 < s,@infodir@,$infodir,;t t
14712 < s,@mandir@,$mandir,;t t
14713 < s,@build_alias@,$build_alias,;t t
14714 < s,@host_alias@,$host_alias,;t t
14715 < s,@target_alias@,$target_alias,;t t
14716 < s,@DEFS@,$DEFS,;t t
14717 < s,@ECHO_C@,$ECHO_C,;t t
14718 < s,@ECHO_N@,$ECHO_N,;t t
14719 < s,@ECHO_T@,$ECHO_T,;t t
14720 < s,@LIBS@,$LIBS,;t t
14721 < s,@build@,$build,;t t
14722 < s,@build_cpu@,$build_cpu,;t t
14723 < s,@build_vendor@,$build_vendor,;t t
14724 < s,@build_os@,$build_os,;t t
14725 < s,@host@,$host,;t t
14726 < s,@host_cpu@,$host_cpu,;t t
14727 < s,@host_vendor@,$host_vendor,;t t
14728 < s,@host_os@,$host_os,;t t
14729 < s,@PROGNAME@,$PROGNAME,;t t
14730 < s,@debug@,$debug,;t t
14731 < s,@CXX@,$CXX,;t t
14732 < s,@CXXFLAGS@,$CXXFLAGS,;t t
14733 < s,@LDFLAGS@,$LDFLAGS,;t t
14734 < s,@CPPFLAGS@,$CPPFLAGS,;t t
14735 < s,@ac_ct_CXX@,$ac_ct_CXX,;t t
14736 < s,@EXEEXT@,$EXEEXT,;t t
14737 < s,@OBJEXT@,$OBJEXT,;t t
14738 < s,@CC@,$CC,;t t
14739 < s,@CFLAGS@,$CFLAGS,;t t
14740 < s,@ac_ct_CC@,$ac_ct_CC,;t t
14741 < s,@FC@,$FC,;t t
14742 < s,@FCFLAGS@,$FCFLAGS,;t t
14743 < s,@ac_ct_FC@,$ac_ct_FC,;t t
14744 < s,@CPP@,$CPP,;t t
14745 < s,@EGREP@,$EGREP,;t t
14746 < s,@LN_S@,$LN_S,;t t
14747 < s,@SET_MAKE@,$SET_MAKE,;t t
14748 < s,@RANLIB@,$RANLIB,;t t
14749 < s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
14750 < s,@PERLINTERP@,$PERLINTERP,;t t
14751 < s,@PERL_SHEBANG@,$PERL_SHEBANG,;t t
14752 < s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
14753 < s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
14754 < s,@INSTALL_DATA@,$INSTALL_DATA,;t t
14755 < s,@AR@,$AR,;t t
14756 < s,@PS@,$PS,;t t
14757 < s,@FCFLAGS_F90@,$FCFLAGS_F90,;t t
14758 < s,@FCFLAGS_SRCEXT@,$FCFLAGS_SRCEXT,;t t
14759 < s,@PREPDEFFLAG@,$PREPDEFFLAG,;t t
14760 < s,@FCLIBS@,$FCLIBS,;t t
14761 < s,@FC_FUNC@,$FC_FUNC,;t t
14762 < s,@FC_FUNC_@,$FC_FUNC_,;t t
14763 < s,@MOD@,$MOD,;t t
14764 < s,@F90_WORK_FILES_ARG@,$F90_WORK_FILES_ARG,;t t
14765 < s,@MODDIRFLAG@,$MODDIRFLAG,;t t
14766 < s,@F90MODINCSPEC@,$F90MODINCSPEC,;t t
14767 < s,@F90_MODULE_NAMES@,$F90_MODULE_NAMES,;t t
14768 < s,@ZLIB_INC_DIR@,$ZLIB_INC_DIR,;t t
14769 < s,@ZLIB_LIB_DIR@,$ZLIB_LIB_DIR,;t t
14770 < s,@ZLIB@,$ZLIB,;t t
14771 < s,@FFTW_INC_DIR@,$FFTW_INC_DIR,;t t
14772 < s,@FFTW_LIB_DIR@,$FFTW_LIB_DIR,;t t
14773 < s,@FFTW_LIBS@,$FFTW_LIBS,;t t
14774 < s,@LIBOBJS@,$LIBOBJS,;t t
14775 < s,@POW_LIB@,$POW_LIB,;t t
14776 < s,@CXXCPP@,$CXXCPP,;t t
14777 < s,@__func__@,$__func__,;t t
14778 < s,@MPI_LIB_DIR@,$MPI_LIB_DIR,;t t
14779 < s,@MPI_INC_DIR@,$MPI_INC_DIR,;t t
14780 < s,@MPI_F90_INC@,$MPI_F90_INC,;t t
14781 < s,@MPI_LIB@,$MPI_LIB,;t t
14782 < s,@MPI_F90_LIB@,$MPI_F90_LIB,;t t
14783 < s,@USE_MPI@,$USE_MPI,;t t
14784 < s,@USE_CGAL@,$USE_CGAL,;t t
14785 < s,@CGAL_INC_DIR@,$CGAL_INC_DIR,;t t
14786 < s,@CGAL_LIB_DIR@,$CGAL_LIB_DIR,;t t
14787 < s,@CGAL_RLIB_DIR@,$CGAL_RLIB_DIR,;t t
14788 < s,@CGAL_DEFINES@,$CGAL_DEFINES,;t t
14789 < s,@CGAL_CXXFLAGS@,$CGAL_CXXFLAGS,;t t
14790 < s,@CGAL_LIBS@,$CGAL_LIBS,;t t
14791 < s,@DOXYGEN@,$DOXYGEN,;t t
14792 < s,@DOT@,$DOT,;t t
14793 < s,@DOC@,$DOC,;t t
14794 < s,@enable_dot@,$enable_dot,;t t
14795 < s,@enable_html_docs@,$enable_html_docs,;t t
14796 < s,@enable_latex_docs@,$enable_latex_docs,;t t
14797 < s,@BATEXT@,$BATEXT,;t t
14798 < s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
14799 < s,@OOPSE@,$OOPSE,;t t
14800 < s,@OOPSE_HOME@,$OOPSE_HOME,;t t
14801 < s,@SUBDIRS@,$SUBDIRS,;t t
14802 < s,@LTLIBOBJS@,$LTLIBOBJS,;t t
14803 < CEOF
14804 <
14805 < _ACEOF
14806 <
14807 <  cat >>$CONFIG_STATUS <<\_ACEOF
14808 <  # Split the substitutions into bite-sized pieces for seds with
14809 <  # small command number limits, like on Digital OSF/1 and HP-UX.
14810 <  ac_max_sed_lines=48
14811 <  ac_sed_frag=1 # Number of current file.
14812 <  ac_beg=1 # First line for current file.
14813 <  ac_end=$ac_max_sed_lines # Line after last line for current file.
14814 <  ac_more_lines=:
14815 <  ac_sed_cmds=
14816 <  while $ac_more_lines; do
14817 <    if test $ac_beg -gt 1; then
14818 <      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
14819 <    else
14820 <      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
14821 <    fi
14822 <    if test ! -s $tmp/subs.frag; then
14823 <      ac_more_lines=false
14824 <    else
14825 <      # The purpose of the label and of the branching condition is to
14826 <      # speed up the sed processing (if there are no `@' at all, there
14827 <      # is no need to browse any of the substitutions).
14828 <      # These are the two extra sed commands mentioned above.
14829 <      (echo ':t
14830 <  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
14831 <      if test -z "$ac_sed_cmds"; then
14832 <        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
14833 <      else
14834 <        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
14835 <      fi
14836 <      ac_sed_frag=`expr $ac_sed_frag + 1`
14837 <      ac_beg=$ac_end
14838 <      ac_end=`expr $ac_end + $ac_max_sed_lines`
14839 <    fi
14840 <  done
14841 <  if test -z "$ac_sed_cmds"; then
14842 <    ac_sed_cmds=cat
14843 <  fi
14844 < fi # test -n "$CONFIG_FILES"
14845 <
14846 < _ACEOF
14847 < cat >>$CONFIG_STATUS <<\_ACEOF
14848 < for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
14849 <  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14850 <  case $ac_file in
14851 <  - | *:- | *:-:* ) # input from stdin
14852 <        cat >$tmp/stdin
14853 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14854 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14855 <  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14856 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14857 <  * )   ac_file_in=$ac_file.in ;;
14858 <  esac
14859 <
14860 <  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
14861 <  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
14862 < $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14863 <         X"$ac_file" : 'X\(//\)[^/]' \| \
14864 <         X"$ac_file" : 'X\(//\)$' \| \
14865 <         X"$ac_file" : 'X\(/\)' \| \
14866 <         .     : '\(.\)' 2>/dev/null ||
14867 < echo X"$ac_file" |
14868 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14869 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14870 <          /^X\(\/\/\)$/{ s//\1/; q; }
14871 <          /^X\(\/\).*/{ s//\1/; q; }
14872 <          s/.*/./; q'`
14873 <  { if $as_mkdir_p; then
14874 <    mkdir -p "$ac_dir"
14875 <  else
14876 <    as_dir="$ac_dir"
14877 <    as_dirs=
14878 <    while test ! -d "$as_dir"; do
14879 <      as_dirs="$as_dir $as_dirs"
14880 <      as_dir=`(dirname "$as_dir") 2>/dev/null ||
14881 < $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14882 <         X"$as_dir" : 'X\(//\)[^/]' \| \
14883 <         X"$as_dir" : 'X\(//\)$' \| \
14884 <         X"$as_dir" : 'X\(/\)' \| \
14885 <         .     : '\(.\)' 2>/dev/null ||
14886 < echo X"$as_dir" |
14887 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14888 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14889 <          /^X\(\/\/\)$/{ s//\1/; q; }
14890 <          /^X\(\/\).*/{ s//\1/; q; }
14891 <          s/.*/./; q'`
14892 <    done
14893 <    test ! -n "$as_dirs" || mkdir $as_dirs
14894 <  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14895 < echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14896 <   { (exit 1); exit 1; }; }; }
14897 <
14898 <  ac_builddir=.
14899 <
14900 < if test "$ac_dir" != .; then
14901 <  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14902 <  # A "../" for each directory in $ac_dir_suffix.
14903 <  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14904 < else
14905 <  ac_dir_suffix= ac_top_builddir=
14906 < fi
14907 <
14908 < case $srcdir in
14909 <  .)  # No --srcdir option.  We are building in place.
14910 <    ac_srcdir=.
14911 <    if test -z "$ac_top_builddir"; then
14912 <       ac_top_srcdir=.
14913 <    else
14914 <       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
14915 <    fi ;;
14916 <  [\\/]* | ?:[\\/]* )  # Absolute path.
14917 <    ac_srcdir=$srcdir$ac_dir_suffix;
14918 <    ac_top_srcdir=$srcdir ;;
14919 <  *) # Relative path.
14920 <    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
14921 <    ac_top_srcdir=$ac_top_builddir$srcdir ;;
14922 < esac
14923 <
14924 < # Do not use `cd foo && pwd` to compute absolute paths, because
14925 < # the directories may not exist.
14926 < case `pwd` in
14927 < .) ac_abs_builddir="$ac_dir";;
14928 < *)
14929 <  case "$ac_dir" in
14930 <  .) ac_abs_builddir=`pwd`;;
14931 <  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
14932 <  *) ac_abs_builddir=`pwd`/"$ac_dir";;
14933 <  esac;;
14934 < esac
14935 < case $ac_abs_builddir in
14936 < .) ac_abs_top_builddir=${ac_top_builddir}.;;
14937 < *)
14938 <  case ${ac_top_builddir}. in
14939 <  .) ac_abs_top_builddir=$ac_abs_builddir;;
14940 <  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
14941 <  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
14942 <  esac;;
14943 < esac
14944 < case $ac_abs_builddir in
14945 < .) ac_abs_srcdir=$ac_srcdir;;
14946 < *)
14947 <  case $ac_srcdir in
14948 <  .) ac_abs_srcdir=$ac_abs_builddir;;
14949 <  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
14950 <  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
14951 <  esac;;
14952 < esac
14953 < case $ac_abs_builddir in
14954 < .) ac_abs_top_srcdir=$ac_top_srcdir;;
14955 < *)
14956 <  case $ac_top_srcdir in
14957 <  .) ac_abs_top_srcdir=$ac_abs_builddir;;
14958 <  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
14959 <  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
14960 <  esac;;
14961 < esac
14962 <
14963 <
14964 <  case $INSTALL in
14965 <  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14966 <  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
14967 <  esac
14968 <
14969 <  if test x"$ac_file" != x-; then
14970 <    { echo "$as_me:$LINENO: creating $ac_file" >&5
14971 < echo "$as_me: creating $ac_file" >&6;}
14972 <    rm -f "$ac_file"
14973 <  fi
14974 <  # Let's still pretend it is `configure' which instantiates (i.e., don't
14975 <  # use $as_me), people would be surprised to read:
14976 <  #    /* config.h.  Generated by config.status.  */
14977 <  if test x"$ac_file" = x-; then
14978 <    configure_input=
14979 <  else
14980 <    configure_input="$ac_file.  "
14981 <  fi
14982 <  configure_input=$configure_input"Generated from `echo $ac_file_in |
14983 <                                     sed 's,.*/,,'` by configure."
14984 <
14985 <  # First look for the input files in the build tree, otherwise in the
14986 <  # src tree.
14987 <  ac_file_inputs=`IFS=:
14988 <    for f in $ac_file_in; do
14989 <      case $f in
14990 <      -) echo $tmp/stdin ;;
14991 <      [\\/$]*)
14992 <         # Absolute (can't be DOS-style, as IFS=:)
14993 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14994 < echo "$as_me: error: cannot find input file: $f" >&2;}
14995 <   { (exit 1); exit 1; }; }
14996 <         echo "$f";;
14997 <      *) # Relative
14998 <         if test -f "$f"; then
14999 <           # Build tree
15000 <           echo "$f"
15001 <         elif test -f "$srcdir/$f"; then
15002 <           # Source tree
15003 <           echo "$srcdir/$f"
15004 <         else
15005 <           # /dev/null tree
15006 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15007 < echo "$as_me: error: cannot find input file: $f" >&2;}
15008 <   { (exit 1); exit 1; }; }
15009 <         fi;;
15010 <      esac
15011 <    done` || { (exit 1); exit 1; }
15012 < _ACEOF
15013 < cat >>$CONFIG_STATUS <<_ACEOF
15014 <  sed "$ac_vpsub
15015 < $extrasub
15016 < _ACEOF
15017 < cat >>$CONFIG_STATUS <<\_ACEOF
15018 < :t
15019 < /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15020 < s,@configure_input@,$configure_input,;t t
15021 < s,@srcdir@,$ac_srcdir,;t t
15022 < s,@abs_srcdir@,$ac_abs_srcdir,;t t
15023 < s,@top_srcdir@,$ac_top_srcdir,;t t
15024 < s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
15025 < s,@builddir@,$ac_builddir,;t t
15026 < s,@abs_builddir@,$ac_abs_builddir,;t t
15027 < s,@top_builddir@,$ac_top_builddir,;t t
15028 < s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
15029 < s,@INSTALL@,$ac_INSTALL,;t t
15030 < " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
15031 <  rm -f $tmp/stdin
15032 <  if test x"$ac_file" != x-; then
15033 <    mv $tmp/out $ac_file
15034 <  else
15035 <    cat $tmp/out
15036 <    rm -f $tmp/out
15037 <  fi
15038 <
15039 <  # Run the commands associated with the file.
15040 <  case $ac_file in
15041 <    make/Makefile ) chmod 0755 scripts/* ;;
15042 <    src/utils/Makefile ) chmod 0755 scripts/* ;;
15043 <    src/applications/nanoRodBuilder/Makefile ) chmod 0755 scripts/* ;;
15044 <    scripts/filepp ) chmod 0755 scripts/* ;;
15045 <  esac
15046 < done
15047 < _ACEOF
15048 < cat >>$CONFIG_STATUS <<\_ACEOF
15049 <
15050 < #
15051 < # CONFIG_HEADER section.
15052 < #
15053 <
15054 < # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
15055 < # NAME is the cpp macro being defined and VALUE is the value it is being given.
15056 < #
15057 < # ac_d sets the value in "#define NAME VALUE" lines.
15058 < ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
15059 < ac_dB='[         ].*$,\1#\2'
15060 < ac_dC=' '
15061 < ac_dD=',;t'
15062 < # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15063 < ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
15064 < ac_uB='$,\1#\2define\3'
15065 < ac_uC=' '
15066 < ac_uD=',;t'
15067 <
15068 < for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
15069 <  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15070 <  case $ac_file in
15071 <  - | *:- | *:-:* ) # input from stdin
15072 <        cat >$tmp/stdin
15073 <        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15074 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15075 <  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15076 <        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15077 <  * )   ac_file_in=$ac_file.in ;;
15078 <  esac
15079 <
15080 <  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
15081 < echo "$as_me: creating $ac_file" >&6;}
15082 <
15083 <  # First look for the input files in the build tree, otherwise in the
15084 <  # src tree.
15085 <  ac_file_inputs=`IFS=:
15086 <    for f in $ac_file_in; do
15087 <      case $f in
15088 <      -) echo $tmp/stdin ;;
15089 <      [\\/$]*)
15090 <         # Absolute (can't be DOS-style, as IFS=:)
15091 <         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15092 < echo "$as_me: error: cannot find input file: $f" >&2;}
15093 <   { (exit 1); exit 1; }; }
15094 <         # Do quote $f, to prevent DOS paths from being IFS'd.
15095 <         echo "$f";;
15096 <      *) # Relative
15097 <         if test -f "$f"; then
15098 <           # Build tree
15099 <           echo "$f"
15100 <         elif test -f "$srcdir/$f"; then
15101 <           # Source tree
15102 <           echo "$srcdir/$f"
15103 <         else
15104 <           # /dev/null tree
15105 <           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15106 < echo "$as_me: error: cannot find input file: $f" >&2;}
15107 <   { (exit 1); exit 1; }; }
15108 <         fi;;
15109 <      esac
15110 <    done` || { (exit 1); exit 1; }
15111 <  # Remove the trailing spaces.
15112 <  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
15113 <
15114 < _ACEOF
15115 <
15116 < # Transform confdefs.h into two sed scripts, `conftest.defines' and
15117 < # `conftest.undefs', that substitutes the proper values into
15118 < # config.h.in to produce config.h.  The first handles `#define'
15119 < # templates, and the second `#undef' templates.
15120 < # And first: Protect against being on the right side of a sed subst in
15121 < # config.status.  Protect against being in an unquoted here document
15122 < # in config.status.
15123 < rm -f conftest.defines conftest.undefs
15124 < # Using a here document instead of a string reduces the quoting nightmare.
15125 < # Putting comments in sed scripts is not portable.
15126 < #
15127 < # `end' is used to avoid that the second main sed command (meant for
15128 < # 0-ary CPP macros) applies to n-ary macro definitions.
15129 < # See the Autoconf documentation for `clear'.
15130 < cat >confdef2sed.sed <<\_ACEOF
15131 < s/[\\&,]/\\&/g
15132 < s,[\\$`],\\&,g
15133 < t clear
15134 < : clear
15135 < s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
15136 < t end
15137 < s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
15138 < : end
15139 < _ACEOF
15140 < # If some macros were called several times there might be several times
15141 < # the same #defines, which is useless.  Nevertheless, we may not want to
15142 < # sort them, since we want the *last* AC-DEFINE to be honored.
15143 < uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
15144 < sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
15145 < rm -f confdef2sed.sed
15146 <
15147 < # This sed command replaces #undef with comments.  This is necessary, for
15148 < # example, in the case of _POSIX_SOURCE, which is predefined and required
15149 < # on some systems where configure will not decide to define it.
15150 < cat >>conftest.undefs <<\_ACEOF
15151 < s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
15152 < _ACEOF
15153 <
15154 < # Break up conftest.defines because some shells have a limit on the size
15155 < # of here documents, and old seds have small limits too (100 cmds).
15156 < echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
15157 < echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
15158 < echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
15159 < echo '  :' >>$CONFIG_STATUS
15160 < rm -f conftest.tail
15161 < while grep . conftest.defines >/dev/null
15162 < do
15163 <  # Write a limited-size here document to $tmp/defines.sed.
15164 <  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15165 <  # Speed up: don't consider the non `#define' lines.
15166 <  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
15167 <  # Work around the forget-to-reset-the-flag bug.
15168 <  echo 't clr' >>$CONFIG_STATUS
15169 <  echo ': clr' >>$CONFIG_STATUS
15170 <  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
15171 <  echo 'CEOF
15172 <  sed -f $tmp/defines.sed $tmp/in >$tmp/out
15173 <  rm -f $tmp/in
15174 <  mv $tmp/out $tmp/in
15175 < ' >>$CONFIG_STATUS
15176 <  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
15177 <  rm -f conftest.defines
15178 <  mv conftest.tail conftest.defines
15179 < done
15180 < rm -f conftest.defines
15181 < echo '  fi # grep' >>$CONFIG_STATUS
15182 < echo >>$CONFIG_STATUS
15183 <
15184 < # Break up conftest.undefs because some shells have a limit on the size
15185 < # of here documents, and old seds have small limits too (100 cmds).
15186 < echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
15187 < rm -f conftest.tail
15188 < while grep . conftest.undefs >/dev/null
15189 < do
15190 <  # Write a limited-size here document to $tmp/undefs.sed.
15191 <  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15192 <  # Speed up: don't consider the non `#undef'
15193 <  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
15194 <  # Work around the forget-to-reset-the-flag bug.
15195 <  echo 't clr' >>$CONFIG_STATUS
15196 <  echo ': clr' >>$CONFIG_STATUS
15197 <  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15198 <  echo 'CEOF
15199 <  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15200 <  rm -f $tmp/in
15201 <  mv $tmp/out $tmp/in
15202 < ' >>$CONFIG_STATUS
15203 <  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15204 <  rm -f conftest.undefs
15205 <  mv conftest.tail conftest.undefs
15206 < done
15207 < rm -f conftest.undefs
15208 <
15209 < cat >>$CONFIG_STATUS <<\_ACEOF
15210 <  # Let's still pretend it is `configure' which instantiates (i.e., don't
15211 <  # use $as_me), people would be surprised to read:
15212 <  #    /* config.h.  Generated by config.status.  */
15213 <  if test x"$ac_file" = x-; then
15214 <    echo "/* Generated by configure.  */" >$tmp/config.h
15215 <  else
15216 <    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
15217 <  fi
15218 <  cat $tmp/in >>$tmp/config.h
15219 <  rm -f $tmp/in
15220 <  if test x"$ac_file" != x-; then
15221 <    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
15222 <      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15223 < echo "$as_me: $ac_file is unchanged" >&6;}
15224 <    else
15225 <      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15226 < $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15227 <         X"$ac_file" : 'X\(//\)[^/]' \| \
15228 <         X"$ac_file" : 'X\(//\)$' \| \
15229 <         X"$ac_file" : 'X\(/\)' \| \
15230 <         .     : '\(.\)' 2>/dev/null ||
15231 < echo X"$ac_file" |
15232 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15233 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15234 <          /^X\(\/\/\)$/{ s//\1/; q; }
15235 <          /^X\(\/\).*/{ s//\1/; q; }
15236 <          s/.*/./; q'`
15237 <      { if $as_mkdir_p; then
15238 <    mkdir -p "$ac_dir"
15239 <  else
15240 <    as_dir="$ac_dir"
15241 <    as_dirs=
15242 <    while test ! -d "$as_dir"; do
15243 <      as_dirs="$as_dir $as_dirs"
15244 <      as_dir=`(dirname "$as_dir") 2>/dev/null ||
15245 < $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15246 <         X"$as_dir" : 'X\(//\)[^/]' \| \
15247 <         X"$as_dir" : 'X\(//\)$' \| \
15248 <         X"$as_dir" : 'X\(/\)' \| \
15249 <         .     : '\(.\)' 2>/dev/null ||
15250 < echo X"$as_dir" |
15251 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15252 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15253 <          /^X\(\/\/\)$/{ s//\1/; q; }
15254 <          /^X\(\/\).*/{ s//\1/; q; }
15255 <          s/.*/./; q'`
15256 <    done
15257 <    test ! -n "$as_dirs" || mkdir $as_dirs
15258 <  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15259 < echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15260 <   { (exit 1); exit 1; }; }; }
15261 <
15262 <      rm -f $ac_file
15263 <      mv $tmp/config.h $ac_file
15264 <    fi
15265 <  else
15266 <    cat $tmp/config.h
15267 <    rm -f $tmp/config.h
15268 <  fi
15269 < done
15270 < _ACEOF
15271 < cat >>$CONFIG_STATUS <<\_ACEOF
15272 <
15273 < #
15274 < # CONFIG_LINKS section.
15275 < #
15276 <
15277 < for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
15278 <  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
15279 <  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
15280 <
15281 <  { echo "$as_me:$LINENO: linking $srcdir/$ac_source to $ac_dest" >&5
15282 < echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
15283 <
15284 <  if test ! -r $srcdir/$ac_source; then
15285 <    { { echo "$as_me:$LINENO: error: $srcdir/$ac_source: file not found" >&5
15286 < echo "$as_me: error: $srcdir/$ac_source: file not found" >&2;}
15287 <   { (exit 1); exit 1; }; }
15288 <  fi
15289 <  rm -f $ac_dest
15290 <
15291 <  # Make relative symlinks.
15292 <  ac_dest_dir=`(dirname "$ac_dest") 2>/dev/null ||
15293 < $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15294 <         X"$ac_dest" : 'X\(//\)[^/]' \| \
15295 <         X"$ac_dest" : 'X\(//\)$' \| \
15296 <         X"$ac_dest" : 'X\(/\)' \| \
15297 <         .     : '\(.\)' 2>/dev/null ||
15298 < echo X"$ac_dest" |
15299 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15300 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15301 <          /^X\(\/\/\)$/{ s//\1/; q; }
15302 <          /^X\(\/\).*/{ s//\1/; q; }
15303 <          s/.*/./; q'`
15304 <  { if $as_mkdir_p; then
15305 <    mkdir -p "$ac_dest_dir"
15306 <  else
15307 <    as_dir="$ac_dest_dir"
15308 <    as_dirs=
15309 <    while test ! -d "$as_dir"; do
15310 <      as_dirs="$as_dir $as_dirs"
15311 <      as_dir=`(dirname "$as_dir") 2>/dev/null ||
15312 < $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15313 <         X"$as_dir" : 'X\(//\)[^/]' \| \
15314 <         X"$as_dir" : 'X\(//\)$' \| \
15315 <         X"$as_dir" : 'X\(/\)' \| \
15316 <         .     : '\(.\)' 2>/dev/null ||
15317 < echo X"$as_dir" |
15318 <    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15319 <          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15320 <          /^X\(\/\/\)$/{ s//\1/; q; }
15321 <          /^X\(\/\).*/{ s//\1/; q; }
15322 <          s/.*/./; q'`
15323 <    done
15324 <    test ! -n "$as_dirs" || mkdir $as_dirs
15325 <  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dest_dir\"" >&5
15326 < echo "$as_me: error: cannot create directory \"$ac_dest_dir\"" >&2;}
15327 <   { (exit 1); exit 1; }; }; }
15328 <
15329 <  ac_builddir=.
15330 <
15331 < if test "$ac_dest_dir" != .; then
15332 <  ac_dir_suffix=/`echo "$ac_dest_dir" | sed 's,^\.[\\/],,'`
15333 <  # A "../" for each directory in $ac_dir_suffix.
15334 <  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15335 < else
15336 <  ac_dir_suffix= ac_top_builddir=
15337 < fi
15338 <
15339 < case $srcdir in
15340 <  .)  # No --srcdir option.  We are building in place.
15341 <    ac_srcdir=.
15342 <    if test -z "$ac_top_builddir"; then
15343 <       ac_top_srcdir=.
15344 <    else
15345 <       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
15346 <    fi ;;
15347 <  [\\/]* | ?:[\\/]* )  # Absolute path.
15348 <    ac_srcdir=$srcdir$ac_dir_suffix;
15349 <    ac_top_srcdir=$srcdir ;;
15350 <  *) # Relative path.
15351 <    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
15352 <    ac_top_srcdir=$ac_top_builddir$srcdir ;;
15353 < esac
15354 <
15355 < # Do not use `cd foo && pwd` to compute absolute paths, because
15356 < # the directories may not exist.
15357 < case `pwd` in
15358 < .) ac_abs_builddir="$ac_dest_dir";;
15359 < *)
15360 <  case "$ac_dest_dir" in
15361 <  .) ac_abs_builddir=`pwd`;;
15362 <  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dest_dir";;
15363 <  *) ac_abs_builddir=`pwd`/"$ac_dest_dir";;
15364 <  esac;;
15365 < esac
15366 < case $ac_abs_builddir in
15367 < .) ac_abs_top_builddir=${ac_top_builddir}.;;
15368 < *)
15369 <  case ${ac_top_builddir}. in
15370 <  .) ac_abs_top_builddir=$ac_abs_builddir;;
15371 <  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
15372 <  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
15373 <  esac;;
15374 < esac
15375 < case $ac_abs_builddir in
15376 < .) ac_abs_srcdir=$ac_srcdir;;
15377 < *)
15378 <  case $ac_srcdir in
15379 <  .) ac_abs_srcdir=$ac_abs_builddir;;
15380 <  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
15381 <  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
15382 <  esac;;
15383 < esac
15384 < case $ac_abs_builddir in
15385 < .) ac_abs_top_srcdir=$ac_top_srcdir;;
15386 < *)
15387 <  case $ac_top_srcdir in
15388 <  .) ac_abs_top_srcdir=$ac_abs_builddir;;
15389 <  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
15390 <  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
15391 <  esac;;
15392 < esac
15393 <
15394 <
15395 <  case $srcdir in
15396 <  [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
15397 <      *) ac_rel_source=$ac_top_builddir$srcdir/$ac_source ;;
15398 <  esac
15399 <
15400 <  # Try a symlink, then a hard link, then a copy.
15401 <  ln -s $ac_rel_source $ac_dest 2>/dev/null ||
15402 <    ln $srcdir/$ac_source $ac_dest 2>/dev/null ||
15403 <    cp -p $srcdir/$ac_source $ac_dest ||
15404 <    { { echo "$as_me:$LINENO: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&5
15405 < echo "$as_me: error: cannot link or copy $srcdir/$ac_source to $ac_dest" >&2;}
15406 <   { (exit 1); exit 1; }; }
15407 < done
15408 < _ACEOF
15409 <
15410 < cat >>$CONFIG_STATUS <<\_ACEOF
15411 <
15412 < { (exit 0); exit 0; }
15413 < _ACEOF
15414 < chmod +x $CONFIG_STATUS
15415 < ac_clean_files=$ac_clean_files_save
15416 <
15417 <
15418 < # configure is writing to config.log, and then calls config.status.
15419 < # config.status does its own redirection, appending to config.log.
15420 < # Unfortunately, on DOS this fails, as config.log is still kept open
15421 < # by configure, so config.status won't be able to write to it; its
15422 < # output is simply discarded.  So we exec the FD to /dev/null,
15423 < # effectively closing config.log, so it can be properly (re)opened and
15424 < # appended to by config.status.  When coming back to configure, we
15425 < # need to make the FD available again.
15426 < if test "$no_create" != yes; then
15427 <  ac_cs_success=:
15428 <  ac_config_status_args=
15429 <  test "$silent" = yes &&
15430 <    ac_config_status_args="$ac_config_status_args --quiet"
15431 <  exec 5>/dev/null
15432 <  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15433 <  exec 5>>config.log
15434 <  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15435 <  # would make configure fail if this is the last instruction.
15436 <  $ac_cs_success || { (exit 1); exit 1; }
14033 > cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14034 > cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14035 > _ACEOF
14036 > sed -n '
14037 > h
14038 > s/^/S["/; s/!.*/"]=/
14039 > p
14040 > g
14041 > s/^[^!]*!//
14042 > :repl
14043 > t repl
14044 > s/'"$ac_delim"'$//
14045 > t delim
14046 > :nl
14047 > h
14048 > s/\(.\{148\}\).*/\1/
14049 > t more1
14050 > s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14051 > p
14052 > n
14053 > b repl
14054 > :more1
14055 > s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14056 > p
14057 > g
14058 > s/.\{148\}//
14059 > t nl
14060 > :delim
14061 > h
14062 > s/\(.\{148\}\).*/\1/
14063 > t more2
14064 > s/["\\]/\\&/g; s/^/"/; s/$/"/
14065 > p
14066 > b
14067 > :more2
14068 > s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14069 > p
14070 > g
14071 > s/.\{148\}//
14072 > t delim
14073 > ' <conf$$subs.awk | sed '
14074 > /^[^""]/{
14075 >  N
14076 >  s/\n//
14077 > }
14078 > ' >>$CONFIG_STATUS || ac_write_fail=1
14079 > rm -f conf$$subs.awk
14080 > cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14081 > _ACAWK
14082 > cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14083 >  for (key in S) S_is_set[key] = 1
14084 >  FS = ""
14085 >
14086 > }
14087 > {
14088 >  line = $ 0
14089 >  nfields = split(line, field, "@")
14090 >  substed = 0
14091 >  len = length(field[1])
14092 >  for (i = 2; i < nfields; i++) {
14093 >    key = field[i]
14094 >    keylen = length(key)
14095 >    if (S_is_set[key]) {
14096 >      value = S[key]
14097 >      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14098 >      len += length(value) + length(field[++i])
14099 >      substed = 1
14100 >    } else
14101 >      len += 1 + keylen
14102 >  }
14103 >
14104 >  print line
14105 > }
14106 >
14107 > _ACAWK
14108 > _ACEOF
14109 > cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14110 > if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14111 >  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14112 > else
14113 >  cat
14114 > fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14115 >  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
14116 > $as_echo "$as_me: error: could not setup config files machinery" >&2;}
14117 >   { (exit 1); exit 1; }; }
14118 > _ACEOF
14119 >
14120 > # VPATH may cause trouble with some makes, so we remove $(srcdir),
14121 > # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14122 > # trailing colons and then remove the whole line if VPATH becomes empty
14123 > # (actually we leave an empty line to preserve line numbers).
14124 > if test "x$srcdir" = x.; then
14125 >  ac_vpsub='/^[  ]*VPATH[        ]*=/{
14126 > s/:*\$(srcdir):*/:/
14127 > s/:*\${srcdir}:*/:/
14128 > s/:*@srcdir@:*/:/
14129 > s/^\([^=]*=[     ]*\):*/\1/
14130 > s/:*$//
14131 > s/^[^=]*=[       ]*$//
14132 > }'
14133 > fi
14134 >
14135 > cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14136 > fi # test -n "$CONFIG_FILES"
14137 >
14138 > # Set up the scripts for CONFIG_HEADERS section.
14139 > # No need to generate them if there are no CONFIG_HEADERS.
14140 > # This happens for instance with `./config.status Makefile'.
14141 > if test -n "$CONFIG_HEADERS"; then
14142 > cat >"$tmp/defines.awk" <<\_ACAWK ||
14143 > BEGIN {
14144 > _ACEOF
14145 >
14146 > # Transform confdefs.h into an awk script `defines.awk', embedded as
14147 > # here-document in config.status, that substitutes the proper values into
14148 > # config.h.in to produce config.h.
14149 >
14150 > # Create a delimiter string that does not exist in confdefs.h, to ease
14151 > # handling of long lines.
14152 > ac_delim='%!_!# '
14153 > for ac_last_try in false false :; do
14154 >  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14155 >  if test -z "$ac_t"; then
14156 >    break
14157 >  elif $ac_last_try; then
14158 >    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
14159 > $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
14160 >   { (exit 1); exit 1; }; }
14161 >  else
14162 >    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14163 >  fi
14164 > done
14165 >
14166 > # For the awk script, D is an array of macro values keyed by name,
14167 > # likewise P contains macro parameters if any.  Preserve backslash
14168 > # newline sequences.
14169 >
14170 > ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14171 > sed -n '
14172 > s/.\{148\}/&'"$ac_delim"'/g
14173 > t rset
14174 > :rset
14175 > s/^[     ]*#[    ]*define[       ][      ]*/ /
14176 > t def
14177 > d
14178 > :def
14179 > s/\\$//
14180 > t bsnl
14181 > s/["\\]/\\&/g
14182 > s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14183 > D["\1"]=" \3"/p
14184 > s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
14185 > d
14186 > :bsnl
14187 > s/["\\]/\\&/g
14188 > s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
14189 > D["\1"]=" \3\\\\\\n"\\/p
14190 > t cont
14191 > s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14192 > t cont
14193 > d
14194 > :cont
14195 > n
14196 > s/.\{148\}/&'"$ac_delim"'/g
14197 > t clear
14198 > :clear
14199 > s/\\$//
14200 > t bsnlc
14201 > s/["\\]/\\&/g; s/^/"/; s/$/"/p
14202 > d
14203 > :bsnlc
14204 > s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14205 > b cont
14206 > ' <confdefs.h | sed '
14207 > s/'"$ac_delim"'/"\\\
14208 > "/g' >>$CONFIG_STATUS || ac_write_fail=1
14209 >
14210 > cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14211 >  for (key in D) D_is_set[key] = 1
14212 >  FS = ""
14213 > }
14214 > /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14215 >  line = \$ 0
14216 >  split(line, arg, " ")
14217 >  if (arg[1] == "#") {
14218 >    defundef = arg[2]
14219 >    mac1 = arg[3]
14220 >  } else {
14221 >    defundef = substr(arg[1], 2)
14222 >    mac1 = arg[2]
14223 >  }
14224 >  split(mac1, mac2, "(") #)
14225 >  macro = mac2[1]
14226 >  if (D_is_set[macro]) {
14227 >    # Preserve the white space surrounding the "#".
14228 >    prefix = substr(line, 1, index(line, defundef) - 1)
14229 >    print prefix "define", macro P[macro] D[macro]
14230 >    next
14231 >  } else {
14232 >    # Replace #undef with comments.  This is necessary, for example,
14233 >    # in the case of _POSIX_SOURCE, which is predefined and required
14234 >    # on some systems where configure will not decide to define it.
14235 >    if (defundef == "undef") {
14236 >      print "/*", line, "*/"
14237 >      next
14238 >    }
14239 >  }
14240 > }
14241 > { print }
14242 > _ACAWK
14243 > _ACEOF
14244 > cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14245 >  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
14246 > $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
14247 >   { (exit 1); exit 1; }; }
14248 > fi # test -n "$CONFIG_HEADERS"
14249 >
14250 >
14251 > eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
14252 > shift
14253 > for ac_tag
14254 > do
14255 >  case $ac_tag in
14256 >  :[FHLC]) ac_mode=$ac_tag; continue;;
14257 >  esac
14258 >  case $ac_mode$ac_tag in
14259 >  :[FHL]*:*);;
14260 >  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
14261 > $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
14262 >   { (exit 1); exit 1; }; };;
14263 >  :[FH]-) ac_tag=-:-;;
14264 >  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14265 >  esac
14266 >  ac_save_IFS=$IFS
14267 >  IFS=:
14268 >  set x $ac_tag
14269 >  IFS=$ac_save_IFS
14270 >  shift
14271 >  ac_file=$1
14272 >  shift
14273 >
14274 >  case $ac_mode in
14275 >  :L) ac_source=$1;;
14276 >  :[FH])
14277 >    ac_file_inputs=
14278 >    for ac_f
14279 >    do
14280 >      case $ac_f in
14281 >      -) ac_f="$tmp/stdin";;
14282 >      *) # Look for the file first in the build tree, then in the source tree
14283 >         # (if the path is not absolute).  The absolute path cannot be DOS-style,
14284 >         # because $ac_f cannot contain `:'.
14285 >         test -f "$ac_f" ||
14286 >           case $ac_f in
14287 >           [\\/$]*) false;;
14288 >           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14289 >           esac ||
14290 >           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14291 > $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14292 >   { (exit 1); exit 1; }; };;
14293 >      esac
14294 >      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14295 >      ac_file_inputs="$ac_file_inputs '$ac_f'"
14296 >    done
14297 >
14298 >    # Let's still pretend it is `configure' which instantiates (i.e., don't
14299 >    # use $as_me), people would be surprised to read:
14300 >    #    /* config.h.  Generated by config.status.  */
14301 >    configure_input='Generated from '`
14302 >          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14303 >        `' by configure.'
14304 >    if test x"$ac_file" != x-; then
14305 >      configure_input="$ac_file.  $configure_input"
14306 >      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
14307 > $as_echo "$as_me: creating $ac_file" >&6;}
14308 >    fi
14309 >    # Neutralize special characters interpreted by sed in replacement strings.
14310 >    case $configure_input in #(
14311 >    *\&* | *\|* | *\\* )
14312 >       ac_sed_conf_input=`$as_echo "$configure_input" |
14313 >       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14314 >    *) ac_sed_conf_input=$configure_input;;
14315 >    esac
14316 >
14317 >    case $ac_tag in
14318 >    *:-:* | *:-) cat >"$tmp/stdin" \
14319 >      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14320 > $as_echo "$as_me: error: could not create $ac_file" >&2;}
14321 >   { (exit 1); exit 1; }; } ;;
14322 >    esac
14323 >    ;;
14324 >  esac
14325 >
14326 >  ac_dir=`$as_dirname -- "$ac_file" ||
14327 > $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14328 >         X"$ac_file" : 'X\(//\)[^/]' \| \
14329 >         X"$ac_file" : 'X\(//\)$' \| \
14330 >         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14331 > $as_echo X"$ac_file" |
14332 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14333 >            s//\1/
14334 >            q
14335 >          }
14336 >          /^X\(\/\/\)[^/].*/{
14337 >            s//\1/
14338 >            q
14339 >          }
14340 >          /^X\(\/\/\)$/{
14341 >            s//\1/
14342 >            q
14343 >          }
14344 >          /^X\(\/\).*/{
14345 >            s//\1/
14346 >            q
14347 >          }
14348 >          s/.*/./; q'`
14349 >  { as_dir="$ac_dir"
14350 >  case $as_dir in #(
14351 >  -*) as_dir=./$as_dir;;
14352 >  esac
14353 >  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14354 >    as_dirs=
14355 >    while :; do
14356 >      case $as_dir in #(
14357 >      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14358 >      *) as_qdir=$as_dir;;
14359 >      esac
14360 >      as_dirs="'$as_qdir' $as_dirs"
14361 >      as_dir=`$as_dirname -- "$as_dir" ||
14362 > $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14363 >         X"$as_dir" : 'X\(//\)[^/]' \| \
14364 >         X"$as_dir" : 'X\(//\)$' \| \
14365 >         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14366 > $as_echo X"$as_dir" |
14367 >    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14368 >            s//\1/
14369 >            q
14370 >          }
14371 >          /^X\(\/\/\)[^/].*/{
14372 >            s//\1/
14373 >            q
14374 >          }
14375 >          /^X\(\/\/\)$/{
14376 >            s//\1/
14377 >            q
14378 >          }
14379 >          /^X\(\/\).*/{
14380 >            s//\1/
14381 >            q
14382 >          }
14383 >          s/.*/./; q'`
14384 >      test -d "$as_dir" && break
14385 >    done
14386 >    test -z "$as_dirs" || eval "mkdir $as_dirs"
14387 >  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14388 > $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14389 >   { (exit 1); exit 1; }; }; }
14390 >  ac_builddir=.
14391 >
14392 > case "$ac_dir" in
14393 > .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14394 > *)
14395 >  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14396 >  # A ".." for each directory in $ac_dir_suffix.
14397 >  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14398 >  case $ac_top_builddir_sub in
14399 >  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14400 >  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14401 >  esac ;;
14402 > esac
14403 > ac_abs_top_builddir=$ac_pwd
14404 > ac_abs_builddir=$ac_pwd$ac_dir_suffix
14405 > # for backward compatibility:
14406 > ac_top_builddir=$ac_top_build_prefix
14407 >
14408 > case $srcdir in
14409 >  .)  # We are building in place.
14410 >    ac_srcdir=.
14411 >    ac_top_srcdir=$ac_top_builddir_sub
14412 >    ac_abs_top_srcdir=$ac_pwd ;;
14413 >  [\\/]* | ?:[\\/]* )  # Absolute name.
14414 >    ac_srcdir=$srcdir$ac_dir_suffix;
14415 >    ac_top_srcdir=$srcdir
14416 >    ac_abs_top_srcdir=$srcdir ;;
14417 >  *) # Relative name.
14418 >    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14419 >    ac_top_srcdir=$ac_top_build_prefix$srcdir
14420 >    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14421 > esac
14422 > ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14423 >
14424 >
14425 >  case $ac_mode in
14426 >  :F)
14427 >  #
14428 >  # CONFIG_FILE
14429 >  #
14430 >
14431 >  case $INSTALL in
14432 >  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14433 >  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14434 >  esac
14435 > _ACEOF
14436 >
14437 > cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14438 > # If the template does not know about datarootdir, expand it.
14439 > # FIXME: This hack should be removed a few years after 2.60.
14440 > ac_datarootdir_hack=; ac_datarootdir_seen=
14441 >
14442 > ac_sed_dataroot='
14443 > /datarootdir/ {
14444 >  p
14445 >  q
14446 > }
14447 > /@datadir@/p
14448 > /@docdir@/p
14449 > /@infodir@/p
14450 > /@localedir@/p
14451 > /@mandir@/p
14452 > '
14453 > case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14454 > *datarootdir*) ac_datarootdir_seen=yes;;
14455 > *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14456 >  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14457 > $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14458 > _ACEOF
14459 > cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14460 >  ac_datarootdir_hack='
14461 >  s&@datadir@&$datadir&g
14462 >  s&@docdir@&$docdir&g
14463 >  s&@infodir@&$infodir&g
14464 >  s&@localedir@&$localedir&g
14465 >  s&@mandir@&$mandir&g
14466 >    s&\\\${datarootdir}&$datarootdir&g' ;;
14467 > esac
14468 > _ACEOF
14469 >
14470 > # Neutralize VPATH when `$srcdir' = `.'.
14471 > # Shell code in configure.ac might set extrasub.
14472 > # FIXME: do we really want to maintain this feature?
14473 > cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14474 > ac_sed_extra="$ac_vpsub
14475 > $extrasub
14476 > _ACEOF
14477 > cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14478 > :t
14479 > /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14480 > s|@configure_input@|$ac_sed_conf_input|;t t
14481 > s&@top_builddir@&$ac_top_builddir_sub&;t t
14482 > s&@top_build_prefix@&$ac_top_build_prefix&;t t
14483 > s&@srcdir@&$ac_srcdir&;t t
14484 > s&@abs_srcdir@&$ac_abs_srcdir&;t t
14485 > s&@top_srcdir@&$ac_top_srcdir&;t t
14486 > s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14487 > s&@builddir@&$ac_builddir&;t t
14488 > s&@abs_builddir@&$ac_abs_builddir&;t t
14489 > s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14490 > s&@INSTALL@&$ac_INSTALL&;t t
14491 > $ac_datarootdir_hack
14492 > "
14493 > eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14494 >  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14495 > $as_echo "$as_me: error: could not create $ac_file" >&2;}
14496 >   { (exit 1); exit 1; }; }
14497 >
14498 > test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14499 >  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14500 >  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14501 >  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14502 > which seems to be undefined.  Please make sure it is defined." >&5
14503 > $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14504 > which seems to be undefined.  Please make sure it is defined." >&2;}
14505 >
14506 >  rm -f "$tmp/stdin"
14507 >  case $ac_file in
14508 >  -) cat "$tmp/out" && rm -f "$tmp/out";;
14509 >  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14510 >  esac \
14511 >  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14512 > $as_echo "$as_me: error: could not create $ac_file" >&2;}
14513 >   { (exit 1); exit 1; }; }
14514 > ;;
14515 >  :H)
14516 >  #
14517 >  # CONFIG_HEADER
14518 >  #
14519 >  if test x"$ac_file" != x-; then
14520 >    {
14521 >      $as_echo "/* $configure_input  */" \
14522 >      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14523 >    } >"$tmp/config.h" \
14524 >      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14525 > $as_echo "$as_me: error: could not create $ac_file" >&2;}
14526 >   { (exit 1); exit 1; }; }
14527 >    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14528 >      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14529 > $as_echo "$as_me: $ac_file is unchanged" >&6;}
14530 >    else
14531 >      rm -f "$ac_file"
14532 >      mv "$tmp/config.h" "$ac_file" \
14533 >        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14534 > $as_echo "$as_me: error: could not create $ac_file" >&2;}
14535 >   { (exit 1); exit 1; }; }
14536 >    fi
14537 >  else
14538 >    $as_echo "/* $configure_input  */" \
14539 >      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14540 >      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
14541 > $as_echo "$as_me: error: could not create -" >&2;}
14542 >   { (exit 1); exit 1; }; }
14543 >  fi
14544 > ;;
14545 >
14546 >
14547 >  esac
14548 >
14549 >
14550 >  case $ac_file$ac_mode in
14551 >    "make/Makefile":F) chmod 0755 scripts/* ;;
14552 >    "src/utils/Makefile":F) chmod 0755 scripts/* ;;
14553 >    "src/math/Makefile":F) chmod 0755 scripts/* ;;
14554 >    "src/integrators/Makefile":F) chmod 0755 scripts/* ;;
14555 >    "src/applications/atom2md/Makefile":F) chmod 0755 scripts/* ;;
14556 >    "scripts/filepp":F) chmod 0755 scripts/* ;;
14557 >
14558 >  esac
14559 > done # for ac_tag
14560 >
14561 >
14562 > { (exit 0); exit 0; }
14563 > _ACEOF
14564 > chmod +x $CONFIG_STATUS
14565 > ac_clean_files=$ac_clean_files_save
14566 >
14567 > test $ac_write_fail = 0 ||
14568 >  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
14569 > $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
14570 >   { (exit 1); exit 1; }; }
14571 >
14572 >
14573 > # configure is writing to config.log, and then calls config.status.
14574 > # config.status does its own redirection, appending to config.log.
14575 > # Unfortunately, on DOS this fails, as config.log is still kept open
14576 > # by configure, so config.status won't be able to write to it; its
14577 > # output is simply discarded.  So we exec the FD to /dev/null,
14578 > # effectively closing config.log, so it can be properly (re)opened and
14579 > # appended to by config.status.  When coming back to configure, we
14580 > # need to make the FD available again.
14581 > if test "$no_create" != yes; then
14582 >  ac_cs_success=:
14583 >  ac_config_status_args=
14584 >  test "$silent" = yes &&
14585 >    ac_config_status_args="$ac_config_status_args --quiet"
14586 >  exec 5>/dev/null
14587 >  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14588 >  exec 5>>config.log
14589 >  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14590 >  # would make configure fail if this is the last instruction.
14591 >  $ac_cs_success || { (exit 1); exit 1; }
14592 > fi
14593 > if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14594 >  { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
14595 > $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
14596   fi
14597  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines