Gentoo Archives: gentoo-commits

From: Martin Mokrejs <mmokrejs@×××××××××××××××.cz>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/ncbi-tools++/files/, sci-biology/ncbi-tools++/
Date: Wed, 25 Jun 2014 21:57:25
Message-Id: 1403733398.b5afb3e918e1e43fcc80466e3dafa96550761a12.mmokrejs@gentoo
1 commit: b5afb3e918e1e43fcc80466e3dafa96550761a12
2 Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
3 AuthorDate: Wed Jun 25 21:56:38 2014 +0000
4 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
5 CommitDate: Wed Jun 25 21:56:38 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=b5afb3e9
7
8 sci-biology/ncbi-tools++-12.0.0: re-added update patch to configure so that we can avoid eautoconf until there is autoconf-2.59 system-wide
9
10 ---
11 .../files/ncbi-tools++-12.0.0-configure.patch | 44505 +------------------
12 .../ncbi-tools++/ncbi-tools++-12.0.0.ebuild | 4 +-
13 2 files changed, 156 insertions(+), 44353 deletions(-)
14
15 diff --git a/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-configure.patch b/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-configure.patch
16 index 4c77991..d44993d 100644
17 --- a/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-configure.patch
18 +++ b/sci-biology/ncbi-tools++/files/ncbi-tools++-12.0.0-configure.patch
19 @@ -1,40433 +1,84 @@
20 ---- ncbi_cxx--12_0_0/src/build-system/configure.ori 2013-05-20 23:03:20.000000000 +0200
21 -+++ ncbi_cxx--12_0_0/src/build-system/configure 2014-06-23 22:22:50.000000000 +0200
22 -@@ -1,19 +1,13 @@
23 - #! /bin/sh
24 - # Guess values for system-dependent variables and create Makefiles.
25 --# Generated by GNU Autoconf 2.59 for ncbi-tools++ 0.0.
26 -+# Generated by GNU Autoconf 2.60 for ncbi-tools++ 0.0.
27 - #
28 - # Report bugs to <cpp-core@××××××××××××.gov>.
29 - #
30 --# Copyright (C) 2003 Free Software Foundation, Inc.
31 -+# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
32 -+# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
33 - # This configure script is free software; the Free Software Foundation
34 - # gives unlimited permission to copy, distribute and modify it.
35 --# Support unset when possible.
36 --if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
37 -- as_unset=unset
38 --else
39 -- as_unset=false
40 --fi
41 --
42 - ## --------------------- ##
43 - ## M4sh Initialization. ##
44 - ## --------------------- ##
45 -@@ -25,11 +19,35 @@
46 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
47 - # is contrary to our usage. Disable this feature.
48 - alias -g '${1+"$@"}'='"$@"'
49 --elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
50 -- set -o posix
51 -+ setopt NO_GLOB_SUBST
52 -+else
53 -+ case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
54 - fi
55 -+BIN_SH=xpg4; export BIN_SH # for Tru64
56 - DUALCASE=1; export DUALCASE # for MKS sh
57 -
58 -+
59 -+# PATH needs CR
60 -+# Avoid depending upon Character Ranges.
61 -+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
62 -+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
63 -+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
64 -+as_cr_digits='0123456789'
65 -+as_cr_alnum=$as_cr_Letters$as_cr_digits
66 -+
67 -+# The user is always right.
68 -+if test "${PATH_SEPARATOR+set}" != set; then
69 -+ echo "#! /bin/sh" >conf$$.sh
70 -+ echo "exit 0" >>conf$$.sh
71 -+ chmod +x conf$$.sh
72 -+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
73 -+ PATH_SEPARATOR=';'
74 -+ else
75 -+ PATH_SEPARATOR=:
76 -+ fi
77 -+ rm -f conf$$.sh
78 -+fi
79 -+
80 - # Support unset when possible.
81 - if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
82 - as_unset=unset
83 -@@ -38,8 +56,43 @@
84 - fi
85 -
86 -
87 -+# IFS
88 -+# We need space, tab and new line, in precisely that order. Quoting is
89 -+# there to prevent editors from complaining about space-tab.
90 -+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
91 -+# splitting by setting IFS to empty value.)
92 -+as_nl='
93 -+'
94 -+IFS=" "" $as_nl"
95 -+
96 -+# Find who we are. Look in the path if we contain no directory separator.
97 -+case $0 in
98 -+ *[\\/]* ) as_myself=$0 ;;
99 -+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 -+for as_dir in $PATH
101 -+do
102 -+ IFS=$as_save_IFS
103 -+ test -z "$as_dir" && as_dir=.
104 -+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 -+done
106 -+IFS=$as_save_IFS
107 -+
108 -+ ;;
109 -+esac
110 -+# We did not find ourselves, most probably we were run as `sh COMMAND'
111 -+# in which case we are not to be found in the path.
112 -+if test "x$as_myself" = x; then
113 -+ as_myself=$0
114 -+fi
115 -+if test ! -f "$as_myself"; then
116 -+ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 -+ { (exit 1); exit 1; }
118 -+fi
119 -+
120 - # Work around bugs in pre-3.0 UWIN ksh.
121 --$as_unset ENV MAIL MAILPATH
122 -+for as_var in ENV MAIL MAILPATH
123 -+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
124 -+done
125 - PS1='$ '
126 - PS2='> '
127 - PS4='+ '
128 -@@ -53,18 +106,19 @@
129 - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
130 - eval $as_var=C; export $as_var
131 - else
132 -- $as_unset $as_var
133 -+ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
134 - fi
135 - done
136 -
137 - # Required to use basename.
138 --if expr a : '\(a\)' >/dev/null 2>&1; then
139 -+if expr a : '\(a\)' >/dev/null 2>&1 &&
140 -+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
141 - as_expr=expr
142 - else
143 - as_expr=false
144 - fi
145 -
146 --if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
147 -+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
148 - as_basename=basename
149 - else
150 - as_basename=false
151 -@@ -72,160 +126,394 @@
152 -
153 -
154 - # Name of the executable.
155 --as_me=`$as_basename "$0" ||
156 -+as_me=`$as_basename -- "$0" ||
157 - $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
158 - X"$0" : 'X\(//\)$' \| \
159 -- X"$0" : 'X\(/\)$' \| \
160 -- . : '\(.\)' 2>/dev/null ||
161 -+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
162 - echo X/"$0" |
163 -- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
164 -- /^X\/\(\/\/\)$/{ s//\1/; q; }
165 -- /^X\/\(\/\).*/{ s//\1/; q; }
166 -+ sed '/^.*\/\([^/][^/]*\)\/*$/{
167 -+ s//\1/
168 -+ q
169 -+ }
170 -+ /^X\/\(\/\/\)$/{
171 -+ s//\1/
172 -+ q
173 -+ }
174 -+ /^X\/\(\/\).*/{
175 -+ s//\1/
176 -+ q
177 -+ }
178 - s/.*/./; q'`
179 -
180 -+# CDPATH.
181 -+$as_unset CDPATH
182 -
183 --# PATH needs CR, and LINENO needs CR and PATH.
184 --# Avoid depending upon Character Ranges.
185 --as_cr_letters='abcdefghijklmnopqrstuvwxyz'
186 --as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
187 --as_cr_Letters=$as_cr_letters$as_cr_LETTERS
188 --as_cr_digits='0123456789'
189 --as_cr_alnum=$as_cr_Letters$as_cr_digits
190 -+$as_unset ZSH_VERSION || test "${ZSH_VERSION+set}" != set || { ZSH_VERSION=; export ZSH_VERSION; }
191 -
192 --# The user is always right.
193 --if test "${PATH_SEPARATOR+set}" != set; then
194 -- echo "#! /bin/sh" >conf$$.sh
195 -- echo "exit 0" >>conf$$.sh
196 -- chmod +x conf$$.sh
197 -- if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
198 -- PATH_SEPARATOR=';'
199 -+if test "x$CONFIG_SHELL" = x; then
200 -+ if (eval "test -z \"\${ZSH_VERSION+set}\" || exit \$?; :") 2>/dev/null; then
201 -+ as_have_required=yes
202 - else
203 -- PATH_SEPARATOR=:
204 -+ as_have_required=no
205 - fi
206 -- rm -f conf$$.sh
207 -+
208 -+ if test $as_have_required = yes && (eval "test -z \"\${ZSH_VERSION+set}\" || exit \$?; :
209 -+(as_func_return () {
210 -+ (exit \$1)
211 -+}
212 -+as_func_success () {
213 -+ as_func_return 0
214 -+}
215 -+as_func_failure () {
216 -+ as_func_return 1
217 -+}
218 -+as_func_ret_success () {
219 -+ return 0
220 -+}
221 -+as_func_ret_failure () {
222 -+ return 1
223 -+}
224 -+
225 -+exitcode=0
226 -+if as_func_success; then
227 -+ :
228 -+else
229 -+ exitcode=1
230 -+ echo as_func_success failed.
231 - fi
232 -
233 -+if as_func_failure; then
234 -+ exitcode=1
235 -+ echo as_func_failure succeeded.
236 -+fi
237 -
238 -- as_lineno_1=$LINENO
239 -- as_lineno_2=$LINENO
240 -- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
241 -- test "x$as_lineno_1" != "x$as_lineno_2" &&
242 -- test "x$as_lineno_3" = "x$as_lineno_2" || {
243 -- # Find who we are. Look in the path if we contain no path at all
244 -- # relative or not.
245 -- case $0 in
246 -- *[\\/]* ) as_myself=$0 ;;
247 -- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
248 --for as_dir in $PATH
249 --do
250 -- IFS=$as_save_IFS
251 -- test -z "$as_dir" && as_dir=.
252 -- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
253 --done
254 -+if as_func_ret_success; then
255 -+ :
256 -+else
257 -+ exitcode=1
258 -+ echo as_func_ret_success failed.
259 -+fi
260 -
261 -- ;;
262 -- esac
263 -- # We did not find ourselves, most probably we were run as `sh COMMAND'
264 -- # in which case we are not to be found in the path.
265 -- if test "x$as_myself" = x; then
266 -- as_myself=$0
267 -+if as_func_ret_failure; then
268 -+ exitcode=1
269 -+ echo as_func_ret_failure succeeded.
270 - fi
271 -- if test ! -f "$as_myself"; then
272 -- { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
273 -- { (exit 1); exit 1; }; }
274 -+
275 -+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
276 -+ :
277 -+else
278 -+ exitcode=1
279 -+ echo positional parameters were not saved.
280 - fi
281 -- case $CONFIG_SHELL in
282 -- '')
283 -- $as_unset ZSH_VERSION || test "${ZSH_VERSION+set}" != set || { ZSH_VERSION=; export ZSH_VERSION; }
284 -- for as_base in sh ksh sh5 bash; do
285 -+
286 -+test \$exitcode = 0) || { (exit 1); exit 1; }
287 -+
288 -+(
289 -+ as_lineno_1=\$LINENO
290 -+ as_lineno_2=\$LINENO
291 -+ test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
292 -+ test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
293 -+") 2> /dev/null; then
294 -+ :
295 -+else
296 -+ as_candidate_shells=
297 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
298 --for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
299 -+for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
300 - do
301 - IFS=$as_save_IFS
302 - test -z "$as_dir" && as_dir=.
303 - case $as_dir in
304 - /*)
305 -- if ("$as_dir/$as_base" -c \
306 -- 'test -z "$ZSH_VERSION" && {
307 -+ for as_base in sh ksh sh5 bash; do
308 -+ as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
309 -+ done;;
310 -+ esac
311 -+done
312 -+IFS=$as_save_IFS
313 -+
314 -+
315 -+ for as_shell in $as_candidate_shells $SHELL; do
316 -+ # Try only shells that exist, to save several forks.
317 -+ if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
318 -+ { ("$as_shell") 2> /dev/null <<\_ASEOF
319 -+# Be Bourne compatible
320 -+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
321 -+ emulate sh
322 -+ NULLCMD=:
323 -+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
324 -+ # is contrary to our usage. Disable this feature.
325 -+ alias -g '${1+"$@"}'='"$@"'
326 -+ setopt NO_GLOB_SUBST
327 -+else
328 -+ case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
329 -+fi
330 -+BIN_SH=xpg4; export BIN_SH # for Tru64
331 -+DUALCASE=1; export DUALCASE # for MKS sh
332 -+
333 -+test -z "${ZSH_VERSION+set}" || exit $?; :
334 -+_ASEOF
335 -+}; then
336 -+ CONFIG_SHELL=$as_shell
337 -+ as_have_required=yes
338 -+ if { "$as_shell" 2> /dev/null <<\_ASEOF
339 -+# Be Bourne compatible
340 -+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
341 -+ emulate sh
342 -+ NULLCMD=:
343 -+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
344 -+ # is contrary to our usage. Disable this feature.
345 -+ alias -g '${1+"$@"}'='"$@"'
346 -+ setopt NO_GLOB_SUBST
347 -+else
348 -+ case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
349 -+fi
350 -+BIN_SH=xpg4; export BIN_SH # for Tru64
351 -+DUALCASE=1; export DUALCASE # for MKS sh
352 -+
353 -+test -z "${ZSH_VERSION+set}" || exit $?; :
354 -+(as_func_return () {
355 -+ (exit $1)
356 -+}
357 -+as_func_success () {
358 -+ as_func_return 0
359 -+}
360 -+as_func_failure () {
361 -+ as_func_return 1
362 -+}
363 -+as_func_ret_success () {
364 -+ return 0
365 -+}
366 -+as_func_ret_failure () {
367 -+ return 1
368 -+}
369 -+
370 -+exitcode=0
371 -+if as_func_success; then
372 -+ :
373 -+else
374 -+ exitcode=1
375 -+ echo as_func_success failed.
376 -+fi
377 -+
378 -+if as_func_failure; then
379 -+ exitcode=1
380 -+ echo as_func_failure succeeded.
381 -+fi
382 -+
383 -+if as_func_ret_success; then
384 -+ :
385 -+else
386 -+ exitcode=1
387 -+ echo as_func_ret_success failed.
388 -+fi
389 -+
390 -+if as_func_ret_failure; then
391 -+ exitcode=1
392 -+ echo as_func_ret_failure succeeded.
393 -+fi
394 -+
395 -+if ( set x; as_func_ret_success y && test x = "$1" ); then
396 -+ :
397 -+else
398 -+ exitcode=1
399 -+ echo positional parameters were not saved.
400 -+fi
401 -+
402 -+test $exitcode = 0) || { (exit 1); exit 1; }
403 -+
404 -+(
405 - as_lineno_1=$LINENO
406 - as_lineno_2=$LINENO
407 -- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
408 - test "x$as_lineno_1" != "x$as_lineno_2" &&
409 -- test "x$as_lineno_3" = "x$as_lineno_2" ; }') 2>/dev/null
410 -- then
411 -- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
412 -- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
413 -- CONFIG_SHELL=$as_dir/$as_base
414 -- export CONFIG_SHELL
415 -- exec "$CONFIG_SHELL" "$0" ${1+"$@"}
416 -- fi;;
417 -- esac
418 -+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
419 -+
420 -+_ASEOF
421 -+}; then
422 -+ break
423 -+fi
424 -+
425 -+fi
426 -+
427 - done
428 -+
429 -+ if test "x$CONFIG_SHELL" != x; then
430 -+ for as_var in BASH_ENV ENV
431 -+ do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
432 - done
433 --;;
434 -- esac
435 -+ export CONFIG_SHELL
436 -+ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
437 -+fi
438 -+
439 -+
440 -+ if test $as_have_required = no; then
441 -+ echo This script requires a shell more modern than all the
442 -+ echo shells that I found on your system. Please install a
443 -+ echo modern shell, or manually run the script under such a
444 -+ echo shell if you do have one.
445 -+ { (exit 1); exit 1; }
446 -+fi
447 -+
448 -+
449 -+fi
450 -+
451 -+fi
452 -+
453 -+# Support unset when possible.
454 -+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
455 -+ as_unset=unset
456 -+else
457 -+ as_unset=false
458 -+fi
459 -+
460 -+
461 -+
462 -+(eval "test -z \"\${ZSH_VERSION+set}\" || exit \$?; as_func_return () {
463 -+ (exit \$1)
464 -+}
465 -+as_func_success () {
466 -+ as_func_return 0
467 -+}
468 -+as_func_failure () {
469 -+ as_func_return 1
470 -+}
471 -+as_func_ret_success () {
472 -+ return 0
473 -+}
474 -+as_func_ret_failure () {
475 -+ return 1
476 -+}
477 -+
478 -+exitcode=0
479 -+if as_func_success; then
480 -+ :
481 -+else
482 -+ exitcode=1
483 -+ echo as_func_success failed.
484 -+fi
485 -+
486 -+if as_func_failure; then
487 -+ exitcode=1
488 -+ echo as_func_failure succeeded.
489 -+fi
490 -+
491 -+if as_func_ret_success; then
492 -+ :
493 -+else
494 -+ exitcode=1
495 -+ echo as_func_ret_success failed.
496 -+fi
497 -+
498 -+if as_func_ret_failure; then
499 -+ exitcode=1
500 -+ echo as_func_ret_failure succeeded.
501 -+fi
502 -+
503 -+if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
504 -+ :
505 -+else
506 -+ exitcode=1
507 -+ echo positional parameters were not saved.
508 -+fi
509 -+
510 -+test \$exitcode = 0") || {
511 -+ echo No shell found that supports shell functions.
512 -+ echo Please tell autoconf@×××.org about your system,
513 -+ echo including any error possibly output before this
514 -+ echo message
515 -+}
516 -+
517 -+
518 -+
519 -+ as_lineno_1=$LINENO
520 -+ as_lineno_2=$LINENO
521 -+ test "x$as_lineno_1" != "x$as_lineno_2" &&
522 -+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
523 -
524 - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
525 - # uniformly replaced by the line number. The first 'sed' inserts a
526 -- # line-number line before each line; the second 'sed' does the real
527 -- # work. The second script uses 'N' to pair each line-number line
528 -- # with the numbered line, and appends trailing '-' during
529 -- # substitution so that $LINENO is not a special case at line end.
530 -+ # line-number line after each line using $LINENO; the second 'sed'
531 -+ # does the real work. The second script uses 'N' to pair each
532 -+ # line-number line with the line containing $LINENO, and appends
533 -+ # trailing '-' during substitution so that $LINENO is not a special
534 -+ # case at line end.
535 - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
536 -- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
537 -- sed '=' <$as_myself |
538 -+ # scripts with optimization help from Paolo Bonzini. Blame Lee
539 -+ # E. McMahon (1931-1989) for sed's syntax. :-)
540 -+ sed -n '
541 -+ p
542 -+ /[$]LINENO/=
543 -+ ' <$as_myself |
544 - sed '
545 -+ s/[$]LINENO.*/&-/
546 -+ t lineno
547 -+ b
548 -+ :lineno
549 - N
550 -- s,$,-,
551 - : loop
552 -- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
553 -+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
554 - t loop
555 -- s,-$,,
556 -- s,^['$as_cr_digits']*\n,,
557 -+ s/-\n.*//
558 - ' >$as_me.lineno &&
559 -- chmod +x $as_me.lineno ||
560 -+ chmod +x "$as_me.lineno" ||
561 - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
562 - { (exit 1); exit 1; }; }
563 -
564 - # Don't try to exec as it changes $[0], causing all sort of problems
565 - # (the dirname of $[0] is not the place where we might find the
566 -- # original and so on. Autoconf is especially sensible to this).
567 -- . ./$as_me.lineno
568 -+ # original and so on. Autoconf is especially sensitive to this).
569 -+ . "./$as_me.lineno"
570 - # Exit status is that of the last command.
571 - exit
572 - }
573 -
574 -
575 --case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
576 -- *c*,-n*) ECHO_N= ECHO_C='
577 --' ECHO_T=' ' ;;
578 -- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
579 -- *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
580 -+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
581 -+ as_dirname=dirname
582 -+else
583 -+ as_dirname=false
584 -+fi
585 -+
586 -+ECHO_C= ECHO_N= ECHO_T=
587 -+case `echo -n x` in
588 -+-n*)
589 -+ case `echo 'x\c'` in
590 -+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
591 -+ *) ECHO_C='\c';;
592 -+ esac;;
593 -+*)
594 -+ ECHO_N='-n';;
595 - esac
596 -
597 --if expr a : '\(a\)' >/dev/null 2>&1; then
598 -+if expr a : '\(a\)' >/dev/null 2>&1 &&
599 -+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
600 - as_expr=expr
601 - else
602 - as_expr=false
603 - fi
604 -
605 - rm -f conf$$ conf$$.exe conf$$.file
606 -+if test -d conf$$.dir; then
607 -+ rm -f conf$$.dir/conf$$.file
608 -+else
609 -+ rm -f conf$$.dir
610 -+ mkdir conf$$.dir
611 -+fi
612 - echo >conf$$.file
613 - if ln -s conf$$.file conf$$ 2>/dev/null; then
614 -- # We could just check for DJGPP; but this test a) works b) is more generic
615 -- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
616 -- if test -f conf$$.exe; then
617 -- # Don't use ln at all; we don't have any links
618 -- as_ln_s='cp -p'
619 -- else
620 - as_ln_s='ln -s'
621 -- fi
622 -+ # ... but there are two gotchas:
623 -+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
624 -+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
625 -+ # In both cases, we have to default to `cp -p'.
626 -+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
627 -+ as_ln_s='cp -p'
628 - elif ln conf$$.file conf$$ 2>/dev/null; then
629 - as_ln_s=ln
630 - else
631 - as_ln_s='cp -p'
632 - fi
633 --rm -f conf$$ conf$$.exe conf$$.file
634 -+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
635 -+rmdir conf$$.dir 2>/dev/null
636 -
637 - if mkdir -p . 2>/dev/null; then
638 - as_mkdir_p=:
639 -@@ -234,7 +522,19 @@
640 - as_mkdir_p=false
641 - fi
642 -
643 --as_executable_p="test -f"
644 -+# Find out whether ``test -x'' works. Don't use a zero-byte file, as
645 -+# systems may use methods other than mode bits to determine executability.
646 -+cat >conf$$.file <<_ASEOF
647 -+#! /bin/sh
648 -+exit 0
649 -+_ASEOF
650 -+chmod +x conf$$.file
651 -+if test -x conf$$.file >/dev/null 2>&1; then
652 -+ as_executable_p="test -x"
653 -+else
654 -+ as_executable_p=:
655 -+fi
656 -+rm -f conf$$.file
657 -
658 - # Sed expression to map a string onto a valid CPP name.
659 - as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
660 -@@ -243,39 +543,27 @@
661 - as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
662 -
663 -
664 --# IFS
665 --# We need space, tab and new line, in precisely that order.
666 --as_nl='
667 --'
668 --IFS=" $as_nl"
669 --
670 --# CDPATH.
671 --$as_unset CDPATH
672 -
673 -+exec 7<&0 </dev/null 6>&1
674 -
675 - # Name of the host.
676 - # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
677 - # so uname gets run too.
678 - ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
679 -
680 --exec 6>&1
681 --
682 - #
683 - # Initializations.
684 - #
685 - ac_default_prefix=/usr/local
686 -+ac_clean_files=
687 - ac_config_libobj_dir=.
688 -+LIBOBJS=
689 - cross_compiling=no
690 - subdirs=
691 - MFLAGS=
692 - MAKEFLAGS=
693 - SHELL=${CONFIG_SHELL-/bin/sh}
694 -
695 --# Maximum number of lines to put in a shell here document.
696 --# This variable seems obsolete. It should probably be removed, and
697 --# only ac_max_sed_lines should be used.
698 --: ${ac_max_here_lines=38}
699 --
700 - # Identity of this package.
701 - PACKAGE_NAME='ncbi-tools++'
702 - PACKAGE_TARNAME='ncbi-tools--'
703 -@@ -312,17 +600,441 @@
704 - #endif
705 - #if HAVE_INTTYPES_H
706 - # include <inttypes.h>
707 --#else
708 -+#endif
709 - # if HAVE_STDINT_H
710 - # include <stdint.h>
711 - # endif
712 --#endif
713 - #if HAVE_UNISTD_H
714 - # include <unistd.h>
715 - #endif"
716 -
717 --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 PROJECTS build build_cpu build_vendor build_os host host_cpu host_vendor host_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX MT_SFX DLL DLL_LIB_SETTING IF_WITH_DLL UNLESS_WITH_DLL STATIC USUAL_AND_DLL USUAL_AND_LIB LN_S RANLIB ac_ct_RANLIB AR STRIP DISTCC CCACHE TAIL TOUCH EGREP VALGRIND_PATH CXXCPP TCHECK_CL AMQ CPP Z_INCLUDE Z_LIBS BZ2_INCLUDE BZ2_LIBS LZO_INCLUDE LZO_LIBS PCRE_INCLUDE PCRE_LIBS LIBGCRYPT_CONFIG GCRYPT_INCLUDE GCRYPT_LIBS LIBGNUTLS_CONFIG GNUTLS_INCLUDE GNUTLS_LIBS OPENSSL_INCLUDE OPENSSL_LIBS KRB5_CONFIG KRB5_INCLUDE KRB5_LIBS CURL_INCLUDE CURL_LIBS FTD
718 S64_INCLUDE FTDS64_LIBS FTDS64_LIB FTDS64_CTLIB_INCLUDE FTDS64_CTLIB_LIBS FTDS64_CTLIB_LIB FTDS_INCLUDE FTDS_LIBS FTDS_LIB freetds ftds64 mysql_config PYTHON PYTHON_INCLUDE PYTHON_LIBS PYTHON23 PYTHON23_INCLUDE PYTHON23_LIBS PYTHON24 PYTHON24_INCLUDE PYTHON24_LIBS PYTHON25 PYTHON25_INCLUDE PYTHON25_LIBS PERL _ACJNI_JAVAC X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS wxconf EXPAT_INCLUDE EXPAT_LIBS SABLOT_INCLUDE SABLOT_LIBS LIBXML_INCLUDE LIBXML_LIBS LIBXSLT_INCLUDE LIBXSLT_LIBS XSLTPROC LIBEXSLT_INCLUDE LIBEXSLT_LIBS SQLITE3_INCLUDE SQLITE3_LIBS OECHEM_INCLUDE OECHEM_LIBS SGE_INCLUDE SGE_LIBS MUPARSER_INCLUDE MUPARSER_LIBS HDF5_INCLUDE HDF5_LIBS JPEG_INCLUDE JPEG_LIBS PNG_INCLUDE PNG_LIBS TIFF_INCLUDE TIFF_LIBS UNGIF_INCLUDE UNGIF_LIBS GIF_INCLUDE GIF_LIBS XPM_INCLUDE XPM_LIBS freetype_config FTGL_INCLUDE FTGL_LIBS MAGIC_INCLUDE MAGIC_LIBS MIMETIC_INCLUDE MIMETIC_LIBS signature build_root top_srcdir srcdir status_dir builddir runpath ncbi_runpath c_ncbi_runpath LINK C_LINK TAIL_N EGREP_Q
719 FAST_CFLAGS FAST_CXXFLAGS OBJCXX_CXXFLAGS DEPFLAGS DEPFLAGS_POST FAST_LDFLAGS APP_LDFLAGS DLL_LDFLAGS C_LIBS OBJCXX_LIBS GCCPCH RUNPATH_ORIGIN NO_STRICT_ALIASING D_SFX DEBUG_SFX LIB_OR_DLL FORCE_STATIC_LIB APP_LIB_SETTING APP_LIBS_SETTING LINK_DLL has_dll_loadable LINK_LOADABLE CFLAGS_DLL CXXFLAGS_DLL ALLOW_UNDEF FORBID_UNDEF OPT_GROUPS local_lbsm ncbi_crypt CONNEXT XCONNEXT serial bdb dbapi objects gui algo app internal sra check CHECK_ARG CHECK_TOOLS CHECK_TIMEOUT_MULT CHECK_OS_NAME FEATURES script_shell make_shell obj_ext lib_pre lib_l_pre lib_ext dll_ext loadable_ext lib_l_ext exe_ext f_compile f_outobj f_outlib f_libpath f_runpath f_outexe BDB_LIB BDB_CACHE_LIB DBAPI_DRIVER DBAPI_CTLIB DBAPI_DBLIB DBAPI_MYSQL DBAPI_ODBC THREAD_LIBS NCBIATOMIC_LIB NETWORK_LIBS NETWORK_PURE_LIBS RESOLVER_LIBS MATH_LIBS KSTAT_LIBS RPCSVC_LIBS CRYPT_LIBS DL_LIBS RT_LIBS UUID_LIBS DEMANGLE_LIBS ICONV_LIBS Z_LIB BZ2_LIB PCREPOSIX_LIBS PCRE_LIB OPENSSL_STATIC_LIBS TLS_INCLUDE TLS_LIBS SYBASE_PATH SYB
720 ASE_LCL_PATH SYBASE_INCLUDE SYBASE_LIBS SYBASE_DLLS SYBASE_DBLIBS MYSQL_INCLUDE MYSQL_LIBS BERKELEYDB_INCLUDE BERKELEYDB_LIBS BERKELEYDB_STATIC_LIBS BERKELEYDB_CXX_LIBS BERKELEYDB_CXX_STATIC_LIBS ODBC_INCLUDE ODBC_LIBS BOOST_INCLUDE BOOST_LIBPATH BOOST_TAG BOOST_REGEX_LIBS BOOST_REGEX_STATIC_LIBS BOOST_SYSTEM_LIBS BOOST_SYSTEM_STATIC_LIBS BOOST_TEST_PEM_LIBS BOOST_TEST_PEM_STATIC_LIBS BOOST_TEST_TEM_LIBS BOOST_TEST_TEM_STATIC_LIBS BOOST_TEST_UTF_LIBS BOOST_TEST_UTF_STATIC_LIBS BOOST_THREAD_LIBS BOOST_THREAD_STATIC_LIBS NCBI_C_INCLUDE NCBI_C_LIBPATH OPENGL_INCLUDE OPENGL_LIBS OPENGL_STATIC_LIBS OSMESA_INCLUDE OSMESA_LIBS OSMESA_STATIC_LIBS GLUT_INCLUDE GLUT_LIBS GLEW_INCLUDE GLEW_LIBS GLEW_STATIC_LIBS WXWIDGETS_INCLUDE WXWIDGETS_LIBS WXWIDGETS_STATIC_LIBS WXWIDGETS_GL_LIBS WXWIDGETS_GL_STATIC_LIBS WXWIDGETS_POST_LINK FASTCGI_INCLUDE FASTCGI_LIBS FASTCGI_OBJS NCBI_SSS_INCLUDE NCBI_SSS_LIBPATH LIBSSSUTILS LIBSSSDB sssutils SP_INCLUDE SP_LIBS ORBACUS_INCLUDE ORBACUS_LIBPATH LIBOB LIBIMR
721 ICU_CONFIG ICU_INCLUDE ICU_LIBS ICU_STATIC_LIBS EXPAT_STATIC_LIBS SABLOT_STATIC_LIBS LIBXML_STATIC_LIBS LIBXSLT_STATIC_LIBS LIBEXSLT_STATIC_LIBS XERCES_INCLUDE XERCES_LIBS XERCES_STATIC_LIBS XALAN_INCLUDE XALAN_LIBS XALAN_STATIC_LIBS ZORBA_INCLUDE ZORBA_LIBS ZORBA_STATIC_LIBS SQLITE3_STATIC_LIBS FREETYPE_INCLUDE FREETYPE_LIBS ncbi_xreader_pubseqos ncbi_xreader_pubseqos2 UNLESS_PUBSEQOS PERL_INCLUDE PERL_LIBS JDK_PATH JDK_INCLUDE ncbi_java NCBI_C_ncbi BINCOPY APP_NOCOPY APP_OR_NULL IF_REBUILDING_LIBS IF_REBUILDING_CONDITIONALLY IF_DEACTIVATING configurables_mfname CC_FILTER CXX_FILTER AR_FILTER LINK_FILTER CC_WRAPPER CXX_WRAPPER AR_WRAPPER LINK_WRAPPER KeepStateTarget Rules serial_ws50_rtti_kludge ncbicntr UNIX_SRC UNIX_USR_PROJ compiler compiler_root compiler_version COMPILER OSTYPE NCBI_PLATFORM_BITS LIBOBJS LTLIBOBJS'
722 -+ac_subst_vars='SHELL
723 -+PATH_SEPARATOR
724 -+PACKAGE_NAME
725 -+PACKAGE_TARNAME
726 -+PACKAGE_VERSION
727 -+PACKAGE_STRING
728 -+PACKAGE_BUGREPORT
729 -+exec_prefix
730 -+prefix
731 -+program_transform_name
732 -+bindir
733 -+sbindir
734 -+libexecdir
735 -+datarootdir
736 -+datadir
737 -+sysconfdir
738 -+sharedstatedir
739 -+localstatedir
740 -+includedir
741 -+oldincludedir
742 -+docdir
743 -+infodir
744 -+htmldir
745 -+dvidir
746 -+pdfdir
747 -+psdir
748 -+libdir
749 -+localedir
750 -+mandir
751 -+DEFS
752 -+ECHO_C
753 -+ECHO_N
754 -+ECHO_T
755 -+LIBS
756 -+build_alias
757 -+host_alias
758 -+target_alias
759 -+PROJECTS
760 -+build
761 -+build_cpu
762 -+build_vendor
763 -+build_os
764 -+host
765 -+host_cpu
766 -+host_vendor
767 -+host_os
768 -+INSTALL_PROGRAM
769 -+INSTALL_SCRIPT
770 -+INSTALL_DATA
771 -+CC
772 -+CFLAGS
773 -+LDFLAGS
774 -+CPPFLAGS
775 -+ac_ct_CC
776 -+EXEEXT
777 -+OBJEXT
778 -+CXX
779 -+CXXFLAGS
780 -+ac_ct_CXX
781 -+MT_SFX
782 -+DLL
783 -+DLL_LIB_SETTING
784 -+IF_WITH_DLL
785 -+UNLESS_WITH_DLL
786 -+STATIC
787 -+USUAL_AND_DLL
788 -+USUAL_AND_LIB
789 -+LN_S
790 -+RANLIB
791 -+AR
792 -+STRIP
793 -+DISTCC
794 -+CCACHE
795 -+TAIL
796 -+TOUCH
797 -+GREP
798 -+EGREP
799 -+VALGRIND_PATH
800 -+LDD
801 -+CXXCPP
802 -+TCHECK_CL
803 -+AMQ
804 -+CPP
805 -+Z_INCLUDE
806 -+Z_LIBS
807 -+BZ2_INCLUDE
808 -+BZ2_LIBS
809 -+LZO_INCLUDE
810 -+LZO_LIBS
811 -+PCRE_INCLUDE
812 -+PCRE_LIBS
813 -+LIBGCRYPT_CONFIG
814 -+GCRYPT_INCLUDE
815 -+GCRYPT_LIBS
816 -+LIBGNUTLS_CONFIG
817 -+GNUTLS_INCLUDE
818 -+GNUTLS_LIBS
819 -+OPENSSL_INCLUDE
820 -+OPENSSL_LIBS
821 -+KRB5_CONFIG
822 -+KRB5_INCLUDE
823 -+KRB5_LIBS
824 -+CURL_INCLUDE
825 -+CURL_LIBS
826 -+FTDS64_INCLUDE
827 -+FTDS64_LIBS
828 -+FTDS64_LIB
829 -+FTDS64_CTLIB_INCLUDE
830 -+FTDS64_CTLIB_LIBS
831 -+FTDS64_CTLIB_LIB
832 -+FTDS_INCLUDE
833 -+FTDS_LIBS
834 -+FTDS_LIB
835 -+freetds
836 -+ftds64
837 -+mysql_config
838 -+PYTHON
839 -+PYTHON_INCLUDE
840 -+PYTHON_LIBS
841 -+PYTHON23
842 -+PYTHON23_INCLUDE
843 -+PYTHON23_LIBS
844 -+PYTHON24
845 -+PYTHON24_INCLUDE
846 -+PYTHON24_LIBS
847 -+PYTHON25
848 -+PYTHON25_INCLUDE
849 -+PYTHON25_LIBS
850 -+PERL
851 -+_ACJNI_JAVAC
852 -+XMKMF
853 -+X_CFLAGS
854 -+X_PRE_LIBS
855 -+X_LIBS
856 -+X_EXTRA_LIBS
857 -+wxconf
858 -+EXPAT_INCLUDE
859 -+EXPAT_LIBS
860 -+SABLOT_INCLUDE
861 -+SABLOT_LIBS
862 -+LIBXML_INCLUDE
863 -+LIBXML_LIBS
864 -+LIBXSLT_INCLUDE
865 -+LIBXSLT_LIBS
866 -+XSLTPROC
867 -+LIBEXSLT_INCLUDE
868 -+LIBEXSLT_LIBS
869 -+SQLITE3_INCLUDE
870 -+SQLITE3_LIBS
871 -+OECHEM_INCLUDE
872 -+OECHEM_LIBS
873 -+SGE_INCLUDE
874 -+SGE_LIBS
875 -+MUPARSER_INCLUDE
876 -+MUPARSER_LIBS
877 -+HDF5_INCLUDE
878 -+HDF5_LIBS
879 -+JPEG_INCLUDE
880 -+JPEG_LIBS
881 -+PNG_INCLUDE
882 -+PNG_LIBS
883 -+TIFF_INCLUDE
884 -+TIFF_LIBS
885 -+UNGIF_INCLUDE
886 -+UNGIF_LIBS
887 -+GIF_INCLUDE
888 -+GIF_LIBS
889 -+XPM_INCLUDE
890 -+XPM_LIBS
891 -+freetype_config
892 -+FTGL_INCLUDE
893 -+FTGL_LIBS
894 -+MAGIC_INCLUDE
895 -+MAGIC_LIBS
896 -+MIMETIC_INCLUDE
897 -+MIMETIC_LIBS
898 -+GSOAP_SOAPCPP2
899 -+GSOAP_WSDL2H
900 -+GSOAP_INCLUDE
901 -+GSOAP_LIBS
902 -+MONGODB_INCLUDE
903 -+MONGODB_LIBS
904 -+signature
905 -+build_root
906 -+top_srcdir
907 -+srcdir
908 -+status_dir
909 -+builddir
910 -+runpath
911 -+ncbi_runpath
912 -+c_ncbi_runpath
913 -+LINK
914 -+C_LINK
915 -+TAIL_N
916 -+EGREP_Q
917 -+LDD_R
918 -+FAST_CFLAGS
919 -+FAST_CXXFLAGS
920 -+OBJCXX_CXXFLAGS
921 -+DEPFLAGS
922 -+DEPFLAGS_POST
923 -+FAST_LDFLAGS
924 -+APP_LDFLAGS
925 -+DLL_LDFLAGS
926 -+C_LIBS
927 -+OBJCXX_LIBS
928 -+GCCPCH
929 -+RUNPATH_ORIGIN
930 -+NO_STRICT_ALIASING
931 -+D_SFX
932 -+DEBUG_SFX
933 -+LIB_OR_DLL
934 -+FORCE_STATIC_LIB
935 -+APP_LIB_SETTING
936 -+APP_LIBS_SETTING
937 -+LINK_DLL
938 -+has_dll_loadable
939 -+LINK_LOADABLE
940 -+CFLAGS_DLL
941 -+CXXFLAGS_DLL
942 -+ALLOW_UNDEF
943 -+FORBID_UNDEF
944 -+OPT_GROUPS
945 -+local_lbsm
946 -+ncbi_crypt
947 -+CONNEXT
948 -+XCONNEXT
949 -+serial
950 -+bdb
951 -+dbapi
952 -+objects
953 -+gui
954 -+algo
955 -+app
956 -+internal
957 -+check
958 -+CHECK_ARG
959 -+CHECK_TOOLS
960 -+CHECK_TIMEOUT_MULT
961 -+CHECK_OS_NAME
962 -+FEATURES
963 -+script_shell
964 -+make_shell
965 -+obj_ext
966 -+lib_pre
967 -+lib_l_pre
968 -+lib_ext
969 -+dll_ext
970 -+loadable_ext
971 -+lib_l_ext
972 -+exe_ext
973 -+f_compile
974 -+f_outobj
975 -+f_outlib
976 -+f_libpath
977 -+f_runpath
978 -+f_outexe
979 -+BDB_LIB
980 -+BDB_CACHE_LIB
981 -+DBAPI_DRIVER
982 -+DBAPI_CTLIB
983 -+DBAPI_DBLIB
984 -+DBAPI_MYSQL
985 -+DBAPI_ODBC
986 -+THREAD_LIBS
987 -+NCBIATOMIC_LIB
988 -+OPENMP_FLAGS
989 -+NETWORK_LIBS
990 -+NETWORK_PURE_LIBS
991 -+RESOLVER_LIBS
992 -+MATH_LIBS
993 -+KSTAT_LIBS
994 -+RPCSVC_LIBS
995 -+CRYPT_LIBS
996 -+DL_LIBS
997 -+RT_LIBS
998 -+UUID_LIBS
999 -+DEMANGLE_LIBS
1000 -+ICONV_LIBS
1001 -+Z_LIB
1002 -+BZ2_LIB
1003 -+PCREPOSIX_LIBS
1004 -+PCRE_LIB
1005 -+OPENSSL_STATIC_LIBS
1006 -+TLS_INCLUDE
1007 -+TLS_LIBS
1008 -+SYBASE_PATH
1009 -+SYBASE_LCL_PATH
1010 -+SYBASE_INCLUDE
1011 -+SYBASE_LIBS
1012 -+SYBASE_DLLS
1013 -+SYBASE_DBLIBS
1014 -+MYSQL_INCLUDE
1015 -+MYSQL_LIBS
1016 -+BERKELEYDB_INCLUDE
1017 -+BERKELEYDB_LIBS
1018 -+BERKELEYDB_STATIC_LIBS
1019 -+BERKELEYDB_CXX_LIBS
1020 -+BERKELEYDB_CXX_STATIC_LIBS
1021 -+ODBC_INCLUDE
1022 -+ODBC_LIBS
1023 -+BOOST_INCLUDE
1024 -+BOOST_LIBPATH
1025 -+BOOST_TAG
1026 -+BOOST_FILESYSTEM_LIBS
1027 -+BOOST_FILESYSTEM_STATIC_LIBS
1028 -+BOOST_REGEX_LIBS
1029 -+BOOST_REGEX_STATIC_LIBS
1030 -+BOOST_SYSTEM_LIBS
1031 -+BOOST_SYSTEM_STATIC_LIBS
1032 -+BOOST_TEST_PEM_LIBS
1033 -+BOOST_TEST_PEM_STATIC_LIBS
1034 -+BOOST_TEST_TEM_LIBS
1035 -+BOOST_TEST_TEM_STATIC_LIBS
1036 -+BOOST_TEST_UTF_LIBS
1037 -+BOOST_TEST_UTF_STATIC_LIBS
1038 -+BOOST_THREAD_LIBS
1039 -+BOOST_THREAD_STATIC_LIBS
1040 -+NCBI_C_INCLUDE
1041 -+NCBI_C_LIBPATH
1042 -+OPENGL_INCLUDE
1043 -+OPENGL_LIBS
1044 -+OPENGL_STATIC_LIBS
1045 -+OSMESA_INCLUDE
1046 -+OSMESA_LIBS
1047 -+OSMESA_STATIC_LIBS
1048 -+GLUT_INCLUDE
1049 -+GLUT_LIBS
1050 -+GLEW_INCLUDE
1051 -+GLEW_LIBS
1052 -+GLEW_STATIC_LIBS
1053 -+WXWIDGETS_INCLUDE
1054 -+WXWIDGETS_LIBS
1055 -+WXWIDGETS_STATIC_LIBS
1056 -+WXWIDGETS_GL_LIBS
1057 -+WXWIDGETS_GL_STATIC_LIBS
1058 -+WXWIDGETS_POST_LINK
1059 -+FASTCGI_INCLUDE
1060 -+FASTCGI_LIBS
1061 -+FASTCGI_OBJS
1062 -+NCBI_SSS_INCLUDE
1063 -+NCBI_SSS_LIBPATH
1064 -+LIBSSSUTILS
1065 -+LIBSSSDB
1066 -+sssutils
1067 -+SP_INCLUDE
1068 -+SP_LIBS
1069 -+ORBACUS_INCLUDE
1070 -+ORBACUS_LIBPATH
1071 -+LIBOB
1072 -+LIBIMR
1073 -+ICU_CONFIG
1074 -+ICU_INCLUDE
1075 -+ICU_LIBS
1076 -+ICU_STATIC_LIBS
1077 -+EXPAT_STATIC_LIBS
1078 -+SABLOT_STATIC_LIBS
1079 -+LIBXML_STATIC_LIBS
1080 -+LIBXSLT_STATIC_LIBS
1081 -+LIBEXSLT_STATIC_LIBS
1082 -+XERCES_INCLUDE
1083 -+XERCES_LIBS
1084 -+XERCES_STATIC_LIBS
1085 -+XALAN_INCLUDE
1086 -+XALAN_LIBS
1087 -+XALAN_STATIC_LIBS
1088 -+ZORBA_INCLUDE
1089 -+ZORBA_LIBS
1090 -+ZORBA_STATIC_LIBS
1091 -+SQLITE3_STATIC_LIBS
1092 -+FREETYPE_INCLUDE
1093 -+FREETYPE_LIBS
1094 -+GSOAP_PATH
1095 -+MONGODB_STATIC_LIBS
1096 -+ncbi_xreader_pubseqos
1097 -+ncbi_xreader_pubseqos2
1098 -+UNLESS_PUBSEQOS
1099 -+PERL_INCLUDE
1100 -+PERL_LIBS
1101 -+JDK_PATH
1102 -+JDK_INCLUDE
1103 -+ncbi_java
1104 -+NCBI_C_ncbi
1105 -+BINCOPY
1106 -+APP_NOCOPY
1107 -+APP_OR_NULL
1108 -+IF_REBUILDING_LIBS
1109 -+IF_REBUILDING_CONDITIONALLY
1110 -+IF_DEACTIVATING
1111 -+configurables_mfname
1112 -+CC_FILTER
1113 -+CXX_FILTER
1114 -+AR_FILTER
1115 -+LINK_FILTER
1116 -+CC_WRAPPER
1117 -+CXX_WRAPPER
1118 -+AR_WRAPPER
1119 -+LINK_WRAPPER
1120 -+KeepStateTarget
1121 -+Rules
1122 -+serial_ws50_rtti_kludge
1123 -+ncbicntr
1124 -+UNIX_SRC
1125 -+UNIX_USR_PROJ
1126 -+compiler
1127 -+compiler_root
1128 -+compiler_version
1129 -+COMPILER
1130 -+OSTYPE
1131 -+NCBI_PLATFORM_BITS
1132 -+LIBOBJS
1133 -+LTLIBOBJS'
1134 - ac_subst_files=''
1135 -+ ac_precious_vars='build_alias
1136 -+host_alias
1137 -+target_alias
1138 -+CC
1139 -+CFLAGS
1140 -+LDFLAGS
1141 -+CPPFLAGS
1142 -+CXX
1143 -+CXXFLAGS
1144 -+CCC
1145 -+CXXCPP
1146 -+CPP
1147 -+XMKMF'
1148 -+
1149 -
1150 - # Initialize some variables set by options.
1151 - ac_init_help=
1152 -@@ -349,34 +1061,48 @@
1153 - # and all the variables that are supposed to be based on exec_prefix
1154 - # by default will actually change.
1155 - # Use braces instead of parens because sh, perl, etc. also accept them.
1156 -+# (The list follows the same order as the GNU Coding Standards.)
1157 - bindir='${exec_prefix}/bin'
1158 - sbindir='${exec_prefix}/sbin'
1159 - libexecdir='${exec_prefix}/libexec'
1160 --datadir='${prefix}/share'
1161 -+datarootdir='${prefix}/share'
1162 -+datadir='${datarootdir}'
1163 - sysconfdir='${prefix}/etc'
1164 - sharedstatedir='${prefix}/com'
1165 - localstatedir='${prefix}/var'
1166 --libdir='${exec_prefix}/lib'
1167 - includedir='${prefix}/include'
1168 - oldincludedir='/usr/include'
1169 --infodir='${prefix}/info'
1170 --mandir='${prefix}/man'
1171 -+docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1172 -+infodir='${datarootdir}/info'
1173 -+htmldir='${docdir}'
1174 -+dvidir='${docdir}'
1175 -+pdfdir='${docdir}'
1176 -+psdir='${docdir}'
1177 -+libdir='${exec_prefix}/lib'
1178 -+localedir='${datarootdir}/locale'
1179 -+mandir='${datarootdir}/man'
1180 -
1181 - ac_prev=
1182 -+ac_dashdash=
1183 - for ac_option
1184 - do
1185 - # If the previous option needs an argument, assign it.
1186 - if test -n "$ac_prev"; then
1187 -- eval "$ac_prev=\$ac_option"
1188 -+ eval $ac_prev=\$ac_option
1189 - ac_prev=
1190 - continue
1191 - fi
1192 -
1193 -- ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1194 -+ case $ac_option in
1195 -+ *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1196 -+ *) ac_optarg=yes ;;
1197 -+ esac
1198 -
1199 - # Accept the important Cygnus configure options, so we can diagnose typos.
1200 -
1201 -- case $ac_option in
1202 -+ case $ac_dashdash$ac_option in
1203 -+ --)
1204 -+ ac_dashdash=yes ;;
1205 -
1206 - -bindir | --bindir | --bindi | --bind | --bin | --bi)
1207 - ac_prev=bindir ;;
1208 -@@ -398,12 +1124,18 @@
1209 - --config-cache | -C)
1210 - cache_file=config.cache ;;
1211 -
1212 -- -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
1213 -+ -datadir | --datadir | --datadi | --datad)
1214 - ac_prev=datadir ;;
1215 -- -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
1216 -- | --da=*)
1217 -+ -datadir=* | --datadir=* | --datadi=* | --datad=*)
1218 - datadir=$ac_optarg ;;
1219 -
1220 -+ -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1221 -+ | --dataroo | --dataro | --datar)
1222 -+ ac_prev=datarootdir ;;
1223 -+ -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1224 -+ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1225 -+ datarootdir=$ac_optarg ;;
1226 -+
1227 - -disable-* | --disable-*)
1228 - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1229 - # Reject names that are not valid shell variable names.
1230 -@@ -411,7 +1143,17 @@
1231 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1232 - { (exit 1); exit 1; }; }
1233 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1234 -- eval "enable_$ac_feature=no" ;;
1235 -+ eval enable_$ac_feature=no ;;
1236 -+
1237 -+ -docdir | --docdir | --docdi | --doc | --do)
1238 -+ ac_prev=docdir ;;
1239 -+ -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1240 -+ docdir=$ac_optarg ;;
1241 -+
1242 -+ -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1243 -+ ac_prev=dvidir ;;
1244 -+ -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1245 -+ dvidir=$ac_optarg ;;
1246 -
1247 - -enable-* | --enable-*)
1248 - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1249 -@@ -420,11 +1162,7 @@
1250 - { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1251 - { (exit 1); exit 1; }; }
1252 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
1253 -- case $ac_option in
1254 -- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1255 -- *) ac_optarg=yes ;;
1256 -- esac
1257 -- eval "enable_$ac_feature='$ac_optarg'" ;;
1258 -+ eval enable_$ac_feature=\$ac_optarg ;;
1259 -
1260 - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1261 - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1262 -@@ -451,6 +1189,12 @@
1263 - -host=* | --host=* | --hos=* | --ho=*)
1264 - host_alias=$ac_optarg ;;
1265 -
1266 -+ -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1267 -+ ac_prev=htmldir ;;
1268 -+ -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1269 -+ | --ht=*)
1270 -+ htmldir=$ac_optarg ;;
1271 -+
1272 - -includedir | --includedir | --includedi | --included | --include \
1273 - | --includ | --inclu | --incl | --inc)
1274 - ac_prev=includedir ;;
1275 -@@ -475,13 +1219,16 @@
1276 - | --libexe=* | --libex=* | --libe=*)
1277 - libexecdir=$ac_optarg ;;
1278 -
1279 -+ -localedir | --localedir | --localedi | --localed | --locale)
1280 -+ ac_prev=localedir ;;
1281 -+ -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1282 -+ localedir=$ac_optarg ;;
1283 -+
1284 - -localstatedir | --localstatedir | --localstatedi | --localstated \
1285 -- | --localstate | --localstat | --localsta | --localst \
1286 -- | --locals | --local | --loca | --loc | --lo)
1287 -+ | --localstate | --localstat | --localsta | --localst | --locals)
1288 - ac_prev=localstatedir ;;
1289 - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1290 -- | --localstate=* | --localstat=* | --localsta=* | --localst=* \
1291 -- | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1292 -+ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1293 - localstatedir=$ac_optarg ;;
1294 -
1295 - -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1296 -@@ -546,6 +1293,16 @@
1297 - | --progr-tra=* | --program-tr=* | --program-t=*)
1298 - program_transform_name=$ac_optarg ;;
1299 -
1300 -+ -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1301 -+ ac_prev=pdfdir ;;
1302 -+ -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1303 -+ pdfdir=$ac_optarg ;;
1304 -+
1305 -+ -psdir | --psdir | --psdi | --psd | --ps)
1306 -+ ac_prev=psdir ;;
1307 -+ -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1308 -+ psdir=$ac_optarg ;;
1309 -+
1310 - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1311 - | -silent | --silent | --silen | --sile | --sil)
1312 - silent=yes ;;
1313 -@@ -602,11 +1359,7 @@
1314 - { echo "$as_me: error: invalid package name: $ac_package" >&2
1315 - { (exit 1); exit 1; }; }
1316 - ac_package=`echo $ac_package| sed 's/-/_/g'`
1317 -- case $ac_option in
1318 -- *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1319 -- *) ac_optarg=yes ;;
1320 -- esac
1321 -- eval "with_$ac_package='$ac_optarg'" ;;
1322 -+ eval with_$ac_package=\$ac_optarg ;;
1323 -
1324 - -without-* | --without-*)
1325 - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1326 -@@ -615,7 +1368,7 @@
1327 - { echo "$as_me: error: invalid package name: $ac_package" >&2
1328 - { (exit 1); exit 1; }; }
1329 - ac_package=`echo $ac_package | sed 's/-/_/g'`
1330 -- eval "with_$ac_package=no" ;;
1331 -+ eval with_$ac_package=no ;;
1332 -
1333 - --x)
1334 - # Obsolete; use --with-x.
1335 -@@ -646,8 +1399,7 @@
1336 - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1337 - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1338 - { (exit 1); exit 1; }; }
1339 -- ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
1340 -- eval "$ac_envvar='$ac_optarg'"
1341 -+ eval $ac_envvar=\$ac_optarg
1342 - export $ac_envvar ;;
1343 -
1344 - *)
1345 -@@ -667,27 +1419,19 @@
1346 - { (exit 1); exit 1; }; }
1347 - fi
1348 -
1349 --# Be sure to have absolute paths.
1350 --for ac_var in exec_prefix prefix
1351 --do
1352 -- eval ac_val=$`echo $ac_var`
1353 -- case $ac_val in
1354 -- [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1355 -- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1356 -- { (exit 1); exit 1; }; };;
1357 -- esac
1358 --done
1359 --
1360 --# Be sure to have absolute paths.
1361 --for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1362 -- localstatedir libdir includedir oldincludedir infodir mandir
1363 -+# Be sure to have absolute directory names.
1364 -+for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1365 -+ datadir sysconfdir sharedstatedir localstatedir includedir \
1366 -+ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1367 -+ libdir localedir mandir
1368 - do
1369 -- eval ac_val=$`echo $ac_var`
1370 -+ eval ac_val=\$$ac_var
1371 - case $ac_val in
1372 -- [\\/$]* | ?:[\\/]* ) ;;
1373 -- *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1374 -- { (exit 1); exit 1; }; };;
1375 -+ [\\/$]* | ?:[\\/]* ) continue;;
1376 -+ NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1377 - esac
1378 -+ { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1379 -+ { (exit 1); exit 1; }; }
1380 - done
1381 -
1382 - # There might be people who depend on the old broken behavior: `$host'
1383 -@@ -714,86 +1458,158 @@
1384 - test "$silent" = yes && exec 6>/dev/null
1385 -
1386 -
1387 -+ac_pwd=`pwd` && test -n "$ac_pwd" &&
1388 -+ac_ls_di=`ls -di .` &&
1389 -+ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1390 -+ { echo "$as_me: error: Working directory cannot be determined" >&2
1391 -+ { (exit 1); exit 1; }; }
1392 -+test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1393 -+ { echo "$as_me: error: pwd does not report name of working directory" >&2
1394 -+ { (exit 1); exit 1; }; }
1395 -+
1396 -+
1397 - # Find the source files, if location was not specified.
1398 - if test -z "$srcdir"; then
1399 - ac_srcdir_defaulted=yes
1400 -- # Try the directory containing this script, then its parent.
1401 -- ac_confdir=`(dirname "$0") 2>/dev/null ||
1402 -+ # Try the directory containing this script, then the parent directory.
1403 -+ ac_confdir=`$as_dirname -- "$0" ||
1404 - $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1405 - X"$0" : 'X\(//\)[^/]' \| \
1406 - X"$0" : 'X\(//\)$' \| \
1407 -- X"$0" : 'X\(/\)' \| \
1408 -- . : '\(.\)' 2>/dev/null ||
1409 -+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1410 - echo X"$0" |
1411 -- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1412 -- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1413 -- /^X\(\/\/\)$/{ s//\1/; q; }
1414 -- /^X\(\/\).*/{ s//\1/; q; }
1415 -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1416 -+ s//\1/
1417 -+ q
1418 -+ }
1419 -+ /^X\(\/\/\)[^/].*/{
1420 -+ s//\1/
1421 -+ q
1422 -+ }
1423 -+ /^X\(\/\/\)$/{
1424 -+ s//\1/
1425 -+ q
1426 -+ }
1427 -+ /^X\(\/\).*/{
1428 -+ s//\1/
1429 -+ q
1430 -+ }
1431 - s/.*/./; q'`
1432 - srcdir=$ac_confdir
1433 -- if test ! -r $srcdir/$ac_unique_file; then
1434 -+ if test ! -r "$srcdir/$ac_unique_file"; then
1435 - srcdir=..
1436 - fi
1437 - else
1438 - ac_srcdir_defaulted=no
1439 - fi
1440 --if test ! -r $srcdir/$ac_unique_file; then
1441 -- if test "$ac_srcdir_defaulted" = yes; then
1442 -- { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1443 -- { (exit 1); exit 1; }; }
1444 -- else
1445 -+if test ! -r "$srcdir/$ac_unique_file"; then
1446 -+ test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1447 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1448 - { (exit 1); exit 1; }; }
1449 - fi
1450 -+ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1451 -+ac_abs_confdir=`(
1452 -+ cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1453 -+ { (exit 1); exit 1; }; }
1454 -+ pwd)`
1455 -+# When building in place, set srcdir=.
1456 -+if test "$ac_abs_confdir" = "$ac_pwd"; then
1457 -+ srcdir=.
1458 -+fi
1459 -+# Remove unnecessary trailing slashes from srcdir.
1460 -+# Double slashes in file names in object file debugging info
1461 -+# mess up M-x gdb in Emacs.
1462 -+case $srcdir in
1463 -+*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1464 -+esac
1465 -+
1466 -+
1467 -+#### Check the passed arguments against the list of available ones
1468 -+x_with_list="\
1469 -+debug max-debug symbols optimization profiling tcheck dll static static-exe \
1470 -+plugin-auto-load bundles bin-release mt 64 universal exe runpath hard-runpath \
1471 -+lfs limited-linker openmp \
1472 -+autodep suffix hostspec version execopy bincopy lib-rebuilds lib-rebuilds=ask \
1473 -+deactivation makefile-auto-update projects flat-makefile configure-dialog \
1474 -+check ncbi-public strip pch caution ccache distcc \
1475 -+ncbi-c wxwidgets wxwidgets-ucs fastcgi sss sssdb sssutils included-sss \
1476 -+geo included-geo \
1477 -+z bz2 lzo pcre gcrypt gnutls openssl krb5 sybase sybase-local sybase-new \
1478 -+ftds mysql orbacus freetype ftgl opengl mesa glut glew glew-mx \
1479 -+bdb python perl jni sqlite3 icu boost boost-tag \
1480 -+sp expat sablot libxml libxslt libexslt xerces xalan zorba \
1481 -+oechem sge muparser hdf5 \
1482 -+gif jpeg tiff png xpm magic curl mimetic gsoap mongodb 3psw \
1483 -+local-lbsm ncbi-crypt connext \
1484 -+serial objects dbapi app ctools gui algo internal gbench"
1485 -+
1486 -+x_with_list=`echo "$x_with_list" | sed 's/\([^ ][^ ]*\)/--with-\1 --without-\1/g'`
1487 -+
1488 -+
1489 -+for x_arg in "$@" ; do
1490 -+ if test -z "$x_arg" ; then
1491 -+ continue
1492 -+ fi
1493 -+
1494 -+ x_okay=
1495 -+ for x_desc in $x_with_list ; do
1496 -+ if test "$x_arg" = "$x_desc" ; then
1497 -+ x_okay="okay"
1498 -+ break
1499 -+ fi
1500 -+ done
1501 -+ if test "$x_okay" = "okay" ; then
1502 -+ continue
1503 - fi
1504 --(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1505 -- { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1506 -+
1507 -+ case "$x_arg" in
1508 -+ --with-extra-action= | --exec-prefix= | --with-projects= | --srcdir= \
1509 -+ | --cache-file= | --build= | --host= | --target= | --with-runpath= \
1510 -+ | --with-relative-runpath= | --x-includes= | --x-libraries= )
1511 -+ { echo "$as_me: error: $x_arg: requires value; use --help to show usage" >&2
1512 -+ { (exit 1); exit 1; }; }
1513 -+ ;;
1514 -+
1515 -+ --with-extra-action=* | --with-build-root=* | --with-build-root-sfx=* \
1516 -+ | --with-fake-root=* | --with-saved-settings=* \
1517 -+ | --with-projects=* | --with-check=* | --with-check-tools=* \
1518 -+ | --with-universal=* | --with-tcheck=* \
1519 -+ | --cache-file=* | --build=* | --host=* | --prefix=* | --exec-prefix=* \
1520 -+ | --libdir=* | --bindir=* | --includedir=* | --srcdir=* \
1521 -+ | [A-Z]*=* \
1522 -+ | --with-z=* | --with-bz2=* | --with-lzo=* \
1523 -+ | --with-pcre=* | --with-ncbi-c=* | --with-sss=* \
1524 -+ | --with-gcrypt=* | --with-gnutls=* | --with-openssl=* \
1525 -+ | --with-krb5=* | --with-curl=* | --with-gsoap=* | --with-mongodb=* \
1526 -+ | --with-sybase-local=* | --with-wxwidgets=* | --with-mimetic=* \
1527 -+ | --with-ftds=* | --with-mysql=* | --with-fastcgi=* \
1528 -+ | --with-sqlite3=* | --with-expat=* | --with-sablot=* \
1529 -+ | --with-icu=* | --with-xerces=* | --with-xalan=* | --with-zorba=* \
1530 -+ | --with-libxml=* | --with-libxslt=* | --with-exslt=* \
1531 -+ | --with-bdb=* | --with-odbc=* | --with-python=* | --with-perl=* \
1532 -+ | --with-freetype=* | --with-ftgl=* | --with-gif=* | --with-jpeg=* \
1533 -+ | --with-png=* | --with-tiff=* | --with-xpm=* | --with-opengl=* \
1534 -+ | --with-mesa=* | --with-glut=* | --with-glew=* | --with-oechem=* \
1535 -+ | --with-boost=* | --with-boost-tag=* | --with-orbacus=* | --with-sge=* \
1536 -+ | --with-muparser=* | --with-hdf5=* | --with-jni=* | --with-magic=* \
1537 -+ | --x-includes=* | --x-libraries=* | --with-3psw=* \
1538 -+ | --target=* | --with-runpath=* | --with-relative-runpath=* \
1539 -+ | --help | --no-create | --no-recursion)
1540 -+ ;;
1541 -+
1542 -+ * )
1543 -+ { echo "$as_me: error: $x_arg: unknown option; use --help to show usage" >&2
1544 - { (exit 1); exit 1; }; }
1545 --srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1546 --ac_env_build_alias_set=${build_alias+set}
1547 --ac_env_build_alias_value=$build_alias
1548 --ac_cv_env_build_alias_set=${build_alias+set}
1549 --ac_cv_env_build_alias_value=$build_alias
1550 --ac_env_host_alias_set=${host_alias+set}
1551 --ac_env_host_alias_value=$host_alias
1552 --ac_cv_env_host_alias_set=${host_alias+set}
1553 --ac_cv_env_host_alias_value=$host_alias
1554 --ac_env_target_alias_set=${target_alias+set}
1555 --ac_env_target_alias_value=$target_alias
1556 --ac_cv_env_target_alias_set=${target_alias+set}
1557 --ac_cv_env_target_alias_value=$target_alias
1558 --ac_env_CC_set=${CC+set}
1559 --ac_env_CC_value=$CC
1560 --ac_cv_env_CC_set=${CC+set}
1561 --ac_cv_env_CC_value=$CC
1562 --ac_env_CFLAGS_set=${CFLAGS+set}
1563 --ac_env_CFLAGS_value=$CFLAGS
1564 --ac_cv_env_CFLAGS_set=${CFLAGS+set}
1565 --ac_cv_env_CFLAGS_value=$CFLAGS
1566 --ac_env_LDFLAGS_set=${LDFLAGS+set}
1567 --ac_env_LDFLAGS_value=$LDFLAGS
1568 --ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
1569 --ac_cv_env_LDFLAGS_value=$LDFLAGS
1570 --ac_env_CPPFLAGS_set=${CPPFLAGS+set}
1571 --ac_env_CPPFLAGS_value=$CPPFLAGS
1572 --ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
1573 --ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1574 --ac_env_CXX_set=${CXX+set}
1575 --ac_env_CXX_value=$CXX
1576 --ac_cv_env_CXX_set=${CXX+set}
1577 --ac_cv_env_CXX_value=$CXX
1578 --ac_env_CXXFLAGS_set=${CXXFLAGS+set}
1579 --ac_env_CXXFLAGS_value=$CXXFLAGS
1580 --ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
1581 --ac_cv_env_CXXFLAGS_value=$CXXFLAGS
1582 --ac_env_CXXCPP_set=${CXXCPP+set}
1583 --ac_env_CXXCPP_value=$CXXCPP
1584 --ac_cv_env_CXXCPP_set=${CXXCPP+set}
1585 --ac_cv_env_CXXCPP_value=$CXXCPP
1586 --ac_env_CPP_set=${CPP+set}
1587 --ac_env_CPP_value=$CPP
1588 --ac_cv_env_CPP_set=${CPP+set}
1589 --ac_cv_env_CPP_value=$CPP
1590 -+ ;;
1591 -+ esac
1592 -+done
1593 -+
1594 -+for ac_var in $ac_precious_vars; do
1595 -+ eval ac_env_${ac_var}_set=\${${ac_var}+set}
1596 -+ eval ac_env_${ac_var}_value=\$${ac_var}
1597 -+ eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1598 -+ eval ac_cv_env_${ac_var}_value=\$${ac_var}
1599 -+done
1600 -
1601 - #
1602 - # Report the --help message.
1603 -@@ -822,9 +1638,6 @@
1604 - -n, --no-create do not create output files
1605 - --srcdir=DIR find the sources in DIR [configure dir or \`..']
1606 -
1607 --_ACEOF
1608 --
1609 -- cat <<_ACEOF
1610 - Installation directories:
1611 - --prefix=PREFIX install architecture-independent files in PREFIX
1612 - [$ac_default_prefix]
1613 -@@ -842,15 +1655,22 @@
1614 - --bindir=DIR user executables [EPREFIX/bin]
1615 - --sbindir=DIR system admin executables [EPREFIX/sbin]
1616 - --libexecdir=DIR program executables [EPREFIX/libexec]
1617 -- --datadir=DIR read-only architecture-independent data [PREFIX/share]
1618 - --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1619 - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1620 - --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1621 - --libdir=DIR object code libraries [EPREFIX/lib]
1622 - --includedir=DIR C header files [PREFIX/include]
1623 - --oldincludedir=DIR C header files for non-gcc [/usr/include]
1624 -- --infodir=DIR info documentation [PREFIX/info]
1625 -- --mandir=DIR man documentation [PREFIX/man]
1626 -+ --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1627 -+ --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1628 -+ --infodir=DIR info documentation [DATAROOTDIR/info]
1629 -+ --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1630 -+ --mandir=DIR man documentation [DATAROOTDIR/man]
1631 -+ --docdir=DIR documentation root [DATAROOTDIR/doc/ncbi-tools--]
1632 -+ --htmldir=DIR html documentation [DOCDIR]
1633 -+ --dvidir=DIR dvi documentation [DOCDIR]
1634 -+ --pdfdir=DIR pdf documentation [DOCDIR]
1635 -+ --psdir=DIR ps documentation [DOCDIR]
1636 - _ACEOF
1637 -
1638 - cat <<\_ACEOF
1639 -@@ -889,6 +1709,7 @@
1640 - --with-bundles build bundles in addition to dylibs on Mac OS X
1641 - --with-bin-release build executables suitable for public release
1642 - --with-mt compile in a MultiThread-safe manner
1643 -+ --with-openmp enable OpenMP extensions for all projects
1644 - --with-64 compile to 64-bit code
1645 - --with-universal build universal binaries on Mac OS X
1646 - --with-universal=CPUs build universal binaries targeting the given CPUs
1647 -@@ -925,7 +1746,9 @@
1648 - --without-caution proceed without asking when in doubt
1649 - --without-ccache do not automatically use ccache if available
1650 - --without-distcc do not automatically use distcc if available
1651 -+ --with-ncbi-c=DIR use NCBI C Toolkit installation in DIR
1652 - --without-ncbi-c do not use NCBI C Toolkit
1653 -+ --with-sss=DIR use NCBI SSS installation in DIR
1654 - --without-sss do not use NCBI SSS libraries
1655 - --without-utils do not use NCBI SSS UTIL library
1656 - --without-sssdb do not use NCBI SSS DB library
1657 -@@ -1034,6 +1857,10 @@
1658 - --without-curl do not use libcurl
1659 - --with-mimetic=DIR use libmimetic installation in DIR
1660 - --without-mimetic do not use libmimetic
1661 -+ --with-gsoap=DIR use gSOAP++ installation in DIR
1662 -+ --without-gsoap do not use gSOAP++
1663 -+ --with-mongodb=DIR use MongoDB installation in DIR
1664 -+ --without-mongodb do not use MongoDB
1665 - --with-3psw=std:netopt favor standard (system) builds of the above pkgs.
1666 - --without-3psw do not use any of the above packages
1667 - --without-local-lbsm turn off support for IPC with locally running LBSMD
1668 -@@ -1058,87 +1885,90 @@
1669 - CFLAGS C compiler flags
1670 - LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1671 - nonstandard directory <lib dir>
1672 -- CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1673 -- headers in a nonstandard directory <include dir>
1674 -+ CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1675 -+ you have headers in a nonstandard directory <include dir>
1676 - CXX C++ compiler command
1677 - CXXFLAGS C++ compiler flags
1678 - CXXCPP C++ preprocessor
1679 - CPP C preprocessor
1680 -+ XMKMF Path to xmkmf, Makefile generator for X Window System
1681 -
1682 - Use these variables to override the choices made by `configure' or to help
1683 - it to find libraries and programs with nonstandard names/locations.
1684 -
1685 - Report bugs to <cpp-core@××××××××××××.gov>.
1686 - _ACEOF
1687 -+ac_status=$?
1688 - fi
1689 -
1690 - if test "$ac_init_help" = "recursive"; then
1691 - # If there are subdirs, report their specific --help.
1692 -- ac_popdir=`pwd`
1693 - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1694 -- test -d $ac_dir || continue
1695 -- #ac_builddir=. # Useless!
1696 --ac_builddir=$builddir
1697 --if test -n "$ac_file_in"; then
1698 -- ac_dir_in=`(dirname "$ac_file_in") 2>/dev/null ||
1699 --$as_expr X"$ac_file_in" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1700 -- X"$ac_file_in" : 'X\(//\)[^/]' \| \
1701 -- X"$ac_file_in" : 'X\(//\)$' \| \
1702 -- X"$ac_file_in" : 'X\(/\)' \| \
1703 -- . : '\(.\)' 2>/dev/null ||
1704 --echo X"$ac_file_in" |
1705 -- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1706 -- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1707 -- /^X\(\/\/\)$/{ s//\1/; q; }
1708 -- /^X\(\/\).*/{ s//\1/; q; }
1709 -+ test -d "$ac_dir" || continue
1710 -+ # Base source directories on path to *input* file.
1711 -+if test -n "$ac_f"; then
1712 -+ ac_dir_in=`$as_dirname -- "$ac_f" ||
1713 -+$as_expr X"$ac_f" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1714 -+ X"$ac_f" : 'X\(//\)[^/]' \| \
1715 -+ X"$ac_f" : 'X\(//\)$' \| \
1716 -+ X"$ac_f" : 'X\(/\)' \| . 2>/dev/null ||
1717 -+echo X"$ac_f" |
1718 -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1719 -+ s//\1/
1720 -+ q
1721 -+ }
1722 -+ /^X\(\/\/\)[^/].*/{
1723 -+ s//\1/
1724 -+ q
1725 -+ }
1726 -+ /^X\(\/\/\)$/{
1727 -+ s//\1/
1728 -+ q
1729 -+ }
1730 -+ /^X\(\/\).*/{
1731 -+ s//\1/
1732 -+ q
1733 -+ }
1734 - s/.*/./; q'`
1735 - else
1736 - ac_dir_in="$ac_dir"
1737 - fi
1738 -
1739 --if test $ac_dir_in != .; then
1740 -- ac_dir_suffix=`echo $ac_dir_in | sed 's,^\.[\\/],,'`
1741 -- # A "../" for each directory in $ac_dir_suffix.
1742 -- ac_top_builddir=../`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1743 --else
1744 -- ac_dir_suffix= ac_top_builddir=
1745 --fi
1746 -+ac_builddir=.
1747 -
1748 --case $srcdir in
1749 -- .) # No --srcdir option. We are building in place.
1750 -- ac_srcdir=.
1751 -- if test -z "$ac_top_builddir"; then
1752 -- ac_top_srcdir=.
1753 -- else
1754 -- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1755 -- fi ;;
1756 -- [\\/]* | ?:[\\/]* ) # Absolute path.
1757 -- ac_srcdir=$srcdir/$ac_dir_suffix;
1758 -- ac_top_srcdir=$srcdir ;;
1759 -- *) # Relative path.
1760 -- ac_srcdir=$ac_top_builddir$srcdir/$ac_dir_suffix
1761 -- ac_top_srcdir=$ac_top_builddir$srcdir ;;
1762 --esac
1763 --# Do not use `cd foo && pwd` to compute absolute paths, because
1764 --# the directories may not exist.
1765 --case $builddir in
1766 --.) ac_abs_builddir="$ac_dir";;
1767 --*)
1768 -- case "$ac_dir" in
1769 -- .) ac_abs_builddir=$builddir;;
1770 -- [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1771 -- *) ac_abs_builddir=$builddir/"$ac_dir";;
1772 -- esac;;
1773 --esac
1774 --case $ac_abs_builddir in
1775 --.) ac_abs_top_builddir=${ac_top_builddir}.;;
1776 -+case "$ac_dir_in" in
1777 -+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1778 - *)
1779 -- case ${ac_top_builddir}. in
1780 -- .) ac_abs_top_builddir=$ac_abs_builddir;;
1781 -- [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1782 -- *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1783 -+ ac_dir_suffix=/`echo "$ac_dir_in" | sed 's,^\.[\\/],,'`
1784 -+ # A ".." for each directory in $ac_dir_suffix.
1785 -+ ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1786 -+ case $ac_top_builddir_sub in
1787 -+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1788 -+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1789 - esac;;
1790 - esac
1791 -+ac_abs_top_builddir=$ac_pwd
1792 -+ac_abs_builddir=$ac_pwd$ac_dir_suffix
1793 -+# for backward compatibility:
1794 -+ac_top_builddir=$ac_top_build_prefix
1795 -+
1796 -+case $srcdir in
1797 -+ .) # We are building in place.
1798 -+ ac_srcdir=.
1799 -+ ac_top_srcdir=$ac_top_builddir_sub
1800 -+ ac_abs_top_srcdir=$ac_pwd ;;
1801 -+ [\\/]* | ?:[\\/]* ) # Absolute name.
1802 -+ ac_srcdir=$srcdir$ac_dir_suffix;
1803 -+ ac_top_srcdir=$srcdir
1804 -+ ac_abs_top_srcdir=$srcdir ;;
1805 -+ *) # Relative name.
1806 -+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1807 -+ ac_top_srcdir=$ac_top_build_prefix$srcdir
1808 -+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1809 -+esac
1810 -+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1811 -+
1812 -+
1813 - case $ac_dir_in in
1814 - .) ac_abs_top_srcdir=$real_srcdir;;
1815 - *)
1816 -@@ -1148,46 +1978,35 @@
1817 - *) ac_abs_top_srcdir=$ac_dir_in/$real_srcdir;;
1818 - esac;;
1819 - esac
1820 --case $ac_abs_top_srcdir in
1821 --.) ac_abs_srcdir=$ac_dir_suffix;;
1822 --*)
1823 -- case $ac_dir_suffix in
1824 -- .) ac_abs_srcdir=$ac_abs_top_srcdir;;
1825 -- [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_dir_suffix;;
1826 -- *) ac_abs_srcdir=$ac_abs_top_srcdir/$ac_dir_suffix;;
1827 -- esac;;
1828 --esac
1829 -+ac_builddir=$builddir
1830 -
1831 -- cd $ac_dir
1832 -- # Check for guested configure; otherwise get Cygnus style configure.
1833 -- if test -f $ac_srcdir/configure.gnu; then
1834 -- echo
1835 -- $SHELL $ac_srcdir/configure.gnu --help=recursive
1836 -- elif test -f $ac_srcdir/configure; then
1837 -- echo
1838 -- $SHELL $ac_srcdir/configure --help=recursive
1839 -- elif test -f $ac_srcdir/configure.ac ||
1840 -- test -f $ac_srcdir/configure.in; then
1841 -- echo
1842 -- $ac_configure --help
1843 -+ cd "$ac_dir" || { ac_status=$?; continue; }
1844 -+ # Check for guested configure.
1845 -+ if test -f "$ac_srcdir/configure.gnu"; then
1846 -+ echo &&
1847 -+ $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1848 -+ elif test -f "$ac_srcdir/configure"; then
1849 -+ echo &&
1850 -+ $SHELL "$ac_srcdir/configure" --help=recursive
1851 - else
1852 - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1853 -- fi
1854 -- cd $ac_popdir
1855 -+ fi || ac_status=$?
1856 -+ cd "$ac_pwd" || { ac_status=$?; break; }
1857 - done
1858 - fi
1859 -
1860 --test -n "$ac_init_help" && exit 0
1861 -+test -n "$ac_init_help" && exit $ac_status
1862 - if $ac_init_version; then
1863 - cat <<\_ACEOF
1864 - ncbi-tools++ configure 0.0
1865 --generated by GNU Autoconf 2.59
1866 -+generated by GNU Autoconf 2.60
1867 -
1868 --Copyright (C) 2003 Free Software Foundation, Inc.
1869 -+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1870 -+2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1871 - This configure script is free software; the Free Software Foundation
1872 - gives unlimited permission to copy, distribute and modify it.
1873 - _ACEOF
1874 -- exit 0
1875 -+ exit
1876 - fi
1877 -
1878 -
1879 -@@ -1522,6 +2341,18 @@
1880 - else
1881 - with_curl=no
1882 - fi
1883 -+ if test "${with_gsoap-no}" != "no"; then
1884 -+ { echo "$as_me: error: incompatible options: --with-gsoap but --without-3psw" >&2
1885 -+ { (exit 1); exit 1; }; }
1886 -+ else
1887 -+ with_gsoap=no
1888 -+ fi
1889 -+ if test "${with_mongodb-no}" != "no"; then
1890 -+ { echo "$as_me: error: incompatible options: --with-mongodb but --without-3psw" >&2
1891 -+ { (exit 1); exit 1; }; }
1892 -+ else
1893 -+ with_mongodb=no
1894 -+ fi
1895 -
1896 - $as_unset NCBI || test "${NCBI+set}" != set || { NCBI=; export NCBI; }
1897 - ;;
1898 -@@ -1542,17 +2373,17 @@
1899 - if test -z "$CONFIG_SITE" -a -r $srcdir/src/build-system/config.site; then
1900 - CONFIG_SITE=$srcdir/src/build-system/config.site
1901 - fi
1902 --exec 5>config.log
1903 --cat >&5 <<_ACEOF
1904 -+cat >config.log <<_ACEOF
1905 - This file contains any messages produced by compilers while
1906 - running configure, to aid debugging if configure makes a mistake.
1907 -
1908 - It was created by ncbi-tools++ $as_me 0.0, which was
1909 --generated by GNU Autoconf 2.59. Invocation command line was
1910 -+generated by GNU Autoconf 2.60. Invocation command line was
1911 -
1912 - $ $0 $@
1913 -
1914 - _ACEOF
1915 -+exec 5>>config.log
1916 - {
1917 - cat <<_ASUNAME
1918 - ## --------- ##
1919 -@@ -1571,7 +2402,7 @@
1920 - /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1921 - /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1922 - /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1923 --hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1924 -+/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1925 - /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1926 - /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1927 - /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1928 -@@ -1585,6 +2416,7 @@
1929 - test -z "$as_dir" && as_dir=.
1930 - echo "PATH: $as_dir"
1931 - done
1932 -+IFS=$as_save_IFS
1933 -
1934 - } >&5
1935 -
1936 -@@ -1606,7 +2438,6 @@
1937 - ac_configure_args=
1938 - ac_configure_args0=
1939 - ac_configure_args1=
1940 --ac_sep=
1941 - ac_must_keep_next=false
1942 - for ac_pass in 1 2
1943 - do
1944 -@@ -1617,7 +2448,7 @@
1945 - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1946 - | -silent | --silent | --silen | --sile | --sil)
1947 - continue ;;
1948 -- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1949 -+ *\'*)
1950 - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1951 - esac
1952 - case $ac_pass in
1953 -@@ -1639,9 +2470,7 @@
1954 - -* ) ac_must_keep_next=true ;;
1955 - esac
1956 - fi
1957 -- ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1958 -- # Get rid of the leading space.
1959 -- ac_sep=" "
1960 -+ ac_configure_args="$ac_configure_args '$ac_arg'"
1961 - ;;
1962 - esac
1963 - done
1964 -@@ -1652,8 +2481,8 @@
1965 - # When interrupted or exit'd, cleanup temporary files, and complete
1966 - # config.log. We remove comments because anyway the quotes in there
1967 - # would cause problems or look ugly.
1968 --# WARNING: Be sure not to use single quotes in there, as some shells,
1969 --# such as our DU 5.0 friend, will then `close' the trap.
1970 -+# WARNING: Use '\'' to represent an apostrophe within the trap.
1971 -+# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1972 - trap 'exit_status=$?
1973 - # Save into config.log some information that might help in debugging.
1974 - {
1975 -@@ -1666,20 +2495,34 @@
1976 - _ASBOX
1977 - echo
1978 - # The following way of writing the cache mishandles newlines in values,
1979 --{
1980 -+(
1981 -+ for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1982 -+ eval ac_val=\$$ac_var
1983 -+ case $ac_val in #(
1984 -+ *${as_nl}*)
1985 -+ case $ac_var in #(
1986 -+ *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1987 -+echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1988 -+ esac
1989 -+ case $ac_var in #(
1990 -+ _ | IFS | as_nl) ;; #(
1991 -+ *) $as_unset $ac_var ;;
1992 -+ esac ;;
1993 -+ esac
1994 -+ done
1995 - (set) 2>&1 |
1996 -- case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1997 -- *ac_space=\ *)
1998 -- sed -n \
1999 -- "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
2000 -- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
2001 -- ;;
2002 -- *)
2003 -+ case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2004 -+ *${as_nl}ac_space=\ *)
2005 - sed -n \
2006 -- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2007 -- ;;
2008 -- esac;
2009 --}
2010 -+ "s/'\''/'\''\\\\'\'''\''/g;
2011 -+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2012 -+ ;; #(
2013 -+ *)
2014 -+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2015 -+ ;;
2016 -+ esac |
2017 -+ sort
2018 -+)
2019 - echo
2020 -
2021 - cat <<\_ASBOX
2022 -@@ -1690,22 +2533,28 @@
2023 - echo
2024 - for ac_var in $ac_subst_vars
2025 - do
2026 -- eval ac_val=$`echo $ac_var`
2027 -- echo "$ac_var='"'"'$ac_val'"'"'"
2028 -+ eval ac_val=\$$ac_var
2029 -+ case $ac_val in
2030 -+ *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2031 -+ esac
2032 -+ echo "$ac_var='\''$ac_val'\''"
2033 - done | sort
2034 - echo
2035 -
2036 - if test -n "$ac_subst_files"; then
2037 - cat <<\_ASBOX
2038 --## ------------- ##
2039 --## Output files. ##
2040 --## ------------- ##
2041 -+## ------------------- ##
2042 -+## File substitutions. ##
2043 -+## ------------------- ##
2044 - _ASBOX
2045 - echo
2046 - for ac_var in $ac_subst_files
2047 - do
2048 -- eval ac_val=$`echo $ac_var`
2049 -- echo "$ac_var='"'"'$ac_val'"'"'"
2050 -+ eval ac_val=\$$ac_var
2051 -+ case $ac_val in
2052 -+ *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2053 -+ esac
2054 -+ echo "$ac_var='\''$ac_val'\''"
2055 - done | sort
2056 - echo
2057 - fi
2058 -@@ -1717,15 +2566,15 @@
2059 - ## ----------- ##
2060 - _ASBOX
2061 - echo
2062 -- sed "/^$/d" confdefs.h | sort
2063 -+ cat confdefs.h
2064 - echo
2065 - fi
2066 - test "$ac_signal" != 0 &&
2067 - echo "$as_me: caught signal $ac_signal"
2068 - echo "$as_me: exit $exit_status"
2069 - } >&5
2070 -- rm -f core *.core &&
2071 -- rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
2072 -+ rm -f core *.core core.conftest.* &&
2073 -+ rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2074 - exit $exit_status
2075 - ' 0
2076 - for ac_signal in 1 2 13 15; do
2077 -@@ -1734,9 +2583,7 @@
2078 - ac_signal=0
2079 -
2080 - # confdefs.h avoids OS command line length limits that DEFS can exceed.
2081 --rm -rf conftest* confdefs.h
2082 --# AIX cpp loses on an empty file, so make sure it contains at least a newline.
2083 --echo >confdefs.h
2084 -+rm -f -r conftest* confdefs.h
2085 -
2086 - # Predefined preprocessor variables.
2087 -
2088 -@@ -1747,14 +2594,17 @@
2089 -
2090 - # Let the site file select an alternate cache file if it wants to.
2091 - # Prefer explicitly selected file to automatically selected ones.
2092 --if test -z "$CONFIG_SITE"; then
2093 -- if test "x$prefix" != xNONE; then
2094 -- CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
2095 -+if test -n "$CONFIG_SITE"; then
2096 -+ set x "$CONFIG_SITE"
2097 -+elif test "x$prefix" != xNONE; then
2098 -+ set x "$prefix/share/config.site" "$prefix/etc/config.site"
2099 - else
2100 -- CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2101 -- fi
2102 -+ set x "$ac_default_prefix/share/config.site" \
2103 -+ "$ac_default_prefix/etc/config.site"
2104 - fi
2105 --for ac_site_file in $CONFIG_SITE; do
2106 -+shift
2107 -+for ac_site_file
2108 -+do
2109 - if test -r "$ac_site_file"; then
2110 - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2111 - echo "$as_me: loading site script $ac_site_file" >&6;}
2112 -@@ -1770,8 +2620,8 @@
2113 - { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2114 - echo "$as_me: loading cache $cache_file" >&6;}
2115 - case $cache_file in
2116 -- [\\/]* | ?:[\\/]* ) . $cache_file;;
2117 -- *) . ./$cache_file;;
2118 -+ [\\/]* | ?:[\\/]* ) . "$cache_file";;
2119 -+ *) . "./$cache_file";;
2120 - esac
2121 - fi
2122 - else
2123 -@@ -1783,12 +2633,11 @@
2124 - # Check that the precious variables saved in the cache have kept the same
2125 - # value.
2126 - ac_cache_corrupted=false
2127 --for ac_var in `(set) 2>&1 |
2128 -- sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
2129 -+for ac_var in $ac_precious_vars; do
2130 - eval ac_old_set=\$ac_cv_env_${ac_var}_set
2131 - eval ac_new_set=\$ac_env_${ac_var}_set
2132 -- eval ac_old_val="\$ac_cv_env_${ac_var}_value"
2133 -- eval ac_new_val="\$ac_env_${ac_var}_value"
2134 -+ eval ac_old_val=\$ac_cv_env_${ac_var}_value
2135 -+ eval ac_new_val=\$ac_env_${ac_var}_value
2136 - case $ac_old_set,$ac_new_set in
2137 - set,)
2138 - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2139 -@@ -1813,8 +2662,7 @@
2140 - # Pass precious variables to config.status.
2141 - if test "$ac_new_set" = set; then
2142 - case $ac_new_val in
2143 -- *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
2144 -- ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2145 -+ *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2146 - *) ac_arg=$ac_var=$ac_new_val ;;
2147 - esac
2148 - case " $ac_configure_args " in
2149 -@@ -1831,12 +2679,6 @@
2150 - { (exit 1); exit 1; }; }
2151 - fi
2152 -
2153 --ac_ext=c
2154 --ac_cpp='$CPP $CPPFLAGS'
2155 --ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2156 --ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2157 --ac_compiler_gnu=$ac_cv_c_compiler_gnu
2158 --
2159 -
2160 -
2161 -
2162 -@@ -1861,6 +2703,11 @@
2163 -
2164 -
2165 -
2166 -+ac_ext=c
2167 -+ac_cpp='$CPP $CPPFLAGS'
2168 -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2169 -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2170 -+ac_compiler_gnu=$ac_cv_c_compiler_gnu
2171 -
2172 -
2173 -
2174 -@@ -1874,1167 +2721,1129 @@
2175 -
2176 - ## Title
2177 -
2178 --# Check whether --with-title0 or --without-title0 was given.
2179 -+# Check whether --with-title0 was given.
2180 - if test "${with_title0+set}" = set; then
2181 -- withval="$with_title0"
2182 -+ withval=$with_title0;
2183 -+fi
2184 -
2185 --fi;
2186 -
2187 --# Check whether --with-title1 or --without-title1 was given.
2188 -+# Check whether --with-title1 was given.
2189 - if test "${with_title1+set}" = set; then
2190 -- withval="$with_title1"
2191 -+ withval=$with_title1;
2192 -+fi
2193 -
2194 --fi;
2195 -
2196 --# Check whether --with-title2 or --without-title2 was given.
2197 -+# Check whether --with-title2 was given.
2198 - if test "${with_title2+set}" = set; then
2199 -- withval="$with_title2"
2200 -+ withval=$with_title2;
2201 -+fi
2202 -
2203 --fi;
2204 -
2205 - ## Code generation
2206 -
2207 --# Check whether --with-debug or --without-debug was given.
2208 -+# Check whether --with-debug was given.
2209 - if test "${with_debug+set}" = set; then
2210 -- withval="$with_debug"
2211 -+ withval=$with_debug;
2212 -+fi
2213 -
2214 --fi;
2215 -
2216 --# Check whether --with-max-debug or --without-max-debug was given.
2217 -+# Check whether --with-max-debug was given.
2218 - if test "${with_max_debug+set}" = set; then
2219 -- withval="$with_max_debug"
2220 -+ withval=$with_max_debug;
2221 -+fi
2222 -
2223 --fi;
2224 -
2225 --# Check whether --with-symbols or --without-symbols was given.
2226 -+# Check whether --with-symbols was given.
2227 - if test "${with_symbols+set}" = set; then
2228 -- withval="$with_symbols"
2229 -+ withval=$with_symbols;
2230 -+fi
2231 -
2232 --fi;
2233 -
2234 --# Check whether --with-optimization or --without-optimization was given.
2235 -+# Check whether --with-optimization was given.
2236 - if test "${with_optimization+set}" = set; then
2237 -- withval="$with_optimization"
2238 -+ withval=$with_optimization;
2239 -+fi
2240 -
2241 --fi;
2242 -
2243 --# Check whether --with-profiling or --without-profiling was given.
2244 -+# Check whether --with-profiling was given.
2245 - if test "${with_profiling+set}" = set; then
2246 -- withval="$with_profiling"
2247 -+ withval=$with_profiling;
2248 -+fi
2249 -
2250 --fi;
2251 -
2252 --# Check whether --with-tcheck or --without-tcheck was given.
2253 -+# Check whether --with-tcheck was given.
2254 - if test "${with_tcheck+set}" = set; then
2255 -- withval="$with_tcheck"
2256 -+ withval=$with_tcheck;
2257 -+fi
2258 -
2259 --fi;
2260 -
2261 --# Check whether --with-dll or --without-dll was given.
2262 -+# Check whether --with-dll was given.
2263 - if test "${with_dll+set}" = set; then
2264 -- withval="$with_dll"
2265 -+ withval=$with_dll;
2266 -+fi
2267 -
2268 --fi;
2269 -
2270 --# Check whether --with-static or --without-static was given.
2271 -+# Check whether --with-static was given.
2272 - if test "${with_static+set}" = set; then
2273 -- withval="$with_static"
2274 -+ withval=$with_static;
2275 -+fi
2276 -
2277 --fi;
2278 -
2279 --# Check whether --with-static-exe or --without-static-exe was given.
2280 -+# Check whether --with-static-exe was given.
2281 - if test "${with_static_exe+set}" = set; then
2282 -- withval="$with_static_exe"
2283 -+ withval=$with_static_exe;
2284 -+fi
2285 -
2286 --fi;
2287 -
2288 --# Check whether --with-plugin-auto-load or --without-plugin-auto-load was given.
2289 -+# Check whether --with-plugin-auto-load was given.
2290 - if test "${with_plugin_auto_load+set}" = set; then
2291 -- withval="$with_plugin_auto_load"
2292 -+ withval=$with_plugin_auto_load;
2293 -+fi
2294 -
2295 --fi;
2296 -
2297 --# Check whether --with-bundles or --without-bundles was given.
2298 -+# Check whether --with-bundles was given.
2299 - if test "${with_bundles+set}" = set; then
2300 -- withval="$with_bundles"
2301 -+ withval=$with_bundles;
2302 -+fi
2303 -
2304 --fi;
2305 -
2306 --# Check whether --with-bin-release or --without-bin-release was given.
2307 -+# Check whether --with-bin-release was given.
2308 - if test "${with_bin_release+set}" = set; then
2309 -- withval="$with_bin_release"
2310 -+ withval=$with_bin_release;
2311 -+fi
2312 -
2313 --fi;
2314 -
2315 --# Check whether --with-mt or --without-mt was given.
2316 -+# Check whether --with-mt was given.
2317 - if test "${with_mt+set}" = set; then
2318 -- withval="$with_mt"
2319 -+ withval=$with_mt;
2320 -+fi
2321 -+
2322 -+
2323 -+# Check whether --with-openmp was given.
2324 -+if test "${with_openmp+set}" = set; then
2325 -+ withval=$with_openmp;
2326 -+fi
2327 -
2328 --fi;
2329 -
2330 --# Check whether --with-64 or --without-64 was given.
2331 -+# Check whether --with-64 was given.
2332 - if test "${with_64+set}" = set; then
2333 -- withval="$with_64"
2334 -+ withval=$with_64;
2335 -+fi
2336 -
2337 --fi;
2338 -
2339 --# Check whether --with-universal or --without-universal was given.
2340 -+# Check whether --with-universal was given.
2341 - if test "${with_universal+set}" = set; then
2342 -- withval="$with_universal"
2343 -+ withval=$with_universal;
2344 -+fi
2345 -
2346 --fi;
2347 -
2348 --# Check whether --with-universal2 or --without-universal2 was given.
2349 -+# Check whether --with-universal2 was given.
2350 - if test "${with_universal2+set}" = set; then
2351 -- withval="$with_universal2"
2352 -+ withval=$with_universal2;
2353 -+fi
2354 -
2355 --fi;
2356 -
2357 --# Check whether --with-exe or --without-exe was given.
2358 -+# Check whether --with-exe was given.
2359 - if test "${with_exe+set}" = set; then
2360 -- withval="$with_exe"
2361 -+ withval=$with_exe;
2362 -+fi
2363 -
2364 --fi;
2365 -
2366 --# Check whether --with-runpath or --without-runpath was given.
2367 -+# Check whether --with-runpath was given.
2368 - if test "${with_runpath+set}" = set; then
2369 -- withval="$with_runpath"
2370 -+ withval=$with_runpath;
2371 -+fi
2372 -
2373 --fi;
2374 -
2375 --# Check whether --with-relative-runpath or --without-relative-runpath was given.
2376 -+# Check whether --with-relative-runpath was given.
2377 - if test "${with_relative_runpath+set}" = set; then
2378 -- withval="$with_relative_runpath"
2379 -+ withval=$with_relative_runpath;
2380 -+fi
2381 -
2382 --fi;
2383 -
2384 --# Check whether --with-hard-runpath or --without-hard-runpath was given.
2385 -+# Check whether --with-hard-runpath was given.
2386 - if test "${with_hard_runpath+set}" = set; then
2387 -- withval="$with_hard_runpath"
2388 -+ withval=$with_hard_runpath;
2389 -+fi
2390 -
2391 --fi;
2392 -
2393 --# Check whether --with-lfs or --without-lfs was given.
2394 -+# Check whether --with-lfs was given.
2395 - if test "${with_lfs+set}" = set; then
2396 -- withval="$with_lfs"
2397 -+ withval=$with_lfs;
2398 -+fi
2399 -
2400 --fi;
2401 -
2402 --# Check whether --with-limited-linker or --without-limited-linker was given.
2403 -+# Check whether --with-limited-linker was given.
2404 - if test "${with_limited_linker+set}" = set; then
2405 -- withval="$with_limited_linker"
2406 -+ withval=$with_limited_linker;
2407 -+fi
2408 -
2409 --fi;
2410 -
2411 - ## Scripts, make features, and directory naming
2412 -
2413 --# Check whether --with-extra-action or --without-extra-action was given.
2414 -+# Check whether --with-extra-action was given.
2415 - if test "${with_extra_action+set}" = set; then
2416 -- withval="$with_extra_action"
2417 -+ withval=$with_extra_action;
2418 -+fi
2419 -
2420 --fi;
2421 -
2422 --# Check whether --with-autodep or --without-autodep was given.
2423 -+# Check whether --with-autodep was given.
2424 - if test "${with_autodep+set}" = set; then
2425 -- withval="$with_autodep"
2426 -+ withval=$with_autodep;
2427 -+fi
2428 -
2429 --fi;
2430 -
2431 --# Check whether --with-build-root or --without-build-root was given.
2432 -+# Check whether --with-build-root was given.
2433 - if test "${with_build_root+set}" = set; then
2434 -- withval="$with_build_root"
2435 -+ withval=$with_build_root;
2436 -+fi
2437 -
2438 --fi;
2439 -
2440 --# Check whether --with-fake-root or --without-fake-root was given.
2441 -+# Check whether --with-fake-root was given.
2442 - if test "${with_fake_root+set}" = set; then
2443 -- withval="$with_fake_root"
2444 -+ withval=$with_fake_root;
2445 -+fi
2446 -
2447 --fi;
2448 -
2449 --# Check whether --with-suffix or --without-suffix was given.
2450 -+# Check whether --with-suffix was given.
2451 - if test "${with_suffix+set}" = set; then
2452 -- withval="$with_suffix"
2453 -+ withval=$with_suffix;
2454 -+fi
2455 -
2456 --fi;
2457 -
2458 --# Check whether --with-hostspec or --without-hostspec was given.
2459 -+# Check whether --with-hostspec was given.
2460 - if test "${with_hostspec+set}" = set; then
2461 -- withval="$with_hostspec"
2462 -+ withval=$with_hostspec;
2463 -+fi
2464 -
2465 --fi;
2466 -
2467 --# Check whether --with-version or --without-version was given.
2468 -+# Check whether --with-version was given.
2469 - if test "${with_version+set}" = set; then
2470 -- withval="$with_version"
2471 -+ withval=$with_version;
2472 -+fi
2473 -
2474 --fi;
2475 -
2476 --# Check whether --with-build-root-sfx or --without-build-root-sfx was given.
2477 -+# Check whether --with-build-root-sfx was given.
2478 - if test "${with_build_root_sfx+set}" = set; then
2479 -- withval="$with_build_root_sfx"
2480 -+ withval=$with_build_root_sfx;
2481 -+fi
2482 -
2483 --fi;
2484 -
2485 --# Check whether --with-execopy or --without-execopy was given.
2486 -+# Check whether --with-execopy was given.
2487 - if test "${with_execopy+set}" = set; then
2488 -- withval="$with_execopy"
2489 -+ withval=$with_execopy;
2490 -+fi
2491 -
2492 --fi;
2493 -
2494 --# Check whether --with-bincopy or --without-bincopy was given.
2495 -+# Check whether --with-bincopy was given.
2496 - if test "${with_bincopy+set}" = set; then
2497 -- withval="$with_bincopy"
2498 -+ withval=$with_bincopy;
2499 -+fi
2500 -
2501 --fi;
2502 -
2503 --# Check whether --with-lib-rebuilds or --without-lib-rebuilds was given.
2504 -+# Check whether --with-lib-rebuilds was given.
2505 - if test "${with_lib_rebuilds+set}" = set; then
2506 -- withval="$with_lib_rebuilds"
2507 -+ withval=$with_lib_rebuilds;
2508 -+fi
2509 -
2510 --fi;
2511 -
2512 --# Check whether --with-lib-rebuilds2 or --without-lib-rebuilds2 was given.
2513 -+# Check whether --with-lib-rebuilds2 was given.
2514 - if test "${with_lib_rebuilds2+set}" = set; then
2515 -- withval="$with_lib_rebuilds2"
2516 -+ withval=$with_lib_rebuilds2;
2517 -+fi
2518 -
2519 --fi;
2520 --# Check whether --with-deactivation or --without-deactivation was given.
2521 -+# Check whether --with-deactivation was given.
2522 - if test "${with_deactivation+set}" = set; then
2523 -- withval="$with_deactivation"
2524 -+ withval=$with_deactivation;
2525 -+fi
2526 -
2527 --fi;
2528 -
2529 --# Check whether --with-makefile-auto-update or --without-makefile-auto-update was given.
2530 -+# Check whether --with-makefile-auto-update was given.
2531 - if test "${with_makefile_auto_update+set}" = set; then
2532 -- withval="$with_makefile_auto_update"
2533 -+ withval=$with_makefile_auto_update;
2534 -+fi
2535 -
2536 --fi;
2537 -
2538 --# Check whether --with-projects or --without-projects was given.
2539 -+# Check whether --with-projects was given.
2540 - if test "${with_projects+set}" = set; then
2541 -- withval="$with_projects"
2542 -+ withval=$with_projects;
2543 -+fi
2544 -
2545 --fi;
2546 -
2547 --# Check whether --with-flat-makefile or --without-flat-makefile was given.
2548 -+# Check whether --with-flat-makefile was given.
2549 - if test "${with_flat_makefile+set}" = set; then
2550 -- withval="$with_flat_makefile"
2551 -+ withval=$with_flat_makefile;
2552 -+fi
2553 -
2554 --fi;
2555 -
2556 --# Check whether --with-configure-dialog or --without-configure-dialog was given.
2557 -+# Check whether --with-configure-dialog was given.
2558 - if test "${with_configure_dialog+set}" = set; then
2559 -- withval="$with_configure_dialog"
2560 -+ withval=$with_configure_dialog;
2561 -+fi
2562 -
2563 --fi;
2564 -
2565 --# Check whether --with-saved-settings or --without-saved-settings was given.
2566 -+# Check whether --with-saved-settings was given.
2567 - if test "${with_saved_settings+set}" = set; then
2568 -- withval="$with_saved_settings"
2569 -+ withval=$with_saved_settings;
2570 -+fi
2571 -
2572 --fi;
2573 -
2574 --# Check whether --with-check or --without-check was given.
2575 -+# Check whether --with-check was given.
2576 - if test "${with_check+set}" = set; then
2577 -- withval="$with_check"
2578 -+ withval=$with_check;
2579 -+fi
2580 -
2581 --fi;
2582 -
2583 --# Check whether --with-check-tools or --without-check-tools was given.
2584 -+# Check whether --with-check-tools was given.
2585 - if test "${with_check_tools+set}" = set; then
2586 -- withval="$with_check_tools"
2587 -+ withval=$with_check_tools;
2588 -+fi
2589 -
2590 --fi;
2591 -
2592 --# Check whether --with-ncbi-public or --without-ncbi-public was given.
2593 -+# Check whether --with-ncbi-public was given.
2594 - if test "${with_ncbi_public+set}" = set; then
2595 -- withval="$with_ncbi_public"
2596 -+ withval=$with_ncbi_public;
2597 -+fi
2598 -
2599 --fi;
2600 -
2601 --# Check whether --with-strip or --without-strip was given.
2602 -+# Check whether --with-strip was given.
2603 - if test "${with_strip+set}" = set; then
2604 -- withval="$with_strip"
2605 -+ withval=$with_strip;
2606 -+fi
2607 -
2608 --fi;
2609 -
2610 --# Check whether --with-pch or --without-pch was given.
2611 -+# Check whether --with-pch was given.
2612 - if test "${with_pch+set}" = set; then
2613 -- withval="$with_pch"
2614 -+ withval=$with_pch;
2615 -+fi
2616 -
2617 --fi;
2618 -
2619 --# Check whether --with-caution or --without-caution was given.
2620 -+# Check whether --with-caution was given.
2621 - if test "${with_caution+set}" = set; then
2622 -- withval="$with_caution"
2623 -+ withval=$with_caution;
2624 -+fi
2625 -
2626 --fi;
2627 -
2628 --# Check whether --with-caution2 or --without-caution2 was given.
2629 -+# Check whether --with-caution2 was given.
2630 - if test "${with_caution2+set}" = set; then
2631 -- withval="$with_caution2"
2632 -+ withval=$with_caution2;
2633 -+fi
2634 -
2635 --fi;
2636 -
2637 --# Check whether --with-ccache or --without-ccache was given.
2638 -+# Check whether --with-ccache was given.
2639 - if test "${with_ccache+set}" = set; then
2640 -- withval="$with_ccache"
2641 -+ withval=$with_ccache;
2642 -+fi
2643 -
2644 --fi;
2645 -
2646 --# Check whether --with-distcc or --without-distcc was given.
2647 -+# Check whether --with-distcc was given.
2648 - if test "${with_distcc+set}" = set; then
2649 -- withval="$with_distcc"
2650 -+ withval=$with_distcc;
2651 -+fi
2652 -
2653 --fi;
2654 -
2655 - ## NCBI packages
2656 -
2657 --# Check whether --with-ncbi-c or --without-ncbi-c was given.
2658 -+# Check whether --with-ncbi-c was given.
2659 - if test "${with_ncbi_c+set}" = set; then
2660 -- withval="$with_ncbi_c"
2661 -+ withval=$with_ncbi_c;
2662 -+fi
2663 -+
2664 -+
2665 -+# Check whether --with-ncbi-c2 was given.
2666 -+if test "${with_ncbi_c2+set}" = set; then
2667 -+ withval=$with_ncbi_c2;
2668 -+fi
2669 -
2670 --fi;
2671 -
2672 --# Check whether --with-sss or --without-sss was given.
2673 -+# Check whether --with-sss was given.
2674 - if test "${with_sss+set}" = set; then
2675 -- withval="$with_sss"
2676 -+ withval=$with_sss;
2677 -+fi
2678 -+
2679 -+
2680 -+# Check whether --with-sss2 was given.
2681 -+if test "${with_sss2+set}" = set; then
2682 -+ withval=$with_sss2;
2683 -+fi
2684 -
2685 --fi;
2686 -
2687 --# Check whether --with-sssutils or --without-sssutils was given.
2688 -+# Check whether --with-sssutils was given.
2689 - if test "${with_sssutils+set}" = set; then
2690 -- withval="$with_sssutils"
2691 -+ withval=$with_sssutils;
2692 -+fi
2693 -
2694 --fi;
2695 -
2696 --# Check whether --with-sssdb or --without-sssdb was given.
2697 -+# Check whether --with-sssdb was given.
2698 - if test "${with_sssdb+set}" = set; then
2699 -- withval="$with_sssdb"
2700 -+ withval=$with_sssdb;
2701 -+fi
2702 -
2703 --fi;
2704 -
2705 --# Check whether --with-included-sss or --without-included-sss was given.
2706 -+# Check whether --with-included-sss was given.
2707 - if test "${with_included_sss+set}" = set; then
2708 -- withval="$with_included_sss"
2709 -+ withval=$with_included_sss;
2710 -+fi
2711 -
2712 --fi;
2713 -
2714 - ## Third-party and system packages
2715 -
2716 --# Check whether --with-z or --without-z was given.
2717 -+# Check whether --with-z was given.
2718 - if test "${with_z+set}" = set; then
2719 -- withval="$with_z"
2720 -+ withval=$with_z;
2721 -+fi
2722 -
2723 --fi;
2724 -
2725 --# Check whether --with-z2 or --without-z2 was given.
2726 -+# Check whether --with-z2 was given.
2727 - if test "${with_z2+set}" = set; then
2728 -- withval="$with_z2"
2729 -+ withval=$with_z2;
2730 -+fi
2731 -
2732 --fi;
2733 -
2734 --# Check whether --with-bz2 or --without-bz2 was given.
2735 -+# Check whether --with-bz2 was given.
2736 - if test "${with_bz2+set}" = set; then
2737 -- withval="$with_bz2"
2738 -+ withval=$with_bz2;
2739 -+fi
2740 -
2741 --fi;
2742 -
2743 --# Check whether --with-bz2b or --without-bz2b was given.
2744 -+# Check whether --with-bz2b was given.
2745 - if test "${with_bz2b+set}" = set; then
2746 -- withval="$with_bz2b"
2747 -+ withval=$with_bz2b;
2748 -+fi
2749 -
2750 --fi;
2751 -
2752 --# Check whether --with-lzo or --without-lzo was given.
2753 -+# Check whether --with-lzo was given.
2754 - if test "${with_lzo+set}" = set; then
2755 -- withval="$with_lzo"
2756 -+ withval=$with_lzo;
2757 -+fi
2758 -
2759 --fi;
2760 -
2761 --# Check whether --with-lzo_ or --without-lzo_ was given.
2762 -+# Check whether --with-lzo_ was given.
2763 - if test "${with_lzo_+set}" = set; then
2764 -- withval="$with_lzo_"
2765 -+ withval=$with_lzo_;
2766 -+fi
2767 -
2768 --fi;
2769 -
2770 --# Check whether --with-pcre or --without-pcre was given.
2771 -+# Check whether --with-pcre was given.
2772 - if test "${with_pcre+set}" = set; then
2773 -- withval="$with_pcre"
2774 -+ withval=$with_pcre;
2775 -+fi
2776 -
2777 --fi;
2778 -
2779 --# Check whether --with-pcre2 or --without-pcre2 was given.
2780 -+# Check whether --with-pcre2 was given.
2781 - if test "${with_pcre2+set}" = set; then
2782 -- withval="$with_pcre2"
2783 -+ withval=$with_pcre2;
2784 -+fi
2785 -
2786 --fi;
2787 -
2788 --# Check whether --with-gcrypt or --without-gcrypt was given.
2789 -+# Check whether --with-gcrypt was given.
2790 - if test "${with_gcrypt+set}" = set; then
2791 -- withval="$with_gcrypt"
2792 -+ withval=$with_gcrypt;
2793 -+fi
2794 -
2795 --fi;
2796 -
2797 --# Check whether --with-gcrypt2 or --without-gcrypt2 was given.
2798 -+# Check whether --with-gcrypt2 was given.
2799 - if test "${with_gcrypt2+set}" = set; then
2800 -- withval="$with_gcrypt2"
2801 -+ withval=$with_gcrypt2;
2802 -+fi
2803 -
2804 --fi;
2805 -
2806 --# Check whether --with-gnutls or --without-gnutls was given.
2807 -+# Check whether --with-gnutls was given.
2808 - if test "${with_gnutls+set}" = set; then
2809 -- withval="$with_gnutls"
2810 -+ withval=$with_gnutls;
2811 -+fi
2812 -
2813 --fi;
2814 -
2815 --# Check whether --with-gnutls2 or --without-gnutls2 was given.
2816 -+# Check whether --with-gnutls2 was given.
2817 - if test "${with_gnutls2+set}" = set; then
2818 -- withval="$with_gnutls2"
2819 -+ withval=$with_gnutls2;
2820 -+fi
2821 -
2822 --fi;
2823 -
2824 --# Check whether --with-openssl or --without-openssl was given.
2825 -+# Check whether --with-openssl was given.
2826 - if test "${with_openssl+set}" = set; then
2827 -- withval="$with_openssl"
2828 -+ withval=$with_openssl;
2829 -+fi
2830 -
2831 --fi;
2832 -
2833 --# Check whether --with-openssl2 or --without-openssl2 was given.
2834 -+# Check whether --with-openssl2 was given.
2835 - if test "${with_openssl2+set}" = set; then
2836 -- withval="$with_openssl2"
2837 -+ withval=$with_openssl2;
2838 -+fi
2839 -
2840 --fi;
2841 -
2842 --# Check whether --with-krb5 or --without-krb5 was given.
2843 -+# Check whether --with-krb5 was given.
2844 - if test "${with_krb5+set}" = set; then
2845 -- withval="$with_krb5"
2846 -+ withval=$with_krb5;
2847 -+fi
2848 -
2849 --fi;
2850 -
2851 --# Check whether --with-krb5b or --without-krb5b was given.
2852 -+# Check whether --with-krb5b was given.
2853 - if test "${with_krb5b+set}" = set; then
2854 -- withval="$with_krb5b"
2855 -+ withval=$with_krb5b;
2856 -+fi
2857 -
2858 --fi;
2859 -
2860 --# Check whether --with-sybase or --without-sybase was given.
2861 -+# Check whether --with-sybase was given.
2862 - if test "${with_sybase+set}" = set; then
2863 -- withval="$with_sybase"
2864 -+ withval=$with_sybase;
2865 -+fi
2866 -
2867 --fi;
2868 -
2869 --# Check whether --with-sybase-local or --without-sybase-local was given.
2870 -+# Check whether --with-sybase-local was given.
2871 - if test "${with_sybase_local+set}" = set; then
2872 -- withval="$with_sybase_local"
2873 -+ withval=$with_sybase_local;
2874 -+fi
2875 -
2876 --fi;
2877 -
2878 --# Check whether --with-sybase-new or --without-sybase-new was given.
2879 -+# Check whether --with-sybase-new was given.
2880 - if test "${with_sybase_new+set}" = set; then
2881 -- withval="$with_sybase_new"
2882 -+ withval=$with_sybase_new;
2883 -+fi
2884 -
2885 --fi;
2886 -
2887 --# Check whether --with-ftds or --without-ftds was given.
2888 -+# Check whether --with-ftds was given.
2889 - if test "${with_ftds+set}" = set; then
2890 -- withval="$with_ftds"
2891 -+ withval=$with_ftds;
2892 -+fi
2893 -
2894 --fi;
2895 -
2896 --# Check whether --with-ftds2 or --without-ftds2 was given.
2897 -+# Check whether --with-ftds2 was given.
2898 - if test "${with_ftds2+set}" = set; then
2899 -- withval="$with_ftds2"
2900 -+ withval=$with_ftds2;
2901 -+fi
2902 -
2903 --fi;
2904 -
2905 --# Check whether --with-ftds-renamed or --without-ftds-renamed was given.
2906 -+# Check whether --with-ftds-renamed was given.
2907 - if test "${with_ftds_renamed+set}" = set; then
2908 -- withval="$with_ftds_renamed"
2909 -+ withval=$with_ftds_renamed;
2910 -+fi
2911 -
2912 --fi;
2913 -
2914 --# Check whether --with-mysql or --without-mysql was given.
2915 -+# Check whether --with-mysql was given.
2916 - if test "${with_mysql+set}" = set; then
2917 -- withval="$with_mysql"
2918 -+ withval=$with_mysql;
2919 -+fi
2920 -
2921 --fi;
2922 -
2923 --# Check whether --with-mysql2 or --without-mysql2 was given.
2924 -+# Check whether --with-mysql2 was given.
2925 - if test "${with_mysql2+set}" = set; then
2926 -- withval="$with_mysql2"
2927 -+ withval=$with_mysql2;
2928 -+fi
2929 -
2930 --fi;
2931 -
2932 --# Check whether --with-opengl or --without-opengl was given.
2933 -+# Check whether --with-opengl was given.
2934 - if test "${with_opengl+set}" = set; then
2935 -- withval="$with_opengl"
2936 -+ withval=$with_opengl;
2937 -+fi
2938 -
2939 --fi;
2940 -
2941 --# Check whether --with-opengl2 or --without-opengl2 was given.
2942 -+# Check whether --with-opengl2 was given.
2943 - if test "${with_opengl2+set}" = set; then
2944 -- withval="$with_opengl2"
2945 -+ withval=$with_opengl2;
2946 -+fi
2947 -
2948 --fi;
2949 -
2950 --# Check whether --with-mesa or --without-mesa was given.
2951 -+# Check whether --with-mesa was given.
2952 - if test "${with_mesa+set}" = set; then
2953 -- withval="$with_mesa"
2954 -+ withval=$with_mesa;
2955 -+fi
2956 -
2957 --fi;
2958 -
2959 --# Check whether --with-mesa2 or --without-mesa2 was given.
2960 -+# Check whether --with-mesa2 was given.
2961 - if test "${with_mesa2+set}" = set; then
2962 -- withval="$with_mesa2"
2963 -+ withval=$with_mesa2;
2964 -+fi
2965 -
2966 --fi;
2967 -
2968 --# Check whether --with-glut or --without-glut was given.
2969 -+# Check whether --with-glut was given.
2970 - if test "${with_glut+set}" = set; then
2971 -- withval="$with_glut"
2972 -+ withval=$with_glut;
2973 -+fi
2974 -
2975 --fi;
2976 -
2977 --# Check whether --with-glut2 or --without-glut2 was given.
2978 -+# Check whether --with-glut2 was given.
2979 - if test "${with_glut2+set}" = set; then
2980 -- withval="$with_glut2"
2981 -+ withval=$with_glut2;
2982 -+fi
2983 -
2984 --fi;
2985 -
2986 --# Check whether --with-glew or --without-glew was given.
2987 -+# Check whether --with-glew was given.
2988 - if test "${with_glew+set}" = set; then
2989 -- withval="$with_glew"
2990 -+ withval=$with_glew;
2991 -+fi
2992 -
2993 --fi;
2994 -
2995 --# Check whether --with-glew2 or --without-glew2 was given.
2996 -+# Check whether --with-glew2 was given.
2997 - if test "${with_glew2+set}" = set; then
2998 -- withval="$with_glew2"
2999 -+ withval=$with_glew2;
3000 -+fi
3001 -
3002 --fi;
3003 -
3004 --# Check whether --with-glew-mx or --without-glew-mx was given.
3005 -+# Check whether --with-glew-mx was given.
3006 - if test "${with_glew_mx+set}" = set; then
3007 -- withval="$with_glew_mx"
3008 -+ withval=$with_glew_mx;
3009 -+fi
3010 -
3011 --fi;
3012 -
3013 --# Check whether --with-wxwidgets or --without-wxwidgets was given.
3014 -+# Check whether --with-wxwidgets was given.
3015 - if test "${with_wxwidgets+set}" = set; then
3016 -- withval="$with_wxwidgets"
3017 -+ withval=$with_wxwidgets;
3018 -+fi
3019 -
3020 --fi;
3021 -
3022 --# Check whether --with-wxwidgets2 or --without-wxwidgets2 was given.
3023 -+# Check whether --with-wxwidgets2 was given.
3024 - if test "${with_wxwidgets2+set}" = set; then
3025 -- withval="$with_wxwidgets2"
3026 -+ withval=$with_wxwidgets2;
3027 -+fi
3028 -
3029 --fi;
3030 -
3031 --# Check whether --with-wxwidgets-ucs or --without-wxwidgets-ucs was given.
3032 -+# Check whether --with-wxwidgets-ucs was given.
3033 - if test "${with_wxwidgets_ucs+set}" = set; then
3034 -- withval="$with_wxwidgets_ucs"
3035 -+ withval=$with_wxwidgets_ucs;
3036 -+fi
3037 -
3038 --fi;
3039 -
3040 --# Check whether --with-wxwidgets-ucs2 or --without-wxwidgets-ucs2 was given.
3041 -+# Check whether --with-wxwidgets-ucs2 was given.
3042 - if test "${with_wxwidgets_ucs2+set}" = set; then
3043 -- withval="$with_wxwidgets_ucs2"
3044 -+ withval=$with_wxwidgets_ucs2;
3045 -+fi
3046 -
3047 --fi;
3048 -
3049 --# Check whether --with-freetype or --without-freetype was given.
3050 -+# Check whether --with-freetype was given.
3051 - if test "${with_freetype+set}" = set; then
3052 -- withval="$with_freetype"
3053 -+ withval=$with_freetype;
3054 -+fi
3055 -
3056 --fi;
3057 -
3058 --# Check whether --with-freetype_ or --without-freetype_ was given.
3059 -+# Check whether --with-freetype_ was given.
3060 - if test "${with_freetype_+set}" = set; then
3061 -- withval="$with_freetype_"
3062 -+ withval=$with_freetype_;
3063 -+fi
3064 -
3065 --fi;
3066 -
3067 --# Check whether --with-ftgl or --without-ftgl was given.
3068 -+# Check whether --with-ftgl was given.
3069 - if test "${with_ftgl+set}" = set; then
3070 -- withval="$with_ftgl"
3071 -+ withval=$with_ftgl;
3072 -+fi
3073 -
3074 --fi;
3075 -
3076 --# Check whether --with-ftgl2 or --without-ftgl2 was given.
3077 -+# Check whether --with-ftgl2 was given.
3078 - if test "${with_ftgl2+set}" = set; then
3079 -- withval="$with_ftgl2"
3080 -+ withval=$with_ftgl2;
3081 -+fi
3082 -
3083 --fi;
3084 -
3085 --# Check whether --with-fastcgi or --without-fastcgi was given.
3086 -+# Check whether --with-fastcgi was given.
3087 - if test "${with_fastcgi+set}" = set; then
3088 -- withval="$with_fastcgi"
3089 -+ withval=$with_fastcgi;
3090 -+fi
3091 -
3092 --fi;
3093 -
3094 --# Check whether --with-fastcgi2 or --without-fastcgi2 was given.
3095 -+# Check whether --with-fastcgi2 was given.
3096 - if test "${with_fastcgi2+set}" = set; then
3097 -- withval="$with_fastcgi2"
3098 -+ withval=$with_fastcgi2;
3099 -+fi
3100 -
3101 --fi;
3102 -
3103 --# Check whether --with-fastcgi3 or --without-fastcgi3 was given.
3104 -+# Check whether --with-fastcgi3 was given.
3105 - if test "${with_fastcgi3+set}" = set; then
3106 -- withval="$with_fastcgi3"
3107 -+ withval=$with_fastcgi3;
3108 -+fi
3109 -
3110 --fi;
3111 -
3112 --# Check whether --with-bdb or --without-bdb was given.
3113 -+# Check whether --with-bdb was given.
3114 - if test "${with_bdb+set}" = set; then
3115 -- withval="$with_bdb"
3116 -+ withval=$with_bdb;
3117 -+fi
3118 -
3119 --fi;
3120 -
3121 --# Check whether --with-bdb or --without-bdb was given.
3122 -+# Check whether --with-bdb was given.
3123 - if test "${with_bdb+set}" = set; then
3124 -- withval="$with_bdb"
3125 -+ withval=$with_bdb;
3126 -+fi
3127 -
3128 --fi;
3129 -
3130 --# Check whether --with-bdb or --without-bdb was given.
3131 -+# Check whether --with-bdb was given.
3132 - if test "${with_bdb+set}" = set; then
3133 -- withval="$with_bdb"
3134 -+ withval=$with_bdb;
3135 -+fi
3136 -
3137 --fi;
3138 -
3139 --# Check whether --with-sp or --without-sp was given.
3140 -+# Check whether --with-sp was given.
3141 - if test "${with_sp+set}" = set; then
3142 -- withval="$with_sp"
3143 -+ withval=$with_sp;
3144 -+fi
3145 -
3146 --fi;
3147 -
3148 --# Check whether --with-orbacus or --without-orbacus was given.
3149 -+# Check whether --with-orbacus was given.
3150 - if test "${with_orbacus+set}" = set; then
3151 -- withval="$with_orbacus"
3152 -+ withval=$with_orbacus;
3153 -+fi
3154 -
3155 --fi;
3156 -
3157 --# Check whether --with-orbacus2 or --without-orbacus2 was given.
3158 -+# Check whether --with-orbacus2 was given.
3159 - if test "${with_orbacus2+set}" = set; then
3160 -- withval="$with_orbacus2"
3161 -+ withval=$with_orbacus2;
3162 -+fi
3163 -
3164 --fi;
3165 -
3166 --# Check whether --with-odbc or --without-odbc was given.
3167 -+# Check whether --with-odbc was given.
3168 - if test "${with_odbc+set}" = set; then
3169 -- withval="$with_odbc"
3170 -+ withval=$with_odbc;
3171 -+fi
3172 -
3173 --fi;
3174 -
3175 --# Check whether --with-python or --without-python was given.
3176 -+# Check whether --with-python was given.
3177 - if test "${with_python+set}" = set; then
3178 -- withval="$with_python"
3179 -+ withval=$with_python;
3180 -+fi
3181 -
3182 --fi;
3183 -
3184 --# Check whether --with-python2 or --without-python2 was given.
3185 -+# Check whether --with-python2 was given.
3186 - if test "${with_python2+set}" = set; then
3187 -- withval="$with_python2"
3188 -+ withval=$with_python2;
3189 -+fi
3190 -
3191 --fi;
3192 -
3193 --# Check whether --with-perl or --without-perl was given.
3194 -+# Check whether --with-perl was given.
3195 - if test "${with_perl+set}" = set; then
3196 -- withval="$with_perl"
3197 -+ withval=$with_perl;
3198 -+fi
3199 -
3200 --fi;
3201 -
3202 --# Check whether --with-perl2 or --without-perl2 was given.
3203 -+# Check whether --with-perl2 was given.
3204 - if test "${with_perl2+set}" = set; then
3205 -- withval="$with_perl2"
3206 -+ withval=$with_perl2;
3207 -+fi
3208 -
3209 --fi;
3210 -
3211 --# Check whether --with-jni or --without-jni was given.
3212 -+# Check whether --with-jni was given.
3213 - if test "${with_jni+set}" = set; then
3214 -- withval="$with_jni"
3215 -+ withval=$with_jni;
3216 -+fi
3217 -
3218 --fi;
3219 -
3220 --# Check whether --with-boost or --without-boost was given.
3221 -+# Check whether --with-boost was given.
3222 - if test "${with_boost+set}" = set; then
3223 -- withval="$with_boost"
3224 -+ withval=$with_boost;
3225 -+fi
3226 -
3227 --fi;
3228 -
3229 --# Check whether --with-boost2 or --without-boost2 was given.
3230 -+# Check whether --with-boost2 was given.
3231 - if test "${with_boost2+set}" = set; then
3232 -- withval="$with_boost2"
3233 -+ withval=$with_boost2;
3234 -+fi
3235 -
3236 --fi;
3237 -
3238 --# Check whether --with-boost-tag or --without-boost-tag was given.
3239 -+# Check whether --with-boost-tag was given.
3240 - if test "${with_boost_tag+set}" = set; then
3241 -- withval="$with_boost_tag"
3242 -+ withval=$with_boost_tag;
3243 -+fi
3244 -
3245 --fi;
3246 -
3247 --# Check whether --with-boost-tag2 or --without-boost-tag2 was given.
3248 -+# Check whether --with-boost-tag2 was given.
3249 - if test "${with_boost_tag2+set}" = set; then
3250 -- withval="$with_boost_tag2"
3251 -+ withval=$with_boost_tag2;
3252 -+fi
3253 -
3254 --fi;
3255 -
3256 --# Check whether --with-sqlite3 or --without-sqlite3 was given.
3257 -+# Check whether --with-sqlite3 was given.
3258 - if test "${with_sqlite3+set}" = set; then
3259 -- withval="$with_sqlite3"
3260 -+ withval=$with_sqlite3;
3261 -+fi
3262 -
3263 --fi;
3264 -
3265 --# Check whether --with-sqlite3b or --without-sqlite3b was given.
3266 -+# Check whether --with-sqlite3b was given.
3267 - if test "${with_sqlite3b+set}" = set; then
3268 -- withval="$with_sqlite3b"
3269 -+ withval=$with_sqlite3b;
3270 -+fi
3271 -
3272 --fi;
3273 -
3274 --# Check whether --with-icu or --without-icu was given.
3275 -+# Check whether --with-icu was given.
3276 - if test "${with_icu+set}" = set; then
3277 -- withval="$with_icu"
3278 -+ withval=$with_icu;
3279 -+fi
3280 -
3281 --fi;
3282 -
3283 --# Check whether --with-icu2 or --without-icu2 was given.
3284 -+# Check whether --with-icu2 was given.
3285 - if test "${with_icu2+set}" = set; then
3286 -- withval="$with_icu2"
3287 -+ withval=$with_icu2;
3288 -+fi
3289 -
3290 --fi;
3291 -
3292 --# Check whether --with-expat or --without-expat was given.
3293 -+# Check whether --with-expat was given.
3294 - if test "${with_expat+set}" = set; then
3295 -- withval="$with_expat"
3296 -+ withval=$with_expat;
3297 -+fi
3298 -
3299 --fi;
3300 -
3301 --# Check whether --with-expat2 or --without-expat2 was given.
3302 -+# Check whether --with-expat2 was given.
3303 - if test "${with_expat2+set}" = set; then
3304 -- withval="$with_expat2"
3305 -+ withval=$with_expat2;
3306 -+fi
3307 -
3308 --fi;
3309 -
3310 --# Check whether --with-sablot or --without-sablot was given.
3311 -+# Check whether --with-sablot was given.
3312 - if test "${with_sablot+set}" = set; then
3313 -- withval="$with_sablot"
3314 -+ withval=$with_sablot;
3315 -+fi
3316 -
3317 --fi;
3318 -
3319 --# Check whether --with-sablot2 or --without-sablot2 was given.
3320 -+# Check whether --with-sablot2 was given.
3321 - if test "${with_sablot2+set}" = set; then
3322 -- withval="$with_sablot2"
3323 -+ withval=$with_sablot2;
3324 -+fi
3325 -
3326 --fi;
3327 -
3328 --# Check whether --with-libxml or --without-libxml was given.
3329 -+# Check whether --with-libxml was given.
3330 - if test "${with_libxml+set}" = set; then
3331 -- withval="$with_libxml"
3332 -+ withval=$with_libxml;
3333 -+fi
3334 -
3335 --fi;
3336 -
3337 --# Check whether --with-libxml_ or --without-libxml_ was given.
3338 -+# Check whether --with-libxml_ was given.
3339 - if test "${with_libxml_+set}" = set; then
3340 -- withval="$with_libxml_"
3341 -+ withval=$with_libxml_;
3342 -+fi
3343 -
3344 --fi;
3345 -
3346 --# Check whether --with-libxslt or --without-libxslt was given.
3347 -+# Check whether --with-libxslt was given.
3348 - if test "${with_libxslt+set}" = set; then
3349 -- withval="$with_libxslt"
3350 -+ withval=$with_libxslt;
3351 -+fi
3352 -
3353 --fi;
3354 -
3355 --# Check whether --with-libxslt2 or --without-libxslt2 was given.
3356 -+# Check whether --with-libxslt2 was given.
3357 - if test "${with_libxslt2+set}" = set; then
3358 -- withval="$with_libxslt2"
3359 -+ withval=$with_libxslt2;
3360 -+fi
3361 -
3362 --fi;
3363 -
3364 --# Check whether --with-libexslt or --without-libexslt was given.
3365 -+# Check whether --with-libexslt was given.
3366 - if test "${with_libexslt+set}" = set; then
3367 -- withval="$with_libexslt"
3368 -+ withval=$with_libexslt;
3369 -+fi
3370 -
3371 --fi;
3372 -
3373 --# Check whether --with-libexslt2 or --without-libexslt2 was given.
3374 -+# Check whether --with-libexslt2 was given.
3375 - if test "${with_libexslt2+set}" = set; then
3376 -- withval="$with_libexslt2"
3377 -+ withval=$with_libexslt2;
3378 -+fi
3379 -
3380 --fi;
3381 -
3382 --# Check whether --with-xerces or --without-xerces was given.
3383 -+# Check whether --with-xerces was given.
3384 - if test "${with_xerces+set}" = set; then
3385 -- withval="$with_xerces"
3386 -+ withval=$with_xerces;
3387 -+fi
3388 -
3389 --fi;
3390 -
3391 --# Check whether --with-xerces2 or --without-xerces2 was given.
3392 -+# Check whether --with-xerces2 was given.
3393 - if test "${with_xerces2+set}" = set; then
3394 -- withval="$with_xerces2"
3395 -+ withval=$with_xerces2;
3396 -+fi
3397 -
3398 --fi;
3399 -
3400 --# Check whether --with-xalan or --without-xalan was given.
3401 -+# Check whether --with-xalan was given.
3402 - if test "${with_xalan+set}" = set; then
3403 -- withval="$with_xalan"
3404 -+ withval=$with_xalan;
3405 -+fi
3406 -
3407 --fi;
3408 -
3409 --# Check whether --with-xalan2 or --without-xalan2 was given.
3410 -+# Check whether --with-xalan2 was given.
3411 - if test "${with_xalan2+set}" = set; then
3412 -- withval="$with_xalan2"
3413 -+ withval=$with_xalan2;
3414 -+fi
3415 -
3416 --fi;
3417 -
3418 --# Check whether --with-zorba or --without-zorba was given.
3419 -+# Check whether --with-zorba was given.
3420 - if test "${with_zorba+set}" = set; then
3421 -- withval="$with_zorba"
3422 -+ withval=$with_zorba;
3423 -+fi
3424 -
3425 --fi;
3426 -
3427 --# Check whether --with-zorba2 or --without-zorba2 was given.
3428 -+# Check whether --with-zorba2 was given.
3429 - if test "${with_zorba2+set}" = set; then
3430 -- withval="$with_zorba2"
3431 -+ withval=$with_zorba2;
3432 -+fi
3433 -
3434 --fi;
3435 -
3436 --# Check whether --with-oechem or --without-oechem was given.
3437 -+# Check whether --with-oechem was given.
3438 - if test "${with_oechem+set}" = set; then
3439 -- withval="$with_oechem"
3440 -+ withval=$with_oechem;
3441 -+fi
3442 -
3443 --fi;
3444 -
3445 --# Check whether --with-oechem2 or --without-oechem2 was given.
3446 -+# Check whether --with-oechem2 was given.
3447 - if test "${with_oechem2+set}" = set; then
3448 -- withval="$with_oechem2"
3449 -+ withval=$with_oechem2;
3450 -+fi
3451 -
3452 --fi;
3453 -
3454 --# Check whether --with-sge or --without-sge was given.
3455 -+# Check whether --with-sge was given.
3456 - if test "${with_sge+set}" = set; then
3457 -- withval="$with_sge"
3458 -+ withval=$with_sge;
3459 -+fi
3460 -
3461 --fi;
3462 -
3463 --# Check whether --with-sge2 or --without-sge2 was given.
3464 -+# Check whether --with-sge2 was given.
3465 - if test "${with_sge2+set}" = set; then
3466 -- withval="$with_sge2"
3467 -+ withval=$with_sge2;
3468 -+fi
3469 -
3470 --fi;
3471 -
3472 --# Check whether --with-muparser or --without-muparser was given.
3473 -+# Check whether --with-muparser was given.
3474 - if test "${with_muparser+set}" = set; then
3475 -- withval="$with_muparser"
3476 -+ withval=$with_muparser;
3477 -+fi
3478 -
3479 --fi;
3480 -
3481 --# Check whether --with-muparser2 or --without-muparser2 was given.
3482 -+# Check whether --with-muparser2 was given.
3483 - if test "${with_muparser2+set}" = set; then
3484 -- withval="$with_muparser2"
3485 -+ withval=$with_muparser2;
3486 -+fi
3487 -
3488 --fi;
3489 -
3490 --# Check whether --with-hdf5 or --without-hdf5 was given.
3491 -+# Check whether --with-hdf5 was given.
3492 - if test "${with_hdf5+set}" = set; then
3493 -- withval="$with_hdf5"
3494 -+ withval=$with_hdf5;
3495 -+fi
3496 -
3497 --fi;
3498 -
3499 --# Check whether --with-hdf5b or --without-hdf5b was given.
3500 -+# Check whether --with-hdf5b was given.
3501 - if test "${with_hdf5b+set}" = set; then
3502 -- withval="$with_hdf5b"
3503 -+ withval=$with_hdf5b;
3504 -+fi
3505 -
3506 --fi;
3507 -
3508 --# Check whether --with-gif or --without-gif was given.
3509 -+# Check whether --with-gif was given.
3510 - if test "${with_gif+set}" = set; then
3511 -- withval="$with_gif"
3512 -+ withval=$with_gif;
3513 -+fi
3514 -
3515 --fi;
3516 -
3517 --# Check whether --with-gif2 or --without-gif2 was given.
3518 -+# Check whether --with-gif2 was given.
3519 - if test "${with_gif2+set}" = set; then
3520 -- withval="$with_gif2"
3521 -+ withval=$with_gif2;
3522 -+fi
3523 -
3524 --fi;
3525 -
3526 --# Check whether --with-jpeg or --without-jpeg was given.
3527 -+# Check whether --with-jpeg was given.
3528 - if test "${with_jpeg+set}" = set; then
3529 -- withval="$with_jpeg"
3530 -+ withval=$with_jpeg;
3531 -+fi
3532 -
3533 --fi;
3534 -
3535 --# Check whether --with-jpeg2 or --without-jpeg2 was given.
3536 -+# Check whether --with-jpeg2 was given.
3537 - if test "${with_jpeg2+set}" = set; then
3538 -- withval="$with_jpeg2"
3539 -+ withval=$with_jpeg2;
3540 -+fi
3541 -
3542 --fi;
3543 -
3544 --# Check whether --with-png or --without-png was given.
3545 -+# Check whether --with-png was given.
3546 - if test "${with_png+set}" = set; then
3547 -- withval="$with_png"
3548 -+ withval=$with_png;
3549 -+fi
3550 -
3551 --fi;
3552 -
3553 --# Check whether --with-png2 or --without-png2 was given.
3554 -+# Check whether --with-png2 was given.
3555 - if test "${with_png2+set}" = set; then
3556 -- withval="$with_png2"
3557 -+ withval=$with_png2;
3558 -+fi
3559 -
3560 --fi;
3561 -
3562 --# Check whether --with-tiff or --without-tiff was given.
3563 -+# Check whether --with-tiff was given.
3564 - if test "${with_tiff+set}" = set; then
3565 -- withval="$with_tiff"
3566 -+ withval=$with_tiff;
3567 -+fi
3568 -
3569 --fi;
3570 -
3571 --# Check whether --with-tiff2 or --without-tiff2 was given.
3572 -+# Check whether --with-tiff2 was given.
3573 - if test "${with_tiff2+set}" = set; then
3574 -- withval="$with_tiff2"
3575 -+ withval=$with_tiff2;
3576 -+fi
3577 -
3578 --fi;
3579 -
3580 --# Check whether --with-xpm or --without-xpm was given.
3581 -+# Check whether --with-xpm was given.
3582 - if test "${with_xpm+set}" = set; then
3583 -- withval="$with_xpm"
3584 -+ withval=$with_xpm;
3585 -+fi
3586 -
3587 --fi;
3588 -
3589 --# Check whether --with-xpm2 or --without-xpm2 was given.
3590 -+# Check whether --with-xpm2 was given.
3591 - if test "${with_xpm2+set}" = set; then
3592 -- withval="$with_xpm2"
3593 -+ withval=$with_xpm2;
3594 -+fi
3595 -
3596 --fi;
3597 -
3598 --# Check whether --with-magic or --without-magic was given.
3599 -+# Check whether --with-magic was given.
3600 - if test "${with_magic+set}" = set; then
3601 -- withval="$with_magic"
3602 -+ withval=$with_magic;
3603 -+fi
3604 -
3605 --fi;
3606 -
3607 --# Check whether --with-magic2 or --without-magic2 was given.
3608 -+# Check whether --with-magic2 was given.
3609 - if test "${with_magic2+set}" = set; then
3610 -- withval="$with_magic2"
3611 -+ withval=$with_magic2;
3612 -+fi
3613 -
3614 --fi;
3615 -
3616 --# Check whether --with-curl or --without-curl was given.
3617 -+# Check whether --with-curl was given.
3618 - if test "${with_curl+set}" = set; then
3619 -- withval="$with_curl"
3620 -+ withval=$with_curl;
3621 -+fi
3622 -
3623 --fi;
3624 -
3625 --# Check whether --with-curl2 or --without-curl2 was given.
3626 -+# Check whether --with-curl2 was given.
3627 - if test "${with_curl2+set}" = set; then
3628 -- withval="$with_curl2"
3629 -+ withval=$with_curl2;
3630 -+fi
3631 -
3632 --fi;
3633 -
3634 --# Check whether --with-mimetic or --without-mimetic was given.
3635 -+# Check whether --with-mimetic was given.
3636 - if test "${with_mimetic+set}" = set; then
3637 -- withval="$with_mimetic"
3638 -+ withval=$with_mimetic;
3639 -+fi
3640 -
3641 --fi;
3642 -
3643 --# Check whether --with-mimetic2 or --without-mimetic2 was given.
3644 -+# Check whether --with-mimetic2 was given.
3645 - if test "${with_mimetic2+set}" = set; then
3646 -- withval="$with_mimetic2"
3647 -+ withval=$with_mimetic2;
3648 -+fi
3649 -+
3650 -+
3651 -+# Check whether --with-gsoap was given.
3652 -+if test "${with_gsoap+set}" = set; then
3653 -+ withval=$with_gsoap;
3654 -+fi
3655 -+
3656 -+
3657 -+# Check whether --with-gsoap2 was given.
3658 -+if test "${with_gsoap2+set}" = set; then
3659 -+ withval=$with_gsoap2;
3660 -+fi
3661 -+
3662 -+
3663 -+# Check whether --with-mongodb was given.
3664 -+if test "${with_mongodb+set}" = set; then
3665 -+ withval=$with_mongodb;
3666 -+fi
3667 -
3668 --fi;
3669 -
3670 --# Check whether --with-3psw or --without-3psw was given.
3671 -+# Check whether --with-mongodb2 was given.
3672 -+if test "${with_mongodb2+set}" = set; then
3673 -+ withval=$with_mongodb2;
3674 -+fi
3675 -+
3676 -+
3677 -+# Check whether --with-3psw was given.
3678 - if test "${with_3psw+set}" = set; then
3679 -- withval="$with_3psw"
3680 -+ withval=$with_3psw;
3681 -+fi
3682 -
3683 --fi;
3684 -
3685 --# Check whether --with-3psw2 or --without-3psw2 was given.
3686 -+# Check whether --with-3psw2 was given.
3687 - if test "${with_3psw2+set}" = set; then
3688 -- withval="$with_3psw2"
3689 -+ withval=$with_3psw2;
3690 -+fi
3691 -
3692 --fi;
3693 -
3694 - ## Optional projects
3695 -
3696 --# Check whether --with-local-lbsm or --without-local-lbsm was given.
3697 -+# Check whether --with-local-lbsm was given.
3698 - if test "${with_local_lbsm+set}" = set; then
3699 -- withval="$with_local_lbsm"
3700 -+ withval=$with_local_lbsm;
3701 -+fi
3702 -
3703 --fi;
3704 -
3705 --# Check whether --with-ncbi-crypt or --without-ncbi-crypt was given.
3706 -+# Check whether --with-ncbi-crypt was given.
3707 - if test "${with_ncbi_crypt+set}" = set; then
3708 -- withval="$with_ncbi_crypt"
3709 -+ withval=$with_ncbi_crypt;
3710 -+fi
3711 -
3712 --fi;
3713 -
3714 --# Check whether --with-connext or --without-connext was given.
3715 -+# Check whether --with-connext was given.
3716 - if test "${with_connext+set}" = set; then
3717 -- withval="$with_connext"
3718 -+ withval=$with_connext;
3719 -+fi
3720 -
3721 --fi;
3722 -
3723 --# Check whether --with-serial or --without-serial was given.
3724 -+# Check whether --with-serial was given.
3725 - if test "${with_serial+set}" = set; then
3726 -- withval="$with_serial"
3727 -+ withval=$with_serial;
3728 -+fi
3729 -
3730 --fi;
3731 -
3732 --# Check whether --with-objects or --without-objects was given.
3733 -+# Check whether --with-objects was given.
3734 - if test "${with_objects+set}" = set; then
3735 -- withval="$with_objects"
3736 -+ withval=$with_objects;
3737 -+fi
3738 -
3739 --fi;
3740 -
3741 --# Check whether --with-dbapi or --without-dbapi was given.
3742 -+# Check whether --with-dbapi was given.
3743 - if test "${with_dbapi+set}" = set; then
3744 -- withval="$with_dbapi"
3745 -+ withval=$with_dbapi;
3746 -+fi
3747 -
3748 --fi;
3749 -
3750 --# Check whether --with-app or --without-app was given.
3751 -+# Check whether --with-app was given.
3752 - if test "${with_app+set}" = set; then
3753 -- withval="$with_app"
3754 -+ withval=$with_app;
3755 -+fi
3756 -
3757 --fi;
3758 -
3759 --# Check whether --with-ctools or --without-ctools was given.
3760 -+# Check whether --with-ctools was given.
3761 - if test "${with_ctools+set}" = set; then
3762 -- withval="$with_ctools"
3763 -+ withval=$with_ctools;
3764 -+fi
3765 -
3766 --fi;
3767 -
3768 --# Check whether --with-gui or --without-gui was given.
3769 -+# Check whether --with-gui was given.
3770 - if test "${with_gui+set}" = set; then
3771 -- withval="$with_gui"
3772 -+ withval=$with_gui;
3773 -+fi
3774 -
3775 --fi;
3776 -
3777 --# Check whether --with-algo or --without-algo was given.
3778 -+# Check whether --with-algo was given.
3779 - if test "${with_algo+set}" = set; then
3780 -- withval="$with_algo"
3781 -+ withval=$with_algo;
3782 -+fi
3783 -
3784 --fi;
3785 -
3786 --# Check whether --with-internal or --without-internal was given.
3787 -+# Check whether --with-internal was given.
3788 - if test "${with_internal+set}" = set; then
3789 -- withval="$with_internal"
3790 -+ withval=$with_internal;
3791 -+fi
3792 -
3793 --fi;
3794 -
3795 --# Check whether --with-internal2 or --without-internal2 was given.
3796 -+# Check whether --with-internal2 was given.
3797 - if test "${with_internal2+set}" = set; then
3798 -- withval="$with_internal2"
3799 -+ withval=$with_internal2;
3800 -+fi
3801 -
3802 --fi;
3803 -
3804 --# Check whether --with-gbench or --without-gbench was given.
3805 -+# Check whether --with-gbench was given.
3806 - if test "${with_gbench+set}" = set; then
3807 -- withval="$with_gbench"
3808 -+ withval=$with_gbench;
3809 -+fi
3810 -
3811 --fi;
3812 -
3813 --# Check whether --with-gbench2 or --without-gbench2 was given.
3814 -+# Check whether --with-gbench2 was given.
3815 - if test "${with_gbench2+set}" = set; then
3816 -- withval="$with_gbench2"
3817 -+ withval=$with_gbench2;
3818 -+fi
3819 -
3820 --fi;
3821 -
3822 - ## Manuals
3823 -
3824 --# Check whether --with-manuals or --without-manuals was given.
3825 -+# Check whether --with-manuals was given.
3826 - if test "${with_manuals+set}" = set; then
3827 -- withval="$with_manuals"
3828 --
3829 --fi;
3830 --
3831 --
3832 --#### Check the passed arguments against the list of available ones
3833 --x_with_list="\
3834 --debug max-debug symbols optimization profiling tcheck dll static static-exe \
3835 --plugin-auto-load bundles bin-release mt 64 universal exe runpath hard-runpath \
3836 --lfs limited-linker \
3837 --autodep suffix hostspec version execopy bincopy lib-rebuilds lib-rebuilds=ask \
3838 --deactivation makefile-auto-update projects flat-makefile configure-dialog \
3839 --check ncbi-public strip pch caution ccache distcc \
3840 --ncbi-c wxwidgets wxwidgets-ucs fastcgi sss sssdb sssutils included-sss \
3841 --geo included-geo \
3842 --z bz2 lzo pcre gcrypt gnutls openssl krb5 sybase sybase-local sybase-new \
3843 --ftds mysql orbacus freetype ftgl opengl mesa glut glew glew-mx \
3844 --bdb python perl jni sqlite3 icu boost boost-tag \
3845 --sp expat sablot libxml libxslt libexslt xerces xalan zorba \
3846 --oechem sge muparser hdf5 \
3847 --gif jpeg tiff png xpm magic curl mimetic 3psw \
3848 --local-lbsm ncbi-crypt connext \
3849 --serial objects dbapi app ctools gui algo internal gbench"
3850 --
3851 --x_with_list=`echo "$x_with_list" | sed 's/\([^ ][^ ]*\)/--with-\1 --without-\1/g'`
3852 --
3853 --
3854 --for x_arg in "$@" ; do
3855 -- if test -z "$x_arg" ; then
3856 -- continue
3857 -+ withval=$with_manuals;
3858 - fi
3859 -
3860 -- x_okay=
3861 -- for x_desc in $x_with_list ; do
3862 -- if test "$x_arg" = "$x_desc" ; then
3863 -- x_okay="okay"
3864 -- break
3865 -- fi
3866 -- done
3867 -- if test "$x_okay" = "okay" ; then
3868 -- continue
3869 -- fi
3870 -
3871 -- case "$x_arg" in
3872 -- --with-extra-action= | --exec-prefix= | --with-projects= | --srcdir= \
3873 -- | --cache-file= | --build= | --host= | --target= | --with-runpath= \
3874 -- | --with-relative-runpath= | --x-includes= | --x-libraries= )
3875 -- { { echo "$as_me:$LINENO: error: $x_arg: requires value; use --help to show usage" >&5
3876 --echo "$as_me: error: $x_arg: requires value; use --help to show usage" >&2;}
3877 -- { (exit 1); exit 1; }; }
3878 -- ;;
3879 -
3880 -- --with-extra-action=* | --with-build-root=* | --with-build-root-sfx=* \
3881 -- | --with-fake-root=* | --with-saved-settings=* \
3882 -- | --with-projects=* | --with-check=* | --with-check-tools=* \
3883 -- | --with-universal=* | --with-tcheck=* \
3884 -- | --cache-file=* | --build=* | --host=* | --prefix=* | --exec-prefix=* \
3885 -- | --libdir=* | --bindir=* | --includedir=* | --srcdir=* \
3886 -- | [A-Z]*=* \
3887 -- | --with-z=* | --with-bz2=* | --with-lzo=* \
3888 -- | --with-pcre=* \
3889 -- | --with-gcrypt=* | --with-gnutls=* | --with-openssl=* \
3890 -- | --with-krb5=* | --with-curl=* \
3891 -- | --with-sybase-local=* | --with-wxwidgets=* | --with-mimetic=* \
3892 -- | --with-ftds=* | --with-mysql=* | --with-fastcgi=* \
3893 -- | --with-sqlite3=* | --with-expat=* | --with-sablot=* \
3894 -- | --with-icu=* | --with-xerces=* | --with-xalan=* | --with-zorba=* \
3895 -- | --with-libxml=* | --with-libxslt=* | --with-exslt=* \
3896 -- | --with-bdb=* | --with-odbc=* | --with-python=* | --with-perl=* \
3897 -- | --with-freetype=* | --with-ftgl=* | --with-gif=* | --with-jpeg=* \
3898 -- | --with-png=* | --with-tiff=* | --with-xpm=* | --with-opengl=* \
3899 -- | --with-mesa=* | --with-glut=* | --with-glew=* | --with-oechem=* \
3900 -- | --with-boost=* | --with-boost-tag=* | --with-orbacus=* | --with-sge=* \
3901 -- | --with-muparser=* | --with-hdf5=* | --with-jni=* | --with-magic=* \
3902 -- | --x-includes=* | --x-libraries=* | --with-3psw=* \
3903 -- | --target=* | --with-runpath=* | --with-relative-runpath=* \
3904 -- | --no-create | --no-recursion)
3905 -- ;;
3906 -
3907 -- * )
3908 -- { { echo "$as_me:$LINENO: error: $x_arg: unknown option; use --help to show usage" >&5
3909 --echo "$as_me: error: $x_arg: unknown option; use --help to show usage" >&2;}
3910 -- { (exit 1); exit 1; }; }
3911 -- ;;
3912 -- esac
3913 --done
3914 -
3915 -
3916 - if test "$with_gbench" = "yes" ; then
3917 -@@ -3142,6 +3951,15 @@
3918 - : ${with_optimization=no}
3919 - fi
3920 -
3921 -+if test "$with_openmp" = yes; then
3922 -+ if test "$with_mt" = no; then
3923 -+ { { echo "$as_me:$LINENO: error: incompatible options: --without-mt but --with-openmp" >&5
3924 -+echo "$as_me: error: incompatible options: --without-mt but --with-openmp" >&2;}
3925 -+ { (exit 1); exit 1; }; }
3926 -+ fi
3927 -+ : ${with_mt=yes}
3928 -+fi
3929 -+
3930 - #### Check for special options
3931 - if test "$with_extra_action" = "yes" ; then
3932 - { { echo "$as_me:$LINENO: error: --with-extra-action must have a value after =" >&5
3933 -@@ -3201,6 +4019,10 @@
3934 - *\ -O* | *\ -xO* ) skip_fast_flags=yes ;;
3935 - esac
3936 - fi
3937 -+# Generally save any originally specified flags.
3938 -+USER_CFLAGS=$CFLAGS
3939 -+USER_CXXFLAGS=$CXXFLAGS
3940 -+USER_LDFLAGS=$LDFLAGS
3941 -
3942 - #### Always define this
3943 -
3944 -@@ -3212,82 +4034,117 @@
3945 -
3946 - #### Get the running host's properties
3947 - ac_aux_dir=
3948 --for ac_dir in src/build-system $srcdir/src/build-system; do
3949 -- if test -f $ac_dir/install-sh; then
3950 -+for ac_dir in src/build-system "$srcdir"/src/build-system; do
3951 -+ if test -f "$ac_dir/install-sh"; then
3952 - ac_aux_dir=$ac_dir
3953 - ac_install_sh="$ac_aux_dir/install-sh -c"
3954 - break
3955 -- elif test -f $ac_dir/install.sh; then
3956 -+ elif test -f "$ac_dir/install.sh"; then
3957 - ac_aux_dir=$ac_dir
3958 - ac_install_sh="$ac_aux_dir/install.sh -c"
3959 - break
3960 -- elif test -f $ac_dir/shtool; then
3961 -+ elif test -f "$ac_dir/shtool"; then
3962 - ac_aux_dir=$ac_dir
3963 - ac_install_sh="$ac_aux_dir/shtool install -c"
3964 - break
3965 - fi
3966 - done
3967 - if test -z "$ac_aux_dir"; then
3968 -- { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in src/build-system $srcdir/src/build-system" >&5
3969 --echo "$as_me: error: cannot find install-sh or install.sh in src/build-system $srcdir/src/build-system" >&2;}
3970 -+ { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in src/build-system \"$srcdir\"/src/build-system" >&5
3971 -+echo "$as_me: error: cannot find install-sh or install.sh in src/build-system \"$srcdir\"/src/build-system" >&2;}
3972 - { (exit 1); exit 1; }; }
3973 - fi
3974 --ac_config_guess="$SHELL $ac_aux_dir/config.guess"
3975 --ac_config_sub="$SHELL $ac_aux_dir/config.sub"
3976 --ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
3977 -+
3978 -+# These three variables are undocumented and unsupported,
3979 -+# and are intended to be withdrawn in a future Autoconf release.
3980 -+# They can cause serious problems if a builder's source tree is in a directory
3981 -+# whose full name contains unusual characters.
3982 -+ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3983 -+ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3984 -+ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3985 -+
3986 -
3987 - # Make sure we can run config.sub.
3988 --$ac_config_sub sun4 >/dev/null 2>&1 ||
3989 -- { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3990 --echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3991 -+$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3992 -+ { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3993 -+echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3994 - { (exit 1); exit 1; }; }
3995 -
3996 --echo "$as_me:$LINENO: checking build system type" >&5
3997 --echo $ECHO_N "checking build system type... $ECHO_C" >&6
3998 -+{ echo "$as_me:$LINENO: checking build system type" >&5
3999 -+echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4000 - if test "${ac_cv_build+set}" = set; then
4001 - echo $ECHO_N "(cached) $ECHO_C" >&6
4002 - else
4003 -- ac_cv_build_alias=$build_alias
4004 --test -z "$ac_cv_build_alias" &&
4005 -- ac_cv_build_alias=`$ac_config_guess`
4006 --test -z "$ac_cv_build_alias" &&
4007 -+ ac_build_alias=$build_alias
4008 -+test "x$ac_build_alias" = x &&
4009 -+ ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4010 -+test "x$ac_build_alias" = x &&
4011 - { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4012 - echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4013 - { (exit 1); exit 1; }; }
4014 --ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
4015 -- { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
4016 --echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
4017 -+ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4018 -+ { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4019 -+echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4020 - { (exit 1); exit 1; }; }
4021 -
4022 - fi
4023 --echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4024 --echo "${ECHO_T}$ac_cv_build" >&6
4025 -+{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4026 -+echo "${ECHO_T}$ac_cv_build" >&6; }
4027 -+case $ac_cv_build in
4028 -+*-*-*) ;;
4029 -+*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4030 -+echo "$as_me: error: invalid value of canonical build" >&2;}
4031 -+ { (exit 1); exit 1; }; };;
4032 -+esac
4033 - build=$ac_cv_build
4034 --build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4035 --build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4036 --build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4037 -+ac_save_IFS=$IFS; IFS='-'
4038 -+set x $ac_cv_build
4039 -+shift
4040 -+build_cpu=$1
4041 -+build_vendor=$2
4042 -+shift; shift
4043 -+# Remember, the first character of IFS is used to create $*,
4044 -+# except with old shells:
4045 -+build_os=$*
4046 -+IFS=$ac_save_IFS
4047 -+case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4048 -
4049 -
4050 --echo "$as_me:$LINENO: checking host system type" >&5
4051 --echo $ECHO_N "checking host system type... $ECHO_C" >&6
4052 -+{ echo "$as_me:$LINENO: checking host system type" >&5
4053 -+echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4054 - if test "${ac_cv_host+set}" = set; then
4055 - echo $ECHO_N "(cached) $ECHO_C" >&6
4056 - else
4057 -- ac_cv_host_alias=$host_alias
4058 --test -z "$ac_cv_host_alias" &&
4059 -- ac_cv_host_alias=$ac_cv_build_alias
4060 --ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
4061 -- { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
4062 --echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
4063 -+ if test "x$host_alias" = x; then
4064 -+ ac_cv_host=$ac_cv_build
4065 -+else
4066 -+ ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4067 -+ { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4068 -+echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4069 - { (exit 1); exit 1; }; }
4070 -+fi
4071 -
4072 - fi
4073 --echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4074 --echo "${ECHO_T}$ac_cv_host" >&6
4075 -+{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4076 -+echo "${ECHO_T}$ac_cv_host" >&6; }
4077 -+case $ac_cv_host in
4078 -+*-*-*) ;;
4079 -+*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4080 -+echo "$as_me: error: invalid value of canonical host" >&2;}
4081 -+ { (exit 1); exit 1; }; };;
4082 -+esac
4083 - host=$ac_cv_host
4084 --host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4085 --host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4086 --host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4087 -+ac_save_IFS=$IFS; IFS='-'
4088 -+set x $ac_cv_host
4089 -+shift
4090 -+host_cpu=$1
4091 -+host_vendor=$2
4092 -+shift; shift
4093 -+# Remember, the first character of IFS is used to create $*,
4094 -+# except with old shells:
4095 -+host_os=$*
4096 -+IFS=$ac_save_IFS
4097 -+case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4098 -
4099 -
4100 -
4101 -@@ -3326,8 +4183,8 @@
4102 - # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4103 - # OS/2's system install, which has a completely different semantic
4104 - # ./install, which can be erroneously created by make from ./install.sh.
4105 --echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4106 --echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
4107 -+{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4108 -+echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4109 - if test -z "$INSTALL"; then
4110 - if test "${ac_cv_path_install+set}" = set; then
4111 - echo $ECHO_N "(cached) $ECHO_C" >&6
4112 -@@ -3349,7 +4206,7 @@
4113 - # by default.
4114 - for ac_prog in ginstall scoinst install; do
4115 - for ac_exec_ext in '' $ac_executable_extensions; do
4116 -- if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4117 -+ if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
4118 - if test $ac_prog = install &&
4119 - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4120 - # AIX install. It has an incompatible calling convention.
4121 -@@ -3368,21 +4225,22 @@
4122 - ;;
4123 - esac
4124 - done
4125 -+IFS=$as_save_IFS
4126 -
4127 -
4128 - fi
4129 - if test "${ac_cv_path_install+set}" = set; then
4130 - INSTALL=$ac_cv_path_install
4131 - else
4132 -- # As a last resort, use the slow shell script. We don't cache a
4133 -- # path for INSTALL within a source directory, because that will
4134 -+ # As a last resort, use the slow shell script. Don't cache a
4135 -+ # value for INSTALL within a source directory, because that will
4136 - # break other packages using the cache if that directory is
4137 -- # removed, or if the path is relative.
4138 -+ # removed, or if the value is a relative name.
4139 - INSTALL=$ac_install_sh
4140 - fi
4141 - fi
4142 --echo "$as_me:$LINENO: result: $INSTALL" >&5
4143 --echo "${ECHO_T}$INSTALL" >&6
4144 -+{ echo "$as_me:$LINENO: result: $INSTALL" >&5
4145 -+echo "${ECHO_T}$INSTALL" >&6; }
4146 -
4147 - # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4148 - # It thinks the first close brace ends the variable substitution.
4149 -@@ -3393,9 +4251,26 @@
4150 - test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4151 -
4152 -
4153 -+#### Point ICC at a suitable GCC version ASAP.
4154 -+case "/$CXX" in
4155 -+ */icpc )
4156 -+ if test -d /usr/local/gcc; then
4157 -+ case "`$CXX -dumpversion`:$host_cpu" in
4158 -+ *:i?86) v=4.4.5 ;;
4159 -+ ?.* | 1[01].* ) v=4.0.1 ;;
4160 -+ *) v=4.4.2 ;;
4161 -+ esac
4162 -+ gcc=/usr/local/gcc/$v/bin/gcc
4163 -+ if test -x $gcc; then
4164 -+ CC="$CC -gcc-name=$gcc"
4165 -+ CXX="$CXX -gcc-name=$gcc"
4166 -+ fi
4167 -+ fi
4168 -+ ;;
4169 -+esac
4170 -
4171 - #### C and C++ compilers
4172 --ac_ext=cc
4173 -+ac_ext=cpp
4174 - ac_cpp='$CXXCPP $CPPFLAGS'
4175 - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4176 - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4177 -@@ -3409,8 +4284,8 @@
4178 - if test -n "$ac_tool_prefix"; then
4179 - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4180 - set dummy ${ac_tool_prefix}gcc; ac_word=$2
4181 --echo "$as_me:$LINENO: checking for $ac_word" >&5
4182 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4183 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4184 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4185 - if test "${ac_cv_prog_CC+set}" = set; then
4186 - echo $ECHO_N "(cached) $ECHO_C" >&6
4187 - else
4188 -@@ -3423,32 +4298,34 @@
4189 - IFS=$as_save_IFS
4190 - test -z "$as_dir" && as_dir=.
4191 - for ac_exec_ext in '' $ac_executable_extensions; do
4192 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4193 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4194 - ac_cv_prog_CC="${ac_tool_prefix}gcc"
4195 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4196 - break 2
4197 - fi
4198 - done
4199 - done
4200 -+IFS=$as_save_IFS
4201 -
4202 - fi
4203 - fi
4204 - CC=$ac_cv_prog_CC
4205 - if test -n "$CC"; then
4206 -- echo "$as_me:$LINENO: result: $CC" >&5
4207 --echo "${ECHO_T}$CC" >&6
4208 -+ { echo "$as_me:$LINENO: result: $CC" >&5
4209 -+echo "${ECHO_T}$CC" >&6; }
4210 - else
4211 -- echo "$as_me:$LINENO: result: no" >&5
4212 --echo "${ECHO_T}no" >&6
4213 -+ { echo "$as_me:$LINENO: result: no" >&5
4214 -+echo "${ECHO_T}no" >&6; }
4215 - fi
4216 -
4217 -+
4218 - fi
4219 - if test -z "$ac_cv_prog_CC"; then
4220 - ac_ct_CC=$CC
4221 - # Extract the first word of "gcc", so it can be a program name with args.
4222 - set dummy gcc; ac_word=$2
4223 --echo "$as_me:$LINENO: checking for $ac_word" >&5
4224 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4225 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4226 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4227 - if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4228 - echo $ECHO_N "(cached) $ECHO_C" >&6
4229 - else
4230 -@@ -3461,26 +4338,41 @@
4231 - IFS=$as_save_IFS
4232 - test -z "$as_dir" && as_dir=.
4233 - for ac_exec_ext in '' $ac_executable_extensions; do
4234 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4235 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4236 - ac_cv_prog_ac_ct_CC="gcc"
4237 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4238 - break 2
4239 - fi
4240 - done
4241 - done
4242 -+IFS=$as_save_IFS
4243 -
4244 - fi
4245 - fi
4246 - ac_ct_CC=$ac_cv_prog_ac_ct_CC
4247 - if test -n "$ac_ct_CC"; then
4248 -- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4249 --echo "${ECHO_T}$ac_ct_CC" >&6
4250 -+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4251 -+echo "${ECHO_T}$ac_ct_CC" >&6; }
4252 - else
4253 -- echo "$as_me:$LINENO: result: no" >&5
4254 --echo "${ECHO_T}no" >&6
4255 -+ { echo "$as_me:$LINENO: result: no" >&5
4256 -+echo "${ECHO_T}no" >&6; }
4257 - fi
4258 -
4259 -+ if test "x$ac_ct_CC" = x; then
4260 -+ CC=""
4261 -+ else
4262 -+ case $cross_compiling:$ac_tool_warned in
4263 -+yes:)
4264 -+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4265 -+whose name does not start with the host triplet. If you think this
4266 -+configuration is useful to you, please write to autoconf@×××.org." >&5
4267 -+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4268 -+whose name does not start with the host triplet. If you think this
4269 -+configuration is useful to you, please write to autoconf@×××.org." >&2;}
4270 -+ac_tool_warned=yes ;;
4271 -+esac
4272 - CC=$ac_ct_CC
4273 -+ fi
4274 - else
4275 - CC="$ac_cv_prog_CC"
4276 - fi
4277 -@@ -3489,8 +4381,8 @@
4278 - if test -n "$ac_tool_prefix"; then
4279 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4280 - set dummy ${ac_tool_prefix}cc; ac_word=$2
4281 --echo "$as_me:$LINENO: checking for $ac_word" >&5
4282 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4283 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4284 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4285 - if test "${ac_cv_prog_CC+set}" = set; then
4286 - echo $ECHO_N "(cached) $ECHO_C" >&6
4287 - else
4288 -@@ -3503,131 +4395,93 @@
4289 - IFS=$as_save_IFS
4290 - test -z "$as_dir" && as_dir=.
4291 - for ac_exec_ext in '' $ac_executable_extensions; do
4292 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4293 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4294 - ac_cv_prog_CC="${ac_tool_prefix}cc"
4295 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4296 - break 2
4297 - fi
4298 - done
4299 - done
4300 -+IFS=$as_save_IFS
4301 -
4302 - fi
4303 - fi
4304 - CC=$ac_cv_prog_CC
4305 - if test -n "$CC"; then
4306 -- echo "$as_me:$LINENO: result: $CC" >&5
4307 --echo "${ECHO_T}$CC" >&6
4308 -+ { echo "$as_me:$LINENO: result: $CC" >&5
4309 -+echo "${ECHO_T}$CC" >&6; }
4310 - else
4311 -- echo "$as_me:$LINENO: result: no" >&5
4312 --echo "${ECHO_T}no" >&6
4313 -+ { echo "$as_me:$LINENO: result: no" >&5
4314 -+echo "${ECHO_T}no" >&6; }
4315 - fi
4316 -
4317 -+
4318 - fi
4319 --if test -z "$ac_cv_prog_CC"; then
4320 -- ac_ct_CC=$CC
4321 -+fi
4322 -+if test -z "$CC"; then
4323 - # Extract the first word of "cc", so it can be a program name with args.
4324 - set dummy cc; ac_word=$2
4325 --echo "$as_me:$LINENO: checking for $ac_word" >&5
4326 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4327 --if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4328 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4329 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4330 -+if test "${ac_cv_prog_CC+set}" = set; then
4331 - echo $ECHO_N "(cached) $ECHO_C" >&6
4332 - else
4333 -- if test -n "$ac_ct_CC"; then
4334 -- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4335 -+ if test -n "$CC"; then
4336 -+ ac_cv_prog_CC="$CC" # Let the user override the test.
4337 - else
4338 -+ ac_prog_rejected=no
4339 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4340 - for as_dir in $PATH
4341 - do
4342 - IFS=$as_save_IFS
4343 - test -z "$as_dir" && as_dir=.
4344 - for ac_exec_ext in '' $ac_executable_extensions; do
4345 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4346 -- ac_cv_prog_ac_ct_CC="cc"
4347 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4348 -+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4349 -+ ac_prog_rejected=yes
4350 -+ continue
4351 -+ fi
4352 -+ ac_cv_prog_CC="cc"
4353 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4354 - break 2
4355 - fi
4356 - done
4357 - done
4358 -+IFS=$as_save_IFS
4359 -
4360 --fi
4361 --fi
4362 --ac_ct_CC=$ac_cv_prog_ac_ct_CC
4363 --if test -n "$ac_ct_CC"; then
4364 -- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4365 --echo "${ECHO_T}$ac_ct_CC" >&6
4366 --else
4367 -- echo "$as_me:$LINENO: result: no" >&5
4368 --echo "${ECHO_T}no" >&6
4369 --fi
4370 --
4371 -- CC=$ac_ct_CC
4372 --else
4373 -- CC="$ac_cv_prog_CC"
4374 --fi
4375 --
4376 --fi
4377 --if test -z "$CC"; then
4378 -- # Extract the first word of "cc", so it can be a program name with args.
4379 --set dummy cc; ac_word=$2
4380 --echo "$as_me:$LINENO: checking for $ac_word" >&5
4381 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4382 --if test "${ac_cv_prog_CC+set}" = set; then
4383 -- echo $ECHO_N "(cached) $ECHO_C" >&6
4384 --else
4385 -- if test -n "$CC"; then
4386 -- ac_cv_prog_CC="$CC" # Let the user override the test.
4387 --else
4388 -- ac_prog_rejected=no
4389 --as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4390 --for as_dir in $PATH
4391 --do
4392 -- IFS=$as_save_IFS
4393 -- test -z "$as_dir" && as_dir=.
4394 -- for ac_exec_ext in '' $ac_executable_extensions; do
4395 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4396 -- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4397 -- ac_prog_rejected=yes
4398 -- continue
4399 -- fi
4400 -- ac_cv_prog_CC="cc"
4401 -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4402 -- break 2
4403 -- fi
4404 --done
4405 --done
4406 --
4407 --if test $ac_prog_rejected = yes; then
4408 -- # We found a bogon in the path, so make sure we never use it.
4409 -- set dummy $ac_cv_prog_CC
4410 -- shift
4411 -- if test $# != 0; then
4412 -- # We chose a different compiler from the bogus one.
4413 -- # However, it has the same basename, so the bogon will be chosen
4414 -- # first if we set CC to just the basename; use the full file name.
4415 -- shift
4416 -- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4417 -+if test $ac_prog_rejected = yes; then
4418 -+ # We found a bogon in the path, so make sure we never use it.
4419 -+ set dummy $ac_cv_prog_CC
4420 -+ shift
4421 -+ if test $# != 0; then
4422 -+ # We chose a different compiler from the bogus one.
4423 -+ # However, it has the same basename, so the bogon will be chosen
4424 -+ # first if we set CC to just the basename; use the full file name.
4425 -+ shift
4426 -+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4427 - fi
4428 - fi
4429 - fi
4430 - fi
4431 - CC=$ac_cv_prog_CC
4432 - if test -n "$CC"; then
4433 -- echo "$as_me:$LINENO: result: $CC" >&5
4434 --echo "${ECHO_T}$CC" >&6
4435 -+ { echo "$as_me:$LINENO: result: $CC" >&5
4436 -+echo "${ECHO_T}$CC" >&6; }
4437 - else
4438 -- echo "$as_me:$LINENO: result: no" >&5
4439 --echo "${ECHO_T}no" >&6
4440 -+ { echo "$as_me:$LINENO: result: no" >&5
4441 -+echo "${ECHO_T}no" >&6; }
4442 - fi
4443 -
4444 -+
4445 - fi
4446 - if test -z "$CC"; then
4447 - if test -n "$ac_tool_prefix"; then
4448 -- for ac_prog in cl
4449 -+ for ac_prog in cl.exe
4450 - do
4451 - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4452 - set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4453 --echo "$as_me:$LINENO: checking for $ac_word" >&5
4454 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4455 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4456 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4457 - if test "${ac_cv_prog_CC+set}" = set; then
4458 - echo $ECHO_N "(cached) $ECHO_C" >&6
4459 - else
4460 -@@ -3640,36 +4494,38 @@
4461 - IFS=$as_save_IFS
4462 - test -z "$as_dir" && as_dir=.
4463 - for ac_exec_ext in '' $ac_executable_extensions; do
4464 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4465 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4466 - ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4467 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4468 - break 2
4469 - fi
4470 - done
4471 - done
4472 -+IFS=$as_save_IFS
4473 -
4474 - fi
4475 - fi
4476 - CC=$ac_cv_prog_CC
4477 - if test -n "$CC"; then
4478 -- echo "$as_me:$LINENO: result: $CC" >&5
4479 --echo "${ECHO_T}$CC" >&6
4480 -+ { echo "$as_me:$LINENO: result: $CC" >&5
4481 -+echo "${ECHO_T}$CC" >&6; }
4482 - else
4483 -- echo "$as_me:$LINENO: result: no" >&5
4484 --echo "${ECHO_T}no" >&6
4485 -+ { echo "$as_me:$LINENO: result: no" >&5
4486 -+echo "${ECHO_T}no" >&6; }
4487 - fi
4488 -
4489 -+
4490 - test -n "$CC" && break
4491 - done
4492 - fi
4493 - if test -z "$CC"; then
4494 - ac_ct_CC=$CC
4495 -- for ac_prog in cl
4496 -+ for ac_prog in cl.exe
4497 - do
4498 - # Extract the first word of "$ac_prog", so it can be a program name with args.
4499 - set dummy $ac_prog; ac_word=$2
4500 --echo "$as_me:$LINENO: checking for $ac_word" >&5
4501 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4502 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4503 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4504 - if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4505 - echo $ECHO_N "(cached) $ECHO_C" >&6
4506 - else
4507 -@@ -3682,30 +4538,46 @@
4508 - IFS=$as_save_IFS
4509 - test -z "$as_dir" && as_dir=.
4510 - for ac_exec_ext in '' $ac_executable_extensions; do
4511 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4512 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4513 - ac_cv_prog_ac_ct_CC="$ac_prog"
4514 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4515 - break 2
4516 - fi
4517 - done
4518 - done
4519 -+IFS=$as_save_IFS
4520 -
4521 - fi
4522 - fi
4523 - ac_ct_CC=$ac_cv_prog_ac_ct_CC
4524 - if test -n "$ac_ct_CC"; then
4525 -- echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4526 --echo "${ECHO_T}$ac_ct_CC" >&6
4527 -+ { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4528 -+echo "${ECHO_T}$ac_ct_CC" >&6; }
4529 - else
4530 -- echo "$as_me:$LINENO: result: no" >&5
4531 --echo "${ECHO_T}no" >&6
4532 -+ { echo "$as_me:$LINENO: result: no" >&5
4533 -+echo "${ECHO_T}no" >&6; }
4534 - fi
4535 -
4536 -+
4537 - test -n "$ac_ct_CC" && break
4538 - done
4539 -
4540 -+ if test "x$ac_ct_CC" = x; then
4541 -+ CC=""
4542 -+ else
4543 -+ case $cross_compiling:$ac_tool_warned in
4544 -+yes:)
4545 -+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4546 -+whose name does not start with the host triplet. If you think this
4547 -+configuration is useful to you, please write to autoconf@×××.org." >&5
4548 -+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4549 -+whose name does not start with the host triplet. If you think this
4550 -+configuration is useful to you, please write to autoconf@×××.org." >&2;}
4551 -+ac_tool_warned=yes ;;
4552 -+esac
4553 - CC=$ac_ct_CC
4554 - fi
4555 -+fi
4556 -
4557 - fi
4558 -
4559 -@@ -3717,21 +4589,35 @@
4560 - { (exit 1); exit 1; }; }
4561 -
4562 - # Provide some information about the compiler.
4563 --echo "$as_me:$LINENO:" \
4564 -- "checking for C compiler version" >&5
4565 -+echo "$as_me:$LINENO: checking for C compiler version" >&5
4566 - ac_compiler=`set X $ac_compile; echo $2`
4567 --{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4568 -- (eval $ac_compiler --version </dev/null >&5) 2>&5
4569 -+{ (ac_try="$ac_compiler --version >&5"
4570 -+case "(($ac_try" in
4571 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4572 -+ *) ac_try_echo=$ac_try;;
4573 -+esac
4574 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4575 -+ (eval "$ac_compiler --version >&5") 2>&5
4576 - ac_status=$?
4577 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 - (exit $ac_status); }
4579 --{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4580 -- (eval $ac_compiler -v </dev/null >&5) 2>&5
4581 -+{ (ac_try="$ac_compiler -v >&5"
4582 -+case "(($ac_try" in
4583 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4584 -+ *) ac_try_echo=$ac_try;;
4585 -+esac
4586 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4587 -+ (eval "$ac_compiler -v >&5") 2>&5
4588 - ac_status=$?
4589 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 - (exit $ac_status); }
4591 --{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4592 -- (eval $ac_compiler -V </dev/null >&5) 2>&5
4593 -+{ (ac_try="$ac_compiler -V >&5"
4594 -+case "(($ac_try" in
4595 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4596 -+ *) ac_try_echo=$ac_try;;
4597 -+esac
4598 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4599 -+ (eval "$ac_compiler -V >&5") 2>&5
4600 - ac_status=$?
4601 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602 - (exit $ac_status); }
4603 -@@ -3756,46 +4642,70 @@
4604 - # Try to create an executable without -o first, disregard a.out.
4605 - # It will help us diagnose broken compilers, and finding out an intuition
4606 - # of exeext.
4607 --echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4608 --echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
4609 -+{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
4610 -+echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
4611 - ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4612 --if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
4613 -- (eval $ac_link_default) 2>&5
4614 -+#
4615 -+# List of possible output files, starting from the most likely.
4616 -+# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
4617 -+# only as a last resort. b.out is created by i960 compilers.
4618 -+ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
4619 -+#
4620 -+# The IRIX 6 linker writes into existing files which may not be
4621 -+# executable, retaining their permissions. Remove them first so a
4622 -+# subsequent execution test works.
4623 -+ac_rmfiles=
4624 -+for ac_file in $ac_files
4625 -+do
4626 -+ case $ac_file in
4627 -+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
4628 -+ * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4629 -+ esac
4630 -+done
4631 -+rm -f $ac_rmfiles
4632 -+
4633 -+if { (ac_try="$ac_link_default"
4634 -+case "(($ac_try" in
4635 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4636 -+ *) ac_try_echo=$ac_try;;
4637 -+esac
4638 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4639 -+ (eval "$ac_link_default") 2>&5
4640 - ac_status=$?
4641 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4642 - (exit $ac_status); }; then
4643 -- # Find the output, starting from the most likely. This scheme is
4644 --# not robust to junk in `.', hence go to wildcards (a.*) only as a last
4645 --# resort.
4646 --
4647 --# Be careful to initialize this variable, since it used to be cached.
4648 --# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
4649 --ac_cv_exeext=
4650 --# b.out is created by i960 compilers.
4651 --for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
4652 -+ # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4653 -+# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4654 -+# in a Makefile. We should not override ac_cv_exeext if it was cached,
4655 -+# so that the user can short-circuit this test for compilers unknown to
4656 -+# Autoconf.
4657 -+for ac_file in $ac_files
4658 - do
4659 - test -f "$ac_file" || continue
4660 - case $ac_file in
4661 -- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
4662 -- ;;
4663 -- conftest.$ac_ext )
4664 -- # This is the source file.
4665 -+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
4666 - ;;
4667 - [ab].out )
4668 - # We found the default executable, but exeext='' is most
4669 - # certainly right.
4670 - break;;
4671 - *.* )
4672 -+ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4673 -+ then :; else
4674 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4675 -- # FIXME: I believe we export ac_cv_exeext for Libtool,
4676 -- # but it would be cool to find out if it's true. Does anybody
4677 -- # maintain Libtool? --akim.
4678 -- export ac_cv_exeext
4679 -+ fi
4680 -+ # We set ac_cv_exeext here because the later test for it is not
4681 -+ # safe: cross compilers may not add the suffix if given an `-o'
4682 -+ # argument, so we may need to know it at that point already.
4683 -+ # Even if this section looks crufty: it has the advantage of
4684 -+ # actually working.
4685 - break;;
4686 - * )
4687 - break;;
4688 - esac
4689 - done
4690 -+test "$ac_cv_exeext" = no && ac_cv_exeext=
4691 -+
4692 - else
4693 - echo "$as_me: failed program was:" >&5
4694 - sed 's/^/| /' conftest.$ac_ext >&5
4695 -@@ -3808,19 +4718,23 @@
4696 - fi
4697 -
4698 - ac_exeext=$ac_cv_exeext
4699 --echo "$as_me:$LINENO: result: $ac_file" >&5
4700 --echo "${ECHO_T}$ac_file" >&6
4701 -+{ echo "$as_me:$LINENO: result: $ac_file" >&5
4702 -+echo "${ECHO_T}$ac_file" >&6; }
4703 -
4704 --# Check the compiler produces executables we can run. If not, either
4705 -+# Check that the compiler produces executables we can run. If not, either
4706 - # the compiler is broken, or we cross compile.
4707 --echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4708 --echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
4709 -+{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
4710 -+echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
4711 - # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
4712 - # If not cross compiling, check that we can run a simple program.
4713 - if test "$cross_compiling" != yes; then
4714 - if { ac_try='./$ac_file'
4715 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4716 -- (eval $ac_try) 2>&5
4717 -+ { (case "(($ac_try" in
4718 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4719 -+ *) ac_try_echo=$ac_try;;
4720 -+esac
4721 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4722 -+ (eval "$ac_try") 2>&5
4723 - ac_status=$?
4724 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725 - (exit $ac_status); }; }; then
4726 -@@ -3839,22 +4753,27 @@
4727 - fi
4728 - fi
4729 - fi
4730 --echo "$as_me:$LINENO: result: yes" >&5
4731 --echo "${ECHO_T}yes" >&6
4732 -+{ echo "$as_me:$LINENO: result: yes" >&5
4733 -+echo "${ECHO_T}yes" >&6; }
4734 -
4735 - rm -f a.out a.exe conftest$ac_cv_exeext b.out
4736 - ac_clean_files=$ac_clean_files_save
4737 --# Check the compiler produces executables we can run. If not, either
4738 -+# Check that the compiler produces executables we can run. If not, either
4739 - # the compiler is broken, or we cross compile.
4740 --echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4741 --echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
4742 --echo "$as_me:$LINENO: result: $cross_compiling" >&5
4743 --echo "${ECHO_T}$cross_compiling" >&6
4744 --
4745 --echo "$as_me:$LINENO: checking for suffix of executables" >&5
4746 --echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
4747 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4748 -- (eval $ac_link) 2>&5
4749 -+{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
4750 -+echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
4751 -+{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
4752 -+echo "${ECHO_T}$cross_compiling" >&6; }
4753 -+
4754 -+{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
4755 -+echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
4756 -+if { (ac_try="$ac_link"
4757 -+case "(($ac_try" in
4758 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4759 -+ *) ac_try_echo=$ac_try;;
4760 -+esac
4761 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4762 -+ (eval "$ac_link") 2>&5
4763 - ac_status=$?
4764 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765 - (exit $ac_status); }; then
4766 -@@ -3865,9 +4784,8 @@
4767 - for ac_file in conftest.exe conftest conftest.*; do
4768 - test -f "$ac_file" || continue
4769 - case $ac_file in
4770 -- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
4771 -+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
4772 - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4773 -- export ac_cv_exeext
4774 - break;;
4775 - * ) break;;
4776 - esac
4777 -@@ -3881,14 +4799,14 @@
4778 - fi
4779 -
4780 - rm -f conftest$ac_cv_exeext
4781 --echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
4782 --echo "${ECHO_T}$ac_cv_exeext" >&6
4783 -+{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
4784 -+echo "${ECHO_T}$ac_cv_exeext" >&6; }
4785 -
4786 - rm -f conftest.$ac_ext
4787 - EXEEXT=$ac_cv_exeext
4788 - ac_exeext=$EXEEXT
4789 --echo "$as_me:$LINENO: checking for suffix of object files" >&5
4790 --echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
4791 -+{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
4792 -+echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
4793 - if test "${ac_cv_objext+set}" = set; then
4794 - echo $ECHO_N "(cached) $ECHO_C" >&6
4795 - else
4796 -@@ -3908,14 +4826,20 @@
4797 - }
4798 - _ACEOF
4799 - rm -f conftest.o conftest.obj
4800 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4801 -- (eval $ac_compile) 2>&5
4802 -+if { (ac_try="$ac_compile"
4803 -+case "(($ac_try" in
4804 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4805 -+ *) ac_try_echo=$ac_try;;
4806 -+esac
4807 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4808 -+ (eval "$ac_compile") 2>&5
4809 - ac_status=$?
4810 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4811 - (exit $ac_status); }; then
4812 -- for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
4813 -+ for ac_file in conftest.o conftest.obj conftest.*; do
4814 -+ test -f "$ac_file" || continue;
4815 - case $ac_file in
4816 -- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
4817 -+ *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
4818 - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4819 - break;;
4820 - esac
4821 -@@ -3933,12 +4857,12 @@
4822 -
4823 - rm -f conftest.$ac_cv_objext conftest.$ac_ext
4824 - fi
4825 --echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
4826 --echo "${ECHO_T}$ac_cv_objext" >&6
4827 -+{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
4828 -+echo "${ECHO_T}$ac_cv_objext" >&6; }
4829 - OBJEXT=$ac_cv_objext
4830 - ac_objext=$OBJEXT
4831 --echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4832 --echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
4833 -+{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4834 -+echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
4835 - if test "${ac_cv_c_compiler_gnu+set}" = set; then
4836 - echo $ECHO_N "(cached) $ECHO_C" >&6
4837 - else
4838 -@@ -3961,24 +4885,36 @@
4839 - }
4840 - _ACEOF
4841 - rm -f conftest.$ac_objext
4842 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4843 -- (eval $ac_compile) 2>conftest.er1
4844 -+if { (ac_try="$ac_compile"
4845 -+case "(($ac_try" in
4846 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4847 -+ *) ac_try_echo=$ac_try;;
4848 -+esac
4849 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4850 -+ (eval "$ac_compile") 2>conftest.er1
4851 - ac_status=$?
4852 - grep -v '^ *+' conftest.er1 >conftest.err
4853 - rm -f conftest.er1
4854 - cat conftest.err >&5
4855 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4856 - (exit $ac_status); } &&
4857 -- { ac_try='test -z "$ac_c_werror_flag"
4858 -- || test ! -s conftest.err'
4859 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4860 -- (eval $ac_try) 2>&5
4861 -+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4862 -+ { (case "(($ac_try" in
4863 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4864 -+ *) ac_try_echo=$ac_try;;
4865 -+esac
4866 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4867 -+ (eval "$ac_try") 2>&5
4868 - ac_status=$?
4869 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870 - (exit $ac_status); }; } &&
4871 - { ac_try='test -s conftest.$ac_objext'
4872 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4873 -- (eval $ac_try) 2>&5
4874 -+ { (case "(($ac_try" in
4875 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4876 -+ *) ac_try_echo=$ac_try;;
4877 -+esac
4878 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4879 -+ (eval "$ac_try") 2>&5
4880 - ac_status=$?
4881 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4882 - (exit $ac_status); }; }; then
4883 -@@ -3989,21 +4925,25 @@
4884 -
4885 - ac_compiler_gnu=no
4886 - fi
4887 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4888 -+
4889 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4890 - ac_cv_c_compiler_gnu=$ac_compiler_gnu
4891 -
4892 - fi
4893 --echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4894 --echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4895 -+{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4896 -+echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4897 - GCC=`test $ac_compiler_gnu = yes && echo yes`
4898 - ac_test_CFLAGS=${CFLAGS+set}
4899 - ac_save_CFLAGS=$CFLAGS
4900 --CFLAGS="-g"
4901 --echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4902 --echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4903 -+{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4904 -+echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
4905 - if test "${ac_cv_prog_cc_g+set}" = set; then
4906 - echo $ECHO_N "(cached) $ECHO_C" >&6
4907 - else
4908 -+ ac_save_c_werror_flag=$ac_c_werror_flag
4909 -+ ac_c_werror_flag=yes
4910 -+ ac_cv_prog_cc_g=no
4911 -+ CFLAGS="-g"
4912 - cat >conftest.$ac_ext <<_ACEOF
4913 - /* confdefs.h. */
4914 - _ACEOF
4915 -@@ -4020,24 +4960,36 @@
4916 - }
4917 - _ACEOF
4918 - rm -f conftest.$ac_objext
4919 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4920 -- (eval $ac_compile) 2>conftest.er1
4921 -+if { (ac_try="$ac_compile"
4922 -+case "(($ac_try" in
4923 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4924 -+ *) ac_try_echo=$ac_try;;
4925 -+esac
4926 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4927 -+ (eval "$ac_compile") 2>conftest.er1
4928 - ac_status=$?
4929 - grep -v '^ *+' conftest.er1 >conftest.err
4930 - rm -f conftest.er1
4931 - cat conftest.err >&5
4932 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 - (exit $ac_status); } &&
4934 -- { ac_try='test -z "$ac_c_werror_flag"
4935 -- || test ! -s conftest.err'
4936 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4937 -- (eval $ac_try) 2>&5
4938 -+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4939 -+ { (case "(($ac_try" in
4940 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4941 -+ *) ac_try_echo=$ac_try;;
4942 -+esac
4943 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4944 -+ (eval "$ac_try") 2>&5
4945 - ac_status=$?
4946 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 - (exit $ac_status); }; } &&
4948 - { ac_try='test -s conftest.$ac_objext'
4949 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4950 -- (eval $ac_try) 2>&5
4951 -+ { (case "(($ac_try" in
4952 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4953 -+ *) ac_try_echo=$ac_try;;
4954 -+esac
4955 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4956 -+ (eval "$ac_try") 2>&5
4957 - ac_status=$?
4958 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959 - (exit $ac_status); }; }; then
4960 -@@ -4046,12 +4998,131 @@
4961 - echo "$as_me: failed program was:" >&5
4962 - sed 's/^/| /' conftest.$ac_ext >&5
4963 -
4964 --ac_cv_prog_cc_g=no
4965 -+ CFLAGS=""
4966 -+ cat >conftest.$ac_ext <<_ACEOF
4967 -+/* confdefs.h. */
4968 -+_ACEOF
4969 -+cat confdefs.h >>conftest.$ac_ext
4970 -+cat >>conftest.$ac_ext <<_ACEOF
4971 -+/* end confdefs.h. */
4972 -+
4973 -+int
4974 -+main ()
4975 -+{
4976 -+
4977 -+ ;
4978 -+ return 0;
4979 -+}
4980 -+_ACEOF
4981 -+rm -f conftest.$ac_objext
4982 -+if { (ac_try="$ac_compile"
4983 -+case "(($ac_try" in
4984 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4985 -+ *) ac_try_echo=$ac_try;;
4986 -+esac
4987 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4988 -+ (eval "$ac_compile") 2>conftest.er1
4989 -+ ac_status=$?
4990 -+ grep -v '^ *+' conftest.er1 >conftest.err
4991 -+ rm -f conftest.er1
4992 -+ cat conftest.err >&5
4993 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
4994 -+ (exit $ac_status); } &&
4995 -+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4996 -+ { (case "(($ac_try" in
4997 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4998 -+ *) ac_try_echo=$ac_try;;
4999 -+esac
5000 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5001 -+ (eval "$ac_try") 2>&5
5002 -+ ac_status=$?
5003 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004 -+ (exit $ac_status); }; } &&
5005 -+ { ac_try='test -s conftest.$ac_objext'
5006 -+ { (case "(($ac_try" in
5007 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5008 -+ *) ac_try_echo=$ac_try;;
5009 -+esac
5010 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5011 -+ (eval "$ac_try") 2>&5
5012 -+ ac_status=$?
5013 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014 -+ (exit $ac_status); }; }; then
5015 -+ :
5016 -+else
5017 -+ echo "$as_me: failed program was:" >&5
5018 -+sed 's/^/| /' conftest.$ac_ext >&5
5019 -+
5020 -+ ac_c_werror_flag=$ac_save_c_werror_flag
5021 -+ CFLAGS="-g"
5022 -+ cat >conftest.$ac_ext <<_ACEOF
5023 -+/* confdefs.h. */
5024 -+_ACEOF
5025 -+cat confdefs.h >>conftest.$ac_ext
5026 -+cat >>conftest.$ac_ext <<_ACEOF
5027 -+/* end confdefs.h. */
5028 -+
5029 -+int
5030 -+main ()
5031 -+{
5032 -+
5033 -+ ;
5034 -+ return 0;
5035 -+}
5036 -+_ACEOF
5037 -+rm -f conftest.$ac_objext
5038 -+if { (ac_try="$ac_compile"
5039 -+case "(($ac_try" in
5040 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5041 -+ *) ac_try_echo=$ac_try;;
5042 -+esac
5043 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5044 -+ (eval "$ac_compile") 2>conftest.er1
5045 -+ ac_status=$?
5046 -+ grep -v '^ *+' conftest.er1 >conftest.err
5047 -+ rm -f conftest.er1
5048 -+ cat conftest.err >&5
5049 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5050 -+ (exit $ac_status); } &&
5051 -+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5052 -+ { (case "(($ac_try" in
5053 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5054 -+ *) ac_try_echo=$ac_try;;
5055 -+esac
5056 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5057 -+ (eval "$ac_try") 2>&5
5058 -+ ac_status=$?
5059 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5060 -+ (exit $ac_status); }; } &&
5061 -+ { ac_try='test -s conftest.$ac_objext'
5062 -+ { (case "(($ac_try" in
5063 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5064 -+ *) ac_try_echo=$ac_try;;
5065 -+esac
5066 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5067 -+ (eval "$ac_try") 2>&5
5068 -+ ac_status=$?
5069 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070 -+ (exit $ac_status); }; }; then
5071 -+ ac_cv_prog_cc_g=yes
5072 -+else
5073 -+ echo "$as_me: failed program was:" >&5
5074 -+sed 's/^/| /' conftest.$ac_ext >&5
5075 -+
5076 -+
5077 - fi
5078 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5079 -+
5080 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5081 -+fi
5082 -+
5083 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5084 -+fi
5085 -+
5086 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5087 -+ ac_c_werror_flag=$ac_save_c_werror_flag
5088 - fi
5089 --echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5090 --echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
5091 -+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5092 -+echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5093 - if test "$ac_test_CFLAGS" = set; then
5094 - CFLAGS=$ac_save_CFLAGS
5095 - elif test $ac_cv_prog_cc_g = yes; then
5096 -@@ -4067,12 +5138,12 @@
5097 - CFLAGS=
5098 - fi
5099 - fi
5100 --echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
5101 --echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
5102 --if test "${ac_cv_prog_cc_stdc+set}" = set; then
5103 -+{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5104 -+echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
5105 -+if test "${ac_cv_prog_cc_c89+set}" = set; then
5106 - echo $ECHO_N "(cached) $ECHO_C" >&6
5107 - else
5108 -- ac_cv_prog_cc_stdc=no
5109 -+ ac_cv_prog_cc_c89=no
5110 - ac_save_CC=$CC
5111 - cat >conftest.$ac_ext <<_ACEOF
5112 - /* confdefs.h. */
5113 -@@ -4106,12 +5177,17 @@
5114 - /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5115 - function prototypes and stuff, but not '\xHH' hex character constants.
5116 - These don't provoke an error unfortunately, instead are silently treated
5117 -- as 'x'. The following induces an error, until -std1 is added to get
5118 -+ as 'x'. The following induces an error, until -std is added to get
5119 - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5120 - array size at least. It's necessary to write '\x00'==0 to get something
5121 -- that's true only with -std1. */
5122 -+ that's true only with -std. */
5123 - int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5124 -
5125 -+/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5126 -+ inside strings and character constants. */
5127 -+#define FOO(x) 'x'
5128 -+int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5129 -+
5130 - int test (int i, double x);
5131 - struct s1 {int (*f) (int a);};
5132 - struct s2 {int (*f) (double a);};
5133 -@@ -4126,265 +5202,140 @@
5134 - return 0;
5135 - }
5136 - _ACEOF
5137 --# Don't try gcc -ansi; that turns off useful extensions and
5138 --# breaks some systems' header files.
5139 --# AIX -qlanglvl=ansi
5140 --# Ultrix and OSF/1 -std1
5141 --# HP-UX 10.20 and later -Ae
5142 --# HP-UX older versions -Aa -D_HPUX_SOURCE
5143 --# SVR4 -Xc -D__EXTENSIONS__
5144 --for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5145 -+for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5146 -+ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5147 - do
5148 - CC="$ac_save_CC $ac_arg"
5149 - rm -f conftest.$ac_objext
5150 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5151 -- (eval $ac_compile) 2>conftest.er1
5152 -+if { (ac_try="$ac_compile"
5153 -+case "(($ac_try" in
5154 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5155 -+ *) ac_try_echo=$ac_try;;
5156 -+esac
5157 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5158 -+ (eval "$ac_compile") 2>conftest.er1
5159 - ac_status=$?
5160 - grep -v '^ *+' conftest.er1 >conftest.err
5161 - rm -f conftest.er1
5162 - cat conftest.err >&5
5163 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5164 - (exit $ac_status); } &&
5165 -- { ac_try='test -z "$ac_c_werror_flag"
5166 -- || test ! -s conftest.err'
5167 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5168 -- (eval $ac_try) 2>&5
5169 -+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5170 -+ { (case "(($ac_try" in
5171 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5172 -+ *) ac_try_echo=$ac_try;;
5173 -+esac
5174 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5175 -+ (eval "$ac_try") 2>&5
5176 - ac_status=$?
5177 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178 - (exit $ac_status); }; } &&
5179 - { ac_try='test -s conftest.$ac_objext'
5180 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5181 -- (eval $ac_try) 2>&5
5182 -+ { (case "(($ac_try" in
5183 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5184 -+ *) ac_try_echo=$ac_try;;
5185 -+esac
5186 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5187 -+ (eval "$ac_try") 2>&5
5188 - ac_status=$?
5189 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5190 - (exit $ac_status); }; }; then
5191 -- ac_cv_prog_cc_stdc=$ac_arg
5192 --break
5193 -+ ac_cv_prog_cc_c89=$ac_arg
5194 - else
5195 - echo "$as_me: failed program was:" >&5
5196 - sed 's/^/| /' conftest.$ac_ext >&5
5197 -
5198 -+
5199 - fi
5200 --rm -f conftest.err conftest.$ac_objext
5201 -+
5202 -+rm -f core conftest.err conftest.$ac_objext
5203 -+ test "x$ac_cv_prog_cc_c89" != "xno" && break
5204 - done
5205 --rm -f conftest.$ac_ext conftest.$ac_objext
5206 -+rm -f conftest.$ac_ext
5207 - CC=$ac_save_CC
5208 -
5209 - fi
5210 --
5211 --case "x$ac_cv_prog_cc_stdc" in
5212 -- x|xno)
5213 -- echo "$as_me:$LINENO: result: none needed" >&5
5214 --echo "${ECHO_T}none needed" >&6 ;;
5215 -- *)
5216 -- echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
5217 --echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
5218 -- CC="$CC $ac_cv_prog_cc_stdc" ;;
5219 -+# AC_CACHE_VAL
5220 -+case "x$ac_cv_prog_cc_c89" in
5221 -+ x)
5222 -+ { echo "$as_me:$LINENO: result: none needed" >&5
5223 -+echo "${ECHO_T}none needed" >&6; } ;;
5224 -+ xno)
5225 -+ { echo "$as_me:$LINENO: result: unsupported" >&5
5226 -+echo "${ECHO_T}unsupported" >&6; } ;;
5227 -+ *)
5228 -+ CC="$CC $ac_cv_prog_cc_c89"
5229 -+ { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5230 -+echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5231 - esac
5232 -
5233 --# Some people use a C++ compiler to compile C. Since we use `exit',
5234 --# in C++ we need to declare it. In case someone uses the same compiler
5235 --# for both compiling C and C++ we need to have the C++ compiler decide
5236 --# the declaration of exit, since it's the most demanding environment.
5237 --cat >conftest.$ac_ext <<_ACEOF
5238 --#ifndef __cplusplus
5239 -- choke me
5240 --#endif
5241 --_ACEOF
5242 --rm -f conftest.$ac_objext
5243 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5244 -- (eval $ac_compile) 2>conftest.er1
5245 -- ac_status=$?
5246 -- grep -v '^ *+' conftest.er1 >conftest.err
5247 -- rm -f conftest.er1
5248 -- cat conftest.err >&5
5249 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5250 -- (exit $ac_status); } &&
5251 -- { ac_try='test -z "$ac_c_werror_flag"
5252 -- || test ! -s conftest.err'
5253 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5254 -- (eval $ac_try) 2>&5
5255 -- ac_status=$?
5256 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5257 -- (exit $ac_status); }; } &&
5258 -- { ac_try='test -s conftest.$ac_objext'
5259 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5260 -- (eval $ac_try) 2>&5
5261 -- ac_status=$?
5262 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263 -- (exit $ac_status); }; }; then
5264 -- for ac_declaration in \
5265 -- '' \
5266 -- 'extern "C" void std::exit (int) throw (); using std::exit;' \
5267 -- 'extern "C" void std::exit (int); using std::exit;' \
5268 -- 'extern "C" void exit (int) throw ();' \
5269 -- 'extern "C" void exit (int);' \
5270 -- 'void exit (int);'
5271 -+
5272 -+ac_ext=cpp
5273 -+ac_cpp='$CXXCPP $CPPFLAGS'
5274 -+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5275 -+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5276 -+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5277 -+
5278 -+ac_ext=cpp
5279 -+ac_cpp='$CXXCPP $CPPFLAGS'
5280 -+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5281 -+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5282 -+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5283 -+if test -z "$CXX"; then
5284 -+ if test -n "$CCC"; then
5285 -+ CXX=$CCC
5286 -+ else
5287 -+ if test -n "$ac_tool_prefix"; then
5288 -+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5289 - do
5290 -- cat >conftest.$ac_ext <<_ACEOF
5291 --/* confdefs.h. */
5292 --_ACEOF
5293 --cat confdefs.h >>conftest.$ac_ext
5294 --cat >>conftest.$ac_ext <<_ACEOF
5295 --/* end confdefs.h. */
5296 --$ac_declaration
5297 --#include <stdlib.h>
5298 --int
5299 --main ()
5300 --{
5301 --exit (42);
5302 -- ;
5303 -- return 0;
5304 --}
5305 --_ACEOF
5306 --rm -f conftest.$ac_objext
5307 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5308 -- (eval $ac_compile) 2>conftest.er1
5309 -- ac_status=$?
5310 -- grep -v '^ *+' conftest.er1 >conftest.err
5311 -- rm -f conftest.er1
5312 -- cat conftest.err >&5
5313 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5314 -- (exit $ac_status); } &&
5315 -- { ac_try='test -z "$ac_c_werror_flag"
5316 -- || test ! -s conftest.err'
5317 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5318 -- (eval $ac_try) 2>&5
5319 -- ac_status=$?
5320 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5321 -- (exit $ac_status); }; } &&
5322 -- { ac_try='test -s conftest.$ac_objext'
5323 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5324 -- (eval $ac_try) 2>&5
5325 -- ac_status=$?
5326 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5327 -- (exit $ac_status); }; }; then
5328 -- :
5329 -+ # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5330 -+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5331 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5332 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5333 -+if test "${ac_cv_prog_CXX+set}" = set; then
5334 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
5335 - else
5336 -- echo "$as_me: failed program was:" >&5
5337 --sed 's/^/| /' conftest.$ac_ext >&5
5338 --
5339 --continue
5340 --fi
5341 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5342 -- cat >conftest.$ac_ext <<_ACEOF
5343 --/* confdefs.h. */
5344 --_ACEOF
5345 --cat confdefs.h >>conftest.$ac_ext
5346 --cat >>conftest.$ac_ext <<_ACEOF
5347 --/* end confdefs.h. */
5348 --$ac_declaration
5349 --int
5350 --main ()
5351 --{
5352 --exit (42);
5353 -- ;
5354 -- return 0;
5355 --}
5356 --_ACEOF
5357 --rm -f conftest.$ac_objext
5358 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5359 -- (eval $ac_compile) 2>conftest.er1
5360 -- ac_status=$?
5361 -- grep -v '^ *+' conftest.er1 >conftest.err
5362 -- rm -f conftest.er1
5363 -- cat conftest.err >&5
5364 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5365 -- (exit $ac_status); } &&
5366 -- { ac_try='test -z "$ac_c_werror_flag"
5367 -- || test ! -s conftest.err'
5368 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5369 -- (eval $ac_try) 2>&5
5370 -- ac_status=$?
5371 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5372 -- (exit $ac_status); }; } &&
5373 -- { ac_try='test -s conftest.$ac_objext'
5374 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5375 -- (eval $ac_try) 2>&5
5376 -- ac_status=$?
5377 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 -- (exit $ac_status); }; }; then
5379 -- break
5380 --else
5381 -- echo "$as_me: failed program was:" >&5
5382 --sed 's/^/| /' conftest.$ac_ext >&5
5383 --
5384 --fi
5385 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5386 --done
5387 --rm -f conftest*
5388 --if test -n "$ac_declaration"; then
5389 -- echo '#ifdef __cplusplus' >>confdefs.h
5390 -- echo $ac_declaration >>confdefs.h
5391 -- echo '#endif' >>confdefs.h
5392 --fi
5393 --
5394 --else
5395 -- echo "$as_me: failed program was:" >&5
5396 --sed 's/^/| /' conftest.$ac_ext >&5
5397 --
5398 --fi
5399 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5400 --ac_ext=cc
5401 --ac_cpp='$CXXCPP $CPPFLAGS'
5402 --ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5403 --ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5404 --ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5405 --
5406 --ac_ext=cc
5407 --ac_cpp='$CXXCPP $CPPFLAGS'
5408 --ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5409 --ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5410 --ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5411 --if test -n "$ac_tool_prefix"; then
5412 -- for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
5413 -- do
5414 -- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5415 --set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5416 --echo "$as_me:$LINENO: checking for $ac_word" >&5
5417 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5418 --if test "${ac_cv_prog_CXX+set}" = set; then
5419 -- echo $ECHO_N "(cached) $ECHO_C" >&6
5420 --else
5421 -- if test -n "$CXX"; then
5422 -- ac_cv_prog_CXX="$CXX" # Let the user override the test.
5423 --else
5424 --as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5425 --for as_dir in $PATH
5426 --do
5427 -- IFS=$as_save_IFS
5428 -- test -z "$as_dir" && as_dir=.
5429 -- for ac_exec_ext in '' $ac_executable_extensions; do
5430 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5431 -- ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5432 -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5433 -- break 2
5434 -+ if test -n "$CXX"; then
5435 -+ ac_cv_prog_CXX="$CXX" # Let the user override the test.
5436 -+else
5437 -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5438 -+for as_dir in $PATH
5439 -+do
5440 -+ IFS=$as_save_IFS
5441 -+ test -z "$as_dir" && as_dir=.
5442 -+ for ac_exec_ext in '' $ac_executable_extensions; do
5443 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5444 -+ ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5445 -+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5446 -+ break 2
5447 - fi
5448 - done
5449 - done
5450 -+IFS=$as_save_IFS
5451 -
5452 - fi
5453 - fi
5454 - CXX=$ac_cv_prog_CXX
5455 - if test -n "$CXX"; then
5456 -- echo "$as_me:$LINENO: result: $CXX" >&5
5457 --echo "${ECHO_T}$CXX" >&6
5458 -+ { echo "$as_me:$LINENO: result: $CXX" >&5
5459 -+echo "${ECHO_T}$CXX" >&6; }
5460 - else
5461 -- echo "$as_me:$LINENO: result: no" >&5
5462 --echo "${ECHO_T}no" >&6
5463 -+ { echo "$as_me:$LINENO: result: no" >&5
5464 -+echo "${ECHO_T}no" >&6; }
5465 - fi
5466 -
5467 -+
5468 - test -n "$CXX" && break
5469 - done
5470 - fi
5471 - if test -z "$CXX"; then
5472 - ac_ct_CXX=$CXX
5473 -- for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
5474 -+ for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5475 - do
5476 - # Extract the first word of "$ac_prog", so it can be a program name with args.
5477 - set dummy $ac_prog; ac_word=$2
5478 --echo "$as_me:$LINENO: checking for $ac_word" >&5
5479 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5480 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5481 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5482 - if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5483 - echo $ECHO_N "(cached) $ECHO_C" >&6
5484 - else
5485 -@@ -4397,55 +5348,85 @@
5486 - IFS=$as_save_IFS
5487 - test -z "$as_dir" && as_dir=.
5488 - for ac_exec_ext in '' $ac_executable_extensions; do
5489 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5490 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5491 - ac_cv_prog_ac_ct_CXX="$ac_prog"
5492 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5493 - break 2
5494 - fi
5495 - done
5496 - done
5497 -+IFS=$as_save_IFS
5498 -
5499 - fi
5500 - fi
5501 - ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5502 - if test -n "$ac_ct_CXX"; then
5503 -- echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5504 --echo "${ECHO_T}$ac_ct_CXX" >&6
5505 -+ { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5506 -+echo "${ECHO_T}$ac_ct_CXX" >&6; }
5507 - else
5508 -- echo "$as_me:$LINENO: result: no" >&5
5509 --echo "${ECHO_T}no" >&6
5510 -+ { echo "$as_me:$LINENO: result: no" >&5
5511 -+echo "${ECHO_T}no" >&6; }
5512 - fi
5513 -
5514 -+
5515 - test -n "$ac_ct_CXX" && break
5516 - done
5517 --test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
5518 -
5519 -+ if test "x$ac_ct_CXX" = x; then
5520 -+ CXX="g++"
5521 -+ else
5522 -+ case $cross_compiling:$ac_tool_warned in
5523 -+yes:)
5524 -+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5525 -+whose name does not start with the host triplet. If you think this
5526 -+configuration is useful to you, please write to autoconf@×××.org." >&5
5527 -+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5528 -+whose name does not start with the host triplet. If you think this
5529 -+configuration is useful to you, please write to autoconf@×××.org." >&2;}
5530 -+ac_tool_warned=yes ;;
5531 -+esac
5532 - CXX=$ac_ct_CXX
5533 - fi
5534 -+fi
5535 -
5536 --
5537 -+ fi
5538 -+fi
5539 - # Provide some information about the compiler.
5540 --echo "$as_me:$LINENO:" \
5541 -- "checking for C++ compiler version" >&5
5542 -+echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5543 - ac_compiler=`set X $ac_compile; echo $2`
5544 --{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5545 -- (eval $ac_compiler --version </dev/null >&5) 2>&5
5546 -+{ (ac_try="$ac_compiler --version >&5"
5547 -+case "(($ac_try" in
5548 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5549 -+ *) ac_try_echo=$ac_try;;
5550 -+esac
5551 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5552 -+ (eval "$ac_compiler --version >&5") 2>&5
5553 - ac_status=$?
5554 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 - (exit $ac_status); }
5556 --{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5557 -- (eval $ac_compiler -v </dev/null >&5) 2>&5
5558 -+{ (ac_try="$ac_compiler -v >&5"
5559 -+case "(($ac_try" in
5560 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5561 -+ *) ac_try_echo=$ac_try;;
5562 -+esac
5563 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5564 -+ (eval "$ac_compiler -v >&5") 2>&5
5565 - ac_status=$?
5566 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567 - (exit $ac_status); }
5568 --{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5569 -- (eval $ac_compiler -V </dev/null >&5) 2>&5
5570 -+{ (ac_try="$ac_compiler -V >&5"
5571 -+case "(($ac_try" in
5572 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5573 -+ *) ac_try_echo=$ac_try;;
5574 -+esac
5575 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5576 -+ (eval "$ac_compiler -V >&5") 2>&5
5577 - ac_status=$?
5578 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5579 - (exit $ac_status); }
5580 -
5581 --echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5582 --echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
5583 -+{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5584 -+echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5585 - if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5586 - echo $ECHO_N "(cached) $ECHO_C" >&6
5587 - else
5588 -@@ -4468,24 +5449,36 @@
5589 - }
5590 - _ACEOF
5591 - rm -f conftest.$ac_objext
5592 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5593 -- (eval $ac_compile) 2>conftest.er1
5594 -+if { (ac_try="$ac_compile"
5595 -+case "(($ac_try" in
5596 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5597 -+ *) ac_try_echo=$ac_try;;
5598 -+esac
5599 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5600 -+ (eval "$ac_compile") 2>conftest.er1
5601 - ac_status=$?
5602 - grep -v '^ *+' conftest.er1 >conftest.err
5603 - rm -f conftest.er1
5604 - cat conftest.err >&5
5605 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5606 - (exit $ac_status); } &&
5607 -- { ac_try='test -z "$ac_cxx_werror_flag"
5608 -- || test ! -s conftest.err'
5609 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5610 -- (eval $ac_try) 2>&5
5611 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5612 -+ { (case "(($ac_try" in
5613 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5614 -+ *) ac_try_echo=$ac_try;;
5615 -+esac
5616 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5617 -+ (eval "$ac_try") 2>&5
5618 - ac_status=$?
5619 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5620 - (exit $ac_status); }; } &&
5621 - { ac_try='test -s conftest.$ac_objext'
5622 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5623 -- (eval $ac_try) 2>&5
5624 -+ { (case "(($ac_try" in
5625 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5626 -+ *) ac_try_echo=$ac_try;;
5627 -+esac
5628 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5629 -+ (eval "$ac_try") 2>&5
5630 - ac_status=$?
5631 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632 - (exit $ac_status); }; }; then
5633 -@@ -4496,21 +5489,25 @@
5634 -
5635 - ac_compiler_gnu=no
5636 - fi
5637 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5638 -+
5639 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5640 - ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5641 -
5642 - fi
5643 --echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5644 --echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5645 -+{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5646 -+echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5647 - GXX=`test $ac_compiler_gnu = yes && echo yes`
5648 - ac_test_CXXFLAGS=${CXXFLAGS+set}
5649 - ac_save_CXXFLAGS=$CXXFLAGS
5650 --CXXFLAGS="-g"
5651 --echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5652 --echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5653 -+{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5654 -+echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5655 - if test "${ac_cv_prog_cxx_g+set}" = set; then
5656 - echo $ECHO_N "(cached) $ECHO_C" >&6
5657 - else
5658 -+ ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5659 -+ ac_cxx_werror_flag=yes
5660 -+ ac_cv_prog_cxx_g=no
5661 -+ CXXFLAGS="-g"
5662 - cat >conftest.$ac_ext <<_ACEOF
5663 - /* confdefs.h. */
5664 - _ACEOF
5665 -@@ -4527,24 +5524,36 @@
5666 - }
5667 - _ACEOF
5668 - rm -f conftest.$ac_objext
5669 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5670 -- (eval $ac_compile) 2>conftest.er1
5671 -+if { (ac_try="$ac_compile"
5672 -+case "(($ac_try" in
5673 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5674 -+ *) ac_try_echo=$ac_try;;
5675 -+esac
5676 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5677 -+ (eval "$ac_compile") 2>conftest.er1
5678 - ac_status=$?
5679 - grep -v '^ *+' conftest.er1 >conftest.err
5680 - rm -f conftest.er1
5681 - cat conftest.err >&5
5682 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 - (exit $ac_status); } &&
5684 -- { ac_try='test -z "$ac_cxx_werror_flag"
5685 -- || test ! -s conftest.err'
5686 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5687 -- (eval $ac_try) 2>&5
5688 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5689 -+ { (case "(($ac_try" in
5690 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5691 -+ *) ac_try_echo=$ac_try;;
5692 -+esac
5693 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5694 -+ (eval "$ac_try") 2>&5
5695 - ac_status=$?
5696 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5697 - (exit $ac_status); }; } &&
5698 - { ac_try='test -s conftest.$ac_objext'
5699 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5700 -- (eval $ac_try) 2>&5
5701 -+ { (case "(($ac_try" in
5702 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5703 -+ *) ac_try_echo=$ac_try;;
5704 -+esac
5705 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5706 -+ (eval "$ac_try") 2>&5
5707 - ac_status=$?
5708 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5709 - (exit $ac_status); }; }; then
5710 -@@ -4553,70 +5562,53 @@
5711 - echo "$as_me: failed program was:" >&5
5712 - sed 's/^/| /' conftest.$ac_ext >&5
5713 -
5714 --ac_cv_prog_cxx_g=no
5715 --fi
5716 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5717 --fi
5718 --echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5719 --echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5720 --if test "$ac_test_CXXFLAGS" = set; then
5721 -- CXXFLAGS=$ac_save_CXXFLAGS
5722 --elif test $ac_cv_prog_cxx_g = yes; then
5723 -- if test "$GXX" = yes; then
5724 -- CXXFLAGS="-g -O2"
5725 -- else
5726 -- CXXFLAGS="-g"
5727 -- fi
5728 --else
5729 -- if test "$GXX" = yes; then
5730 -- CXXFLAGS="-O2"
5731 -- else
5732 -- CXXFLAGS=
5733 -- fi
5734 --fi
5735 --for ac_declaration in \
5736 -- '' \
5737 -- 'extern "C" void std::exit (int) throw (); using std::exit;' \
5738 -- 'extern "C" void std::exit (int); using std::exit;' \
5739 -- 'extern "C" void exit (int) throw ();' \
5740 -- 'extern "C" void exit (int);' \
5741 -- 'void exit (int);'
5742 --do
5743 -+ CXXFLAGS=""
5744 - cat >conftest.$ac_ext <<_ACEOF
5745 - /* confdefs.h. */
5746 - _ACEOF
5747 - cat confdefs.h >>conftest.$ac_ext
5748 - cat >>conftest.$ac_ext <<_ACEOF
5749 - /* end confdefs.h. */
5750 --$ac_declaration
5751 --#include <stdlib.h>
5752 -+
5753 - int
5754 - main ()
5755 - {
5756 --exit (42);
5757 -+
5758 - ;
5759 - return 0;
5760 - }
5761 - _ACEOF
5762 - rm -f conftest.$ac_objext
5763 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5764 -- (eval $ac_compile) 2>conftest.er1
5765 -+if { (ac_try="$ac_compile"
5766 -+case "(($ac_try" in
5767 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5768 -+ *) ac_try_echo=$ac_try;;
5769 -+esac
5770 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5771 -+ (eval "$ac_compile") 2>conftest.er1
5772 - ac_status=$?
5773 - grep -v '^ *+' conftest.er1 >conftest.err
5774 - rm -f conftest.er1
5775 - cat conftest.err >&5
5776 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777 - (exit $ac_status); } &&
5778 -- { ac_try='test -z "$ac_cxx_werror_flag"
5779 -- || test ! -s conftest.err'
5780 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5781 -- (eval $ac_try) 2>&5
5782 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5783 -+ { (case "(($ac_try" in
5784 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5785 -+ *) ac_try_echo=$ac_try;;
5786 -+esac
5787 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5788 -+ (eval "$ac_try") 2>&5
5789 - ac_status=$?
5790 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5791 - (exit $ac_status); }; } &&
5792 - { ac_try='test -s conftest.$ac_objext'
5793 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5794 -- (eval $ac_try) 2>&5
5795 -+ { (case "(($ac_try" in
5796 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5797 -+ *) ac_try_echo=$ac_try;;
5798 -+esac
5799 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5800 -+ (eval "$ac_try") 2>&5
5801 - ac_status=$?
5802 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 - (exit $ac_status); }; }; then
5804 -@@ -4625,62 +5617,92 @@
5805 - echo "$as_me: failed program was:" >&5
5806 - sed 's/^/| /' conftest.$ac_ext >&5
5807 -
5808 --continue
5809 --fi
5810 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5811 -+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5812 -+ CXXFLAGS="-g"
5813 - cat >conftest.$ac_ext <<_ACEOF
5814 - /* confdefs.h. */
5815 - _ACEOF
5816 - cat confdefs.h >>conftest.$ac_ext
5817 - cat >>conftest.$ac_ext <<_ACEOF
5818 - /* end confdefs.h. */
5819 --$ac_declaration
5820 -+
5821 - int
5822 - main ()
5823 - {
5824 --exit (42);
5825 -+
5826 - ;
5827 - return 0;
5828 - }
5829 - _ACEOF
5830 - rm -f conftest.$ac_objext
5831 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5832 -- (eval $ac_compile) 2>conftest.er1
5833 -+if { (ac_try="$ac_compile"
5834 -+case "(($ac_try" in
5835 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5836 -+ *) ac_try_echo=$ac_try;;
5837 -+esac
5838 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5839 -+ (eval "$ac_compile") 2>conftest.er1
5840 - ac_status=$?
5841 - grep -v '^ *+' conftest.er1 >conftest.err
5842 - rm -f conftest.er1
5843 - cat conftest.err >&5
5844 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845 - (exit $ac_status); } &&
5846 -- { ac_try='test -z "$ac_cxx_werror_flag"
5847 -- || test ! -s conftest.err'
5848 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5849 -- (eval $ac_try) 2>&5
5850 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5851 -+ { (case "(($ac_try" in
5852 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5853 -+ *) ac_try_echo=$ac_try;;
5854 -+esac
5855 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5856 -+ (eval "$ac_try") 2>&5
5857 - ac_status=$?
5858 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 - (exit $ac_status); }; } &&
5860 - { ac_try='test -s conftest.$ac_objext'
5861 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5862 -- (eval $ac_try) 2>&5
5863 -+ { (case "(($ac_try" in
5864 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5865 -+ *) ac_try_echo=$ac_try;;
5866 -+esac
5867 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5868 -+ (eval "$ac_try") 2>&5
5869 - ac_status=$?
5870 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 - (exit $ac_status); }; }; then
5872 -- break
5873 -+ ac_cv_prog_cxx_g=yes
5874 - else
5875 - echo "$as_me: failed program was:" >&5
5876 - sed 's/^/| /' conftest.$ac_ext >&5
5877 -
5878 -+
5879 - fi
5880 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5881 --done
5882 --rm -f conftest*
5883 --if test -n "$ac_declaration"; then
5884 -- echo '#ifdef __cplusplus' >>confdefs.h
5885 -- echo $ac_declaration >>confdefs.h
5886 -- echo '#endif' >>confdefs.h
5887 -+
5888 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5889 - fi
5890 -
5891 --ac_ext=cc
5892 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5893 -+fi
5894 -+
5895 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5896 -+ ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5897 -+fi
5898 -+{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5899 -+echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5900 -+if test "$ac_test_CXXFLAGS" = set; then
5901 -+ CXXFLAGS=$ac_save_CXXFLAGS
5902 -+elif test $ac_cv_prog_cxx_g = yes; then
5903 -+ if test "$GXX" = yes; then
5904 -+ CXXFLAGS="-g -O2"
5905 -+ else
5906 -+ CXXFLAGS="-g"
5907 -+ fi
5908 -+else
5909 -+ if test "$GXX" = yes; then
5910 -+ CXXFLAGS="-O2"
5911 -+ else
5912 -+ CXXFLAGS=
5913 -+ fi
5914 -+fi
5915 -+ac_ext=cpp
5916 - ac_cpp='$CXXCPP $CPPFLAGS'
5917 - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5918 - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5919 -@@ -4962,7 +5984,7 @@
5920 - echo "$as_me: WARNING: Proceeding without questions per --without-caution" >&2;} ;;
5921 - * )
5922 - echo "Do you still want to proceed (at your own risk)? [y/N]"
5923 -- read answer
5924 -+ read answer <& 7
5925 - case "$answer" in
5926 - [Yy]* ) { echo "$as_me:$LINENO: WARNING: Proceeding at your own risk..." >&5
5927 - echo "$as_me: WARNING: Proceeding at your own risk..." >&2;} ;;
5928 -@@ -5059,6 +6081,30 @@
5929 - ;;
5930 - * ) NCBIATOMIC_LIB=xncbi ;;
5931 - esac
5932 -+ case "$compiler" in
5933 -+ GCC )
5934 -+ if $CC -v | grep clang >/dev/null; then
5935 -+ :
5936 -+ # Will allegedly support -openmp at some point, but as of 3.4,
5937 -+ # just parses it as specifying an output filename: -o penmp.
5938 -+ else
5939 -+ case "$compiler_version" in
5940 -+ [123]?? | 4[01]? ) ;;
5941 -+ * ) : ${OPENMP_FLAGS=-fopenmp} ;;
5942 -+ esac
5943 -+ fi
5944 -+ ;;
5945 -+ ICC )
5946 -+ : ${OPENMP_FLAGS=-openmp}
5947 -+ ;;
5948 -+ WorkShop* )
5949 -+ : ${OPENMP_FLAGS=-xopenmp=parallel}
5950 -+ ;;
5951 -+ esac
5952 -+ if test "$with_openmp" = yes; then
5953 -+ MT_FLAG="$MT_FLAG $OPENMP_FLAGS"
5954 -+ OPENMP_FLAGS=
5955 -+ fi
5956 - mt_sfx="MT"
5957 - WithFeatures="$WithFeatures${WithFeaturesSep}MT"; WithFeaturesSep=" "
5958 - else
5959 -@@ -5066,6 +6112,7 @@
5960 - MT_FLAG=
5961 - THREAD_LIBS=
5962 - NCBIATOMIC_LIB=
5963 -+ OPENMP_FLAGS=
5964 - mt_sfx=""
5965 - fi
5966 - MT_SFX="${mt_sfx}"
5967 -@@ -5078,11 +6125,19 @@
5968 - APP_LDFLAGS=
5969 - DLL_LDFLAGS=
5970 -
5971 -+### Should go before any test compiler runs
5972 -+
5973 -+cat >>confdefs.h <<\_ACEOF
5974 -+#define _GNU_SOURCE 1
5975 -+_ACEOF
5976 -+
5977 -+
5978 -+
5979 - case "$host_os:$compiler" in
5980 - darwin*:GCC )
5981 -
5982 --echo "$as_me:$LINENO: checking whether $CC supports -Wl,-rpath" >&5
5983 --echo $ECHO_N "checking whether $CC supports -Wl,-rpath... $ECHO_C" >&6
5984 -+{ echo "$as_me:$LINENO: checking whether $CC supports -Wl,-rpath" >&5
5985 -+echo $ECHO_N "checking whether $CC supports -Wl,-rpath... $ECHO_C" >&6; }
5986 - if test "${ncbi_cv_prog_cc_wl_rpath+set}" = set; then
5987 - echo $ECHO_N "(cached) $ECHO_C" >&6
5988 - else
5989 -@@ -5104,24 +6159,36 @@
5990 - }
5991 - _ACEOF
5992 - rm -f conftest.$ac_objext conftest$ac_exeext
5993 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5994 -- (eval $ac_link) 2>conftest.er1
5995 -+if { (ac_try="$ac_link"
5996 -+case "(($ac_try" in
5997 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5998 -+ *) ac_try_echo=$ac_try;;
5999 -+esac
6000 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6001 -+ (eval "$ac_link") 2>conftest.er1
6002 - ac_status=$?
6003 - grep -v '^ *+' conftest.er1 >conftest.err
6004 - rm -f conftest.er1
6005 - cat conftest.err >&5
6006 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007 - (exit $ac_status); } &&
6008 -- { ac_try='test -z "$ac_cxx_werror_flag"
6009 -- || test ! -s conftest.err'
6010 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6011 -- (eval $ac_try) 2>&5
6012 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6013 -+ { (case "(($ac_try" in
6014 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6015 -+ *) ac_try_echo=$ac_try;;
6016 -+esac
6017 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6018 -+ (eval "$ac_try") 2>&5
6019 - ac_status=$?
6020 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 - (exit $ac_status); }; } &&
6022 - { ac_try='test -s conftest$ac_exeext'
6023 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6024 -- (eval $ac_try) 2>&5
6025 -+ { (case "(($ac_try" in
6026 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6027 -+ *) ac_try_echo=$ac_try;;
6028 -+esac
6029 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6030 -+ (eval "$ac_try") 2>&5
6031 - ac_status=$?
6032 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6033 - (exit $ac_status); }; }; then
6034 -@@ -5132,16 +6199,17 @@
6035 -
6036 - ncbi_cv_prog_cc_wl_rpath=no
6037 - fi
6038 --rm -f conftest.err conftest.$ac_objext \
6039 -+
6040 -+rm -f core conftest.err conftest.$ac_objext \
6041 - conftest$ac_exeext conftest.$ac_ext
6042 - LDFLAGS=$orig_LDFLAGS
6043 - fi
6044 --echo "$as_me:$LINENO: result: $ncbi_cv_prog_cc_wl_rpath" >&5
6045 --echo "${ECHO_T}$ncbi_cv_prog_cc_wl_rpath" >&6
6046 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_prog_cc_wl_rpath" >&5
6047 -+echo "${ECHO_T}$ncbi_cv_prog_cc_wl_rpath" >&6; }
6048 - ;;
6049 - *:GCC | *:ICC )
6050 -- echo "$as_me:$LINENO: checking whether $CC has an option to export all symbols" >&5
6051 --echo $ECHO_N "checking whether $CC has an option to export all symbols... $ECHO_C" >&6
6052 -+ { echo "$as_me:$LINENO: checking whether $CC has an option to export all symbols" >&5
6053 -+echo $ECHO_N "checking whether $CC has an option to export all symbols... $ECHO_C" >&6; }
6054 - if test "${ncbi_cv_prog_cc_export_all+set}" = set; then
6055 - echo $ECHO_N "(cached) $ECHO_C" >&6
6056 - else
6057 -@@ -5165,24 +6233,36 @@
6058 - }
6059 - _ACEOF
6060 - rm -f conftest.$ac_objext conftest$ac_exeext
6061 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6062 -- (eval $ac_link) 2>conftest.er1
6063 -+if { (ac_try="$ac_link"
6064 -+case "(($ac_try" in
6065 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6066 -+ *) ac_try_echo=$ac_try;;
6067 -+esac
6068 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6069 -+ (eval "$ac_link") 2>conftest.er1
6070 - ac_status=$?
6071 - grep -v '^ *+' conftest.er1 >conftest.err
6072 - rm -f conftest.er1
6073 - cat conftest.err >&5
6074 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075 - (exit $ac_status); } &&
6076 -- { ac_try='test -z "$ac_cxx_werror_flag"
6077 -- || test ! -s conftest.err'
6078 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6079 -- (eval $ac_try) 2>&5
6080 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6081 -+ { (case "(($ac_try" in
6082 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6083 -+ *) ac_try_echo=$ac_try;;
6084 -+esac
6085 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6086 -+ (eval "$ac_try") 2>&5
6087 - ac_status=$?
6088 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6089 - (exit $ac_status); }; } &&
6090 - { ac_try='test -s conftest$ac_exeext'
6091 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6092 -- (eval $ac_try) 2>&5
6093 -+ { (case "(($ac_try" in
6094 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6095 -+ *) ac_try_echo=$ac_try;;
6096 -+esac
6097 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6098 -+ (eval "$ac_try") 2>&5
6099 - ac_status=$?
6100 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6101 - (exit $ac_status); }; }; then
6102 -@@ -5191,19 +6271,21 @@
6103 - echo "$as_me: failed program was:" >&5
6104 - sed 's/^/| /' conftest.$ac_ext >&5
6105 -
6106 -+
6107 - fi
6108 --rm -f conftest.err conftest.$ac_objext \
6109 -+
6110 -+rm -f core conftest.err conftest.$ac_objext \
6111 - conftest$ac_exeext conftest.$ac_ext
6112 - test "x$ncbi_cv_prog_cc_export_all" = "xno" || break
6113 - done
6114 - LDFLAGS=$orig_LDFLAGS
6115 - fi
6116 --echo "$as_me:$LINENO: result: $ncbi_cv_prog_cc_export_all" >&5
6117 --echo "${ECHO_T}$ncbi_cv_prog_cc_export_all" >&6
6118 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_prog_cc_export_all" >&5
6119 -+echo "${ECHO_T}$ncbi_cv_prog_cc_export_all" >&6; }
6120 - test "$ncbi_cv_prog_cc_export_all" = no || \
6121 - LDFLAGS="$ncbi_cv_prog_cc_export_all $LDFLAGS"
6122 -- echo "$as_me:$LINENO: checking whether $CC supports -Wl,--{en,dis}able-new-dtags" >&5
6123 --echo $ECHO_N "checking whether $CC supports -Wl,--{en,dis}able-new-dtags... $ECHO_C" >&6
6124 -+ { echo "$as_me:$LINENO: checking whether $CC supports -Wl,--{en,dis}able-new-dtags" >&5
6125 -+echo $ECHO_N "checking whether $CC supports -Wl,--{en,dis}able-new-dtags... $ECHO_C" >&6; }
6126 - if test "${ncbi_cv_prog_cc_new_dtags+set}" = set; then
6127 - echo $ECHO_N "(cached) $ECHO_C" >&6
6128 - else
6129 -@@ -5225,24 +6307,36 @@
6130 - }
6131 - _ACEOF
6132 - rm -f conftest.$ac_objext conftest$ac_exeext
6133 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6134 -- (eval $ac_link) 2>conftest.er1
6135 -+if { (ac_try="$ac_link"
6136 -+case "(($ac_try" in
6137 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6138 -+ *) ac_try_echo=$ac_try;;
6139 -+esac
6140 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6141 -+ (eval "$ac_link") 2>conftest.er1
6142 - ac_status=$?
6143 - grep -v '^ *+' conftest.er1 >conftest.err
6144 - rm -f conftest.er1
6145 - cat conftest.err >&5
6146 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6147 - (exit $ac_status); } &&
6148 -- { ac_try='test -z "$ac_cxx_werror_flag"
6149 -- || test ! -s conftest.err'
6150 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6151 -- (eval $ac_try) 2>&5
6152 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6153 -+ { (case "(($ac_try" in
6154 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6155 -+ *) ac_try_echo=$ac_try;;
6156 -+esac
6157 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6158 -+ (eval "$ac_try") 2>&5
6159 - ac_status=$?
6160 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6161 - (exit $ac_status); }; } &&
6162 - { ac_try='test -s conftest$ac_exeext'
6163 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6164 -- (eval $ac_try) 2>&5
6165 -+ { (case "(($ac_try" in
6166 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6167 -+ *) ac_try_echo=$ac_try;;
6168 -+esac
6169 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6170 -+ (eval "$ac_try") 2>&5
6171 - ac_status=$?
6172 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 - (exit $ac_status); }; }; then
6174 -@@ -5253,12 +6347,13 @@
6175 -
6176 - ncbi_cv_prog_cc_new_dtags=no
6177 - fi
6178 --rm -f conftest.err conftest.$ac_objext \
6179 -+
6180 -+rm -f core conftest.err conftest.$ac_objext \
6181 - conftest$ac_exeext conftest.$ac_ext
6182 - LDFLAGS=$orig_LDFLAGS
6183 - fi
6184 --echo "$as_me:$LINENO: result: $ncbi_cv_prog_cc_new_dtags" >&5
6185 --echo "${ECHO_T}$ncbi_cv_prog_cc_new_dtags" >&6
6186 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_prog_cc_new_dtags" >&5
6187 -+echo "${ECHO_T}$ncbi_cv_prog_cc_new_dtags" >&6; }
6188 - if test "$ncbi_cv_prog_cc_new_dtags" = yes; then
6189 - if test "$with_hard_runpath" = yes; then
6190 - LDFLAGS="-Wl,--disable-new-dtags $LDFLAGS"
6191 -@@ -5269,45 +6364,231 @@
6192 - ;;
6193 - esac
6194 -
6195 --#### Provide default environment setup for known platforms/compilers
6196 --DEPFLAGS="-M"
6197 --DEPFLAGS_POST="" # Needed for VisualAge
6198 --OBJCXX_CXXFLAGS=
6199 --OBJCXX_LIBS=
6200 --case "$host_os:$compiler" in
6201 -- solaris2\.6:GCC )
6202 -- echo "GCC compiler is not supported for: $host"
6203 -- compiler=
6204 -+case "$compiler:$compiler_version" in
6205 -+ GCC:4[0-6]? | ICC:1[01]?? )
6206 -+ ncbi_cv_prog_cxx_11=no
6207 -+ ncbi_cv_prog_c_99=no
6208 - ;;
6209 --
6210 -- solaris*:GCC )
6211 -- CPPFLAGS="-D_XOPEN_SOURCE=500 $CPPFLAGS"
6212 -- STRIP="@:"
6213 -+ ICC:* )
6214 -+ ncbi_cv_prog_c_99='-std=gnu99 -fgnu89-inline'
6215 - ;;
6216 -+esac
6217 -
6218 -- linux*:ICC )
6219 -- # "incomplete type is not allowed" should be an error, not a warning!
6220 -- CFLAGS="-we70 $CFLAGS"
6221 -- CXXFLAGS="-we70 $CXXFLAGS"
6222 -- case "$compiler_version" in
6223 -- 1[1-9]?? ) MATH_LIBS=-Wl,-lm ;; # avoid static libimf in shared libs
6224 -+{ echo "$as_me:$LINENO: checking how to enable C++ '11 features in $CXX" >&5
6225 -+echo $ECHO_N "checking how to enable C++ '11 features in $CXX... $ECHO_C" >&6; }
6226 -+if test "${ncbi_cv_prog_cxx_11+set}" = set; then
6227 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
6228 -+else
6229 -+ orig_CXX=$CXX
6230 -+ ncbi_cv_prog_cxx_11=no
6231 -+ for x in -std=gnu++11 -std=gnu++0x; do
6232 -+ CXX="$orig_CXX $x"
6233 -+ cat >conftest.$ac_ext <<_ACEOF
6234 -+/* confdefs.h. */
6235 -+_ACEOF
6236 -+cat confdefs.h >>conftest.$ac_ext
6237 -+cat >>conftest.$ac_ext <<_ACEOF
6238 -+/* end confdefs.h. */
6239 -+
6240 -+int
6241 -+main ()
6242 -+{
6243 -+
6244 -+ ;
6245 -+ return 0;
6246 -+}
6247 -+_ACEOF
6248 -+rm -f conftest.$ac_objext conftest$ac_exeext
6249 -+if { (ac_try="$ac_link"
6250 -+case "(($ac_try" in
6251 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6252 -+ *) ac_try_echo=$ac_try;;
6253 - esac
6254 -- ;;
6255 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6256 -+ (eval "$ac_link") 2>conftest.er1
6257 -+ ac_status=$?
6258 -+ grep -v '^ *+' conftest.er1 >conftest.err
6259 -+ rm -f conftest.er1
6260 -+ cat conftest.err >&5
6261 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6262 -+ (exit $ac_status); } &&
6263 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6264 -+ { (case "(($ac_try" in
6265 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6266 -+ *) ac_try_echo=$ac_try;;
6267 -+esac
6268 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6269 -+ (eval "$ac_try") 2>&5
6270 -+ ac_status=$?
6271 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6272 -+ (exit $ac_status); }; } &&
6273 -+ { ac_try='test -s conftest$ac_exeext'
6274 -+ { (case "(($ac_try" in
6275 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6276 -+ *) ac_try_echo=$ac_try;;
6277 -+esac
6278 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6279 -+ (eval "$ac_try") 2>&5
6280 -+ ac_status=$?
6281 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6282 -+ (exit $ac_status); }; }; then
6283 -+ ncbi_cv_prog_cxx_11=$x
6284 -+else
6285 -+ echo "$as_me: failed program was:" >&5
6286 -+sed 's/^/| /' conftest.$ac_ext >&5
6287 -+
6288 -
6289 -- irix*:GCC )
6290 -- if test "$with_debug" != "no" ; then
6291 -- LDFLAGS="-LD_LAYOUT:lgot_buffer=32 $LDFLAGS"
6292 - fi
6293 -- ;;
6294 -
6295 -- solaris*:WorkShop* )
6296 -- CPPFLAGS="-D__EXTENSIONS__ $CPPFLAGS"
6297 -- CXXFLAGS="+w +w2 $CXXFLAGS"
6298 -- DEPFLAGS="-xM1"
6299 -- LDFLAGS="-xildoff $LDFLAGS"
6300 -- AR=${AR:="$CXX $MT_FLAG -xar -o"}
6301 -- STRIP="@:"
6302 -- if test "$with_symbols" = "no" -a "$with_profiling" != "yes" \
6303 -+rm -f core conftest.err conftest.$ac_objext \
6304 -+ conftest$ac_exeext conftest.$ac_ext
6305 -+ test "x$ncbi_cv_prog_cxx_11" = "xno" || break
6306 -+ done
6307 -+ CXX=$orig_CXX
6308 -+fi
6309 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_prog_cxx_11" >&5
6310 -+echo "${ECHO_T}$ncbi_cv_prog_cxx_11" >&6; }
6311 -+test "$ncbi_cv_prog_cxx_11" = no || CXX="$CXX $ncbi_cv_prog_cxx_11"
6312 -+
6313 -+ac_ext=c
6314 -+ac_cpp='$CPP $CPPFLAGS'
6315 -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6316 -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6317 -+ac_compiler_gnu=$ac_cv_c_compiler_gnu
6318 -+
6319 -+
6320 -+{ echo "$as_me:$LINENO: checking how to enable C '11 or at least '99 features in $CC" >&5
6321 -+echo $ECHO_N "checking how to enable C '11 or at least '99 features in $CC... $ECHO_C" >&6; }
6322 -+if test "${ncbi_cv_prog_c_99+set}" = set; then
6323 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
6324 -+else
6325 -+ orig_CC=$CC
6326 -+ ncbi_cv_prog_c_99=no
6327 -+ for x in -xc99=all "-std=gnu11 -fgnu89-inline" \
6328 -+ "-std=gnu1x -fgnu89-inline" \
6329 -+ "-std=gnu99 -fgnu89-inline" \
6330 -+ "-std=gnu9x -fgnu89-inline"; do
6331 -+ CC="$orig_CC $x"
6332 -+ cat >conftest.$ac_ext <<_ACEOF
6333 -+/* confdefs.h. */
6334 -+_ACEOF
6335 -+cat confdefs.h >>conftest.$ac_ext
6336 -+cat >>conftest.$ac_ext <<_ACEOF
6337 -+/* end confdefs.h. */
6338 -+
6339 -+int
6340 -+main ()
6341 -+{
6342 -+
6343 -+ ;
6344 -+ return 0;
6345 -+}
6346 -+_ACEOF
6347 -+rm -f conftest.$ac_objext conftest$ac_exeext
6348 -+if { (ac_try="$ac_link"
6349 -+case "(($ac_try" in
6350 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6351 -+ *) ac_try_echo=$ac_try;;
6352 -+esac
6353 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6354 -+ (eval "$ac_link") 2>conftest.er1
6355 -+ ac_status=$?
6356 -+ grep -v '^ *+' conftest.er1 >conftest.err
6357 -+ rm -f conftest.er1
6358 -+ cat conftest.err >&5
6359 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6360 -+ (exit $ac_status); } &&
6361 -+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6362 -+ { (case "(($ac_try" in
6363 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6364 -+ *) ac_try_echo=$ac_try;;
6365 -+esac
6366 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6367 -+ (eval "$ac_try") 2>&5
6368 -+ ac_status=$?
6369 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370 -+ (exit $ac_status); }; } &&
6371 -+ { ac_try='test -s conftest$ac_exeext'
6372 -+ { (case "(($ac_try" in
6373 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6374 -+ *) ac_try_echo=$ac_try;;
6375 -+esac
6376 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6377 -+ (eval "$ac_try") 2>&5
6378 -+ ac_status=$?
6379 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
6380 -+ (exit $ac_status); }; }; then
6381 -+ ncbi_cv_prog_c_99=$x
6382 -+else
6383 -+ echo "$as_me: failed program was:" >&5
6384 -+sed 's/^/| /' conftest.$ac_ext >&5
6385 -+
6386 -+
6387 -+fi
6388 -+
6389 -+rm -f core conftest.err conftest.$ac_objext \
6390 -+ conftest$ac_exeext conftest.$ac_ext
6391 -+ test "x$ncbi_cv_prog_c_99" = "xno" || break
6392 -+ done
6393 -+ CC=$orig_CC
6394 -+fi
6395 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_prog_c_99" >&5
6396 -+echo "${ECHO_T}$ncbi_cv_prog_c_99" >&6; }
6397 -+ac_ext=cpp
6398 -+ac_cpp='$CXXCPP $CPPFLAGS'
6399 -+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6400 -+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6401 -+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6402 -+
6403 -+test "$ncbi_cv_prog_c_99" = no || CC="$CC $ncbi_cv_prog_c_99"
6404 -+
6405 -+#### Provide default environment setup for known platforms/compilers
6406 -+DEPFLAGS="-M"
6407 -+DEPFLAGS_POST="" # Needed for VisualAge
6408 -+OBJCXX_CXXFLAGS=
6409 -+OBJCXX_LIBS=
6410 -+case "$host_os:$compiler" in
6411 -+ solaris2\.6:GCC )
6412 -+ echo "GCC compiler is not supported for: $host"
6413 -+ compiler=
6414 -+ ;;
6415 -+
6416 -+ solaris*:GCC )
6417 -+ # On Solaris, GCC defaults to setting _XOPEN_SOURCE (to 500) only
6418 -+ # in C++ mode. Set it for C code as well to ensure consistent
6419 -+ # header behavior, taking care to match the C standard version
6420 -+ # (as enforced by <sys/feature_tests.h>).
6421 -+ case "$ncbi_cv_prog_c_99" in
6422 -+ no) CC="$CC -D_XOPEN_SOURCE=500" ;;
6423 -+ *) CC="$CC -D_XOPEN_SOURCE=600" ;;
6424 -+ esac
6425 -+
6426 -+ STRIP="@:"
6427 -+ ;;
6428 -+
6429 -+ linux*:ICC )
6430 -+ # "incomplete type is not allowed" should be an error, not a warning!
6431 -+ CFLAGS="-we70 $CFLAGS"
6432 -+ CXXFLAGS="-we70 $CXXFLAGS"
6433 -+ case "$compiler_version" in
6434 -+ 1[1-9]?? ) MATH_LIBS=-Wl,-lm ;; # avoid static libimf in shared libs
6435 -+ esac
6436 -+ ;;
6437 -+
6438 -+ irix*:GCC )
6439 -+ if test "$with_debug" != "no" ; then
6440 -+ LDFLAGS="-LD_LAYOUT:lgot_buffer=32 $LDFLAGS"
6441 -+ fi
6442 -+ ;;
6443 -+
6444 -+ solaris*:WorkShop* )
6445 -+ CPPFLAGS="-D__EXTENSIONS__ $CPPFLAGS"
6446 -+ CXXFLAGS="+w +w2 $CXXFLAGS"
6447 -+ DEPFLAGS="-xM1"
6448 -+ LDFLAGS="-xildoff $LDFLAGS"
6449 -+ AR=${AR:="$CXX $MT_FLAG -xar -o"}
6450 -+ STRIP="@:"
6451 -+ if test "$with_symbols" = "no" -a "$with_profiling" != "yes" \
6452 - -a "$with_strip" = "yes" ; then
6453 - LDFLAGS="-s $LDFLAGS"
6454 - fi
6455 -@@ -5424,11 +6705,19 @@
6456 - LDFLAGS="-flat_namespace $LDFLAGS"
6457 -
6458 - if test "$with_ncbi_public" = yes; then
6459 -+ sdks='/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk'
6460 -+ case "$host_os" in
6461 -+ darwin?.* | darwin10.* ) # Mac OS X 10.6.x or older
6462 - TARGET='-mmacosx-version-min=10.5'
6463 -- sdks='/Developer/SDKs/MacOSX10.6.sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk'
6464 -+ sdks="/Developer/SDKs/MacOSX10.6.sdk"
6465 - if test "$with_64:${with_universal-no}" != "yes:no"; then
6466 - sdks="/Developer/SDKs/MacOSX10.5.sdk $sdks"
6467 - fi
6468 -+ ;;
6469 -+ * )
6470 -+ TARGET='-mmacosx-version-min=10.7'
6471 -+ ;;
6472 -+ esac
6473 - for sdk in $sdks; do
6474 - if test -d "$sdk"; then
6475 - TARGET="-isysroot $sdk $TARGET"
6476 -@@ -5494,7 +6783,7 @@
6477 - echo "$as_me: WARNING: Proceeding without questions per --without-caution" >&2;} ;;
6478 - * )
6479 - echo "Do you still want to proceed (at your own risk)? [y/N]"
6480 -- read answer
6481 -+ read answer <& 7
6482 - case "$answer" in
6483 - [Yy]* ) { echo "$as_me:$LINENO: WARNING: Proceeding at your own risk..." >&5
6484 - echo "$as_me: WARNING: Proceeding at your own risk..." >&2;} ;;
6485 -@@ -5698,8 +6987,8 @@
6486 - C_LIBS="$MATH_LIBS $C_LIBS"
6487 -
6488 - if test -n "$with_64"; then
6489 -- echo "$as_me:$LINENO: checking whether this system supports --with(out)-64" >&5
6490 --echo $ECHO_N "checking whether this system supports --with(out)-64... $ECHO_C" >&6
6491 -+ { echo "$as_me:$LINENO: checking whether this system supports --with(out)-64" >&5
6492 -+echo $ECHO_N "checking whether this system supports --with(out)-64... $ECHO_C" >&6; }
6493 - if test "${ncbi_cv_sys_with64_ok+set}" = set; then
6494 - echo $ECHO_N "(cached) $ECHO_C" >&6
6495 - else
6496 -@@ -5720,24 +7009,36 @@
6497 - }
6498 - _ACEOF
6499 - rm -f conftest.$ac_objext conftest$ac_exeext
6500 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6501 -- (eval $ac_link) 2>conftest.er1
6502 -+if { (ac_try="$ac_link"
6503 -+case "(($ac_try" in
6504 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6505 -+ *) ac_try_echo=$ac_try;;
6506 -+esac
6507 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6508 -+ (eval "$ac_link") 2>conftest.er1
6509 - ac_status=$?
6510 - grep -v '^ *+' conftest.er1 >conftest.err
6511 - rm -f conftest.er1
6512 - cat conftest.err >&5
6513 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6514 - (exit $ac_status); } &&
6515 -- { ac_try='test -z "$ac_cxx_werror_flag"
6516 -- || test ! -s conftest.err'
6517 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6518 -- (eval $ac_try) 2>&5
6519 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6520 -+ { (case "(($ac_try" in
6521 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6522 -+ *) ac_try_echo=$ac_try;;
6523 -+esac
6524 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6525 -+ (eval "$ac_try") 2>&5
6526 - ac_status=$?
6527 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6528 - (exit $ac_status); }; } &&
6529 - { ac_try='test -s conftest$ac_exeext'
6530 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6531 -- (eval $ac_try) 2>&5
6532 -+ { (case "(($ac_try" in
6533 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6534 -+ *) ac_try_echo=$ac_try;;
6535 -+esac
6536 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6537 -+ (eval "$ac_try") 2>&5
6538 - ac_status=$?
6539 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540 - (exit $ac_status); }; }; then
6541 -@@ -5748,11 +7049,12 @@
6542 -
6543 - ncbi_cv_sys_with64_ok=no
6544 - fi
6545 --rm -f conftest.err conftest.$ac_objext \
6546 -+
6547 -+rm -f core conftest.err conftest.$ac_objext \
6548 - conftest$ac_exeext conftest.$ac_ext
6549 - fi
6550 --echo "$as_me:$LINENO: result: $ncbi_cv_sys_with64_ok" >&5
6551 --echo "${ECHO_T}$ncbi_cv_sys_with64_ok" >&6
6552 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_sys_with64_ok" >&5
6553 -+echo "${ECHO_T}$ncbi_cv_sys_with64_ok" >&6; }
6554 - if test "$ncbi_cv_sys_with64_ok" = no; then
6555 - { { echo "$as_me:$LINENO: error: cannot continue; please try different options" >&5
6556 - echo "$as_me: error: cannot continue; please try different options" >&2;}
6557 -@@ -5784,8 +7086,8 @@
6558 - ;;
6559 - GCC:* )
6560 - DEF_FAST_FLAGS="-O3 -finline-functions -fstrict-aliasing"
6561 -- case "$host_os" in
6562 -- freebsd* ) ;;
6563 -+ case "$host_os:$host_cpu:$compiler_version" in
6564 -+ freebsd* | solaris*:*86*:* | *:4[5-9]? | *:[5-9]?? ) ;;
6565 - * ) DEF_FAST_FLAGS="$DEF_FAST_FLAGS -ffast-math" ;;
6566 - esac
6567 - if test "$with_profiling" != "yes"; then
6568 -@@ -5884,13 +7186,9 @@
6569 - solaris* )
6570 - CONF_f_runpath="-R"
6571 - ;;
6572 -- linux*:GCC | *bsd*:GCC | cygwin*:GCC | osf*:GCC )
6573 -+ linux*:[GI]CC | *bsd*:GCC | cygwin*:GCC | osf*:GCC )
6574 - CONF_f_runpath="-Wl,-rpath,"
6575 - ;;
6576 -- linux*:ICC )
6577 -- # trying to use "-Wl,-rpath," here sends "ld" to endless 100% CPU loop
6578 -- CONF_f_runpath="-Xlinker -rpath -Xlinker "
6579 -- ;;
6580 - irix*:* | linux*:KCC | *:Compaq )
6581 - CONF_f_runpath="-rpath "
6582 - ;;
6583 -@@ -5995,8 +7293,11 @@
6584 - LINK="$LINK -Kc++"
6585 - ;;
6586 - ICC:1???:* )
6587 -- APP_LDFLAGS="-static-intel $APP_LDFLAGS"
6588 -- DLL_LDFLAGS="-static-intel -nodefaultlibs $DLL_LDFLAGS"
6589 -+ # Suppress "warning #10237: -lcilkrts linked in dynamically, static
6590 -+ # library not available" which is not a problem in practice due to
6591 -+ # as-needed linkage.
6592 -+ APP_LDFLAGS="-static-intel -diag-disable 10237 $APP_LDFLAGS"
6593 -+ DLL_LDFLAGS="-static-intel -diag-disable 10237 -nodefaultlibs $DLL_LDFLAGS"
6594 - # Redundant for apps, but necessary for plugins to be adequately
6595 - # self-contained, at least on 32-bit Linux.
6596 - LIBS="$LIBS -lstdc++"
6597 -@@ -6043,7 +7344,7 @@
6598 - echo "$as_me: WARNING: Proceeding without questions per --without-caution" >&2;} ;;
6599 - * )
6600 - echo "Do you still want to try build DLLs (at your own risk)? [y/N]"
6601 -- read answer
6602 -+ read answer <& 7
6603 - case "$answer" in
6604 - [Yy]* ) { echo "$as_me:$LINENO: WARNING: Proceeding at your own risk..." >&5
6605 - echo "$as_me: WARNING: Proceeding at your own risk..." >&2;} ;;
6606 -@@ -6138,18 +7439,6 @@
6607 -
6608 - #### Intel compiler:: common flags and definitions
6609 - if test "$compiler" = "ICC" ; then
6610 -- if test -d /usr/local/gcc; then
6611 -- case "$compiler_version:$HOST_CPU" in
6612 -- *:i?86) v=4.4.5 ;;
6613 -- ???:* | 1[01]??:* ) v=4.0.1 ;;
6614 -- *) v=4.4.2 ;;
6615 -- esac
6616 -- gcc=/usr/local/gcc/$v/bin/gcc
6617 -- if test -x $gcc; then
6618 -- CC="$CC -gcc-name=$gcc"
6619 -- CXX="$CXX -gcc-name=$gcc"
6620 -- fi
6621 -- fi
6622 - if test -n "$icc_license" ; then
6623 - icc_CC="$CC"
6624 - icc_CXX="$CXX"
6625 -@@ -6188,8 +7477,8 @@
6626 - GCCPCH="#"
6627 - if test "$compiler" = GCC -a "$with_pch" = "yes" \
6628 - -a "${with_universal-no}" = "no"; then
6629 -- echo "$as_me:$LINENO: checking whether $CXX supports precompiled headers" >&5
6630 --echo $ECHO_N "checking whether $CXX supports precompiled headers... $ECHO_C" >&6
6631 -+ { echo "$as_me:$LINENO: checking whether $CXX supports precompiled headers" >&5
6632 -+echo $ECHO_N "checking whether $CXX supports precompiled headers... $ECHO_C" >&6; }
6633 - if test "${ncbi_cv_cxx_pch+set}" = set; then
6634 - echo $ECHO_N "(cached) $ECHO_C" >&6
6635 - else
6636 -@@ -6202,8 +7491,8 @@
6637 - ncbi_cv_cxx_pch=no
6638 - fi
6639 - fi
6640 --echo "$as_me:$LINENO: result: $ncbi_cv_cxx_pch" >&5
6641 --echo "${ECHO_T}$ncbi_cv_cxx_pch" >&6
6642 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_cxx_pch" >&5
6643 -+echo "${ECHO_T}$ncbi_cv_cxx_pch" >&6; }
6644 - if test "$ncbi_cv_cxx_pch" = "yes"; then
6645 - if test "$Rules" = "rules"; then
6646 - { echo "$as_me:$LINENO: WARNING: Your version of make does not fully support PCH-related dependencies." >&5
6647 -@@ -6216,22 +7505,22 @@
6648 -
6649 -
6650 - #### Tools
6651 --echo "$as_me:$LINENO: checking whether ln -s works" >&5
6652 --echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
6653 -+{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
6654 -+echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6655 - LN_S=$as_ln_s
6656 - if test "$LN_S" = "ln -s"; then
6657 -- echo "$as_me:$LINENO: result: yes" >&5
6658 --echo "${ECHO_T}yes" >&6
6659 -+ { echo "$as_me:$LINENO: result: yes" >&5
6660 -+echo "${ECHO_T}yes" >&6; }
6661 - else
6662 -- echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6663 --echo "${ECHO_T}no, using $LN_S" >&6
6664 -+ { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6665 -+echo "${ECHO_T}no, using $LN_S" >&6; }
6666 - fi
6667 -
6668 - if test -n "$ac_tool_prefix"; then
6669 - # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6670 - set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6671 --echo "$as_me:$LINENO: checking for $ac_word" >&5
6672 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6673 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6674 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6675 - if test "${ac_cv_prog_RANLIB+set}" = set; then
6676 - echo $ECHO_N "(cached) $ECHO_C" >&6
6677 - else
6678 -@@ -6244,32 +7533,34 @@
6679 - IFS=$as_save_IFS
6680 - test -z "$as_dir" && as_dir=.
6681 - for ac_exec_ext in '' $ac_executable_extensions; do
6682 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6683 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6684 - ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6685 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6686 - break 2
6687 - fi
6688 - done
6689 - done
6690 -+IFS=$as_save_IFS
6691 -
6692 - fi
6693 - fi
6694 - RANLIB=$ac_cv_prog_RANLIB
6695 - if test -n "$RANLIB"; then
6696 -- echo "$as_me:$LINENO: result: $RANLIB" >&5
6697 --echo "${ECHO_T}$RANLIB" >&6
6698 -+ { echo "$as_me:$LINENO: result: $RANLIB" >&5
6699 -+echo "${ECHO_T}$RANLIB" >&6; }
6700 - else
6701 -- echo "$as_me:$LINENO: result: no" >&5
6702 --echo "${ECHO_T}no" >&6
6703 -+ { echo "$as_me:$LINENO: result: no" >&5
6704 -+echo "${ECHO_T}no" >&6; }
6705 - fi
6706 -
6707 -+
6708 - fi
6709 - if test -z "$ac_cv_prog_RANLIB"; then
6710 - ac_ct_RANLIB=$RANLIB
6711 - # Extract the first word of "ranlib", so it can be a program name with args.
6712 - set dummy ranlib; ac_word=$2
6713 --echo "$as_me:$LINENO: checking for $ac_word" >&5
6714 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6715 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6716 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6717 - if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6718 - echo $ECHO_N "(cached) $ECHO_C" >&6
6719 - else
6720 -@@ -6282,35 +7573,49 @@
6721 - IFS=$as_save_IFS
6722 - test -z "$as_dir" && as_dir=.
6723 - for ac_exec_ext in '' $ac_executable_extensions; do
6724 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6725 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6726 - ac_cv_prog_ac_ct_RANLIB="ranlib"
6727 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6728 - break 2
6729 - fi
6730 - done
6731 - done
6732 -+IFS=$as_save_IFS
6733 -
6734 -- test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
6735 - fi
6736 - fi
6737 - ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6738 - if test -n "$ac_ct_RANLIB"; then
6739 -- echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6740 --echo "${ECHO_T}$ac_ct_RANLIB" >&6
6741 -+ { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6742 -+echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6743 - else
6744 -- echo "$as_me:$LINENO: result: no" >&5
6745 --echo "${ECHO_T}no" >&6
6746 -+ { echo "$as_me:$LINENO: result: no" >&5
6747 -+echo "${ECHO_T}no" >&6; }
6748 - fi
6749 -
6750 -+ if test "x$ac_ct_RANLIB" = x; then
6751 -+ RANLIB=":"
6752 -+ else
6753 -+ case $cross_compiling:$ac_tool_warned in
6754 -+yes:)
6755 -+{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6756 -+whose name does not start with the host triplet. If you think this
6757 -+configuration is useful to you, please write to autoconf@×××.org." >&5
6758 -+echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6759 -+whose name does not start with the host triplet. If you think this
6760 -+configuration is useful to you, please write to autoconf@×××.org." >&2;}
6761 -+ac_tool_warned=yes ;;
6762 -+esac
6763 - RANLIB=$ac_ct_RANLIB
6764 -+ fi
6765 - else
6766 - RANLIB="$ac_cv_prog_RANLIB"
6767 - fi
6768 -
6769 - # Extract the first word of "ar", so it can be a program name with args.
6770 - set dummy ar; ac_word=$2
6771 --echo "$as_me:$LINENO: checking for $ac_word" >&5
6772 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6773 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6774 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6775 - if test "${ac_cv_prog_AR+set}" = set; then
6776 - echo $ECHO_N "(cached) $ECHO_C" >&6
6777 - else
6778 -@@ -6323,29 +7628,31 @@
6779 - IFS=$as_save_IFS
6780 - test -z "$as_dir" && as_dir=.
6781 - for ac_exec_ext in '' $ac_executable_extensions; do
6782 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6783 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6784 - ac_cv_prog_AR="ar cr"
6785 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6786 - break 2
6787 - fi
6788 - done
6789 - done
6790 -+IFS=$as_save_IFS
6791 -
6792 - test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ErrorCannotFind_AR"
6793 - fi
6794 - fi
6795 - AR=$ac_cv_prog_AR
6796 - if test -n "$AR"; then
6797 -- echo "$as_me:$LINENO: result: $AR" >&5
6798 --echo "${ECHO_T}$AR" >&6
6799 -+ { echo "$as_me:$LINENO: result: $AR" >&5
6800 -+echo "${ECHO_T}$AR" >&6; }
6801 - else
6802 -- echo "$as_me:$LINENO: result: no" >&5
6803 --echo "${ECHO_T}no" >&6
6804 -+ { echo "$as_me:$LINENO: result: no" >&5
6805 -+echo "${ECHO_T}no" >&6; }
6806 - fi
6807 -
6808 -+
6809 - if test "x$RANLIB" != "x:"; then
6810 -- echo "$as_me:$LINENO: checking ranlib's effectiveness" >&5
6811 --echo $ECHO_N "checking ranlib's effectiveness... $ECHO_C" >&6
6812 -+ { echo "$as_me:$LINENO: checking ranlib's effectiveness" >&5
6813 -+echo $ECHO_N "checking ranlib's effectiveness... $ECHO_C" >&6; }
6814 - if test "${ncbi_cv_prog_ranlib_effect+set}" = set; then
6815 - echo $ECHO_N "(cached) $ECHO_C" >&6
6816 - else
6817 -@@ -6379,24 +7686,36 @@
6818 - }
6819 - _ACEOF
6820 - rm -f conftest.$ac_objext conftest$ac_exeext
6821 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6822 -- (eval $ac_link) 2>conftest.er1
6823 -+if { (ac_try="$ac_link"
6824 -+case "(($ac_try" in
6825 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6826 -+ *) ac_try_echo=$ac_try;;
6827 -+esac
6828 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6829 -+ (eval "$ac_link") 2>conftest.er1
6830 - ac_status=$?
6831 - grep -v '^ *+' conftest.er1 >conftest.err
6832 - rm -f conftest.er1
6833 - cat conftest.err >&5
6834 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6835 - (exit $ac_status); } &&
6836 -- { ac_try='test -z "$ac_cxx_werror_flag"
6837 -- || test ! -s conftest.err'
6838 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6839 -- (eval $ac_try) 2>&5
6840 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6841 -+ { (case "(($ac_try" in
6842 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6843 -+ *) ac_try_echo=$ac_try;;
6844 -+esac
6845 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6846 -+ (eval "$ac_try") 2>&5
6847 - ac_status=$?
6848 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6849 - (exit $ac_status); }; } &&
6850 - { ac_try='test -s conftest$ac_exeext'
6851 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6852 -- (eval $ac_try) 2>&5
6853 -+ { (case "(($ac_try" in
6854 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6855 -+ *) ac_try_echo=$ac_try;;
6856 -+esac
6857 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6858 -+ (eval "$ac_try") 2>&5
6859 - ac_status=$?
6860 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6861 - (exit $ac_status); }; }; then
6862 -@@ -6407,7 +7726,8 @@
6863 -
6864 - ok_without=false
6865 - fi
6866 --rm -f conftest.err conftest.$ac_objext \
6867 -+
6868 -+rm -f core conftest.err conftest.$ac_objext \
6869 - conftest$ac_exeext conftest.$ac_ext
6870 - echo $RANLIB conftest.a >&5
6871 - $RANLIB conftest.a >&5
6872 -@@ -6427,24 +7747,36 @@
6873 - }
6874 - _ACEOF
6875 - rm -f conftest.$ac_objext conftest$ac_exeext
6876 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6877 -- (eval $ac_link) 2>conftest.er1
6878 -+if { (ac_try="$ac_link"
6879 -+case "(($ac_try" in
6880 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6881 -+ *) ac_try_echo=$ac_try;;
6882 -+esac
6883 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6884 -+ (eval "$ac_link") 2>conftest.er1
6885 - ac_status=$?
6886 - grep -v '^ *+' conftest.er1 >conftest.err
6887 - rm -f conftest.er1
6888 - cat conftest.err >&5
6889 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6890 - (exit $ac_status); } &&
6891 -- { ac_try='test -z "$ac_cxx_werror_flag"
6892 -- || test ! -s conftest.err'
6893 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6894 -- (eval $ac_try) 2>&5
6895 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6896 -+ { (case "(($ac_try" in
6897 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6898 -+ *) ac_try_echo=$ac_try;;
6899 -+esac
6900 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6901 -+ (eval "$ac_try") 2>&5
6902 - ac_status=$?
6903 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6904 - (exit $ac_status); }; } &&
6905 - { ac_try='test -s conftest$ac_exeext'
6906 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907 -- (eval $ac_try) 2>&5
6908 -+ { (case "(($ac_try" in
6909 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6910 -+ *) ac_try_echo=$ac_try;;
6911 -+esac
6912 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6913 -+ (eval "$ac_try") 2>&5
6914 - ac_status=$?
6915 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6916 - (exit $ac_status); }; }; then
6917 -@@ -6455,7 +7787,8 @@
6918 -
6919 - ok_with=false
6920 - fi
6921 --rm -f conftest.err conftest.$ac_objext \
6922 -+
6923 -+rm -f core conftest.err conftest.$ac_objext \
6924 - conftest$ac_exeext conftest.$ac_ext
6925 - LIBS=$save_LIBS
6926 - case $ok_with:$ok_without in
6927 -@@ -6466,8 +7799,8 @@
6928 - esac
6929 -
6930 - fi
6931 --echo "$as_me:$LINENO: result: $ncbi_cv_prog_ranlib_effect" >&5
6932 --echo "${ECHO_T}$ncbi_cv_prog_ranlib_effect" >&6
6933 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_prog_ranlib_effect" >&5
6934 -+echo "${ECHO_T}$ncbi_cv_prog_ranlib_effect" >&6; }
6935 - case "$ncbi_cv_prog_ranlib_effect" in
6936 - negative) RANLIB=: ;;
6937 - unknown)
6938 -@@ -6479,8 +7812,8 @@
6939 - if test "$with_strip" = yes; then
6940 - # Extract the first word of "strip", so it can be a program name with args.
6941 - set dummy strip; ac_word=$2
6942 --echo "$as_me:$LINENO: checking for $ac_word" >&5
6943 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6944 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6945 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6946 - if test "${ac_cv_prog_STRIP+set}" = set; then
6947 - echo $ECHO_N "(cached) $ECHO_C" >&6
6948 - else
6949 -@@ -6493,28 +7826,30 @@
6950 - IFS=$as_save_IFS
6951 - test -z "$as_dir" && as_dir=.
6952 - for ac_exec_ext in '' $ac_executable_extensions; do
6953 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6954 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6955 - ac_cv_prog_STRIP="strip"
6956 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6957 - break 2
6958 - fi
6959 - done
6960 - done
6961 -+IFS=$as_save_IFS
6962 -
6963 - test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP="@:"
6964 - fi
6965 - fi
6966 - STRIP=$ac_cv_prog_STRIP
6967 - if test -n "$STRIP"; then
6968 -- echo "$as_me:$LINENO: result: $STRIP" >&5
6969 --echo "${ECHO_T}$STRIP" >&6
6970 -+ { echo "$as_me:$LINENO: result: $STRIP" >&5
6971 -+echo "${ECHO_T}$STRIP" >&6; }
6972 - else
6973 -- echo "$as_me:$LINENO: result: no" >&5
6974 --echo "${ECHO_T}no" >&6
6975 -+ { echo "$as_me:$LINENO: result: no" >&5
6976 -+echo "${ECHO_T}no" >&6; }
6977 - fi
6978 -
6979 -- echo "$as_me:$LINENO: checking whether strip loses runtime type information" >&5
6980 --echo $ECHO_N "checking whether strip loses runtime type information... $ECHO_C" >&6
6981 -+
6982 -+ { echo "$as_me:$LINENO: checking whether strip loses runtime type information" >&5
6983 -+echo $ECHO_N "checking whether strip loses runtime type information... $ECHO_C" >&6; }
6984 - if test "${ncbi_cv_strip_loses_rtti+set}" = set; then
6985 - echo $ECHO_N "(cached) $ECHO_C" >&6
6986 - else
6987 -@@ -6555,8 +7890,8 @@
6988 - rm -rf conftest*
6989 - fi
6990 - fi
6991 --echo "$as_me:$LINENO: result: $ncbi_cv_strip_loses_rtti" >&5
6992 --echo "${ECHO_T}$ncbi_cv_strip_loses_rtti" >&6
6993 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_strip_loses_rtti" >&5
6994 -+echo "${ECHO_T}$ncbi_cv_strip_loses_rtti" >&6; }
6995 - if test "$ncbi_cv_strip_loses_rtti" = "yes"; then
6996 - case "$with_caution" in
6997 - yes )
6998 -@@ -6568,7 +7903,7 @@
6999 - echo "$as_me: WARNING: Proceeding without questions per --without-caution" >&2;} ;;
7000 - * )
7001 - echo "Do you still want to proceed (at your own risk)? [y/N]"
7002 -- read answer
7003 -+ read answer <& 7
7004 - case "$answer" in
7005 - [Yy]* ) { echo "$as_me:$LINENO: WARNING: Proceeding at your own risk..." >&5
7006 - echo "$as_me: WARNING: Proceeding at your own risk..." >&2;} ;;
7007 -@@ -6595,8 +7930,8 @@
7008 - if test "$with_distcc" = "yes" ; then
7009 - # Extract the first word of "distcc", so it can be a program name with args.
7010 - set dummy distcc; ac_word=$2
7011 --echo "$as_me:$LINENO: checking for $ac_word" >&5
7012 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7013 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7014 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7015 - if test "${ac_cv_prog_DISTCC+set}" = set; then
7016 - echo $ECHO_N "(cached) $ECHO_C" >&6
7017 - else
7018 -@@ -6609,25 +7944,27 @@
7019 - IFS=$as_save_IFS
7020 - test -z "$as_dir" && as_dir=.
7021 - for ac_exec_ext in '' $ac_executable_extensions; do
7022 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7023 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7024 - ac_cv_prog_DISTCC="distcc"
7025 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7026 - break 2
7027 - fi
7028 - done
7029 - done
7030 -+IFS=$as_save_IFS
7031 -
7032 - fi
7033 - fi
7034 - DISTCC=$ac_cv_prog_DISTCC
7035 - if test -n "$DISTCC"; then
7036 -- echo "$as_me:$LINENO: result: $DISTCC" >&5
7037 --echo "${ECHO_T}$DISTCC" >&6
7038 -+ { echo "$as_me:$LINENO: result: $DISTCC" >&5
7039 -+echo "${ECHO_T}$DISTCC" >&6; }
7040 - else
7041 -- echo "$as_me:$LINENO: result: no" >&5
7042 --echo "${ECHO_T}no" >&6
7043 -+ { echo "$as_me:$LINENO: result: no" >&5
7044 -+echo "${ECHO_T}no" >&6; }
7045 - fi
7046 -
7047 -+
7048 - if test -n "$DISTCC" ; then
7049 - # Test distcc reasonably thoroughly to avoid possible gotchas.
7050 - cat > distcctest.c << EOF
7051 -@@ -6640,8 +7977,8 @@
7052 - EOF
7053 - DISTCC_FALLBACK=0
7054 - export DISTCC_FALLBACK
7055 -- echo "$as_me:$LINENO: checking whether any distcc servers are available" >&5
7056 --echo $ECHO_N "checking whether any distcc servers are available... $ECHO_C" >&6
7057 -+ { echo "$as_me:$LINENO: checking whether any distcc servers are available" >&5
7058 -+echo $ECHO_N "checking whether any distcc servers are available... $ECHO_C" >&6; }
7059 - if test "${ncbi_cv_prog_distcc_servers+set}" = set; then
7060 - echo $ECHO_N "(cached) $ECHO_C" >&6
7061 - else
7062 -@@ -6660,14 +7997,14 @@
7063 - ncbi_cv_prog_distcc_servers=yes ;;
7064 - esac
7065 - fi
7066 --echo "$as_me:$LINENO: result: $ncbi_cv_prog_distcc_servers" >&5
7067 --echo "${ECHO_T}$ncbi_cv_prog_distcc_servers" >&6
7068 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_prog_distcc_servers" >&5
7069 -+echo "${ECHO_T}$ncbi_cv_prog_distcc_servers" >&6; }
7070 - if test "$ncbi_cv_prog_distcc_servers" = no; then
7071 - $as_unset DISTCC || test "${DISTCC+set}" != set || { DISTCC=; export DISTCC; }
7072 - fi
7073 - if test -n "$DISTCC" ; then
7074 -- echo "$as_me:$LINENO: checking whether $DISTCC is compatible with $CC" >&5
7075 --echo $ECHO_N "checking whether $DISTCC is compatible with $CC... $ECHO_C" >&6
7076 -+ { echo "$as_me:$LINENO: checking whether $DISTCC is compatible with $CC" >&5
7077 -+echo $ECHO_N "checking whether $DISTCC is compatible with $CC... $ECHO_C" >&6; }
7078 - if test "${ncbi_cv_prog_distcc_vs_cc+set}" = set; then
7079 - echo $ECHO_N "(cached) $ECHO_C" >&6
7080 - else
7081 -@@ -6677,8 +8014,8 @@
7082 - ncbi_cv_prog_distcc_vs_cc=no
7083 - fi
7084 - fi
7085 --echo "$as_me:$LINENO: result: $ncbi_cv_prog_distcc_vs_cc" >&5
7086 --echo "${ECHO_T}$ncbi_cv_prog_distcc_vs_cc" >&6
7087 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_prog_distcc_vs_cc" >&5
7088 -+echo "${ECHO_T}$ncbi_cv_prog_distcc_vs_cc" >&6; }
7089 - if test "$ncbi_cv_prog_distcc_vs_cc" = yes; then
7090 - CC_WRAPPER="$DISTCC $CC_WRAPPER"
7091 - else
7092 -@@ -6686,8 +8023,8 @@
7093 - fi
7094 - fi
7095 - if test -n "$DISTCC" ; then
7096 -- echo "$as_me:$LINENO: checking whether $DISTCC is compatible with $CXX" >&5
7097 --echo $ECHO_N "checking whether $DISTCC is compatible with $CXX... $ECHO_C" >&6
7098 -+ { echo "$as_me:$LINENO: checking whether $DISTCC is compatible with $CXX" >&5
7099 -+echo $ECHO_N "checking whether $DISTCC is compatible with $CXX... $ECHO_C" >&6; }
7100 - if test "${ncbi_cv_prog_distcc_vs_cxx+set}" = set; then
7101 - echo $ECHO_N "(cached) $ECHO_C" >&6
7102 - else
7103 -@@ -6698,8 +8035,8 @@
7104 - ncbi_cv_prog_distcc_vs_cxx=no
7105 - fi
7106 - fi
7107 --echo "$as_me:$LINENO: result: $ncbi_cv_prog_distcc_vs_cxx" >&5
7108 --echo "${ECHO_T}$ncbi_cv_prog_distcc_vs_cxx" >&6
7109 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_prog_distcc_vs_cxx" >&5
7110 -+echo "${ECHO_T}$ncbi_cv_prog_distcc_vs_cxx" >&6; }
7111 - if test "$ncbi_cv_prog_distcc_vs_cxx" = yes; then
7112 - CXX_WRAPPER="$DISTCC $CXX_WRAPPER"
7113 - else
7114 -@@ -6725,8 +8062,8 @@
7115 - if test "$with_ccache" != "no"; then
7116 - # Extract the first word of "ccache", so it can be a program name with args.
7117 - set dummy ccache; ac_word=$2
7118 --echo "$as_me:$LINENO: checking for $ac_word" >&5
7119 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7120 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7121 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7122 - if test "${ac_cv_prog_CCACHE+set}" = set; then
7123 - echo $ECHO_N "(cached) $ECHO_C" >&6
7124 - else
7125 -@@ -6739,25 +8076,27 @@
7126 - IFS=$as_save_IFS
7127 - test -z "$as_dir" && as_dir=.
7128 - for ac_exec_ext in '' $ac_executable_extensions; do
7129 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7130 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7131 - ac_cv_prog_CCACHE="ccache"
7132 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7133 - break 2
7134 - fi
7135 - done
7136 - done
7137 -+IFS=$as_save_IFS
7138 -
7139 - fi
7140 - fi
7141 - CCACHE=$ac_cv_prog_CCACHE
7142 - if test -n "$CCACHE"; then
7143 -- echo "$as_me:$LINENO: result: $CCACHE" >&5
7144 --echo "${ECHO_T}$CCACHE" >&6
7145 -+ { echo "$as_me:$LINENO: result: $CCACHE" >&5
7146 -+echo "${ECHO_T}$CCACHE" >&6; }
7147 - else
7148 -- echo "$as_me:$LINENO: result: no" >&5
7149 --echo "${ECHO_T}no" >&6
7150 -+ { echo "$as_me:$LINENO: result: no" >&5
7151 -+echo "${ECHO_T}no" >&6; }
7152 - fi
7153 -
7154 -+
7155 - if test -n "$CCACHE" ; then
7156 - if test -n "$CC_WRAPPER"; then
7157 - CC_WRAPPER="CCACHE_PREFIX=$CC_WRAPPER $CCACHE"
7158 -@@ -6778,8 +8117,8 @@
7159 - # Note the path, since syntax is version-specific....
7160 - # Extract the first word of "tail", so it can be a program name with args.
7161 - set dummy tail; ac_word=$2
7162 --echo "$as_me:$LINENO: checking for $ac_word" >&5
7163 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7164 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7165 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7166 - if test "${ac_cv_path_TAIL+set}" = set; then
7167 - echo $ECHO_N "(cached) $ECHO_C" >&6
7168 - else
7169 -@@ -6794,43 +8133,44 @@
7170 - IFS=$as_save_IFS
7171 - test -z "$as_dir" && as_dir=.
7172 - for ac_exec_ext in '' $ac_executable_extensions; do
7173 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7174 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7175 - ac_cv_path_TAIL="$as_dir/$ac_word$ac_exec_ext"
7176 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7177 - break 2
7178 - fi
7179 - done
7180 - done
7181 -+IFS=$as_save_IFS
7182 -
7183 - ;;
7184 - esac
7185 - fi
7186 - TAIL=$ac_cv_path_TAIL
7187 --
7188 - if test -n "$TAIL"; then
7189 -- echo "$as_me:$LINENO: result: $TAIL" >&5
7190 --echo "${ECHO_T}$TAIL" >&6
7191 -+ { echo "$as_me:$LINENO: result: $TAIL" >&5
7192 -+echo "${ECHO_T}$TAIL" >&6; }
7193 - else
7194 -- echo "$as_me:$LINENO: result: no" >&5
7195 --echo "${ECHO_T}no" >&6
7196 -+ { echo "$as_me:$LINENO: result: no" >&5
7197 -+echo "${ECHO_T}no" >&6; }
7198 - fi
7199 -
7200 --echo "$as_me:$LINENO: checking whether $TAIL accepts modern syntax (-n N)" >&5
7201 --echo $ECHO_N "checking whether $TAIL accepts modern syntax (-n N)... $ECHO_C" >&6
7202 -+
7203 -+{ echo "$as_me:$LINENO: checking whether $TAIL accepts modern syntax (-n N)" >&5
7204 -+echo $ECHO_N "checking whether $TAIL accepts modern syntax (-n N)... $ECHO_C" >&6; }
7205 - if $TAIL -n 1 config.log >/dev/null 2>&1; then
7206 - TAIL_N="$TAIL -n "
7207 -- echo "$as_me:$LINENO: result: yes" >&5
7208 --echo "${ECHO_T}yes" >&6
7209 -+ { echo "$as_me:$LINENO: result: yes" >&5
7210 -+echo "${ECHO_T}yes" >&6; }
7211 - else
7212 - TAIL_N="$TAIL -"
7213 -- echo "$as_me:$LINENO: result: no" >&5
7214 --echo "${ECHO_T}no" >&6
7215 -+ { echo "$as_me:$LINENO: result: no" >&5
7216 -+echo "${ECHO_T}no" >&6; }
7217 - fi
7218 -
7219 - # Extract the first word of "touch", so it can be a program name with args.
7220 - set dummy touch; ac_word=$2
7221 --echo "$as_me:$LINENO: checking for $ac_word" >&5
7222 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7223 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7224 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7225 - if test "${ac_cv_path_TOUCH+set}" = set; then
7226 - echo $ECHO_N "(cached) $ECHO_C" >&6
7227 - else
7228 -@@ -6846,44 +8186,192 @@
7229 - IFS=$as_save_IFS
7230 - test -z "$as_dir" && as_dir=.
7231 - for ac_exec_ext in '' $ac_executable_extensions; do
7232 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7233 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7234 - ac_cv_path_TOUCH="$as_dir/$ac_word$ac_exec_ext"
7235 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7236 - break 2
7237 - fi
7238 - done
7239 - done
7240 -+IFS=$as_save_IFS
7241 -
7242 - ;;
7243 - esac
7244 - fi
7245 - TOUCH=$ac_cv_path_TOUCH
7246 --
7247 - if test -n "$TOUCH"; then
7248 -- echo "$as_me:$LINENO: result: $TOUCH" >&5
7249 --echo "${ECHO_T}$TOUCH" >&6
7250 -+ { echo "$as_me:$LINENO: result: $TOUCH" >&5
7251 -+echo "${ECHO_T}$TOUCH" >&6; }
7252 -+else
7253 -+ { echo "$as_me:$LINENO: result: no" >&5
7254 -+echo "${ECHO_T}no" >&6; }
7255 -+fi
7256 -+
7257 -+
7258 -+{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
7259 -+echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
7260 -+if test "${ac_cv_path_GREP+set}" = set; then
7261 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
7262 -+else
7263 -+ # Extract the first word of "grep ggrep" to use in msg output
7264 -+if test -z "$GREP"; then
7265 -+set dummy grep ggrep; ac_prog_name=$2
7266 -+if test "${ac_cv_path_GREP+set}" = set; then
7267 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
7268 -+else
7269 -+ ac_path_GREP_found=false
7270 -+# Loop through the user's path and test for each of PROGNAME-LIST
7271 -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7272 -+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7273 -+do
7274 -+ IFS=$as_save_IFS
7275 -+ test -z "$as_dir" && as_dir=.
7276 -+ for ac_prog in grep ggrep; do
7277 -+ for ac_exec_ext in '' $ac_executable_extensions; do
7278 -+ ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
7279 -+ { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
7280 -+ # Check for GNU ac_path_GREP and select it if it is found.
7281 -+ # Check for GNU $ac_path_GREP
7282 -+case `"$ac_path_GREP" --version 2>&1` in
7283 -+*GNU*)
7284 -+ ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
7285 -+*)
7286 -+ ac_count=0
7287 -+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7288 -+ while :
7289 -+ do
7290 -+ cat "conftest.in" "conftest.in" >"conftest.tmp"
7291 -+ mv "conftest.tmp" "conftest.in"
7292 -+ cp "conftest.in" "conftest.nl"
7293 -+ echo 'GREP' >> "conftest.nl"
7294 -+ "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7295 -+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7296 -+ ac_count=`expr $ac_count + 1`
7297 -+ if test $ac_count -gt ${ac_path_GREP_max-0}; then
7298 -+ # Best one so far, save it but keep looking for a better one
7299 -+ ac_cv_path_GREP="$ac_path_GREP"
7300 -+ ac_path_GREP_max=$ac_count
7301 -+ fi
7302 -+ # 10*(2^10) chars as input seems more than enough
7303 -+ test $ac_count -gt 10 && break
7304 -+ done
7305 -+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7306 -+esac
7307 -+
7308 -+
7309 -+ $ac_path_GREP_found && break 3
7310 -+ done
7311 -+done
7312 -+
7313 -+done
7314 -+IFS=$as_save_IFS
7315 -+
7316 -+
7317 -+fi
7318 -+
7319 -+GREP="$ac_cv_path_GREP"
7320 -+if test -z "$GREP"; then
7321 -+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7322 -+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7323 -+ { (exit 1); exit 1; }; }
7324 -+fi
7325 -+
7326 - else
7327 -- echo "$as_me:$LINENO: result: no" >&5
7328 --echo "${ECHO_T}no" >&6
7329 -+ ac_cv_path_GREP=$GREP
7330 -+fi
7331 -+
7332 -+
7333 - fi
7334 -+{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
7335 -+echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
7336 -+ GREP="$ac_cv_path_GREP"
7337 -
7338 --echo "$as_me:$LINENO: checking for egrep" >&5
7339 --echo $ECHO_N "checking for egrep... $ECHO_C" >&6
7340 --if test "${ac_cv_prog_egrep+set}" = set; then
7341 -+
7342 -+{ echo "$as_me:$LINENO: checking for egrep" >&5
7343 -+echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
7344 -+if test "${ac_cv_path_EGREP+set}" = set; then
7345 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
7346 -+else
7347 -+ if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
7348 -+ then ac_cv_path_EGREP="$GREP -E"
7349 -+ else
7350 -+ # Extract the first word of "egrep" to use in msg output
7351 -+if test -z "$EGREP"; then
7352 -+set dummy egrep; ac_prog_name=$2
7353 -+if test "${ac_cv_path_EGREP+set}" = set; then
7354 - echo $ECHO_N "(cached) $ECHO_C" >&6
7355 - else
7356 -- if echo a | (grep -E '(a|b)') >/dev/null 2>&1
7357 -- then ac_cv_prog_egrep='grep -E'
7358 -- else ac_cv_prog_egrep='egrep'
7359 -+ ac_path_EGREP_found=false
7360 -+# Loop through the user's path and test for each of PROGNAME-LIST
7361 -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7362 -+for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7363 -+do
7364 -+ IFS=$as_save_IFS
7365 -+ test -z "$as_dir" && as_dir=.
7366 -+ for ac_prog in egrep; do
7367 -+ for ac_exec_ext in '' $ac_executable_extensions; do
7368 -+ ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
7369 -+ { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
7370 -+ # Check for GNU ac_path_EGREP and select it if it is found.
7371 -+ # Check for GNU $ac_path_EGREP
7372 -+case `"$ac_path_EGREP" --version 2>&1` in
7373 -+*GNU*)
7374 -+ ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7375 -+*)
7376 -+ ac_count=0
7377 -+ echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
7378 -+ while :
7379 -+ do
7380 -+ cat "conftest.in" "conftest.in" >"conftest.tmp"
7381 -+ mv "conftest.tmp" "conftest.in"
7382 -+ cp "conftest.in" "conftest.nl"
7383 -+ echo 'EGREP' >> "conftest.nl"
7384 -+ "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7385 -+ diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7386 -+ ac_count=`expr $ac_count + 1`
7387 -+ if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7388 -+ # Best one so far, save it but keep looking for a better one
7389 -+ ac_cv_path_EGREP="$ac_path_EGREP"
7390 -+ ac_path_EGREP_max=$ac_count
7391 -+ fi
7392 -+ # 10*(2^10) chars as input seems more than enough
7393 -+ test $ac_count -gt 10 && break
7394 -+ done
7395 -+ rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7396 -+esac
7397 -+
7398 -+
7399 -+ $ac_path_EGREP_found && break 3
7400 -+ done
7401 -+done
7402 -+
7403 -+done
7404 -+IFS=$as_save_IFS
7405 -+
7406 -+
7407 -+fi
7408 -+
7409 -+EGREP="$ac_cv_path_EGREP"
7410 -+if test -z "$EGREP"; then
7411 -+ { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
7412 -+echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
7413 -+ { (exit 1); exit 1; }; }
7414 -+fi
7415 -+
7416 -+else
7417 -+ ac_cv_path_EGREP=$EGREP
7418 -+fi
7419 -+
7420 -+
7421 - fi
7422 - fi
7423 --echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
7424 --echo "${ECHO_T}$ac_cv_prog_egrep" >&6
7425 -- EGREP=$ac_cv_prog_egrep
7426 -+{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
7427 -+echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
7428 -+ EGREP="$ac_cv_path_EGREP"
7429 -
7430 -
7431 --echo "$as_me:$LINENO: checking how to run $EGREP quietly" >&5
7432 --echo $ECHO_N "checking how to run $EGREP quietly... $ECHO_C" >&6
7433 -+{ echo "$as_me:$LINENO: checking how to run $EGREP quietly" >&5
7434 -+echo $ECHO_N "checking how to run $EGREP quietly... $ECHO_C" >&6; }
7435 - if test -z "`echo foo | $EGREP -q fo+ 2>>config.log || echo $?`"; then
7436 - EGREP_Q="$EGREP -q"
7437 - elif test -z "`echo foo | $EGREP -s fo+ 2>>config.log || echo $?`"; then
7438 -@@ -6891,13 +8379,13 @@
7439 - else
7440 - EGREP_Q=">/dev/null $EGREP"
7441 - fi
7442 --echo "$as_me:$LINENO: result: $EGREP_Q" >&5
7443 --echo "${ECHO_T}$EGREP_Q" >&6
7444 -+{ echo "$as_me:$LINENO: result: $EGREP_Q" >&5
7445 -+echo "${ECHO_T}$EGREP_Q" >&6; }
7446 -
7447 - # Extract the first word of "valgrind", so it can be a program name with args.
7448 - set dummy valgrind; ac_word=$2
7449 --echo "$as_me:$LINENO: checking for $ac_word" >&5
7450 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7451 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7452 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7453 - if test "${ac_cv_prog_VALGRIND_PATH+set}" = set; then
7454 - echo $ECHO_N "(cached) $ECHO_C" >&6
7455 - else
7456 -@@ -6910,26 +8398,80 @@
7457 - IFS=$as_save_IFS
7458 - test -z "$as_dir" && as_dir=.
7459 - for ac_exec_ext in '' $ac_executable_extensions; do
7460 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7461 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7462 - ac_cv_prog_VALGRIND_PATH="valgrind"
7463 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7464 - break 2
7465 - fi
7466 - done
7467 - done
7468 -+IFS=$as_save_IFS
7469 -
7470 - fi
7471 - fi
7472 - VALGRIND_PATH=$ac_cv_prog_VALGRIND_PATH
7473 - if test -n "$VALGRIND_PATH"; then
7474 -- echo "$as_me:$LINENO: result: $VALGRIND_PATH" >&5
7475 --echo "${ECHO_T}$VALGRIND_PATH" >&6
7476 -+ { echo "$as_me:$LINENO: result: $VALGRIND_PATH" >&5
7477 -+echo "${ECHO_T}$VALGRIND_PATH" >&6; }
7478 -+else
7479 -+ { echo "$as_me:$LINENO: result: no" >&5
7480 -+echo "${ECHO_T}no" >&6; }
7481 -+fi
7482 -+
7483 -+
7484 -+
7485 -+# Extract the first word of "ldd", so it can be a program name with args.
7486 -+set dummy ldd; ac_word=$2
7487 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7488 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7489 -+if test "${ac_cv_path_LDD+set}" = set; then
7490 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
7491 - else
7492 -- echo "$as_me:$LINENO: result: no" >&5
7493 --echo "${ECHO_T}no" >&6
7494 -+ case $LDD in
7495 -+ [\\/]* | ?:[\\/]*)
7496 -+ ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7497 -+ ;;
7498 -+ *)
7499 -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7500 -+for as_dir in $PATH
7501 -+do
7502 -+ IFS=$as_save_IFS
7503 -+ test -z "$as_dir" && as_dir=.
7504 -+ for ac_exec_ext in '' $ac_executable_extensions; do
7505 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
7506 -+ ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7507 -+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7508 -+ break 2
7509 -+ fi
7510 -+done
7511 -+done
7512 -+IFS=$as_save_IFS
7513 -+
7514 -+ ;;
7515 -+esac
7516 -+fi
7517 -+LDD=$ac_cv_path_LDD
7518 -+if test -n "$LDD"; then
7519 -+ { echo "$as_me:$LINENO: result: $LDD" >&5
7520 -+echo "${ECHO_T}$LDD" >&6; }
7521 -+else
7522 -+ { echo "$as_me:$LINENO: result: no" >&5
7523 -+echo "${ECHO_T}no" >&6; }
7524 - fi
7525 -
7526 -
7527 -+if test -n "$LDD"; then
7528 -+ { echo "$as_me:$LINENO: checking whether $LDD accepts -r" >&5
7529 -+echo $ECHO_N "checking whether $LDD accepts -r... $ECHO_C" >&6; }
7530 -+ if $LDD -r /bin/ls >/dev/null 2>&1; then
7531 -+ { echo "$as_me:$LINENO: result: yes" >&5
7532 -+echo "${ECHO_T}yes" >&6; }
7533 -+ LDD_R="$LDD -r"
7534 -+ else
7535 -+ { echo "$as_me:$LINENO: result: no" >&5
7536 -+echo "${ECHO_T}no" >&6; }
7537 -+ fi
7538 -+fi
7539 -
7540 - #### Check if "${build_root}" is defined; provide a default one
7541 - if test -n "${with_build_root}" ; then
7542 -@@ -7014,22 +8556,14 @@
7543 - fi
7544 -
7545 -
7546 --### Should go before any test compiler runs
7547 --
7548 --cat >>confdefs.h <<\_ACEOF
7549 --#define _GNU_SOURCE 1
7550 --_ACEOF
7551 --
7552 --
7553 --
7554 - #### Determine whether this is implicitly a 64-bit platform
7555 --ac_ext=cc
7556 -+ac_ext=cpp
7557 - ac_cpp='$CXXCPP $CPPFLAGS'
7558 - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7559 - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7560 - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7561 --echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7562 --echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
7563 -+{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7564 -+echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
7565 - if test -z "$CXXCPP"; then
7566 - if test "${ac_cv_prog_CXXCPP+set}" = set; then
7567 - echo $ECHO_N "(cached) $ECHO_C" >&6
7568 -@@ -7059,8 +8593,13 @@
7569 - #endif
7570 - Syntax error
7571 - _ACEOF
7572 --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7573 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7574 -+if { (ac_try="$ac_cpp conftest.$ac_ext"
7575 -+case "(($ac_try" in
7576 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7577 -+ *) ac_try_echo=$ac_try;;
7578 -+esac
7579 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7580 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7581 - ac_status=$?
7582 - grep -v '^ *+' conftest.er1 >conftest.err
7583 - rm -f conftest.er1
7584 -@@ -7085,9 +8624,10 @@
7585 - # Broken: fails on valid input.
7586 - continue
7587 - fi
7588 -+
7589 - rm -f conftest.err conftest.$ac_ext
7590 -
7591 -- # OK, works on sane cases. Now check whether non-existent headers
7592 -+ # OK, works on sane cases. Now check whether nonexistent headers
7593 - # can be detected and how.
7594 - cat >conftest.$ac_ext <<_ACEOF
7595 - /* confdefs.h. */
7596 -@@ -7097,8 +8637,13 @@
7597 - /* end confdefs.h. */
7598 - #include <ac_nonexistent.h>
7599 - _ACEOF
7600 --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7601 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7602 -+if { (ac_try="$ac_cpp conftest.$ac_ext"
7603 -+case "(($ac_try" in
7604 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7605 -+ *) ac_try_echo=$ac_try;;
7606 -+esac
7607 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7608 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7609 - ac_status=$?
7610 - grep -v '^ *+' conftest.er1 >conftest.err
7611 - rm -f conftest.er1
7612 -@@ -7125,6 +8670,7 @@
7613 - ac_preproc_ok=:
7614 - break
7615 - fi
7616 -+
7617 - rm -f conftest.err conftest.$ac_ext
7618 -
7619 - done
7620 -@@ -7142,8 +8688,8 @@
7621 - else
7622 - ac_cv_prog_CXXCPP=$CXXCPP
7623 - fi
7624 --echo "$as_me:$LINENO: result: $CXXCPP" >&5
7625 --echo "${ECHO_T}$CXXCPP" >&6
7626 -+{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
7627 -+echo "${ECHO_T}$CXXCPP" >&6; }
7628 - ac_preproc_ok=false
7629 - for ac_cxx_preproc_warn_flag in '' yes
7630 - do
7631 -@@ -7166,8 +8712,13 @@
7632 - #endif
7633 - Syntax error
7634 - _ACEOF
7635 --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7636 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7637 -+if { (ac_try="$ac_cpp conftest.$ac_ext"
7638 -+case "(($ac_try" in
7639 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7640 -+ *) ac_try_echo=$ac_try;;
7641 -+esac
7642 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7643 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7644 - ac_status=$?
7645 - grep -v '^ *+' conftest.er1 >conftest.err
7646 - rm -f conftest.er1
7647 -@@ -7192,9 +8743,10 @@
7648 - # Broken: fails on valid input.
7649 - continue
7650 - fi
7651 -+
7652 - rm -f conftest.err conftest.$ac_ext
7653 -
7654 -- # OK, works on sane cases. Now check whether non-existent headers
7655 -+ # OK, works on sane cases. Now check whether nonexistent headers
7656 - # can be detected and how.
7657 - cat >conftest.$ac_ext <<_ACEOF
7658 - /* confdefs.h. */
7659 -@@ -7204,8 +8756,13 @@
7660 - /* end confdefs.h. */
7661 - #include <ac_nonexistent.h>
7662 - _ACEOF
7663 --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7664 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7665 -+if { (ac_try="$ac_cpp conftest.$ac_ext"
7666 -+case "(($ac_try" in
7667 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7668 -+ *) ac_try_echo=$ac_try;;
7669 -+esac
7670 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7671 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7672 - ac_status=$?
7673 - grep -v '^ *+' conftest.er1 >conftest.err
7674 - rm -f conftest.er1
7675 -@@ -7232,6 +8789,7 @@
7676 - ac_preproc_ok=:
7677 - break
7678 - fi
7679 -+
7680 - rm -f conftest.err conftest.$ac_ext
7681 -
7682 - done
7683 -@@ -7247,15 +8805,15 @@
7684 - { (exit 1); exit 1; }; }
7685 - fi
7686 -
7687 --ac_ext=cc
7688 -+ac_ext=cpp
7689 - ac_cpp='$CXXCPP $CPPFLAGS'
7690 - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7691 - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7692 - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7693 -
7694 -
7695 --echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7696 --echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
7697 -+{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7698 -+echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7699 - if test "${ac_cv_header_stdc+set}" = set; then
7700 - echo $ECHO_N "(cached) $ECHO_C" >&6
7701 - else
7702 -@@ -7279,24 +8837,36 @@
7703 - }
7704 - _ACEOF
7705 - rm -f conftest.$ac_objext
7706 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7707 -- (eval $ac_compile) 2>conftest.er1
7708 -+if { (ac_try="$ac_compile"
7709 -+case "(($ac_try" in
7710 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7711 -+ *) ac_try_echo=$ac_try;;
7712 -+esac
7713 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7714 -+ (eval "$ac_compile") 2>conftest.er1
7715 - ac_status=$?
7716 - grep -v '^ *+' conftest.er1 >conftest.err
7717 - rm -f conftest.er1
7718 - cat conftest.err >&5
7719 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7720 - (exit $ac_status); } &&
7721 -- { ac_try='test -z "$ac_cxx_werror_flag"
7722 -- || test ! -s conftest.err'
7723 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7724 -- (eval $ac_try) 2>&5
7725 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7726 -+ { (case "(($ac_try" in
7727 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7728 -+ *) ac_try_echo=$ac_try;;
7729 -+esac
7730 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7731 -+ (eval "$ac_try") 2>&5
7732 - ac_status=$?
7733 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7734 - (exit $ac_status); }; } &&
7735 - { ac_try='test -s conftest.$ac_objext'
7736 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7737 -- (eval $ac_try) 2>&5
7738 -+ { (case "(($ac_try" in
7739 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7740 -+ *) ac_try_echo=$ac_try;;
7741 -+esac
7742 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7743 -+ (eval "$ac_try") 2>&5
7744 - ac_status=$?
7745 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7746 - (exit $ac_status); }; }; then
7747 -@@ -7307,7 +8877,8 @@
7748 -
7749 - ac_cv_header_stdc=no
7750 - fi
7751 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7752 -+
7753 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7754 -
7755 - if test $ac_cv_header_stdc = yes; then
7756 - # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7757 -@@ -7363,6 +8934,7 @@
7758 - cat >>conftest.$ac_ext <<_ACEOF
7759 - /* end confdefs.h. */
7760 - #include <ctype.h>
7761 -+#include <stdlib.h>
7762 - #if ((' ' & 0x0FF) == 0x020)
7763 - # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7764 - # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7765 -@@ -7382,18 +8954,27 @@
7766 - for (i = 0; i < 256; i++)
7767 - if (XOR (islower (i), ISLOWER (i))
7768 - || toupper (i) != TOUPPER (i))
7769 -- exit(2);
7770 -- exit (0);
7771 -+ return 2;
7772 -+ return 0;
7773 - }
7774 - _ACEOF
7775 - rm -f conftest$ac_exeext
7776 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7777 -- (eval $ac_link) 2>&5
7778 -+if { (ac_try="$ac_link"
7779 -+case "(($ac_try" in
7780 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7781 -+ *) ac_try_echo=$ac_try;;
7782 -+esac
7783 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7784 -+ (eval "$ac_link") 2>&5
7785 - ac_status=$?
7786 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7787 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7788 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7789 -- (eval $ac_try) 2>&5
7790 -+ { (case "(($ac_try" in
7791 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7792 -+ *) ac_try_echo=$ac_try;;
7793 -+esac
7794 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7795 -+ (eval "$ac_try") 2>&5
7796 - ac_status=$?
7797 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7798 - (exit $ac_status); }; }; then
7799 -@@ -7406,12 +8987,14 @@
7800 - ( exit $ac_status )
7801 - ac_cv_header_stdc=no
7802 - fi
7803 --rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7804 -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7805 - fi
7806 -+
7807 -+
7808 - fi
7809 - fi
7810 --echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7811 --echo "${ECHO_T}$ac_cv_header_stdc" >&6
7812 -+{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7813 -+echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7814 - if test $ac_cv_header_stdc = yes; then
7815 -
7816 - cat >>confdefs.h <<\_ACEOF
7817 -@@ -7434,9 +9017,9 @@
7818 - inttypes.h stdint.h unistd.h
7819 - do
7820 - as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7821 --echo "$as_me:$LINENO: checking for $ac_header" >&5
7822 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7823 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
7824 -+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7825 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7826 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7827 - echo $ECHO_N "(cached) $ECHO_C" >&6
7828 - else
7829 - cat >conftest.$ac_ext <<_ACEOF
7830 -@@ -7450,24 +9033,36 @@
7831 - #include <$ac_header>
7832 - _ACEOF
7833 - rm -f conftest.$ac_objext
7834 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7835 -- (eval $ac_compile) 2>conftest.er1
7836 -+if { (ac_try="$ac_compile"
7837 -+case "(($ac_try" in
7838 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7839 -+ *) ac_try_echo=$ac_try;;
7840 -+esac
7841 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7842 -+ (eval "$ac_compile") 2>conftest.er1
7843 - ac_status=$?
7844 - grep -v '^ *+' conftest.er1 >conftest.err
7845 - rm -f conftest.er1
7846 - cat conftest.err >&5
7847 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7848 - (exit $ac_status); } &&
7849 -- { ac_try='test -z "$ac_cxx_werror_flag"
7850 -- || test ! -s conftest.err'
7851 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7852 -- (eval $ac_try) 2>&5
7853 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7854 -+ { (case "(($ac_try" in
7855 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7856 -+ *) ac_try_echo=$ac_try;;
7857 -+esac
7858 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7859 -+ (eval "$ac_try") 2>&5
7860 - ac_status=$?
7861 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7862 - (exit $ac_status); }; } &&
7863 - { ac_try='test -s conftest.$ac_objext'
7864 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7865 -- (eval $ac_try) 2>&5
7866 -+ { (case "(($ac_try" in
7867 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7868 -+ *) ac_try_echo=$ac_try;;
7869 -+esac
7870 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7871 -+ (eval "$ac_try") 2>&5
7872 - ac_status=$?
7873 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7874 - (exit $ac_status); }; }; then
7875 -@@ -7478,10 +9073,12 @@
7876 -
7877 - eval "$as_ac_Header=no"
7878 - fi
7879 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7880 -+
7881 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7882 - fi
7883 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7884 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7885 -+ac_res=`eval echo '${'$as_ac_Header'}'`
7886 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
7887 -+echo "${ECHO_T}$ac_res" >&6; }
7888 - if test `eval echo '${'$as_ac_Header'}'` = yes; then
7889 - cat >>confdefs.h <<_ACEOF
7890 - #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7891 -@@ -7492,8 +9089,8 @@
7892 - done
7893 -
7894 -
7895 --echo "$as_me:$LINENO: checking for size_t" >&5
7896 --echo $ECHO_N "checking for size_t... $ECHO_C" >&6
7897 -+{ echo "$as_me:$LINENO: checking for size_t" >&5
7898 -+echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
7899 - if test "${ac_cv_type_size_t+set}" = set; then
7900 - echo $ECHO_N "(cached) $ECHO_C" >&6
7901 - else
7902 -@@ -7504,36 +9101,49 @@
7903 - cat >>conftest.$ac_ext <<_ACEOF
7904 - /* end confdefs.h. */
7905 - $ac_includes_default
7906 -+typedef size_t ac__type_new_;
7907 - int
7908 - main ()
7909 - {
7910 --if ((size_t *) 0)
7911 -+if ((ac__type_new_ *) 0)
7912 - return 0;
7913 --if (sizeof (size_t))
7914 -+if (sizeof (ac__type_new_))
7915 - return 0;
7916 - ;
7917 - return 0;
7918 - }
7919 - _ACEOF
7920 - rm -f conftest.$ac_objext
7921 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7922 -- (eval $ac_compile) 2>conftest.er1
7923 -+if { (ac_try="$ac_compile"
7924 -+case "(($ac_try" in
7925 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7926 -+ *) ac_try_echo=$ac_try;;
7927 -+esac
7928 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7929 -+ (eval "$ac_compile") 2>conftest.er1
7930 - ac_status=$?
7931 - grep -v '^ *+' conftest.er1 >conftest.err
7932 - rm -f conftest.er1
7933 - cat conftest.err >&5
7934 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7935 - (exit $ac_status); } &&
7936 -- { ac_try='test -z "$ac_cxx_werror_flag"
7937 -- || test ! -s conftest.err'
7938 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7939 -- (eval $ac_try) 2>&5
7940 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7941 -+ { (case "(($ac_try" in
7942 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7943 -+ *) ac_try_echo=$ac_try;;
7944 -+esac
7945 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7946 -+ (eval "$ac_try") 2>&5
7947 - ac_status=$?
7948 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7949 - (exit $ac_status); }; } &&
7950 - { ac_try='test -s conftest.$ac_objext'
7951 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7952 -- (eval $ac_try) 2>&5
7953 -+ { (case "(($ac_try" in
7954 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7955 -+ *) ac_try_echo=$ac_try;;
7956 -+esac
7957 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7958 -+ (eval "$ac_try") 2>&5
7959 - ac_status=$?
7960 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7961 - (exit $ac_status); }; }; then
7962 -@@ -7544,23 +9154,24 @@
7963 -
7964 - ac_cv_type_size_t=no
7965 - fi
7966 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7967 -+
7968 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7969 - fi
7970 --echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7971 --echo "${ECHO_T}$ac_cv_type_size_t" >&6
7972 -+{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7973 -+echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
7974 - if test $ac_cv_type_size_t = yes; then
7975 - :
7976 - else
7977 -
7978 - cat >>confdefs.h <<_ACEOF
7979 --#define size_t unsigned
7980 -+#define size_t unsigned int
7981 - _ACEOF
7982 -
7983 - fi
7984 -
7985 - if test "${with_universal-no}" = "no"; then
7986 -- echo "$as_me:$LINENO: checking for size_t" >&5
7987 --echo $ECHO_N "checking for size_t... $ECHO_C" >&6
7988 -+ { echo "$as_me:$LINENO: checking for size_t" >&5
7989 -+echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
7990 - if test "${ac_cv_type_size_t+set}" = set; then
7991 - echo $ECHO_N "(cached) $ECHO_C" >&6
7992 - else
7993 -@@ -7571,36 +9182,49 @@
7994 - cat >>conftest.$ac_ext <<_ACEOF
7995 - /* end confdefs.h. */
7996 - $ac_includes_default
7997 -+typedef size_t ac__type_new_;
7998 - int
7999 - main ()
8000 - {
8001 --if ((size_t *) 0)
8002 -+if ((ac__type_new_ *) 0)
8003 - return 0;
8004 --if (sizeof (size_t))
8005 -+if (sizeof (ac__type_new_))
8006 - return 0;
8007 - ;
8008 - return 0;
8009 - }
8010 - _ACEOF
8011 - rm -f conftest.$ac_objext
8012 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8013 -- (eval $ac_compile) 2>conftest.er1
8014 -+if { (ac_try="$ac_compile"
8015 -+case "(($ac_try" in
8016 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8017 -+ *) ac_try_echo=$ac_try;;
8018 -+esac
8019 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8020 -+ (eval "$ac_compile") 2>conftest.er1
8021 - ac_status=$?
8022 - grep -v '^ *+' conftest.er1 >conftest.err
8023 - rm -f conftest.er1
8024 - cat conftest.err >&5
8025 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8026 - (exit $ac_status); } &&
8027 -- { ac_try='test -z "$ac_cxx_werror_flag"
8028 -- || test ! -s conftest.err'
8029 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8030 -- (eval $ac_try) 2>&5
8031 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8032 -+ { (case "(($ac_try" in
8033 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8034 -+ *) ac_try_echo=$ac_try;;
8035 -+esac
8036 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8037 -+ (eval "$ac_try") 2>&5
8038 - ac_status=$?
8039 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040 - (exit $ac_status); }; } &&
8041 - { ac_try='test -s conftest.$ac_objext'
8042 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8043 -- (eval $ac_try) 2>&5
8044 -+ { (case "(($ac_try" in
8045 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8046 -+ *) ac_try_echo=$ac_try;;
8047 -+esac
8048 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8049 -+ (eval "$ac_try") 2>&5
8050 - ac_status=$?
8051 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8052 - (exit $ac_status); }; }; then
8053 -@@ -7611,18 +9235,19 @@
8054 -
8055 - ac_cv_type_size_t=no
8056 - fi
8057 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8058 -+
8059 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8060 - fi
8061 --echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
8062 --echo "${ECHO_T}$ac_cv_type_size_t" >&6
8063 -+{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
8064 -+echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
8065 -
8066 --echo "$as_me:$LINENO: checking size of size_t" >&5
8067 --echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
8068 -+{ echo "$as_me:$LINENO: checking size of size_t" >&5
8069 -+echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
8070 - if test "${ac_cv_sizeof_size_t+set}" = set; then
8071 - echo $ECHO_N "(cached) $ECHO_C" >&6
8072 - else
8073 - if test "$ac_cv_type_size_t" = yes; then
8074 -- # The cast to unsigned long works around a bug in the HP C Compiler
8075 -+ # The cast to long int works around a bug in the HP C Compiler
8076 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
8077 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
8078 - # This bug is HP SR number 8606223364.
8079 -@@ -7635,10 +9260,11 @@
8080 - cat >>conftest.$ac_ext <<_ACEOF
8081 - /* end confdefs.h. */
8082 - $ac_includes_default
8083 -+ typedef size_t ac__type_sizeof_;
8084 - int
8085 - main ()
8086 - {
8087 --static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
8088 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
8089 - test_array [0] = 0
8090 -
8091 - ;
8092 -@@ -7646,24 +9272,36 @@
8093 - }
8094 - _ACEOF
8095 - rm -f conftest.$ac_objext
8096 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8097 -- (eval $ac_compile) 2>conftest.er1
8098 -+if { (ac_try="$ac_compile"
8099 -+case "(($ac_try" in
8100 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8101 -+ *) ac_try_echo=$ac_try;;
8102 -+esac
8103 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8104 -+ (eval "$ac_compile") 2>conftest.er1
8105 - ac_status=$?
8106 - grep -v '^ *+' conftest.er1 >conftest.err
8107 - rm -f conftest.er1
8108 - cat conftest.err >&5
8109 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8110 - (exit $ac_status); } &&
8111 -- { ac_try='test -z "$ac_cxx_werror_flag"
8112 -- || test ! -s conftest.err'
8113 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8114 -- (eval $ac_try) 2>&5
8115 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8116 -+ { (case "(($ac_try" in
8117 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8118 -+ *) ac_try_echo=$ac_try;;
8119 -+esac
8120 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8121 -+ (eval "$ac_try") 2>&5
8122 - ac_status=$?
8123 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8124 - (exit $ac_status); }; } &&
8125 - { ac_try='test -s conftest.$ac_objext'
8126 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8127 -- (eval $ac_try) 2>&5
8128 -+ { (case "(($ac_try" in
8129 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8130 -+ *) ac_try_echo=$ac_try;;
8131 -+esac
8132 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8133 -+ (eval "$ac_try") 2>&5
8134 - ac_status=$?
8135 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 - (exit $ac_status); }; }; then
8137 -@@ -7676,10 +9314,11 @@
8138 - cat >>conftest.$ac_ext <<_ACEOF
8139 - /* end confdefs.h. */
8140 - $ac_includes_default
8141 -+ typedef size_t ac__type_sizeof_;
8142 - int
8143 - main ()
8144 - {
8145 --static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
8146 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8147 - test_array [0] = 0
8148 -
8149 - ;
8150 -@@ -7687,24 +9326,36 @@
8151 - }
8152 - _ACEOF
8153 - rm -f conftest.$ac_objext
8154 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8155 -- (eval $ac_compile) 2>conftest.er1
8156 -+if { (ac_try="$ac_compile"
8157 -+case "(($ac_try" in
8158 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8159 -+ *) ac_try_echo=$ac_try;;
8160 -+esac
8161 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8162 -+ (eval "$ac_compile") 2>conftest.er1
8163 - ac_status=$?
8164 - grep -v '^ *+' conftest.er1 >conftest.err
8165 - rm -f conftest.er1
8166 - cat conftest.err >&5
8167 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8168 - (exit $ac_status); } &&
8169 -- { ac_try='test -z "$ac_cxx_werror_flag"
8170 -- || test ! -s conftest.err'
8171 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8172 -- (eval $ac_try) 2>&5
8173 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8174 -+ { (case "(($ac_try" in
8175 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8176 -+ *) ac_try_echo=$ac_try;;
8177 -+esac
8178 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8179 -+ (eval "$ac_try") 2>&5
8180 - ac_status=$?
8181 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8182 - (exit $ac_status); }; } &&
8183 - { ac_try='test -s conftest.$ac_objext'
8184 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8185 -- (eval $ac_try) 2>&5
8186 -+ { (case "(($ac_try" in
8187 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8188 -+ *) ac_try_echo=$ac_try;;
8189 -+esac
8190 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8191 -+ (eval "$ac_try") 2>&5
8192 - ac_status=$?
8193 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194 - (exit $ac_status); }; }; then
8195 -@@ -7720,7 +9371,8 @@
8196 - fi
8197 - ac_mid=`expr 2 '*' $ac_mid + 1`
8198 - fi
8199 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8200 -+
8201 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8202 - done
8203 - else
8204 - echo "$as_me: failed program was:" >&5
8205 -@@ -7733,10 +9385,11 @@
8206 - cat >>conftest.$ac_ext <<_ACEOF
8207 - /* end confdefs.h. */
8208 - $ac_includes_default
8209 -+ typedef size_t ac__type_sizeof_;
8210 - int
8211 - main ()
8212 - {
8213 --static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
8214 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
8215 - test_array [0] = 0
8216 -
8217 - ;
8218 -@@ -7744,24 +9397,36 @@
8219 - }
8220 - _ACEOF
8221 - rm -f conftest.$ac_objext
8222 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8223 -- (eval $ac_compile) 2>conftest.er1
8224 -+if { (ac_try="$ac_compile"
8225 -+case "(($ac_try" in
8226 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8227 -+ *) ac_try_echo=$ac_try;;
8228 -+esac
8229 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8230 -+ (eval "$ac_compile") 2>conftest.er1
8231 - ac_status=$?
8232 - grep -v '^ *+' conftest.er1 >conftest.err
8233 - rm -f conftest.er1
8234 - cat conftest.err >&5
8235 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8236 - (exit $ac_status); } &&
8237 -- { ac_try='test -z "$ac_cxx_werror_flag"
8238 -- || test ! -s conftest.err'
8239 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8240 -- (eval $ac_try) 2>&5
8241 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8242 -+ { (case "(($ac_try" in
8243 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8244 -+ *) ac_try_echo=$ac_try;;
8245 -+esac
8246 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8247 -+ (eval "$ac_try") 2>&5
8248 - ac_status=$?
8249 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8250 - (exit $ac_status); }; } &&
8251 - { ac_try='test -s conftest.$ac_objext'
8252 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8253 -- (eval $ac_try) 2>&5
8254 -+ { (case "(($ac_try" in
8255 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8256 -+ *) ac_try_echo=$ac_try;;
8257 -+esac
8258 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8259 -+ (eval "$ac_try") 2>&5
8260 - ac_status=$?
8261 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262 - (exit $ac_status); }; }; then
8263 -@@ -7774,10 +9439,11 @@
8264 - cat >>conftest.$ac_ext <<_ACEOF
8265 - /* end confdefs.h. */
8266 - $ac_includes_default
8267 -+ typedef size_t ac__type_sizeof_;
8268 - int
8269 - main ()
8270 - {
8271 --static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
8272 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
8273 - test_array [0] = 0
8274 -
8275 - ;
8276 -@@ -7785,24 +9451,36 @@
8277 - }
8278 - _ACEOF
8279 - rm -f conftest.$ac_objext
8280 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8281 -- (eval $ac_compile) 2>conftest.er1
8282 -+if { (ac_try="$ac_compile"
8283 -+case "(($ac_try" in
8284 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8285 -+ *) ac_try_echo=$ac_try;;
8286 -+esac
8287 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8288 -+ (eval "$ac_compile") 2>conftest.er1
8289 - ac_status=$?
8290 - grep -v '^ *+' conftest.er1 >conftest.err
8291 - rm -f conftest.er1
8292 - cat conftest.err >&5
8293 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8294 - (exit $ac_status); } &&
8295 -- { ac_try='test -z "$ac_cxx_werror_flag"
8296 -- || test ! -s conftest.err'
8297 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8298 -- (eval $ac_try) 2>&5
8299 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8300 -+ { (case "(($ac_try" in
8301 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8302 -+ *) ac_try_echo=$ac_try;;
8303 -+esac
8304 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8305 -+ (eval "$ac_try") 2>&5
8306 - ac_status=$?
8307 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8308 - (exit $ac_status); }; } &&
8309 - { ac_try='test -s conftest.$ac_objext'
8310 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8311 -- (eval $ac_try) 2>&5
8312 -+ { (case "(($ac_try" in
8313 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8314 -+ *) ac_try_echo=$ac_try;;
8315 -+esac
8316 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8317 -+ (eval "$ac_try") 2>&5
8318 - ac_status=$?
8319 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8320 - (exit $ac_status); }; }; then
8321 -@@ -7818,7 +9496,8 @@
8322 - fi
8323 - ac_mid=`expr 2 '*' $ac_mid`
8324 - fi
8325 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8326 -+
8327 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8328 - done
8329 - else
8330 - echo "$as_me: failed program was:" >&5
8331 -@@ -7826,9 +9505,11 @@
8332 -
8333 - ac_lo= ac_hi=
8334 - fi
8335 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8336 -+
8337 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8338 - fi
8339 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8340 -+
8341 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8342 - # Binary search between lo and hi bounds.
8343 - while test "x$ac_lo" != "x$ac_hi"; do
8344 - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8345 -@@ -7839,10 +9520,11 @@
8346 - cat >>conftest.$ac_ext <<_ACEOF
8347 - /* end confdefs.h. */
8348 - $ac_includes_default
8349 -+ typedef size_t ac__type_sizeof_;
8350 - int
8351 - main ()
8352 - {
8353 --static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
8354 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
8355 - test_array [0] = 0
8356 -
8357 - ;
8358 -@@ -7850,24 +9532,36 @@
8359 - }
8360 - _ACEOF
8361 - rm -f conftest.$ac_objext
8362 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8363 -- (eval $ac_compile) 2>conftest.er1
8364 -+if { (ac_try="$ac_compile"
8365 -+case "(($ac_try" in
8366 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8367 -+ *) ac_try_echo=$ac_try;;
8368 -+esac
8369 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8370 -+ (eval "$ac_compile") 2>conftest.er1
8371 - ac_status=$?
8372 - grep -v '^ *+' conftest.er1 >conftest.err
8373 - rm -f conftest.er1
8374 - cat conftest.err >&5
8375 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8376 - (exit $ac_status); } &&
8377 -- { ac_try='test -z "$ac_cxx_werror_flag"
8378 -- || test ! -s conftest.err'
8379 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8380 -- (eval $ac_try) 2>&5
8381 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8382 -+ { (case "(($ac_try" in
8383 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8384 -+ *) ac_try_echo=$ac_try;;
8385 -+esac
8386 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8387 -+ (eval "$ac_try") 2>&5
8388 - ac_status=$?
8389 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8390 - (exit $ac_status); }; } &&
8391 - { ac_try='test -s conftest.$ac_objext'
8392 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8393 -- (eval $ac_try) 2>&5
8394 -+ { (case "(($ac_try" in
8395 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8396 -+ *) ac_try_echo=$ac_try;;
8397 -+esac
8398 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8399 -+ (eval "$ac_try") 2>&5
8400 - ac_status=$?
8401 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8402 - (exit $ac_status); }; }; then
8403 -@@ -7878,24 +9572,18 @@
8404 -
8405 - ac_lo=`expr '(' $ac_mid ')' + 1`
8406 - fi
8407 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8408 -+
8409 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8410 - done
8411 - case $ac_lo in
8412 - ?*) ac_cv_sizeof_size_t=$ac_lo;;
8413 --'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
8414 -+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
8415 - See \`config.log' for more details." >&5
8416 --echo "$as_me: error: cannot compute sizeof (size_t), 77
8417 -+echo "$as_me: error: cannot compute sizeof (size_t)
8418 - See \`config.log' for more details." >&2;}
8419 -- { (exit 1); exit 1; }; } ;;
8420 -+ { (exit 77); exit 77; }; } ;;
8421 - esac
8422 - else
8423 -- if test "$cross_compiling" = yes; then
8424 -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
8425 --See \`config.log' for more details." >&5
8426 --echo "$as_me: error: cannot run test program while cross compiling
8427 --See \`config.log' for more details." >&2;}
8428 -- { (exit 1); exit 1; }; }
8429 --else
8430 - cat >conftest.$ac_ext <<_ACEOF
8431 - /* confdefs.h. */
8432 - _ACEOF
8433 -@@ -7903,8 +9591,9 @@
8434 - cat >>conftest.$ac_ext <<_ACEOF
8435 - /* end confdefs.h. */
8436 - $ac_includes_default
8437 --long longval () { return (long) (sizeof (size_t)); }
8438 --unsigned long ulongval () { return (long) (sizeof (size_t)); }
8439 -+ typedef size_t ac__type_sizeof_;
8440 -+static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
8441 -+static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
8442 - #include <stdio.h>
8443 - #include <stdlib.h>
8444 - int
8445 -@@ -7913,35 +9602,44 @@
8446 -
8447 - FILE *f = fopen ("conftest.val", "w");
8448 - if (! f)
8449 -- exit (1);
8450 -- if (((long) (sizeof (size_t))) < 0)
8451 -+ return 1;
8452 -+ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
8453 - {
8454 -- long i = longval ();
8455 -- if (i != ((long) (sizeof (size_t))))
8456 -- exit (1);
8457 -+ long int i = longval ();
8458 -+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
8459 -+ return 1;
8460 - fprintf (f, "%ld\n", i);
8461 - }
8462 - else
8463 - {
8464 -- unsigned long i = ulongval ();
8465 -- if (i != ((long) (sizeof (size_t))))
8466 -- exit (1);
8467 -+ unsigned long int i = ulongval ();
8468 -+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
8469 -+ return 1;
8470 - fprintf (f, "%lu\n", i);
8471 - }
8472 -- exit (ferror (f) || fclose (f) != 0);
8473 -+ return ferror (f) || fclose (f) != 0;
8474 -
8475 - ;
8476 - return 0;
8477 - }
8478 - _ACEOF
8479 - rm -f conftest$ac_exeext
8480 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8481 -- (eval $ac_link) 2>&5
8482 -+if { (ac_try="$ac_link"
8483 -+case "(($ac_try" in
8484 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8485 -+ *) ac_try_echo=$ac_try;;
8486 -+esac
8487 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8488 -+ (eval "$ac_link") 2>&5
8489 - ac_status=$?
8490 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8492 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8493 -- (eval $ac_try) 2>&5
8494 -+ { (case "(($ac_try" in
8495 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8496 -+ *) ac_try_echo=$ac_try;;
8497 -+esac
8498 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8499 -+ (eval "$ac_try") 2>&5
8500 - ac_status=$?
8501 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8502 - (exit $ac_status); }; }; then
8503 -@@ -7952,22 +9650,21 @@
8504 - sed 's/^/| /' conftest.$ac_ext >&5
8505 -
8506 - ( exit $ac_status )
8507 --{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
8508 -+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
8509 - See \`config.log' for more details." >&5
8510 --echo "$as_me: error: cannot compute sizeof (size_t), 77
8511 -+echo "$as_me: error: cannot compute sizeof (size_t)
8512 - See \`config.log' for more details." >&2;}
8513 -- { (exit 1); exit 1; }; }
8514 --fi
8515 --rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8516 -+ { (exit 77); exit 77; }; }
8517 - fi
8518 -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8519 - fi
8520 - rm -f conftest.val
8521 - else
8522 - ac_cv_sizeof_size_t=0
8523 - fi
8524 - fi
8525 --echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
8526 --echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
8527 -+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
8528 -+echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
8529 - cat >>confdefs.h <<_ACEOF
8530 - #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
8531 - _ACEOF
8532 -@@ -8006,8 +9703,8 @@
8533 - fi
8534 - # Extract the first word of "tcheck_cl", so it can be a program name with args.
8535 - set dummy tcheck_cl; ac_word=$2
8536 --echo "$as_me:$LINENO: checking for $ac_word" >&5
8537 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8538 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8539 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8540 - if test "${ac_cv_path_TCHECK_CL+set}" = set; then
8541 - echo $ECHO_N "(cached) $ECHO_C" >&6
8542 - else
8543 -@@ -8023,27 +9720,28 @@
8544 - IFS=$as_save_IFS
8545 - test -z "$as_dir" && as_dir=.
8546 - for ac_exec_ext in '' $ac_executable_extensions; do
8547 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8548 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8549 - ac_cv_path_TCHECK_CL="$as_dir/$ac_word$ac_exec_ext"
8550 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8551 - break 2
8552 - fi
8553 - done
8554 - done
8555 -+IFS=$as_save_IFS
8556 -
8557 - ;;
8558 - esac
8559 - fi
8560 - TCHECK_CL=$ac_cv_path_TCHECK_CL
8561 --
8562 - if test -n "$TCHECK_CL"; then
8563 -- echo "$as_me:$LINENO: result: $TCHECK_CL" >&5
8564 --echo "${ECHO_T}$TCHECK_CL" >&6
8565 -+ { echo "$as_me:$LINENO: result: $TCHECK_CL" >&5
8566 -+echo "${ECHO_T}$TCHECK_CL" >&6; }
8567 - else
8568 -- echo "$as_me:$LINENO: result: no" >&5
8569 --echo "${ECHO_T}no" >&6
8570 -+ { echo "$as_me:$LINENO: result: no" >&5
8571 -+echo "${ECHO_T}no" >&6; }
8572 - fi
8573 -
8574 -+
8575 - if test -n "$TCHECK_CL"; then
8576 - CFLAGS="$CFLAGS -tcheck -O0"
8577 - CXXFLAGS="$CXXFLAGS -tcheck -O0"
8578 -@@ -8098,8 +9796,8 @@
8579 - #### Try to find a version of pwd that yields /net paths.
8580 - # Extract the first word of "amq", so it can be a program name with args.
8581 - set dummy amq; ac_word=$2
8582 --echo "$as_me:$LINENO: checking for $ac_word" >&5
8583 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8584 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
8585 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8586 - if test "${ac_cv_path_AMQ+set}" = set; then
8587 - echo $ECHO_N "(cached) $ECHO_C" >&6
8588 - else
8589 -@@ -8115,31 +9813,32 @@
8590 - IFS=$as_save_IFS
8591 - test -z "$as_dir" && as_dir=.
8592 - for ac_exec_ext in '' $ac_executable_extensions; do
8593 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8594 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
8595 - ac_cv_path_AMQ="$as_dir/$ac_word$ac_exec_ext"
8596 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8597 - break 2
8598 - fi
8599 - done
8600 - done
8601 -+IFS=$as_save_IFS
8602 -
8603 - ;;
8604 - esac
8605 - fi
8606 - AMQ=$ac_cv_path_AMQ
8607 --
8608 - if test -n "$AMQ"; then
8609 -- echo "$as_me:$LINENO: result: $AMQ" >&5
8610 --echo "${ECHO_T}$AMQ" >&6
8611 -+ { echo "$as_me:$LINENO: result: $AMQ" >&5
8612 -+echo "${ECHO_T}$AMQ" >&6; }
8613 - else
8614 -- echo "$as_me:$LINENO: result: no" >&5
8615 --echo "${ECHO_T}no" >&6
8616 -+ { echo "$as_me:$LINENO: result: no" >&5
8617 -+echo "${ECHO_T}no" >&6; }
8618 - fi
8619 -
8620 -+
8621 - case "$AMQ" in
8622 - */amq)
8623 -- echo "$as_me:$LINENO: checking whether $AMQ -w works" >&5
8624 --echo $ECHO_N "checking whether $AMQ -w works... $ECHO_C" >&6
8625 -+ { echo "$as_me:$LINENO: checking whether $AMQ -w works" >&5
8626 -+echo $ECHO_N "checking whether $AMQ -w works... $ECHO_C" >&6; }
8627 - if test "${ncbi_cv_prog_amq_w+set}" = set; then
8628 - echo $ECHO_N "(cached) $ECHO_C" >&6
8629 - else
8630 -@@ -8149,8 +9848,8 @@
8631 - ncbi_cv_prog_amq_w=no
8632 - fi
8633 - fi
8634 --echo "$as_me:$LINENO: result: $ncbi_cv_prog_amq_w" >&5
8635 --echo "${ECHO_T}$ncbi_cv_prog_amq_w" >&6
8636 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_prog_amq_w" >&5
8637 -+echo "${ECHO_T}$ncbi_cv_prog_amq_w" >&6; }
8638 - if test "$ncbi_cv_prog_amq_w" = yes; then
8639 - smart_pwd="$AMQ -w"
8640 - else
8641 -@@ -8261,7 +9960,7 @@
8642 - fi
8643 - ;;
8644 - *:ICC )
8645 -- runpath="$runpath -Xlinker -rpath-link -Xlinker \$(libdir)"
8646 -+ runpath="$runpath -Wl,-rpath-link,\$(libdir)"
8647 - ;;
8648 - esac
8649 - elif test "$with_runpath" = "yes" -o "$with_dll" != "no" ; then
8650 -@@ -8338,8 +10037,8 @@
8651 - FORBID_UNDEF='-Wl,-error_unresolved'
8652 - ;;
8653 - esac
8654 -- echo "$as_me:$LINENO: checking whether $CC supports -Wl,--no-allow-shlib-undefined" >&5
8655 --echo $ECHO_N "checking whether $CC supports -Wl,--no-allow-shlib-undefined... $ECHO_C" >&6
8656 -+ { echo "$as_me:$LINENO: checking whether $CC supports -Wl,--no-allow-shlib-undefined" >&5
8657 -+echo $ECHO_N "checking whether $CC supports -Wl,--no-allow-shlib-undefined... $ECHO_C" >&6; }
8658 - if test "${ncbi_cv_prog_cc_wl_no_asu+set}" = set; then
8659 - echo $ECHO_N "(cached) $ECHO_C" >&6
8660 - else
8661 -@@ -8361,24 +10060,36 @@
8662 - }
8663 - _ACEOF
8664 - rm -f conftest.$ac_objext conftest$ac_exeext
8665 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8666 -- (eval $ac_link) 2>conftest.er1
8667 -+if { (ac_try="$ac_link"
8668 -+case "(($ac_try" in
8669 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8670 -+ *) ac_try_echo=$ac_try;;
8671 -+esac
8672 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8673 -+ (eval "$ac_link") 2>conftest.er1
8674 - ac_status=$?
8675 - grep -v '^ *+' conftest.er1 >conftest.err
8676 - rm -f conftest.er1
8677 - cat conftest.err >&5
8678 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 - (exit $ac_status); } &&
8680 -- { ac_try='test -z "$ac_cxx_werror_flag"
8681 -- || test ! -s conftest.err'
8682 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8683 -- (eval $ac_try) 2>&5
8684 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8685 -+ { (case "(($ac_try" in
8686 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8687 -+ *) ac_try_echo=$ac_try;;
8688 -+esac
8689 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8690 -+ (eval "$ac_try") 2>&5
8691 - ac_status=$?
8692 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8693 - (exit $ac_status); }; } &&
8694 - { ac_try='test -s conftest$ac_exeext'
8695 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8696 -- (eval $ac_try) 2>&5
8697 -+ { (case "(($ac_try" in
8698 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8699 -+ *) ac_try_echo=$ac_try;;
8700 -+esac
8701 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8702 -+ (eval "$ac_try") 2>&5
8703 - ac_status=$?
8704 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 - (exit $ac_status); }; }; then
8706 -@@ -8389,12 +10100,13 @@
8707 -
8708 - ncbi_cv_prog_cc_wl_no_asu=no
8709 - fi
8710 --rm -f conftest.err conftest.$ac_objext \
8711 -+
8712 -+rm -f core conftest.err conftest.$ac_objext \
8713 - conftest$ac_exeext conftest.$ac_ext
8714 - LDFLAGS=$orig_LDFLAGS
8715 - fi
8716 --echo "$as_me:$LINENO: result: $ncbi_cv_prog_cc_wl_no_asu" >&5
8717 --echo "${ECHO_T}$ncbi_cv_prog_cc_wl_no_asu" >&6
8718 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_prog_cc_wl_no_asu" >&5
8719 -+echo "${ECHO_T}$ncbi_cv_prog_cc_wl_no_asu" >&6; }
8720 - if test "$ncbi_cv_prog_cc_wl_no_asu" = yes; then
8721 - FORBID_UNDEF="$FORBID_UNDEF -Wl,--no-allow-shlib-undefined"
8722 - fi
8723 -@@ -8481,8 +10193,8 @@
8724 - ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8725 - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8726 - ac_compiler_gnu=$ac_cv_c_compiler_gnu
8727 --echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
8728 --echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
8729 -+{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
8730 -+echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
8731 - # On Suns, sometimes $CPP names a directory.
8732 - if test -n "$CPP" && test -d "$CPP"; then
8733 - CPP=
8734 -@@ -8516,8 +10228,13 @@
8735 - #endif
8736 - Syntax error
8737 - _ACEOF
8738 --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8739 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8740 -+if { (ac_try="$ac_cpp conftest.$ac_ext"
8741 -+case "(($ac_try" in
8742 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8743 -+ *) ac_try_echo=$ac_try;;
8744 -+esac
8745 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8746 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8747 - ac_status=$?
8748 - grep -v '^ *+' conftest.er1 >conftest.err
8749 - rm -f conftest.er1
8750 -@@ -8542,9 +10259,10 @@
8751 - # Broken: fails on valid input.
8752 - continue
8753 - fi
8754 -+
8755 - rm -f conftest.err conftest.$ac_ext
8756 -
8757 -- # OK, works on sane cases. Now check whether non-existent headers
8758 -+ # OK, works on sane cases. Now check whether nonexistent headers
8759 - # can be detected and how.
8760 - cat >conftest.$ac_ext <<_ACEOF
8761 - /* confdefs.h. */
8762 -@@ -8554,8 +10272,13 @@
8763 - /* end confdefs.h. */
8764 - #include <ac_nonexistent.h>
8765 - _ACEOF
8766 --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8767 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8768 -+if { (ac_try="$ac_cpp conftest.$ac_ext"
8769 -+case "(($ac_try" in
8770 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8771 -+ *) ac_try_echo=$ac_try;;
8772 -+esac
8773 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8774 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8775 - ac_status=$?
8776 - grep -v '^ *+' conftest.er1 >conftest.err
8777 - rm -f conftest.er1
8778 -@@ -8582,6 +10305,7 @@
8779 - ac_preproc_ok=:
8780 - break
8781 - fi
8782 -+
8783 - rm -f conftest.err conftest.$ac_ext
8784 -
8785 - done
8786 -@@ -8599,8 +10323,8 @@
8787 - else
8788 - ac_cv_prog_CPP=$CPP
8789 - fi
8790 --echo "$as_me:$LINENO: result: $CPP" >&5
8791 --echo "${ECHO_T}$CPP" >&6
8792 -+{ echo "$as_me:$LINENO: result: $CPP" >&5
8793 -+echo "${ECHO_T}$CPP" >&6; }
8794 - ac_preproc_ok=false
8795 - for ac_c_preproc_warn_flag in '' yes
8796 - do
8797 -@@ -8623,8 +10347,13 @@
8798 - #endif
8799 - Syntax error
8800 - _ACEOF
8801 --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8802 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8803 -+if { (ac_try="$ac_cpp conftest.$ac_ext"
8804 -+case "(($ac_try" in
8805 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8806 -+ *) ac_try_echo=$ac_try;;
8807 -+esac
8808 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8809 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8810 - ac_status=$?
8811 - grep -v '^ *+' conftest.er1 >conftest.err
8812 - rm -f conftest.er1
8813 -@@ -8649,9 +10378,10 @@
8814 - # Broken: fails on valid input.
8815 - continue
8816 - fi
8817 -+
8818 - rm -f conftest.err conftest.$ac_ext
8819 -
8820 -- # OK, works on sane cases. Now check whether non-existent headers
8821 -+ # OK, works on sane cases. Now check whether nonexistent headers
8822 - # can be detected and how.
8823 - cat >conftest.$ac_ext <<_ACEOF
8824 - /* confdefs.h. */
8825 -@@ -8661,8 +10391,13 @@
8826 - /* end confdefs.h. */
8827 - #include <ac_nonexistent.h>
8828 - _ACEOF
8829 --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8830 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8831 -+if { (ac_try="$ac_cpp conftest.$ac_ext"
8832 -+case "(($ac_try" in
8833 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8834 -+ *) ac_try_echo=$ac_try;;
8835 -+esac
8836 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8837 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8838 - ac_status=$?
8839 - grep -v '^ *+' conftest.er1 >conftest.err
8840 - rm -f conftest.er1
8841 -@@ -8689,6 +10424,7 @@
8842 - ac_preproc_ok=:
8843 - break
8844 - fi
8845 -+
8846 - rm -f conftest.err conftest.$ac_ext
8847 -
8848 - done
8849 -@@ -8704,7 +10440,7 @@
8850 - { (exit 1); exit 1; }; }
8851 - fi
8852 -
8853 --ac_ext=cc
8854 -+ac_ext=cpp
8855 - ac_cpp='$CXXCPP $CPPFLAGS'
8856 - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8857 - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8858 -@@ -8898,7 +10634,7 @@
8859 - echo "$as_me: WARNING: Proceeding without questions per --without-caution" >&2;} ;;
8860 - * )
8861 - echo "Do you want to re-configure in \"${builddir}\"? [y/N]"
8862 -- read answer
8863 -+ read answer <& 7
8864 - case "$answer" in
8865 - [Yy]* ) { echo "$as_me:$LINENO: WARNING: Proceeding at your own risk..." >&5
8866 - echo "$as_me: WARNING: Proceeding at your own risk..." >&2;} ;;
8867 -@@ -8939,8 +10675,8 @@
8868 - BINCOPY="cp -p"
8869 - MAC_BINCOPY="/Developer/Tools/CpMac -p"
8870 - if test "$with_bincopy" != "yes"; then
8871 -- echo "$as_me:$LINENO: checking whether cross-directory hard links work" >&5
8872 --echo $ECHO_N "checking whether cross-directory hard links work... $ECHO_C" >&6
8873 -+ { echo "$as_me:$LINENO: checking whether cross-directory hard links work" >&5
8874 -+echo $ECHO_N "checking whether cross-directory hard links work... $ECHO_C" >&6; }
8875 - if test "${ncbi_cv_sys_xdir_ln+set}" = set; then
8876 - echo $ECHO_N "(cached) $ECHO_C" >&6
8877 - else
8878 -@@ -8953,8 +10689,8 @@
8879 - fi
8880 - rm -rf conftestdir conftestfile
8881 - fi
8882 --echo "$as_me:$LINENO: result: $ncbi_cv_sys_xdir_ln" >&5
8883 --echo "${ECHO_T}$ncbi_cv_sys_xdir_ln" >&6
8884 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_sys_xdir_ln" >&5
8885 -+echo "${ECHO_T}$ncbi_cv_sys_xdir_ln" >&6; }
8886 - if test "$ncbi_cv_sys_xdir_ln" = "yes"; then
8887 - BINCOPY="ln -f"
8888 - MAC_BINCOPY="\$(top_srcdir)/scripts/common/impl/ln_mac.sh"
8889 -@@ -8999,15 +10735,30 @@
8890 - dbgrx1="$wsrx-g[^cx$wschars]*$wsrx"
8891 - dbgrx2="$wsrx-gx*coff[0-9+]*$wsrx"
8892 - optrx="$wsrx-x*O[0-9s]*$wsrx"
8893 -+ NDEB_CFLAGS=` echo " $CFLAGS " | sed "s/$dbgrx1/ /g; s/$dbgrx2/ /g"`
8894 -+ NDEB_CXXFLAGS=`echo " $CXXFLAGS " | sed "s/$dbgrx1/ /g; s/$dbgrx2/ /g"`
8895 -+ NDEB_LDFLAGS=` echo " $LDFLAGS " | sed "s/$dbgrx1/ /g; s/$dbgrx2/ /g"`
8896 - if test "$with_symbols" = "no" ; then
8897 -- CFLAGS=` echo " $CFLAGS " | sed "s/$dbgrx1/ /g; s/$dbgrx2/ /g"`
8898 -- CXXFLAGS=`echo " $CXXFLAGS " | sed "s/$dbgrx1/ /g; s/$dbgrx2/ /g"`
8899 -- LDFLAGS=` echo " $LDFLAGS " | sed "s/$dbgrx1/ /g; s/$dbgrx2/ /g"`
8900 -+ CFLAGS=$NDEB_CFLAGS
8901 -+ CXXFLAGS=$NDEB_CXXFLAGS
8902 -+ LDFLAGS=$NDEB_LDFLAGS
8903 - else
8904 - echo " $CFLAGS " | $EGREP_Q "$dbgrx1|$dbgrx2" || CFLAGS="$CFLAGS -g"
8905 - echo " $CXXFLAGS "| $EGREP_Q "$dbgrx1|$dbgrx2" || CXXFLAGS="$CXXFLAGS -g"
8906 - echo " $LDFLAGS " | $EGREP_Q "$dbgrx1|$dbgrx2" || LDFLAGS="$LDFLAGS -g"
8907 - STRIP="@:"
8908 -+ case "$compiler:$compiler_version" in
8909 -+ GCC:4[89]? | GCC:[5-9]? | GCC:???? )
8910 -+ # GCC 4.8 defaults to DWARF 4, which Totalview for one
8911 -+ # can't handle; roll back to version 3 by default.
8912 -+ echo " $USER_CFLAGS " | $EGREP_Q "$dbgrx1|$dbgrx2" || \
8913 -+ CFLAGS="$NDEB_CFLAGS -gdwarf-3"
8914 -+ echo " $USER_CXXFLAGS " | $EGREP_Q "$dbgrx1|$dbgrx2" || \
8915 -+ CXXFLAGS="$NDEB_CXXFLAGS -gdwarf-3"
8916 -+ echo " $USER_LDFLAGS " | $EGREP_Q "$dbgrx1|$dbgrx2" || \
8917 -+ LDFLAGS="$NDEB_LDFLAGS -gdwarf-3"
8918 -+ ;;
8919 -+ esac
8920 - fi
8921 -
8922 - NOPT_CFLAGS=` echo " $CFLAGS " | sed "s/$optrx/ /g"`
8923 -@@ -9056,18 +10807,19 @@
8924 - for ac_header in iostream iostream.h
8925 - do
8926 - as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8927 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
8928 -- echo "$as_me:$LINENO: checking for $ac_header" >&5
8929 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8930 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
8931 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8932 -+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
8933 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8934 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8935 - echo $ECHO_N "(cached) $ECHO_C" >&6
8936 - fi
8937 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8938 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8939 -+ac_res=`eval echo '${'$as_ac_Header'}'`
8940 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
8941 -+echo "${ECHO_T}$ac_res" >&6; }
8942 - else
8943 - # Is the header compilable?
8944 --echo "$as_me:$LINENO: checking $ac_header usability" >&5
8945 --echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8946 -+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8947 -+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8948 - cat >conftest.$ac_ext <<_ACEOF
8949 - /* confdefs.h. */
8950 - _ACEOF
8951 -@@ -9078,24 +10830,36 @@
8952 - #include <$ac_header>
8953 - _ACEOF
8954 - rm -f conftest.$ac_objext
8955 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8956 -- (eval $ac_compile) 2>conftest.er1
8957 -+if { (ac_try="$ac_compile"
8958 -+case "(($ac_try" in
8959 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8960 -+ *) ac_try_echo=$ac_try;;
8961 -+esac
8962 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8963 -+ (eval "$ac_compile") 2>conftest.er1
8964 - ac_status=$?
8965 - grep -v '^ *+' conftest.er1 >conftest.err
8966 - rm -f conftest.er1
8967 - cat conftest.err >&5
8968 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8969 - (exit $ac_status); } &&
8970 -- { ac_try='test -z "$ac_cxx_werror_flag"
8971 -- || test ! -s conftest.err'
8972 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8973 -- (eval $ac_try) 2>&5
8974 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8975 -+ { (case "(($ac_try" in
8976 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8977 -+ *) ac_try_echo=$ac_try;;
8978 -+esac
8979 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8980 -+ (eval "$ac_try") 2>&5
8981 - ac_status=$?
8982 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8983 - (exit $ac_status); }; } &&
8984 - { ac_try='test -s conftest.$ac_objext'
8985 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8986 -- (eval $ac_try) 2>&5
8987 -+ { (case "(($ac_try" in
8988 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8989 -+ *) ac_try_echo=$ac_try;;
8990 -+esac
8991 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8992 -+ (eval "$ac_try") 2>&5
8993 - ac_status=$?
8994 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995 - (exit $ac_status); }; }; then
8996 -@@ -9106,13 +10870,14 @@
8997 -
8998 - ac_header_compiler=no
8999 - fi
9000 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9001 --echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9002 --echo "${ECHO_T}$ac_header_compiler" >&6
9003 -+
9004 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9005 -+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9006 -+echo "${ECHO_T}$ac_header_compiler" >&6; }
9007 -
9008 - # Is the header present?
9009 --echo "$as_me:$LINENO: checking $ac_header presence" >&5
9010 --echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9011 -+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
9012 -+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9013 - cat >conftest.$ac_ext <<_ACEOF
9014 - /* confdefs.h. */
9015 - _ACEOF
9016 -@@ -9121,8 +10886,13 @@
9017 - /* end confdefs.h. */
9018 - #include <$ac_header>
9019 - _ACEOF
9020 --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9021 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9022 -+if { (ac_try="$ac_cpp conftest.$ac_ext"
9023 -+case "(($ac_try" in
9024 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9025 -+ *) ac_try_echo=$ac_try;;
9026 -+esac
9027 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9028 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9029 - ac_status=$?
9030 - grep -v '^ *+' conftest.er1 >conftest.err
9031 - rm -f conftest.er1
9032 -@@ -9146,9 +10916,10 @@
9033 -
9034 - ac_header_preproc=no
9035 - fi
9036 -+
9037 - rm -f conftest.err conftest.$ac_ext
9038 --echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9039 --echo "${ECHO_T}$ac_header_preproc" >&6
9040 -+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9041 -+echo "${ECHO_T}$ac_header_preproc" >&6; }
9042 -
9043 - # So? What about this header?
9044 - case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9045 -@@ -9172,25 +10943,24 @@
9046 - echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9047 - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9048 - echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9049 -- (
9050 -- cat <<\_ASBOX
9051 -+ ( cat <<\_ASBOX
9052 - ## ---------------------------------------- ##
9053 - ## Report this to cpp-core@××××××××××××.gov ##
9054 - ## ---------------------------------------- ##
9055 - _ASBOX
9056 -- ) |
9057 -- sed "s/^/$as_me: WARNING: /" >&2
9058 -+ ) | sed "s/^/$as_me: WARNING: /" >&2
9059 - ;;
9060 - esac
9061 --echo "$as_me:$LINENO: checking for $ac_header" >&5
9062 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9063 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
9064 -+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
9065 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9066 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9067 - echo $ECHO_N "(cached) $ECHO_C" >&6
9068 - else
9069 - eval "$as_ac_Header=\$ac_header_preproc"
9070 - fi
9071 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9072 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9073 -+ac_res=`eval echo '${'$as_ac_Header'}'`
9074 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
9075 -+echo "${ECHO_T}$ac_res" >&6; }
9076 -
9077 - fi
9078 - if test `eval echo '${'$as_ac_Header'}'` = yes; then
9079 -@@ -9207,18 +10977,19 @@
9080 - for ac_header in fstream fstream.h
9081 - do
9082 - as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9083 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
9084 -- echo "$as_me:$LINENO: checking for $ac_header" >&5
9085 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9086 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
9087 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9088 -+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
9089 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9090 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9091 - echo $ECHO_N "(cached) $ECHO_C" >&6
9092 - fi
9093 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9094 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9095 -+ac_res=`eval echo '${'$as_ac_Header'}'`
9096 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
9097 -+echo "${ECHO_T}$ac_res" >&6; }
9098 - else
9099 - # Is the header compilable?
9100 --echo "$as_me:$LINENO: checking $ac_header usability" >&5
9101 --echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9102 -+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
9103 -+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9104 - cat >conftest.$ac_ext <<_ACEOF
9105 - /* confdefs.h. */
9106 - _ACEOF
9107 -@@ -9229,24 +11000,36 @@
9108 - #include <$ac_header>
9109 - _ACEOF
9110 - rm -f conftest.$ac_objext
9111 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9112 -- (eval $ac_compile) 2>conftest.er1
9113 -+if { (ac_try="$ac_compile"
9114 -+case "(($ac_try" in
9115 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9116 -+ *) ac_try_echo=$ac_try;;
9117 -+esac
9118 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9119 -+ (eval "$ac_compile") 2>conftest.er1
9120 - ac_status=$?
9121 - grep -v '^ *+' conftest.er1 >conftest.err
9122 - rm -f conftest.er1
9123 - cat conftest.err >&5
9124 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9125 - (exit $ac_status); } &&
9126 -- { ac_try='test -z "$ac_cxx_werror_flag"
9127 -- || test ! -s conftest.err'
9128 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9129 -- (eval $ac_try) 2>&5
9130 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9131 -+ { (case "(($ac_try" in
9132 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9133 -+ *) ac_try_echo=$ac_try;;
9134 -+esac
9135 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9136 -+ (eval "$ac_try") 2>&5
9137 - ac_status=$?
9138 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139 - (exit $ac_status); }; } &&
9140 - { ac_try='test -s conftest.$ac_objext'
9141 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9142 -- (eval $ac_try) 2>&5
9143 -+ { (case "(($ac_try" in
9144 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9145 -+ *) ac_try_echo=$ac_try;;
9146 -+esac
9147 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9148 -+ (eval "$ac_try") 2>&5
9149 - ac_status=$?
9150 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9151 - (exit $ac_status); }; }; then
9152 -@@ -9257,13 +11040,14 @@
9153 -
9154 - ac_header_compiler=no
9155 - fi
9156 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9157 --echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9158 --echo "${ECHO_T}$ac_header_compiler" >&6
9159 -+
9160 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9161 -+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9162 -+echo "${ECHO_T}$ac_header_compiler" >&6; }
9163 -
9164 - # Is the header present?
9165 --echo "$as_me:$LINENO: checking $ac_header presence" >&5
9166 --echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9167 -+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
9168 -+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9169 - cat >conftest.$ac_ext <<_ACEOF
9170 - /* confdefs.h. */
9171 - _ACEOF
9172 -@@ -9272,8 +11056,13 @@
9173 - /* end confdefs.h. */
9174 - #include <$ac_header>
9175 - _ACEOF
9176 --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9177 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9178 -+if { (ac_try="$ac_cpp conftest.$ac_ext"
9179 -+case "(($ac_try" in
9180 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9181 -+ *) ac_try_echo=$ac_try;;
9182 -+esac
9183 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9184 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9185 - ac_status=$?
9186 - grep -v '^ *+' conftest.er1 >conftest.err
9187 - rm -f conftest.er1
9188 -@@ -9297,9 +11086,10 @@
9189 -
9190 - ac_header_preproc=no
9191 - fi
9192 -+
9193 - rm -f conftest.err conftest.$ac_ext
9194 --echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9195 --echo "${ECHO_T}$ac_header_preproc" >&6
9196 -+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9197 -+echo "${ECHO_T}$ac_header_preproc" >&6; }
9198 -
9199 - # So? What about this header?
9200 - case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9201 -@@ -9323,25 +11113,24 @@
9202 - echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9203 - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9204 - echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9205 -- (
9206 -- cat <<\_ASBOX
9207 -+ ( cat <<\_ASBOX
9208 - ## ---------------------------------------- ##
9209 - ## Report this to cpp-core@××××××××××××.gov ##
9210 - ## ---------------------------------------- ##
9211 - _ASBOX
9212 -- ) |
9213 -- sed "s/^/$as_me: WARNING: /" >&2
9214 -+ ) | sed "s/^/$as_me: WARNING: /" >&2
9215 - ;;
9216 - esac
9217 --echo "$as_me:$LINENO: checking for $ac_header" >&5
9218 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9219 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
9220 -+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
9221 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9222 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9223 - echo $ECHO_N "(cached) $ECHO_C" >&6
9224 - else
9225 - eval "$as_ac_Header=\$ac_header_preproc"
9226 - fi
9227 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9228 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9229 -+ac_res=`eval echo '${'$as_ac_Header'}'`
9230 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
9231 -+echo "${ECHO_T}$ac_res" >&6; }
9232 -
9233 - fi
9234 - if test `eval echo '${'$as_ac_Header'}'` = yes; then
9235 -@@ -9359,18 +11148,19 @@
9236 - for ac_header in strstream strstream.h strstrea.h
9237 - do
9238 - as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9239 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
9240 -- echo "$as_me:$LINENO: checking for $ac_header" >&5
9241 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9242 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
9243 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9244 -+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
9245 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9246 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9247 - echo $ECHO_N "(cached) $ECHO_C" >&6
9248 - fi
9249 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9250 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9251 -+ac_res=`eval echo '${'$as_ac_Header'}'`
9252 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
9253 -+echo "${ECHO_T}$ac_res" >&6; }
9254 - else
9255 - # Is the header compilable?
9256 --echo "$as_me:$LINENO: checking $ac_header usability" >&5
9257 --echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9258 -+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
9259 -+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9260 - cat >conftest.$ac_ext <<_ACEOF
9261 - /* confdefs.h. */
9262 - _ACEOF
9263 -@@ -9381,24 +11171,36 @@
9264 - #include <$ac_header>
9265 - _ACEOF
9266 - rm -f conftest.$ac_objext
9267 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9268 -- (eval $ac_compile) 2>conftest.er1
9269 -+if { (ac_try="$ac_compile"
9270 -+case "(($ac_try" in
9271 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9272 -+ *) ac_try_echo=$ac_try;;
9273 -+esac
9274 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9275 -+ (eval "$ac_compile") 2>conftest.er1
9276 - ac_status=$?
9277 - grep -v '^ *+' conftest.er1 >conftest.err
9278 - rm -f conftest.er1
9279 - cat conftest.err >&5
9280 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9281 - (exit $ac_status); } &&
9282 -- { ac_try='test -z "$ac_cxx_werror_flag"
9283 -- || test ! -s conftest.err'
9284 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9285 -- (eval $ac_try) 2>&5
9286 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9287 -+ { (case "(($ac_try" in
9288 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9289 -+ *) ac_try_echo=$ac_try;;
9290 -+esac
9291 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9292 -+ (eval "$ac_try") 2>&5
9293 - ac_status=$?
9294 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9295 - (exit $ac_status); }; } &&
9296 - { ac_try='test -s conftest.$ac_objext'
9297 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9298 -- (eval $ac_try) 2>&5
9299 -+ { (case "(($ac_try" in
9300 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9301 -+ *) ac_try_echo=$ac_try;;
9302 -+esac
9303 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9304 -+ (eval "$ac_try") 2>&5
9305 - ac_status=$?
9306 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9307 - (exit $ac_status); }; }; then
9308 -@@ -9409,13 +11211,14 @@
9309 -
9310 - ac_header_compiler=no
9311 - fi
9312 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9313 --echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9314 --echo "${ECHO_T}$ac_header_compiler" >&6
9315 -+
9316 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9317 -+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9318 -+echo "${ECHO_T}$ac_header_compiler" >&6; }
9319 -
9320 - # Is the header present?
9321 --echo "$as_me:$LINENO: checking $ac_header presence" >&5
9322 --echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9323 -+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
9324 -+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9325 - cat >conftest.$ac_ext <<_ACEOF
9326 - /* confdefs.h. */
9327 - _ACEOF
9328 -@@ -9424,8 +11227,13 @@
9329 - /* end confdefs.h. */
9330 - #include <$ac_header>
9331 - _ACEOF
9332 --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9333 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9334 -+if { (ac_try="$ac_cpp conftest.$ac_ext"
9335 -+case "(($ac_try" in
9336 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9337 -+ *) ac_try_echo=$ac_try;;
9338 -+esac
9339 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9340 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9341 - ac_status=$?
9342 - grep -v '^ *+' conftest.er1 >conftest.err
9343 - rm -f conftest.er1
9344 -@@ -9449,9 +11257,10 @@
9345 -
9346 - ac_header_preproc=no
9347 - fi
9348 -+
9349 - rm -f conftest.err conftest.$ac_ext
9350 --echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9351 --echo "${ECHO_T}$ac_header_preproc" >&6
9352 -+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9353 -+echo "${ECHO_T}$ac_header_preproc" >&6; }
9354 -
9355 - # So? What about this header?
9356 - case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9357 -@@ -9475,25 +11284,24 @@
9358 - echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9359 - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9360 - echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9361 -- (
9362 -- cat <<\_ASBOX
9363 -+ ( cat <<\_ASBOX
9364 - ## ---------------------------------------- ##
9365 - ## Report this to cpp-core@××××××××××××.gov ##
9366 - ## ---------------------------------------- ##
9367 - _ASBOX
9368 -- ) |
9369 -- sed "s/^/$as_me: WARNING: /" >&2
9370 -+ ) | sed "s/^/$as_me: WARNING: /" >&2
9371 - ;;
9372 - esac
9373 --echo "$as_me:$LINENO: checking for $ac_header" >&5
9374 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9375 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
9376 -+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
9377 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9378 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9379 - echo $ECHO_N "(cached) $ECHO_C" >&6
9380 - else
9381 - eval "$as_ac_Header=\$ac_header_preproc"
9382 - fi
9383 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9384 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9385 -+ac_res=`eval echo '${'$as_ac_Header'}'`
9386 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
9387 -+echo "${ECHO_T}$ac_res" >&6; }
9388 -
9389 - fi
9390 - if test `eval echo '${'$as_ac_Header'}'` = yes; then
9391 -@@ -9511,18 +11319,19 @@
9392 - for ac_header in inttypes.h limits
9393 - do
9394 - as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9395 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
9396 -- echo "$as_me:$LINENO: checking for $ac_header" >&5
9397 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9398 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
9399 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9400 -+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
9401 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9402 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9403 - echo $ECHO_N "(cached) $ECHO_C" >&6
9404 - fi
9405 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9406 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9407 -+ac_res=`eval echo '${'$as_ac_Header'}'`
9408 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
9409 -+echo "${ECHO_T}$ac_res" >&6; }
9410 - else
9411 - # Is the header compilable?
9412 --echo "$as_me:$LINENO: checking $ac_header usability" >&5
9413 --echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9414 -+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
9415 -+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9416 - cat >conftest.$ac_ext <<_ACEOF
9417 - /* confdefs.h. */
9418 - _ACEOF
9419 -@@ -9533,24 +11342,36 @@
9420 - #include <$ac_header>
9421 - _ACEOF
9422 - rm -f conftest.$ac_objext
9423 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9424 -- (eval $ac_compile) 2>conftest.er1
9425 -+if { (ac_try="$ac_compile"
9426 -+case "(($ac_try" in
9427 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9428 -+ *) ac_try_echo=$ac_try;;
9429 -+esac
9430 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9431 -+ (eval "$ac_compile") 2>conftest.er1
9432 - ac_status=$?
9433 - grep -v '^ *+' conftest.er1 >conftest.err
9434 - rm -f conftest.er1
9435 - cat conftest.err >&5
9436 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9437 - (exit $ac_status); } &&
9438 -- { ac_try='test -z "$ac_cxx_werror_flag"
9439 -- || test ! -s conftest.err'
9440 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9441 -- (eval $ac_try) 2>&5
9442 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9443 -+ { (case "(($ac_try" in
9444 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9445 -+ *) ac_try_echo=$ac_try;;
9446 -+esac
9447 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9448 -+ (eval "$ac_try") 2>&5
9449 - ac_status=$?
9450 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9451 - (exit $ac_status); }; } &&
9452 - { ac_try='test -s conftest.$ac_objext'
9453 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9454 -- (eval $ac_try) 2>&5
9455 -+ { (case "(($ac_try" in
9456 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9457 -+ *) ac_try_echo=$ac_try;;
9458 -+esac
9459 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9460 -+ (eval "$ac_try") 2>&5
9461 - ac_status=$?
9462 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9463 - (exit $ac_status); }; }; then
9464 -@@ -9561,13 +11382,14 @@
9465 -
9466 - ac_header_compiler=no
9467 - fi
9468 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9469 --echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9470 --echo "${ECHO_T}$ac_header_compiler" >&6
9471 -+
9472 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9473 -+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9474 -+echo "${ECHO_T}$ac_header_compiler" >&6; }
9475 -
9476 - # Is the header present?
9477 --echo "$as_me:$LINENO: checking $ac_header presence" >&5
9478 --echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9479 -+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
9480 -+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9481 - cat >conftest.$ac_ext <<_ACEOF
9482 - /* confdefs.h. */
9483 - _ACEOF
9484 -@@ -9576,8 +11398,13 @@
9485 - /* end confdefs.h. */
9486 - #include <$ac_header>
9487 - _ACEOF
9488 --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9489 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9490 -+if { (ac_try="$ac_cpp conftest.$ac_ext"
9491 -+case "(($ac_try" in
9492 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9493 -+ *) ac_try_echo=$ac_try;;
9494 -+esac
9495 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9496 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9497 - ac_status=$?
9498 - grep -v '^ *+' conftest.er1 >conftest.err
9499 - rm -f conftest.er1
9500 -@@ -9601,9 +11428,10 @@
9501 -
9502 - ac_header_preproc=no
9503 - fi
9504 -+
9505 - rm -f conftest.err conftest.$ac_ext
9506 --echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9507 --echo "${ECHO_T}$ac_header_preproc" >&6
9508 -+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9509 -+echo "${ECHO_T}$ac_header_preproc" >&6; }
9510 -
9511 - # So? What about this header?
9512 - case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9513 -@@ -9627,25 +11455,24 @@
9514 - echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9515 - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9516 - echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9517 -- (
9518 -- cat <<\_ASBOX
9519 -+ ( cat <<\_ASBOX
9520 - ## ---------------------------------------- ##
9521 - ## Report this to cpp-core@××××××××××××.gov ##
9522 - ## ---------------------------------------- ##
9523 - _ASBOX
9524 -- ) |
9525 -- sed "s/^/$as_me: WARNING: /" >&2
9526 -+ ) | sed "s/^/$as_me: WARNING: /" >&2
9527 - ;;
9528 - esac
9529 --echo "$as_me:$LINENO: checking for $ac_header" >&5
9530 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9531 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
9532 -+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
9533 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9534 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9535 - echo $ECHO_N "(cached) $ECHO_C" >&6
9536 - else
9537 - eval "$as_ac_Header=\$ac_header_preproc"
9538 - fi
9539 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9540 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9541 -+ac_res=`eval echo '${'$as_ac_Header'}'`
9542 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
9543 -+echo "${ECHO_T}$ac_res" >&6; }
9544 -
9545 - fi
9546 - if test `eval echo '${'$as_ac_Header'}'` = yes; then
9547 -@@ -9663,18 +11490,19 @@
9548 - for ac_header in unistd.h
9549 - do
9550 - as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9551 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
9552 -- echo "$as_me:$LINENO: checking for $ac_header" >&5
9553 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9554 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
9555 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9556 -+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
9557 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9558 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9559 - echo $ECHO_N "(cached) $ECHO_C" >&6
9560 - fi
9561 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9562 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9563 -+ac_res=`eval echo '${'$as_ac_Header'}'`
9564 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
9565 -+echo "${ECHO_T}$ac_res" >&6; }
9566 - else
9567 - # Is the header compilable?
9568 --echo "$as_me:$LINENO: checking $ac_header usability" >&5
9569 --echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9570 -+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
9571 -+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9572 - cat >conftest.$ac_ext <<_ACEOF
9573 - /* confdefs.h. */
9574 - _ACEOF
9575 -@@ -9685,24 +11513,36 @@
9576 - #include <$ac_header>
9577 - _ACEOF
9578 - rm -f conftest.$ac_objext
9579 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9580 -- (eval $ac_compile) 2>conftest.er1
9581 -+if { (ac_try="$ac_compile"
9582 -+case "(($ac_try" in
9583 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9584 -+ *) ac_try_echo=$ac_try;;
9585 -+esac
9586 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9587 -+ (eval "$ac_compile") 2>conftest.er1
9588 - ac_status=$?
9589 - grep -v '^ *+' conftest.er1 >conftest.err
9590 - rm -f conftest.er1
9591 - cat conftest.err >&5
9592 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9593 - (exit $ac_status); } &&
9594 -- { ac_try='test -z "$ac_cxx_werror_flag"
9595 -- || test ! -s conftest.err'
9596 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9597 -- (eval $ac_try) 2>&5
9598 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9599 -+ { (case "(($ac_try" in
9600 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9601 -+ *) ac_try_echo=$ac_try;;
9602 -+esac
9603 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9604 -+ (eval "$ac_try") 2>&5
9605 - ac_status=$?
9606 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9607 - (exit $ac_status); }; } &&
9608 - { ac_try='test -s conftest.$ac_objext'
9609 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9610 -- (eval $ac_try) 2>&5
9611 -+ { (case "(($ac_try" in
9612 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9613 -+ *) ac_try_echo=$ac_try;;
9614 -+esac
9615 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9616 -+ (eval "$ac_try") 2>&5
9617 - ac_status=$?
9618 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9619 - (exit $ac_status); }; }; then
9620 -@@ -9713,13 +11553,14 @@
9621 -
9622 - ac_header_compiler=no
9623 - fi
9624 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9625 --echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9626 --echo "${ECHO_T}$ac_header_compiler" >&6
9627 -+
9628 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9629 -+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9630 -+echo "${ECHO_T}$ac_header_compiler" >&6; }
9631 -
9632 - # Is the header present?
9633 --echo "$as_me:$LINENO: checking $ac_header presence" >&5
9634 --echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9635 -+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
9636 -+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9637 - cat >conftest.$ac_ext <<_ACEOF
9638 - /* confdefs.h. */
9639 - _ACEOF
9640 -@@ -9728,8 +11569,13 @@
9641 - /* end confdefs.h. */
9642 - #include <$ac_header>
9643 - _ACEOF
9644 --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9645 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9646 -+if { (ac_try="$ac_cpp conftest.$ac_ext"
9647 -+case "(($ac_try" in
9648 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9649 -+ *) ac_try_echo=$ac_try;;
9650 -+esac
9651 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9652 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9653 - ac_status=$?
9654 - grep -v '^ *+' conftest.er1 >conftest.err
9655 - rm -f conftest.er1
9656 -@@ -9753,9 +11599,10 @@
9657 -
9658 - ac_header_preproc=no
9659 - fi
9660 -+
9661 - rm -f conftest.err conftest.$ac_ext
9662 --echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9663 --echo "${ECHO_T}$ac_header_preproc" >&6
9664 -+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9665 -+echo "${ECHO_T}$ac_header_preproc" >&6; }
9666 -
9667 - # So? What about this header?
9668 - case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9669 -@@ -9779,25 +11626,24 @@
9670 - echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9671 - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9672 - echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9673 -- (
9674 -- cat <<\_ASBOX
9675 -+ ( cat <<\_ASBOX
9676 - ## ---------------------------------------- ##
9677 - ## Report this to cpp-core@××××××××××××.gov ##
9678 - ## ---------------------------------------- ##
9679 - _ASBOX
9680 -- ) |
9681 -- sed "s/^/$as_me: WARNING: /" >&2
9682 -+ ) | sed "s/^/$as_me: WARNING: /" >&2
9683 - ;;
9684 - esac
9685 --echo "$as_me:$LINENO: checking for $ac_header" >&5
9686 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9687 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
9688 -+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
9689 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9690 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9691 - echo $ECHO_N "(cached) $ECHO_C" >&6
9692 - else
9693 - eval "$as_ac_Header=\$ac_header_preproc"
9694 - fi
9695 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9696 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9697 -+ac_res=`eval echo '${'$as_ac_Header'}'`
9698 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
9699 -+echo "${ECHO_T}$ac_res" >&6; }
9700 -
9701 - fi
9702 - if test `eval echo '${'$as_ac_Header'}'` = yes; then
9703 -@@ -9813,18 +11659,19 @@
9704 - for ac_header in windows.h
9705 - do
9706 - as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9707 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
9708 -- echo "$as_me:$LINENO: checking for $ac_header" >&5
9709 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9710 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
9711 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9712 -+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
9713 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9714 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9715 - echo $ECHO_N "(cached) $ECHO_C" >&6
9716 - fi
9717 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9718 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9719 -+ac_res=`eval echo '${'$as_ac_Header'}'`
9720 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
9721 -+echo "${ECHO_T}$ac_res" >&6; }
9722 - else
9723 - # Is the header compilable?
9724 --echo "$as_me:$LINENO: checking $ac_header usability" >&5
9725 --echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9726 -+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
9727 -+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9728 - cat >conftest.$ac_ext <<_ACEOF
9729 - /* confdefs.h. */
9730 - _ACEOF
9731 -@@ -9835,24 +11682,36 @@
9732 - #include <$ac_header>
9733 - _ACEOF
9734 - rm -f conftest.$ac_objext
9735 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9736 -- (eval $ac_compile) 2>conftest.er1
9737 -+if { (ac_try="$ac_compile"
9738 -+case "(($ac_try" in
9739 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9740 -+ *) ac_try_echo=$ac_try;;
9741 -+esac
9742 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9743 -+ (eval "$ac_compile") 2>conftest.er1
9744 - ac_status=$?
9745 - grep -v '^ *+' conftest.er1 >conftest.err
9746 - rm -f conftest.er1
9747 - cat conftest.err >&5
9748 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9749 - (exit $ac_status); } &&
9750 -- { ac_try='test -z "$ac_cxx_werror_flag"
9751 -- || test ! -s conftest.err'
9752 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9753 -- (eval $ac_try) 2>&5
9754 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9755 -+ { (case "(($ac_try" in
9756 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9757 -+ *) ac_try_echo=$ac_try;;
9758 -+esac
9759 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9760 -+ (eval "$ac_try") 2>&5
9761 - ac_status=$?
9762 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9763 - (exit $ac_status); }; } &&
9764 - { ac_try='test -s conftest.$ac_objext'
9765 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9766 -- (eval $ac_try) 2>&5
9767 -+ { (case "(($ac_try" in
9768 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9769 -+ *) ac_try_echo=$ac_try;;
9770 -+esac
9771 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9772 -+ (eval "$ac_try") 2>&5
9773 - ac_status=$?
9774 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9775 - (exit $ac_status); }; }; then
9776 -@@ -9863,13 +11722,14 @@
9777 -
9778 - ac_header_compiler=no
9779 - fi
9780 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9781 --echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9782 --echo "${ECHO_T}$ac_header_compiler" >&6
9783 -+
9784 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9785 -+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9786 -+echo "${ECHO_T}$ac_header_compiler" >&6; }
9787 -
9788 - # Is the header present?
9789 --echo "$as_me:$LINENO: checking $ac_header presence" >&5
9790 --echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9791 -+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
9792 -+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9793 - cat >conftest.$ac_ext <<_ACEOF
9794 - /* confdefs.h. */
9795 - _ACEOF
9796 -@@ -9878,8 +11738,13 @@
9797 - /* end confdefs.h. */
9798 - #include <$ac_header>
9799 - _ACEOF
9800 --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9801 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9802 -+if { (ac_try="$ac_cpp conftest.$ac_ext"
9803 -+case "(($ac_try" in
9804 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9805 -+ *) ac_try_echo=$ac_try;;
9806 -+esac
9807 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9808 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9809 - ac_status=$?
9810 - grep -v '^ *+' conftest.er1 >conftest.err
9811 - rm -f conftest.er1
9812 -@@ -9903,9 +11768,10 @@
9813 -
9814 - ac_header_preproc=no
9815 - fi
9816 -+
9817 - rm -f conftest.err conftest.$ac_ext
9818 --echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9819 --echo "${ECHO_T}$ac_header_preproc" >&6
9820 -+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9821 -+echo "${ECHO_T}$ac_header_preproc" >&6; }
9822 -
9823 - # So? What about this header?
9824 - case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9825 -@@ -9929,25 +11795,24 @@
9826 - echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9827 - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9828 - echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9829 -- (
9830 -- cat <<\_ASBOX
9831 -+ ( cat <<\_ASBOX
9832 - ## ---------------------------------------- ##
9833 - ## Report this to cpp-core@××××××××××××.gov ##
9834 - ## ---------------------------------------- ##
9835 - _ASBOX
9836 -- ) |
9837 -- sed "s/^/$as_me: WARNING: /" >&2
9838 -+ ) | sed "s/^/$as_me: WARNING: /" >&2
9839 - ;;
9840 - esac
9841 --echo "$as_me:$LINENO: checking for $ac_header" >&5
9842 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9843 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
9844 -+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
9845 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9846 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9847 - echo $ECHO_N "(cached) $ECHO_C" >&6
9848 - else
9849 - eval "$as_ac_Header=\$ac_header_preproc"
9850 - fi
9851 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9852 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9853 -+ac_res=`eval echo '${'$as_ac_Header'}'`
9854 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
9855 -+echo "${ECHO_T}$ac_res" >&6; }
9856 -
9857 - fi
9858 - if test `eval echo '${'$as_ac_Header'}'` = yes; then
9859 -@@ -10078,8 +11943,8 @@
9860 - esac
9861 -
9862 - # AC_CHECK_TYPES is insufficient, as linking may still fail :-/
9863 --echo "$as_me:$LINENO: checking for wstring" >&5
9864 --echo $ECHO_N "checking for wstring... $ECHO_C" >&6
9865 -+{ echo "$as_me:$LINENO: checking for wstring" >&5
9866 -+echo $ECHO_N "checking for wstring... $ECHO_C" >&6; }
9867 - if test "${ac_cv_type_wstring_linkable+set}" = set; then
9868 - echo $ECHO_N "(cached) $ECHO_C" >&6
9869 - else
9870 -@@ -10100,24 +11965,36 @@
9871 - }
9872 - _ACEOF
9873 - rm -f conftest.$ac_objext conftest$ac_exeext
9874 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9875 -- (eval $ac_link) 2>conftest.er1
9876 -+if { (ac_try="$ac_link"
9877 -+case "(($ac_try" in
9878 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9879 -+ *) ac_try_echo=$ac_try;;
9880 -+esac
9881 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9882 -+ (eval "$ac_link") 2>conftest.er1
9883 - ac_status=$?
9884 - grep -v '^ *+' conftest.er1 >conftest.err
9885 - rm -f conftest.er1
9886 - cat conftest.err >&5
9887 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9888 - (exit $ac_status); } &&
9889 -- { ac_try='test -z "$ac_cxx_werror_flag"
9890 -- || test ! -s conftest.err'
9891 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9892 -- (eval $ac_try) 2>&5
9893 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9894 -+ { (case "(($ac_try" in
9895 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9896 -+ *) ac_try_echo=$ac_try;;
9897 -+esac
9898 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9899 -+ (eval "$ac_try") 2>&5
9900 - ac_status=$?
9901 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9902 - (exit $ac_status); }; } &&
9903 - { ac_try='test -s conftest$ac_exeext'
9904 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9905 -- (eval $ac_try) 2>&5
9906 -+ { (case "(($ac_try" in
9907 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9908 -+ *) ac_try_echo=$ac_try;;
9909 -+esac
9910 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9911 -+ (eval "$ac_try") 2>&5
9912 - ac_status=$?
9913 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9914 - (exit $ac_status); }; }; then
9915 -@@ -10128,11 +12005,12 @@
9916 -
9917 - ac_cv_type_wstring_linkable=no
9918 - fi
9919 --rm -f conftest.err conftest.$ac_objext \
9920 -+
9921 -+rm -f core conftest.err conftest.$ac_objext \
9922 - conftest$ac_exeext conftest.$ac_ext
9923 - fi
9924 --echo "$as_me:$LINENO: result: $ac_cv_type_wstring_linkable" >&5
9925 --echo "${ECHO_T}$ac_cv_type_wstring_linkable" >&6
9926 -+{ echo "$as_me:$LINENO: result: $ac_cv_type_wstring_linkable" >&5
9927 -+echo "${ECHO_T}$ac_cv_type_wstring_linkable" >&6; }
9928 - if test "$ac_cv_type_wstring_linkable" = "yes"; then
9929 -
9930 - cat >>confdefs.h <<\_ACEOF
9931 -@@ -10141,8 +12019,8 @@
9932 -
9933 - fi
9934 -
9935 --echo "$as_me:$LINENO: checking for socklen_t" >&5
9936 --echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
9937 -+{ echo "$as_me:$LINENO: checking for socklen_t" >&5
9938 -+echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
9939 - if test "${ac_cv_type_socklen_t+set}" = set; then
9940 - echo $ECHO_N "(cached) $ECHO_C" >&6
9941 - else
9942 -@@ -10155,36 +12033,49 @@
9943 - #include <sys/types.h>
9944 - #include <sys/socket.h>
9945 -
9946 -+typedef socklen_t ac__type_new_;
9947 - int
9948 - main ()
9949 - {
9950 --if ((socklen_t *) 0)
9951 -+if ((ac__type_new_ *) 0)
9952 - return 0;
9953 --if (sizeof (socklen_t))
9954 -+if (sizeof (ac__type_new_))
9955 - return 0;
9956 - ;
9957 - return 0;
9958 - }
9959 - _ACEOF
9960 - rm -f conftest.$ac_objext
9961 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9962 -- (eval $ac_compile) 2>conftest.er1
9963 -+if { (ac_try="$ac_compile"
9964 -+case "(($ac_try" in
9965 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9966 -+ *) ac_try_echo=$ac_try;;
9967 -+esac
9968 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9969 -+ (eval "$ac_compile") 2>conftest.er1
9970 - ac_status=$?
9971 - grep -v '^ *+' conftest.er1 >conftest.err
9972 - rm -f conftest.er1
9973 - cat conftest.err >&5
9974 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 - (exit $ac_status); } &&
9976 -- { ac_try='test -z "$ac_cxx_werror_flag"
9977 -- || test ! -s conftest.err'
9978 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9979 -- (eval $ac_try) 2>&5
9980 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
9981 -+ { (case "(($ac_try" in
9982 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9983 -+ *) ac_try_echo=$ac_try;;
9984 -+esac
9985 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9986 -+ (eval "$ac_try") 2>&5
9987 - ac_status=$?
9988 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9989 - (exit $ac_status); }; } &&
9990 - { ac_try='test -s conftest.$ac_objext'
9991 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9992 -- (eval $ac_try) 2>&5
9993 -+ { (case "(($ac_try" in
9994 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9995 -+ *) ac_try_echo=$ac_try;;
9996 -+esac
9997 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9998 -+ (eval "$ac_try") 2>&5
9999 - ac_status=$?
10000 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10001 - (exit $ac_status); }; }; then
10002 -@@ -10195,10 +12086,11 @@
10003 -
10004 - ac_cv_type_socklen_t=no
10005 - fi
10006 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10007 -+
10008 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10009 - fi
10010 --echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
10011 --echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
10012 -+{ echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
10013 -+echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
10014 - if test $ac_cv_type_socklen_t = yes; then
10015 -
10016 - cat >>confdefs.h <<_ACEOF
10017 -@@ -10222,18 +12114,19 @@
10018 - sys/sockio.h sys/statvfs.h sys/sysinfo.h sys/vfs.h
10019 - do
10020 - as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10021 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
10022 -- echo "$as_me:$LINENO: checking for $ac_header" >&5
10023 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10024 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
10025 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10026 -+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
10027 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10028 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10029 - echo $ECHO_N "(cached) $ECHO_C" >&6
10030 - fi
10031 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10032 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10033 -+ac_res=`eval echo '${'$as_ac_Header'}'`
10034 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
10035 -+echo "${ECHO_T}$ac_res" >&6; }
10036 - else
10037 - # Is the header compilable?
10038 --echo "$as_me:$LINENO: checking $ac_header usability" >&5
10039 --echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10040 -+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10041 -+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10042 - cat >conftest.$ac_ext <<_ACEOF
10043 - /* confdefs.h. */
10044 - _ACEOF
10045 -@@ -10244,24 +12137,36 @@
10046 - #include <$ac_header>
10047 - _ACEOF
10048 - rm -f conftest.$ac_objext
10049 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10050 -- (eval $ac_compile) 2>conftest.er1
10051 -+if { (ac_try="$ac_compile"
10052 -+case "(($ac_try" in
10053 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10054 -+ *) ac_try_echo=$ac_try;;
10055 -+esac
10056 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10057 -+ (eval "$ac_compile") 2>conftest.er1
10058 - ac_status=$?
10059 - grep -v '^ *+' conftest.er1 >conftest.err
10060 - rm -f conftest.er1
10061 - cat conftest.err >&5
10062 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10063 - (exit $ac_status); } &&
10064 -- { ac_try='test -z "$ac_cxx_werror_flag"
10065 -- || test ! -s conftest.err'
10066 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10067 -- (eval $ac_try) 2>&5
10068 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10069 -+ { (case "(($ac_try" in
10070 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10071 -+ *) ac_try_echo=$ac_try;;
10072 -+esac
10073 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10074 -+ (eval "$ac_try") 2>&5
10075 - ac_status=$?
10076 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10077 - (exit $ac_status); }; } &&
10078 - { ac_try='test -s conftest.$ac_objext'
10079 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10080 -- (eval $ac_try) 2>&5
10081 -+ { (case "(($ac_try" in
10082 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10083 -+ *) ac_try_echo=$ac_try;;
10084 -+esac
10085 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10086 -+ (eval "$ac_try") 2>&5
10087 - ac_status=$?
10088 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10089 - (exit $ac_status); }; }; then
10090 -@@ -10272,13 +12177,14 @@
10091 -
10092 - ac_header_compiler=no
10093 - fi
10094 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10095 --echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10096 --echo "${ECHO_T}$ac_header_compiler" >&6
10097 -+
10098 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10099 -+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10100 -+echo "${ECHO_T}$ac_header_compiler" >&6; }
10101 -
10102 - # Is the header present?
10103 --echo "$as_me:$LINENO: checking $ac_header presence" >&5
10104 --echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10105 -+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10106 -+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10107 - cat >conftest.$ac_ext <<_ACEOF
10108 - /* confdefs.h. */
10109 - _ACEOF
10110 -@@ -10287,8 +12193,13 @@
10111 - /* end confdefs.h. */
10112 - #include <$ac_header>
10113 - _ACEOF
10114 --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10115 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10116 -+if { (ac_try="$ac_cpp conftest.$ac_ext"
10117 -+case "(($ac_try" in
10118 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10119 -+ *) ac_try_echo=$ac_try;;
10120 -+esac
10121 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10122 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10123 - ac_status=$?
10124 - grep -v '^ *+' conftest.er1 >conftest.err
10125 - rm -f conftest.er1
10126 -@@ -10312,9 +12223,10 @@
10127 -
10128 - ac_header_preproc=no
10129 - fi
10130 -+
10131 - rm -f conftest.err conftest.$ac_ext
10132 --echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10133 --echo "${ECHO_T}$ac_header_preproc" >&6
10134 -+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10135 -+echo "${ECHO_T}$ac_header_preproc" >&6; }
10136 -
10137 - # So? What about this header?
10138 - case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10139 -@@ -10338,25 +12250,24 @@
10140 - echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10141 - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10142 - echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10143 -- (
10144 -- cat <<\_ASBOX
10145 -+ ( cat <<\_ASBOX
10146 - ## ---------------------------------------- ##
10147 - ## Report this to cpp-core@××××××××××××.gov ##
10148 - ## ---------------------------------------- ##
10149 - _ASBOX
10150 -- ) |
10151 -- sed "s/^/$as_me: WARNING: /" >&2
10152 -+ ) | sed "s/^/$as_me: WARNING: /" >&2
10153 - ;;
10154 - esac
10155 --echo "$as_me:$LINENO: checking for $ac_header" >&5
10156 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10157 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
10158 -+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10159 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10160 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10161 - echo $ECHO_N "(cached) $ECHO_C" >&6
10162 - else
10163 - eval "$as_ac_Header=\$ac_header_preproc"
10164 - fi
10165 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10166 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10167 -+ac_res=`eval echo '${'$as_ac_Header'}'`
10168 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
10169 -+echo "${ECHO_T}$ac_res" >&6; }
10170 -
10171 - fi
10172 - if test `eval echo '${'$as_ac_Header'}'` = yes; then
10173 -@@ -10373,18 +12284,19 @@
10174 - for ac_header in winternl.h
10175 - do
10176 - as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10177 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
10178 -- echo "$as_me:$LINENO: checking for $ac_header" >&5
10179 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10180 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
10181 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10182 -+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
10183 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10184 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10185 - echo $ECHO_N "(cached) $ECHO_C" >&6
10186 - fi
10187 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10188 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10189 -+ac_res=`eval echo '${'$as_ac_Header'}'`
10190 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
10191 -+echo "${ECHO_T}$ac_res" >&6; }
10192 - else
10193 - # Is the header compilable?
10194 --echo "$as_me:$LINENO: checking $ac_header usability" >&5
10195 --echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10196 -+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10197 -+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10198 - cat >conftest.$ac_ext <<_ACEOF
10199 - /* confdefs.h. */
10200 - _ACEOF
10201 -@@ -10395,24 +12307,36 @@
10202 - #include <$ac_header>
10203 - _ACEOF
10204 - rm -f conftest.$ac_objext
10205 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10206 -- (eval $ac_compile) 2>conftest.er1
10207 -+if { (ac_try="$ac_compile"
10208 -+case "(($ac_try" in
10209 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10210 -+ *) ac_try_echo=$ac_try;;
10211 -+esac
10212 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10213 -+ (eval "$ac_compile") 2>conftest.er1
10214 - ac_status=$?
10215 - grep -v '^ *+' conftest.er1 >conftest.err
10216 - rm -f conftest.er1
10217 - cat conftest.err >&5
10218 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10219 - (exit $ac_status); } &&
10220 -- { ac_try='test -z "$ac_cxx_werror_flag"
10221 -- || test ! -s conftest.err'
10222 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10223 -- (eval $ac_try) 2>&5
10224 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10225 -+ { (case "(($ac_try" in
10226 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10227 -+ *) ac_try_echo=$ac_try;;
10228 -+esac
10229 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10230 -+ (eval "$ac_try") 2>&5
10231 - ac_status=$?
10232 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10233 - (exit $ac_status); }; } &&
10234 - { ac_try='test -s conftest.$ac_objext'
10235 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10236 -- (eval $ac_try) 2>&5
10237 -+ { (case "(($ac_try" in
10238 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10239 -+ *) ac_try_echo=$ac_try;;
10240 -+esac
10241 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10242 -+ (eval "$ac_try") 2>&5
10243 - ac_status=$?
10244 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10245 - (exit $ac_status); }; }; then
10246 -@@ -10423,13 +12347,14 @@
10247 -
10248 - ac_header_compiler=no
10249 - fi
10250 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10251 --echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10252 --echo "${ECHO_T}$ac_header_compiler" >&6
10253 -+
10254 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10255 -+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10256 -+echo "${ECHO_T}$ac_header_compiler" >&6; }
10257 -
10258 - # Is the header present?
10259 --echo "$as_me:$LINENO: checking $ac_header presence" >&5
10260 --echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10261 -+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10262 -+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10263 - cat >conftest.$ac_ext <<_ACEOF
10264 - /* confdefs.h. */
10265 - _ACEOF
10266 -@@ -10438,8 +12363,13 @@
10267 - /* end confdefs.h. */
10268 - #include <$ac_header>
10269 - _ACEOF
10270 --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10271 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10272 -+if { (ac_try="$ac_cpp conftest.$ac_ext"
10273 -+case "(($ac_try" in
10274 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10275 -+ *) ac_try_echo=$ac_try;;
10276 -+esac
10277 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10278 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10279 - ac_status=$?
10280 - grep -v '^ *+' conftest.er1 >conftest.err
10281 - rm -f conftest.er1
10282 -@@ -10463,9 +12393,10 @@
10283 -
10284 - ac_header_preproc=no
10285 - fi
10286 -+
10287 - rm -f conftest.err conftest.$ac_ext
10288 --echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10289 --echo "${ECHO_T}$ac_header_preproc" >&6
10290 -+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10291 -+echo "${ECHO_T}$ac_header_preproc" >&6; }
10292 -
10293 - # So? What about this header?
10294 - case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10295 -@@ -10489,25 +12420,24 @@
10296 - echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10297 - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10298 - echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10299 -- (
10300 -- cat <<\_ASBOX
10301 -+ ( cat <<\_ASBOX
10302 - ## ---------------------------------------- ##
10303 - ## Report this to cpp-core@××××××××××××.gov ##
10304 - ## ---------------------------------------- ##
10305 - _ASBOX
10306 -- ) |
10307 -- sed "s/^/$as_me: WARNING: /" >&2
10308 -+ ) | sed "s/^/$as_me: WARNING: /" >&2
10309 - ;;
10310 - esac
10311 --echo "$as_me:$LINENO: checking for $ac_header" >&5
10312 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10313 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
10314 -+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10315 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10316 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10317 - echo $ECHO_N "(cached) $ECHO_C" >&6
10318 - else
10319 - eval "$as_ac_Header=\$ac_header_preproc"
10320 - fi
10321 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10322 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10323 -+ac_res=`eval echo '${'$as_ac_Header'}'`
10324 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
10325 -+echo "${ECHO_T}$ac_res" >&6; }
10326 -
10327 - fi
10328 - if test `eval echo '${'$as_ac_Header'}'` = yes; then
10329 -@@ -10539,18 +12469,19 @@
10330 - sys/ioctl.h sys/select.h sys/socket.h sys/time.h wchar.h
10331 - do
10332 - as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10333 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
10334 -- echo "$as_me:$LINENO: checking for $ac_header" >&5
10335 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10336 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
10337 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10338 -+ { echo "$as_me:$LINENO: checking for $ac_header" >&5
10339 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10340 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10341 - echo $ECHO_N "(cached) $ECHO_C" >&6
10342 - fi
10343 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10344 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10345 -+ac_res=`eval echo '${'$as_ac_Header'}'`
10346 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
10347 -+echo "${ECHO_T}$ac_res" >&6; }
10348 - else
10349 - # Is the header compilable?
10350 --echo "$as_me:$LINENO: checking $ac_header usability" >&5
10351 --echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10352 -+{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10353 -+echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10354 - cat >conftest.$ac_ext <<_ACEOF
10355 - /* confdefs.h. */
10356 - _ACEOF
10357 -@@ -10561,24 +12492,36 @@
10358 - #include <$ac_header>
10359 - _ACEOF
10360 - rm -f conftest.$ac_objext
10361 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10362 -- (eval $ac_compile) 2>conftest.er1
10363 -+if { (ac_try="$ac_compile"
10364 -+case "(($ac_try" in
10365 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10366 -+ *) ac_try_echo=$ac_try;;
10367 -+esac
10368 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10369 -+ (eval "$ac_compile") 2>conftest.er1
10370 - ac_status=$?
10371 - grep -v '^ *+' conftest.er1 >conftest.err
10372 - rm -f conftest.er1
10373 - cat conftest.err >&5
10374 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10375 - (exit $ac_status); } &&
10376 -- { ac_try='test -z "$ac_cxx_werror_flag"
10377 -- || test ! -s conftest.err'
10378 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10379 -- (eval $ac_try) 2>&5
10380 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10381 -+ { (case "(($ac_try" in
10382 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10383 -+ *) ac_try_echo=$ac_try;;
10384 -+esac
10385 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10386 -+ (eval "$ac_try") 2>&5
10387 - ac_status=$?
10388 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10389 - (exit $ac_status); }; } &&
10390 - { ac_try='test -s conftest.$ac_objext'
10391 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10392 -- (eval $ac_try) 2>&5
10393 -+ { (case "(($ac_try" in
10394 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10395 -+ *) ac_try_echo=$ac_try;;
10396 -+esac
10397 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10398 -+ (eval "$ac_try") 2>&5
10399 - ac_status=$?
10400 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10401 - (exit $ac_status); }; }; then
10402 -@@ -10589,13 +12532,14 @@
10403 -
10404 - ac_header_compiler=no
10405 - fi
10406 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10407 --echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10408 --echo "${ECHO_T}$ac_header_compiler" >&6
10409 -+
10410 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10411 -+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10412 -+echo "${ECHO_T}$ac_header_compiler" >&6; }
10413 -
10414 - # Is the header present?
10415 --echo "$as_me:$LINENO: checking $ac_header presence" >&5
10416 --echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10417 -+{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10418 -+echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10419 - cat >conftest.$ac_ext <<_ACEOF
10420 - /* confdefs.h. */
10421 - _ACEOF
10422 -@@ -10604,8 +12548,13 @@
10423 - /* end confdefs.h. */
10424 - #include <$ac_header>
10425 - _ACEOF
10426 --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10427 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10428 -+if { (ac_try="$ac_cpp conftest.$ac_ext"
10429 -+case "(($ac_try" in
10430 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10431 -+ *) ac_try_echo=$ac_try;;
10432 -+esac
10433 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10434 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10435 - ac_status=$?
10436 - grep -v '^ *+' conftest.er1 >conftest.err
10437 - rm -f conftest.er1
10438 -@@ -10629,9 +12578,10 @@
10439 -
10440 - ac_header_preproc=no
10441 - fi
10442 -+
10443 - rm -f conftest.err conftest.$ac_ext
10444 --echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10445 --echo "${ECHO_T}$ac_header_preproc" >&6
10446 -+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10447 -+echo "${ECHO_T}$ac_header_preproc" >&6; }
10448 -
10449 - # So? What about this header?
10450 - case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10451 -@@ -10655,25 +12605,24 @@
10452 - echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10453 - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10454 - echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10455 -- (
10456 -- cat <<\_ASBOX
10457 -+ ( cat <<\_ASBOX
10458 - ## ---------------------------------------- ##
10459 - ## Report this to cpp-core@××××××××××××.gov ##
10460 - ## ---------------------------------------- ##
10461 - _ASBOX
10462 -- ) |
10463 -- sed "s/^/$as_me: WARNING: /" >&2
10464 -+ ) | sed "s/^/$as_me: WARNING: /" >&2
10465 - ;;
10466 - esac
10467 --echo "$as_me:$LINENO: checking for $ac_header" >&5
10468 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10469 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
10470 -+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10471 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10472 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10473 - echo $ECHO_N "(cached) $ECHO_C" >&6
10474 - else
10475 - eval "$as_ac_Header=\$ac_header_preproc"
10476 - fi
10477 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10478 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10479 -+ac_res=`eval echo '${'$as_ac_Header'}'`
10480 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
10481 -+echo "${ECHO_T}$ac_res" >&6; }
10482 -
10483 - fi
10484 - if test `eval echo '${'$as_ac_Header'}'` = yes; then
10485 -@@ -10685,8 +12634,8 @@
10486 -
10487 - done
10488 -
10489 --echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10490 --echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
10491 -+{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
10492 -+echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
10493 - if test "${ac_cv_header_time+set}" = set; then
10494 - echo $ECHO_N "(cached) $ECHO_C" >&6
10495 - else
10496 -@@ -10710,24 +12659,36 @@
10497 - }
10498 - _ACEOF
10499 - rm -f conftest.$ac_objext
10500 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10501 -- (eval $ac_compile) 2>conftest.er1
10502 -+if { (ac_try="$ac_compile"
10503 -+case "(($ac_try" in
10504 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10505 -+ *) ac_try_echo=$ac_try;;
10506 -+esac
10507 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10508 -+ (eval "$ac_compile") 2>conftest.er1
10509 - ac_status=$?
10510 - grep -v '^ *+' conftest.er1 >conftest.err
10511 - rm -f conftest.er1
10512 - cat conftest.err >&5
10513 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10514 - (exit $ac_status); } &&
10515 -- { ac_try='test -z "$ac_cxx_werror_flag"
10516 -- || test ! -s conftest.err'
10517 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10518 -- (eval $ac_try) 2>&5
10519 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10520 -+ { (case "(($ac_try" in
10521 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10522 -+ *) ac_try_echo=$ac_try;;
10523 -+esac
10524 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10525 -+ (eval "$ac_try") 2>&5
10526 - ac_status=$?
10527 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528 - (exit $ac_status); }; } &&
10529 - { ac_try='test -s conftest.$ac_objext'
10530 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10531 -- (eval $ac_try) 2>&5
10532 -+ { (case "(($ac_try" in
10533 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10534 -+ *) ac_try_echo=$ac_try;;
10535 -+esac
10536 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10537 -+ (eval "$ac_try") 2>&5
10538 - ac_status=$?
10539 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10540 - (exit $ac_status); }; }; then
10541 -@@ -10738,10 +12699,11 @@
10542 -
10543 - ac_cv_header_time=no
10544 - fi
10545 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10546 -+
10547 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10548 - fi
10549 --echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10550 --echo "${ECHO_T}$ac_cv_header_time" >&6
10551 -+{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
10552 -+echo "${ECHO_T}$ac_cv_header_time" >&6; }
10553 - if test $ac_cv_header_time = yes; then
10554 -
10555 - cat >>confdefs.h <<\_ACEOF
10556 -@@ -10753,8 +12715,8 @@
10557 -
10558 - ## gethostbyname_r() -- 2 different variants: 5-arg (Solaris), 6-arg (Linux).
10559 -
10560 --echo "$as_me:$LINENO: checking for gethostbyname_r" >&5
10561 --echo $ECHO_N "checking for gethostbyname_r... $ECHO_C" >&6
10562 -+{ echo "$as_me:$LINENO: checking for gethostbyname_r" >&5
10563 -+echo $ECHO_N "checking for gethostbyname_r... $ECHO_C" >&6; }
10564 - if test "${ncbi_cv_func_gethostbyname_r+set}" = set; then
10565 - echo $ECHO_N "(cached) $ECHO_C" >&6
10566 - else
10567 -@@ -10781,24 +12743,36 @@
10568 - }
10569 - _ACEOF
10570 - rm -f conftest.$ac_objext
10571 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10572 -- (eval $ac_compile) 2>conftest.er1
10573 -+if { (ac_try="$ac_compile"
10574 -+case "(($ac_try" in
10575 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10576 -+ *) ac_try_echo=$ac_try;;
10577 -+esac
10578 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10579 -+ (eval "$ac_compile") 2>conftest.er1
10580 - ac_status=$?
10581 - grep -v '^ *+' conftest.er1 >conftest.err
10582 - rm -f conftest.er1
10583 - cat conftest.err >&5
10584 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10585 - (exit $ac_status); } &&
10586 -- { ac_try='test -z "$ac_cxx_werror_flag"
10587 -- || test ! -s conftest.err'
10588 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10589 -- (eval $ac_try) 2>&5
10590 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10591 -+ { (case "(($ac_try" in
10592 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10593 -+ *) ac_try_echo=$ac_try;;
10594 -+esac
10595 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10596 -+ (eval "$ac_try") 2>&5
10597 - ac_status=$?
10598 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10599 - (exit $ac_status); }; } &&
10600 - { ac_try='test -s conftest.$ac_objext'
10601 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10602 -- (eval $ac_try) 2>&5
10603 -+ { (case "(($ac_try" in
10604 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10605 -+ *) ac_try_echo=$ac_try;;
10606 -+esac
10607 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10608 -+ (eval "$ac_try") 2>&5
10609 - ac_status=$?
10610 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10611 - (exit $ac_status); }; }; then
10612 -@@ -10810,8 +12784,10 @@
10613 - echo "$as_me: failed program was:" >&5
10614 - sed 's/^/| /' conftest.$ac_ext >&5
10615 -
10616 -+
10617 - fi
10618 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10619 -+
10620 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10621 - if test "$ncbi_cv_func_gethostbyname_r" = "no" ; then
10622 - cat >conftest.$ac_ext <<_ACEOF
10623 - /* confdefs.h. */
10624 -@@ -10835,24 +12811,36 @@
10625 - }
10626 - _ACEOF
10627 - rm -f conftest.$ac_objext
10628 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10629 -- (eval $ac_compile) 2>conftest.er1
10630 -+if { (ac_try="$ac_compile"
10631 -+case "(($ac_try" in
10632 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10633 -+ *) ac_try_echo=$ac_try;;
10634 -+esac
10635 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10636 -+ (eval "$ac_compile") 2>conftest.er1
10637 - ac_status=$?
10638 - grep -v '^ *+' conftest.er1 >conftest.err
10639 - rm -f conftest.er1
10640 - cat conftest.err >&5
10641 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642 - (exit $ac_status); } &&
10643 -- { ac_try='test -z "$ac_cxx_werror_flag"
10644 -- || test ! -s conftest.err'
10645 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10646 -- (eval $ac_try) 2>&5
10647 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10648 -+ { (case "(($ac_try" in
10649 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10650 -+ *) ac_try_echo=$ac_try;;
10651 -+esac
10652 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10653 -+ (eval "$ac_try") 2>&5
10654 - ac_status=$?
10655 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10656 - (exit $ac_status); }; } &&
10657 - { ac_try='test -s conftest.$ac_objext'
10658 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10659 -- (eval $ac_try) 2>&5
10660 -+ { (case "(($ac_try" in
10661 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10662 -+ *) ac_try_echo=$ac_try;;
10663 -+esac
10664 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10665 -+ (eval "$ac_try") 2>&5
10666 - ac_status=$?
10667 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668 - (exit $ac_status); }; }; then
10669 -@@ -10864,12 +12852,14 @@
10670 - echo "$as_me: failed program was:" >&5
10671 - sed 's/^/| /' conftest.$ac_ext >&5
10672 -
10673 -+
10674 - fi
10675 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10676 -+
10677 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10678 - fi
10679 - fi
10680 --echo "$as_me:$LINENO: result: $ncbi_cv_func_gethostbyname_r" >&5
10681 --echo "${ECHO_T}$ncbi_cv_func_gethostbyname_r" >&6
10682 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_func_gethostbyname_r" >&5
10683 -+echo "${ECHO_T}$ncbi_cv_func_gethostbyname_r" >&6; }
10684 -
10685 - if test "$ncbi_cv_func_gethostbyname_r" != "no" ; then
10686 -
10687 -@@ -10882,8 +12872,8 @@
10688 -
10689 - ## gethostbyaddr_r() -- 2 different variants: 7-arg (Solaris), 8-arg (Linux).
10690 -
10691 --echo "$as_me:$LINENO: checking for gethostbyaddr_r" >&5
10692 --echo $ECHO_N "checking for gethostbyaddr_r... $ECHO_C" >&6
10693 -+{ echo "$as_me:$LINENO: checking for gethostbyaddr_r" >&5
10694 -+echo $ECHO_N "checking for gethostbyaddr_r... $ECHO_C" >&6; }
10695 - if test "${ncbi_cv_func_gethostbyaddr_r+set}" = set; then
10696 - echo $ECHO_N "(cached) $ECHO_C" >&6
10697 - else
10698 -@@ -10916,24 +12906,36 @@
10699 - }
10700 - _ACEOF
10701 - rm -f conftest.$ac_objext
10702 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10703 -- (eval $ac_compile) 2>conftest.er1
10704 -+if { (ac_try="$ac_compile"
10705 -+case "(($ac_try" in
10706 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10707 -+ *) ac_try_echo=$ac_try;;
10708 -+esac
10709 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10710 -+ (eval "$ac_compile") 2>conftest.er1
10711 - ac_status=$?
10712 - grep -v '^ *+' conftest.er1 >conftest.err
10713 - rm -f conftest.er1
10714 - cat conftest.err >&5
10715 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10716 - (exit $ac_status); } &&
10717 -- { ac_try='test -z "$ac_cxx_werror_flag"
10718 -- || test ! -s conftest.err'
10719 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10720 -- (eval $ac_try) 2>&5
10721 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10722 -+ { (case "(($ac_try" in
10723 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10724 -+ *) ac_try_echo=$ac_try;;
10725 -+esac
10726 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10727 -+ (eval "$ac_try") 2>&5
10728 - ac_status=$?
10729 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10730 - (exit $ac_status); }; } &&
10731 - { ac_try='test -s conftest.$ac_objext'
10732 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10733 -- (eval $ac_try) 2>&5
10734 -+ { (case "(($ac_try" in
10735 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10736 -+ *) ac_try_echo=$ac_try;;
10737 -+esac
10738 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10739 -+ (eval "$ac_try") 2>&5
10740 - ac_status=$?
10741 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10742 - (exit $ac_status); }; }; then
10743 -@@ -10945,8 +12947,10 @@
10744 - echo "$as_me: failed program was:" >&5
10745 - sed 's/^/| /' conftest.$ac_ext >&5
10746 -
10747 -+
10748 - fi
10749 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10750 -+
10751 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10752 - if test "$ncbi_cv_func_gethostbyaddr_r" = "no" ; then
10753 - cat >conftest.$ac_ext <<_ACEOF
10754 - /* confdefs.h. */
10755 -@@ -10976,24 +12980,36 @@
10756 - }
10757 - _ACEOF
10758 - rm -f conftest.$ac_objext
10759 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10760 -- (eval $ac_compile) 2>conftest.er1
10761 -+if { (ac_try="$ac_compile"
10762 -+case "(($ac_try" in
10763 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10764 -+ *) ac_try_echo=$ac_try;;
10765 -+esac
10766 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10767 -+ (eval "$ac_compile") 2>conftest.er1
10768 - ac_status=$?
10769 - grep -v '^ *+' conftest.er1 >conftest.err
10770 - rm -f conftest.er1
10771 - cat conftest.err >&5
10772 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 - (exit $ac_status); } &&
10774 -- { ac_try='test -z "$ac_cxx_werror_flag"
10775 -- || test ! -s conftest.err'
10776 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10777 -- (eval $ac_try) 2>&5
10778 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10779 -+ { (case "(($ac_try" in
10780 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10781 -+ *) ac_try_echo=$ac_try;;
10782 -+esac
10783 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10784 -+ (eval "$ac_try") 2>&5
10785 - ac_status=$?
10786 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10787 - (exit $ac_status); }; } &&
10788 - { ac_try='test -s conftest.$ac_objext'
10789 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10790 -- (eval $ac_try) 2>&5
10791 -+ { (case "(($ac_try" in
10792 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10793 -+ *) ac_try_echo=$ac_try;;
10794 -+esac
10795 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10796 -+ (eval "$ac_try") 2>&5
10797 - ac_status=$?
10798 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10799 - (exit $ac_status); }; }; then
10800 -@@ -11005,12 +13021,14 @@
10801 - echo "$as_me: failed program was:" >&5
10802 - sed 's/^/| /' conftest.$ac_ext >&5
10803 -
10804 -+
10805 - fi
10806 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10807 -+
10808 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10809 - fi
10810 - fi
10811 --echo "$as_me:$LINENO: result: $ncbi_cv_func_gethostbyaddr_r" >&5
10812 --echo "${ECHO_T}$ncbi_cv_func_gethostbyaddr_r" >&6
10813 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_func_gethostbyaddr_r" >&5
10814 -+echo "${ECHO_T}$ncbi_cv_func_gethostbyaddr_r" >&6; }
10815 -
10816 - if test "$ncbi_cv_func_gethostbyaddr_r" != "no" ; then
10817 -
10818 -@@ -11023,8 +13041,8 @@
10819 -
10820 - ## getservbyname_r() -- 2 different variants: 5-arg (Solaris), 6-arg (Linux).
10821 -
10822 --echo "$as_me:$LINENO: checking for getservbyname_r" >&5
10823 --echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
10824 -+{ echo "$as_me:$LINENO: checking for getservbyname_r" >&5
10825 -+echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6; }
10826 - if test "${ncbi_cv_func_getservbyname_r+set}" = set; then
10827 - echo $ECHO_N "(cached) $ECHO_C" >&6
10828 - else
10829 -@@ -11051,24 +13069,36 @@
10830 - }
10831 - _ACEOF
10832 - rm -f conftest.$ac_objext
10833 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10834 -- (eval $ac_compile) 2>conftest.er1
10835 -+if { (ac_try="$ac_compile"
10836 -+case "(($ac_try" in
10837 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10838 -+ *) ac_try_echo=$ac_try;;
10839 -+esac
10840 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10841 -+ (eval "$ac_compile") 2>conftest.er1
10842 - ac_status=$?
10843 - grep -v '^ *+' conftest.er1 >conftest.err
10844 - rm -f conftest.er1
10845 - cat conftest.err >&5
10846 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10847 - (exit $ac_status); } &&
10848 -- { ac_try='test -z "$ac_cxx_werror_flag"
10849 -- || test ! -s conftest.err'
10850 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10851 -- (eval $ac_try) 2>&5
10852 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10853 -+ { (case "(($ac_try" in
10854 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10855 -+ *) ac_try_echo=$ac_try;;
10856 -+esac
10857 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10858 -+ (eval "$ac_try") 2>&5
10859 - ac_status=$?
10860 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10861 - (exit $ac_status); }; } &&
10862 - { ac_try='test -s conftest.$ac_objext'
10863 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10864 -- (eval $ac_try) 2>&5
10865 -+ { (case "(($ac_try" in
10866 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10867 -+ *) ac_try_echo=$ac_try;;
10868 -+esac
10869 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10870 -+ (eval "$ac_try") 2>&5
10871 - ac_status=$?
10872 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873 - (exit $ac_status); }; }; then
10874 -@@ -11080,8 +13110,10 @@
10875 - echo "$as_me: failed program was:" >&5
10876 - sed 's/^/| /' conftest.$ac_ext >&5
10877 -
10878 -+
10879 - fi
10880 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10881 -+
10882 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10883 - if test "$ncbi_cv_func_getservbyname_r" = "no" ; then
10884 - cat >conftest.$ac_ext <<_ACEOF
10885 - /* confdefs.h. */
10886 -@@ -11105,24 +13137,36 @@
10887 - }
10888 - _ACEOF
10889 - rm -f conftest.$ac_objext
10890 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10891 -- (eval $ac_compile) 2>conftest.er1
10892 -+if { (ac_try="$ac_compile"
10893 -+case "(($ac_try" in
10894 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10895 -+ *) ac_try_echo=$ac_try;;
10896 -+esac
10897 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10898 -+ (eval "$ac_compile") 2>conftest.er1
10899 - ac_status=$?
10900 - grep -v '^ *+' conftest.er1 >conftest.err
10901 - rm -f conftest.er1
10902 - cat conftest.err >&5
10903 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904 - (exit $ac_status); } &&
10905 -- { ac_try='test -z "$ac_cxx_werror_flag"
10906 -- || test ! -s conftest.err'
10907 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10908 -- (eval $ac_try) 2>&5
10909 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10910 -+ { (case "(($ac_try" in
10911 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10912 -+ *) ac_try_echo=$ac_try;;
10913 -+esac
10914 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10915 -+ (eval "$ac_try") 2>&5
10916 - ac_status=$?
10917 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918 - (exit $ac_status); }; } &&
10919 - { ac_try='test -s conftest.$ac_objext'
10920 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10921 -- (eval $ac_try) 2>&5
10922 -+ { (case "(($ac_try" in
10923 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10924 -+ *) ac_try_echo=$ac_try;;
10925 -+esac
10926 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10927 -+ (eval "$ac_try") 2>&5
10928 - ac_status=$?
10929 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10930 - (exit $ac_status); }; }; then
10931 -@@ -11134,12 +13178,14 @@
10932 - echo "$as_me: failed program was:" >&5
10933 - sed 's/^/| /' conftest.$ac_ext >&5
10934 -
10935 -+
10936 - fi
10937 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10938 -+
10939 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10940 - fi
10941 - fi
10942 --echo "$as_me:$LINENO: result: $ncbi_cv_func_getservbyname_r" >&5
10943 --echo "${ECHO_T}$ncbi_cv_func_getservbyname_r" >&6
10944 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_func_getservbyname_r" >&5
10945 -+echo "${ECHO_T}$ncbi_cv_func_getservbyname_r" >&6; }
10946 -
10947 - if test "$ncbi_cv_func_getservbyname_r" != "no" ; then
10948 -
10949 -@@ -11152,8 +13198,8 @@
10950 - ## getpwuid_r() -- 2 major variants: 4-arg, 5-arg (POSIX).
10951 - ## (Alternate 4-arg interface ignored due to rarity.)
10952 -
10953 --echo "$as_me:$LINENO: checking for getpwuid_r" >&5
10954 --echo $ECHO_N "checking for getpwuid_r... $ECHO_C" >&6
10955 -+{ echo "$as_me:$LINENO: checking for getpwuid_r" >&5
10956 -+echo $ECHO_N "checking for getpwuid_r... $ECHO_C" >&6; }
10957 - if test "${ncbi_cv_func_getpwuid_r+set}" = set; then
10958 - echo $ECHO_N "(cached) $ECHO_C" >&6
10959 - else
10960 -@@ -11178,24 +13224,36 @@
10961 - }
10962 - _ACEOF
10963 - rm -f conftest.$ac_objext
10964 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10965 -- (eval $ac_compile) 2>conftest.er1
10966 -+if { (ac_try="$ac_compile"
10967 -+case "(($ac_try" in
10968 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10969 -+ *) ac_try_echo=$ac_try;;
10970 -+esac
10971 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10972 -+ (eval "$ac_compile") 2>conftest.er1
10973 - ac_status=$?
10974 - grep -v '^ *+' conftest.er1 >conftest.err
10975 - rm -f conftest.er1
10976 - cat conftest.err >&5
10977 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10978 - (exit $ac_status); } &&
10979 -- { ac_try='test -z "$ac_cxx_werror_flag"
10980 -- || test ! -s conftest.err'
10981 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10982 -- (eval $ac_try) 2>&5
10983 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10984 -+ { (case "(($ac_try" in
10985 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10986 -+ *) ac_try_echo=$ac_try;;
10987 -+esac
10988 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10989 -+ (eval "$ac_try") 2>&5
10990 - ac_status=$?
10991 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10992 - (exit $ac_status); }; } &&
10993 - { ac_try='test -s conftest.$ac_objext'
10994 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10995 -- (eval $ac_try) 2>&5
10996 -+ { (case "(($ac_try" in
10997 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10998 -+ *) ac_try_echo=$ac_try;;
10999 -+esac
11000 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11001 -+ (eval "$ac_try") 2>&5
11002 - ac_status=$?
11003 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11004 - (exit $ac_status); }; }; then
11005 -@@ -11204,8 +13262,10 @@
11006 - echo "$as_me: failed program was:" >&5
11007 - sed 's/^/| /' conftest.$ac_ext >&5
11008 -
11009 -+
11010 - fi
11011 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11012 -+
11013 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11014 - if test "$ncbi_cv_func_getpwuid_r" = "no" ; then
11015 - cat >conftest.$ac_ext <<_ACEOF
11016 - /* confdefs.h. */
11017 -@@ -11227,24 +13287,36 @@
11018 - }
11019 - _ACEOF
11020 - rm -f conftest.$ac_objext
11021 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11022 -- (eval $ac_compile) 2>conftest.er1
11023 -+if { (ac_try="$ac_compile"
11024 -+case "(($ac_try" in
11025 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11026 -+ *) ac_try_echo=$ac_try;;
11027 -+esac
11028 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11029 -+ (eval "$ac_compile") 2>conftest.er1
11030 - ac_status=$?
11031 - grep -v '^ *+' conftest.er1 >conftest.err
11032 - rm -f conftest.er1
11033 - cat conftest.err >&5
11034 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 - (exit $ac_status); } &&
11036 -- { ac_try='test -z "$ac_cxx_werror_flag"
11037 -- || test ! -s conftest.err'
11038 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11039 -- (eval $ac_try) 2>&5
11040 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11041 -+ { (case "(($ac_try" in
11042 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11043 -+ *) ac_try_echo=$ac_try;;
11044 -+esac
11045 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11046 -+ (eval "$ac_try") 2>&5
11047 - ac_status=$?
11048 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11049 - (exit $ac_status); }; } &&
11050 - { ac_try='test -s conftest.$ac_objext'
11051 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11052 -- (eval $ac_try) 2>&5
11053 -+ { (case "(($ac_try" in
11054 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11055 -+ *) ac_try_echo=$ac_try;;
11056 -+esac
11057 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11058 -+ (eval "$ac_try") 2>&5
11059 - ac_status=$?
11060 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061 - (exit $ac_status); }; }; then
11062 -@@ -11253,12 +13325,14 @@
11063 - echo "$as_me: failed program was:" >&5
11064 - sed 's/^/| /' conftest.$ac_ext >&5
11065 -
11066 -+
11067 - fi
11068 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11069 -+
11070 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11071 - fi
11072 - fi
11073 --echo "$as_me:$LINENO: result: $ncbi_cv_func_getpwuid_r" >&5
11074 --echo "${ECHO_T}$ncbi_cv_func_getpwuid_r" >&6
11075 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_func_getpwuid_r" >&5
11076 -+echo "${ECHO_T}$ncbi_cv_func_getpwuid_r" >&6; }
11077 -
11078 - if test "$ncbi_cv_func_getpwuid_r" != "no" ; then
11079 -
11080 -@@ -11270,8 +13344,8 @@
11081 -
11082 - # Perform a full-fledged check in C++ to be sure of an actual declaration.
11083 - # Accommodate the old Solaris interface that returns char* rather than int. :-/
11084 --echo "$as_me:$LINENO: checking for getlogin_r" >&5
11085 --echo $ECHO_N "checking for getlogin_r... $ECHO_C" >&6
11086 -+{ echo "$as_me:$LINENO: checking for getlogin_r" >&5
11087 -+echo $ECHO_N "checking for getlogin_r... $ECHO_C" >&6; }
11088 - if test "${ncbi_cv_func_getlogin_r+set}" = set; then
11089 - echo $ECHO_N "(cached) $ECHO_C" >&6
11090 - else
11091 -@@ -11292,24 +13366,36 @@
11092 - }
11093 - _ACEOF
11094 - rm -f conftest.$ac_objext
11095 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11096 -- (eval $ac_compile) 2>conftest.er1
11097 -+if { (ac_try="$ac_compile"
11098 -+case "(($ac_try" in
11099 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11100 -+ *) ac_try_echo=$ac_try;;
11101 -+esac
11102 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11103 -+ (eval "$ac_compile") 2>conftest.er1
11104 - ac_status=$?
11105 - grep -v '^ *+' conftest.er1 >conftest.err
11106 - rm -f conftest.er1
11107 - cat conftest.err >&5
11108 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109 - (exit $ac_status); } &&
11110 -- { ac_try='test -z "$ac_cxx_werror_flag"
11111 -- || test ! -s conftest.err'
11112 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11113 -- (eval $ac_try) 2>&5
11114 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11115 -+ { (case "(($ac_try" in
11116 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11117 -+ *) ac_try_echo=$ac_try;;
11118 -+esac
11119 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11120 -+ (eval "$ac_try") 2>&5
11121 - ac_status=$?
11122 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11123 - (exit $ac_status); }; } &&
11124 - { ac_try='test -s conftest.$ac_objext'
11125 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11126 -- (eval $ac_try) 2>&5
11127 -+ { (case "(($ac_try" in
11128 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11129 -+ *) ac_try_echo=$ac_try;;
11130 -+esac
11131 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11132 -+ (eval "$ac_try") 2>&5
11133 - ac_status=$?
11134 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135 - (exit $ac_status); }; }; then
11136 -@@ -11320,10 +13406,11 @@
11137 -
11138 - ncbi_cv_func_getlogin_r=no
11139 - fi
11140 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11141 -+
11142 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11143 - fi
11144 --echo "$as_me:$LINENO: result: $ncbi_cv_func_getlogin_r" >&5
11145 --echo "${ECHO_T}$ncbi_cv_func_getlogin_r" >&6
11146 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_func_getlogin_r" >&5
11147 -+echo "${ECHO_T}$ncbi_cv_func_getlogin_r" >&6; }
11148 - if test $ncbi_cv_func_getlogin_r = yes; then
11149 -
11150 - cat >>confdefs.h <<\_ACEOF
11151 -@@ -11342,13 +13429,12 @@
11152 -
11153 -
11154 -
11155 --
11156 - for ac_func in localtime_r pthread_setconcurrency pthread_atfork
11157 - do
11158 - as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11159 --echo "$as_me:$LINENO: checking for $ac_func" >&5
11160 --echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11161 --if eval "test \"\${$as_ac_var+set}\" = set"; then
11162 -+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
11163 -+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11164 -+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11165 - echo $ECHO_N "(cached) $ECHO_C" >&6
11166 - else
11167 - cat >conftest.$ac_ext <<_ACEOF
11168 -@@ -11374,53 +13460,59 @@
11169 -
11170 - #undef $ac_func
11171 -
11172 --/* Override any gcc2 internal prototype to avoid an error. */
11173 -+/* Override any GCC internal prototype to avoid an error.
11174 -+ Use char because int might match the return type of a GCC
11175 -+ builtin and then its argument prototype would still apply. */
11176 - #ifdef __cplusplus
11177 - extern "C"
11178 --{
11179 - #endif
11180 --/* We use char because int might match the return type of a gcc2
11181 -- builtin and then its argument prototype would still apply. */
11182 - char $ac_func ();
11183 - /* The GNU C library defines this for functions which it implements
11184 - to always fail with ENOSYS. Some functions are actually named
11185 - something starting with __ and the normal name is an alias. */
11186 --#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11187 -+#if defined __stub_$ac_func || defined __stub___$ac_func
11188 - choke me
11189 --#else
11190 --char (*f) () = $ac_func;
11191 --#endif
11192 --#ifdef __cplusplus
11193 --}
11194 - #endif
11195 -
11196 - int
11197 - main ()
11198 - {
11199 --return f != $ac_func;
11200 -+return $ac_func ();
11201 - ;
11202 - return 0;
11203 - }
11204 - _ACEOF
11205 - rm -f conftest.$ac_objext conftest$ac_exeext
11206 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11207 -- (eval $ac_link) 2>conftest.er1
11208 -+if { (ac_try="$ac_link"
11209 -+case "(($ac_try" in
11210 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11211 -+ *) ac_try_echo=$ac_try;;
11212 -+esac
11213 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11214 -+ (eval "$ac_link") 2>conftest.er1
11215 - ac_status=$?
11216 - grep -v '^ *+' conftest.er1 >conftest.err
11217 - rm -f conftest.er1
11218 - cat conftest.err >&5
11219 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11220 - (exit $ac_status); } &&
11221 -- { ac_try='test -z "$ac_c_werror_flag"
11222 -- || test ! -s conftest.err'
11223 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11224 -- (eval $ac_try) 2>&5
11225 -+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11226 -+ { (case "(($ac_try" in
11227 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11228 -+ *) ac_try_echo=$ac_try;;
11229 -+esac
11230 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11231 -+ (eval "$ac_try") 2>&5
11232 - ac_status=$?
11233 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11234 - (exit $ac_status); }; } &&
11235 - { ac_try='test -s conftest$ac_exeext'
11236 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11237 -- (eval $ac_try) 2>&5
11238 -+ { (case "(($ac_try" in
11239 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11240 -+ *) ac_try_echo=$ac_try;;
11241 -+esac
11242 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11243 -+ (eval "$ac_try") 2>&5
11244 - ac_status=$?
11245 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11246 - (exit $ac_status); }; }; then
11247 -@@ -11431,11 +13523,13 @@
11248 -
11249 - eval "$as_ac_var=no"
11250 - fi
11251 --rm -f conftest.err conftest.$ac_objext \
11252 -+
11253 -+rm -f core conftest.err conftest.$ac_objext \
11254 - conftest$ac_exeext conftest.$ac_ext
11255 - fi
11256 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11257 --echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11258 -+ac_res=`eval echo '${'$as_ac_var'}'`
11259 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
11260 -+echo "${ECHO_T}$ac_res" >&6; }
11261 - if test `eval echo '${'$as_ac_var'}'` = yes; then
11262 - cat >>confdefs.h <<_ACEOF
11263 - #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11264 -@@ -11445,8 +13539,8 @@
11265 - done
11266 -
11267 - if test "$ac_cv_func_localtime_r" = "yes" ; then
11268 -- echo "$as_me:$LINENO: checking return type of localtime_r" >&5
11269 --echo $ECHO_N "checking return type of localtime_r... $ECHO_C" >&6
11270 -+ { echo "$as_me:$LINENO: checking return type of localtime_r" >&5
11271 -+echo $ECHO_N "checking return type of localtime_r... $ECHO_C" >&6; }
11272 - if test "${ac_cv_func_which_localtime_r+set}" = set; then
11273 - echo $ECHO_N "(cached) $ECHO_C" >&6
11274 - else
11275 -@@ -11469,24 +13563,36 @@
11276 - }
11277 - _ACEOF
11278 - rm -f conftest.$ac_objext
11279 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11280 -- (eval $ac_compile) 2>conftest.er1
11281 -+if { (ac_try="$ac_compile"
11282 -+case "(($ac_try" in
11283 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11284 -+ *) ac_try_echo=$ac_try;;
11285 -+esac
11286 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11287 -+ (eval "$ac_compile") 2>conftest.er1
11288 - ac_status=$?
11289 - grep -v '^ *+' conftest.er1 >conftest.err
11290 - rm -f conftest.er1
11291 - cat conftest.err >&5
11292 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11293 - (exit $ac_status); } &&
11294 -- { ac_try='test -z "$ac_c_werror_flag"
11295 -- || test ! -s conftest.err'
11296 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11297 -- (eval $ac_try) 2>&5
11298 -+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11299 -+ { (case "(($ac_try" in
11300 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11301 -+ *) ac_try_echo=$ac_try;;
11302 -+esac
11303 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11304 -+ (eval "$ac_try") 2>&5
11305 - ac_status=$?
11306 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11307 - (exit $ac_status); }; } &&
11308 - { ac_try='test -s conftest.$ac_objext'
11309 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11310 -- (eval $ac_try) 2>&5
11311 -+ { (case "(($ac_try" in
11312 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11313 -+ *) ac_try_echo=$ac_try;;
11314 -+esac
11315 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11316 -+ (eval "$ac_try") 2>&5
11317 - ac_status=$?
11318 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319 - (exit $ac_status); }; }; then
11320 -@@ -11497,10 +13603,11 @@
11321 -
11322 - ac_cv_func_which_localtime_r=int
11323 - fi
11324 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11325 -+
11326 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11327 - fi
11328 --echo "$as_me:$LINENO: result: $ac_cv_func_which_localtime_r" >&5
11329 --echo "${ECHO_T}$ac_cv_func_which_localtime_r" >&6
11330 -+{ echo "$as_me:$LINENO: result: $ac_cv_func_which_localtime_r" >&5
11331 -+echo "${ECHO_T}$ac_cv_func_which_localtime_r" >&6; }
11332 - if test $ac_cv_func_which_localtime_r = struct; then
11333 -
11334 - cat >>confdefs.h <<\_ACEOF
11335 -@@ -11516,8 +13623,8 @@
11336 - fi
11337 - fi
11338 -
11339 --echo "$as_me:$LINENO: checking whether pthread mutexes are available" >&5
11340 --echo $ECHO_N "checking whether pthread mutexes are available... $ECHO_C" >&6
11341 -+{ echo "$as_me:$LINENO: checking whether pthread mutexes are available" >&5
11342 -+echo $ECHO_N "checking whether pthread mutexes are available... $ECHO_C" >&6; }
11343 - if test "${ncbi_cv_func_pthread_mutex+set}" = set; then
11344 - echo $ECHO_N "(cached) $ECHO_C" >&6
11345 - else
11346 -@@ -11538,24 +13645,36 @@
11347 - }
11348 - _ACEOF
11349 - rm -f conftest.$ac_objext conftest$ac_exeext
11350 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11351 -- (eval $ac_link) 2>conftest.er1
11352 -+if { (ac_try="$ac_link"
11353 -+case "(($ac_try" in
11354 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11355 -+ *) ac_try_echo=$ac_try;;
11356 -+esac
11357 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11358 -+ (eval "$ac_link") 2>conftest.er1
11359 - ac_status=$?
11360 - grep -v '^ *+' conftest.er1 >conftest.err
11361 - rm -f conftest.er1
11362 - cat conftest.err >&5
11363 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 - (exit $ac_status); } &&
11365 -- { ac_try='test -z "$ac_c_werror_flag"
11366 -- || test ! -s conftest.err'
11367 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11368 -- (eval $ac_try) 2>&5
11369 -+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11370 -+ { (case "(($ac_try" in
11371 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11372 -+ *) ac_try_echo=$ac_try;;
11373 -+esac
11374 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11375 -+ (eval "$ac_try") 2>&5
11376 - ac_status=$?
11377 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11378 - (exit $ac_status); }; } &&
11379 - { ac_try='test -s conftest$ac_exeext'
11380 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11381 -- (eval $ac_try) 2>&5
11382 -+ { (case "(($ac_try" in
11383 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11384 -+ *) ac_try_echo=$ac_try;;
11385 -+esac
11386 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11387 -+ (eval "$ac_try") 2>&5
11388 - ac_status=$?
11389 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11390 - (exit $ac_status); }; }; then
11391 -@@ -11566,11 +13685,12 @@
11392 -
11393 - ncbi_cv_func_pthread_mutex=no
11394 - fi
11395 --rm -f conftest.err conftest.$ac_objext \
11396 -+
11397 -+rm -f core conftest.err conftest.$ac_objext \
11398 - conftest$ac_exeext conftest.$ac_ext
11399 - fi
11400 --echo "$as_me:$LINENO: result: $ncbi_cv_func_pthread_mutex" >&5
11401 --echo "${ECHO_T}$ncbi_cv_func_pthread_mutex" >&6
11402 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_func_pthread_mutex" >&5
11403 -+echo "${ECHO_T}$ncbi_cv_func_pthread_mutex" >&6; }
11404 - if test $ncbi_cv_func_pthread_mutex=yes; then
11405 -
11406 - cat >>confdefs.h <<\_ACEOF
11407 -@@ -11586,9 +13706,9 @@
11408 - for ac_func in vprintf
11409 - do
11410 - as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11411 --echo "$as_me:$LINENO: checking for $ac_func" >&5
11412 --echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11413 --if eval "test \"\${$as_ac_var+set}\" = set"; then
11414 -+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
11415 -+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11416 -+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11417 - echo $ECHO_N "(cached) $ECHO_C" >&6
11418 - else
11419 - cat >conftest.$ac_ext <<_ACEOF
11420 -@@ -11614,53 +13734,59 @@
11421 -
11422 - #undef $ac_func
11423 -
11424 --/* Override any gcc2 internal prototype to avoid an error. */
11425 -+/* Override any GCC internal prototype to avoid an error.
11426 -+ Use char because int might match the return type of a GCC
11427 -+ builtin and then its argument prototype would still apply. */
11428 - #ifdef __cplusplus
11429 - extern "C"
11430 --{
11431 - #endif
11432 --/* We use char because int might match the return type of a gcc2
11433 -- builtin and then its argument prototype would still apply. */
11434 - char $ac_func ();
11435 - /* The GNU C library defines this for functions which it implements
11436 - to always fail with ENOSYS. Some functions are actually named
11437 - something starting with __ and the normal name is an alias. */
11438 --#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11439 -+#if defined __stub_$ac_func || defined __stub___$ac_func
11440 - choke me
11441 --#else
11442 --char (*f) () = $ac_func;
11443 --#endif
11444 --#ifdef __cplusplus
11445 --}
11446 - #endif
11447 -
11448 - int
11449 - main ()
11450 - {
11451 --return f != $ac_func;
11452 -+return $ac_func ();
11453 - ;
11454 - return 0;
11455 - }
11456 - _ACEOF
11457 - rm -f conftest.$ac_objext conftest$ac_exeext
11458 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11459 -- (eval $ac_link) 2>conftest.er1
11460 -+if { (ac_try="$ac_link"
11461 -+case "(($ac_try" in
11462 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11463 -+ *) ac_try_echo=$ac_try;;
11464 -+esac
11465 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11466 -+ (eval "$ac_link") 2>conftest.er1
11467 - ac_status=$?
11468 - grep -v '^ *+' conftest.er1 >conftest.err
11469 - rm -f conftest.er1
11470 - cat conftest.err >&5
11471 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11472 - (exit $ac_status); } &&
11473 -- { ac_try='test -z "$ac_c_werror_flag"
11474 -- || test ! -s conftest.err'
11475 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11476 -- (eval $ac_try) 2>&5
11477 -+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11478 -+ { (case "(($ac_try" in
11479 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11480 -+ *) ac_try_echo=$ac_try;;
11481 -+esac
11482 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11483 -+ (eval "$ac_try") 2>&5
11484 - ac_status=$?
11485 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11486 - (exit $ac_status); }; } &&
11487 - { ac_try='test -s conftest$ac_exeext'
11488 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11489 -- (eval $ac_try) 2>&5
11490 -+ { (case "(($ac_try" in
11491 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11492 -+ *) ac_try_echo=$ac_try;;
11493 -+esac
11494 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11495 -+ (eval "$ac_try") 2>&5
11496 - ac_status=$?
11497 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11498 - (exit $ac_status); }; }; then
11499 -@@ -11671,18 +13797,20 @@
11500 -
11501 - eval "$as_ac_var=no"
11502 - fi
11503 --rm -f conftest.err conftest.$ac_objext \
11504 -+
11505 -+rm -f core conftest.err conftest.$ac_objext \
11506 - conftest$ac_exeext conftest.$ac_ext
11507 - fi
11508 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11509 --echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11510 -+ac_res=`eval echo '${'$as_ac_var'}'`
11511 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
11512 -+echo "${ECHO_T}$ac_res" >&6; }
11513 - if test `eval echo '${'$as_ac_var'}'` = yes; then
11514 - cat >>confdefs.h <<_ACEOF
11515 - #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11516 - _ACEOF
11517 -
11518 --echo "$as_me:$LINENO: checking for _doprnt" >&5
11519 --echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
11520 -+{ echo "$as_me:$LINENO: checking for _doprnt" >&5
11521 -+echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
11522 - if test "${ac_cv_func__doprnt+set}" = set; then
11523 - echo $ECHO_N "(cached) $ECHO_C" >&6
11524 - else
11525 -@@ -11709,53 +13837,59 @@
11526 -
11527 - #undef _doprnt
11528 -
11529 --/* Override any gcc2 internal prototype to avoid an error. */
11530 -+/* Override any GCC internal prototype to avoid an error.
11531 -+ Use char because int might match the return type of a GCC
11532 -+ builtin and then its argument prototype would still apply. */
11533 - #ifdef __cplusplus
11534 - extern "C"
11535 --{
11536 - #endif
11537 --/* We use char because int might match the return type of a gcc2
11538 -- builtin and then its argument prototype would still apply. */
11539 - char _doprnt ();
11540 - /* The GNU C library defines this for functions which it implements
11541 - to always fail with ENOSYS. Some functions are actually named
11542 - something starting with __ and the normal name is an alias. */
11543 --#if defined (__stub__doprnt) || defined (__stub____doprnt)
11544 -+#if defined __stub__doprnt || defined __stub____doprnt
11545 - choke me
11546 --#else
11547 --char (*f) () = _doprnt;
11548 --#endif
11549 --#ifdef __cplusplus
11550 --}
11551 - #endif
11552 -
11553 - int
11554 - main ()
11555 - {
11556 --return f != _doprnt;
11557 -+return _doprnt ();
11558 - ;
11559 - return 0;
11560 - }
11561 - _ACEOF
11562 - rm -f conftest.$ac_objext conftest$ac_exeext
11563 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11564 -- (eval $ac_link) 2>conftest.er1
11565 -+if { (ac_try="$ac_link"
11566 -+case "(($ac_try" in
11567 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11568 -+ *) ac_try_echo=$ac_try;;
11569 -+esac
11570 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11571 -+ (eval "$ac_link") 2>conftest.er1
11572 - ac_status=$?
11573 - grep -v '^ *+' conftest.er1 >conftest.err
11574 - rm -f conftest.er1
11575 - cat conftest.err >&5
11576 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11577 - (exit $ac_status); } &&
11578 -- { ac_try='test -z "$ac_c_werror_flag"
11579 -- || test ! -s conftest.err'
11580 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11581 -- (eval $ac_try) 2>&5
11582 -+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11583 -+ { (case "(($ac_try" in
11584 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11585 -+ *) ac_try_echo=$ac_try;;
11586 -+esac
11587 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11588 -+ (eval "$ac_try") 2>&5
11589 - ac_status=$?
11590 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11591 - (exit $ac_status); }; } &&
11592 - { ac_try='test -s conftest$ac_exeext'
11593 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11594 -- (eval $ac_try) 2>&5
11595 -+ { (case "(($ac_try" in
11596 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11597 -+ *) ac_try_echo=$ac_try;;
11598 -+esac
11599 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11600 -+ (eval "$ac_try") 2>&5
11601 - ac_status=$?
11602 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11603 - (exit $ac_status); }; }; then
11604 -@@ -11766,11 +13900,12 @@
11605 -
11606 - ac_cv_func__doprnt=no
11607 - fi
11608 --rm -f conftest.err conftest.$ac_objext \
11609 -+
11610 -+rm -f core conftest.err conftest.$ac_objext \
11611 - conftest$ac_exeext conftest.$ac_ext
11612 - fi
11613 --echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
11614 --echo "${ECHO_T}$ac_cv_func__doprnt" >&6
11615 -+{ echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
11616 -+echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
11617 - if test $ac_cv_func__doprnt = yes; then
11618 -
11619 - cat >>confdefs.h <<\_ACEOF
11620 -@@ -11816,17 +13951,18 @@
11621 -
11622 -
11623 -
11624 --for ac_func in euidaccess atoll basename lchown fseeko getpagesize \
11625 -- getpass getpassphrase getpwuid getrusage gettimeofday \
11626 -- getuid memrchr readpassphrase readv usleep \
11627 -+
11628 -+for ac_func in euidaccess atoll basename lchown fseeko getgrouplist \
11629 -+ getpagesize getpass getpassphrase getpwuid getrusage \
11630 -+ gettimeofday getuid memrchr readpassphrase readv usleep \
11631 - asprintf vasprintf vsnprintf select statfs statvfs \
11632 - strcasecmp strlcat strlcpy strdup strndup strtok_r \
11633 - sysmp timegm utimes lutimes writev
11634 - do
11635 - as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11636 --echo "$as_me:$LINENO: checking for $ac_func" >&5
11637 --echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11638 --if eval "test \"\${$as_ac_var+set}\" = set"; then
11639 -+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
11640 -+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11641 -+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11642 - echo $ECHO_N "(cached) $ECHO_C" >&6
11643 - else
11644 - cat >conftest.$ac_ext <<_ACEOF
11645 -@@ -11852,53 +13988,59 @@
11646 -
11647 - #undef $ac_func
11648 -
11649 --/* Override any gcc2 internal prototype to avoid an error. */
11650 -+/* Override any GCC internal prototype to avoid an error.
11651 -+ Use char because int might match the return type of a GCC
11652 -+ builtin and then its argument prototype would still apply. */
11653 - #ifdef __cplusplus
11654 - extern "C"
11655 --{
11656 - #endif
11657 --/* We use char because int might match the return type of a gcc2
11658 -- builtin and then its argument prototype would still apply. */
11659 - char $ac_func ();
11660 - /* The GNU C library defines this for functions which it implements
11661 - to always fail with ENOSYS. Some functions are actually named
11662 - something starting with __ and the normal name is an alias. */
11663 --#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11664 -+#if defined __stub_$ac_func || defined __stub___$ac_func
11665 - choke me
11666 --#else
11667 --char (*f) () = $ac_func;
11668 --#endif
11669 --#ifdef __cplusplus
11670 --}
11671 - #endif
11672 -
11673 - int
11674 - main ()
11675 - {
11676 --return f != $ac_func;
11677 -+return $ac_func ();
11678 - ;
11679 - return 0;
11680 - }
11681 - _ACEOF
11682 - rm -f conftest.$ac_objext conftest$ac_exeext
11683 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11684 -- (eval $ac_link) 2>conftest.er1
11685 -+if { (ac_try="$ac_link"
11686 -+case "(($ac_try" in
11687 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11688 -+ *) ac_try_echo=$ac_try;;
11689 -+esac
11690 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11691 -+ (eval "$ac_link") 2>conftest.er1
11692 - ac_status=$?
11693 - grep -v '^ *+' conftest.er1 >conftest.err
11694 - rm -f conftest.er1
11695 - cat conftest.err >&5
11696 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11697 - (exit $ac_status); } &&
11698 -- { ac_try='test -z "$ac_c_werror_flag"
11699 -- || test ! -s conftest.err'
11700 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11701 -- (eval $ac_try) 2>&5
11702 -+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11703 -+ { (case "(($ac_try" in
11704 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11705 -+ *) ac_try_echo=$ac_try;;
11706 -+esac
11707 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11708 -+ (eval "$ac_try") 2>&5
11709 - ac_status=$?
11710 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11711 - (exit $ac_status); }; } &&
11712 - { ac_try='test -s conftest$ac_exeext'
11713 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11714 -- (eval $ac_try) 2>&5
11715 -+ { (case "(($ac_try" in
11716 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11717 -+ *) ac_try_echo=$ac_try;;
11718 -+esac
11719 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11720 -+ (eval "$ac_try") 2>&5
11721 - ac_status=$?
11722 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723 - (exit $ac_status); }; }; then
11724 -@@ -11909,11 +14051,13 @@
11725 -
11726 - eval "$as_ac_var=no"
11727 - fi
11728 --rm -f conftest.err conftest.$ac_objext \
11729 -+
11730 -+rm -f core conftest.err conftest.$ac_objext \
11731 - conftest$ac_exeext conftest.$ac_ext
11732 - fi
11733 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11734 --echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11735 -+ac_res=`eval echo '${'$as_ac_var'}'`
11736 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
11737 -+echo "${ECHO_T}$ac_res" >&6; }
11738 - if test `eval echo '${'$as_ac_var'}'` = yes; then
11739 - cat >>confdefs.h <<_ACEOF
11740 - #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11741 -@@ -11922,15 +14066,15 @@
11742 - fi
11743 - done
11744 -
11745 --ac_ext=cc
11746 -+ac_ext=cpp
11747 - ac_cpp='$CXXCPP $CPPFLAGS'
11748 - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11749 - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11750 - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11751 -
11752 -
11753 --echo "$as_me:$LINENO: checking return type of signal handlers" >&5
11754 --echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
11755 -+{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
11756 -+echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
11757 - if test "${ac_cv_type_signal+set}" = set; then
11758 - echo $ECHO_N "(cached) $ECHO_C" >&6
11759 - else
11760 -@@ -11942,56 +14086,61 @@
11761 - /* end confdefs.h. */
11762 - #include <sys/types.h>
11763 - #include <signal.h>
11764 --#ifdef signal
11765 --# undef signal
11766 --#endif
11767 --#ifdef __cplusplus
11768 --extern "C" void (*signal (int, void (*)(int)))(int);
11769 --#else
11770 --void (*signal ()) ();
11771 --#endif
11772 -
11773 - int
11774 - main ()
11775 - {
11776 --int i;
11777 -+return *(signal (0, 0)) (0) == 1;
11778 - ;
11779 - return 0;
11780 - }
11781 - _ACEOF
11782 - rm -f conftest.$ac_objext
11783 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11784 -- (eval $ac_compile) 2>conftest.er1
11785 -+if { (ac_try="$ac_compile"
11786 -+case "(($ac_try" in
11787 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11788 -+ *) ac_try_echo=$ac_try;;
11789 -+esac
11790 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11791 -+ (eval "$ac_compile") 2>conftest.er1
11792 - ac_status=$?
11793 - grep -v '^ *+' conftest.er1 >conftest.err
11794 - rm -f conftest.er1
11795 - cat conftest.err >&5
11796 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11797 - (exit $ac_status); } &&
11798 -- { ac_try='test -z "$ac_cxx_werror_flag"
11799 -- || test ! -s conftest.err'
11800 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11801 -- (eval $ac_try) 2>&5
11802 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11803 -+ { (case "(($ac_try" in
11804 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11805 -+ *) ac_try_echo=$ac_try;;
11806 -+esac
11807 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11808 -+ (eval "$ac_try") 2>&5
11809 - ac_status=$?
11810 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 - (exit $ac_status); }; } &&
11812 - { ac_try='test -s conftest.$ac_objext'
11813 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11814 -- (eval $ac_try) 2>&5
11815 -+ { (case "(($ac_try" in
11816 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11817 -+ *) ac_try_echo=$ac_try;;
11818 -+esac
11819 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11820 -+ (eval "$ac_try") 2>&5
11821 - ac_status=$?
11822 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11823 - (exit $ac_status); }; }; then
11824 -- ac_cv_type_signal=void
11825 -+ ac_cv_type_signal=int
11826 - else
11827 - echo "$as_me: failed program was:" >&5
11828 - sed 's/^/| /' conftest.$ac_ext >&5
11829 -
11830 --ac_cv_type_signal=int
11831 -+ ac_cv_type_signal=void
11832 - fi
11833 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11834 -+
11835 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11836 - fi
11837 --echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
11838 --echo "${ECHO_T}$ac_cv_type_signal" >&6
11839 -+{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
11840 -+echo "${ECHO_T}$ac_cv_type_signal" >&6; }
11841 -
11842 - cat >>confdefs.h <<_ACEOF
11843 - #define RETSIGTYPE $ac_cv_type_signal
11844 -@@ -11999,8 +14148,8 @@
11845 -
11846 -
11847 - test "$ac_cv_func_select" = yes || ncbi_cv_func_select_updates_timeout=no
11848 --echo "$as_me:$LINENO: checking whether select updates the timeout when interrupted" >&5
11849 --echo $ECHO_N "checking whether select updates the timeout when interrupted... $ECHO_C" >&6
11850 -+{ echo "$as_me:$LINENO: checking whether select updates the timeout when interrupted" >&5
11851 -+echo $ECHO_N "checking whether select updates the timeout when interrupted... $ECHO_C" >&6; }
11852 - if test "${ncbi_cv_func_select_updates_timeout+set}" = set; then
11853 - echo $ECHO_N "(cached) $ECHO_C" >&6
11854 - else
11855 -@@ -12041,13 +14190,22 @@
11856 - }
11857 - _ACEOF
11858 - rm -f conftest$ac_exeext
11859 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11860 -- (eval $ac_link) 2>&5
11861 -+if { (ac_try="$ac_link"
11862 -+case "(($ac_try" in
11863 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11864 -+ *) ac_try_echo=$ac_try;;
11865 -+esac
11866 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11867 -+ (eval "$ac_link") 2>&5
11868 - ac_status=$?
11869 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11871 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11872 -- (eval $ac_try) 2>&5
11873 -+ { (case "(($ac_try" in
11874 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11875 -+ *) ac_try_echo=$ac_try;;
11876 -+esac
11877 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11878 -+ (eval "$ac_try") 2>&5
11879 - ac_status=$?
11880 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11881 - (exit $ac_status); }; }; then
11882 -@@ -12060,11 +14218,13 @@
11883 - ( exit $ac_status )
11884 - ncbi_cv_func_select_updates_timeout=no
11885 - fi
11886 --rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11887 -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11888 - fi
11889 -+
11890 -+
11891 - fi
11892 --echo "$as_me:$LINENO: result: $ncbi_cv_func_select_updates_timeout" >&5
11893 --echo "${ECHO_T}$ncbi_cv_func_select_updates_timeout" >&6
11894 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_func_select_updates_timeout" >&5
11895 -+echo "${ECHO_T}$ncbi_cv_func_select_updates_timeout" >&6; }
11896 - if test "$ncbi_cv_func_select_updates_timeout" = yes; then
11897 -
11898 - cat >>confdefs.h <<\_ACEOF
11899 -@@ -12078,8 +14238,8 @@
11900 - # is yes when cross-compiling; anyone cross-compiling for exceptional
11901 - # platforms can set ncbi_cv_func_strcasecmp_lc=no in config.site.
11902 - if test "$ac_cv_func_strcasecmp" = yes; then
11903 -- echo "$as_me:$LINENO: checking whether strcasecmp treats letters as lowercase" >&5
11904 --echo $ECHO_N "checking whether strcasecmp treats letters as lowercase... $ECHO_C" >&6
11905 -+ { echo "$as_me:$LINENO: checking whether strcasecmp treats letters as lowercase" >&5
11906 -+echo $ECHO_N "checking whether strcasecmp treats letters as lowercase... $ECHO_C" >&6; }
11907 - if test "${ncbi_cv_func_strcasecmp_lc+set}" = set; then
11908 - echo $ECHO_N "(cached) $ECHO_C" >&6
11909 - else
11910 -@@ -12102,13 +14262,22 @@
11911 - }
11912 - _ACEOF
11913 - rm -f conftest$ac_exeext
11914 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11915 -- (eval $ac_link) 2>&5
11916 -+if { (ac_try="$ac_link"
11917 -+case "(($ac_try" in
11918 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11919 -+ *) ac_try_echo=$ac_try;;
11920 -+esac
11921 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11922 -+ (eval "$ac_link") 2>&5
11923 - ac_status=$?
11924 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11926 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11927 -- (eval $ac_try) 2>&5
11928 -+ { (case "(($ac_try" in
11929 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11930 -+ *) ac_try_echo=$ac_try;;
11931 -+esac
11932 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11933 -+ (eval "$ac_try") 2>&5
11934 - ac_status=$?
11935 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11936 - (exit $ac_status); }; }; then
11937 -@@ -12121,11 +14290,13 @@
11938 - ( exit $ac_status )
11939 - ncbi_cv_func_strcasecmp_lc=no
11940 - fi
11941 --rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11942 -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11943 - fi
11944 -+
11945 -+
11946 - fi
11947 --echo "$as_me:$LINENO: result: $ncbi_cv_func_strcasecmp_lc" >&5
11948 --echo "${ECHO_T}$ncbi_cv_func_strcasecmp_lc" >&6
11949 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_func_strcasecmp_lc" >&5
11950 -+echo "${ECHO_T}$ncbi_cv_func_strcasecmp_lc" >&6; }
11951 - if test "$ncbi_cv_func_strcasecmp_lc" = yes; then
11952 -
11953 - cat >>confdefs.h <<\_ACEOF
11954 -@@ -12135,8 +14306,8 @@
11955 - fi
11956 - fi
11957 -
11958 --echo "$as_me:$LINENO: checking for Linux-like sysinfo with 1 arg" >&5
11959 --echo $ECHO_N "checking for Linux-like sysinfo with 1 arg... $ECHO_C" >&6
11960 -+{ echo "$as_me:$LINENO: checking for Linux-like sysinfo with 1 arg" >&5
11961 -+echo $ECHO_N "checking for Linux-like sysinfo with 1 arg... $ECHO_C" >&6; }
11962 - if test "${ncbi_cv_func_sysinfo_1+set}" = set; then
11963 - echo $ECHO_N "(cached) $ECHO_C" >&6
11964 - else
11965 -@@ -12160,24 +14331,36 @@
11966 - }
11967 - _ACEOF
11968 - rm -f conftest.$ac_objext
11969 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11970 -- (eval $ac_compile) 2>conftest.er1
11971 -+if { (ac_try="$ac_compile"
11972 -+case "(($ac_try" in
11973 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11974 -+ *) ac_try_echo=$ac_try;;
11975 -+esac
11976 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11977 -+ (eval "$ac_compile") 2>conftest.er1
11978 - ac_status=$?
11979 - grep -v '^ *+' conftest.er1 >conftest.err
11980 - rm -f conftest.er1
11981 - cat conftest.err >&5
11982 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983 - (exit $ac_status); } &&
11984 -- { ac_try='test -z "$ac_cxx_werror_flag"
11985 -- || test ! -s conftest.err'
11986 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11987 -- (eval $ac_try) 2>&5
11988 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11989 -+ { (case "(($ac_try" in
11990 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11991 -+ *) ac_try_echo=$ac_try;;
11992 -+esac
11993 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11994 -+ (eval "$ac_try") 2>&5
11995 - ac_status=$?
11996 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11997 - (exit $ac_status); }; } &&
11998 - { ac_try='test -s conftest.$ac_objext'
11999 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12000 -- (eval $ac_try) 2>&5
12001 -+ { (case "(($ac_try" in
12002 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12003 -+ *) ac_try_echo=$ac_try;;
12004 -+esac
12005 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12006 -+ (eval "$ac_try") 2>&5
12007 - ac_status=$?
12008 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 - (exit $ac_status); }; }; then
12010 -@@ -12188,10 +14371,11 @@
12011 -
12012 - ncbi_cv_func_sysinfo_1=no
12013 - fi
12014 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12015 -+
12016 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12017 - fi
12018 --echo "$as_me:$LINENO: result: $ncbi_cv_func_sysinfo_1" >&5
12019 --echo "${ECHO_T}$ncbi_cv_func_sysinfo_1" >&6
12020 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_func_sysinfo_1" >&5
12021 -+echo "${ECHO_T}$ncbi_cv_func_sysinfo_1" >&6; }
12022 -
12023 - if test "$ncbi_cv_func_sysinfo_1" = yes; then
12024 -
12025 -@@ -12205,9 +14389,9 @@
12026 - for ac_func in getloadavg
12027 - do
12028 - as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12029 --echo "$as_me:$LINENO: checking for $ac_func" >&5
12030 --echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12031 --if eval "test \"\${$as_ac_var+set}\" = set"; then
12032 -+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
12033 -+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12034 -+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12035 - echo $ECHO_N "(cached) $ECHO_C" >&6
12036 - else
12037 - cat >conftest.$ac_ext <<_ACEOF
12038 -@@ -12233,53 +14417,59 @@
12039 -
12040 - #undef $ac_func
12041 -
12042 --/* Override any gcc2 internal prototype to avoid an error. */
12043 -+/* Override any GCC internal prototype to avoid an error.
12044 -+ Use char because int might match the return type of a GCC
12045 -+ builtin and then its argument prototype would still apply. */
12046 - #ifdef __cplusplus
12047 - extern "C"
12048 --{
12049 - #endif
12050 --/* We use char because int might match the return type of a gcc2
12051 -- builtin and then its argument prototype would still apply. */
12052 - char $ac_func ();
12053 - /* The GNU C library defines this for functions which it implements
12054 - to always fail with ENOSYS. Some functions are actually named
12055 - something starting with __ and the normal name is an alias. */
12056 --#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12057 -+#if defined __stub_$ac_func || defined __stub___$ac_func
12058 - choke me
12059 --#else
12060 --char (*f) () = $ac_func;
12061 --#endif
12062 --#ifdef __cplusplus
12063 --}
12064 - #endif
12065 -
12066 - int
12067 - main ()
12068 - {
12069 --return f != $ac_func;
12070 -+return $ac_func ();
12071 - ;
12072 - return 0;
12073 - }
12074 - _ACEOF
12075 - rm -f conftest.$ac_objext conftest$ac_exeext
12076 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12077 -- (eval $ac_link) 2>conftest.er1
12078 -+if { (ac_try="$ac_link"
12079 -+case "(($ac_try" in
12080 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12081 -+ *) ac_try_echo=$ac_try;;
12082 -+esac
12083 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12084 -+ (eval "$ac_link") 2>conftest.er1
12085 - ac_status=$?
12086 - grep -v '^ *+' conftest.er1 >conftest.err
12087 - rm -f conftest.er1
12088 - cat conftest.err >&5
12089 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12090 - (exit $ac_status); } &&
12091 -- { ac_try='test -z "$ac_cxx_werror_flag"
12092 -- || test ! -s conftest.err'
12093 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12094 -- (eval $ac_try) 2>&5
12095 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12096 -+ { (case "(($ac_try" in
12097 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12098 -+ *) ac_try_echo=$ac_try;;
12099 -+esac
12100 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12101 -+ (eval "$ac_try") 2>&5
12102 - ac_status=$?
12103 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12104 - (exit $ac_status); }; } &&
12105 - { ac_try='test -s conftest$ac_exeext'
12106 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12107 -- (eval $ac_try) 2>&5
12108 -+ { (case "(($ac_try" in
12109 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12110 -+ *) ac_try_echo=$ac_try;;
12111 -+esac
12112 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12113 -+ (eval "$ac_try") 2>&5
12114 - ac_status=$?
12115 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12116 - (exit $ac_status); }; }; then
12117 -@@ -12290,11 +14480,13 @@
12118 -
12119 - eval "$as_ac_var=no"
12120 - fi
12121 --rm -f conftest.err conftest.$ac_objext \
12122 -+
12123 -+rm -f core conftest.err conftest.$ac_objext \
12124 - conftest$ac_exeext conftest.$ac_ext
12125 - fi
12126 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12127 --echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12128 -+ac_res=`eval echo '${'$as_ac_var'}'`
12129 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
12130 -+echo "${ECHO_T}$ac_res" >&6; }
12131 - if test `eval echo '${'$as_ac_var'}'` = yes; then
12132 - cat >>confdefs.h <<_ACEOF
12133 - #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12134 -@@ -12306,8 +14498,8 @@
12135 -
12136 - ## readdir_r() -- 2 different variants: 2-arg (trad. Solaris), 3-arg (POSIX).
12137 -
12138 --echo "$as_me:$LINENO: checking for readdir_r" >&5
12139 --echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
12140 -+{ echo "$as_me:$LINENO: checking for readdir_r" >&5
12141 -+echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
12142 - if test "${ncbi_cv_func_readdir_r+set}" = set; then
12143 - echo $ECHO_N "(cached) $ECHO_C" >&6
12144 - else
12145 -@@ -12328,24 +14520,36 @@
12146 - }
12147 - _ACEOF
12148 - rm -f conftest.$ac_objext
12149 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12150 -- (eval $ac_compile) 2>conftest.er1
12151 -+if { (ac_try="$ac_compile"
12152 -+case "(($ac_try" in
12153 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12154 -+ *) ac_try_echo=$ac_try;;
12155 -+esac
12156 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12157 -+ (eval "$ac_compile") 2>conftest.er1
12158 - ac_status=$?
12159 - grep -v '^ *+' conftest.er1 >conftest.err
12160 - rm -f conftest.er1
12161 - cat conftest.err >&5
12162 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12163 - (exit $ac_status); } &&
12164 -- { ac_try='test -z "$ac_cxx_werror_flag"
12165 -- || test ! -s conftest.err'
12166 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12167 -- (eval $ac_try) 2>&5
12168 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12169 -+ { (case "(($ac_try" in
12170 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12171 -+ *) ac_try_echo=$ac_try;;
12172 -+esac
12173 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12174 -+ (eval "$ac_try") 2>&5
12175 - ac_status=$?
12176 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12177 - (exit $ac_status); }; } &&
12178 - { ac_try='test -s conftest.$ac_objext'
12179 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12180 -- (eval $ac_try) 2>&5
12181 -+ { (case "(($ac_try" in
12182 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12183 -+ *) ac_try_echo=$ac_try;;
12184 -+esac
12185 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12186 -+ (eval "$ac_try") 2>&5
12187 - ac_status=$?
12188 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189 - (exit $ac_status); }; }; then
12190 -@@ -12354,8 +14558,10 @@
12191 - echo "$as_me: failed program was:" >&5
12192 - sed 's/^/| /' conftest.$ac_ext >&5
12193 -
12194 -+
12195 - fi
12196 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12197 -+
12198 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12199 - if test "$ncbi_cv_func_readdir_r" = "no" ; then
12200 - cat >conftest.$ac_ext <<_ACEOF
12201 - /* confdefs.h. */
12202 -@@ -12373,24 +14579,36 @@
12203 - }
12204 - _ACEOF
12205 - rm -f conftest.$ac_objext
12206 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12207 -- (eval $ac_compile) 2>conftest.er1
12208 -+if { (ac_try="$ac_compile"
12209 -+case "(($ac_try" in
12210 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12211 -+ *) ac_try_echo=$ac_try;;
12212 -+esac
12213 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12214 -+ (eval "$ac_compile") 2>conftest.er1
12215 - ac_status=$?
12216 - grep -v '^ *+' conftest.er1 >conftest.err
12217 - rm -f conftest.er1
12218 - cat conftest.err >&5
12219 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 - (exit $ac_status); } &&
12221 -- { ac_try='test -z "$ac_cxx_werror_flag"
12222 -- || test ! -s conftest.err'
12223 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12224 -- (eval $ac_try) 2>&5
12225 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12226 -+ { (case "(($ac_try" in
12227 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12228 -+ *) ac_try_echo=$ac_try;;
12229 -+esac
12230 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12231 -+ (eval "$ac_try") 2>&5
12232 - ac_status=$?
12233 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 - (exit $ac_status); }; } &&
12235 - { ac_try='test -s conftest.$ac_objext'
12236 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12237 -- (eval $ac_try) 2>&5
12238 -+ { (case "(($ac_try" in
12239 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12240 -+ *) ac_try_echo=$ac_try;;
12241 -+esac
12242 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12243 -+ (eval "$ac_try") 2>&5
12244 - ac_status=$?
12245 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12246 - (exit $ac_status); }; }; then
12247 -@@ -12399,12 +14617,14 @@
12248 - echo "$as_me: failed program was:" >&5
12249 - sed 's/^/| /' conftest.$ac_ext >&5
12250 -
12251 -+
12252 - fi
12253 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12254 -+
12255 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12256 - fi
12257 - fi
12258 --echo "$as_me:$LINENO: result: $ncbi_cv_func_readdir_r" >&5
12259 --echo "${ECHO_T}$ncbi_cv_func_readdir_r" >&6
12260 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_func_readdir_r" >&5
12261 -+echo "${ECHO_T}$ncbi_cv_func_readdir_r" >&6; }
12262 -
12263 - if test "$ncbi_cv_func_readdir_r" != "no" ; then
12264 -
12265 -@@ -12415,8 +14635,8 @@
12266 - fi
12267 -
12268 - ### Check for typedefs, structures, and compiler features.
12269 --echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
12270 --echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
12271 -+{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
12272 -+echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
12273 - if test "${ac_cv_c_const+set}" = set; then
12274 - echo $ECHO_N "(cached) $ECHO_C" >&6
12275 - else
12276 -@@ -12456,6 +14676,7 @@
12277 - char const *s = 0 ? (char *) 0 : (char const *) 0;
12278 -
12279 - *t++ = 0;
12280 -+ if (s) return 0;
12281 - }
12282 - { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12283 - int x[] = {25, 17};
12284 -@@ -12474,7 +14695,9 @@
12285 - }
12286 - { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12287 - const int foo = 10;
12288 -+ if (!foo) return 0;
12289 - }
12290 -+ return !x[0] && !zero.x;
12291 - #endif
12292 -
12293 - ;
12294 -@@ -12482,24 +14705,36 @@
12295 - }
12296 - _ACEOF
12297 - rm -f conftest.$ac_objext
12298 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12299 -- (eval $ac_compile) 2>conftest.er1
12300 -+if { (ac_try="$ac_compile"
12301 -+case "(($ac_try" in
12302 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12303 -+ *) ac_try_echo=$ac_try;;
12304 -+esac
12305 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12306 -+ (eval "$ac_compile") 2>conftest.er1
12307 - ac_status=$?
12308 - grep -v '^ *+' conftest.er1 >conftest.err
12309 - rm -f conftest.er1
12310 - cat conftest.err >&5
12311 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12312 - (exit $ac_status); } &&
12313 -- { ac_try='test -z "$ac_cxx_werror_flag"
12314 -- || test ! -s conftest.err'
12315 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12316 -- (eval $ac_try) 2>&5
12317 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12318 -+ { (case "(($ac_try" in
12319 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12320 -+ *) ac_try_echo=$ac_try;;
12321 -+esac
12322 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12323 -+ (eval "$ac_try") 2>&5
12324 - ac_status=$?
12325 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12326 - (exit $ac_status); }; } &&
12327 - { ac_try='test -s conftest.$ac_objext'
12328 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12329 -- (eval $ac_try) 2>&5
12330 -+ { (case "(($ac_try" in
12331 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12332 -+ *) ac_try_echo=$ac_try;;
12333 -+esac
12334 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12335 -+ (eval "$ac_try") 2>&5
12336 - ac_status=$?
12337 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12338 - (exit $ac_status); }; }; then
12339 -@@ -12510,10 +14745,11 @@
12340 -
12341 - ac_cv_c_const=no
12342 - fi
12343 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12344 -+
12345 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12346 - fi
12347 --echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
12348 --echo "${ECHO_T}$ac_cv_c_const" >&6
12349 -+{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
12350 -+echo "${ECHO_T}$ac_cv_c_const" >&6; }
12351 - if test $ac_cv_c_const = no; then
12352 -
12353 - cat >>confdefs.h <<\_ACEOF
12354 -@@ -12525,8 +14761,8 @@
12355 -
12356 - ### Check for C standard types and sizes
12357 - if test "${with_universal-no}" = "no"; then
12358 -- echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
12359 --echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
12360 -+ { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
12361 -+echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
12362 - if test "${ac_cv_c_bigendian+set}" = set; then
12363 - echo $ECHO_N "(cached) $ECHO_C" >&6
12364 - else
12365 -@@ -12552,24 +14788,36 @@
12366 - }
12367 - _ACEOF
12368 - rm -f conftest.$ac_objext
12369 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12370 -- (eval $ac_compile) 2>conftest.er1
12371 -+if { (ac_try="$ac_compile"
12372 -+case "(($ac_try" in
12373 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12374 -+ *) ac_try_echo=$ac_try;;
12375 -+esac
12376 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12377 -+ (eval "$ac_compile") 2>conftest.er1
12378 - ac_status=$?
12379 - grep -v '^ *+' conftest.er1 >conftest.err
12380 - rm -f conftest.er1
12381 - cat conftest.err >&5
12382 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 - (exit $ac_status); } &&
12384 -- { ac_try='test -z "$ac_cxx_werror_flag"
12385 -- || test ! -s conftest.err'
12386 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12387 -- (eval $ac_try) 2>&5
12388 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12389 -+ { (case "(($ac_try" in
12390 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12391 -+ *) ac_try_echo=$ac_try;;
12392 -+esac
12393 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12394 -+ (eval "$ac_try") 2>&5
12395 - ac_status=$?
12396 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12397 - (exit $ac_status); }; } &&
12398 - { ac_try='test -s conftest.$ac_objext'
12399 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12400 -- (eval $ac_try) 2>&5
12401 -+ { (case "(($ac_try" in
12402 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12403 -+ *) ac_try_echo=$ac_try;;
12404 -+esac
12405 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12406 -+ (eval "$ac_try") 2>&5
12407 - ac_status=$?
12408 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409 - (exit $ac_status); }; }; then
12410 -@@ -12595,24 +14843,36 @@
12411 - }
12412 - _ACEOF
12413 - rm -f conftest.$ac_objext
12414 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12415 -- (eval $ac_compile) 2>conftest.er1
12416 -+if { (ac_try="$ac_compile"
12417 -+case "(($ac_try" in
12418 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12419 -+ *) ac_try_echo=$ac_try;;
12420 -+esac
12421 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12422 -+ (eval "$ac_compile") 2>conftest.er1
12423 - ac_status=$?
12424 - grep -v '^ *+' conftest.er1 >conftest.err
12425 - rm -f conftest.er1
12426 - cat conftest.err >&5
12427 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 - (exit $ac_status); } &&
12429 -- { ac_try='test -z "$ac_cxx_werror_flag"
12430 -- || test ! -s conftest.err'
12431 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12432 -- (eval $ac_try) 2>&5
12433 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12434 -+ { (case "(($ac_try" in
12435 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12436 -+ *) ac_try_echo=$ac_try;;
12437 -+esac
12438 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12439 -+ (eval "$ac_try") 2>&5
12440 - ac_status=$?
12441 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12442 - (exit $ac_status); }; } &&
12443 - { ac_try='test -s conftest.$ac_objext'
12444 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12445 -- (eval $ac_try) 2>&5
12446 -+ { (case "(($ac_try" in
12447 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12448 -+ *) ac_try_echo=$ac_try;;
12449 -+esac
12450 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12451 -+ (eval "$ac_try") 2>&5
12452 - ac_status=$?
12453 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12454 - (exit $ac_status); }; }; then
12455 -@@ -12623,7 +14883,8 @@
12456 -
12457 - ac_cv_c_bigendian=no
12458 - fi
12459 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12460 -+
12461 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12462 - else
12463 - echo "$as_me: failed program was:" >&5
12464 - sed 's/^/| /' conftest.$ac_ext >&5
12465 -@@ -12638,11 +14899,11 @@
12466 - cat confdefs.h >>conftest.$ac_ext
12467 - cat >>conftest.$ac_ext <<_ACEOF
12468 - /* end confdefs.h. */
12469 --short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12470 --short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
12471 -+short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12472 -+short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
12473 - void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
12474 --short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
12475 --short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
12476 -+short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
12477 -+short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
12478 - void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
12479 - int
12480 - main ()
12481 -@@ -12653,24 +14914,36 @@
12482 - }
12483 - _ACEOF
12484 - rm -f conftest.$ac_objext
12485 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12486 -- (eval $ac_compile) 2>conftest.er1
12487 -+if { (ac_try="$ac_compile"
12488 -+case "(($ac_try" in
12489 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12490 -+ *) ac_try_echo=$ac_try;;
12491 -+esac
12492 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12493 -+ (eval "$ac_compile") 2>conftest.er1
12494 - ac_status=$?
12495 - grep -v '^ *+' conftest.er1 >conftest.err
12496 - rm -f conftest.er1
12497 - cat conftest.err >&5
12498 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12499 - (exit $ac_status); } &&
12500 -- { ac_try='test -z "$ac_cxx_werror_flag"
12501 -- || test ! -s conftest.err'
12502 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12503 -- (eval $ac_try) 2>&5
12504 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12505 -+ { (case "(($ac_try" in
12506 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12507 -+ *) ac_try_echo=$ac_try;;
12508 -+esac
12509 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12510 -+ (eval "$ac_try") 2>&5
12511 - ac_status=$?
12512 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 - (exit $ac_status); }; } &&
12514 - { ac_try='test -s conftest.$ac_objext'
12515 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12516 -- (eval $ac_try) 2>&5
12517 -+ { (case "(($ac_try" in
12518 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12519 -+ *) ac_try_echo=$ac_try;;
12520 -+esac
12521 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12522 -+ (eval "$ac_try") 2>&5
12523 - ac_status=$?
12524 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12525 - (exit $ac_status); }; }; then
12526 -@@ -12689,8 +14962,10 @@
12527 - echo "$as_me: failed program was:" >&5
12528 - sed 's/^/| /' conftest.$ac_ext >&5
12529 -
12530 -+
12531 - fi
12532 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12533 -+
12534 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12535 - else
12536 - cat >conftest.$ac_ext <<_ACEOF
12537 - /* confdefs.h. */
12538 -@@ -12698,27 +14973,41 @@
12539 - cat confdefs.h >>conftest.$ac_ext
12540 - cat >>conftest.$ac_ext <<_ACEOF
12541 - /* end confdefs.h. */
12542 -+$ac_includes_default
12543 - int
12544 - main ()
12545 - {
12546 -+
12547 - /* Are we little or big endian? From Harbison&Steele. */
12548 - union
12549 - {
12550 -- long l;
12551 -- char c[sizeof (long)];
12552 -+ long int l;
12553 -+ char c[sizeof (long int)];
12554 - } u;
12555 - u.l = 1;
12556 -- exit (u.c[sizeof (long) - 1] == 1);
12557 -+ return u.c[sizeof (long int) - 1] == 1;
12558 -+
12559 -+ ;
12560 -+ return 0;
12561 - }
12562 - _ACEOF
12563 - rm -f conftest$ac_exeext
12564 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12565 -- (eval $ac_link) 2>&5
12566 -+if { (ac_try="$ac_link"
12567 -+case "(($ac_try" in
12568 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12569 -+ *) ac_try_echo=$ac_try;;
12570 -+esac
12571 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12572 -+ (eval "$ac_link") 2>&5
12573 - ac_status=$?
12574 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12575 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12576 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12577 -- (eval $ac_try) 2>&5
12578 -+ { (case "(($ac_try" in
12579 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12580 -+ *) ac_try_echo=$ac_try;;
12581 -+esac
12582 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12583 -+ (eval "$ac_try") 2>&5
12584 - ac_status=$?
12585 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586 - (exit $ac_status); }; }; then
12587 -@@ -12731,13 +15020,16 @@
12588 - ( exit $ac_status )
12589 - ac_cv_c_bigendian=yes
12590 - fi
12591 --rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12592 -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12593 - fi
12594 -+
12595 -+
12596 - fi
12597 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12598 -+
12599 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12600 - fi
12601 --echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
12602 --echo "${ECHO_T}$ac_cv_c_bigendian" >&6
12603 -+{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
12604 -+echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
12605 - case $ac_cv_c_bigendian in
12606 - yes)
12607 -
12608 -@@ -12756,8 +15048,8 @@
12609 - esac
12610 -
12611 -
12612 --echo "$as_me:$LINENO: checking whether char is unsigned" >&5
12613 --echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6
12614 -+{ echo "$as_me:$LINENO: checking whether char is unsigned" >&5
12615 -+echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6; }
12616 - if test "${ac_cv_c_char_unsigned+set}" = set; then
12617 - echo $ECHO_N "(cached) $ECHO_C" >&6
12618 - else
12619 -@@ -12779,24 +15071,36 @@
12620 - }
12621 - _ACEOF
12622 - rm -f conftest.$ac_objext
12623 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12624 -- (eval $ac_compile) 2>conftest.er1
12625 -+if { (ac_try="$ac_compile"
12626 -+case "(($ac_try" in
12627 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12628 -+ *) ac_try_echo=$ac_try;;
12629 -+esac
12630 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12631 -+ (eval "$ac_compile") 2>conftest.er1
12632 - ac_status=$?
12633 - grep -v '^ *+' conftest.er1 >conftest.err
12634 - rm -f conftest.er1
12635 - cat conftest.err >&5
12636 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12637 - (exit $ac_status); } &&
12638 -- { ac_try='test -z "$ac_cxx_werror_flag"
12639 -- || test ! -s conftest.err'
12640 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12641 -- (eval $ac_try) 2>&5
12642 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12643 -+ { (case "(($ac_try" in
12644 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12645 -+ *) ac_try_echo=$ac_try;;
12646 -+esac
12647 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12648 -+ (eval "$ac_try") 2>&5
12649 - ac_status=$?
12650 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12651 - (exit $ac_status); }; } &&
12652 - { ac_try='test -s conftest.$ac_objext'
12653 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12654 -- (eval $ac_try) 2>&5
12655 -+ { (case "(($ac_try" in
12656 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12657 -+ *) ac_try_echo=$ac_try;;
12658 -+esac
12659 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12660 -+ (eval "$ac_try") 2>&5
12661 - ac_status=$?
12662 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 - (exit $ac_status); }; }; then
12664 -@@ -12807,10 +15111,11 @@
12665 -
12666 - ac_cv_c_char_unsigned=yes
12667 - fi
12668 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12669 -+
12670 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12671 - fi
12672 --echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
12673 --echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6
12674 -+{ echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
12675 -+echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6; }
12676 - if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
12677 - cat >>confdefs.h <<\_ACEOF
12678 - #define __CHAR_UNSIGNED__ 1
12679 -@@ -12818,8 +15123,8 @@
12680 -
12681 - fi
12682 -
12683 -- echo "$as_me:$LINENO: checking for char" >&5
12684 --echo $ECHO_N "checking for char... $ECHO_C" >&6
12685 -+ { echo "$as_me:$LINENO: checking for char" >&5
12686 -+echo $ECHO_N "checking for char... $ECHO_C" >&6; }
12687 - if test "${ac_cv_type_char+set}" = set; then
12688 - echo $ECHO_N "(cached) $ECHO_C" >&6
12689 - else
12690 -@@ -12830,36 +15135,49 @@
12691 - cat >>conftest.$ac_ext <<_ACEOF
12692 - /* end confdefs.h. */
12693 - $ac_includes_default
12694 -+typedef char ac__type_new_;
12695 - int
12696 - main ()
12697 - {
12698 --if ((char *) 0)
12699 -+if ((ac__type_new_ *) 0)
12700 - return 0;
12701 --if (sizeof (char))
12702 -+if (sizeof (ac__type_new_))
12703 - return 0;
12704 - ;
12705 - return 0;
12706 - }
12707 - _ACEOF
12708 - rm -f conftest.$ac_objext
12709 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12710 -- (eval $ac_compile) 2>conftest.er1
12711 -+if { (ac_try="$ac_compile"
12712 -+case "(($ac_try" in
12713 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12714 -+ *) ac_try_echo=$ac_try;;
12715 -+esac
12716 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12717 -+ (eval "$ac_compile") 2>conftest.er1
12718 - ac_status=$?
12719 - grep -v '^ *+' conftest.er1 >conftest.err
12720 - rm -f conftest.er1
12721 - cat conftest.err >&5
12722 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12723 - (exit $ac_status); } &&
12724 -- { ac_try='test -z "$ac_cxx_werror_flag"
12725 -- || test ! -s conftest.err'
12726 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12727 -- (eval $ac_try) 2>&5
12728 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12729 -+ { (case "(($ac_try" in
12730 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12731 -+ *) ac_try_echo=$ac_try;;
12732 -+esac
12733 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12734 -+ (eval "$ac_try") 2>&5
12735 - ac_status=$?
12736 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12737 - (exit $ac_status); }; } &&
12738 - { ac_try='test -s conftest.$ac_objext'
12739 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12740 -- (eval $ac_try) 2>&5
12741 -+ { (case "(($ac_try" in
12742 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12743 -+ *) ac_try_echo=$ac_try;;
12744 -+esac
12745 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12746 -+ (eval "$ac_try") 2>&5
12747 - ac_status=$?
12748 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12749 - (exit $ac_status); }; }; then
12750 -@@ -12870,18 +15188,19 @@
12751 -
12752 - ac_cv_type_char=no
12753 - fi
12754 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12755 -+
12756 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12757 - fi
12758 --echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
12759 --echo "${ECHO_T}$ac_cv_type_char" >&6
12760 -+{ echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
12761 -+echo "${ECHO_T}$ac_cv_type_char" >&6; }
12762 -
12763 --echo "$as_me:$LINENO: checking size of char" >&5
12764 --echo $ECHO_N "checking size of char... $ECHO_C" >&6
12765 -+{ echo "$as_me:$LINENO: checking size of char" >&5
12766 -+echo $ECHO_N "checking size of char... $ECHO_C" >&6; }
12767 - if test "${ac_cv_sizeof_char+set}" = set; then
12768 - echo $ECHO_N "(cached) $ECHO_C" >&6
12769 - else
12770 - if test "$ac_cv_type_char" = yes; then
12771 -- # The cast to unsigned long works around a bug in the HP C Compiler
12772 -+ # The cast to long int works around a bug in the HP C Compiler
12773 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12774 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12775 - # This bug is HP SR number 8606223364.
12776 -@@ -12894,10 +15213,11 @@
12777 - cat >>conftest.$ac_ext <<_ACEOF
12778 - /* end confdefs.h. */
12779 - $ac_includes_default
12780 -+ typedef char ac__type_sizeof_;
12781 - int
12782 - main ()
12783 - {
12784 --static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
12785 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
12786 - test_array [0] = 0
12787 -
12788 - ;
12789 -@@ -12905,24 +15225,36 @@
12790 - }
12791 - _ACEOF
12792 - rm -f conftest.$ac_objext
12793 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12794 -- (eval $ac_compile) 2>conftest.er1
12795 -+if { (ac_try="$ac_compile"
12796 -+case "(($ac_try" in
12797 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12798 -+ *) ac_try_echo=$ac_try;;
12799 -+esac
12800 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12801 -+ (eval "$ac_compile") 2>conftest.er1
12802 - ac_status=$?
12803 - grep -v '^ *+' conftest.er1 >conftest.err
12804 - rm -f conftest.er1
12805 - cat conftest.err >&5
12806 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 - (exit $ac_status); } &&
12808 -- { ac_try='test -z "$ac_cxx_werror_flag"
12809 -- || test ! -s conftest.err'
12810 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12811 -- (eval $ac_try) 2>&5
12812 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12813 -+ { (case "(($ac_try" in
12814 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12815 -+ *) ac_try_echo=$ac_try;;
12816 -+esac
12817 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12818 -+ (eval "$ac_try") 2>&5
12819 - ac_status=$?
12820 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12821 - (exit $ac_status); }; } &&
12822 - { ac_try='test -s conftest.$ac_objext'
12823 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12824 -- (eval $ac_try) 2>&5
12825 -+ { (case "(($ac_try" in
12826 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12827 -+ *) ac_try_echo=$ac_try;;
12828 -+esac
12829 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12830 -+ (eval "$ac_try") 2>&5
12831 - ac_status=$?
12832 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 - (exit $ac_status); }; }; then
12834 -@@ -12935,10 +15267,11 @@
12835 - cat >>conftest.$ac_ext <<_ACEOF
12836 - /* end confdefs.h. */
12837 - $ac_includes_default
12838 -+ typedef char ac__type_sizeof_;
12839 - int
12840 - main ()
12841 - {
12842 --static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
12843 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
12844 - test_array [0] = 0
12845 -
12846 - ;
12847 -@@ -12946,24 +15279,36 @@
12848 - }
12849 - _ACEOF
12850 - rm -f conftest.$ac_objext
12851 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12852 -- (eval $ac_compile) 2>conftest.er1
12853 -+if { (ac_try="$ac_compile"
12854 -+case "(($ac_try" in
12855 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12856 -+ *) ac_try_echo=$ac_try;;
12857 -+esac
12858 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12859 -+ (eval "$ac_compile") 2>conftest.er1
12860 - ac_status=$?
12861 - grep -v '^ *+' conftest.er1 >conftest.err
12862 - rm -f conftest.er1
12863 - cat conftest.err >&5
12864 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12865 - (exit $ac_status); } &&
12866 -- { ac_try='test -z "$ac_cxx_werror_flag"
12867 -- || test ! -s conftest.err'
12868 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12869 -- (eval $ac_try) 2>&5
12870 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12871 -+ { (case "(($ac_try" in
12872 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12873 -+ *) ac_try_echo=$ac_try;;
12874 -+esac
12875 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12876 -+ (eval "$ac_try") 2>&5
12877 - ac_status=$?
12878 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12879 - (exit $ac_status); }; } &&
12880 - { ac_try='test -s conftest.$ac_objext'
12881 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12882 -- (eval $ac_try) 2>&5
12883 -+ { (case "(($ac_try" in
12884 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12885 -+ *) ac_try_echo=$ac_try;;
12886 -+esac
12887 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12888 -+ (eval "$ac_try") 2>&5
12889 - ac_status=$?
12890 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12891 - (exit $ac_status); }; }; then
12892 -@@ -12979,7 +15324,8 @@
12893 - fi
12894 - ac_mid=`expr 2 '*' $ac_mid + 1`
12895 - fi
12896 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12897 -+
12898 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12899 - done
12900 - else
12901 - echo "$as_me: failed program was:" >&5
12902 -@@ -12992,10 +15338,11 @@
12903 - cat >>conftest.$ac_ext <<_ACEOF
12904 - /* end confdefs.h. */
12905 - $ac_includes_default
12906 -+ typedef char ac__type_sizeof_;
12907 - int
12908 - main ()
12909 - {
12910 --static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
12911 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
12912 - test_array [0] = 0
12913 -
12914 - ;
12915 -@@ -13003,24 +15350,36 @@
12916 - }
12917 - _ACEOF
12918 - rm -f conftest.$ac_objext
12919 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12920 -- (eval $ac_compile) 2>conftest.er1
12921 -+if { (ac_try="$ac_compile"
12922 -+case "(($ac_try" in
12923 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12924 -+ *) ac_try_echo=$ac_try;;
12925 -+esac
12926 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12927 -+ (eval "$ac_compile") 2>conftest.er1
12928 - ac_status=$?
12929 - grep -v '^ *+' conftest.er1 >conftest.err
12930 - rm -f conftest.er1
12931 - cat conftest.err >&5
12932 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12933 - (exit $ac_status); } &&
12934 -- { ac_try='test -z "$ac_cxx_werror_flag"
12935 -- || test ! -s conftest.err'
12936 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12937 -- (eval $ac_try) 2>&5
12938 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12939 -+ { (case "(($ac_try" in
12940 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12941 -+ *) ac_try_echo=$ac_try;;
12942 -+esac
12943 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12944 -+ (eval "$ac_try") 2>&5
12945 - ac_status=$?
12946 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12947 - (exit $ac_status); }; } &&
12948 - { ac_try='test -s conftest.$ac_objext'
12949 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12950 -- (eval $ac_try) 2>&5
12951 -+ { (case "(($ac_try" in
12952 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12953 -+ *) ac_try_echo=$ac_try;;
12954 -+esac
12955 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12956 -+ (eval "$ac_try") 2>&5
12957 - ac_status=$?
12958 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959 - (exit $ac_status); }; }; then
12960 -@@ -13033,10 +15392,11 @@
12961 - cat >>conftest.$ac_ext <<_ACEOF
12962 - /* end confdefs.h. */
12963 - $ac_includes_default
12964 -+ typedef char ac__type_sizeof_;
12965 - int
12966 - main ()
12967 - {
12968 --static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
12969 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
12970 - test_array [0] = 0
12971 -
12972 - ;
12973 -@@ -13044,24 +15404,36 @@
12974 - }
12975 - _ACEOF
12976 - rm -f conftest.$ac_objext
12977 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12978 -- (eval $ac_compile) 2>conftest.er1
12979 -+if { (ac_try="$ac_compile"
12980 -+case "(($ac_try" in
12981 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12982 -+ *) ac_try_echo=$ac_try;;
12983 -+esac
12984 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12985 -+ (eval "$ac_compile") 2>conftest.er1
12986 - ac_status=$?
12987 - grep -v '^ *+' conftest.er1 >conftest.err
12988 - rm -f conftest.er1
12989 - cat conftest.err >&5
12990 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12991 - (exit $ac_status); } &&
12992 -- { ac_try='test -z "$ac_cxx_werror_flag"
12993 -- || test ! -s conftest.err'
12994 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12995 -- (eval $ac_try) 2>&5
12996 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12997 -+ { (case "(($ac_try" in
12998 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12999 -+ *) ac_try_echo=$ac_try;;
13000 -+esac
13001 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13002 -+ (eval "$ac_try") 2>&5
13003 - ac_status=$?
13004 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13005 - (exit $ac_status); }; } &&
13006 - { ac_try='test -s conftest.$ac_objext'
13007 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13008 -- (eval $ac_try) 2>&5
13009 -+ { (case "(($ac_try" in
13010 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13011 -+ *) ac_try_echo=$ac_try;;
13012 -+esac
13013 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13014 -+ (eval "$ac_try") 2>&5
13015 - ac_status=$?
13016 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13017 - (exit $ac_status); }; }; then
13018 -@@ -13077,7 +15449,8 @@
13019 - fi
13020 - ac_mid=`expr 2 '*' $ac_mid`
13021 - fi
13022 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13023 -+
13024 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13025 - done
13026 - else
13027 - echo "$as_me: failed program was:" >&5
13028 -@@ -13085,9 +15458,11 @@
13029 -
13030 - ac_lo= ac_hi=
13031 - fi
13032 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13033 -+
13034 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13035 - fi
13036 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13037 -+
13038 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13039 - # Binary search between lo and hi bounds.
13040 - while test "x$ac_lo" != "x$ac_hi"; do
13041 - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13042 -@@ -13098,10 +15473,11 @@
13043 - cat >>conftest.$ac_ext <<_ACEOF
13044 - /* end confdefs.h. */
13045 - $ac_includes_default
13046 -+ typedef char ac__type_sizeof_;
13047 - int
13048 - main ()
13049 - {
13050 --static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
13051 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13052 - test_array [0] = 0
13053 -
13054 - ;
13055 -@@ -13109,24 +15485,36 @@
13056 - }
13057 - _ACEOF
13058 - rm -f conftest.$ac_objext
13059 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13060 -- (eval $ac_compile) 2>conftest.er1
13061 -+if { (ac_try="$ac_compile"
13062 -+case "(($ac_try" in
13063 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13064 -+ *) ac_try_echo=$ac_try;;
13065 -+esac
13066 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13067 -+ (eval "$ac_compile") 2>conftest.er1
13068 - ac_status=$?
13069 - grep -v '^ *+' conftest.er1 >conftest.err
13070 - rm -f conftest.er1
13071 - cat conftest.err >&5
13072 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13073 - (exit $ac_status); } &&
13074 -- { ac_try='test -z "$ac_cxx_werror_flag"
13075 -- || test ! -s conftest.err'
13076 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13077 -- (eval $ac_try) 2>&5
13078 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13079 -+ { (case "(($ac_try" in
13080 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13081 -+ *) ac_try_echo=$ac_try;;
13082 -+esac
13083 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13084 -+ (eval "$ac_try") 2>&5
13085 - ac_status=$?
13086 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13087 - (exit $ac_status); }; } &&
13088 - { ac_try='test -s conftest.$ac_objext'
13089 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13090 -- (eval $ac_try) 2>&5
13091 -+ { (case "(($ac_try" in
13092 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13093 -+ *) ac_try_echo=$ac_try;;
13094 -+esac
13095 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13096 -+ (eval "$ac_try") 2>&5
13097 - ac_status=$?
13098 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13099 - (exit $ac_status); }; }; then
13100 -@@ -13137,24 +15525,18 @@
13101 -
13102 - ac_lo=`expr '(' $ac_mid ')' + 1`
13103 - fi
13104 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13105 -+
13106 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13107 - done
13108 - case $ac_lo in
13109 - ?*) ac_cv_sizeof_char=$ac_lo;;
13110 --'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13111 -+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
13112 - See \`config.log' for more details." >&5
13113 --echo "$as_me: error: cannot compute sizeof (char), 77
13114 -+echo "$as_me: error: cannot compute sizeof (char)
13115 - See \`config.log' for more details." >&2;}
13116 -- { (exit 1); exit 1; }; } ;;
13117 -+ { (exit 77); exit 77; }; } ;;
13118 - esac
13119 - else
13120 -- if test "$cross_compiling" = yes; then
13121 -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13122 --See \`config.log' for more details." >&5
13123 --echo "$as_me: error: cannot run test program while cross compiling
13124 --See \`config.log' for more details." >&2;}
13125 -- { (exit 1); exit 1; }; }
13126 --else
13127 - cat >conftest.$ac_ext <<_ACEOF
13128 - /* confdefs.h. */
13129 - _ACEOF
13130 -@@ -13162,8 +15544,9 @@
13131 - cat >>conftest.$ac_ext <<_ACEOF
13132 - /* end confdefs.h. */
13133 - $ac_includes_default
13134 --long longval () { return (long) (sizeof (char)); }
13135 --unsigned long ulongval () { return (long) (sizeof (char)); }
13136 -+ typedef char ac__type_sizeof_;
13137 -+static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
13138 -+static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
13139 - #include <stdio.h>
13140 - #include <stdlib.h>
13141 - int
13142 -@@ -13172,35 +15555,44 @@
13143 -
13144 - FILE *f = fopen ("conftest.val", "w");
13145 - if (! f)
13146 -- exit (1);
13147 -- if (((long) (sizeof (char))) < 0)
13148 -+ return 1;
13149 -+ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
13150 - {
13151 -- long i = longval ();
13152 -- if (i != ((long) (sizeof (char))))
13153 -- exit (1);
13154 -+ long int i = longval ();
13155 -+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
13156 -+ return 1;
13157 - fprintf (f, "%ld\n", i);
13158 - }
13159 - else
13160 - {
13161 -- unsigned long i = ulongval ();
13162 -- if (i != ((long) (sizeof (char))))
13163 -- exit (1);
13164 -+ unsigned long int i = ulongval ();
13165 -+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
13166 -+ return 1;
13167 - fprintf (f, "%lu\n", i);
13168 - }
13169 -- exit (ferror (f) || fclose (f) != 0);
13170 -+ return ferror (f) || fclose (f) != 0;
13171 -
13172 - ;
13173 - return 0;
13174 - }
13175 - _ACEOF
13176 - rm -f conftest$ac_exeext
13177 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13178 -- (eval $ac_link) 2>&5
13179 -+if { (ac_try="$ac_link"
13180 -+case "(($ac_try" in
13181 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13182 -+ *) ac_try_echo=$ac_try;;
13183 -+esac
13184 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13185 -+ (eval "$ac_link") 2>&5
13186 - ac_status=$?
13187 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13188 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13189 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13190 -- (eval $ac_try) 2>&5
13191 -+ { (case "(($ac_try" in
13192 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13193 -+ *) ac_try_echo=$ac_try;;
13194 -+esac
13195 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13196 -+ (eval "$ac_try") 2>&5
13197 - ac_status=$?
13198 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13199 - (exit $ac_status); }; }; then
13200 -@@ -13211,29 +15603,28 @@
13201 - sed 's/^/| /' conftest.$ac_ext >&5
13202 -
13203 - ( exit $ac_status )
13204 --{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
13205 -+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (char)
13206 - See \`config.log' for more details." >&5
13207 --echo "$as_me: error: cannot compute sizeof (char), 77
13208 -+echo "$as_me: error: cannot compute sizeof (char)
13209 - See \`config.log' for more details." >&2;}
13210 -- { (exit 1); exit 1; }; }
13211 --fi
13212 --rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13213 -+ { (exit 77); exit 77; }; }
13214 - fi
13215 -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13216 - fi
13217 - rm -f conftest.val
13218 - else
13219 - ac_cv_sizeof_char=0
13220 - fi
13221 - fi
13222 --echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13223 --echo "${ECHO_T}$ac_cv_sizeof_char" >&6
13224 -+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
13225 -+echo "${ECHO_T}$ac_cv_sizeof_char" >&6; }
13226 - cat >>confdefs.h <<_ACEOF
13227 - #define SIZEOF_CHAR $ac_cv_sizeof_char
13228 - _ACEOF
13229 -
13230 -
13231 -- echo "$as_me:$LINENO: checking for double" >&5
13232 --echo $ECHO_N "checking for double... $ECHO_C" >&6
13233 -+ { echo "$as_me:$LINENO: checking for double" >&5
13234 -+echo $ECHO_N "checking for double... $ECHO_C" >&6; }
13235 - if test "${ac_cv_type_double+set}" = set; then
13236 - echo $ECHO_N "(cached) $ECHO_C" >&6
13237 - else
13238 -@@ -13244,36 +15635,49 @@
13239 - cat >>conftest.$ac_ext <<_ACEOF
13240 - /* end confdefs.h. */
13241 - $ac_includes_default
13242 -+typedef double ac__type_new_;
13243 - int
13244 - main ()
13245 - {
13246 --if ((double *) 0)
13247 -+if ((ac__type_new_ *) 0)
13248 - return 0;
13249 --if (sizeof (double))
13250 -+if (sizeof (ac__type_new_))
13251 - return 0;
13252 - ;
13253 - return 0;
13254 - }
13255 - _ACEOF
13256 - rm -f conftest.$ac_objext
13257 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13258 -- (eval $ac_compile) 2>conftest.er1
13259 -+if { (ac_try="$ac_compile"
13260 -+case "(($ac_try" in
13261 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13262 -+ *) ac_try_echo=$ac_try;;
13263 -+esac
13264 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13265 -+ (eval "$ac_compile") 2>conftest.er1
13266 - ac_status=$?
13267 - grep -v '^ *+' conftest.er1 >conftest.err
13268 - rm -f conftest.er1
13269 - cat conftest.err >&5
13270 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13271 - (exit $ac_status); } &&
13272 -- { ac_try='test -z "$ac_cxx_werror_flag"
13273 -- || test ! -s conftest.err'
13274 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13275 -- (eval $ac_try) 2>&5
13276 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13277 -+ { (case "(($ac_try" in
13278 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13279 -+ *) ac_try_echo=$ac_try;;
13280 -+esac
13281 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13282 -+ (eval "$ac_try") 2>&5
13283 - ac_status=$?
13284 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13285 - (exit $ac_status); }; } &&
13286 - { ac_try='test -s conftest.$ac_objext'
13287 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13288 -- (eval $ac_try) 2>&5
13289 -+ { (case "(($ac_try" in
13290 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13291 -+ *) ac_try_echo=$ac_try;;
13292 -+esac
13293 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13294 -+ (eval "$ac_try") 2>&5
13295 - ac_status=$?
13296 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13297 - (exit $ac_status); }; }; then
13298 -@@ -13284,18 +15688,19 @@
13299 -
13300 - ac_cv_type_double=no
13301 - fi
13302 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13303 -+
13304 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13305 - fi
13306 --echo "$as_me:$LINENO: result: $ac_cv_type_double" >&5
13307 --echo "${ECHO_T}$ac_cv_type_double" >&6
13308 -+{ echo "$as_me:$LINENO: result: $ac_cv_type_double" >&5
13309 -+echo "${ECHO_T}$ac_cv_type_double" >&6; }
13310 -
13311 --echo "$as_me:$LINENO: checking size of double" >&5
13312 --echo $ECHO_N "checking size of double... $ECHO_C" >&6
13313 -+{ echo "$as_me:$LINENO: checking size of double" >&5
13314 -+echo $ECHO_N "checking size of double... $ECHO_C" >&6; }
13315 - if test "${ac_cv_sizeof_double+set}" = set; then
13316 - echo $ECHO_N "(cached) $ECHO_C" >&6
13317 - else
13318 - if test "$ac_cv_type_double" = yes; then
13319 -- # The cast to unsigned long works around a bug in the HP C Compiler
13320 -+ # The cast to long int works around a bug in the HP C Compiler
13321 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13322 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13323 - # This bug is HP SR number 8606223364.
13324 -@@ -13308,10 +15713,11 @@
13325 - cat >>conftest.$ac_ext <<_ACEOF
13326 - /* end confdefs.h. */
13327 - $ac_includes_default
13328 -+ typedef double ac__type_sizeof_;
13329 - int
13330 - main ()
13331 - {
13332 --static int test_array [1 - 2 * !(((long) (sizeof (double))) >= 0)];
13333 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
13334 - test_array [0] = 0
13335 -
13336 - ;
13337 -@@ -13319,24 +15725,36 @@
13338 - }
13339 - _ACEOF
13340 - rm -f conftest.$ac_objext
13341 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13342 -- (eval $ac_compile) 2>conftest.er1
13343 -+if { (ac_try="$ac_compile"
13344 -+case "(($ac_try" in
13345 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13346 -+ *) ac_try_echo=$ac_try;;
13347 -+esac
13348 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13349 -+ (eval "$ac_compile") 2>conftest.er1
13350 - ac_status=$?
13351 - grep -v '^ *+' conftest.er1 >conftest.err
13352 - rm -f conftest.er1
13353 - cat conftest.err >&5
13354 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 - (exit $ac_status); } &&
13356 -- { ac_try='test -z "$ac_cxx_werror_flag"
13357 -- || test ! -s conftest.err'
13358 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13359 -- (eval $ac_try) 2>&5
13360 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13361 -+ { (case "(($ac_try" in
13362 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13363 -+ *) ac_try_echo=$ac_try;;
13364 -+esac
13365 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13366 -+ (eval "$ac_try") 2>&5
13367 - ac_status=$?
13368 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13369 - (exit $ac_status); }; } &&
13370 - { ac_try='test -s conftest.$ac_objext'
13371 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13372 -- (eval $ac_try) 2>&5
13373 -+ { (case "(($ac_try" in
13374 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13375 -+ *) ac_try_echo=$ac_try;;
13376 -+esac
13377 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13378 -+ (eval "$ac_try") 2>&5
13379 - ac_status=$?
13380 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 - (exit $ac_status); }; }; then
13382 -@@ -13349,10 +15767,11 @@
13383 - cat >>conftest.$ac_ext <<_ACEOF
13384 - /* end confdefs.h. */
13385 - $ac_includes_default
13386 -+ typedef double ac__type_sizeof_;
13387 - int
13388 - main ()
13389 - {
13390 --static int test_array [1 - 2 * !(((long) (sizeof (double))) <= $ac_mid)];
13391 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13392 - test_array [0] = 0
13393 -
13394 - ;
13395 -@@ -13360,24 +15779,36 @@
13396 - }
13397 - _ACEOF
13398 - rm -f conftest.$ac_objext
13399 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13400 -- (eval $ac_compile) 2>conftest.er1
13401 -+if { (ac_try="$ac_compile"
13402 -+case "(($ac_try" in
13403 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13404 -+ *) ac_try_echo=$ac_try;;
13405 -+esac
13406 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13407 -+ (eval "$ac_compile") 2>conftest.er1
13408 - ac_status=$?
13409 - grep -v '^ *+' conftest.er1 >conftest.err
13410 - rm -f conftest.er1
13411 - cat conftest.err >&5
13412 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13413 - (exit $ac_status); } &&
13414 -- { ac_try='test -z "$ac_cxx_werror_flag"
13415 -- || test ! -s conftest.err'
13416 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13417 -- (eval $ac_try) 2>&5
13418 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13419 -+ { (case "(($ac_try" in
13420 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13421 -+ *) ac_try_echo=$ac_try;;
13422 -+esac
13423 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13424 -+ (eval "$ac_try") 2>&5
13425 - ac_status=$?
13426 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427 - (exit $ac_status); }; } &&
13428 - { ac_try='test -s conftest.$ac_objext'
13429 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13430 -- (eval $ac_try) 2>&5
13431 -+ { (case "(($ac_try" in
13432 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13433 -+ *) ac_try_echo=$ac_try;;
13434 -+esac
13435 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13436 -+ (eval "$ac_try") 2>&5
13437 - ac_status=$?
13438 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13439 - (exit $ac_status); }; }; then
13440 -@@ -13393,7 +15824,8 @@
13441 - fi
13442 - ac_mid=`expr 2 '*' $ac_mid + 1`
13443 - fi
13444 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13445 -+
13446 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13447 - done
13448 - else
13449 - echo "$as_me: failed program was:" >&5
13450 -@@ -13406,10 +15838,11 @@
13451 - cat >>conftest.$ac_ext <<_ACEOF
13452 - /* end confdefs.h. */
13453 - $ac_includes_default
13454 -+ typedef double ac__type_sizeof_;
13455 - int
13456 - main ()
13457 - {
13458 --static int test_array [1 - 2 * !(((long) (sizeof (double))) < 0)];
13459 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
13460 - test_array [0] = 0
13461 -
13462 - ;
13463 -@@ -13417,24 +15850,36 @@
13464 - }
13465 - _ACEOF
13466 - rm -f conftest.$ac_objext
13467 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13468 -- (eval $ac_compile) 2>conftest.er1
13469 -+if { (ac_try="$ac_compile"
13470 -+case "(($ac_try" in
13471 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13472 -+ *) ac_try_echo=$ac_try;;
13473 -+esac
13474 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13475 -+ (eval "$ac_compile") 2>conftest.er1
13476 - ac_status=$?
13477 - grep -v '^ *+' conftest.er1 >conftest.err
13478 - rm -f conftest.er1
13479 - cat conftest.err >&5
13480 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13481 - (exit $ac_status); } &&
13482 -- { ac_try='test -z "$ac_cxx_werror_flag"
13483 -- || test ! -s conftest.err'
13484 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13485 -- (eval $ac_try) 2>&5
13486 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13487 -+ { (case "(($ac_try" in
13488 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13489 -+ *) ac_try_echo=$ac_try;;
13490 -+esac
13491 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13492 -+ (eval "$ac_try") 2>&5
13493 - ac_status=$?
13494 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13495 - (exit $ac_status); }; } &&
13496 - { ac_try='test -s conftest.$ac_objext'
13497 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13498 -- (eval $ac_try) 2>&5
13499 -+ { (case "(($ac_try" in
13500 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13501 -+ *) ac_try_echo=$ac_try;;
13502 -+esac
13503 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13504 -+ (eval "$ac_try") 2>&5
13505 - ac_status=$?
13506 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13507 - (exit $ac_status); }; }; then
13508 -@@ -13447,10 +15892,11 @@
13509 - cat >>conftest.$ac_ext <<_ACEOF
13510 - /* end confdefs.h. */
13511 - $ac_includes_default
13512 -+ typedef double ac__type_sizeof_;
13513 - int
13514 - main ()
13515 - {
13516 --static int test_array [1 - 2 * !(((long) (sizeof (double))) >= $ac_mid)];
13517 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
13518 - test_array [0] = 0
13519 -
13520 - ;
13521 -@@ -13458,24 +15904,36 @@
13522 - }
13523 - _ACEOF
13524 - rm -f conftest.$ac_objext
13525 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13526 -- (eval $ac_compile) 2>conftest.er1
13527 -+if { (ac_try="$ac_compile"
13528 -+case "(($ac_try" in
13529 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13530 -+ *) ac_try_echo=$ac_try;;
13531 -+esac
13532 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13533 -+ (eval "$ac_compile") 2>conftest.er1
13534 - ac_status=$?
13535 - grep -v '^ *+' conftest.er1 >conftest.err
13536 - rm -f conftest.er1
13537 - cat conftest.err >&5
13538 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13539 - (exit $ac_status); } &&
13540 -- { ac_try='test -z "$ac_cxx_werror_flag"
13541 -- || test ! -s conftest.err'
13542 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13543 -- (eval $ac_try) 2>&5
13544 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13545 -+ { (case "(($ac_try" in
13546 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13547 -+ *) ac_try_echo=$ac_try;;
13548 -+esac
13549 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13550 -+ (eval "$ac_try") 2>&5
13551 - ac_status=$?
13552 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13553 - (exit $ac_status); }; } &&
13554 - { ac_try='test -s conftest.$ac_objext'
13555 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13556 -- (eval $ac_try) 2>&5
13557 -+ { (case "(($ac_try" in
13558 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13559 -+ *) ac_try_echo=$ac_try;;
13560 -+esac
13561 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13562 -+ (eval "$ac_try") 2>&5
13563 - ac_status=$?
13564 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13565 - (exit $ac_status); }; }; then
13566 -@@ -13491,7 +15949,8 @@
13567 - fi
13568 - ac_mid=`expr 2 '*' $ac_mid`
13569 - fi
13570 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13571 -+
13572 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13573 - done
13574 - else
13575 - echo "$as_me: failed program was:" >&5
13576 -@@ -13499,9 +15958,11 @@
13577 -
13578 - ac_lo= ac_hi=
13579 - fi
13580 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13581 -+
13582 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13583 - fi
13584 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13585 -+
13586 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13587 - # Binary search between lo and hi bounds.
13588 - while test "x$ac_lo" != "x$ac_hi"; do
13589 - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13590 -@@ -13512,10 +15973,11 @@
13591 - cat >>conftest.$ac_ext <<_ACEOF
13592 - /* end confdefs.h. */
13593 - $ac_includes_default
13594 -+ typedef double ac__type_sizeof_;
13595 - int
13596 - main ()
13597 - {
13598 --static int test_array [1 - 2 * !(((long) (sizeof (double))) <= $ac_mid)];
13599 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13600 - test_array [0] = 0
13601 -
13602 - ;
13603 -@@ -13523,24 +15985,36 @@
13604 - }
13605 - _ACEOF
13606 - rm -f conftest.$ac_objext
13607 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13608 -- (eval $ac_compile) 2>conftest.er1
13609 -+if { (ac_try="$ac_compile"
13610 -+case "(($ac_try" in
13611 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13612 -+ *) ac_try_echo=$ac_try;;
13613 -+esac
13614 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13615 -+ (eval "$ac_compile") 2>conftest.er1
13616 - ac_status=$?
13617 - grep -v '^ *+' conftest.er1 >conftest.err
13618 - rm -f conftest.er1
13619 - cat conftest.err >&5
13620 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 - (exit $ac_status); } &&
13622 -- { ac_try='test -z "$ac_cxx_werror_flag"
13623 -- || test ! -s conftest.err'
13624 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13625 -- (eval $ac_try) 2>&5
13626 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13627 -+ { (case "(($ac_try" in
13628 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13629 -+ *) ac_try_echo=$ac_try;;
13630 -+esac
13631 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13632 -+ (eval "$ac_try") 2>&5
13633 - ac_status=$?
13634 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 - (exit $ac_status); }; } &&
13636 - { ac_try='test -s conftest.$ac_objext'
13637 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13638 -- (eval $ac_try) 2>&5
13639 -+ { (case "(($ac_try" in
13640 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13641 -+ *) ac_try_echo=$ac_try;;
13642 -+esac
13643 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13644 -+ (eval "$ac_try") 2>&5
13645 - ac_status=$?
13646 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 - (exit $ac_status); }; }; then
13648 -@@ -13551,24 +16025,18 @@
13649 -
13650 - ac_lo=`expr '(' $ac_mid ')' + 1`
13651 - fi
13652 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13653 -+
13654 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13655 - done
13656 - case $ac_lo in
13657 - ?*) ac_cv_sizeof_double=$ac_lo;;
13658 --'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (double), 77
13659 -+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (double)
13660 - See \`config.log' for more details." >&5
13661 --echo "$as_me: error: cannot compute sizeof (double), 77
13662 -+echo "$as_me: error: cannot compute sizeof (double)
13663 - See \`config.log' for more details." >&2;}
13664 -- { (exit 1); exit 1; }; } ;;
13665 -+ { (exit 77); exit 77; }; } ;;
13666 - esac
13667 - else
13668 -- if test "$cross_compiling" = yes; then
13669 -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13670 --See \`config.log' for more details." >&5
13671 --echo "$as_me: error: cannot run test program while cross compiling
13672 --See \`config.log' for more details." >&2;}
13673 -- { (exit 1); exit 1; }; }
13674 --else
13675 - cat >conftest.$ac_ext <<_ACEOF
13676 - /* confdefs.h. */
13677 - _ACEOF
13678 -@@ -13576,8 +16044,9 @@
13679 - cat >>conftest.$ac_ext <<_ACEOF
13680 - /* end confdefs.h. */
13681 - $ac_includes_default
13682 --long longval () { return (long) (sizeof (double)); }
13683 --unsigned long ulongval () { return (long) (sizeof (double)); }
13684 -+ typedef double ac__type_sizeof_;
13685 -+static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
13686 -+static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
13687 - #include <stdio.h>
13688 - #include <stdlib.h>
13689 - int
13690 -@@ -13586,35 +16055,44 @@
13691 -
13692 - FILE *f = fopen ("conftest.val", "w");
13693 - if (! f)
13694 -- exit (1);
13695 -- if (((long) (sizeof (double))) < 0)
13696 -+ return 1;
13697 -+ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
13698 - {
13699 -- long i = longval ();
13700 -- if (i != ((long) (sizeof (double))))
13701 -- exit (1);
13702 -+ long int i = longval ();
13703 -+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
13704 -+ return 1;
13705 - fprintf (f, "%ld\n", i);
13706 - }
13707 - else
13708 - {
13709 -- unsigned long i = ulongval ();
13710 -- if (i != ((long) (sizeof (double))))
13711 -- exit (1);
13712 -+ unsigned long int i = ulongval ();
13713 -+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
13714 -+ return 1;
13715 - fprintf (f, "%lu\n", i);
13716 - }
13717 -- exit (ferror (f) || fclose (f) != 0);
13718 -+ return ferror (f) || fclose (f) != 0;
13719 -
13720 - ;
13721 - return 0;
13722 - }
13723 - _ACEOF
13724 - rm -f conftest$ac_exeext
13725 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13726 -- (eval $ac_link) 2>&5
13727 -+if { (ac_try="$ac_link"
13728 -+case "(($ac_try" in
13729 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13730 -+ *) ac_try_echo=$ac_try;;
13731 -+esac
13732 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13733 -+ (eval "$ac_link") 2>&5
13734 - ac_status=$?
13735 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13737 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13738 -- (eval $ac_try) 2>&5
13739 -+ { (case "(($ac_try" in
13740 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13741 -+ *) ac_try_echo=$ac_try;;
13742 -+esac
13743 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13744 -+ (eval "$ac_try") 2>&5
13745 - ac_status=$?
13746 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 - (exit $ac_status); }; }; then
13748 -@@ -13625,29 +16103,28 @@
13749 - sed 's/^/| /' conftest.$ac_ext >&5
13750 -
13751 - ( exit $ac_status )
13752 --{ { echo "$as_me:$LINENO: error: cannot compute sizeof (double), 77
13753 -+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (double)
13754 - See \`config.log' for more details." >&5
13755 --echo "$as_me: error: cannot compute sizeof (double), 77
13756 -+echo "$as_me: error: cannot compute sizeof (double)
13757 - See \`config.log' for more details." >&2;}
13758 -- { (exit 1); exit 1; }; }
13759 --fi
13760 --rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13761 -+ { (exit 77); exit 77; }; }
13762 - fi
13763 -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13764 - fi
13765 - rm -f conftest.val
13766 - else
13767 - ac_cv_sizeof_double=0
13768 - fi
13769 - fi
13770 --echo "$as_me:$LINENO: result: $ac_cv_sizeof_double" >&5
13771 --echo "${ECHO_T}$ac_cv_sizeof_double" >&6
13772 -+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_double" >&5
13773 -+echo "${ECHO_T}$ac_cv_sizeof_double" >&6; }
13774 - cat >>confdefs.h <<_ACEOF
13775 - #define SIZEOF_DOUBLE $ac_cv_sizeof_double
13776 - _ACEOF
13777 -
13778 -
13779 -- echo "$as_me:$LINENO: checking for float" >&5
13780 --echo $ECHO_N "checking for float... $ECHO_C" >&6
13781 -+ { echo "$as_me:$LINENO: checking for float" >&5
13782 -+echo $ECHO_N "checking for float... $ECHO_C" >&6; }
13783 - if test "${ac_cv_type_float+set}" = set; then
13784 - echo $ECHO_N "(cached) $ECHO_C" >&6
13785 - else
13786 -@@ -13658,36 +16135,49 @@
13787 - cat >>conftest.$ac_ext <<_ACEOF
13788 - /* end confdefs.h. */
13789 - $ac_includes_default
13790 -+typedef float ac__type_new_;
13791 - int
13792 - main ()
13793 - {
13794 --if ((float *) 0)
13795 -+if ((ac__type_new_ *) 0)
13796 - return 0;
13797 --if (sizeof (float))
13798 -+if (sizeof (ac__type_new_))
13799 - return 0;
13800 - ;
13801 - return 0;
13802 - }
13803 - _ACEOF
13804 - rm -f conftest.$ac_objext
13805 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13806 -- (eval $ac_compile) 2>conftest.er1
13807 -+if { (ac_try="$ac_compile"
13808 -+case "(($ac_try" in
13809 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13810 -+ *) ac_try_echo=$ac_try;;
13811 -+esac
13812 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13813 -+ (eval "$ac_compile") 2>conftest.er1
13814 - ac_status=$?
13815 - grep -v '^ *+' conftest.er1 >conftest.err
13816 - rm -f conftest.er1
13817 - cat conftest.err >&5
13818 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 - (exit $ac_status); } &&
13820 -- { ac_try='test -z "$ac_cxx_werror_flag"
13821 -- || test ! -s conftest.err'
13822 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13823 -- (eval $ac_try) 2>&5
13824 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13825 -+ { (case "(($ac_try" in
13826 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13827 -+ *) ac_try_echo=$ac_try;;
13828 -+esac
13829 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13830 -+ (eval "$ac_try") 2>&5
13831 - ac_status=$?
13832 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13833 - (exit $ac_status); }; } &&
13834 - { ac_try='test -s conftest.$ac_objext'
13835 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13836 -- (eval $ac_try) 2>&5
13837 -+ { (case "(($ac_try" in
13838 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13839 -+ *) ac_try_echo=$ac_try;;
13840 -+esac
13841 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13842 -+ (eval "$ac_try") 2>&5
13843 - ac_status=$?
13844 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 - (exit $ac_status); }; }; then
13846 -@@ -13698,18 +16188,19 @@
13847 -
13848 - ac_cv_type_float=no
13849 - fi
13850 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13851 -+
13852 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13853 - fi
13854 --echo "$as_me:$LINENO: result: $ac_cv_type_float" >&5
13855 --echo "${ECHO_T}$ac_cv_type_float" >&6
13856 -+{ echo "$as_me:$LINENO: result: $ac_cv_type_float" >&5
13857 -+echo "${ECHO_T}$ac_cv_type_float" >&6; }
13858 -
13859 --echo "$as_me:$LINENO: checking size of float" >&5
13860 --echo $ECHO_N "checking size of float... $ECHO_C" >&6
13861 -+{ echo "$as_me:$LINENO: checking size of float" >&5
13862 -+echo $ECHO_N "checking size of float... $ECHO_C" >&6; }
13863 - if test "${ac_cv_sizeof_float+set}" = set; then
13864 - echo $ECHO_N "(cached) $ECHO_C" >&6
13865 - else
13866 - if test "$ac_cv_type_float" = yes; then
13867 -- # The cast to unsigned long works around a bug in the HP C Compiler
13868 -+ # The cast to long int works around a bug in the HP C Compiler
13869 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13870 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13871 - # This bug is HP SR number 8606223364.
13872 -@@ -13722,10 +16213,11 @@
13873 - cat >>conftest.$ac_ext <<_ACEOF
13874 - /* end confdefs.h. */
13875 - $ac_includes_default
13876 -+ typedef float ac__type_sizeof_;
13877 - int
13878 - main ()
13879 - {
13880 --static int test_array [1 - 2 * !(((long) (sizeof (float))) >= 0)];
13881 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
13882 - test_array [0] = 0
13883 -
13884 - ;
13885 -@@ -13733,24 +16225,36 @@
13886 - }
13887 - _ACEOF
13888 - rm -f conftest.$ac_objext
13889 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13890 -- (eval $ac_compile) 2>conftest.er1
13891 -+if { (ac_try="$ac_compile"
13892 -+case "(($ac_try" in
13893 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13894 -+ *) ac_try_echo=$ac_try;;
13895 -+esac
13896 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13897 -+ (eval "$ac_compile") 2>conftest.er1
13898 - ac_status=$?
13899 - grep -v '^ *+' conftest.er1 >conftest.err
13900 - rm -f conftest.er1
13901 - cat conftest.err >&5
13902 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13903 - (exit $ac_status); } &&
13904 -- { ac_try='test -z "$ac_cxx_werror_flag"
13905 -- || test ! -s conftest.err'
13906 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13907 -- (eval $ac_try) 2>&5
13908 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13909 -+ { (case "(($ac_try" in
13910 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13911 -+ *) ac_try_echo=$ac_try;;
13912 -+esac
13913 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13914 -+ (eval "$ac_try") 2>&5
13915 - ac_status=$?
13916 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 - (exit $ac_status); }; } &&
13918 - { ac_try='test -s conftest.$ac_objext'
13919 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13920 -- (eval $ac_try) 2>&5
13921 -+ { (case "(($ac_try" in
13922 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13923 -+ *) ac_try_echo=$ac_try;;
13924 -+esac
13925 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13926 -+ (eval "$ac_try") 2>&5
13927 - ac_status=$?
13928 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 - (exit $ac_status); }; }; then
13930 -@@ -13763,10 +16267,11 @@
13931 - cat >>conftest.$ac_ext <<_ACEOF
13932 - /* end confdefs.h. */
13933 - $ac_includes_default
13934 -+ typedef float ac__type_sizeof_;
13935 - int
13936 - main ()
13937 - {
13938 --static int test_array [1 - 2 * !(((long) (sizeof (float))) <= $ac_mid)];
13939 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
13940 - test_array [0] = 0
13941 -
13942 - ;
13943 -@@ -13774,24 +16279,36 @@
13944 - }
13945 - _ACEOF
13946 - rm -f conftest.$ac_objext
13947 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13948 -- (eval $ac_compile) 2>conftest.er1
13949 -+if { (ac_try="$ac_compile"
13950 -+case "(($ac_try" in
13951 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13952 -+ *) ac_try_echo=$ac_try;;
13953 -+esac
13954 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13955 -+ (eval "$ac_compile") 2>conftest.er1
13956 - ac_status=$?
13957 - grep -v '^ *+' conftest.er1 >conftest.err
13958 - rm -f conftest.er1
13959 - cat conftest.err >&5
13960 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13961 - (exit $ac_status); } &&
13962 -- { ac_try='test -z "$ac_cxx_werror_flag"
13963 -- || test ! -s conftest.err'
13964 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13965 -- (eval $ac_try) 2>&5
13966 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13967 -+ { (case "(($ac_try" in
13968 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13969 -+ *) ac_try_echo=$ac_try;;
13970 -+esac
13971 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13972 -+ (eval "$ac_try") 2>&5
13973 - ac_status=$?
13974 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13975 - (exit $ac_status); }; } &&
13976 - { ac_try='test -s conftest.$ac_objext'
13977 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13978 -- (eval $ac_try) 2>&5
13979 -+ { (case "(($ac_try" in
13980 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13981 -+ *) ac_try_echo=$ac_try;;
13982 -+esac
13983 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13984 -+ (eval "$ac_try") 2>&5
13985 - ac_status=$?
13986 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13987 - (exit $ac_status); }; }; then
13988 -@@ -13807,7 +16324,8 @@
13989 - fi
13990 - ac_mid=`expr 2 '*' $ac_mid + 1`
13991 - fi
13992 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13993 -+
13994 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13995 - done
13996 - else
13997 - echo "$as_me: failed program was:" >&5
13998 -@@ -13820,10 +16338,11 @@
13999 - cat >>conftest.$ac_ext <<_ACEOF
14000 - /* end confdefs.h. */
14001 - $ac_includes_default
14002 -+ typedef float ac__type_sizeof_;
14003 - int
14004 - main ()
14005 - {
14006 --static int test_array [1 - 2 * !(((long) (sizeof (float))) < 0)];
14007 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
14008 - test_array [0] = 0
14009 -
14010 - ;
14011 -@@ -13831,24 +16350,36 @@
14012 - }
14013 - _ACEOF
14014 - rm -f conftest.$ac_objext
14015 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14016 -- (eval $ac_compile) 2>conftest.er1
14017 -+if { (ac_try="$ac_compile"
14018 -+case "(($ac_try" in
14019 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14020 -+ *) ac_try_echo=$ac_try;;
14021 -+esac
14022 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14023 -+ (eval "$ac_compile") 2>conftest.er1
14024 - ac_status=$?
14025 - grep -v '^ *+' conftest.er1 >conftest.err
14026 - rm -f conftest.er1
14027 - cat conftest.err >&5
14028 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 - (exit $ac_status); } &&
14030 -- { ac_try='test -z "$ac_cxx_werror_flag"
14031 -- || test ! -s conftest.err'
14032 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14033 -- (eval $ac_try) 2>&5
14034 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14035 -+ { (case "(($ac_try" in
14036 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14037 -+ *) ac_try_echo=$ac_try;;
14038 -+esac
14039 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14040 -+ (eval "$ac_try") 2>&5
14041 - ac_status=$?
14042 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 - (exit $ac_status); }; } &&
14044 - { ac_try='test -s conftest.$ac_objext'
14045 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14046 -- (eval $ac_try) 2>&5
14047 -+ { (case "(($ac_try" in
14048 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14049 -+ *) ac_try_echo=$ac_try;;
14050 -+esac
14051 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14052 -+ (eval "$ac_try") 2>&5
14053 - ac_status=$?
14054 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 - (exit $ac_status); }; }; then
14056 -@@ -13861,10 +16392,11 @@
14057 - cat >>conftest.$ac_ext <<_ACEOF
14058 - /* end confdefs.h. */
14059 - $ac_includes_default
14060 -+ typedef float ac__type_sizeof_;
14061 - int
14062 - main ()
14063 - {
14064 --static int test_array [1 - 2 * !(((long) (sizeof (float))) >= $ac_mid)];
14065 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
14066 - test_array [0] = 0
14067 -
14068 - ;
14069 -@@ -13872,24 +16404,36 @@
14070 - }
14071 - _ACEOF
14072 - rm -f conftest.$ac_objext
14073 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14074 -- (eval $ac_compile) 2>conftest.er1
14075 -+if { (ac_try="$ac_compile"
14076 -+case "(($ac_try" in
14077 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14078 -+ *) ac_try_echo=$ac_try;;
14079 -+esac
14080 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14081 -+ (eval "$ac_compile") 2>conftest.er1
14082 - ac_status=$?
14083 - grep -v '^ *+' conftest.er1 >conftest.err
14084 - rm -f conftest.er1
14085 - cat conftest.err >&5
14086 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14087 - (exit $ac_status); } &&
14088 -- { ac_try='test -z "$ac_cxx_werror_flag"
14089 -- || test ! -s conftest.err'
14090 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14091 -- (eval $ac_try) 2>&5
14092 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14093 -+ { (case "(($ac_try" in
14094 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14095 -+ *) ac_try_echo=$ac_try;;
14096 -+esac
14097 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14098 -+ (eval "$ac_try") 2>&5
14099 - ac_status=$?
14100 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101 - (exit $ac_status); }; } &&
14102 - { ac_try='test -s conftest.$ac_objext'
14103 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14104 -- (eval $ac_try) 2>&5
14105 -+ { (case "(($ac_try" in
14106 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14107 -+ *) ac_try_echo=$ac_try;;
14108 -+esac
14109 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14110 -+ (eval "$ac_try") 2>&5
14111 - ac_status=$?
14112 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14113 - (exit $ac_status); }; }; then
14114 -@@ -13905,7 +16449,8 @@
14115 - fi
14116 - ac_mid=`expr 2 '*' $ac_mid`
14117 - fi
14118 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14119 -+
14120 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14121 - done
14122 - else
14123 - echo "$as_me: failed program was:" >&5
14124 -@@ -13913,9 +16458,11 @@
14125 -
14126 - ac_lo= ac_hi=
14127 - fi
14128 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14129 -+
14130 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14131 - fi
14132 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14133 -+
14134 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14135 - # Binary search between lo and hi bounds.
14136 - while test "x$ac_lo" != "x$ac_hi"; do
14137 - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14138 -@@ -13926,10 +16473,11 @@
14139 - cat >>conftest.$ac_ext <<_ACEOF
14140 - /* end confdefs.h. */
14141 - $ac_includes_default
14142 -+ typedef float ac__type_sizeof_;
14143 - int
14144 - main ()
14145 - {
14146 --static int test_array [1 - 2 * !(((long) (sizeof (float))) <= $ac_mid)];
14147 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
14148 - test_array [0] = 0
14149 -
14150 - ;
14151 -@@ -13937,24 +16485,36 @@
14152 - }
14153 - _ACEOF
14154 - rm -f conftest.$ac_objext
14155 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14156 -- (eval $ac_compile) 2>conftest.er1
14157 -+if { (ac_try="$ac_compile"
14158 -+case "(($ac_try" in
14159 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14160 -+ *) ac_try_echo=$ac_try;;
14161 -+esac
14162 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14163 -+ (eval "$ac_compile") 2>conftest.er1
14164 - ac_status=$?
14165 - grep -v '^ *+' conftest.er1 >conftest.err
14166 - rm -f conftest.er1
14167 - cat conftest.err >&5
14168 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14169 - (exit $ac_status); } &&
14170 -- { ac_try='test -z "$ac_cxx_werror_flag"
14171 -- || test ! -s conftest.err'
14172 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14173 -- (eval $ac_try) 2>&5
14174 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14175 -+ { (case "(($ac_try" in
14176 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14177 -+ *) ac_try_echo=$ac_try;;
14178 -+esac
14179 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14180 -+ (eval "$ac_try") 2>&5
14181 - ac_status=$?
14182 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 - (exit $ac_status); }; } &&
14184 - { ac_try='test -s conftest.$ac_objext'
14185 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14186 -- (eval $ac_try) 2>&5
14187 -+ { (case "(($ac_try" in
14188 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14189 -+ *) ac_try_echo=$ac_try;;
14190 -+esac
14191 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14192 -+ (eval "$ac_try") 2>&5
14193 - ac_status=$?
14194 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14195 - (exit $ac_status); }; }; then
14196 -@@ -13965,24 +16525,18 @@
14197 -
14198 - ac_lo=`expr '(' $ac_mid ')' + 1`
14199 - fi
14200 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14201 -+
14202 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14203 - done
14204 - case $ac_lo in
14205 - ?*) ac_cv_sizeof_float=$ac_lo;;
14206 --'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (float), 77
14207 -+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (float)
14208 - See \`config.log' for more details." >&5
14209 --echo "$as_me: error: cannot compute sizeof (float), 77
14210 -+echo "$as_me: error: cannot compute sizeof (float)
14211 - See \`config.log' for more details." >&2;}
14212 -- { (exit 1); exit 1; }; } ;;
14213 -+ { (exit 77); exit 77; }; } ;;
14214 - esac
14215 - else
14216 -- if test "$cross_compiling" = yes; then
14217 -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14218 --See \`config.log' for more details." >&5
14219 --echo "$as_me: error: cannot run test program while cross compiling
14220 --See \`config.log' for more details." >&2;}
14221 -- { (exit 1); exit 1; }; }
14222 --else
14223 - cat >conftest.$ac_ext <<_ACEOF
14224 - /* confdefs.h. */
14225 - _ACEOF
14226 -@@ -13990,8 +16544,9 @@
14227 - cat >>conftest.$ac_ext <<_ACEOF
14228 - /* end confdefs.h. */
14229 - $ac_includes_default
14230 --long longval () { return (long) (sizeof (float)); }
14231 --unsigned long ulongval () { return (long) (sizeof (float)); }
14232 -+ typedef float ac__type_sizeof_;
14233 -+static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
14234 -+static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
14235 - #include <stdio.h>
14236 - #include <stdlib.h>
14237 - int
14238 -@@ -14000,35 +16555,44 @@
14239 -
14240 - FILE *f = fopen ("conftest.val", "w");
14241 - if (! f)
14242 -- exit (1);
14243 -- if (((long) (sizeof (float))) < 0)
14244 -+ return 1;
14245 -+ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
14246 - {
14247 -- long i = longval ();
14248 -- if (i != ((long) (sizeof (float))))
14249 -- exit (1);
14250 -+ long int i = longval ();
14251 -+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
14252 -+ return 1;
14253 - fprintf (f, "%ld\n", i);
14254 - }
14255 - else
14256 - {
14257 -- unsigned long i = ulongval ();
14258 -- if (i != ((long) (sizeof (float))))
14259 -- exit (1);
14260 -+ unsigned long int i = ulongval ();
14261 -+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
14262 -+ return 1;
14263 - fprintf (f, "%lu\n", i);
14264 - }
14265 -- exit (ferror (f) || fclose (f) != 0);
14266 -+ return ferror (f) || fclose (f) != 0;
14267 -
14268 - ;
14269 - return 0;
14270 - }
14271 - _ACEOF
14272 - rm -f conftest$ac_exeext
14273 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14274 -- (eval $ac_link) 2>&5
14275 -+if { (ac_try="$ac_link"
14276 -+case "(($ac_try" in
14277 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14278 -+ *) ac_try_echo=$ac_try;;
14279 -+esac
14280 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14281 -+ (eval "$ac_link") 2>&5
14282 - ac_status=$?
14283 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14284 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14285 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14286 -- (eval $ac_try) 2>&5
14287 -+ { (case "(($ac_try" in
14288 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14289 -+ *) ac_try_echo=$ac_try;;
14290 -+esac
14291 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14292 -+ (eval "$ac_try") 2>&5
14293 - ac_status=$?
14294 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 - (exit $ac_status); }; }; then
14296 -@@ -14039,29 +16603,28 @@
14297 - sed 's/^/| /' conftest.$ac_ext >&5
14298 -
14299 - ( exit $ac_status )
14300 --{ { echo "$as_me:$LINENO: error: cannot compute sizeof (float), 77
14301 -+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (float)
14302 - See \`config.log' for more details." >&5
14303 --echo "$as_me: error: cannot compute sizeof (float), 77
14304 -+echo "$as_me: error: cannot compute sizeof (float)
14305 - See \`config.log' for more details." >&2;}
14306 -- { (exit 1); exit 1; }; }
14307 --fi
14308 --rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14309 -+ { (exit 77); exit 77; }; }
14310 - fi
14311 -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14312 - fi
14313 - rm -f conftest.val
14314 - else
14315 - ac_cv_sizeof_float=0
14316 - fi
14317 - fi
14318 --echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5
14319 --echo "${ECHO_T}$ac_cv_sizeof_float" >&6
14320 -+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5
14321 -+echo "${ECHO_T}$ac_cv_sizeof_float" >&6; }
14322 - cat >>confdefs.h <<_ACEOF
14323 - #define SIZEOF_FLOAT $ac_cv_sizeof_float
14324 - _ACEOF
14325 -
14326 -
14327 -- echo "$as_me:$LINENO: checking for int" >&5
14328 --echo $ECHO_N "checking for int... $ECHO_C" >&6
14329 -+ { echo "$as_me:$LINENO: checking for int" >&5
14330 -+echo $ECHO_N "checking for int... $ECHO_C" >&6; }
14331 - if test "${ac_cv_type_int+set}" = set; then
14332 - echo $ECHO_N "(cached) $ECHO_C" >&6
14333 - else
14334 -@@ -14072,36 +16635,49 @@
14335 - cat >>conftest.$ac_ext <<_ACEOF
14336 - /* end confdefs.h. */
14337 - $ac_includes_default
14338 -+typedef int ac__type_new_;
14339 - int
14340 - main ()
14341 - {
14342 --if ((int *) 0)
14343 -+if ((ac__type_new_ *) 0)
14344 - return 0;
14345 --if (sizeof (int))
14346 -+if (sizeof (ac__type_new_))
14347 - return 0;
14348 - ;
14349 - return 0;
14350 - }
14351 - _ACEOF
14352 - rm -f conftest.$ac_objext
14353 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14354 -- (eval $ac_compile) 2>conftest.er1
14355 -+if { (ac_try="$ac_compile"
14356 -+case "(($ac_try" in
14357 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14358 -+ *) ac_try_echo=$ac_try;;
14359 -+esac
14360 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14361 -+ (eval "$ac_compile") 2>conftest.er1
14362 - ac_status=$?
14363 - grep -v '^ *+' conftest.er1 >conftest.err
14364 - rm -f conftest.er1
14365 - cat conftest.err >&5
14366 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 - (exit $ac_status); } &&
14368 -- { ac_try='test -z "$ac_cxx_werror_flag"
14369 -- || test ! -s conftest.err'
14370 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14371 -- (eval $ac_try) 2>&5
14372 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14373 -+ { (case "(($ac_try" in
14374 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14375 -+ *) ac_try_echo=$ac_try;;
14376 -+esac
14377 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14378 -+ (eval "$ac_try") 2>&5
14379 - ac_status=$?
14380 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14381 - (exit $ac_status); }; } &&
14382 - { ac_try='test -s conftest.$ac_objext'
14383 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14384 -- (eval $ac_try) 2>&5
14385 -+ { (case "(($ac_try" in
14386 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14387 -+ *) ac_try_echo=$ac_try;;
14388 -+esac
14389 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14390 -+ (eval "$ac_try") 2>&5
14391 - ac_status=$?
14392 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14393 - (exit $ac_status); }; }; then
14394 -@@ -14112,18 +16688,19 @@
14395 -
14396 - ac_cv_type_int=no
14397 - fi
14398 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14399 -+
14400 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14401 - fi
14402 --echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14403 --echo "${ECHO_T}$ac_cv_type_int" >&6
14404 -+{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14405 -+echo "${ECHO_T}$ac_cv_type_int" >&6; }
14406 -
14407 --echo "$as_me:$LINENO: checking size of int" >&5
14408 --echo $ECHO_N "checking size of int... $ECHO_C" >&6
14409 -+{ echo "$as_me:$LINENO: checking size of int" >&5
14410 -+echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
14411 - if test "${ac_cv_sizeof_int+set}" = set; then
14412 - echo $ECHO_N "(cached) $ECHO_C" >&6
14413 - else
14414 - if test "$ac_cv_type_int" = yes; then
14415 -- # The cast to unsigned long works around a bug in the HP C Compiler
14416 -+ # The cast to long int works around a bug in the HP C Compiler
14417 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14418 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14419 - # This bug is HP SR number 8606223364.
14420 -@@ -14136,10 +16713,11 @@
14421 - cat >>conftest.$ac_ext <<_ACEOF
14422 - /* end confdefs.h. */
14423 - $ac_includes_default
14424 -+ typedef int ac__type_sizeof_;
14425 - int
14426 - main ()
14427 - {
14428 --static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
14429 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
14430 - test_array [0] = 0
14431 -
14432 - ;
14433 -@@ -14147,24 +16725,36 @@
14434 - }
14435 - _ACEOF
14436 - rm -f conftest.$ac_objext
14437 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14438 -- (eval $ac_compile) 2>conftest.er1
14439 -+if { (ac_try="$ac_compile"
14440 -+case "(($ac_try" in
14441 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14442 -+ *) ac_try_echo=$ac_try;;
14443 -+esac
14444 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14445 -+ (eval "$ac_compile") 2>conftest.er1
14446 - ac_status=$?
14447 - grep -v '^ *+' conftest.er1 >conftest.err
14448 - rm -f conftest.er1
14449 - cat conftest.err >&5
14450 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14451 - (exit $ac_status); } &&
14452 -- { ac_try='test -z "$ac_cxx_werror_flag"
14453 -- || test ! -s conftest.err'
14454 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14455 -- (eval $ac_try) 2>&5
14456 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14457 -+ { (case "(($ac_try" in
14458 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14459 -+ *) ac_try_echo=$ac_try;;
14460 -+esac
14461 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14462 -+ (eval "$ac_try") 2>&5
14463 - ac_status=$?
14464 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 - (exit $ac_status); }; } &&
14466 - { ac_try='test -s conftest.$ac_objext'
14467 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14468 -- (eval $ac_try) 2>&5
14469 -+ { (case "(($ac_try" in
14470 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14471 -+ *) ac_try_echo=$ac_try;;
14472 -+esac
14473 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14474 -+ (eval "$ac_try") 2>&5
14475 - ac_status=$?
14476 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 - (exit $ac_status); }; }; then
14478 -@@ -14177,10 +16767,11 @@
14479 - cat >>conftest.$ac_ext <<_ACEOF
14480 - /* end confdefs.h. */
14481 - $ac_includes_default
14482 -+ typedef int ac__type_sizeof_;
14483 - int
14484 - main ()
14485 - {
14486 --static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14487 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
14488 - test_array [0] = 0
14489 -
14490 - ;
14491 -@@ -14188,24 +16779,36 @@
14492 - }
14493 - _ACEOF
14494 - rm -f conftest.$ac_objext
14495 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14496 -- (eval $ac_compile) 2>conftest.er1
14497 -+if { (ac_try="$ac_compile"
14498 -+case "(($ac_try" in
14499 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14500 -+ *) ac_try_echo=$ac_try;;
14501 -+esac
14502 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14503 -+ (eval "$ac_compile") 2>conftest.er1
14504 - ac_status=$?
14505 - grep -v '^ *+' conftest.er1 >conftest.err
14506 - rm -f conftest.er1
14507 - cat conftest.err >&5
14508 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14509 - (exit $ac_status); } &&
14510 -- { ac_try='test -z "$ac_cxx_werror_flag"
14511 -- || test ! -s conftest.err'
14512 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14513 -- (eval $ac_try) 2>&5
14514 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14515 -+ { (case "(($ac_try" in
14516 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14517 -+ *) ac_try_echo=$ac_try;;
14518 -+esac
14519 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14520 -+ (eval "$ac_try") 2>&5
14521 - ac_status=$?
14522 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 - (exit $ac_status); }; } &&
14524 - { ac_try='test -s conftest.$ac_objext'
14525 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14526 -- (eval $ac_try) 2>&5
14527 -+ { (case "(($ac_try" in
14528 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14529 -+ *) ac_try_echo=$ac_try;;
14530 -+esac
14531 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14532 -+ (eval "$ac_try") 2>&5
14533 - ac_status=$?
14534 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14535 - (exit $ac_status); }; }; then
14536 -@@ -14221,7 +16824,8 @@
14537 - fi
14538 - ac_mid=`expr 2 '*' $ac_mid + 1`
14539 - fi
14540 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14541 -+
14542 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14543 - done
14544 - else
14545 - echo "$as_me: failed program was:" >&5
14546 -@@ -14234,10 +16838,11 @@
14547 - cat >>conftest.$ac_ext <<_ACEOF
14548 - /* end confdefs.h. */
14549 - $ac_includes_default
14550 -+ typedef int ac__type_sizeof_;
14551 - int
14552 - main ()
14553 - {
14554 --static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
14555 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
14556 - test_array [0] = 0
14557 -
14558 - ;
14559 -@@ -14245,24 +16850,36 @@
14560 - }
14561 - _ACEOF
14562 - rm -f conftest.$ac_objext
14563 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14564 -- (eval $ac_compile) 2>conftest.er1
14565 -+if { (ac_try="$ac_compile"
14566 -+case "(($ac_try" in
14567 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14568 -+ *) ac_try_echo=$ac_try;;
14569 -+esac
14570 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14571 -+ (eval "$ac_compile") 2>conftest.er1
14572 - ac_status=$?
14573 - grep -v '^ *+' conftest.er1 >conftest.err
14574 - rm -f conftest.er1
14575 - cat conftest.err >&5
14576 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577 - (exit $ac_status); } &&
14578 -- { ac_try='test -z "$ac_cxx_werror_flag"
14579 -- || test ! -s conftest.err'
14580 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14581 -- (eval $ac_try) 2>&5
14582 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14583 -+ { (case "(($ac_try" in
14584 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14585 -+ *) ac_try_echo=$ac_try;;
14586 -+esac
14587 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14588 -+ (eval "$ac_try") 2>&5
14589 - ac_status=$?
14590 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 - (exit $ac_status); }; } &&
14592 - { ac_try='test -s conftest.$ac_objext'
14593 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14594 -- (eval $ac_try) 2>&5
14595 -+ { (case "(($ac_try" in
14596 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14597 -+ *) ac_try_echo=$ac_try;;
14598 -+esac
14599 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14600 -+ (eval "$ac_try") 2>&5
14601 - ac_status=$?
14602 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 - (exit $ac_status); }; }; then
14604 -@@ -14275,10 +16892,11 @@
14605 - cat >>conftest.$ac_ext <<_ACEOF
14606 - /* end confdefs.h. */
14607 - $ac_includes_default
14608 -+ typedef int ac__type_sizeof_;
14609 - int
14610 - main ()
14611 - {
14612 --static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
14613 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
14614 - test_array [0] = 0
14615 -
14616 - ;
14617 -@@ -14286,24 +16904,36 @@
14618 - }
14619 - _ACEOF
14620 - rm -f conftest.$ac_objext
14621 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14622 -- (eval $ac_compile) 2>conftest.er1
14623 -+if { (ac_try="$ac_compile"
14624 -+case "(($ac_try" in
14625 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14626 -+ *) ac_try_echo=$ac_try;;
14627 -+esac
14628 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14629 -+ (eval "$ac_compile") 2>conftest.er1
14630 - ac_status=$?
14631 - grep -v '^ *+' conftest.er1 >conftest.err
14632 - rm -f conftest.er1
14633 - cat conftest.err >&5
14634 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 - (exit $ac_status); } &&
14636 -- { ac_try='test -z "$ac_cxx_werror_flag"
14637 -- || test ! -s conftest.err'
14638 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14639 -- (eval $ac_try) 2>&5
14640 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14641 -+ { (case "(($ac_try" in
14642 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14643 -+ *) ac_try_echo=$ac_try;;
14644 -+esac
14645 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14646 -+ (eval "$ac_try") 2>&5
14647 - ac_status=$?
14648 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649 - (exit $ac_status); }; } &&
14650 - { ac_try='test -s conftest.$ac_objext'
14651 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14652 -- (eval $ac_try) 2>&5
14653 -+ { (case "(($ac_try" in
14654 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14655 -+ *) ac_try_echo=$ac_try;;
14656 -+esac
14657 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14658 -+ (eval "$ac_try") 2>&5
14659 - ac_status=$?
14660 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14661 - (exit $ac_status); }; }; then
14662 -@@ -14319,7 +16949,8 @@
14663 - fi
14664 - ac_mid=`expr 2 '*' $ac_mid`
14665 - fi
14666 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14667 -+
14668 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14669 - done
14670 - else
14671 - echo "$as_me: failed program was:" >&5
14672 -@@ -14327,9 +16958,11 @@
14673 -
14674 - ac_lo= ac_hi=
14675 - fi
14676 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14677 -+
14678 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14679 - fi
14680 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14681 -+
14682 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14683 - # Binary search between lo and hi bounds.
14684 - while test "x$ac_lo" != "x$ac_hi"; do
14685 - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14686 -@@ -14340,10 +16973,11 @@
14687 - cat >>conftest.$ac_ext <<_ACEOF
14688 - /* end confdefs.h. */
14689 - $ac_includes_default
14690 -+ typedef int ac__type_sizeof_;
14691 - int
14692 - main ()
14693 - {
14694 --static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
14695 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
14696 - test_array [0] = 0
14697 -
14698 - ;
14699 -@@ -14351,24 +16985,36 @@
14700 - }
14701 - _ACEOF
14702 - rm -f conftest.$ac_objext
14703 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14704 -- (eval $ac_compile) 2>conftest.er1
14705 -+if { (ac_try="$ac_compile"
14706 -+case "(($ac_try" in
14707 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14708 -+ *) ac_try_echo=$ac_try;;
14709 -+esac
14710 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14711 -+ (eval "$ac_compile") 2>conftest.er1
14712 - ac_status=$?
14713 - grep -v '^ *+' conftest.er1 >conftest.err
14714 - rm -f conftest.er1
14715 - cat conftest.err >&5
14716 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14717 - (exit $ac_status); } &&
14718 -- { ac_try='test -z "$ac_cxx_werror_flag"
14719 -- || test ! -s conftest.err'
14720 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14721 -- (eval $ac_try) 2>&5
14722 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14723 -+ { (case "(($ac_try" in
14724 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14725 -+ *) ac_try_echo=$ac_try;;
14726 -+esac
14727 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14728 -+ (eval "$ac_try") 2>&5
14729 - ac_status=$?
14730 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14731 - (exit $ac_status); }; } &&
14732 - { ac_try='test -s conftest.$ac_objext'
14733 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14734 -- (eval $ac_try) 2>&5
14735 -+ { (case "(($ac_try" in
14736 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14737 -+ *) ac_try_echo=$ac_try;;
14738 -+esac
14739 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14740 -+ (eval "$ac_try") 2>&5
14741 - ac_status=$?
14742 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 - (exit $ac_status); }; }; then
14744 -@@ -14379,24 +17025,18 @@
14745 -
14746 - ac_lo=`expr '(' $ac_mid ')' + 1`
14747 - fi
14748 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14749 -+
14750 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14751 - done
14752 - case $ac_lo in
14753 - ?*) ac_cv_sizeof_int=$ac_lo;;
14754 --'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14755 -+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
14756 - See \`config.log' for more details." >&5
14757 --echo "$as_me: error: cannot compute sizeof (int), 77
14758 -+echo "$as_me: error: cannot compute sizeof (int)
14759 - See \`config.log' for more details." >&2;}
14760 -- { (exit 1); exit 1; }; } ;;
14761 -+ { (exit 77); exit 77; }; } ;;
14762 - esac
14763 - else
14764 -- if test "$cross_compiling" = yes; then
14765 -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14766 --See \`config.log' for more details." >&5
14767 --echo "$as_me: error: cannot run test program while cross compiling
14768 --See \`config.log' for more details." >&2;}
14769 -- { (exit 1); exit 1; }; }
14770 --else
14771 - cat >conftest.$ac_ext <<_ACEOF
14772 - /* confdefs.h. */
14773 - _ACEOF
14774 -@@ -14404,8 +17044,9 @@
14775 - cat >>conftest.$ac_ext <<_ACEOF
14776 - /* end confdefs.h. */
14777 - $ac_includes_default
14778 --long longval () { return (long) (sizeof (int)); }
14779 --unsigned long ulongval () { return (long) (sizeof (int)); }
14780 -+ typedef int ac__type_sizeof_;
14781 -+static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
14782 -+static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
14783 - #include <stdio.h>
14784 - #include <stdlib.h>
14785 - int
14786 -@@ -14414,35 +17055,44 @@
14787 -
14788 - FILE *f = fopen ("conftest.val", "w");
14789 - if (! f)
14790 -- exit (1);
14791 -- if (((long) (sizeof (int))) < 0)
14792 -+ return 1;
14793 -+ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
14794 - {
14795 -- long i = longval ();
14796 -- if (i != ((long) (sizeof (int))))
14797 -- exit (1);
14798 -+ long int i = longval ();
14799 -+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
14800 -+ return 1;
14801 - fprintf (f, "%ld\n", i);
14802 - }
14803 - else
14804 - {
14805 -- unsigned long i = ulongval ();
14806 -- if (i != ((long) (sizeof (int))))
14807 -- exit (1);
14808 -+ unsigned long int i = ulongval ();
14809 -+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
14810 -+ return 1;
14811 - fprintf (f, "%lu\n", i);
14812 - }
14813 -- exit (ferror (f) || fclose (f) != 0);
14814 -+ return ferror (f) || fclose (f) != 0;
14815 -
14816 - ;
14817 - return 0;
14818 - }
14819 - _ACEOF
14820 - rm -f conftest$ac_exeext
14821 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14822 -- (eval $ac_link) 2>&5
14823 -+if { (ac_try="$ac_link"
14824 -+case "(($ac_try" in
14825 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14826 -+ *) ac_try_echo=$ac_try;;
14827 -+esac
14828 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14829 -+ (eval "$ac_link") 2>&5
14830 - ac_status=$?
14831 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14833 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14834 -- (eval $ac_try) 2>&5
14835 -+ { (case "(($ac_try" in
14836 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14837 -+ *) ac_try_echo=$ac_try;;
14838 -+esac
14839 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14840 -+ (eval "$ac_try") 2>&5
14841 - ac_status=$?
14842 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 - (exit $ac_status); }; }; then
14844 -@@ -14453,29 +17103,28 @@
14845 - sed 's/^/| /' conftest.$ac_ext >&5
14846 -
14847 - ( exit $ac_status )
14848 --{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
14849 -+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
14850 - See \`config.log' for more details." >&5
14851 --echo "$as_me: error: cannot compute sizeof (int), 77
14852 -+echo "$as_me: error: cannot compute sizeof (int)
14853 - See \`config.log' for more details." >&2;}
14854 -- { (exit 1); exit 1; }; }
14855 --fi
14856 --rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14857 -+ { (exit 77); exit 77; }; }
14858 - fi
14859 -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14860 - fi
14861 - rm -f conftest.val
14862 - else
14863 - ac_cv_sizeof_int=0
14864 - fi
14865 - fi
14866 --echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
14867 --echo "${ECHO_T}$ac_cv_sizeof_int" >&6
14868 -+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
14869 -+echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
14870 - cat >>confdefs.h <<_ACEOF
14871 - #define SIZEOF_INT $ac_cv_sizeof_int
14872 - _ACEOF
14873 -
14874 -
14875 -- echo "$as_me:$LINENO: checking for long" >&5
14876 --echo $ECHO_N "checking for long... $ECHO_C" >&6
14877 -+ { echo "$as_me:$LINENO: checking for long" >&5
14878 -+echo $ECHO_N "checking for long... $ECHO_C" >&6; }
14879 - if test "${ac_cv_type_long+set}" = set; then
14880 - echo $ECHO_N "(cached) $ECHO_C" >&6
14881 - else
14882 -@@ -14486,36 +17135,49 @@
14883 - cat >>conftest.$ac_ext <<_ACEOF
14884 - /* end confdefs.h. */
14885 - $ac_includes_default
14886 -+typedef long ac__type_new_;
14887 - int
14888 - main ()
14889 - {
14890 --if ((long *) 0)
14891 -+if ((ac__type_new_ *) 0)
14892 - return 0;
14893 --if (sizeof (long))
14894 -+if (sizeof (ac__type_new_))
14895 - return 0;
14896 - ;
14897 - return 0;
14898 - }
14899 - _ACEOF
14900 - rm -f conftest.$ac_objext
14901 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14902 -- (eval $ac_compile) 2>conftest.er1
14903 -+if { (ac_try="$ac_compile"
14904 -+case "(($ac_try" in
14905 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14906 -+ *) ac_try_echo=$ac_try;;
14907 -+esac
14908 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14909 -+ (eval "$ac_compile") 2>conftest.er1
14910 - ac_status=$?
14911 - grep -v '^ *+' conftest.er1 >conftest.err
14912 - rm -f conftest.er1
14913 - cat conftest.err >&5
14914 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 - (exit $ac_status); } &&
14916 -- { ac_try='test -z "$ac_cxx_werror_flag"
14917 -- || test ! -s conftest.err'
14918 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14919 -- (eval $ac_try) 2>&5
14920 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14921 -+ { (case "(($ac_try" in
14922 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14923 -+ *) ac_try_echo=$ac_try;;
14924 -+esac
14925 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14926 -+ (eval "$ac_try") 2>&5
14927 - ac_status=$?
14928 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14929 - (exit $ac_status); }; } &&
14930 - { ac_try='test -s conftest.$ac_objext'
14931 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14932 -- (eval $ac_try) 2>&5
14933 -+ { (case "(($ac_try" in
14934 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14935 -+ *) ac_try_echo=$ac_try;;
14936 -+esac
14937 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14938 -+ (eval "$ac_try") 2>&5
14939 - ac_status=$?
14940 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14941 - (exit $ac_status); }; }; then
14942 -@@ -14526,18 +17188,19 @@
14943 -
14944 - ac_cv_type_long=no
14945 - fi
14946 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14947 -+
14948 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14949 - fi
14950 --echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
14951 --echo "${ECHO_T}$ac_cv_type_long" >&6
14952 -+{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
14953 -+echo "${ECHO_T}$ac_cv_type_long" >&6; }
14954 -
14955 --echo "$as_me:$LINENO: checking size of long" >&5
14956 --echo $ECHO_N "checking size of long... $ECHO_C" >&6
14957 -+{ echo "$as_me:$LINENO: checking size of long" >&5
14958 -+echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
14959 - if test "${ac_cv_sizeof_long+set}" = set; then
14960 - echo $ECHO_N "(cached) $ECHO_C" >&6
14961 - else
14962 - if test "$ac_cv_type_long" = yes; then
14963 -- # The cast to unsigned long works around a bug in the HP C Compiler
14964 -+ # The cast to long int works around a bug in the HP C Compiler
14965 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14966 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14967 - # This bug is HP SR number 8606223364.
14968 -@@ -14550,10 +17213,11 @@
14969 - cat >>conftest.$ac_ext <<_ACEOF
14970 - /* end confdefs.h. */
14971 - $ac_includes_default
14972 -+ typedef long ac__type_sizeof_;
14973 - int
14974 - main ()
14975 - {
14976 --static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
14977 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
14978 - test_array [0] = 0
14979 -
14980 - ;
14981 -@@ -14561,24 +17225,36 @@
14982 - }
14983 - _ACEOF
14984 - rm -f conftest.$ac_objext
14985 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14986 -- (eval $ac_compile) 2>conftest.er1
14987 -+if { (ac_try="$ac_compile"
14988 -+case "(($ac_try" in
14989 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14990 -+ *) ac_try_echo=$ac_try;;
14991 -+esac
14992 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14993 -+ (eval "$ac_compile") 2>conftest.er1
14994 - ac_status=$?
14995 - grep -v '^ *+' conftest.er1 >conftest.err
14996 - rm -f conftest.er1
14997 - cat conftest.err >&5
14998 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 - (exit $ac_status); } &&
15000 -- { ac_try='test -z "$ac_cxx_werror_flag"
15001 -- || test ! -s conftest.err'
15002 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15003 -- (eval $ac_try) 2>&5
15004 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15005 -+ { (case "(($ac_try" in
15006 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15007 -+ *) ac_try_echo=$ac_try;;
15008 -+esac
15009 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15010 -+ (eval "$ac_try") 2>&5
15011 - ac_status=$?
15012 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 - (exit $ac_status); }; } &&
15014 - { ac_try='test -s conftest.$ac_objext'
15015 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15016 -- (eval $ac_try) 2>&5
15017 -+ { (case "(($ac_try" in
15018 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15019 -+ *) ac_try_echo=$ac_try;;
15020 -+esac
15021 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15022 -+ (eval "$ac_try") 2>&5
15023 - ac_status=$?
15024 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15025 - (exit $ac_status); }; }; then
15026 -@@ -14591,10 +17267,11 @@
15027 - cat >>conftest.$ac_ext <<_ACEOF
15028 - /* end confdefs.h. */
15029 - $ac_includes_default
15030 -+ typedef long ac__type_sizeof_;
15031 - int
15032 - main ()
15033 - {
15034 --static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15035 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
15036 - test_array [0] = 0
15037 -
15038 - ;
15039 -@@ -14602,24 +17279,36 @@
15040 - }
15041 - _ACEOF
15042 - rm -f conftest.$ac_objext
15043 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15044 -- (eval $ac_compile) 2>conftest.er1
15045 -+if { (ac_try="$ac_compile"
15046 -+case "(($ac_try" in
15047 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15048 -+ *) ac_try_echo=$ac_try;;
15049 -+esac
15050 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15051 -+ (eval "$ac_compile") 2>conftest.er1
15052 - ac_status=$?
15053 - grep -v '^ *+' conftest.er1 >conftest.err
15054 - rm -f conftest.er1
15055 - cat conftest.err >&5
15056 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057 - (exit $ac_status); } &&
15058 -- { ac_try='test -z "$ac_cxx_werror_flag"
15059 -- || test ! -s conftest.err'
15060 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15061 -- (eval $ac_try) 2>&5
15062 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15063 -+ { (case "(($ac_try" in
15064 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15065 -+ *) ac_try_echo=$ac_try;;
15066 -+esac
15067 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15068 -+ (eval "$ac_try") 2>&5
15069 - ac_status=$?
15070 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15071 - (exit $ac_status); }; } &&
15072 - { ac_try='test -s conftest.$ac_objext'
15073 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15074 -- (eval $ac_try) 2>&5
15075 -+ { (case "(($ac_try" in
15076 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15077 -+ *) ac_try_echo=$ac_try;;
15078 -+esac
15079 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15080 -+ (eval "$ac_try") 2>&5
15081 - ac_status=$?
15082 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15083 - (exit $ac_status); }; }; then
15084 -@@ -14635,7 +17324,8 @@
15085 - fi
15086 - ac_mid=`expr 2 '*' $ac_mid + 1`
15087 - fi
15088 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15089 -+
15090 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15091 - done
15092 - else
15093 - echo "$as_me: failed program was:" >&5
15094 -@@ -14648,10 +17338,11 @@
15095 - cat >>conftest.$ac_ext <<_ACEOF
15096 - /* end confdefs.h. */
15097 - $ac_includes_default
15098 -+ typedef long ac__type_sizeof_;
15099 - int
15100 - main ()
15101 - {
15102 --static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
15103 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
15104 - test_array [0] = 0
15105 -
15106 - ;
15107 -@@ -14659,24 +17350,36 @@
15108 - }
15109 - _ACEOF
15110 - rm -f conftest.$ac_objext
15111 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15112 -- (eval $ac_compile) 2>conftest.er1
15113 -+if { (ac_try="$ac_compile"
15114 -+case "(($ac_try" in
15115 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15116 -+ *) ac_try_echo=$ac_try;;
15117 -+esac
15118 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15119 -+ (eval "$ac_compile") 2>conftest.er1
15120 - ac_status=$?
15121 - grep -v '^ *+' conftest.er1 >conftest.err
15122 - rm -f conftest.er1
15123 - cat conftest.err >&5
15124 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 - (exit $ac_status); } &&
15126 -- { ac_try='test -z "$ac_cxx_werror_flag"
15127 -- || test ! -s conftest.err'
15128 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15129 -- (eval $ac_try) 2>&5
15130 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15131 -+ { (case "(($ac_try" in
15132 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15133 -+ *) ac_try_echo=$ac_try;;
15134 -+esac
15135 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15136 -+ (eval "$ac_try") 2>&5
15137 - ac_status=$?
15138 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15139 - (exit $ac_status); }; } &&
15140 - { ac_try='test -s conftest.$ac_objext'
15141 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15142 -- (eval $ac_try) 2>&5
15143 -+ { (case "(($ac_try" in
15144 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15145 -+ *) ac_try_echo=$ac_try;;
15146 -+esac
15147 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15148 -+ (eval "$ac_try") 2>&5
15149 - ac_status=$?
15150 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 - (exit $ac_status); }; }; then
15152 -@@ -14689,10 +17392,11 @@
15153 - cat >>conftest.$ac_ext <<_ACEOF
15154 - /* end confdefs.h. */
15155 - $ac_includes_default
15156 -+ typedef long ac__type_sizeof_;
15157 - int
15158 - main ()
15159 - {
15160 --static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
15161 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
15162 - test_array [0] = 0
15163 -
15164 - ;
15165 -@@ -14700,24 +17404,36 @@
15166 - }
15167 - _ACEOF
15168 - rm -f conftest.$ac_objext
15169 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15170 -- (eval $ac_compile) 2>conftest.er1
15171 -+if { (ac_try="$ac_compile"
15172 -+case "(($ac_try" in
15173 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15174 -+ *) ac_try_echo=$ac_try;;
15175 -+esac
15176 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15177 -+ (eval "$ac_compile") 2>conftest.er1
15178 - ac_status=$?
15179 - grep -v '^ *+' conftest.er1 >conftest.err
15180 - rm -f conftest.er1
15181 - cat conftest.err >&5
15182 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 - (exit $ac_status); } &&
15184 -- { ac_try='test -z "$ac_cxx_werror_flag"
15185 -- || test ! -s conftest.err'
15186 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15187 -- (eval $ac_try) 2>&5
15188 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15189 -+ { (case "(($ac_try" in
15190 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15191 -+ *) ac_try_echo=$ac_try;;
15192 -+esac
15193 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15194 -+ (eval "$ac_try") 2>&5
15195 - ac_status=$?
15196 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15197 - (exit $ac_status); }; } &&
15198 - { ac_try='test -s conftest.$ac_objext'
15199 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15200 -- (eval $ac_try) 2>&5
15201 -+ { (case "(($ac_try" in
15202 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15203 -+ *) ac_try_echo=$ac_try;;
15204 -+esac
15205 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15206 -+ (eval "$ac_try") 2>&5
15207 - ac_status=$?
15208 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15209 - (exit $ac_status); }; }; then
15210 -@@ -14733,7 +17449,8 @@
15211 - fi
15212 - ac_mid=`expr 2 '*' $ac_mid`
15213 - fi
15214 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15215 -+
15216 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15217 - done
15218 - else
15219 - echo "$as_me: failed program was:" >&5
15220 -@@ -14741,9 +17458,11 @@
15221 -
15222 - ac_lo= ac_hi=
15223 - fi
15224 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15225 -+
15226 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15227 - fi
15228 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15229 -+
15230 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15231 - # Binary search between lo and hi bounds.
15232 - while test "x$ac_lo" != "x$ac_hi"; do
15233 - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15234 -@@ -14754,10 +17473,11 @@
15235 - cat >>conftest.$ac_ext <<_ACEOF
15236 - /* end confdefs.h. */
15237 - $ac_includes_default
15238 -+ typedef long ac__type_sizeof_;
15239 - int
15240 - main ()
15241 - {
15242 --static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
15243 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
15244 - test_array [0] = 0
15245 -
15246 - ;
15247 -@@ -14765,24 +17485,36 @@
15248 - }
15249 - _ACEOF
15250 - rm -f conftest.$ac_objext
15251 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15252 -- (eval $ac_compile) 2>conftest.er1
15253 -+if { (ac_try="$ac_compile"
15254 -+case "(($ac_try" in
15255 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15256 -+ *) ac_try_echo=$ac_try;;
15257 -+esac
15258 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15259 -+ (eval "$ac_compile") 2>conftest.er1
15260 - ac_status=$?
15261 - grep -v '^ *+' conftest.er1 >conftest.err
15262 - rm -f conftest.er1
15263 - cat conftest.err >&5
15264 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15265 - (exit $ac_status); } &&
15266 -- { ac_try='test -z "$ac_cxx_werror_flag"
15267 -- || test ! -s conftest.err'
15268 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15269 -- (eval $ac_try) 2>&5
15270 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15271 -+ { (case "(($ac_try" in
15272 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15273 -+ *) ac_try_echo=$ac_try;;
15274 -+esac
15275 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15276 -+ (eval "$ac_try") 2>&5
15277 - ac_status=$?
15278 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15279 - (exit $ac_status); }; } &&
15280 - { ac_try='test -s conftest.$ac_objext'
15281 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15282 -- (eval $ac_try) 2>&5
15283 -+ { (case "(($ac_try" in
15284 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15285 -+ *) ac_try_echo=$ac_try;;
15286 -+esac
15287 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15288 -+ (eval "$ac_try") 2>&5
15289 - ac_status=$?
15290 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15291 - (exit $ac_status); }; }; then
15292 -@@ -14793,24 +17525,18 @@
15293 -
15294 - ac_lo=`expr '(' $ac_mid ')' + 1`
15295 - fi
15296 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15297 -+
15298 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15299 - done
15300 - case $ac_lo in
15301 - ?*) ac_cv_sizeof_long=$ac_lo;;
15302 --'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15303 -+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
15304 - See \`config.log' for more details." >&5
15305 --echo "$as_me: error: cannot compute sizeof (long), 77
15306 -+echo "$as_me: error: cannot compute sizeof (long)
15307 - See \`config.log' for more details." >&2;}
15308 -- { (exit 1); exit 1; }; } ;;
15309 -+ { (exit 77); exit 77; }; } ;;
15310 - esac
15311 - else
15312 -- if test "$cross_compiling" = yes; then
15313 -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15314 --See \`config.log' for more details." >&5
15315 --echo "$as_me: error: cannot run test program while cross compiling
15316 --See \`config.log' for more details." >&2;}
15317 -- { (exit 1); exit 1; }; }
15318 --else
15319 - cat >conftest.$ac_ext <<_ACEOF
15320 - /* confdefs.h. */
15321 - _ACEOF
15322 -@@ -14818,8 +17544,9 @@
15323 - cat >>conftest.$ac_ext <<_ACEOF
15324 - /* end confdefs.h. */
15325 - $ac_includes_default
15326 --long longval () { return (long) (sizeof (long)); }
15327 --unsigned long ulongval () { return (long) (sizeof (long)); }
15328 -+ typedef long ac__type_sizeof_;
15329 -+static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
15330 -+static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
15331 - #include <stdio.h>
15332 - #include <stdlib.h>
15333 - int
15334 -@@ -14828,35 +17555,44 @@
15335 -
15336 - FILE *f = fopen ("conftest.val", "w");
15337 - if (! f)
15338 -- exit (1);
15339 -- if (((long) (sizeof (long))) < 0)
15340 -+ return 1;
15341 -+ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
15342 - {
15343 -- long i = longval ();
15344 -- if (i != ((long) (sizeof (long))))
15345 -- exit (1);
15346 -+ long int i = longval ();
15347 -+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
15348 -+ return 1;
15349 - fprintf (f, "%ld\n", i);
15350 - }
15351 - else
15352 - {
15353 -- unsigned long i = ulongval ();
15354 -- if (i != ((long) (sizeof (long))))
15355 -- exit (1);
15356 -+ unsigned long int i = ulongval ();
15357 -+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
15358 -+ return 1;
15359 - fprintf (f, "%lu\n", i);
15360 - }
15361 -- exit (ferror (f) || fclose (f) != 0);
15362 -+ return ferror (f) || fclose (f) != 0;
15363 -
15364 - ;
15365 - return 0;
15366 - }
15367 - _ACEOF
15368 - rm -f conftest$ac_exeext
15369 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15370 -- (eval $ac_link) 2>&5
15371 -+if { (ac_try="$ac_link"
15372 -+case "(($ac_try" in
15373 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15374 -+ *) ac_try_echo=$ac_try;;
15375 -+esac
15376 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15377 -+ (eval "$ac_link") 2>&5
15378 - ac_status=$?
15379 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15380 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15381 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15382 -- (eval $ac_try) 2>&5
15383 -+ { (case "(($ac_try" in
15384 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15385 -+ *) ac_try_echo=$ac_try;;
15386 -+esac
15387 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15388 -+ (eval "$ac_try") 2>&5
15389 - ac_status=$?
15390 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15391 - (exit $ac_status); }; }; then
15392 -@@ -14867,29 +17603,28 @@
15393 - sed 's/^/| /' conftest.$ac_ext >&5
15394 -
15395 - ( exit $ac_status )
15396 --{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
15397 -+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
15398 - See \`config.log' for more details." >&5
15399 --echo "$as_me: error: cannot compute sizeof (long), 77
15400 -+echo "$as_me: error: cannot compute sizeof (long)
15401 - See \`config.log' for more details." >&2;}
15402 -- { (exit 1); exit 1; }; }
15403 --fi
15404 --rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15405 -+ { (exit 77); exit 77; }; }
15406 - fi
15407 -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15408 - fi
15409 - rm -f conftest.val
15410 - else
15411 - ac_cv_sizeof_long=0
15412 - fi
15413 - fi
15414 --echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15415 --echo "${ECHO_T}$ac_cv_sizeof_long" >&6
15416 -+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
15417 -+echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
15418 - cat >>confdefs.h <<_ACEOF
15419 - #define SIZEOF_LONG $ac_cv_sizeof_long
15420 - _ACEOF
15421 -
15422 -
15423 -- echo "$as_me:$LINENO: checking for long double" >&5
15424 --echo $ECHO_N "checking for long double... $ECHO_C" >&6
15425 -+ { echo "$as_me:$LINENO: checking for long double" >&5
15426 -+echo $ECHO_N "checking for long double... $ECHO_C" >&6; }
15427 - if test "${ac_cv_type_long_double+set}" = set; then
15428 - echo $ECHO_N "(cached) $ECHO_C" >&6
15429 - else
15430 -@@ -14900,36 +17635,49 @@
15431 - cat >>conftest.$ac_ext <<_ACEOF
15432 - /* end confdefs.h. */
15433 - $ac_includes_default
15434 -+typedef long double ac__type_new_;
15435 - int
15436 - main ()
15437 - {
15438 --if ((long double *) 0)
15439 -+if ((ac__type_new_ *) 0)
15440 - return 0;
15441 --if (sizeof (long double))
15442 -+if (sizeof (ac__type_new_))
15443 - return 0;
15444 - ;
15445 - return 0;
15446 - }
15447 - _ACEOF
15448 - rm -f conftest.$ac_objext
15449 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15450 -- (eval $ac_compile) 2>conftest.er1
15451 -+if { (ac_try="$ac_compile"
15452 -+case "(($ac_try" in
15453 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15454 -+ *) ac_try_echo=$ac_try;;
15455 -+esac
15456 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15457 -+ (eval "$ac_compile") 2>conftest.er1
15458 - ac_status=$?
15459 - grep -v '^ *+' conftest.er1 >conftest.err
15460 - rm -f conftest.er1
15461 - cat conftest.err >&5
15462 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 - (exit $ac_status); } &&
15464 -- { ac_try='test -z "$ac_cxx_werror_flag"
15465 -- || test ! -s conftest.err'
15466 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15467 -- (eval $ac_try) 2>&5
15468 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15469 -+ { (case "(($ac_try" in
15470 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15471 -+ *) ac_try_echo=$ac_try;;
15472 -+esac
15473 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15474 -+ (eval "$ac_try") 2>&5
15475 - ac_status=$?
15476 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 - (exit $ac_status); }; } &&
15478 - { ac_try='test -s conftest.$ac_objext'
15479 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15480 -- (eval $ac_try) 2>&5
15481 -+ { (case "(($ac_try" in
15482 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15483 -+ *) ac_try_echo=$ac_try;;
15484 -+esac
15485 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15486 -+ (eval "$ac_try") 2>&5
15487 - ac_status=$?
15488 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15489 - (exit $ac_status); }; }; then
15490 -@@ -14940,18 +17688,19 @@
15491 -
15492 - ac_cv_type_long_double=no
15493 - fi
15494 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15495 -+
15496 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15497 - fi
15498 --echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5
15499 --echo "${ECHO_T}$ac_cv_type_long_double" >&6
15500 -+{ echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5
15501 -+echo "${ECHO_T}$ac_cv_type_long_double" >&6; }
15502 -
15503 --echo "$as_me:$LINENO: checking size of long double" >&5
15504 --echo $ECHO_N "checking size of long double... $ECHO_C" >&6
15505 -+{ echo "$as_me:$LINENO: checking size of long double" >&5
15506 -+echo $ECHO_N "checking size of long double... $ECHO_C" >&6; }
15507 - if test "${ac_cv_sizeof_long_double+set}" = set; then
15508 - echo $ECHO_N "(cached) $ECHO_C" >&6
15509 - else
15510 - if test "$ac_cv_type_long_double" = yes; then
15511 -- # The cast to unsigned long works around a bug in the HP C Compiler
15512 -+ # The cast to long int works around a bug in the HP C Compiler
15513 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15514 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15515 - # This bug is HP SR number 8606223364.
15516 -@@ -14964,10 +17713,11 @@
15517 - cat >>conftest.$ac_ext <<_ACEOF
15518 - /* end confdefs.h. */
15519 - $ac_includes_default
15520 -+ typedef long double ac__type_sizeof_;
15521 - int
15522 - main ()
15523 - {
15524 --static int test_array [1 - 2 * !(((long) (sizeof (long double))) >= 0)];
15525 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
15526 - test_array [0] = 0
15527 -
15528 - ;
15529 -@@ -14975,24 +17725,36 @@
15530 - }
15531 - _ACEOF
15532 - rm -f conftest.$ac_objext
15533 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15534 -- (eval $ac_compile) 2>conftest.er1
15535 -+if { (ac_try="$ac_compile"
15536 -+case "(($ac_try" in
15537 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15538 -+ *) ac_try_echo=$ac_try;;
15539 -+esac
15540 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15541 -+ (eval "$ac_compile") 2>conftest.er1
15542 - ac_status=$?
15543 - grep -v '^ *+' conftest.er1 >conftest.err
15544 - rm -f conftest.er1
15545 - cat conftest.err >&5
15546 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 - (exit $ac_status); } &&
15548 -- { ac_try='test -z "$ac_cxx_werror_flag"
15549 -- || test ! -s conftest.err'
15550 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15551 -- (eval $ac_try) 2>&5
15552 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15553 -+ { (case "(($ac_try" in
15554 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15555 -+ *) ac_try_echo=$ac_try;;
15556 -+esac
15557 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15558 -+ (eval "$ac_try") 2>&5
15559 - ac_status=$?
15560 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15561 - (exit $ac_status); }; } &&
15562 - { ac_try='test -s conftest.$ac_objext'
15563 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15564 -- (eval $ac_try) 2>&5
15565 -+ { (case "(($ac_try" in
15566 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15567 -+ *) ac_try_echo=$ac_try;;
15568 -+esac
15569 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15570 -+ (eval "$ac_try") 2>&5
15571 - ac_status=$?
15572 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15573 - (exit $ac_status); }; }; then
15574 -@@ -15005,10 +17767,11 @@
15575 - cat >>conftest.$ac_ext <<_ACEOF
15576 - /* end confdefs.h. */
15577 - $ac_includes_default
15578 -+ typedef long double ac__type_sizeof_;
15579 - int
15580 - main ()
15581 - {
15582 --static int test_array [1 - 2 * !(((long) (sizeof (long double))) <= $ac_mid)];
15583 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
15584 - test_array [0] = 0
15585 -
15586 - ;
15587 -@@ -15016,24 +17779,36 @@
15588 - }
15589 - _ACEOF
15590 - rm -f conftest.$ac_objext
15591 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15592 -- (eval $ac_compile) 2>conftest.er1
15593 -+if { (ac_try="$ac_compile"
15594 -+case "(($ac_try" in
15595 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15596 -+ *) ac_try_echo=$ac_try;;
15597 -+esac
15598 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15599 -+ (eval "$ac_compile") 2>conftest.er1
15600 - ac_status=$?
15601 - grep -v '^ *+' conftest.er1 >conftest.err
15602 - rm -f conftest.er1
15603 - cat conftest.err >&5
15604 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 - (exit $ac_status); } &&
15606 -- { ac_try='test -z "$ac_cxx_werror_flag"
15607 -- || test ! -s conftest.err'
15608 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15609 -- (eval $ac_try) 2>&5
15610 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15611 -+ { (case "(($ac_try" in
15612 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15613 -+ *) ac_try_echo=$ac_try;;
15614 -+esac
15615 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15616 -+ (eval "$ac_try") 2>&5
15617 - ac_status=$?
15618 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15619 - (exit $ac_status); }; } &&
15620 - { ac_try='test -s conftest.$ac_objext'
15621 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15622 -- (eval $ac_try) 2>&5
15623 -+ { (case "(($ac_try" in
15624 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15625 -+ *) ac_try_echo=$ac_try;;
15626 -+esac
15627 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15628 -+ (eval "$ac_try") 2>&5
15629 - ac_status=$?
15630 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 - (exit $ac_status); }; }; then
15632 -@@ -15049,7 +17824,8 @@
15633 - fi
15634 - ac_mid=`expr 2 '*' $ac_mid + 1`
15635 - fi
15636 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15637 -+
15638 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15639 - done
15640 - else
15641 - echo "$as_me: failed program was:" >&5
15642 -@@ -15062,10 +17838,11 @@
15643 - cat >>conftest.$ac_ext <<_ACEOF
15644 - /* end confdefs.h. */
15645 - $ac_includes_default
15646 -+ typedef long double ac__type_sizeof_;
15647 - int
15648 - main ()
15649 - {
15650 --static int test_array [1 - 2 * !(((long) (sizeof (long double))) < 0)];
15651 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
15652 - test_array [0] = 0
15653 -
15654 - ;
15655 -@@ -15073,24 +17850,36 @@
15656 - }
15657 - _ACEOF
15658 - rm -f conftest.$ac_objext
15659 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15660 -- (eval $ac_compile) 2>conftest.er1
15661 -+if { (ac_try="$ac_compile"
15662 -+case "(($ac_try" in
15663 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15664 -+ *) ac_try_echo=$ac_try;;
15665 -+esac
15666 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15667 -+ (eval "$ac_compile") 2>conftest.er1
15668 - ac_status=$?
15669 - grep -v '^ *+' conftest.er1 >conftest.err
15670 - rm -f conftest.er1
15671 - cat conftest.err >&5
15672 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15673 - (exit $ac_status); } &&
15674 -- { ac_try='test -z "$ac_cxx_werror_flag"
15675 -- || test ! -s conftest.err'
15676 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15677 -- (eval $ac_try) 2>&5
15678 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15679 -+ { (case "(($ac_try" in
15680 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15681 -+ *) ac_try_echo=$ac_try;;
15682 -+esac
15683 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15684 -+ (eval "$ac_try") 2>&5
15685 - ac_status=$?
15686 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15687 - (exit $ac_status); }; } &&
15688 - { ac_try='test -s conftest.$ac_objext'
15689 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15690 -- (eval $ac_try) 2>&5
15691 -+ { (case "(($ac_try" in
15692 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15693 -+ *) ac_try_echo=$ac_try;;
15694 -+esac
15695 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15696 -+ (eval "$ac_try") 2>&5
15697 - ac_status=$?
15698 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699 - (exit $ac_status); }; }; then
15700 -@@ -15103,10 +17892,11 @@
15701 - cat >>conftest.$ac_ext <<_ACEOF
15702 - /* end confdefs.h. */
15703 - $ac_includes_default
15704 -+ typedef long double ac__type_sizeof_;
15705 - int
15706 - main ()
15707 - {
15708 --static int test_array [1 - 2 * !(((long) (sizeof (long double))) >= $ac_mid)];
15709 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
15710 - test_array [0] = 0
15711 -
15712 - ;
15713 -@@ -15114,24 +17904,36 @@
15714 - }
15715 - _ACEOF
15716 - rm -f conftest.$ac_objext
15717 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15718 -- (eval $ac_compile) 2>conftest.er1
15719 -+if { (ac_try="$ac_compile"
15720 -+case "(($ac_try" in
15721 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15722 -+ *) ac_try_echo=$ac_try;;
15723 -+esac
15724 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15725 -+ (eval "$ac_compile") 2>conftest.er1
15726 - ac_status=$?
15727 - grep -v '^ *+' conftest.er1 >conftest.err
15728 - rm -f conftest.er1
15729 - cat conftest.err >&5
15730 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 - (exit $ac_status); } &&
15732 -- { ac_try='test -z "$ac_cxx_werror_flag"
15733 -- || test ! -s conftest.err'
15734 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15735 -- (eval $ac_try) 2>&5
15736 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15737 -+ { (case "(($ac_try" in
15738 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15739 -+ *) ac_try_echo=$ac_try;;
15740 -+esac
15741 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15742 -+ (eval "$ac_try") 2>&5
15743 - ac_status=$?
15744 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745 - (exit $ac_status); }; } &&
15746 - { ac_try='test -s conftest.$ac_objext'
15747 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15748 -- (eval $ac_try) 2>&5
15749 -+ { (case "(($ac_try" in
15750 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15751 -+ *) ac_try_echo=$ac_try;;
15752 -+esac
15753 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15754 -+ (eval "$ac_try") 2>&5
15755 - ac_status=$?
15756 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757 - (exit $ac_status); }; }; then
15758 -@@ -15147,7 +17949,8 @@
15759 - fi
15760 - ac_mid=`expr 2 '*' $ac_mid`
15761 - fi
15762 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15763 -+
15764 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15765 - done
15766 - else
15767 - echo "$as_me: failed program was:" >&5
15768 -@@ -15155,9 +17958,11 @@
15769 -
15770 - ac_lo= ac_hi=
15771 - fi
15772 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15773 -+
15774 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15775 - fi
15776 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15777 -+
15778 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15779 - # Binary search between lo and hi bounds.
15780 - while test "x$ac_lo" != "x$ac_hi"; do
15781 - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15782 -@@ -15168,10 +17973,11 @@
15783 - cat >>conftest.$ac_ext <<_ACEOF
15784 - /* end confdefs.h. */
15785 - $ac_includes_default
15786 -+ typedef long double ac__type_sizeof_;
15787 - int
15788 - main ()
15789 - {
15790 --static int test_array [1 - 2 * !(((long) (sizeof (long double))) <= $ac_mid)];
15791 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
15792 - test_array [0] = 0
15793 -
15794 - ;
15795 -@@ -15179,24 +17985,36 @@
15796 - }
15797 - _ACEOF
15798 - rm -f conftest.$ac_objext
15799 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15800 -- (eval $ac_compile) 2>conftest.er1
15801 -+if { (ac_try="$ac_compile"
15802 -+case "(($ac_try" in
15803 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15804 -+ *) ac_try_echo=$ac_try;;
15805 -+esac
15806 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15807 -+ (eval "$ac_compile") 2>conftest.er1
15808 - ac_status=$?
15809 - grep -v '^ *+' conftest.er1 >conftest.err
15810 - rm -f conftest.er1
15811 - cat conftest.err >&5
15812 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15813 - (exit $ac_status); } &&
15814 -- { ac_try='test -z "$ac_cxx_werror_flag"
15815 -- || test ! -s conftest.err'
15816 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15817 -- (eval $ac_try) 2>&5
15818 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15819 -+ { (case "(($ac_try" in
15820 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15821 -+ *) ac_try_echo=$ac_try;;
15822 -+esac
15823 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15824 -+ (eval "$ac_try") 2>&5
15825 - ac_status=$?
15826 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15827 - (exit $ac_status); }; } &&
15828 - { ac_try='test -s conftest.$ac_objext'
15829 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15830 -- (eval $ac_try) 2>&5
15831 -+ { (case "(($ac_try" in
15832 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15833 -+ *) ac_try_echo=$ac_try;;
15834 -+esac
15835 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15836 -+ (eval "$ac_try") 2>&5
15837 - ac_status=$?
15838 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 - (exit $ac_status); }; }; then
15840 -@@ -15207,24 +18025,18 @@
15841 -
15842 - ac_lo=`expr '(' $ac_mid ')' + 1`
15843 - fi
15844 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15845 -+
15846 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15847 - done
15848 - case $ac_lo in
15849 - ?*) ac_cv_sizeof_long_double=$ac_lo;;
15850 --'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double), 77
15851 -+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
15852 - See \`config.log' for more details." >&5
15853 --echo "$as_me: error: cannot compute sizeof (long double), 77
15854 -+echo "$as_me: error: cannot compute sizeof (long double)
15855 - See \`config.log' for more details." >&2;}
15856 -- { (exit 1); exit 1; }; } ;;
15857 -+ { (exit 77); exit 77; }; } ;;
15858 - esac
15859 - else
15860 -- if test "$cross_compiling" = yes; then
15861 -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15862 --See \`config.log' for more details." >&5
15863 --echo "$as_me: error: cannot run test program while cross compiling
15864 --See \`config.log' for more details." >&2;}
15865 -- { (exit 1); exit 1; }; }
15866 --else
15867 - cat >conftest.$ac_ext <<_ACEOF
15868 - /* confdefs.h. */
15869 - _ACEOF
15870 -@@ -15232,8 +18044,9 @@
15871 - cat >>conftest.$ac_ext <<_ACEOF
15872 - /* end confdefs.h. */
15873 - $ac_includes_default
15874 --long longval () { return (long) (sizeof (long double)); }
15875 --unsigned long ulongval () { return (long) (sizeof (long double)); }
15876 -+ typedef long double ac__type_sizeof_;
15877 -+static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
15878 -+static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
15879 - #include <stdio.h>
15880 - #include <stdlib.h>
15881 - int
15882 -@@ -15242,35 +18055,44 @@
15883 -
15884 - FILE *f = fopen ("conftest.val", "w");
15885 - if (! f)
15886 -- exit (1);
15887 -- if (((long) (sizeof (long double))) < 0)
15888 -+ return 1;
15889 -+ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
15890 - {
15891 -- long i = longval ();
15892 -- if (i != ((long) (sizeof (long double))))
15893 -- exit (1);
15894 -+ long int i = longval ();
15895 -+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
15896 -+ return 1;
15897 - fprintf (f, "%ld\n", i);
15898 - }
15899 - else
15900 - {
15901 -- unsigned long i = ulongval ();
15902 -- if (i != ((long) (sizeof (long double))))
15903 -- exit (1);
15904 -+ unsigned long int i = ulongval ();
15905 -+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
15906 -+ return 1;
15907 - fprintf (f, "%lu\n", i);
15908 - }
15909 -- exit (ferror (f) || fclose (f) != 0);
15910 -+ return ferror (f) || fclose (f) != 0;
15911 -
15912 - ;
15913 - return 0;
15914 - }
15915 - _ACEOF
15916 - rm -f conftest$ac_exeext
15917 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15918 -- (eval $ac_link) 2>&5
15919 -+if { (ac_try="$ac_link"
15920 -+case "(($ac_try" in
15921 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15922 -+ *) ac_try_echo=$ac_try;;
15923 -+esac
15924 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15925 -+ (eval "$ac_link") 2>&5
15926 - ac_status=$?
15927 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15928 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15929 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15930 -- (eval $ac_try) 2>&5
15931 -+ { (case "(($ac_try" in
15932 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15933 -+ *) ac_try_echo=$ac_try;;
15934 -+esac
15935 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15936 -+ (eval "$ac_try") 2>&5
15937 - ac_status=$?
15938 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939 - (exit $ac_status); }; }; then
15940 -@@ -15281,29 +18103,28 @@
15941 - sed 's/^/| /' conftest.$ac_ext >&5
15942 -
15943 - ( exit $ac_status )
15944 --{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long double), 77
15945 -+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long double)
15946 - See \`config.log' for more details." >&5
15947 --echo "$as_me: error: cannot compute sizeof (long double), 77
15948 -+echo "$as_me: error: cannot compute sizeof (long double)
15949 - See \`config.log' for more details." >&2;}
15950 -- { (exit 1); exit 1; }; }
15951 --fi
15952 --rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15953 -+ { (exit 77); exit 77; }; }
15954 - fi
15955 -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15956 - fi
15957 - rm -f conftest.val
15958 - else
15959 - ac_cv_sizeof_long_double=0
15960 - fi
15961 - fi
15962 --echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_double" >&5
15963 --echo "${ECHO_T}$ac_cv_sizeof_long_double" >&6
15964 -+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_double" >&5
15965 -+echo "${ECHO_T}$ac_cv_sizeof_long_double" >&6; }
15966 - cat >>confdefs.h <<_ACEOF
15967 - #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
15968 - _ACEOF
15969 -
15970 -
15971 -- echo "$as_me:$LINENO: checking for long long" >&5
15972 --echo $ECHO_N "checking for long long... $ECHO_C" >&6
15973 -+ { echo "$as_me:$LINENO: checking for long long" >&5
15974 -+echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
15975 - if test "${ac_cv_type_long_long+set}" = set; then
15976 - echo $ECHO_N "(cached) $ECHO_C" >&6
15977 - else
15978 -@@ -15314,36 +18135,49 @@
15979 - cat >>conftest.$ac_ext <<_ACEOF
15980 - /* end confdefs.h. */
15981 - $ac_includes_default
15982 -+typedef long long ac__type_new_;
15983 - int
15984 - main ()
15985 - {
15986 --if ((long long *) 0)
15987 -+if ((ac__type_new_ *) 0)
15988 - return 0;
15989 --if (sizeof (long long))
15990 -+if (sizeof (ac__type_new_))
15991 - return 0;
15992 - ;
15993 - return 0;
15994 - }
15995 - _ACEOF
15996 - rm -f conftest.$ac_objext
15997 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15998 -- (eval $ac_compile) 2>conftest.er1
15999 -+if { (ac_try="$ac_compile"
16000 -+case "(($ac_try" in
16001 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16002 -+ *) ac_try_echo=$ac_try;;
16003 -+esac
16004 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16005 -+ (eval "$ac_compile") 2>conftest.er1
16006 - ac_status=$?
16007 - grep -v '^ *+' conftest.er1 >conftest.err
16008 - rm -f conftest.er1
16009 - cat conftest.err >&5
16010 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 - (exit $ac_status); } &&
16012 -- { ac_try='test -z "$ac_cxx_werror_flag"
16013 -- || test ! -s conftest.err'
16014 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16015 -- (eval $ac_try) 2>&5
16016 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16017 -+ { (case "(($ac_try" in
16018 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16019 -+ *) ac_try_echo=$ac_try;;
16020 -+esac
16021 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16022 -+ (eval "$ac_try") 2>&5
16023 - ac_status=$?
16024 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16025 - (exit $ac_status); }; } &&
16026 - { ac_try='test -s conftest.$ac_objext'
16027 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16028 -- (eval $ac_try) 2>&5
16029 -+ { (case "(($ac_try" in
16030 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16031 -+ *) ac_try_echo=$ac_try;;
16032 -+esac
16033 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16034 -+ (eval "$ac_try") 2>&5
16035 - ac_status=$?
16036 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 - (exit $ac_status); }; }; then
16038 -@@ -15354,18 +18188,19 @@
16039 -
16040 - ac_cv_type_long_long=no
16041 - fi
16042 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16043 -+
16044 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16045 - fi
16046 --echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16047 --echo "${ECHO_T}$ac_cv_type_long_long" >&6
16048 -+{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16049 -+echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
16050 -
16051 --echo "$as_me:$LINENO: checking size of long long" >&5
16052 --echo $ECHO_N "checking size of long long... $ECHO_C" >&6
16053 -+{ echo "$as_me:$LINENO: checking size of long long" >&5
16054 -+echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
16055 - if test "${ac_cv_sizeof_long_long+set}" = set; then
16056 - echo $ECHO_N "(cached) $ECHO_C" >&6
16057 - else
16058 - if test "$ac_cv_type_long_long" = yes; then
16059 -- # The cast to unsigned long works around a bug in the HP C Compiler
16060 -+ # The cast to long int works around a bug in the HP C Compiler
16061 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16062 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16063 - # This bug is HP SR number 8606223364.
16064 -@@ -15378,10 +18213,11 @@
16065 - cat >>conftest.$ac_ext <<_ACEOF
16066 - /* end confdefs.h. */
16067 - $ac_includes_default
16068 -+ typedef long long ac__type_sizeof_;
16069 - int
16070 - main ()
16071 - {
16072 --static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
16073 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
16074 - test_array [0] = 0
16075 -
16076 - ;
16077 -@@ -15389,24 +18225,36 @@
16078 - }
16079 - _ACEOF
16080 - rm -f conftest.$ac_objext
16081 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16082 -- (eval $ac_compile) 2>conftest.er1
16083 -+if { (ac_try="$ac_compile"
16084 -+case "(($ac_try" in
16085 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16086 -+ *) ac_try_echo=$ac_try;;
16087 -+esac
16088 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16089 -+ (eval "$ac_compile") 2>conftest.er1
16090 - ac_status=$?
16091 - grep -v '^ *+' conftest.er1 >conftest.err
16092 - rm -f conftest.er1
16093 - cat conftest.err >&5
16094 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16095 - (exit $ac_status); } &&
16096 -- { ac_try='test -z "$ac_cxx_werror_flag"
16097 -- || test ! -s conftest.err'
16098 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16099 -- (eval $ac_try) 2>&5
16100 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16101 -+ { (case "(($ac_try" in
16102 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16103 -+ *) ac_try_echo=$ac_try;;
16104 -+esac
16105 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16106 -+ (eval "$ac_try") 2>&5
16107 - ac_status=$?
16108 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109 - (exit $ac_status); }; } &&
16110 - { ac_try='test -s conftest.$ac_objext'
16111 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16112 -- (eval $ac_try) 2>&5
16113 -+ { (case "(($ac_try" in
16114 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16115 -+ *) ac_try_echo=$ac_try;;
16116 -+esac
16117 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16118 -+ (eval "$ac_try") 2>&5
16119 - ac_status=$?
16120 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 - (exit $ac_status); }; }; then
16122 -@@ -15419,10 +18267,11 @@
16123 - cat >>conftest.$ac_ext <<_ACEOF
16124 - /* end confdefs.h. */
16125 - $ac_includes_default
16126 -+ typedef long long ac__type_sizeof_;
16127 - int
16128 - main ()
16129 - {
16130 --static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16131 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16132 - test_array [0] = 0
16133 -
16134 - ;
16135 -@@ -15430,24 +18279,36 @@
16136 - }
16137 - _ACEOF
16138 - rm -f conftest.$ac_objext
16139 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16140 -- (eval $ac_compile) 2>conftest.er1
16141 -+if { (ac_try="$ac_compile"
16142 -+case "(($ac_try" in
16143 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16144 -+ *) ac_try_echo=$ac_try;;
16145 -+esac
16146 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16147 -+ (eval "$ac_compile") 2>conftest.er1
16148 - ac_status=$?
16149 - grep -v '^ *+' conftest.er1 >conftest.err
16150 - rm -f conftest.er1
16151 - cat conftest.err >&5
16152 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153 - (exit $ac_status); } &&
16154 -- { ac_try='test -z "$ac_cxx_werror_flag"
16155 -- || test ! -s conftest.err'
16156 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16157 -- (eval $ac_try) 2>&5
16158 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16159 -+ { (case "(($ac_try" in
16160 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16161 -+ *) ac_try_echo=$ac_try;;
16162 -+esac
16163 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16164 -+ (eval "$ac_try") 2>&5
16165 - ac_status=$?
16166 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16167 - (exit $ac_status); }; } &&
16168 - { ac_try='test -s conftest.$ac_objext'
16169 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16170 -- (eval $ac_try) 2>&5
16171 -+ { (case "(($ac_try" in
16172 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16173 -+ *) ac_try_echo=$ac_try;;
16174 -+esac
16175 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16176 -+ (eval "$ac_try") 2>&5
16177 - ac_status=$?
16178 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16179 - (exit $ac_status); }; }; then
16180 -@@ -15463,7 +18324,8 @@
16181 - fi
16182 - ac_mid=`expr 2 '*' $ac_mid + 1`
16183 - fi
16184 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16185 -+
16186 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16187 - done
16188 - else
16189 - echo "$as_me: failed program was:" >&5
16190 -@@ -15476,10 +18338,11 @@
16191 - cat >>conftest.$ac_ext <<_ACEOF
16192 - /* end confdefs.h. */
16193 - $ac_includes_default
16194 -+ typedef long long ac__type_sizeof_;
16195 - int
16196 - main ()
16197 - {
16198 --static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
16199 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
16200 - test_array [0] = 0
16201 -
16202 - ;
16203 -@@ -15487,24 +18350,36 @@
16204 - }
16205 - _ACEOF
16206 - rm -f conftest.$ac_objext
16207 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16208 -- (eval $ac_compile) 2>conftest.er1
16209 -+if { (ac_try="$ac_compile"
16210 -+case "(($ac_try" in
16211 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16212 -+ *) ac_try_echo=$ac_try;;
16213 -+esac
16214 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16215 -+ (eval "$ac_compile") 2>conftest.er1
16216 - ac_status=$?
16217 - grep -v '^ *+' conftest.er1 >conftest.err
16218 - rm -f conftest.er1
16219 - cat conftest.err >&5
16220 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 - (exit $ac_status); } &&
16222 -- { ac_try='test -z "$ac_cxx_werror_flag"
16223 -- || test ! -s conftest.err'
16224 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16225 -- (eval $ac_try) 2>&5
16226 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16227 -+ { (case "(($ac_try" in
16228 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16229 -+ *) ac_try_echo=$ac_try;;
16230 -+esac
16231 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16232 -+ (eval "$ac_try") 2>&5
16233 - ac_status=$?
16234 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 - (exit $ac_status); }; } &&
16236 - { ac_try='test -s conftest.$ac_objext'
16237 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16238 -- (eval $ac_try) 2>&5
16239 -+ { (case "(($ac_try" in
16240 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16241 -+ *) ac_try_echo=$ac_try;;
16242 -+esac
16243 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16244 -+ (eval "$ac_try") 2>&5
16245 - ac_status=$?
16246 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247 - (exit $ac_status); }; }; then
16248 -@@ -15517,10 +18392,11 @@
16249 - cat >>conftest.$ac_ext <<_ACEOF
16250 - /* end confdefs.h. */
16251 - $ac_includes_default
16252 -+ typedef long long ac__type_sizeof_;
16253 - int
16254 - main ()
16255 - {
16256 --static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
16257 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
16258 - test_array [0] = 0
16259 -
16260 - ;
16261 -@@ -15528,24 +18404,36 @@
16262 - }
16263 - _ACEOF
16264 - rm -f conftest.$ac_objext
16265 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16266 -- (eval $ac_compile) 2>conftest.er1
16267 -+if { (ac_try="$ac_compile"
16268 -+case "(($ac_try" in
16269 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16270 -+ *) ac_try_echo=$ac_try;;
16271 -+esac
16272 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16273 -+ (eval "$ac_compile") 2>conftest.er1
16274 - ac_status=$?
16275 - grep -v '^ *+' conftest.er1 >conftest.err
16276 - rm -f conftest.er1
16277 - cat conftest.err >&5
16278 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279 - (exit $ac_status); } &&
16280 -- { ac_try='test -z "$ac_cxx_werror_flag"
16281 -- || test ! -s conftest.err'
16282 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16283 -- (eval $ac_try) 2>&5
16284 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16285 -+ { (case "(($ac_try" in
16286 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16287 -+ *) ac_try_echo=$ac_try;;
16288 -+esac
16289 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16290 -+ (eval "$ac_try") 2>&5
16291 - ac_status=$?
16292 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 - (exit $ac_status); }; } &&
16294 - { ac_try='test -s conftest.$ac_objext'
16295 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16296 -- (eval $ac_try) 2>&5
16297 -+ { (case "(($ac_try" in
16298 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16299 -+ *) ac_try_echo=$ac_try;;
16300 -+esac
16301 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16302 -+ (eval "$ac_try") 2>&5
16303 - ac_status=$?
16304 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 - (exit $ac_status); }; }; then
16306 -@@ -15561,7 +18449,8 @@
16307 - fi
16308 - ac_mid=`expr 2 '*' $ac_mid`
16309 - fi
16310 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16311 -+
16312 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16313 - done
16314 - else
16315 - echo "$as_me: failed program was:" >&5
16316 -@@ -15569,9 +18458,11 @@
16317 -
16318 - ac_lo= ac_hi=
16319 - fi
16320 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16321 -+
16322 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16323 - fi
16324 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16325 -+
16326 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16327 - # Binary search between lo and hi bounds.
16328 - while test "x$ac_lo" != "x$ac_hi"; do
16329 - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16330 -@@ -15582,10 +18473,11 @@
16331 - cat >>conftest.$ac_ext <<_ACEOF
16332 - /* end confdefs.h. */
16333 - $ac_includes_default
16334 -+ typedef long long ac__type_sizeof_;
16335 - int
16336 - main ()
16337 - {
16338 --static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
16339 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16340 - test_array [0] = 0
16341 -
16342 - ;
16343 -@@ -15593,24 +18485,36 @@
16344 - }
16345 - _ACEOF
16346 - rm -f conftest.$ac_objext
16347 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16348 -- (eval $ac_compile) 2>conftest.er1
16349 -+if { (ac_try="$ac_compile"
16350 -+case "(($ac_try" in
16351 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16352 -+ *) ac_try_echo=$ac_try;;
16353 -+esac
16354 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16355 -+ (eval "$ac_compile") 2>conftest.er1
16356 - ac_status=$?
16357 - grep -v '^ *+' conftest.er1 >conftest.err
16358 - rm -f conftest.er1
16359 - cat conftest.err >&5
16360 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16361 - (exit $ac_status); } &&
16362 -- { ac_try='test -z "$ac_cxx_werror_flag"
16363 -- || test ! -s conftest.err'
16364 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16365 -- (eval $ac_try) 2>&5
16366 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16367 -+ { (case "(($ac_try" in
16368 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16369 -+ *) ac_try_echo=$ac_try;;
16370 -+esac
16371 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16372 -+ (eval "$ac_try") 2>&5
16373 - ac_status=$?
16374 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 - (exit $ac_status); }; } &&
16376 - { ac_try='test -s conftest.$ac_objext'
16377 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16378 -- (eval $ac_try) 2>&5
16379 -+ { (case "(($ac_try" in
16380 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16381 -+ *) ac_try_echo=$ac_try;;
16382 -+esac
16383 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16384 -+ (eval "$ac_try") 2>&5
16385 - ac_status=$?
16386 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16387 - (exit $ac_status); }; }; then
16388 -@@ -15621,24 +18525,18 @@
16389 -
16390 - ac_lo=`expr '(' $ac_mid ')' + 1`
16391 - fi
16392 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16393 -+
16394 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16395 - done
16396 - case $ac_lo in
16397 - ?*) ac_cv_sizeof_long_long=$ac_lo;;
16398 --'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16399 -+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
16400 - See \`config.log' for more details." >&5
16401 --echo "$as_me: error: cannot compute sizeof (long long), 77
16402 -+echo "$as_me: error: cannot compute sizeof (long long)
16403 - See \`config.log' for more details." >&2;}
16404 -- { (exit 1); exit 1; }; } ;;
16405 -+ { (exit 77); exit 77; }; } ;;
16406 - esac
16407 - else
16408 -- if test "$cross_compiling" = yes; then
16409 -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16410 --See \`config.log' for more details." >&5
16411 --echo "$as_me: error: cannot run test program while cross compiling
16412 --See \`config.log' for more details." >&2;}
16413 -- { (exit 1); exit 1; }; }
16414 --else
16415 - cat >conftest.$ac_ext <<_ACEOF
16416 - /* confdefs.h. */
16417 - _ACEOF
16418 -@@ -15646,8 +18544,9 @@
16419 - cat >>conftest.$ac_ext <<_ACEOF
16420 - /* end confdefs.h. */
16421 - $ac_includes_default
16422 --long longval () { return (long) (sizeof (long long)); }
16423 --unsigned long ulongval () { return (long) (sizeof (long long)); }
16424 -+ typedef long long ac__type_sizeof_;
16425 -+static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
16426 -+static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
16427 - #include <stdio.h>
16428 - #include <stdlib.h>
16429 - int
16430 -@@ -15656,35 +18555,44 @@
16431 -
16432 - FILE *f = fopen ("conftest.val", "w");
16433 - if (! f)
16434 -- exit (1);
16435 -- if (((long) (sizeof (long long))) < 0)
16436 -+ return 1;
16437 -+ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
16438 - {
16439 -- long i = longval ();
16440 -- if (i != ((long) (sizeof (long long))))
16441 -- exit (1);
16442 -+ long int i = longval ();
16443 -+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
16444 -+ return 1;
16445 - fprintf (f, "%ld\n", i);
16446 - }
16447 - else
16448 - {
16449 -- unsigned long i = ulongval ();
16450 -- if (i != ((long) (sizeof (long long))))
16451 -- exit (1);
16452 -+ unsigned long int i = ulongval ();
16453 -+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
16454 -+ return 1;
16455 - fprintf (f, "%lu\n", i);
16456 - }
16457 -- exit (ferror (f) || fclose (f) != 0);
16458 -+ return ferror (f) || fclose (f) != 0;
16459 -
16460 - ;
16461 - return 0;
16462 - }
16463 - _ACEOF
16464 - rm -f conftest$ac_exeext
16465 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16466 -- (eval $ac_link) 2>&5
16467 -+if { (ac_try="$ac_link"
16468 -+case "(($ac_try" in
16469 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16470 -+ *) ac_try_echo=$ac_try;;
16471 -+esac
16472 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16473 -+ (eval "$ac_link") 2>&5
16474 - ac_status=$?
16475 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16476 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16477 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16478 -- (eval $ac_try) 2>&5
16479 -+ { (case "(($ac_try" in
16480 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16481 -+ *) ac_try_echo=$ac_try;;
16482 -+esac
16483 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16484 -+ (eval "$ac_try") 2>&5
16485 - ac_status=$?
16486 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 - (exit $ac_status); }; }; then
16488 -@@ -15695,29 +18603,28 @@
16489 - sed 's/^/| /' conftest.$ac_ext >&5
16490 -
16491 - ( exit $ac_status )
16492 --{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
16493 -+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
16494 - See \`config.log' for more details." >&5
16495 --echo "$as_me: error: cannot compute sizeof (long long), 77
16496 -+echo "$as_me: error: cannot compute sizeof (long long)
16497 - See \`config.log' for more details." >&2;}
16498 -- { (exit 1); exit 1; }; }
16499 --fi
16500 --rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16501 -+ { (exit 77); exit 77; }; }
16502 - fi
16503 -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16504 - fi
16505 - rm -f conftest.val
16506 - else
16507 - ac_cv_sizeof_long_long=0
16508 - fi
16509 - fi
16510 --echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16511 --echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
16512 -+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
16513 -+echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
16514 - cat >>confdefs.h <<_ACEOF
16515 - #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
16516 - _ACEOF
16517 -
16518 -
16519 -- echo "$as_me:$LINENO: checking for short" >&5
16520 --echo $ECHO_N "checking for short... $ECHO_C" >&6
16521 -+ { echo "$as_me:$LINENO: checking for short" >&5
16522 -+echo $ECHO_N "checking for short... $ECHO_C" >&6; }
16523 - if test "${ac_cv_type_short+set}" = set; then
16524 - echo $ECHO_N "(cached) $ECHO_C" >&6
16525 - else
16526 -@@ -15728,36 +18635,49 @@
16527 - cat >>conftest.$ac_ext <<_ACEOF
16528 - /* end confdefs.h. */
16529 - $ac_includes_default
16530 -+typedef short ac__type_new_;
16531 - int
16532 - main ()
16533 - {
16534 --if ((short *) 0)
16535 -+if ((ac__type_new_ *) 0)
16536 - return 0;
16537 --if (sizeof (short))
16538 -+if (sizeof (ac__type_new_))
16539 - return 0;
16540 - ;
16541 - return 0;
16542 - }
16543 - _ACEOF
16544 - rm -f conftest.$ac_objext
16545 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16546 -- (eval $ac_compile) 2>conftest.er1
16547 -+if { (ac_try="$ac_compile"
16548 -+case "(($ac_try" in
16549 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16550 -+ *) ac_try_echo=$ac_try;;
16551 -+esac
16552 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16553 -+ (eval "$ac_compile") 2>conftest.er1
16554 - ac_status=$?
16555 - grep -v '^ *+' conftest.er1 >conftest.err
16556 - rm -f conftest.er1
16557 - cat conftest.err >&5
16558 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 - (exit $ac_status); } &&
16560 -- { ac_try='test -z "$ac_cxx_werror_flag"
16561 -- || test ! -s conftest.err'
16562 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16563 -- (eval $ac_try) 2>&5
16564 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16565 -+ { (case "(($ac_try" in
16566 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16567 -+ *) ac_try_echo=$ac_try;;
16568 -+esac
16569 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16570 -+ (eval "$ac_try") 2>&5
16571 - ac_status=$?
16572 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 - (exit $ac_status); }; } &&
16574 - { ac_try='test -s conftest.$ac_objext'
16575 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16576 -- (eval $ac_try) 2>&5
16577 -+ { (case "(($ac_try" in
16578 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16579 -+ *) ac_try_echo=$ac_try;;
16580 -+esac
16581 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16582 -+ (eval "$ac_try") 2>&5
16583 - ac_status=$?
16584 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16585 - (exit $ac_status); }; }; then
16586 -@@ -15768,18 +18688,19 @@
16587 -
16588 - ac_cv_type_short=no
16589 - fi
16590 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16591 -+
16592 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16593 - fi
16594 --echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16595 --echo "${ECHO_T}$ac_cv_type_short" >&6
16596 -+{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16597 -+echo "${ECHO_T}$ac_cv_type_short" >&6; }
16598 -
16599 --echo "$as_me:$LINENO: checking size of short" >&5
16600 --echo $ECHO_N "checking size of short... $ECHO_C" >&6
16601 -+{ echo "$as_me:$LINENO: checking size of short" >&5
16602 -+echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
16603 - if test "${ac_cv_sizeof_short+set}" = set; then
16604 - echo $ECHO_N "(cached) $ECHO_C" >&6
16605 - else
16606 - if test "$ac_cv_type_short" = yes; then
16607 -- # The cast to unsigned long works around a bug in the HP C Compiler
16608 -+ # The cast to long int works around a bug in the HP C Compiler
16609 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16610 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16611 - # This bug is HP SR number 8606223364.
16612 -@@ -15792,10 +18713,11 @@
16613 - cat >>conftest.$ac_ext <<_ACEOF
16614 - /* end confdefs.h. */
16615 - $ac_includes_default
16616 -+ typedef short ac__type_sizeof_;
16617 - int
16618 - main ()
16619 - {
16620 --static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16621 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
16622 - test_array [0] = 0
16623 -
16624 - ;
16625 -@@ -15803,24 +18725,36 @@
16626 - }
16627 - _ACEOF
16628 - rm -f conftest.$ac_objext
16629 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16630 -- (eval $ac_compile) 2>conftest.er1
16631 -+if { (ac_try="$ac_compile"
16632 -+case "(($ac_try" in
16633 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16634 -+ *) ac_try_echo=$ac_try;;
16635 -+esac
16636 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16637 -+ (eval "$ac_compile") 2>conftest.er1
16638 - ac_status=$?
16639 - grep -v '^ *+' conftest.er1 >conftest.err
16640 - rm -f conftest.er1
16641 - cat conftest.err >&5
16642 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 - (exit $ac_status); } &&
16644 -- { ac_try='test -z "$ac_cxx_werror_flag"
16645 -- || test ! -s conftest.err'
16646 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16647 -- (eval $ac_try) 2>&5
16648 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16649 -+ { (case "(($ac_try" in
16650 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16651 -+ *) ac_try_echo=$ac_try;;
16652 -+esac
16653 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16654 -+ (eval "$ac_try") 2>&5
16655 - ac_status=$?
16656 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 - (exit $ac_status); }; } &&
16658 - { ac_try='test -s conftest.$ac_objext'
16659 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16660 -- (eval $ac_try) 2>&5
16661 -+ { (case "(($ac_try" in
16662 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16663 -+ *) ac_try_echo=$ac_try;;
16664 -+esac
16665 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16666 -+ (eval "$ac_try") 2>&5
16667 - ac_status=$?
16668 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 - (exit $ac_status); }; }; then
16670 -@@ -15833,10 +18767,11 @@
16671 - cat >>conftest.$ac_ext <<_ACEOF
16672 - /* end confdefs.h. */
16673 - $ac_includes_default
16674 -+ typedef short ac__type_sizeof_;
16675 - int
16676 - main ()
16677 - {
16678 --static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16679 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16680 - test_array [0] = 0
16681 -
16682 - ;
16683 -@@ -15844,24 +18779,36 @@
16684 - }
16685 - _ACEOF
16686 - rm -f conftest.$ac_objext
16687 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16688 -- (eval $ac_compile) 2>conftest.er1
16689 -+if { (ac_try="$ac_compile"
16690 -+case "(($ac_try" in
16691 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16692 -+ *) ac_try_echo=$ac_try;;
16693 -+esac
16694 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16695 -+ (eval "$ac_compile") 2>conftest.er1
16696 - ac_status=$?
16697 - grep -v '^ *+' conftest.er1 >conftest.err
16698 - rm -f conftest.er1
16699 - cat conftest.err >&5
16700 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701 - (exit $ac_status); } &&
16702 -- { ac_try='test -z "$ac_cxx_werror_flag"
16703 -- || test ! -s conftest.err'
16704 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16705 -- (eval $ac_try) 2>&5
16706 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16707 -+ { (case "(($ac_try" in
16708 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16709 -+ *) ac_try_echo=$ac_try;;
16710 -+esac
16711 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16712 -+ (eval "$ac_try") 2>&5
16713 - ac_status=$?
16714 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16715 - (exit $ac_status); }; } &&
16716 - { ac_try='test -s conftest.$ac_objext'
16717 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16718 -- (eval $ac_try) 2>&5
16719 -+ { (case "(($ac_try" in
16720 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16721 -+ *) ac_try_echo=$ac_try;;
16722 -+esac
16723 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16724 -+ (eval "$ac_try") 2>&5
16725 - ac_status=$?
16726 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16727 - (exit $ac_status); }; }; then
16728 -@@ -15877,7 +18824,8 @@
16729 - fi
16730 - ac_mid=`expr 2 '*' $ac_mid + 1`
16731 - fi
16732 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16733 -+
16734 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16735 - done
16736 - else
16737 - echo "$as_me: failed program was:" >&5
16738 -@@ -15890,10 +18838,11 @@
16739 - cat >>conftest.$ac_ext <<_ACEOF
16740 - /* end confdefs.h. */
16741 - $ac_includes_default
16742 -+ typedef short ac__type_sizeof_;
16743 - int
16744 - main ()
16745 - {
16746 --static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16747 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
16748 - test_array [0] = 0
16749 -
16750 - ;
16751 -@@ -15901,24 +18850,36 @@
16752 - }
16753 - _ACEOF
16754 - rm -f conftest.$ac_objext
16755 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16756 -- (eval $ac_compile) 2>conftest.er1
16757 -+if { (ac_try="$ac_compile"
16758 -+case "(($ac_try" in
16759 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16760 -+ *) ac_try_echo=$ac_try;;
16761 -+esac
16762 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16763 -+ (eval "$ac_compile") 2>conftest.er1
16764 - ac_status=$?
16765 - grep -v '^ *+' conftest.er1 >conftest.err
16766 - rm -f conftest.er1
16767 - cat conftest.err >&5
16768 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 - (exit $ac_status); } &&
16770 -- { ac_try='test -z "$ac_cxx_werror_flag"
16771 -- || test ! -s conftest.err'
16772 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16773 -- (eval $ac_try) 2>&5
16774 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16775 -+ { (case "(($ac_try" in
16776 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16777 -+ *) ac_try_echo=$ac_try;;
16778 -+esac
16779 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16780 -+ (eval "$ac_try") 2>&5
16781 - ac_status=$?
16782 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 - (exit $ac_status); }; } &&
16784 - { ac_try='test -s conftest.$ac_objext'
16785 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16786 -- (eval $ac_try) 2>&5
16787 -+ { (case "(($ac_try" in
16788 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16789 -+ *) ac_try_echo=$ac_try;;
16790 -+esac
16791 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16792 -+ (eval "$ac_try") 2>&5
16793 - ac_status=$?
16794 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16795 - (exit $ac_status); }; }; then
16796 -@@ -15931,10 +18892,11 @@
16797 - cat >>conftest.$ac_ext <<_ACEOF
16798 - /* end confdefs.h. */
16799 - $ac_includes_default
16800 -+ typedef short ac__type_sizeof_;
16801 - int
16802 - main ()
16803 - {
16804 --static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
16805 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
16806 - test_array [0] = 0
16807 -
16808 - ;
16809 -@@ -15942,24 +18904,36 @@
16810 - }
16811 - _ACEOF
16812 - rm -f conftest.$ac_objext
16813 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16814 -- (eval $ac_compile) 2>conftest.er1
16815 -+if { (ac_try="$ac_compile"
16816 -+case "(($ac_try" in
16817 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16818 -+ *) ac_try_echo=$ac_try;;
16819 -+esac
16820 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16821 -+ (eval "$ac_compile") 2>conftest.er1
16822 - ac_status=$?
16823 - grep -v '^ *+' conftest.er1 >conftest.err
16824 - rm -f conftest.er1
16825 - cat conftest.err >&5
16826 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 - (exit $ac_status); } &&
16828 -- { ac_try='test -z "$ac_cxx_werror_flag"
16829 -- || test ! -s conftest.err'
16830 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16831 -- (eval $ac_try) 2>&5
16832 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16833 -+ { (case "(($ac_try" in
16834 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16835 -+ *) ac_try_echo=$ac_try;;
16836 -+esac
16837 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16838 -+ (eval "$ac_try") 2>&5
16839 - ac_status=$?
16840 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16841 - (exit $ac_status); }; } &&
16842 - { ac_try='test -s conftest.$ac_objext'
16843 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16844 -- (eval $ac_try) 2>&5
16845 -+ { (case "(($ac_try" in
16846 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16847 -+ *) ac_try_echo=$ac_try;;
16848 -+esac
16849 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16850 -+ (eval "$ac_try") 2>&5
16851 - ac_status=$?
16852 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16853 - (exit $ac_status); }; }; then
16854 -@@ -15975,7 +18949,8 @@
16855 - fi
16856 - ac_mid=`expr 2 '*' $ac_mid`
16857 - fi
16858 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16859 -+
16860 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16861 - done
16862 - else
16863 - echo "$as_me: failed program was:" >&5
16864 -@@ -15983,9 +18958,11 @@
16865 -
16866 - ac_lo= ac_hi=
16867 - fi
16868 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16869 -+
16870 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16871 - fi
16872 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16873 -+
16874 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16875 - # Binary search between lo and hi bounds.
16876 - while test "x$ac_lo" != "x$ac_hi"; do
16877 - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16878 -@@ -15996,10 +18973,11 @@
16879 - cat >>conftest.$ac_ext <<_ACEOF
16880 - /* end confdefs.h. */
16881 - $ac_includes_default
16882 -+ typedef short ac__type_sizeof_;
16883 - int
16884 - main ()
16885 - {
16886 --static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16887 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16888 - test_array [0] = 0
16889 -
16890 - ;
16891 -@@ -16007,24 +18985,36 @@
16892 - }
16893 - _ACEOF
16894 - rm -f conftest.$ac_objext
16895 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16896 -- (eval $ac_compile) 2>conftest.er1
16897 -+if { (ac_try="$ac_compile"
16898 -+case "(($ac_try" in
16899 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16900 -+ *) ac_try_echo=$ac_try;;
16901 -+esac
16902 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16903 -+ (eval "$ac_compile") 2>conftest.er1
16904 - ac_status=$?
16905 - grep -v '^ *+' conftest.er1 >conftest.err
16906 - rm -f conftest.er1
16907 - cat conftest.err >&5
16908 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16909 - (exit $ac_status); } &&
16910 -- { ac_try='test -z "$ac_cxx_werror_flag"
16911 -- || test ! -s conftest.err'
16912 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16913 -- (eval $ac_try) 2>&5
16914 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16915 -+ { (case "(($ac_try" in
16916 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16917 -+ *) ac_try_echo=$ac_try;;
16918 -+esac
16919 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16920 -+ (eval "$ac_try") 2>&5
16921 - ac_status=$?
16922 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923 - (exit $ac_status); }; } &&
16924 - { ac_try='test -s conftest.$ac_objext'
16925 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16926 -- (eval $ac_try) 2>&5
16927 -+ { (case "(($ac_try" in
16928 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16929 -+ *) ac_try_echo=$ac_try;;
16930 -+esac
16931 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16932 -+ (eval "$ac_try") 2>&5
16933 - ac_status=$?
16934 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 - (exit $ac_status); }; }; then
16936 -@@ -16035,24 +19025,18 @@
16937 -
16938 - ac_lo=`expr '(' $ac_mid ')' + 1`
16939 - fi
16940 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16941 -+
16942 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16943 - done
16944 - case $ac_lo in
16945 - ?*) ac_cv_sizeof_short=$ac_lo;;
16946 --'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
16947 -+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
16948 - See \`config.log' for more details." >&5
16949 --echo "$as_me: error: cannot compute sizeof (short), 77
16950 -+echo "$as_me: error: cannot compute sizeof (short)
16951 - See \`config.log' for more details." >&2;}
16952 -- { (exit 1); exit 1; }; } ;;
16953 -+ { (exit 77); exit 77; }; } ;;
16954 - esac
16955 - else
16956 -- if test "$cross_compiling" = yes; then
16957 -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16958 --See \`config.log' for more details." >&5
16959 --echo "$as_me: error: cannot run test program while cross compiling
16960 --See \`config.log' for more details." >&2;}
16961 -- { (exit 1); exit 1; }; }
16962 --else
16963 - cat >conftest.$ac_ext <<_ACEOF
16964 - /* confdefs.h. */
16965 - _ACEOF
16966 -@@ -16060,8 +19044,9 @@
16967 - cat >>conftest.$ac_ext <<_ACEOF
16968 - /* end confdefs.h. */
16969 - $ac_includes_default
16970 --long longval () { return (long) (sizeof (short)); }
16971 --unsigned long ulongval () { return (long) (sizeof (short)); }
16972 -+ typedef short ac__type_sizeof_;
16973 -+static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
16974 -+static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
16975 - #include <stdio.h>
16976 - #include <stdlib.h>
16977 - int
16978 -@@ -16070,35 +19055,44 @@
16979 -
16980 - FILE *f = fopen ("conftest.val", "w");
16981 - if (! f)
16982 -- exit (1);
16983 -- if (((long) (sizeof (short))) < 0)
16984 -+ return 1;
16985 -+ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
16986 - {
16987 -- long i = longval ();
16988 -- if (i != ((long) (sizeof (short))))
16989 -- exit (1);
16990 -+ long int i = longval ();
16991 -+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
16992 -+ return 1;
16993 - fprintf (f, "%ld\n", i);
16994 - }
16995 - else
16996 - {
16997 -- unsigned long i = ulongval ();
16998 -- if (i != ((long) (sizeof (short))))
16999 -- exit (1);
17000 -+ unsigned long int i = ulongval ();
17001 -+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
17002 -+ return 1;
17003 - fprintf (f, "%lu\n", i);
17004 - }
17005 -- exit (ferror (f) || fclose (f) != 0);
17006 -+ return ferror (f) || fclose (f) != 0;
17007 -
17008 - ;
17009 - return 0;
17010 - }
17011 - _ACEOF
17012 - rm -f conftest$ac_exeext
17013 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17014 -- (eval $ac_link) 2>&5
17015 -+if { (ac_try="$ac_link"
17016 -+case "(($ac_try" in
17017 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17018 -+ *) ac_try_echo=$ac_try;;
17019 -+esac
17020 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17021 -+ (eval "$ac_link") 2>&5
17022 - ac_status=$?
17023 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17025 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17026 -- (eval $ac_try) 2>&5
17027 -+ { (case "(($ac_try" in
17028 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17029 -+ *) ac_try_echo=$ac_try;;
17030 -+esac
17031 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17032 -+ (eval "$ac_try") 2>&5
17033 - ac_status=$?
17034 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17035 - (exit $ac_status); }; }; then
17036 -@@ -16109,29 +19103,28 @@
17037 - sed 's/^/| /' conftest.$ac_ext >&5
17038 -
17039 - ( exit $ac_status )
17040 --{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17041 -+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
17042 - See \`config.log' for more details." >&5
17043 --echo "$as_me: error: cannot compute sizeof (short), 77
17044 -+echo "$as_me: error: cannot compute sizeof (short)
17045 - See \`config.log' for more details." >&2;}
17046 -- { (exit 1); exit 1; }; }
17047 --fi
17048 --rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17049 -+ { (exit 77); exit 77; }; }
17050 - fi
17051 -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17052 - fi
17053 - rm -f conftest.val
17054 - else
17055 - ac_cv_sizeof_short=0
17056 - fi
17057 - fi
17058 --echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17059 --echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17060 -+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17061 -+echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
17062 - cat >>confdefs.h <<_ACEOF
17063 - #define SIZEOF_SHORT $ac_cv_sizeof_short
17064 - _ACEOF
17065 -
17066 -
17067 -- echo "$as_me:$LINENO: checking for void*" >&5
17068 --echo $ECHO_N "checking for void*... $ECHO_C" >&6
17069 -+ { echo "$as_me:$LINENO: checking for void*" >&5
17070 -+echo $ECHO_N "checking for void*... $ECHO_C" >&6; }
17071 - if test "${ac_cv_type_voidp+set}" = set; then
17072 - echo $ECHO_N "(cached) $ECHO_C" >&6
17073 - else
17074 -@@ -16142,36 +19135,49 @@
17075 - cat >>conftest.$ac_ext <<_ACEOF
17076 - /* end confdefs.h. */
17077 - $ac_includes_default
17078 -+typedef void* ac__type_new_;
17079 - int
17080 - main ()
17081 - {
17082 --if ((void* *) 0)
17083 -+if ((ac__type_new_ *) 0)
17084 - return 0;
17085 --if (sizeof (void*))
17086 -+if (sizeof (ac__type_new_))
17087 - return 0;
17088 - ;
17089 - return 0;
17090 - }
17091 - _ACEOF
17092 - rm -f conftest.$ac_objext
17093 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17094 -- (eval $ac_compile) 2>conftest.er1
17095 -+if { (ac_try="$ac_compile"
17096 -+case "(($ac_try" in
17097 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17098 -+ *) ac_try_echo=$ac_try;;
17099 -+esac
17100 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17101 -+ (eval "$ac_compile") 2>conftest.er1
17102 - ac_status=$?
17103 - grep -v '^ *+' conftest.er1 >conftest.err
17104 - rm -f conftest.er1
17105 - cat conftest.err >&5
17106 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 - (exit $ac_status); } &&
17108 -- { ac_try='test -z "$ac_cxx_werror_flag"
17109 -- || test ! -s conftest.err'
17110 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17111 -- (eval $ac_try) 2>&5
17112 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17113 -+ { (case "(($ac_try" in
17114 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17115 -+ *) ac_try_echo=$ac_try;;
17116 -+esac
17117 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17118 -+ (eval "$ac_try") 2>&5
17119 - ac_status=$?
17120 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 - (exit $ac_status); }; } &&
17122 - { ac_try='test -s conftest.$ac_objext'
17123 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17124 -- (eval $ac_try) 2>&5
17125 -+ { (case "(($ac_try" in
17126 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17127 -+ *) ac_try_echo=$ac_try;;
17128 -+esac
17129 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17130 -+ (eval "$ac_try") 2>&5
17131 - ac_status=$?
17132 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17133 - (exit $ac_status); }; }; then
17134 -@@ -16182,18 +19188,19 @@
17135 -
17136 - ac_cv_type_voidp=no
17137 - fi
17138 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17139 -+
17140 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17141 - fi
17142 --echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
17143 --echo "${ECHO_T}$ac_cv_type_voidp" >&6
17144 -+{ echo "$as_me:$LINENO: result: $ac_cv_type_voidp" >&5
17145 -+echo "${ECHO_T}$ac_cv_type_voidp" >&6; }
17146 -
17147 --echo "$as_me:$LINENO: checking size of void*" >&5
17148 --echo $ECHO_N "checking size of void*... $ECHO_C" >&6
17149 -+{ echo "$as_me:$LINENO: checking size of void*" >&5
17150 -+echo $ECHO_N "checking size of void*... $ECHO_C" >&6; }
17151 - if test "${ac_cv_sizeof_voidp+set}" = set; then
17152 - echo $ECHO_N "(cached) $ECHO_C" >&6
17153 - else
17154 - if test "$ac_cv_type_voidp" = yes; then
17155 -- # The cast to unsigned long works around a bug in the HP C Compiler
17156 -+ # The cast to long int works around a bug in the HP C Compiler
17157 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17158 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17159 - # This bug is HP SR number 8606223364.
17160 -@@ -16206,10 +19213,11 @@
17161 - cat >>conftest.$ac_ext <<_ACEOF
17162 - /* end confdefs.h. */
17163 - $ac_includes_default
17164 -+ typedef void* ac__type_sizeof_;
17165 - int
17166 - main ()
17167 - {
17168 --static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= 0)];
17169 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
17170 - test_array [0] = 0
17171 -
17172 - ;
17173 -@@ -16217,24 +19225,36 @@
17174 - }
17175 - _ACEOF
17176 - rm -f conftest.$ac_objext
17177 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17178 -- (eval $ac_compile) 2>conftest.er1
17179 -+if { (ac_try="$ac_compile"
17180 -+case "(($ac_try" in
17181 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17182 -+ *) ac_try_echo=$ac_try;;
17183 -+esac
17184 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17185 -+ (eval "$ac_compile") 2>conftest.er1
17186 - ac_status=$?
17187 - grep -v '^ *+' conftest.er1 >conftest.err
17188 - rm -f conftest.er1
17189 - cat conftest.err >&5
17190 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17191 - (exit $ac_status); } &&
17192 -- { ac_try='test -z "$ac_cxx_werror_flag"
17193 -- || test ! -s conftest.err'
17194 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17195 -- (eval $ac_try) 2>&5
17196 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17197 -+ { (case "(($ac_try" in
17198 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17199 -+ *) ac_try_echo=$ac_try;;
17200 -+esac
17201 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17202 -+ (eval "$ac_try") 2>&5
17203 - ac_status=$?
17204 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 - (exit $ac_status); }; } &&
17206 - { ac_try='test -s conftest.$ac_objext'
17207 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17208 -- (eval $ac_try) 2>&5
17209 -+ { (case "(($ac_try" in
17210 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17211 -+ *) ac_try_echo=$ac_try;;
17212 -+esac
17213 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17214 -+ (eval "$ac_try") 2>&5
17215 - ac_status=$?
17216 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 - (exit $ac_status); }; }; then
17218 -@@ -16247,10 +19267,11 @@
17219 - cat >>conftest.$ac_ext <<_ACEOF
17220 - /* end confdefs.h. */
17221 - $ac_includes_default
17222 -+ typedef void* ac__type_sizeof_;
17223 - int
17224 - main ()
17225 - {
17226 --static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
17227 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17228 - test_array [0] = 0
17229 -
17230 - ;
17231 -@@ -16258,24 +19279,36 @@
17232 - }
17233 - _ACEOF
17234 - rm -f conftest.$ac_objext
17235 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17236 -- (eval $ac_compile) 2>conftest.er1
17237 -+if { (ac_try="$ac_compile"
17238 -+case "(($ac_try" in
17239 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17240 -+ *) ac_try_echo=$ac_try;;
17241 -+esac
17242 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17243 -+ (eval "$ac_compile") 2>conftest.er1
17244 - ac_status=$?
17245 - grep -v '^ *+' conftest.er1 >conftest.err
17246 - rm -f conftest.er1
17247 - cat conftest.err >&5
17248 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 - (exit $ac_status); } &&
17250 -- { ac_try='test -z "$ac_cxx_werror_flag"
17251 -- || test ! -s conftest.err'
17252 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17253 -- (eval $ac_try) 2>&5
17254 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17255 -+ { (case "(($ac_try" in
17256 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17257 -+ *) ac_try_echo=$ac_try;;
17258 -+esac
17259 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17260 -+ (eval "$ac_try") 2>&5
17261 - ac_status=$?
17262 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 - (exit $ac_status); }; } &&
17264 - { ac_try='test -s conftest.$ac_objext'
17265 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17266 -- (eval $ac_try) 2>&5
17267 -+ { (case "(($ac_try" in
17268 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17269 -+ *) ac_try_echo=$ac_try;;
17270 -+esac
17271 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17272 -+ (eval "$ac_try") 2>&5
17273 - ac_status=$?
17274 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 - (exit $ac_status); }; }; then
17276 -@@ -16291,7 +19324,8 @@
17277 - fi
17278 - ac_mid=`expr 2 '*' $ac_mid + 1`
17279 - fi
17280 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17281 -+
17282 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17283 - done
17284 - else
17285 - echo "$as_me: failed program was:" >&5
17286 -@@ -16304,10 +19338,11 @@
17287 - cat >>conftest.$ac_ext <<_ACEOF
17288 - /* end confdefs.h. */
17289 - $ac_includes_default
17290 -+ typedef void* ac__type_sizeof_;
17291 - int
17292 - main ()
17293 - {
17294 --static int test_array [1 - 2 * !(((long) (sizeof (void*))) < 0)];
17295 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
17296 - test_array [0] = 0
17297 -
17298 - ;
17299 -@@ -16315,24 +19350,36 @@
17300 - }
17301 - _ACEOF
17302 - rm -f conftest.$ac_objext
17303 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17304 -- (eval $ac_compile) 2>conftest.er1
17305 -+if { (ac_try="$ac_compile"
17306 -+case "(($ac_try" in
17307 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17308 -+ *) ac_try_echo=$ac_try;;
17309 -+esac
17310 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17311 -+ (eval "$ac_compile") 2>conftest.er1
17312 - ac_status=$?
17313 - grep -v '^ *+' conftest.er1 >conftest.err
17314 - rm -f conftest.er1
17315 - cat conftest.err >&5
17316 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17317 - (exit $ac_status); } &&
17318 -- { ac_try='test -z "$ac_cxx_werror_flag"
17319 -- || test ! -s conftest.err'
17320 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17321 -- (eval $ac_try) 2>&5
17322 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17323 -+ { (case "(($ac_try" in
17324 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17325 -+ *) ac_try_echo=$ac_try;;
17326 -+esac
17327 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17328 -+ (eval "$ac_try") 2>&5
17329 - ac_status=$?
17330 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17331 - (exit $ac_status); }; } &&
17332 - { ac_try='test -s conftest.$ac_objext'
17333 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17334 -- (eval $ac_try) 2>&5
17335 -+ { (case "(($ac_try" in
17336 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17337 -+ *) ac_try_echo=$ac_try;;
17338 -+esac
17339 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17340 -+ (eval "$ac_try") 2>&5
17341 - ac_status=$?
17342 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 - (exit $ac_status); }; }; then
17344 -@@ -16345,10 +19392,11 @@
17345 - cat >>conftest.$ac_ext <<_ACEOF
17346 - /* end confdefs.h. */
17347 - $ac_includes_default
17348 -+ typedef void* ac__type_sizeof_;
17349 - int
17350 - main ()
17351 - {
17352 --static int test_array [1 - 2 * !(((long) (sizeof (void*))) >= $ac_mid)];
17353 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
17354 - test_array [0] = 0
17355 -
17356 - ;
17357 -@@ -16356,24 +19404,36 @@
17358 - }
17359 - _ACEOF
17360 - rm -f conftest.$ac_objext
17361 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17362 -- (eval $ac_compile) 2>conftest.er1
17363 -+if { (ac_try="$ac_compile"
17364 -+case "(($ac_try" in
17365 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17366 -+ *) ac_try_echo=$ac_try;;
17367 -+esac
17368 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17369 -+ (eval "$ac_compile") 2>conftest.er1
17370 - ac_status=$?
17371 - grep -v '^ *+' conftest.er1 >conftest.err
17372 - rm -f conftest.er1
17373 - cat conftest.err >&5
17374 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17375 - (exit $ac_status); } &&
17376 -- { ac_try='test -z "$ac_cxx_werror_flag"
17377 -- || test ! -s conftest.err'
17378 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17379 -- (eval $ac_try) 2>&5
17380 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17381 -+ { (case "(($ac_try" in
17382 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17383 -+ *) ac_try_echo=$ac_try;;
17384 -+esac
17385 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17386 -+ (eval "$ac_try") 2>&5
17387 - ac_status=$?
17388 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17389 - (exit $ac_status); }; } &&
17390 - { ac_try='test -s conftest.$ac_objext'
17391 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17392 -- (eval $ac_try) 2>&5
17393 -+ { (case "(($ac_try" in
17394 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17395 -+ *) ac_try_echo=$ac_try;;
17396 -+esac
17397 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17398 -+ (eval "$ac_try") 2>&5
17399 - ac_status=$?
17400 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 - (exit $ac_status); }; }; then
17402 -@@ -16389,7 +19449,8 @@
17403 - fi
17404 - ac_mid=`expr 2 '*' $ac_mid`
17405 - fi
17406 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17407 -+
17408 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17409 - done
17410 - else
17411 - echo "$as_me: failed program was:" >&5
17412 -@@ -16397,9 +19458,11 @@
17413 -
17414 - ac_lo= ac_hi=
17415 - fi
17416 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17417 -+
17418 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17419 - fi
17420 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17421 -+
17422 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17423 - # Binary search between lo and hi bounds.
17424 - while test "x$ac_lo" != "x$ac_hi"; do
17425 - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17426 -@@ -16410,10 +19473,11 @@
17427 - cat >>conftest.$ac_ext <<_ACEOF
17428 - /* end confdefs.h. */
17429 - $ac_includes_default
17430 -+ typedef void* ac__type_sizeof_;
17431 - int
17432 - main ()
17433 - {
17434 --static int test_array [1 - 2 * !(((long) (sizeof (void*))) <= $ac_mid)];
17435 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17436 - test_array [0] = 0
17437 -
17438 - ;
17439 -@@ -16421,24 +19485,36 @@
17440 - }
17441 - _ACEOF
17442 - rm -f conftest.$ac_objext
17443 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17444 -- (eval $ac_compile) 2>conftest.er1
17445 -+if { (ac_try="$ac_compile"
17446 -+case "(($ac_try" in
17447 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17448 -+ *) ac_try_echo=$ac_try;;
17449 -+esac
17450 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17451 -+ (eval "$ac_compile") 2>conftest.er1
17452 - ac_status=$?
17453 - grep -v '^ *+' conftest.er1 >conftest.err
17454 - rm -f conftest.er1
17455 - cat conftest.err >&5
17456 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 - (exit $ac_status); } &&
17458 -- { ac_try='test -z "$ac_cxx_werror_flag"
17459 -- || test ! -s conftest.err'
17460 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17461 -- (eval $ac_try) 2>&5
17462 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17463 -+ { (case "(($ac_try" in
17464 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17465 -+ *) ac_try_echo=$ac_try;;
17466 -+esac
17467 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17468 -+ (eval "$ac_try") 2>&5
17469 - ac_status=$?
17470 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17471 - (exit $ac_status); }; } &&
17472 - { ac_try='test -s conftest.$ac_objext'
17473 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17474 -- (eval $ac_try) 2>&5
17475 -+ { (case "(($ac_try" in
17476 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17477 -+ *) ac_try_echo=$ac_try;;
17478 -+esac
17479 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17480 -+ (eval "$ac_try") 2>&5
17481 - ac_status=$?
17482 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17483 - (exit $ac_status); }; }; then
17484 -@@ -16449,24 +19525,18 @@
17485 -
17486 - ac_lo=`expr '(' $ac_mid ')' + 1`
17487 - fi
17488 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17489 -+
17490 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17491 - done
17492 - case $ac_lo in
17493 - ?*) ac_cv_sizeof_voidp=$ac_lo;;
17494 --'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
17495 -+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
17496 - See \`config.log' for more details." >&5
17497 --echo "$as_me: error: cannot compute sizeof (void*), 77
17498 -+echo "$as_me: error: cannot compute sizeof (void*)
17499 - See \`config.log' for more details." >&2;}
17500 -- { (exit 1); exit 1; }; } ;;
17501 -+ { (exit 77); exit 77; }; } ;;
17502 - esac
17503 - else
17504 -- if test "$cross_compiling" = yes; then
17505 -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17506 --See \`config.log' for more details." >&5
17507 --echo "$as_me: error: cannot run test program while cross compiling
17508 --See \`config.log' for more details." >&2;}
17509 -- { (exit 1); exit 1; }; }
17510 --else
17511 - cat >conftest.$ac_ext <<_ACEOF
17512 - /* confdefs.h. */
17513 - _ACEOF
17514 -@@ -16474,8 +19544,9 @@
17515 - cat >>conftest.$ac_ext <<_ACEOF
17516 - /* end confdefs.h. */
17517 - $ac_includes_default
17518 --long longval () { return (long) (sizeof (void*)); }
17519 --unsigned long ulongval () { return (long) (sizeof (void*)); }
17520 -+ typedef void* ac__type_sizeof_;
17521 -+static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
17522 -+static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
17523 - #include <stdio.h>
17524 - #include <stdlib.h>
17525 - int
17526 -@@ -16484,35 +19555,44 @@
17527 -
17528 - FILE *f = fopen ("conftest.val", "w");
17529 - if (! f)
17530 -- exit (1);
17531 -- if (((long) (sizeof (void*))) < 0)
17532 -+ return 1;
17533 -+ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
17534 - {
17535 -- long i = longval ();
17536 -- if (i != ((long) (sizeof (void*))))
17537 -- exit (1);
17538 -+ long int i = longval ();
17539 -+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
17540 -+ return 1;
17541 - fprintf (f, "%ld\n", i);
17542 - }
17543 - else
17544 - {
17545 -- unsigned long i = ulongval ();
17546 -- if (i != ((long) (sizeof (void*))))
17547 -- exit (1);
17548 -+ unsigned long int i = ulongval ();
17549 -+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
17550 -+ return 1;
17551 - fprintf (f, "%lu\n", i);
17552 - }
17553 -- exit (ferror (f) || fclose (f) != 0);
17554 -+ return ferror (f) || fclose (f) != 0;
17555 -
17556 - ;
17557 - return 0;
17558 - }
17559 - _ACEOF
17560 - rm -f conftest$ac_exeext
17561 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17562 -- (eval $ac_link) 2>&5
17563 -+if { (ac_try="$ac_link"
17564 -+case "(($ac_try" in
17565 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17566 -+ *) ac_try_echo=$ac_try;;
17567 -+esac
17568 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17569 -+ (eval "$ac_link") 2>&5
17570 - ac_status=$?
17571 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17573 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17574 -- (eval $ac_try) 2>&5
17575 -+ { (case "(($ac_try" in
17576 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17577 -+ *) ac_try_echo=$ac_try;;
17578 -+esac
17579 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17580 -+ (eval "$ac_try") 2>&5
17581 - ac_status=$?
17582 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583 - (exit $ac_status); }; }; then
17584 -@@ -16523,29 +19603,28 @@
17585 - sed 's/^/| /' conftest.$ac_ext >&5
17586 -
17587 - ( exit $ac_status )
17588 --{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void*), 77
17589 -+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void*)
17590 - See \`config.log' for more details." >&5
17591 --echo "$as_me: error: cannot compute sizeof (void*), 77
17592 -+echo "$as_me: error: cannot compute sizeof (void*)
17593 - See \`config.log' for more details." >&2;}
17594 -- { (exit 1); exit 1; }; }
17595 --fi
17596 --rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17597 -+ { (exit 77); exit 77; }; }
17598 - fi
17599 -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17600 - fi
17601 - rm -f conftest.val
17602 - else
17603 - ac_cv_sizeof_voidp=0
17604 - fi
17605 - fi
17606 --echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
17607 --echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6
17608 -+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5
17609 -+echo "${ECHO_T}$ac_cv_sizeof_voidp" >&6; }
17610 - cat >>confdefs.h <<_ACEOF
17611 - #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
17612 - _ACEOF
17613 -
17614 -
17615 -- echo "$as_me:$LINENO: checking for __int64" >&5
17616 --echo $ECHO_N "checking for __int64... $ECHO_C" >&6
17617 -+ { echo "$as_me:$LINENO: checking for __int64" >&5
17618 -+echo $ECHO_N "checking for __int64... $ECHO_C" >&6; }
17619 - if test "${ac_cv_type___int64+set}" = set; then
17620 - echo $ECHO_N "(cached) $ECHO_C" >&6
17621 - else
17622 -@@ -16556,36 +19635,49 @@
17623 - cat >>conftest.$ac_ext <<_ACEOF
17624 - /* end confdefs.h. */
17625 - $ac_includes_default
17626 -+typedef __int64 ac__type_new_;
17627 - int
17628 - main ()
17629 - {
17630 --if ((__int64 *) 0)
17631 -+if ((ac__type_new_ *) 0)
17632 - return 0;
17633 --if (sizeof (__int64))
17634 -+if (sizeof (ac__type_new_))
17635 - return 0;
17636 - ;
17637 - return 0;
17638 - }
17639 - _ACEOF
17640 - rm -f conftest.$ac_objext
17641 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17642 -- (eval $ac_compile) 2>conftest.er1
17643 -+if { (ac_try="$ac_compile"
17644 -+case "(($ac_try" in
17645 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17646 -+ *) ac_try_echo=$ac_try;;
17647 -+esac
17648 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17649 -+ (eval "$ac_compile") 2>conftest.er1
17650 - ac_status=$?
17651 - grep -v '^ *+' conftest.er1 >conftest.err
17652 - rm -f conftest.er1
17653 - cat conftest.err >&5
17654 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17655 - (exit $ac_status); } &&
17656 -- { ac_try='test -z "$ac_cxx_werror_flag"
17657 -- || test ! -s conftest.err'
17658 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17659 -- (eval $ac_try) 2>&5
17660 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17661 -+ { (case "(($ac_try" in
17662 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17663 -+ *) ac_try_echo=$ac_try;;
17664 -+esac
17665 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17666 -+ (eval "$ac_try") 2>&5
17667 - ac_status=$?
17668 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669 - (exit $ac_status); }; } &&
17670 - { ac_try='test -s conftest.$ac_objext'
17671 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17672 -- (eval $ac_try) 2>&5
17673 -+ { (case "(($ac_try" in
17674 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17675 -+ *) ac_try_echo=$ac_try;;
17676 -+esac
17677 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17678 -+ (eval "$ac_try") 2>&5
17679 - ac_status=$?
17680 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681 - (exit $ac_status); }; }; then
17682 -@@ -16596,18 +19688,19 @@
17683 -
17684 - ac_cv_type___int64=no
17685 - fi
17686 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17687 -+
17688 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17689 - fi
17690 --echo "$as_me:$LINENO: result: $ac_cv_type___int64" >&5
17691 --echo "${ECHO_T}$ac_cv_type___int64" >&6
17692 -+{ echo "$as_me:$LINENO: result: $ac_cv_type___int64" >&5
17693 -+echo "${ECHO_T}$ac_cv_type___int64" >&6; }
17694 -
17695 --echo "$as_me:$LINENO: checking size of __int64" >&5
17696 --echo $ECHO_N "checking size of __int64... $ECHO_C" >&6
17697 -+{ echo "$as_me:$LINENO: checking size of __int64" >&5
17698 -+echo $ECHO_N "checking size of __int64... $ECHO_C" >&6; }
17699 - if test "${ac_cv_sizeof___int64+set}" = set; then
17700 - echo $ECHO_N "(cached) $ECHO_C" >&6
17701 - else
17702 - if test "$ac_cv_type___int64" = yes; then
17703 -- # The cast to unsigned long works around a bug in the HP C Compiler
17704 -+ # The cast to long int works around a bug in the HP C Compiler
17705 - # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17706 - # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17707 - # This bug is HP SR number 8606223364.
17708 -@@ -16620,10 +19713,11 @@
17709 - cat >>conftest.$ac_ext <<_ACEOF
17710 - /* end confdefs.h. */
17711 - $ac_includes_default
17712 -+ typedef __int64 ac__type_sizeof_;
17713 - int
17714 - main ()
17715 - {
17716 --static int test_array [1 - 2 * !(((long) (sizeof (__int64))) >= 0)];
17717 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
17718 - test_array [0] = 0
17719 -
17720 - ;
17721 -@@ -16631,24 +19725,36 @@
17722 - }
17723 - _ACEOF
17724 - rm -f conftest.$ac_objext
17725 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17726 -- (eval $ac_compile) 2>conftest.er1
17727 -+if { (ac_try="$ac_compile"
17728 -+case "(($ac_try" in
17729 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17730 -+ *) ac_try_echo=$ac_try;;
17731 -+esac
17732 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17733 -+ (eval "$ac_compile") 2>conftest.er1
17734 - ac_status=$?
17735 - grep -v '^ *+' conftest.er1 >conftest.err
17736 - rm -f conftest.er1
17737 - cat conftest.err >&5
17738 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739 - (exit $ac_status); } &&
17740 -- { ac_try='test -z "$ac_cxx_werror_flag"
17741 -- || test ! -s conftest.err'
17742 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17743 -- (eval $ac_try) 2>&5
17744 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17745 -+ { (case "(($ac_try" in
17746 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17747 -+ *) ac_try_echo=$ac_try;;
17748 -+esac
17749 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17750 -+ (eval "$ac_try") 2>&5
17751 - ac_status=$?
17752 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17753 - (exit $ac_status); }; } &&
17754 - { ac_try='test -s conftest.$ac_objext'
17755 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17756 -- (eval $ac_try) 2>&5
17757 -+ { (case "(($ac_try" in
17758 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17759 -+ *) ac_try_echo=$ac_try;;
17760 -+esac
17761 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17762 -+ (eval "$ac_try") 2>&5
17763 - ac_status=$?
17764 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 - (exit $ac_status); }; }; then
17766 -@@ -16661,10 +19767,11 @@
17767 - cat >>conftest.$ac_ext <<_ACEOF
17768 - /* end confdefs.h. */
17769 - $ac_includes_default
17770 -+ typedef __int64 ac__type_sizeof_;
17771 - int
17772 - main ()
17773 - {
17774 --static int test_array [1 - 2 * !(((long) (sizeof (__int64))) <= $ac_mid)];
17775 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17776 - test_array [0] = 0
17777 -
17778 - ;
17779 -@@ -16672,24 +19779,36 @@
17780 - }
17781 - _ACEOF
17782 - rm -f conftest.$ac_objext
17783 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17784 -- (eval $ac_compile) 2>conftest.er1
17785 -+if { (ac_try="$ac_compile"
17786 -+case "(($ac_try" in
17787 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17788 -+ *) ac_try_echo=$ac_try;;
17789 -+esac
17790 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17791 -+ (eval "$ac_compile") 2>conftest.er1
17792 - ac_status=$?
17793 - grep -v '^ *+' conftest.er1 >conftest.err
17794 - rm -f conftest.er1
17795 - cat conftest.err >&5
17796 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797 - (exit $ac_status); } &&
17798 -- { ac_try='test -z "$ac_cxx_werror_flag"
17799 -- || test ! -s conftest.err'
17800 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17801 -- (eval $ac_try) 2>&5
17802 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17803 -+ { (case "(($ac_try" in
17804 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17805 -+ *) ac_try_echo=$ac_try;;
17806 -+esac
17807 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17808 -+ (eval "$ac_try") 2>&5
17809 - ac_status=$?
17810 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811 - (exit $ac_status); }; } &&
17812 - { ac_try='test -s conftest.$ac_objext'
17813 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17814 -- (eval $ac_try) 2>&5
17815 -+ { (case "(($ac_try" in
17816 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17817 -+ *) ac_try_echo=$ac_try;;
17818 -+esac
17819 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17820 -+ (eval "$ac_try") 2>&5
17821 - ac_status=$?
17822 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 - (exit $ac_status); }; }; then
17824 -@@ -16705,7 +19824,8 @@
17825 - fi
17826 - ac_mid=`expr 2 '*' $ac_mid + 1`
17827 - fi
17828 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17829 -+
17830 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17831 - done
17832 - else
17833 - echo "$as_me: failed program was:" >&5
17834 -@@ -16718,10 +19838,11 @@
17835 - cat >>conftest.$ac_ext <<_ACEOF
17836 - /* end confdefs.h. */
17837 - $ac_includes_default
17838 -+ typedef __int64 ac__type_sizeof_;
17839 - int
17840 - main ()
17841 - {
17842 --static int test_array [1 - 2 * !(((long) (sizeof (__int64))) < 0)];
17843 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
17844 - test_array [0] = 0
17845 -
17846 - ;
17847 -@@ -16729,24 +19850,36 @@
17848 - }
17849 - _ACEOF
17850 - rm -f conftest.$ac_objext
17851 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17852 -- (eval $ac_compile) 2>conftest.er1
17853 -+if { (ac_try="$ac_compile"
17854 -+case "(($ac_try" in
17855 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17856 -+ *) ac_try_echo=$ac_try;;
17857 -+esac
17858 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17859 -+ (eval "$ac_compile") 2>conftest.er1
17860 - ac_status=$?
17861 - grep -v '^ *+' conftest.er1 >conftest.err
17862 - rm -f conftest.er1
17863 - cat conftest.err >&5
17864 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 - (exit $ac_status); } &&
17866 -- { ac_try='test -z "$ac_cxx_werror_flag"
17867 -- || test ! -s conftest.err'
17868 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17869 -- (eval $ac_try) 2>&5
17870 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17871 -+ { (case "(($ac_try" in
17872 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17873 -+ *) ac_try_echo=$ac_try;;
17874 -+esac
17875 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17876 -+ (eval "$ac_try") 2>&5
17877 - ac_status=$?
17878 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 - (exit $ac_status); }; } &&
17880 - { ac_try='test -s conftest.$ac_objext'
17881 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17882 -- (eval $ac_try) 2>&5
17883 -+ { (case "(($ac_try" in
17884 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17885 -+ *) ac_try_echo=$ac_try;;
17886 -+esac
17887 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17888 -+ (eval "$ac_try") 2>&5
17889 - ac_status=$?
17890 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17891 - (exit $ac_status); }; }; then
17892 -@@ -16759,10 +19892,11 @@
17893 - cat >>conftest.$ac_ext <<_ACEOF
17894 - /* end confdefs.h. */
17895 - $ac_includes_default
17896 -+ typedef __int64 ac__type_sizeof_;
17897 - int
17898 - main ()
17899 - {
17900 --static int test_array [1 - 2 * !(((long) (sizeof (__int64))) >= $ac_mid)];
17901 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
17902 - test_array [0] = 0
17903 -
17904 - ;
17905 -@@ -16770,24 +19904,36 @@
17906 - }
17907 - _ACEOF
17908 - rm -f conftest.$ac_objext
17909 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17910 -- (eval $ac_compile) 2>conftest.er1
17911 -+if { (ac_try="$ac_compile"
17912 -+case "(($ac_try" in
17913 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17914 -+ *) ac_try_echo=$ac_try;;
17915 -+esac
17916 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17917 -+ (eval "$ac_compile") 2>conftest.er1
17918 - ac_status=$?
17919 - grep -v '^ *+' conftest.er1 >conftest.err
17920 - rm -f conftest.er1
17921 - cat conftest.err >&5
17922 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 - (exit $ac_status); } &&
17924 -- { ac_try='test -z "$ac_cxx_werror_flag"
17925 -- || test ! -s conftest.err'
17926 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17927 -- (eval $ac_try) 2>&5
17928 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17929 -+ { (case "(($ac_try" in
17930 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17931 -+ *) ac_try_echo=$ac_try;;
17932 -+esac
17933 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17934 -+ (eval "$ac_try") 2>&5
17935 - ac_status=$?
17936 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 - (exit $ac_status); }; } &&
17938 - { ac_try='test -s conftest.$ac_objext'
17939 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17940 -- (eval $ac_try) 2>&5
17941 -+ { (case "(($ac_try" in
17942 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17943 -+ *) ac_try_echo=$ac_try;;
17944 -+esac
17945 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17946 -+ (eval "$ac_try") 2>&5
17947 - ac_status=$?
17948 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 - (exit $ac_status); }; }; then
17950 -@@ -16803,7 +19949,8 @@
17951 - fi
17952 - ac_mid=`expr 2 '*' $ac_mid`
17953 - fi
17954 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17955 -+
17956 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17957 - done
17958 - else
17959 - echo "$as_me: failed program was:" >&5
17960 -@@ -16811,9 +19958,11 @@
17961 -
17962 - ac_lo= ac_hi=
17963 - fi
17964 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17965 -+
17966 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17967 - fi
17968 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17969 -+
17970 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17971 - # Binary search between lo and hi bounds.
17972 - while test "x$ac_lo" != "x$ac_hi"; do
17973 - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17974 -@@ -16824,10 +19973,11 @@
17975 - cat >>conftest.$ac_ext <<_ACEOF
17976 - /* end confdefs.h. */
17977 - $ac_includes_default
17978 -+ typedef __int64 ac__type_sizeof_;
17979 - int
17980 - main ()
17981 - {
17982 --static int test_array [1 - 2 * !(((long) (sizeof (__int64))) <= $ac_mid)];
17983 -+static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17984 - test_array [0] = 0
17985 -
17986 - ;
17987 -@@ -16835,24 +19985,36 @@
17988 - }
17989 - _ACEOF
17990 - rm -f conftest.$ac_objext
17991 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17992 -- (eval $ac_compile) 2>conftest.er1
17993 -+if { (ac_try="$ac_compile"
17994 -+case "(($ac_try" in
17995 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17996 -+ *) ac_try_echo=$ac_try;;
17997 -+esac
17998 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17999 -+ (eval "$ac_compile") 2>conftest.er1
18000 - ac_status=$?
18001 - grep -v '^ *+' conftest.er1 >conftest.err
18002 - rm -f conftest.er1
18003 - cat conftest.err >&5
18004 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 - (exit $ac_status); } &&
18006 -- { ac_try='test -z "$ac_cxx_werror_flag"
18007 -- || test ! -s conftest.err'
18008 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18009 -- (eval $ac_try) 2>&5
18010 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18011 -+ { (case "(($ac_try" in
18012 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18013 -+ *) ac_try_echo=$ac_try;;
18014 -+esac
18015 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18016 -+ (eval "$ac_try") 2>&5
18017 - ac_status=$?
18018 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019 - (exit $ac_status); }; } &&
18020 - { ac_try='test -s conftest.$ac_objext'
18021 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18022 -- (eval $ac_try) 2>&5
18023 -+ { (case "(($ac_try" in
18024 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18025 -+ *) ac_try_echo=$ac_try;;
18026 -+esac
18027 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18028 -+ (eval "$ac_try") 2>&5
18029 - ac_status=$?
18030 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18031 - (exit $ac_status); }; }; then
18032 -@@ -16863,24 +20025,18 @@
18033 -
18034 - ac_lo=`expr '(' $ac_mid ')' + 1`
18035 - fi
18036 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18037 -+
18038 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18039 - done
18040 - case $ac_lo in
18041 - ?*) ac_cv_sizeof___int64=$ac_lo;;
18042 --'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64), 77
18043 -+'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64)
18044 - See \`config.log' for more details." >&5
18045 --echo "$as_me: error: cannot compute sizeof (__int64), 77
18046 -+echo "$as_me: error: cannot compute sizeof (__int64)
18047 - See \`config.log' for more details." >&2;}
18048 -- { (exit 1); exit 1; }; } ;;
18049 -+ { (exit 77); exit 77; }; } ;;
18050 - esac
18051 - else
18052 -- if test "$cross_compiling" = yes; then
18053 -- { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18054 --See \`config.log' for more details." >&5
18055 --echo "$as_me: error: cannot run test program while cross compiling
18056 --See \`config.log' for more details." >&2;}
18057 -- { (exit 1); exit 1; }; }
18058 --else
18059 - cat >conftest.$ac_ext <<_ACEOF
18060 - /* confdefs.h. */
18061 - _ACEOF
18062 -@@ -16888,8 +20044,9 @@
18063 - cat >>conftest.$ac_ext <<_ACEOF
18064 - /* end confdefs.h. */
18065 - $ac_includes_default
18066 --long longval () { return (long) (sizeof (__int64)); }
18067 --unsigned long ulongval () { return (long) (sizeof (__int64)); }
18068 -+ typedef __int64 ac__type_sizeof_;
18069 -+static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18070 -+static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18071 - #include <stdio.h>
18072 - #include <stdlib.h>
18073 - int
18074 -@@ -16898,35 +20055,44 @@
18075 -
18076 - FILE *f = fopen ("conftest.val", "w");
18077 - if (! f)
18078 -- exit (1);
18079 -- if (((long) (sizeof (__int64))) < 0)
18080 -+ return 1;
18081 -+ if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18082 - {
18083 -- long i = longval ();
18084 -- if (i != ((long) (sizeof (__int64))))
18085 -- exit (1);
18086 -+ long int i = longval ();
18087 -+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
18088 -+ return 1;
18089 - fprintf (f, "%ld\n", i);
18090 - }
18091 - else
18092 - {
18093 -- unsigned long i = ulongval ();
18094 -- if (i != ((long) (sizeof (__int64))))
18095 -- exit (1);
18096 -+ unsigned long int i = ulongval ();
18097 -+ if (i != ((long int) (sizeof (ac__type_sizeof_))))
18098 -+ return 1;
18099 - fprintf (f, "%lu\n", i);
18100 - }
18101 -- exit (ferror (f) || fclose (f) != 0);
18102 -+ return ferror (f) || fclose (f) != 0;
18103 -
18104 - ;
18105 - return 0;
18106 - }
18107 - _ACEOF
18108 - rm -f conftest$ac_exeext
18109 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18110 -- (eval $ac_link) 2>&5
18111 -+if { (ac_try="$ac_link"
18112 -+case "(($ac_try" in
18113 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18114 -+ *) ac_try_echo=$ac_try;;
18115 -+esac
18116 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18117 -+ (eval "$ac_link") 2>&5
18118 - ac_status=$?
18119 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18121 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18122 -- (eval $ac_try) 2>&5
18123 -+ { (case "(($ac_try" in
18124 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18125 -+ *) ac_try_echo=$ac_try;;
18126 -+esac
18127 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18128 -+ (eval "$ac_try") 2>&5
18129 - ac_status=$?
18130 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18131 - (exit $ac_status); }; }; then
18132 -@@ -16937,30 +20103,29 @@
18133 - sed 's/^/| /' conftest.$ac_ext >&5
18134 -
18135 - ( exit $ac_status )
18136 --{ { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64), 77
18137 -+{ { echo "$as_me:$LINENO: error: cannot compute sizeof (__int64)
18138 - See \`config.log' for more details." >&5
18139 --echo "$as_me: error: cannot compute sizeof (__int64), 77
18140 -+echo "$as_me: error: cannot compute sizeof (__int64)
18141 - See \`config.log' for more details." >&2;}
18142 -- { (exit 1); exit 1; }; }
18143 --fi
18144 --rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18145 -+ { (exit 77); exit 77; }; }
18146 - fi
18147 -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18148 - fi
18149 - rm -f conftest.val
18150 - else
18151 - ac_cv_sizeof___int64=0
18152 - fi
18153 - fi
18154 --echo "$as_me:$LINENO: result: $ac_cv_sizeof___int64" >&5
18155 --echo "${ECHO_T}$ac_cv_sizeof___int64" >&6
18156 -+{ echo "$as_me:$LINENO: result: $ac_cv_sizeof___int64" >&5
18157 -+echo "${ECHO_T}$ac_cv_sizeof___int64" >&6; }
18158 - cat >>confdefs.h <<_ACEOF
18159 - #define SIZEOF___INT64 $ac_cv_sizeof___int64
18160 - _ACEOF
18161 -
18162 -
18163 - fi
18164 --echo "$as_me:$LINENO: checking for intptr_t" >&5
18165 --echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
18166 -+{ echo "$as_me:$LINENO: checking for intptr_t" >&5
18167 -+echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6; }
18168 - if test "${ac_cv_type_intptr_t+set}" = set; then
18169 - echo $ECHO_N "(cached) $ECHO_C" >&6
18170 - else
18171 -@@ -16971,36 +20136,49 @@
18172 - cat >>conftest.$ac_ext <<_ACEOF
18173 - /* end confdefs.h. */
18174 - $ac_includes_default
18175 -+typedef intptr_t ac__type_new_;
18176 - int
18177 - main ()
18178 - {
18179 --if ((intptr_t *) 0)
18180 -+if ((ac__type_new_ *) 0)
18181 - return 0;
18182 --if (sizeof (intptr_t))
18183 -+if (sizeof (ac__type_new_))
18184 - return 0;
18185 - ;
18186 - return 0;
18187 - }
18188 - _ACEOF
18189 - rm -f conftest.$ac_objext
18190 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18191 -- (eval $ac_compile) 2>conftest.er1
18192 -+if { (ac_try="$ac_compile"
18193 -+case "(($ac_try" in
18194 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18195 -+ *) ac_try_echo=$ac_try;;
18196 -+esac
18197 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18198 -+ (eval "$ac_compile") 2>conftest.er1
18199 - ac_status=$?
18200 - grep -v '^ *+' conftest.er1 >conftest.err
18201 - rm -f conftest.er1
18202 - cat conftest.err >&5
18203 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204 - (exit $ac_status); } &&
18205 -- { ac_try='test -z "$ac_cxx_werror_flag"
18206 -- || test ! -s conftest.err'
18207 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18208 -- (eval $ac_try) 2>&5
18209 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18210 -+ { (case "(($ac_try" in
18211 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18212 -+ *) ac_try_echo=$ac_try;;
18213 -+esac
18214 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18215 -+ (eval "$ac_try") 2>&5
18216 - ac_status=$?
18217 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 - (exit $ac_status); }; } &&
18219 - { ac_try='test -s conftest.$ac_objext'
18220 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18221 -- (eval $ac_try) 2>&5
18222 -+ { (case "(($ac_try" in
18223 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18224 -+ *) ac_try_echo=$ac_try;;
18225 -+esac
18226 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18227 -+ (eval "$ac_try") 2>&5
18228 - ac_status=$?
18229 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 - (exit $ac_status); }; }; then
18231 -@@ -17011,10 +20189,11 @@
18232 -
18233 - ac_cv_type_intptr_t=no
18234 - fi
18235 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18236 -+
18237 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18238 - fi
18239 --echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
18240 --echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
18241 -+{ echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
18242 -+echo "${ECHO_T}$ac_cv_type_intptr_t" >&6; }
18243 - if test $ac_cv_type_intptr_t = yes; then
18244 -
18245 - cat >>confdefs.h <<_ACEOF
18246 -@@ -17023,8 +20202,8 @@
18247 -
18248 -
18249 - fi
18250 --echo "$as_me:$LINENO: checking for uintptr_t" >&5
18251 --echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
18252 -+{ echo "$as_me:$LINENO: checking for uintptr_t" >&5
18253 -+echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6; }
18254 - if test "${ac_cv_type_uintptr_t+set}" = set; then
18255 - echo $ECHO_N "(cached) $ECHO_C" >&6
18256 - else
18257 -@@ -17035,36 +20214,49 @@
18258 - cat >>conftest.$ac_ext <<_ACEOF
18259 - /* end confdefs.h. */
18260 - $ac_includes_default
18261 -+typedef uintptr_t ac__type_new_;
18262 - int
18263 - main ()
18264 - {
18265 --if ((uintptr_t *) 0)
18266 -+if ((ac__type_new_ *) 0)
18267 - return 0;
18268 --if (sizeof (uintptr_t))
18269 -+if (sizeof (ac__type_new_))
18270 - return 0;
18271 - ;
18272 - return 0;
18273 - }
18274 - _ACEOF
18275 - rm -f conftest.$ac_objext
18276 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18277 -- (eval $ac_compile) 2>conftest.er1
18278 -+if { (ac_try="$ac_compile"
18279 -+case "(($ac_try" in
18280 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18281 -+ *) ac_try_echo=$ac_try;;
18282 -+esac
18283 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18284 -+ (eval "$ac_compile") 2>conftest.er1
18285 - ac_status=$?
18286 - grep -v '^ *+' conftest.er1 >conftest.err
18287 - rm -f conftest.er1
18288 - cat conftest.err >&5
18289 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18290 - (exit $ac_status); } &&
18291 -- { ac_try='test -z "$ac_cxx_werror_flag"
18292 -- || test ! -s conftest.err'
18293 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18294 -- (eval $ac_try) 2>&5
18295 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18296 -+ { (case "(($ac_try" in
18297 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18298 -+ *) ac_try_echo=$ac_try;;
18299 -+esac
18300 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18301 -+ (eval "$ac_try") 2>&5
18302 - ac_status=$?
18303 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18304 - (exit $ac_status); }; } &&
18305 - { ac_try='test -s conftest.$ac_objext'
18306 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18307 -- (eval $ac_try) 2>&5
18308 -+ { (case "(($ac_try" in
18309 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18310 -+ *) ac_try_echo=$ac_try;;
18311 -+esac
18312 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18313 -+ (eval "$ac_try") 2>&5
18314 - ac_status=$?
18315 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316 - (exit $ac_status); }; }; then
18317 -@@ -17075,10 +20267,11 @@
18318 -
18319 - ac_cv_type_uintptr_t=no
18320 - fi
18321 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18322 -+
18323 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18324 - fi
18325 --echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
18326 --echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
18327 -+{ echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
18328 -+echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6; }
18329 - if test $ac_cv_type_uintptr_t = yes; then
18330 -
18331 - cat >>confdefs.h <<_ACEOF
18332 -@@ -17089,8 +20282,8 @@
18333 - fi
18334 -
18335 -
18336 --echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5
18337 --echo $ECHO_N "checking for struct sockaddr_in.sin_len... $ECHO_C" >&6
18338 -+{ echo "$as_me:$LINENO: checking for struct sockaddr_in.sin_len" >&5
18339 -+echo $ECHO_N "checking for struct sockaddr_in.sin_len... $ECHO_C" >&6; }
18340 - if test "${ac_cv_member_struct_sockaddr_in_sin_len+set}" = set; then
18341 - echo $ECHO_N "(cached) $ECHO_C" >&6
18342 - else
18343 -@@ -17114,24 +20307,36 @@
18344 - }
18345 - _ACEOF
18346 - rm -f conftest.$ac_objext
18347 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18348 -- (eval $ac_compile) 2>conftest.er1
18349 -+if { (ac_try="$ac_compile"
18350 -+case "(($ac_try" in
18351 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18352 -+ *) ac_try_echo=$ac_try;;
18353 -+esac
18354 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18355 -+ (eval "$ac_compile") 2>conftest.er1
18356 - ac_status=$?
18357 - grep -v '^ *+' conftest.er1 >conftest.err
18358 - rm -f conftest.er1
18359 - cat conftest.err >&5
18360 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 - (exit $ac_status); } &&
18362 -- { ac_try='test -z "$ac_cxx_werror_flag"
18363 -- || test ! -s conftest.err'
18364 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18365 -- (eval $ac_try) 2>&5
18366 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18367 -+ { (case "(($ac_try" in
18368 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18369 -+ *) ac_try_echo=$ac_try;;
18370 -+esac
18371 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18372 -+ (eval "$ac_try") 2>&5
18373 - ac_status=$?
18374 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18375 - (exit $ac_status); }; } &&
18376 - { ac_try='test -s conftest.$ac_objext'
18377 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18378 -- (eval $ac_try) 2>&5
18379 -+ { (case "(($ac_try" in
18380 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18381 -+ *) ac_try_echo=$ac_try;;
18382 -+esac
18383 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18384 -+ (eval "$ac_try") 2>&5
18385 - ac_status=$?
18386 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18387 - (exit $ac_status); }; }; then
18388 -@@ -17160,24 +20365,36 @@
18389 - }
18390 - _ACEOF
18391 - rm -f conftest.$ac_objext
18392 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18393 -- (eval $ac_compile) 2>conftest.er1
18394 -+if { (ac_try="$ac_compile"
18395 -+case "(($ac_try" in
18396 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18397 -+ *) ac_try_echo=$ac_try;;
18398 -+esac
18399 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18400 -+ (eval "$ac_compile") 2>conftest.er1
18401 - ac_status=$?
18402 - grep -v '^ *+' conftest.er1 >conftest.err
18403 - rm -f conftest.er1
18404 - cat conftest.err >&5
18405 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 - (exit $ac_status); } &&
18407 -- { ac_try='test -z "$ac_cxx_werror_flag"
18408 -- || test ! -s conftest.err'
18409 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18410 -- (eval $ac_try) 2>&5
18411 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18412 -+ { (case "(($ac_try" in
18413 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18414 -+ *) ac_try_echo=$ac_try;;
18415 -+esac
18416 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18417 -+ (eval "$ac_try") 2>&5
18418 - ac_status=$?
18419 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18420 - (exit $ac_status); }; } &&
18421 - { ac_try='test -s conftest.$ac_objext'
18422 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18423 -- (eval $ac_try) 2>&5
18424 -+ { (case "(($ac_try" in
18425 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18426 -+ *) ac_try_echo=$ac_try;;
18427 -+esac
18428 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18429 -+ (eval "$ac_try") 2>&5
18430 - ac_status=$?
18431 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 - (exit $ac_status); }; }; then
18433 -@@ -17188,12 +20405,14 @@
18434 -
18435 - ac_cv_member_struct_sockaddr_in_sin_len=no
18436 - fi
18437 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18438 -+
18439 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18440 - fi
18441 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18442 -+
18443 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18444 - fi
18445 --echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5
18446 --echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in_sin_len" >&6
18447 -+{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in_sin_len" >&5
18448 -+echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in_sin_len" >&6; }
18449 - if test $ac_cv_member_struct_sockaddr_in_sin_len = yes; then
18450 -
18451 - cat >>confdefs.h <<\_ACEOF
18452 -@@ -17203,8 +20422,8 @@
18453 - fi
18454 -
18455 -
18456 --echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
18457 --echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
18458 -+{ echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
18459 -+echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
18460 - if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
18461 - echo $ECHO_N "(cached) $ECHO_C" >&6
18462 - else
18463 -@@ -17227,24 +20446,36 @@
18464 - }
18465 - _ACEOF
18466 - rm -f conftest.$ac_objext
18467 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18468 -- (eval $ac_compile) 2>conftest.er1
18469 -+if { (ac_try="$ac_compile"
18470 -+case "(($ac_try" in
18471 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18472 -+ *) ac_try_echo=$ac_try;;
18473 -+esac
18474 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18475 -+ (eval "$ac_compile") 2>conftest.er1
18476 - ac_status=$?
18477 - grep -v '^ *+' conftest.er1 >conftest.err
18478 - rm -f conftest.er1
18479 - cat conftest.err >&5
18480 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 - (exit $ac_status); } &&
18482 -- { ac_try='test -z "$ac_cxx_werror_flag"
18483 -- || test ! -s conftest.err'
18484 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18485 -- (eval $ac_try) 2>&5
18486 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18487 -+ { (case "(($ac_try" in
18488 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18489 -+ *) ac_try_echo=$ac_try;;
18490 -+esac
18491 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18492 -+ (eval "$ac_try") 2>&5
18493 - ac_status=$?
18494 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 - (exit $ac_status); }; } &&
18496 - { ac_try='test -s conftest.$ac_objext'
18497 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18498 -- (eval $ac_try) 2>&5
18499 -+ { (case "(($ac_try" in
18500 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18501 -+ *) ac_try_echo=$ac_try;;
18502 -+esac
18503 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18504 -+ (eval "$ac_try") 2>&5
18505 - ac_status=$?
18506 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18507 - (exit $ac_status); }; }; then
18508 -@@ -17272,24 +20503,36 @@
18509 - }
18510 - _ACEOF
18511 - rm -f conftest.$ac_objext
18512 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18513 -- (eval $ac_compile) 2>conftest.er1
18514 -+if { (ac_try="$ac_compile"
18515 -+case "(($ac_try" in
18516 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18517 -+ *) ac_try_echo=$ac_try;;
18518 -+esac
18519 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18520 -+ (eval "$ac_compile") 2>conftest.er1
18521 - ac_status=$?
18522 - grep -v '^ *+' conftest.er1 >conftest.err
18523 - rm -f conftest.er1
18524 - cat conftest.err >&5
18525 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 - (exit $ac_status); } &&
18527 -- { ac_try='test -z "$ac_cxx_werror_flag"
18528 -- || test ! -s conftest.err'
18529 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18530 -- (eval $ac_try) 2>&5
18531 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18532 -+ { (case "(($ac_try" in
18533 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18534 -+ *) ac_try_echo=$ac_try;;
18535 -+esac
18536 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18537 -+ (eval "$ac_try") 2>&5
18538 - ac_status=$?
18539 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18540 - (exit $ac_status); }; } &&
18541 - { ac_try='test -s conftest.$ac_objext'
18542 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18543 -- (eval $ac_try) 2>&5
18544 -+ { (case "(($ac_try" in
18545 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18546 -+ *) ac_try_echo=$ac_try;;
18547 -+esac
18548 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18549 -+ (eval "$ac_try") 2>&5
18550 - ac_status=$?
18551 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552 - (exit $ac_status); }; }; then
18553 -@@ -17300,12 +20543,14 @@
18554 -
18555 - ac_cv_member_struct_tm_tm_zone=no
18556 - fi
18557 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18558 -+
18559 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18560 - fi
18561 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18562 -+
18563 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18564 - fi
18565 --echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
18566 --echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
18567 -+{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
18568 -+echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
18569 - if test $ac_cv_member_struct_tm_tm_zone = yes; then
18570 -
18571 - cat >>confdefs.h <<_ACEOF
18572 -@@ -17314,8 +20559,8 @@
18573 -
18574 -
18575 - fi
18576 --echo "$as_me:$LINENO: checking for struct tm.__tm_zone" >&5
18577 --echo $ECHO_N "checking for struct tm.__tm_zone... $ECHO_C" >&6
18578 -+{ echo "$as_me:$LINENO: checking for struct tm.__tm_zone" >&5
18579 -+echo $ECHO_N "checking for struct tm.__tm_zone... $ECHO_C" >&6; }
18580 - if test "${ac_cv_member_struct_tm___tm_zone+set}" = set; then
18581 - echo $ECHO_N "(cached) $ECHO_C" >&6
18582 - else
18583 -@@ -17338,24 +20583,36 @@
18584 - }
18585 - _ACEOF
18586 - rm -f conftest.$ac_objext
18587 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18588 -- (eval $ac_compile) 2>conftest.er1
18589 -+if { (ac_try="$ac_compile"
18590 -+case "(($ac_try" in
18591 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18592 -+ *) ac_try_echo=$ac_try;;
18593 -+esac
18594 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18595 -+ (eval "$ac_compile") 2>conftest.er1
18596 - ac_status=$?
18597 - grep -v '^ *+' conftest.er1 >conftest.err
18598 - rm -f conftest.er1
18599 - cat conftest.err >&5
18600 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18601 - (exit $ac_status); } &&
18602 -- { ac_try='test -z "$ac_cxx_werror_flag"
18603 -- || test ! -s conftest.err'
18604 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18605 -- (eval $ac_try) 2>&5
18606 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18607 -+ { (case "(($ac_try" in
18608 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18609 -+ *) ac_try_echo=$ac_try;;
18610 -+esac
18611 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18612 -+ (eval "$ac_try") 2>&5
18613 - ac_status=$?
18614 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18615 - (exit $ac_status); }; } &&
18616 - { ac_try='test -s conftest.$ac_objext'
18617 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18618 -- (eval $ac_try) 2>&5
18619 -+ { (case "(($ac_try" in
18620 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18621 -+ *) ac_try_echo=$ac_try;;
18622 -+esac
18623 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18624 -+ (eval "$ac_try") 2>&5
18625 - ac_status=$?
18626 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18627 - (exit $ac_status); }; }; then
18628 -@@ -17383,24 +20640,36 @@
18629 - }
18630 - _ACEOF
18631 - rm -f conftest.$ac_objext
18632 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18633 -- (eval $ac_compile) 2>conftest.er1
18634 -+if { (ac_try="$ac_compile"
18635 -+case "(($ac_try" in
18636 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18637 -+ *) ac_try_echo=$ac_try;;
18638 -+esac
18639 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18640 -+ (eval "$ac_compile") 2>conftest.er1
18641 - ac_status=$?
18642 - grep -v '^ *+' conftest.er1 >conftest.err
18643 - rm -f conftest.er1
18644 - cat conftest.err >&5
18645 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646 - (exit $ac_status); } &&
18647 -- { ac_try='test -z "$ac_cxx_werror_flag"
18648 -- || test ! -s conftest.err'
18649 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18650 -- (eval $ac_try) 2>&5
18651 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18652 -+ { (case "(($ac_try" in
18653 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18654 -+ *) ac_try_echo=$ac_try;;
18655 -+esac
18656 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18657 -+ (eval "$ac_try") 2>&5
18658 - ac_status=$?
18659 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660 - (exit $ac_status); }; } &&
18661 - { ac_try='test -s conftest.$ac_objext'
18662 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18663 -- (eval $ac_try) 2>&5
18664 -+ { (case "(($ac_try" in
18665 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18666 -+ *) ac_try_echo=$ac_try;;
18667 -+esac
18668 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18669 -+ (eval "$ac_try") 2>&5
18670 - ac_status=$?
18671 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18672 - (exit $ac_status); }; }; then
18673 -@@ -17411,12 +20680,14 @@
18674 -
18675 - ac_cv_member_struct_tm___tm_zone=no
18676 - fi
18677 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18678 -+
18679 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18680 - fi
18681 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18682 -+
18683 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18684 - fi
18685 --echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm___tm_zone" >&5
18686 --echo "${ECHO_T}$ac_cv_member_struct_tm___tm_zone" >&6
18687 -+{ echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm___tm_zone" >&5
18688 -+echo "${ECHO_T}$ac_cv_member_struct_tm___tm_zone" >&6; }
18689 - if test $ac_cv_member_struct_tm___tm_zone = yes; then
18690 -
18691 - cat >>confdefs.h <<_ACEOF
18692 -@@ -17428,8 +20699,8 @@
18693 -
18694 -
18695 -
18696 --echo "$as_me:$LINENO: checking whether function prototypes can use throw(...)" >&5
18697 --echo $ECHO_N "checking whether function prototypes can use throw(...)... $ECHO_C" >&6
18698 -+{ echo "$as_me:$LINENO: checking whether function prototypes can use throw(...)" >&5
18699 -+echo $ECHO_N "checking whether function prototypes can use throw(...)... $ECHO_C" >&6; }
18700 - if test "${ncbi_cv_cxx_throw_spec+set}" = set; then
18701 - echo $ECHO_N "(cached) $ECHO_C" >&6
18702 - else
18703 -@@ -17451,24 +20722,36 @@
18704 - }
18705 - _ACEOF
18706 - rm -f conftest.$ac_objext
18707 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18708 -- (eval $ac_compile) 2>conftest.er1
18709 -+if { (ac_try="$ac_compile"
18710 -+case "(($ac_try" in
18711 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18712 -+ *) ac_try_echo=$ac_try;;
18713 -+esac
18714 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18715 -+ (eval "$ac_compile") 2>conftest.er1
18716 - ac_status=$?
18717 - grep -v '^ *+' conftest.er1 >conftest.err
18718 - rm -f conftest.er1
18719 - cat conftest.err >&5
18720 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721 - (exit $ac_status); } &&
18722 -- { ac_try='test -z "$ac_cxx_werror_flag"
18723 -- || test ! -s conftest.err'
18724 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18725 -- (eval $ac_try) 2>&5
18726 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18727 -+ { (case "(($ac_try" in
18728 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18729 -+ *) ac_try_echo=$ac_try;;
18730 -+esac
18731 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18732 -+ (eval "$ac_try") 2>&5
18733 - ac_status=$?
18734 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 - (exit $ac_status); }; } &&
18736 - { ac_try='test -s conftest.$ac_objext'
18737 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18738 -- (eval $ac_try) 2>&5
18739 -+ { (case "(($ac_try" in
18740 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18741 -+ *) ac_try_echo=$ac_try;;
18742 -+esac
18743 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18744 -+ (eval "$ac_try") 2>&5
18745 - ac_status=$?
18746 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 - (exit $ac_status); }; }; then
18748 -@@ -17479,10 +20762,11 @@
18749 -
18750 - ncbi_cv_cxx_throw_spec=no
18751 - fi
18752 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18753 -+
18754 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18755 - fi
18756 --echo "$as_me:$LINENO: result: $ncbi_cv_cxx_throw_spec" >&5
18757 --echo "${ECHO_T}$ncbi_cv_cxx_throw_spec" >&6
18758 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_cxx_throw_spec" >&5
18759 -+echo "${ECHO_T}$ncbi_cv_cxx_throw_spec" >&6; }
18760 - if test "$ncbi_cv_cxx_throw_spec" = yes; then
18761 -
18762 - cat >>confdefs.h <<\_ACEOF
18763 -@@ -17492,8 +20776,8 @@
18764 - fi
18765 -
18766 -
18767 --echo "$as_me:$LINENO: checking for obsolete string::compare() syntax" >&5
18768 --echo $ECHO_N "checking for obsolete string::compare() syntax... $ECHO_C" >&6
18769 -+{ echo "$as_me:$LINENO: checking for obsolete string::compare() syntax" >&5
18770 -+echo $ECHO_N "checking for obsolete string::compare() syntax... $ECHO_C" >&6; }
18771 - if test "${ncbi_cv_func_string_compare_obsolete+set}" = set; then
18772 - echo $ECHO_N "(cached) $ECHO_C" >&6
18773 - else
18774 -@@ -17513,24 +20797,36 @@
18775 - }
18776 - _ACEOF
18777 - rm -f conftest.$ac_objext
18778 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18779 -- (eval $ac_compile) 2>conftest.er1
18780 -+if { (ac_try="$ac_compile"
18781 -+case "(($ac_try" in
18782 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18783 -+ *) ac_try_echo=$ac_try;;
18784 -+esac
18785 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18786 -+ (eval "$ac_compile") 2>conftest.er1
18787 - ac_status=$?
18788 - grep -v '^ *+' conftest.er1 >conftest.err
18789 - rm -f conftest.er1
18790 - cat conftest.err >&5
18791 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792 - (exit $ac_status); } &&
18793 -- { ac_try='test -z "$ac_cxx_werror_flag"
18794 -- || test ! -s conftest.err'
18795 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18796 -- (eval $ac_try) 2>&5
18797 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18798 -+ { (case "(($ac_try" in
18799 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18800 -+ *) ac_try_echo=$ac_try;;
18801 -+esac
18802 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18803 -+ (eval "$ac_try") 2>&5
18804 - ac_status=$?
18805 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 - (exit $ac_status); }; } &&
18807 - { ac_try='test -s conftest.$ac_objext'
18808 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18809 -- (eval $ac_try) 2>&5
18810 -+ { (case "(($ac_try" in
18811 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18812 -+ *) ac_try_echo=$ac_try;;
18813 -+esac
18814 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18815 -+ (eval "$ac_try") 2>&5
18816 - ac_status=$?
18817 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18818 - (exit $ac_status); }; }; then
18819 -@@ -17541,10 +20837,11 @@
18820 -
18821 - ncbi_cv_func_string_compare_obsolete=no
18822 - fi
18823 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18824 -+
18825 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18826 - fi
18827 --echo "$as_me:$LINENO: result: $ncbi_cv_func_string_compare_obsolete" >&5
18828 --echo "${ECHO_T}$ncbi_cv_func_string_compare_obsolete" >&6
18829 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_func_string_compare_obsolete" >&5
18830 -+echo "${ECHO_T}$ncbi_cv_func_string_compare_obsolete" >&6; }
18831 - if test "$ncbi_cv_func_string_compare_obsolete" = yes; then
18832 -
18833 - cat >>confdefs.h <<\_ACEOF
18834 -@@ -17554,8 +20851,8 @@
18835 - fi
18836 -
18837 -
18838 --echo "$as_me:$LINENO: checking whether the auto_ptr template class works" >&5
18839 --echo $ECHO_N "checking whether the auto_ptr template class works... $ECHO_C" >&6
18840 -+{ echo "$as_me:$LINENO: checking whether the auto_ptr template class works" >&5
18841 -+echo $ECHO_N "checking whether the auto_ptr template class works... $ECHO_C" >&6; }
18842 - if test "${ncbi_cv_type_auto_ptr_works+set}" = set; then
18843 - echo $ECHO_N "(cached) $ECHO_C" >&6
18844 - else
18845 -@@ -17575,24 +20872,36 @@
18846 - }
18847 - _ACEOF
18848 - rm -f conftest.$ac_objext
18849 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18850 -- (eval $ac_compile) 2>conftest.er1
18851 -+if { (ac_try="$ac_compile"
18852 -+case "(($ac_try" in
18853 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18854 -+ *) ac_try_echo=$ac_try;;
18855 -+esac
18856 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18857 -+ (eval "$ac_compile") 2>conftest.er1
18858 - ac_status=$?
18859 - grep -v '^ *+' conftest.er1 >conftest.err
18860 - rm -f conftest.er1
18861 - cat conftest.err >&5
18862 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18863 - (exit $ac_status); } &&
18864 -- { ac_try='test -z "$ac_cxx_werror_flag"
18865 -- || test ! -s conftest.err'
18866 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18867 -- (eval $ac_try) 2>&5
18868 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18869 -+ { (case "(($ac_try" in
18870 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18871 -+ *) ac_try_echo=$ac_try;;
18872 -+esac
18873 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18874 -+ (eval "$ac_try") 2>&5
18875 - ac_status=$?
18876 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877 - (exit $ac_status); }; } &&
18878 - { ac_try='test -s conftest.$ac_objext'
18879 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18880 -- (eval $ac_try) 2>&5
18881 -+ { (case "(($ac_try" in
18882 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18883 -+ *) ac_try_echo=$ac_try;;
18884 -+esac
18885 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18886 -+ (eval "$ac_try") 2>&5
18887 - ac_status=$?
18888 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18889 - (exit $ac_status); }; }; then
18890 -@@ -17603,10 +20912,11 @@
18891 -
18892 - ncbi_cv_type_auto_ptr_works=no
18893 - fi
18894 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18895 -+
18896 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18897 - fi
18898 --echo "$as_me:$LINENO: result: $ncbi_cv_type_auto_ptr_works" >&5
18899 --echo "${ECHO_T}$ncbi_cv_type_auto_ptr_works" >&6
18900 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_type_auto_ptr_works" >&5
18901 -+echo "${ECHO_T}$ncbi_cv_type_auto_ptr_works" >&6; }
18902 - if test "$ncbi_cv_cxx_auto_ptr_works" = no; then
18903 -
18904 - cat >>confdefs.h <<\_ACEOF
18905 -@@ -17616,8 +20926,8 @@
18906 - fi
18907 -
18908 -
18909 --echo "$as_me:$LINENO: checking for min/max templates" >&5
18910 --echo $ECHO_N "checking for min/max templates... $ECHO_C" >&6
18911 -+{ echo "$as_me:$LINENO: checking for min/max templates" >&5
18912 -+echo $ECHO_N "checking for min/max templates... $ECHO_C" >&6; }
18913 - if test "${ncbi_cv_func_min_max+set}" = set; then
18914 - echo $ECHO_N "(cached) $ECHO_C" >&6
18915 - else
18916 -@@ -17645,24 +20955,36 @@
18917 - }
18918 - _ACEOF
18919 - rm -f conftest.$ac_objext
18920 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18921 -- (eval $ac_compile) 2>conftest.er1
18922 -+if { (ac_try="$ac_compile"
18923 -+case "(($ac_try" in
18924 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18925 -+ *) ac_try_echo=$ac_try;;
18926 -+esac
18927 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18928 -+ (eval "$ac_compile") 2>conftest.er1
18929 - ac_status=$?
18930 - grep -v '^ *+' conftest.er1 >conftest.err
18931 - rm -f conftest.er1
18932 - cat conftest.err >&5
18933 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18934 - (exit $ac_status); } &&
18935 -- { ac_try='test -z "$ac_cxx_werror_flag"
18936 -- || test ! -s conftest.err'
18937 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18938 -- (eval $ac_try) 2>&5
18939 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18940 -+ { (case "(($ac_try" in
18941 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18942 -+ *) ac_try_echo=$ac_try;;
18943 -+esac
18944 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18945 -+ (eval "$ac_try") 2>&5
18946 - ac_status=$?
18947 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 - (exit $ac_status); }; } &&
18949 - { ac_try='test -s conftest.$ac_objext'
18950 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18951 -- (eval $ac_try) 2>&5
18952 -+ { (case "(($ac_try" in
18953 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18954 -+ *) ac_try_echo=$ac_try;;
18955 -+esac
18956 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18957 -+ (eval "$ac_try") 2>&5
18958 - ac_status=$?
18959 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 - (exit $ac_status); }; }; then
18961 -@@ -17673,10 +20995,11 @@
18962 -
18963 - ncbi_cv_func_min_max=no
18964 - fi
18965 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18966 -+
18967 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18968 - fi
18969 --echo "$as_me:$LINENO: result: $ncbi_cv_func_min_max" >&5
18970 --echo "${ECHO_T}$ncbi_cv_func_min_max" >&6
18971 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_func_min_max" >&5
18972 -+echo "${ECHO_T}$ncbi_cv_func_min_max" >&6; }
18973 - if test "$ncbi_cv_func_min_max" = no; then
18974 -
18975 - cat >>confdefs.h <<\_ACEOF
18976 -@@ -17686,8 +21009,8 @@
18977 - fi
18978 -
18979 -
18980 --echo "$as_me:$LINENO: checking whether new C++ streams have ios_base::" >&5
18981 --echo $ECHO_N "checking whether new C++ streams have ios_base::... $ECHO_C" >&6
18982 -+{ echo "$as_me:$LINENO: checking whether new C++ streams have ios_base::" >&5
18983 -+echo $ECHO_N "checking whether new C++ streams have ios_base::... $ECHO_C" >&6; }
18984 - if test "${ncbi_cv_type_ios_base+set}" = set; then
18985 - echo $ECHO_N "(cached) $ECHO_C" >&6
18986 - else
18987 -@@ -17707,24 +21030,36 @@
18988 - }
18989 - _ACEOF
18990 - rm -f conftest.$ac_objext
18991 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18992 -- (eval $ac_compile) 2>conftest.er1
18993 -+if { (ac_try="$ac_compile"
18994 -+case "(($ac_try" in
18995 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18996 -+ *) ac_try_echo=$ac_try;;
18997 -+esac
18998 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18999 -+ (eval "$ac_compile") 2>conftest.er1
19000 - ac_status=$?
19001 - grep -v '^ *+' conftest.er1 >conftest.err
19002 - rm -f conftest.er1
19003 - cat conftest.err >&5
19004 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 - (exit $ac_status); } &&
19006 -- { ac_try='test -z "$ac_cxx_werror_flag"
19007 -- || test ! -s conftest.err'
19008 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19009 -- (eval $ac_try) 2>&5
19010 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19011 -+ { (case "(($ac_try" in
19012 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19013 -+ *) ac_try_echo=$ac_try;;
19014 -+esac
19015 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19016 -+ (eval "$ac_try") 2>&5
19017 - ac_status=$?
19018 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 - (exit $ac_status); }; } &&
19020 - { ac_try='test -s conftest.$ac_objext'
19021 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19022 -- (eval $ac_try) 2>&5
19023 -+ { (case "(($ac_try" in
19024 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19025 -+ *) ac_try_echo=$ac_try;;
19026 -+esac
19027 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19028 -+ (eval "$ac_try") 2>&5
19029 - ac_status=$?
19030 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031 - (exit $ac_status); }; }; then
19032 -@@ -17735,10 +21070,11 @@
19033 -
19034 - ncbi_cv_type_ios_base=no
19035 - fi
19036 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19037 -+
19038 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19039 - fi
19040 --echo "$as_me:$LINENO: result: $ncbi_cv_type_ios_base" >&5
19041 --echo "${ECHO_T}$ncbi_cv_type_ios_base" >&6
19042 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_type_ios_base" >&5
19043 -+echo "${ECHO_T}$ncbi_cv_type_ios_base" >&6; }
19044 - if test "$ncbi_cv_type_ios_base" = no; then
19045 -
19046 - cat >>confdefs.h <<\_ACEOF
19047 -@@ -17748,8 +21084,8 @@
19048 - fi
19049 -
19050 -
19051 --echo "$as_me:$LINENO: checking for ios(_base)::register_callback" >&5
19052 --echo $ECHO_N "checking for ios(_base)::register_callback... $ECHO_C" >&6
19053 -+{ echo "$as_me:$LINENO: checking for ios(_base)::register_callback" >&5
19054 -+echo $ECHO_N "checking for ios(_base)::register_callback... $ECHO_C" >&6; }
19055 - if test "${ncbi_cv_func_ios_register_callback+set}" = set; then
19056 - echo $ECHO_N "(cached) $ECHO_C" >&6
19057 - else
19058 -@@ -17769,24 +21105,36 @@
19059 - }
19060 - _ACEOF
19061 - rm -f conftest.$ac_objext
19062 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19063 -- (eval $ac_compile) 2>conftest.er1
19064 -+if { (ac_try="$ac_compile"
19065 -+case "(($ac_try" in
19066 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19067 -+ *) ac_try_echo=$ac_try;;
19068 -+esac
19069 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19070 -+ (eval "$ac_compile") 2>conftest.er1
19071 - ac_status=$?
19072 - grep -v '^ *+' conftest.er1 >conftest.err
19073 - rm -f conftest.er1
19074 - cat conftest.err >&5
19075 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 - (exit $ac_status); } &&
19077 -- { ac_try='test -z "$ac_cxx_werror_flag"
19078 -- || test ! -s conftest.err'
19079 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19080 -- (eval $ac_try) 2>&5
19081 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19082 -+ { (case "(($ac_try" in
19083 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19084 -+ *) ac_try_echo=$ac_try;;
19085 -+esac
19086 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19087 -+ (eval "$ac_try") 2>&5
19088 - ac_status=$?
19089 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19090 - (exit $ac_status); }; } &&
19091 - { ac_try='test -s conftest.$ac_objext'
19092 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19093 -- (eval $ac_try) 2>&5
19094 -+ { (case "(($ac_try" in
19095 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19096 -+ *) ac_try_echo=$ac_try;;
19097 -+esac
19098 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19099 -+ (eval "$ac_try") 2>&5
19100 - ac_status=$?
19101 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102 - (exit $ac_status); }; }; then
19103 -@@ -17797,10 +21145,11 @@
19104 -
19105 - ncbi_cv_func_ios_register_callback=no
19106 - fi
19107 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19108 -+
19109 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19110 - fi
19111 --echo "$as_me:$LINENO: result: $ncbi_cv_func_ios_register_callback" >&5
19112 --echo "${ECHO_T}$ncbi_cv_func_ios_register_callback" >&6
19113 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_func_ios_register_callback" >&5
19114 -+echo "${ECHO_T}$ncbi_cv_func_ios_register_callback" >&6; }
19115 - if test "$ncbi_cv_func_ios_register_callback" = yes; then
19116 -
19117 - cat >>confdefs.h <<\_ACEOF
19118 -@@ -17810,8 +21159,8 @@
19119 - fi
19120 -
19121 -
19122 --echo "$as_me:$LINENO: checking for std::char_traits::" >&5
19123 --echo $ECHO_N "checking for std::char_traits::... $ECHO_C" >&6
19124 -+{ echo "$as_me:$LINENO: checking for std::char_traits::" >&5
19125 -+echo $ECHO_N "checking for std::char_traits::... $ECHO_C" >&6; }
19126 - if test "${ncbi_cv_type_char_traits+set}" = set; then
19127 - echo $ECHO_N "(cached) $ECHO_C" >&6
19128 - else
19129 -@@ -17837,24 +21186,36 @@
19130 - }
19131 - _ACEOF
19132 - rm -f conftest.$ac_objext
19133 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19134 -- (eval $ac_compile) 2>conftest.er1
19135 -+if { (ac_try="$ac_compile"
19136 -+case "(($ac_try" in
19137 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19138 -+ *) ac_try_echo=$ac_try;;
19139 -+esac
19140 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19141 -+ (eval "$ac_compile") 2>conftest.er1
19142 - ac_status=$?
19143 - grep -v '^ *+' conftest.er1 >conftest.err
19144 - rm -f conftest.er1
19145 - cat conftest.err >&5
19146 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 - (exit $ac_status); } &&
19148 -- { ac_try='test -z "$ac_cxx_werror_flag"
19149 -- || test ! -s conftest.err'
19150 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19151 -- (eval $ac_try) 2>&5
19152 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19153 -+ { (case "(($ac_try" in
19154 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19155 -+ *) ac_try_echo=$ac_try;;
19156 -+esac
19157 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19158 -+ (eval "$ac_try") 2>&5
19159 - ac_status=$?
19160 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19161 - (exit $ac_status); }; } &&
19162 - { ac_try='test -s conftest.$ac_objext'
19163 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19164 -- (eval $ac_try) 2>&5
19165 -+ { (case "(($ac_try" in
19166 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19167 -+ *) ac_try_echo=$ac_try;;
19168 -+esac
19169 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19170 -+ (eval "$ac_try") 2>&5
19171 - ac_status=$?
19172 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173 - (exit $ac_status); }; }; then
19174 -@@ -17865,10 +21226,11 @@
19175 -
19176 - ncbi_cv_type_char_traits=no
19177 - fi
19178 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19179 -+
19180 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19181 - fi
19182 --echo "$as_me:$LINENO: result: $ncbi_cv_type_char_traits" >&5
19183 --echo "${ECHO_T}$ncbi_cv_type_char_traits" >&6
19184 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_type_char_traits" >&5
19185 -+echo "${ECHO_T}$ncbi_cv_type_char_traits" >&6; }
19186 - if test "$ncbi_cv_type_char_traits" = no; then
19187 -
19188 - cat >>confdefs.h <<\_ACEOF
19189 -@@ -17878,9 +21240,10 @@
19190 - fi
19191 -
19192 -
19193 --echo "$as_me:$LINENO: checking for std::is_sorted<> in <algorithm>" >&5
19194 --echo $ECHO_N "checking for std::is_sorted<> in <algorithm>... $ECHO_C" >&6
19195 --if test "${ncbi_cv_func_is_sorted+set}" = set; then
19196 -+
19197 -+{ echo "$as_me:$LINENO: checking for SysV semaphores" >&5
19198 -+echo $ECHO_N "checking for SysV semaphores... $ECHO_C" >&6; }
19199 -+if test "${ncbi_cv_sys_semaphores+set}" = set; then
19200 - echo $ECHO_N "(cached) $ECHO_C" >&6
19201 - else
19202 - cat >conftest.$ac_ext <<_ACEOF
19203 -@@ -17889,99 +21252,48 @@
19204 - cat confdefs.h >>conftest.$ac_ext
19205 - cat >>conftest.$ac_ext <<_ACEOF
19206 - /* end confdefs.h. */
19207 --#include <algorithm>
19208 -+#include <sys/types.h>
19209 -+#include <sys/sem.h>
19210 - int
19211 - main ()
19212 - {
19213 --int a[2]; return std::is_sorted(a, a+2) ? 0 : 1;
19214 -+struct sembuf buf; int id = semget(0x1234, 0, IPC_CREAT);
19215 -+ buf.sem_op = SEM_UNDO;
19216 - ;
19217 - return 0;
19218 - }
19219 - _ACEOF
19220 --rm -f conftest.$ac_objext
19221 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19222 -- (eval $ac_compile) 2>conftest.er1
19223 -+rm -f conftest.$ac_objext conftest$ac_exeext
19224 -+if { (ac_try="$ac_link"
19225 -+case "(($ac_try" in
19226 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19227 -+ *) ac_try_echo=$ac_try;;
19228 -+esac
19229 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19230 -+ (eval "$ac_link") 2>conftest.er1
19231 - ac_status=$?
19232 - grep -v '^ *+' conftest.er1 >conftest.err
19233 - rm -f conftest.er1
19234 - cat conftest.err >&5
19235 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 - (exit $ac_status); } &&
19237 -- { ac_try='test -z "$ac_cxx_werror_flag"
19238 -- || test ! -s conftest.err'
19239 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19240 -- (eval $ac_try) 2>&5
19241 -- ac_status=$?
19242 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19243 -- (exit $ac_status); }; } &&
19244 -- { ac_try='test -s conftest.$ac_objext'
19245 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19246 -- (eval $ac_try) 2>&5
19247 -- ac_status=$?
19248 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 -- (exit $ac_status); }; }; then
19250 -- ncbi_cv_func_is_sorted=yes
19251 --else
19252 -- echo "$as_me: failed program was:" >&5
19253 --sed 's/^/| /' conftest.$ac_ext >&5
19254 --
19255 --ncbi_cv_func_is_sorted=no
19256 --fi
19257 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19258 --fi
19259 --echo "$as_me:$LINENO: result: $ncbi_cv_func_is_sorted" >&5
19260 --echo "${ECHO_T}$ncbi_cv_func_is_sorted" >&6
19261 --if test "$ncbi_cv_func_is_sorted" = yes; then
19262 --
19263 --cat >>confdefs.h <<\_ACEOF
19264 --#define HAVE_IS_SORTED 1
19265 --_ACEOF
19266 --
19267 --fi
19268 --
19269 --
19270 --
19271 --echo "$as_me:$LINENO: checking for SysV semaphores" >&5
19272 --echo $ECHO_N "checking for SysV semaphores... $ECHO_C" >&6
19273 --if test "${ncbi_cv_sys_semaphores+set}" = set; then
19274 -- echo $ECHO_N "(cached) $ECHO_C" >&6
19275 --else
19276 -- cat >conftest.$ac_ext <<_ACEOF
19277 --/* confdefs.h. */
19278 --_ACEOF
19279 --cat confdefs.h >>conftest.$ac_ext
19280 --cat >>conftest.$ac_ext <<_ACEOF
19281 --/* end confdefs.h. */
19282 --#include <sys/types.h>
19283 --#include <sys/sem.h>
19284 --int
19285 --main ()
19286 --{
19287 --struct sembuf buf; int id = semget(0x1234, 0, IPC_CREAT);
19288 -- buf.sem_op = SEM_UNDO;
19289 -- ;
19290 -- return 0;
19291 --}
19292 --_ACEOF
19293 --rm -f conftest.$ac_objext conftest$ac_exeext
19294 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19295 -- (eval $ac_link) 2>conftest.er1
19296 -- ac_status=$?
19297 -- grep -v '^ *+' conftest.er1 >conftest.err
19298 -- rm -f conftest.er1
19299 -- cat conftest.err >&5
19300 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 -- (exit $ac_status); } &&
19302 -- { ac_try='test -z "$ac_cxx_werror_flag"
19303 -- || test ! -s conftest.err'
19304 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19305 -- (eval $ac_try) 2>&5
19306 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19307 -+ { (case "(($ac_try" in
19308 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19309 -+ *) ac_try_echo=$ac_try;;
19310 -+esac
19311 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19312 -+ (eval "$ac_try") 2>&5
19313 - ac_status=$?
19314 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19315 - (exit $ac_status); }; } &&
19316 - { ac_try='test -s conftest$ac_exeext'
19317 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19318 -- (eval $ac_try) 2>&5
19319 -+ { (case "(($ac_try" in
19320 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19321 -+ *) ac_try_echo=$ac_try;;
19322 -+esac
19323 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19324 -+ (eval "$ac_try") 2>&5
19325 - ac_status=$?
19326 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19327 - (exit $ac_status); }; }; then
19328 -@@ -17992,11 +21304,12 @@
19329 -
19330 - ncbi_cv_sys_semaphores=no
19331 - fi
19332 --rm -f conftest.err conftest.$ac_objext \
19333 -+
19334 -+rm -f core conftest.err conftest.$ac_objext \
19335 - conftest$ac_exeext conftest.$ac_ext
19336 - fi
19337 --echo "$as_me:$LINENO: result: $ncbi_cv_sys_semaphores" >&5
19338 --echo "${ECHO_T}$ncbi_cv_sys_semaphores" >&6
19339 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_sys_semaphores" >&5
19340 -+echo "${ECHO_T}$ncbi_cv_sys_semaphores" >&6; }
19341 - if test "$ncbi_cv_sys_semaphores" = yes; then
19342 -
19343 - cat >>confdefs.h <<\_ACEOF
19344 -@@ -18005,8 +21318,8 @@
19345 -
19346 - fi
19347 -
19348 --echo "$as_me:$LINENO: checking for union semun" >&5
19349 --echo $ECHO_N "checking for union semun... $ECHO_C" >&6
19350 -+{ echo "$as_me:$LINENO: checking for union semun" >&5
19351 -+echo $ECHO_N "checking for union semun... $ECHO_C" >&6; }
19352 - if test "${ac_cv_type_union_semun+set}" = set; then
19353 - echo $ECHO_N "(cached) $ECHO_C" >&6
19354 - else
19355 -@@ -18019,36 +21332,49 @@
19356 - #include <sys/types.h>
19357 - #include <sys/sem.h>
19358 -
19359 -+typedef union semun ac__type_new_;
19360 - int
19361 - main ()
19362 - {
19363 --if ((union semun *) 0)
19364 -+if ((ac__type_new_ *) 0)
19365 - return 0;
19366 --if (sizeof (union semun))
19367 -+if (sizeof (ac__type_new_))
19368 - return 0;
19369 - ;
19370 - return 0;
19371 - }
19372 - _ACEOF
19373 - rm -f conftest.$ac_objext
19374 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19375 -- (eval $ac_compile) 2>conftest.er1
19376 -+if { (ac_try="$ac_compile"
19377 -+case "(($ac_try" in
19378 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19379 -+ *) ac_try_echo=$ac_try;;
19380 -+esac
19381 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19382 -+ (eval "$ac_compile") 2>conftest.er1
19383 - ac_status=$?
19384 - grep -v '^ *+' conftest.er1 >conftest.err
19385 - rm -f conftest.er1
19386 - cat conftest.err >&5
19387 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 - (exit $ac_status); } &&
19389 -- { ac_try='test -z "$ac_cxx_werror_flag"
19390 -- || test ! -s conftest.err'
19391 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19392 -- (eval $ac_try) 2>&5
19393 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19394 -+ { (case "(($ac_try" in
19395 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19396 -+ *) ac_try_echo=$ac_try;;
19397 -+esac
19398 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19399 -+ (eval "$ac_try") 2>&5
19400 - ac_status=$?
19401 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 - (exit $ac_status); }; } &&
19403 - { ac_try='test -s conftest.$ac_objext'
19404 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19405 -- (eval $ac_try) 2>&5
19406 -+ { (case "(($ac_try" in
19407 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19408 -+ *) ac_try_echo=$ac_try;;
19409 -+esac
19410 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19411 -+ (eval "$ac_try") 2>&5
19412 - ac_status=$?
19413 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 - (exit $ac_status); }; }; then
19415 -@@ -18059,10 +21385,11 @@
19416 -
19417 - ac_cv_type_union_semun=no
19418 - fi
19419 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19420 -+
19421 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19422 - fi
19423 --echo "$as_me:$LINENO: result: $ac_cv_type_union_semun" >&5
19424 --echo "${ECHO_T}$ac_cv_type_union_semun" >&6
19425 -+{ echo "$as_me:$LINENO: result: $ac_cv_type_union_semun" >&5
19426 -+echo "${ECHO_T}$ac_cv_type_union_semun" >&6; }
19427 - if test $ac_cv_type_union_semun = yes; then
19428 -
19429 - cat >>confdefs.h <<\_ACEOF
19430 -@@ -18073,8 +21400,8 @@
19431 -
19432 -
19433 -
19434 --echo "$as_me:$LINENO: checking which way the stack grows" >&5
19435 --echo $ECHO_N "checking which way the stack grows... $ECHO_C" >&6
19436 -+{ echo "$as_me:$LINENO: checking which way the stack grows" >&5
19437 -+echo $ECHO_N "checking which way the stack grows... $ECHO_C" >&6; }
19438 - if test "${ncbi_cv_sys_stack_dir+set}" = set; then
19439 - echo $ECHO_N "(cached) $ECHO_C" >&6
19440 - else
19441 -@@ -18097,13 +21424,22 @@
19442 - }
19443 - _ACEOF
19444 - rm -f conftest$ac_exeext
19445 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19446 -- (eval $ac_link) 2>&5
19447 -+if { (ac_try="$ac_link"
19448 -+case "(($ac_try" in
19449 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19450 -+ *) ac_try_echo=$ac_try;;
19451 -+esac
19452 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19453 -+ (eval "$ac_link") 2>&5
19454 - ac_status=$?
19455 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19456 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19457 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19458 -- (eval $ac_try) 2>&5
19459 -+ { (case "(($ac_try" in
19460 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19461 -+ *) ac_try_echo=$ac_try;;
19462 -+esac
19463 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19464 -+ (eval "$ac_try") 2>&5
19465 - ac_status=$?
19466 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19467 - (exit $ac_status); }; }; then
19468 -@@ -18116,11 +21452,13 @@
19469 - ( exit $ac_status )
19470 - ncbi_cv_sys_stack_dir=down
19471 - fi
19472 --rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19473 -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19474 - fi
19475 -+
19476 -+
19477 - fi
19478 --echo "$as_me:$LINENO: result: $ncbi_cv_sys_stack_dir" >&5
19479 --echo "${ECHO_T}$ncbi_cv_sys_stack_dir" >&6
19480 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_sys_stack_dir" >&5
19481 -+echo "${ECHO_T}$ncbi_cv_sys_stack_dir" >&6; }
19482 - case "$ncbi_cv_sys_stack_dir" in
19483 - up)
19484 - cat >>confdefs.h <<\_ACEOF
19485 -@@ -18141,8 +21479,8 @@
19486 - ac_compiler_gnu=$ac_cv_c_compiler_gnu
19487 -
19488 -
19489 --echo "$as_me:$LINENO: checking whether the preprocessor supports C99-style variadic macros" >&5
19490 --echo $ECHO_N "checking whether the preprocessor supports C99-style variadic macros... $ECHO_C" >&6
19491 -+{ echo "$as_me:$LINENO: checking whether the preprocessor supports C99-style variadic macros" >&5
19492 -+echo $ECHO_N "checking whether the preprocessor supports C99-style variadic macros... $ECHO_C" >&6; }
19493 - if test "${ncbi_cv_cpp_std_varargs+set}" = set; then
19494 - echo $ECHO_N "(cached) $ECHO_C" >&6
19495 - else
19496 -@@ -18165,24 +21503,36 @@
19497 - }
19498 - _ACEOF
19499 - rm -f conftest.$ac_objext
19500 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19501 -- (eval $ac_compile) 2>conftest.er1
19502 -+if { (ac_try="$ac_compile"
19503 -+case "(($ac_try" in
19504 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19505 -+ *) ac_try_echo=$ac_try;;
19506 -+esac
19507 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19508 -+ (eval "$ac_compile") 2>conftest.er1
19509 - ac_status=$?
19510 - grep -v '^ *+' conftest.er1 >conftest.err
19511 - rm -f conftest.er1
19512 - cat conftest.err >&5
19513 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 - (exit $ac_status); } &&
19515 -- { ac_try='test -z "$ac_c_werror_flag"
19516 -- || test ! -s conftest.err'
19517 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19518 -- (eval $ac_try) 2>&5
19519 -+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19520 -+ { (case "(($ac_try" in
19521 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19522 -+ *) ac_try_echo=$ac_try;;
19523 -+esac
19524 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19525 -+ (eval "$ac_try") 2>&5
19526 - ac_status=$?
19527 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19528 - (exit $ac_status); }; } &&
19529 - { ac_try='test -s conftest.$ac_objext'
19530 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19531 -- (eval $ac_try) 2>&5
19532 -+ { (case "(($ac_try" in
19533 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19534 -+ *) ac_try_echo=$ac_try;;
19535 -+esac
19536 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19537 -+ (eval "$ac_try") 2>&5
19538 - ac_status=$?
19539 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540 - (exit $ac_status); }; }; then
19541 -@@ -18193,10 +21543,11 @@
19542 -
19543 - ncbi_cv_cpp_std_varargs=no
19544 - fi
19545 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19546 -+
19547 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19548 - fi
19549 --echo "$as_me:$LINENO: result: $ncbi_cv_cpp_std_varargs" >&5
19550 --echo "${ECHO_T}$ncbi_cv_cpp_std_varargs" >&6
19551 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_cpp_std_varargs" >&5
19552 -+echo "${ECHO_T}$ncbi_cv_cpp_std_varargs" >&6; }
19553 - if test "$ncbi_cv_cpp_std_varargs" = yes; then
19554 -
19555 - cat >>confdefs.h <<\_ACEOF
19556 -@@ -18205,8 +21556,8 @@
19557 -
19558 - fi
19559 -
19560 --echo "$as_me:$LINENO: checking whether the preprocessor supports GNU-style variadic macros" >&5
19561 --echo $ECHO_N "checking whether the preprocessor supports GNU-style variadic macros... $ECHO_C" >&6
19562 -+{ echo "$as_me:$LINENO: checking whether the preprocessor supports GNU-style variadic macros" >&5
19563 -+echo $ECHO_N "checking whether the preprocessor supports GNU-style variadic macros... $ECHO_C" >&6; }
19564 - if test "${ncbi_cv_cpp_gnu_varargs+set}" = set; then
19565 - echo $ECHO_N "(cached) $ECHO_C" >&6
19566 - else
19567 -@@ -18229,24 +21580,36 @@
19568 - }
19569 - _ACEOF
19570 - rm -f conftest.$ac_objext
19571 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19572 -- (eval $ac_compile) 2>conftest.er1
19573 -+if { (ac_try="$ac_compile"
19574 -+case "(($ac_try" in
19575 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19576 -+ *) ac_try_echo=$ac_try;;
19577 -+esac
19578 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19579 -+ (eval "$ac_compile") 2>conftest.er1
19580 - ac_status=$?
19581 - grep -v '^ *+' conftest.er1 >conftest.err
19582 - rm -f conftest.er1
19583 - cat conftest.err >&5
19584 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 - (exit $ac_status); } &&
19586 -- { ac_try='test -z "$ac_c_werror_flag"
19587 -- || test ! -s conftest.err'
19588 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19589 -- (eval $ac_try) 2>&5
19590 -+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19591 -+ { (case "(($ac_try" in
19592 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19593 -+ *) ac_try_echo=$ac_try;;
19594 -+esac
19595 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19596 -+ (eval "$ac_try") 2>&5
19597 - ac_status=$?
19598 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 - (exit $ac_status); }; } &&
19600 - { ac_try='test -s conftest.$ac_objext'
19601 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19602 -- (eval $ac_try) 2>&5
19603 -+ { (case "(($ac_try" in
19604 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19605 -+ *) ac_try_echo=$ac_try;;
19606 -+esac
19607 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19608 -+ (eval "$ac_try") 2>&5
19609 - ac_status=$?
19610 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611 - (exit $ac_status); }; }; then
19612 -@@ -18257,10 +21620,11 @@
19613 -
19614 - ncbi_cv_cpp_gnu_varargs=no
19615 - fi
19616 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19617 -+
19618 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19619 - fi
19620 --echo "$as_me:$LINENO: result: $ncbi_cv_cpp_gnu_varargs" >&5
19621 --echo "${ECHO_T}$ncbi_cv_cpp_gnu_varargs" >&6
19622 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_cpp_gnu_varargs" >&5
19623 -+echo "${ECHO_T}$ncbi_cv_cpp_gnu_varargs" >&6; }
19624 - if test "$ncbi_cv_cpp_gnu_varargs" = yes; then
19625 -
19626 - cat >>confdefs.h <<\_ACEOF
19627 -@@ -18269,7 +21633,7 @@
19628 -
19629 - fi
19630 -
19631 --ac_ext=cc
19632 -+ac_ext=cpp
19633 - ac_cpp='$CXXCPP $CPPFLAGS'
19634 - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19635 - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19636 -@@ -18292,8 +21656,8 @@
19637 - ;;
19638 - esac
19639 -
19640 --echo "$as_me:$LINENO: checking syntax for marking deprecated functions" >&5
19641 --echo $ECHO_N "checking syntax for marking deprecated functions... $ECHO_C" >&6
19642 -+{ echo "$as_me:$LINENO: checking syntax for marking deprecated functions" >&5
19643 -+echo $ECHO_N "checking syntax for marking deprecated functions... $ECHO_C" >&6; }
19644 - if test "${ncbi_cv_c_deprecation_syntax+set}" = set; then
19645 - echo $ECHO_N "(cached) $ECHO_C" >&6
19646 - else
19647 -@@ -18313,24 +21677,36 @@
19648 - }
19649 - _ACEOF
19650 - rm -f conftest.$ac_objext
19651 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19652 -- (eval $ac_compile) 2>conftest.er1
19653 -+if { (ac_try="$ac_compile"
19654 -+case "(($ac_try" in
19655 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19656 -+ *) ac_try_echo=$ac_try;;
19657 -+esac
19658 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19659 -+ (eval "$ac_compile") 2>conftest.er1
19660 - ac_status=$?
19661 - grep -v '^ *+' conftest.er1 >conftest.err
19662 - rm -f conftest.er1
19663 - cat conftest.err >&5
19664 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 - (exit $ac_status); } &&
19666 -- { ac_try='test -z "$ac_cxx_werror_flag"
19667 -- || test ! -s conftest.err'
19668 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19669 -- (eval $ac_try) 2>&5
19670 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19671 -+ { (case "(($ac_try" in
19672 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19673 -+ *) ac_try_echo=$ac_try;;
19674 -+esac
19675 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19676 -+ (eval "$ac_try") 2>&5
19677 - ac_status=$?
19678 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 - (exit $ac_status); }; } &&
19680 - { ac_try='test -s conftest.$ac_objext'
19681 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19682 -- (eval $ac_try) 2>&5
19683 -+ { (case "(($ac_try" in
19684 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19685 -+ *) ac_try_echo=$ac_try;;
19686 -+esac
19687 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19688 -+ (eval "$ac_try") 2>&5
19689 - ac_status=$?
19690 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19691 - (exit $ac_status); }; }; then
19692 -@@ -18341,10 +21717,11 @@
19693 -
19694 - ncbi_cv_c_deprecation_syntax=none
19695 - fi
19696 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19697 -+
19698 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19699 - fi
19700 --echo "$as_me:$LINENO: result: $ncbi_cv_c_deprecation_syntax" >&5
19701 --echo "${ECHO_T}$ncbi_cv_c_deprecation_syntax" >&6
19702 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_c_deprecation_syntax" >&5
19703 -+echo "${ECHO_T}$ncbi_cv_c_deprecation_syntax" >&6; }
19704 - depr=$ncbi_cv_c_deprecation_syntax
19705 - test "$depr" = "none" && depr=""
19706 -
19707 -@@ -18359,8 +21736,8 @@
19708 - ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19709 - ac_compiler_gnu=$ac_cv_c_compiler_gnu
19710 -
19711 --echo "$as_me:$LINENO: checking how to force inlining" >&5
19712 --echo $ECHO_N "checking how to force inlining... $ECHO_C" >&6
19713 -+{ echo "$as_me:$LINENO: checking how to force inlining" >&5
19714 -+echo $ECHO_N "checking how to force inlining... $ECHO_C" >&6; }
19715 - if test "${ncbi_cv_c_forceinline+set}" = set; then
19716 - echo $ECHO_N "(cached) $ECHO_C" >&6
19717 - else
19718 -@@ -18377,24 +21754,36 @@
19719 - $fi int f(void) { return 0; }
19720 - _ACEOF
19721 - rm -f conftest.$ac_objext
19722 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19723 -- (eval $ac_compile) 2>conftest.er1
19724 -+if { (ac_try="$ac_compile"
19725 -+case "(($ac_try" in
19726 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19727 -+ *) ac_try_echo=$ac_try;;
19728 -+esac
19729 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19730 -+ (eval "$ac_compile") 2>conftest.er1
19731 - ac_status=$?
19732 - grep -v '^ *+' conftest.er1 >conftest.err
19733 - rm -f conftest.er1
19734 - cat conftest.err >&5
19735 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19736 - (exit $ac_status); } &&
19737 -- { ac_try='test -z "$ac_c_werror_flag"
19738 -- || test ! -s conftest.err'
19739 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19740 -- (eval $ac_try) 2>&5
19741 -+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19742 -+ { (case "(($ac_try" in
19743 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19744 -+ *) ac_try_echo=$ac_try;;
19745 -+esac
19746 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19747 -+ (eval "$ac_try") 2>&5
19748 - ac_status=$?
19749 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 - (exit $ac_status); }; } &&
19751 - { ac_try='test -s conftest.$ac_objext'
19752 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19753 -- (eval $ac_try) 2>&5
19754 -+ { (case "(($ac_try" in
19755 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19756 -+ *) ac_try_echo=$ac_try;;
19757 -+esac
19758 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19759 -+ (eval "$ac_try") 2>&5
19760 - ac_status=$?
19761 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 - (exit $ac_status); }; }; then
19763 -@@ -18403,12 +21792,14 @@
19764 - echo "$as_me: failed program was:" >&5
19765 - sed 's/^/| /' conftest.$ac_ext >&5
19766 -
19767 -+
19768 - fi
19769 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19770 -+
19771 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19772 - done
19773 - fi
19774 --echo "$as_me:$LINENO: result: $ncbi_cv_c_forceinline" >&5
19775 --echo "${ECHO_T}$ncbi_cv_c_forceinline" >&6
19776 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_c_forceinline" >&5
19777 -+echo "${ECHO_T}$ncbi_cv_c_forceinline" >&6; }
19778 - forceinline=$ncbi_cv_c_forceinline
19779 - test "$forceinline" = "no" && forceinline=""
19780 -
19781 -@@ -18417,8 +21808,8 @@
19782 - _ACEOF
19783 -
19784 -
19785 --echo "$as_me:$LINENO: checking whether the C compiler supports __attribute__((destructor))" >&5
19786 --echo $ECHO_N "checking whether the C compiler supports __attribute__((destructor))... $ECHO_C" >&6
19787 -+{ echo "$as_me:$LINENO: checking whether the C compiler supports __attribute__((destructor))" >&5
19788 -+echo $ECHO_N "checking whether the C compiler supports __attribute__((destructor))... $ECHO_C" >&6; }
19789 - if test "${ncbi_cv_c_attribute_destructor+set}" = set; then
19790 - echo $ECHO_N "(cached) $ECHO_C" >&6
19791 - else
19792 -@@ -18438,24 +21829,36 @@
19793 - }
19794 - _ACEOF
19795 - rm -f conftest.$ac_objext
19796 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19797 -- (eval $ac_compile) 2>conftest.er1
19798 -+if { (ac_try="$ac_compile"
19799 -+case "(($ac_try" in
19800 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19801 -+ *) ac_try_echo=$ac_try;;
19802 -+esac
19803 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19804 -+ (eval "$ac_compile") 2>conftest.er1
19805 - ac_status=$?
19806 - grep -v '^ *+' conftest.er1 >conftest.err
19807 - rm -f conftest.er1
19808 - cat conftest.err >&5
19809 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19810 - (exit $ac_status); } &&
19811 -- { ac_try='test -z "$ac_c_werror_flag"
19812 -- || test ! -s conftest.err'
19813 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19814 -- (eval $ac_try) 2>&5
19815 -+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19816 -+ { (case "(($ac_try" in
19817 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19818 -+ *) ac_try_echo=$ac_try;;
19819 -+esac
19820 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19821 -+ (eval "$ac_try") 2>&5
19822 - ac_status=$?
19823 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824 - (exit $ac_status); }; } &&
19825 - { ac_try='test -s conftest.$ac_objext'
19826 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19827 -- (eval $ac_try) 2>&5
19828 -+ { (case "(($ac_try" in
19829 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19830 -+ *) ac_try_echo=$ac_try;;
19831 -+esac
19832 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19833 -+ (eval "$ac_try") 2>&5
19834 - ac_status=$?
19835 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 - (exit $ac_status); }; }; then
19837 -@@ -18466,10 +21869,11 @@
19838 -
19839 - ncbi_cv_c_attribute_destructor=no
19840 - fi
19841 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19842 -+
19843 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19844 - fi
19845 --echo "$as_me:$LINENO: result: $ncbi_cv_c_attribute_destructor" >&5
19846 --echo "${ECHO_T}$ncbi_cv_c_attribute_destructor" >&6
19847 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_c_attribute_destructor" >&5
19848 -+echo "${ECHO_T}$ncbi_cv_c_attribute_destructor" >&6; }
19849 - if test $ncbi_cv_c_attribute_destructor = yes; then
19850 -
19851 - cat >>confdefs.h <<\_ACEOF
19852 -@@ -18483,8 +21887,8 @@
19853 - * ) ncbi_cv_c_attribute_visibility_default=unnecessary ;;
19854 - esac
19855 -
19856 --echo "$as_me:$LINENO: checking whether $CC supports __attribute__((visibility(\"default\")))" >&5
19857 --echo $ECHO_N "checking whether $CC supports __attribute__((visibility(\"default\")))... $ECHO_C" >&6
19858 -+{ echo "$as_me:$LINENO: checking whether $CC supports __attribute__((visibility(\"default\")))" >&5
19859 -+echo $ECHO_N "checking whether $CC supports __attribute__((visibility(\"default\")))... $ECHO_C" >&6; }
19860 - if test "${ncbi_cv_c_attribute_visibility_default+set}" = set; then
19861 - echo $ECHO_N "(cached) $ECHO_C" >&6
19862 - else
19863 -@@ -18504,24 +21908,36 @@
19864 - }
19865 - _ACEOF
19866 - rm -f conftest.$ac_objext
19867 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19868 -- (eval $ac_compile) 2>conftest.er1
19869 -+if { (ac_try="$ac_compile"
19870 -+case "(($ac_try" in
19871 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19872 -+ *) ac_try_echo=$ac_try;;
19873 -+esac
19874 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19875 -+ (eval "$ac_compile") 2>conftest.er1
19876 - ac_status=$?
19877 - grep -v '^ *+' conftest.er1 >conftest.err
19878 - rm -f conftest.er1
19879 - cat conftest.err >&5
19880 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 - (exit $ac_status); } &&
19882 -- { ac_try='test -z "$ac_c_werror_flag"
19883 -- || test ! -s conftest.err'
19884 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19885 -- (eval $ac_try) 2>&5
19886 -+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19887 -+ { (case "(($ac_try" in
19888 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19889 -+ *) ac_try_echo=$ac_try;;
19890 -+esac
19891 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19892 -+ (eval "$ac_try") 2>&5
19893 - ac_status=$?
19894 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19895 - (exit $ac_status); }; } &&
19896 - { ac_try='test -s conftest.$ac_objext'
19897 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19898 -- (eval $ac_try) 2>&5
19899 -+ { (case "(($ac_try" in
19900 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19901 -+ *) ac_try_echo=$ac_try;;
19902 -+esac
19903 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19904 -+ (eval "$ac_try") 2>&5
19905 - ac_status=$?
19906 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 - (exit $ac_status); }; }; then
19908 -@@ -18532,10 +21948,11 @@
19909 -
19910 - ncbi_cv_c_attribute_visibility_default=no
19911 - fi
19912 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19913 -+
19914 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19915 - fi
19916 --echo "$as_me:$LINENO: result: $ncbi_cv_c_attribute_visibility_default" >&5
19917 --echo "${ECHO_T}$ncbi_cv_c_attribute_visibility_default" >&6
19918 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_c_attribute_visibility_default" >&5
19919 -+echo "${ECHO_T}$ncbi_cv_c_attribute_visibility_default" >&6; }
19920 - if test $ncbi_cv_c_attribute_visibility_default = yes; then
19921 -
19922 - cat >>confdefs.h <<\_ACEOF
19923 -@@ -18544,13 +21961,13 @@
19924 -
19925 - fi
19926 -
19927 --echo "$as_me:$LINENO: checking whether the C compiler supports C99 restrict" >&5
19928 --echo $ECHO_N "checking whether the C compiler supports C99 restrict... $ECHO_C" >&6
19929 -+{ echo "$as_me:$LINENO: checking whether the C compiler supports C99 restrict" >&5
19930 -+echo $ECHO_N "checking whether the C compiler supports C99 restrict... $ECHO_C" >&6; }
19931 - if test "${ncbi_cv_c_restrict+set}" = set; then
19932 - echo $ECHO_N "(cached) $ECHO_C" >&6
19933 - else
19934 - ncbi_cv_c_restrict=no
19935 -- for restrict in restrict __restrict__ __restrict; do
19936 -+ for restrict in __restrict__ __restrict restrict; do
19937 - test "$ncbi_cv_c_restrict" = "no" || break
19938 - cat >conftest.$ac_ext <<_ACEOF
19939 - /* confdefs.h. */
19940 -@@ -18561,24 +21978,36 @@
19941 - void f(int * $restrict p);
19942 - _ACEOF
19943 - rm -f conftest.$ac_objext
19944 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19945 -- (eval $ac_compile) 2>conftest.er1
19946 -+if { (ac_try="$ac_compile"
19947 -+case "(($ac_try" in
19948 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19949 -+ *) ac_try_echo=$ac_try;;
19950 -+esac
19951 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19952 -+ (eval "$ac_compile") 2>conftest.er1
19953 - ac_status=$?
19954 - grep -v '^ *+' conftest.er1 >conftest.err
19955 - rm -f conftest.er1
19956 - cat conftest.err >&5
19957 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958 - (exit $ac_status); } &&
19959 -- { ac_try='test -z "$ac_c_werror_flag"
19960 -- || test ! -s conftest.err'
19961 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19962 -- (eval $ac_try) 2>&5
19963 -+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19964 -+ { (case "(($ac_try" in
19965 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19966 -+ *) ac_try_echo=$ac_try;;
19967 -+esac
19968 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19969 -+ (eval "$ac_try") 2>&5
19970 - ac_status=$?
19971 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 - (exit $ac_status); }; } &&
19973 - { ac_try='test -s conftest.$ac_objext'
19974 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19975 -- (eval $ac_try) 2>&5
19976 -+ { (case "(($ac_try" in
19977 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19978 -+ *) ac_try_echo=$ac_try;;
19979 -+esac
19980 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19981 -+ (eval "$ac_try") 2>&5
19982 - ac_status=$?
19983 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 - (exit $ac_status); }; }; then
19985 -@@ -18587,12 +22016,14 @@
19986 - echo "$as_me: failed program was:" >&5
19987 - sed 's/^/| /' conftest.$ac_ext >&5
19988 -
19989 -+
19990 - fi
19991 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19992 -+
19993 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19994 - done
19995 - fi
19996 --echo "$as_me:$LINENO: result: $ncbi_cv_c_restrict" >&5
19997 --echo "${ECHO_T}$ncbi_cv_c_restrict" >&6
19998 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_c_restrict" >&5
19999 -+echo "${ECHO_T}$ncbi_cv_c_restrict" >&6; }
20000 - restrict=$ncbi_cv_c_restrict
20001 - test "$restrict" = "no" && restrict=""
20002 -
20003 -@@ -18607,20 +22038,20 @@
20004 - _ACEOF
20005 -
20006 - fi
20007 --ac_ext=cc
20008 -+ac_ext=cpp
20009 - ac_cpp='$CXXCPP $CPPFLAGS'
20010 - ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20011 - ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20012 - ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20013 -
20014 -
20015 --echo "$as_me:$LINENO: checking whether the C++ compiler supports C99 restrict" >&5
20016 --echo $ECHO_N "checking whether the C++ compiler supports C99 restrict... $ECHO_C" >&6
20017 -+{ echo "$as_me:$LINENO: checking whether the C++ compiler supports C99 restrict" >&5
20018 -+echo $ECHO_N "checking whether the C++ compiler supports C99 restrict... $ECHO_C" >&6; }
20019 - if test "${ncbi_cv_cxx_restrict+set}" = set; then
20020 - echo $ECHO_N "(cached) $ECHO_C" >&6
20021 - else
20022 - ncbi_cv_cxx_restrict=no
20023 -- for restrict in restrict __restrict__ __restrict; do
20024 -+ for restrict in __restrict__ __restrict restrict; do
20025 - test "$ncbi_cv_cxx_restrict" = "no" || break
20026 - cat >conftest.$ac_ext <<_ACEOF
20027 - /* confdefs.h. */
20028 -@@ -18631,24 +22062,36 @@
20029 - void f(int * $restrict p);
20030 - _ACEOF
20031 - rm -f conftest.$ac_objext
20032 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20033 -- (eval $ac_compile) 2>conftest.er1
20034 -+if { (ac_try="$ac_compile"
20035 -+case "(($ac_try" in
20036 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20037 -+ *) ac_try_echo=$ac_try;;
20038 -+esac
20039 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20040 -+ (eval "$ac_compile") 2>conftest.er1
20041 - ac_status=$?
20042 - grep -v '^ *+' conftest.er1 >conftest.err
20043 - rm -f conftest.er1
20044 - cat conftest.err >&5
20045 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046 - (exit $ac_status); } &&
20047 -- { ac_try='test -z "$ac_cxx_werror_flag"
20048 -- || test ! -s conftest.err'
20049 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20050 -- (eval $ac_try) 2>&5
20051 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20052 -+ { (case "(($ac_try" in
20053 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20054 -+ *) ac_try_echo=$ac_try;;
20055 -+esac
20056 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20057 -+ (eval "$ac_try") 2>&5
20058 - ac_status=$?
20059 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 - (exit $ac_status); }; } &&
20061 - { ac_try='test -s conftest.$ac_objext'
20062 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20063 -- (eval $ac_try) 2>&5
20064 -+ { (case "(($ac_try" in
20065 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20066 -+ *) ac_try_echo=$ac_try;;
20067 -+esac
20068 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20069 -+ (eval "$ac_try") 2>&5
20070 - ac_status=$?
20071 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20072 - (exit $ac_status); }; }; then
20073 -@@ -18657,12 +22100,14 @@
20074 - echo "$as_me: failed program was:" >&5
20075 - sed 's/^/| /' conftest.$ac_ext >&5
20076 -
20077 -+
20078 - fi
20079 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20080 -+
20081 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20082 - done
20083 - fi
20084 --echo "$as_me:$LINENO: result: $ncbi_cv_cxx_restrict" >&5
20085 --echo "${ECHO_T}$ncbi_cv_cxx_restrict" >&6
20086 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_cxx_restrict" >&5
20087 -+echo "${ECHO_T}$ncbi_cv_cxx_restrict" >&6; }
20088 - restrict=$ncbi_cv_cxx_restrict
20089 - test "$restrict" = "no" && restrict=""
20090 -
20091 -@@ -18678,8 +22123,8 @@
20092 -
20093 - fi
20094 -
20095 --echo "$as_me:$LINENO: checking syntax for marking functions that never return" >&5
20096 --echo $ECHO_N "checking syntax for marking functions that never return... $ECHO_C" >&6
20097 -+{ echo "$as_me:$LINENO: checking syntax for marking functions that never return" >&5
20098 -+echo $ECHO_N "checking syntax for marking functions that never return... $ECHO_C" >&6; }
20099 - if test "${ncbi_cv_c_noreturn+set}" = set; then
20100 - echo $ECHO_N "(cached) $ECHO_C" >&6
20101 - else
20102 -@@ -18699,24 +22144,36 @@
20103 - }
20104 - _ACEOF
20105 - rm -f conftest.$ac_objext
20106 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20107 -- (eval $ac_compile) 2>conftest.er1
20108 -+if { (ac_try="$ac_compile"
20109 -+case "(($ac_try" in
20110 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20111 -+ *) ac_try_echo=$ac_try;;
20112 -+esac
20113 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20114 -+ (eval "$ac_compile") 2>conftest.er1
20115 - ac_status=$?
20116 - grep -v '^ *+' conftest.er1 >conftest.err
20117 - rm -f conftest.er1
20118 - cat conftest.err >&5
20119 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20120 - (exit $ac_status); } &&
20121 -- { ac_try='test -z "$ac_cxx_werror_flag"
20122 -- || test ! -s conftest.err'
20123 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20124 -- (eval $ac_try) 2>&5
20125 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20126 -+ { (case "(($ac_try" in
20127 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20128 -+ *) ac_try_echo=$ac_try;;
20129 -+esac
20130 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20131 -+ (eval "$ac_try") 2>&5
20132 - ac_status=$?
20133 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20134 - (exit $ac_status); }; } &&
20135 - { ac_try='test -s conftest.$ac_objext'
20136 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20137 -- (eval $ac_try) 2>&5
20138 -+ { (case "(($ac_try" in
20139 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20140 -+ *) ac_try_echo=$ac_try;;
20141 -+esac
20142 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20143 -+ (eval "$ac_try") 2>&5
20144 - ac_status=$?
20145 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20146 - (exit $ac_status); }; }; then
20147 -@@ -18727,10 +22184,11 @@
20148 -
20149 - ncbi_cv_c_noreturn=none
20150 - fi
20151 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20152 -+
20153 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20154 - fi
20155 --echo "$as_me:$LINENO: result: $ncbi_cv_c_noreturn" >&5
20156 --echo "${ECHO_T}$ncbi_cv_c_noreturn" >&6
20157 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_c_noreturn" >&5
20158 -+echo "${ECHO_T}$ncbi_cv_c_noreturn" >&6; }
20159 - noret=$ncbi_cv_c_noreturn
20160 - test "$noret" = "none" && noret=""
20161 -
20162 -@@ -18739,8 +22197,8 @@
20163 - _ACEOF
20164 -
20165 -
20166 --echo "$as_me:$LINENO: checking syntax for declaring thread-local variables" >&5
20167 --echo $ECHO_N "checking syntax for declaring thread-local variables... $ECHO_C" >&6
20168 -+{ echo "$as_me:$LINENO: checking syntax for declaring thread-local variables" >&5
20169 -+echo $ECHO_N "checking syntax for declaring thread-local variables... $ECHO_C" >&6; }
20170 - if test "${ncbi_cv_c_tls_var+set}" = set; then
20171 - echo $ECHO_N "(cached) $ECHO_C" >&6
20172 - else
20173 -@@ -18763,24 +22221,36 @@
20174 - }
20175 - _ACEOF
20176 - rm -f conftest.$ac_objext
20177 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20178 -- (eval $ac_compile) 2>conftest.er1
20179 -+if { (ac_try="$ac_compile"
20180 -+case "(($ac_try" in
20181 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20182 -+ *) ac_try_echo=$ac_try;;
20183 -+esac
20184 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20185 -+ (eval "$ac_compile") 2>conftest.er1
20186 - ac_status=$?
20187 - grep -v '^ *+' conftest.er1 >conftest.err
20188 - rm -f conftest.er1
20189 - cat conftest.err >&5
20190 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20191 - (exit $ac_status); } &&
20192 -- { ac_try='test -z "$ac_cxx_werror_flag"
20193 -- || test ! -s conftest.err'
20194 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20195 -- (eval $ac_try) 2>&5
20196 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20197 -+ { (case "(($ac_try" in
20198 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20199 -+ *) ac_try_echo=$ac_try;;
20200 -+esac
20201 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20202 -+ (eval "$ac_try") 2>&5
20203 - ac_status=$?
20204 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 - (exit $ac_status); }; } &&
20206 - { ac_try='test -s conftest.$ac_objext'
20207 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20208 -- (eval $ac_try) 2>&5
20209 -+ { (case "(($ac_try" in
20210 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20211 -+ *) ac_try_echo=$ac_try;;
20212 -+esac
20213 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20214 -+ (eval "$ac_try") 2>&5
20215 - ac_status=$?
20216 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20217 - (exit $ac_status); }; }; then
20218 -@@ -18789,12 +22259,14 @@
20219 - echo "$as_me: failed program was:" >&5
20220 - sed 's/^/| /' conftest.$ac_ext >&5
20221 -
20222 -+
20223 - fi
20224 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20225 -+
20226 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20227 - done
20228 - fi
20229 --echo "$as_me:$LINENO: result: $ncbi_cv_c_tls_var" >&5
20230 --echo "${ECHO_T}$ncbi_cv_c_tls_var" >&6
20231 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_c_tls_var" >&5
20232 -+echo "${ECHO_T}$ncbi_cv_c_tls_var" >&6; }
20233 - tls_var=$ncbi_cv_c_tls_var
20234 - if test "$tls_var" != "none"; then
20235 -
20236 -@@ -18805,8 +22277,8 @@
20237 - fi
20238 -
20239 - # for FreeTDS
20240 --echo "$as_me:$LINENO: checking whether FIONBIO requires BSD_COMP to be defined" >&5
20241 --echo $ECHO_N "checking whether FIONBIO requires BSD_COMP to be defined... $ECHO_C" >&6
20242 -+{ echo "$as_me:$LINENO: checking whether FIONBIO requires BSD_COMP to be defined" >&5
20243 -+echo $ECHO_N "checking whether FIONBIO requires BSD_COMP to be defined... $ECHO_C" >&6; }
20244 - if test "${ncbi_cv_decl_fionbio_needs_bsd_comp+set}" = set; then
20245 - echo $ECHO_N "(cached) $ECHO_C" >&6
20246 - else
20247 -@@ -18827,24 +22299,36 @@
20248 - }
20249 - _ACEOF
20250 - rm -f conftest.$ac_objext
20251 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20252 -- (eval $ac_compile) 2>conftest.er1
20253 -+if { (ac_try="$ac_compile"
20254 -+case "(($ac_try" in
20255 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20256 -+ *) ac_try_echo=$ac_try;;
20257 -+esac
20258 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20259 -+ (eval "$ac_compile") 2>conftest.er1
20260 - ac_status=$?
20261 - grep -v '^ *+' conftest.er1 >conftest.err
20262 - rm -f conftest.er1
20263 - cat conftest.err >&5
20264 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265 - (exit $ac_status); } &&
20266 -- { ac_try='test -z "$ac_cxx_werror_flag"
20267 -- || test ! -s conftest.err'
20268 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20269 -- (eval $ac_try) 2>&5
20270 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20271 -+ { (case "(($ac_try" in
20272 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20273 -+ *) ac_try_echo=$ac_try;;
20274 -+esac
20275 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20276 -+ (eval "$ac_try") 2>&5
20277 - ac_status=$?
20278 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 - (exit $ac_status); }; } &&
20280 - { ac_try='test -s conftest.$ac_objext'
20281 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20282 -- (eval $ac_try) 2>&5
20283 -+ { (case "(($ac_try" in
20284 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20285 -+ *) ac_try_echo=$ac_try;;
20286 -+esac
20287 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20288 -+ (eval "$ac_try") 2>&5
20289 - ac_status=$?
20290 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20291 - (exit $ac_status); }; }; then
20292 -@@ -18871,24 +22355,36 @@
20293 - }
20294 - _ACEOF
20295 - rm -f conftest.$ac_objext
20296 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20297 -- (eval $ac_compile) 2>conftest.er1
20298 -+if { (ac_try="$ac_compile"
20299 -+case "(($ac_try" in
20300 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20301 -+ *) ac_try_echo=$ac_try;;
20302 -+esac
20303 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20304 -+ (eval "$ac_compile") 2>conftest.er1
20305 - ac_status=$?
20306 - grep -v '^ *+' conftest.er1 >conftest.err
20307 - rm -f conftest.er1
20308 - cat conftest.err >&5
20309 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 - (exit $ac_status); } &&
20311 -- { ac_try='test -z "$ac_cxx_werror_flag"
20312 -- || test ! -s conftest.err'
20313 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20314 -- (eval $ac_try) 2>&5
20315 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20316 -+ { (case "(($ac_try" in
20317 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20318 -+ *) ac_try_echo=$ac_try;;
20319 -+esac
20320 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20321 -+ (eval "$ac_try") 2>&5
20322 - ac_status=$?
20323 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 - (exit $ac_status); }; } &&
20325 - { ac_try='test -s conftest.$ac_objext'
20326 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20327 -- (eval $ac_try) 2>&5
20328 -+ { (case "(($ac_try" in
20329 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20330 -+ *) ac_try_echo=$ac_try;;
20331 -+esac
20332 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20333 -+ (eval "$ac_try") 2>&5
20334 - ac_status=$?
20335 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20336 - (exit $ac_status); }; }; then
20337 -@@ -18899,12 +22395,14 @@
20338 -
20339 - ncbi_cv_decl_fionbio_needs_bsd_comp="never defined at all"
20340 - fi
20341 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20342 -+
20343 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20344 - fi
20345 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20346 -+
20347 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20348 - fi
20349 --echo "$as_me:$LINENO: result: $ncbi_cv_decl_fionbio_needs_bsd_comp" >&5
20350 --echo "${ECHO_T}$ncbi_cv_decl_fionbio_needs_bsd_comp" >&6
20351 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_decl_fionbio_needs_bsd_comp" >&5
20352 -+echo "${ECHO_T}$ncbi_cv_decl_fionbio_needs_bsd_comp" >&6; }
20353 - if test "$ncbi_cv_decl_fionbio_needs_bsd_comp" = yes; then
20354 -
20355 - cat >>confdefs.h <<\_ACEOF
20356 -@@ -18913,8 +22411,8 @@
20357 -
20358 - fi
20359 -
20360 --echo "$as_me:$LINENO: checking whether INADDR_NONE is defined" >&5
20361 --echo $ECHO_N "checking whether INADDR_NONE is defined... $ECHO_C" >&6
20362 -+{ echo "$as_me:$LINENO: checking whether INADDR_NONE is defined" >&5
20363 -+echo $ECHO_N "checking whether INADDR_NONE is defined... $ECHO_C" >&6; }
20364 - if test "${ncbi_cv_decl_inaddr_none+set}" = set; then
20365 - echo $ECHO_N "(cached) $ECHO_C" >&6
20366 - else
20367 -@@ -18947,24 +22445,36 @@
20368 - }
20369 - _ACEOF
20370 - rm -f conftest.$ac_objext
20371 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20372 -- (eval $ac_compile) 2>conftest.er1
20373 -+if { (ac_try="$ac_compile"
20374 -+case "(($ac_try" in
20375 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20376 -+ *) ac_try_echo=$ac_try;;
20377 -+esac
20378 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20379 -+ (eval "$ac_compile") 2>conftest.er1
20380 - ac_status=$?
20381 - grep -v '^ *+' conftest.er1 >conftest.err
20382 - rm -f conftest.er1
20383 - cat conftest.err >&5
20384 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 - (exit $ac_status); } &&
20386 -- { ac_try='test -z "$ac_cxx_werror_flag"
20387 -- || test ! -s conftest.err'
20388 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20389 -- (eval $ac_try) 2>&5
20390 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20391 -+ { (case "(($ac_try" in
20392 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20393 -+ *) ac_try_echo=$ac_try;;
20394 -+esac
20395 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20396 -+ (eval "$ac_try") 2>&5
20397 - ac_status=$?
20398 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20399 - (exit $ac_status); }; } &&
20400 - { ac_try='test -s conftest.$ac_objext'
20401 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20402 -- (eval $ac_try) 2>&5
20403 -+ { (case "(($ac_try" in
20404 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20405 -+ *) ac_try_echo=$ac_try;;
20406 -+esac
20407 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20408 -+ (eval "$ac_try") 2>&5
20409 - ac_status=$?
20410 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 - (exit $ac_status); }; }; then
20412 -@@ -18975,10 +22485,11 @@
20413 -
20414 - ncbi_cv_decl_inaddr_none=no
20415 - fi
20416 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20417 -+
20418 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20419 - fi
20420 --echo "$as_me:$LINENO: result: $ncbi_cv_decl_inaddr_none" >&5
20421 --echo "${ECHO_T}$ncbi_cv_decl_inaddr_none" >&6
20422 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_decl_inaddr_none" >&5
20423 -+echo "${ECHO_T}$ncbi_cv_decl_inaddr_none" >&6; }
20424 - if test "$ncbi_cv_decl_inaddr_none" != yes; then
20425 -
20426 - cat >>confdefs.h <<\_ACEOF
20427 -@@ -18987,8 +22498,8 @@
20428 -
20429 - fi
20430 -
20431 --echo "$as_me:$LINENO: checking whether unaligned reads are permissible" >&5
20432 --echo $ECHO_N "checking whether unaligned reads are permissible... $ECHO_C" >&6
20433 -+{ echo "$as_me:$LINENO: checking whether unaligned reads are permissible" >&5
20434 -+echo $ECHO_N "checking whether unaligned reads are permissible... $ECHO_C" >&6; }
20435 - if test "${ncbi_cv_sys_unaligned_reads+set}" = set; then
20436 - echo $ECHO_N "(cached) $ECHO_C" >&6
20437 - else
20438 -@@ -19015,13 +22526,22 @@
20439 - }
20440 - _ACEOF
20441 - rm -f conftest$ac_exeext
20442 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20443 -- (eval $ac_link) 2>&5
20444 -+if { (ac_try="$ac_link"
20445 -+case "(($ac_try" in
20446 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20447 -+ *) ac_try_echo=$ac_try;;
20448 -+esac
20449 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20450 -+ (eval "$ac_link") 2>&5
20451 - ac_status=$?
20452 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20454 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20455 -- (eval $ac_try) 2>&5
20456 -+ { (case "(($ac_try" in
20457 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20458 -+ *) ac_try_echo=$ac_try;;
20459 -+esac
20460 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20461 -+ (eval "$ac_try") 2>&5
20462 - ac_status=$?
20463 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464 - (exit $ac_status); }; }; then
20465 -@@ -19034,76 +22554,17 @@
20466 - ( exit $ac_status )
20467 - ncbi_cv_sys_unaligned_reads=no
20468 - fi
20469 --rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20470 --fi
20471 --fi
20472 --echo "$as_me:$LINENO: result: $ncbi_cv_sys_unaligned_reads" >&5
20473 --echo "${ECHO_T}$ncbi_cv_sys_unaligned_reads" >&6
20474 --if test "$ncbi_cv_sys_unaligned_reads" = yes; then
20475 --
20476 --cat >>confdefs.h <<\_ACEOF
20477 --#define HAVE_UNALIGNED_READS 1
20478 --_ACEOF
20479 --
20480 -+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20481 - fi
20482 -
20483 --echo "$as_me:$LINENO: checking whether $CXX supports C++0x nullptr" >&5
20484 --echo $ECHO_N "checking whether $CXX supports C++0x nullptr... $ECHO_C" >&6
20485 --if test "${ncbi_cv_cxx_nullptr+set}" = set; then
20486 -- echo $ECHO_N "(cached) $ECHO_C" >&6
20487 --else
20488 -- cat >conftest.$ac_ext <<_ACEOF
20489 --/* confdefs.h. */
20490 --_ACEOF
20491 --cat confdefs.h >>conftest.$ac_ext
20492 --cat >>conftest.$ac_ext <<_ACEOF
20493 --/* end confdefs.h. */
20494 --
20495 --int
20496 --main ()
20497 --{
20498 --void * p = nullptr;
20499 -- ;
20500 -- return 0;
20501 --}
20502 --_ACEOF
20503 --rm -f conftest.$ac_objext
20504 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20505 -- (eval $ac_compile) 2>conftest.er1
20506 -- ac_status=$?
20507 -- grep -v '^ *+' conftest.er1 >conftest.err
20508 -- rm -f conftest.er1
20509 -- cat conftest.err >&5
20510 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 -- (exit $ac_status); } &&
20512 -- { ac_try='test -z "$ac_cxx_werror_flag"
20513 -- || test ! -s conftest.err'
20514 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20515 -- (eval $ac_try) 2>&5
20516 -- ac_status=$?
20517 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 -- (exit $ac_status); }; } &&
20519 -- { ac_try='test -s conftest.$ac_objext'
20520 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20521 -- (eval $ac_try) 2>&5
20522 -- ac_status=$?
20523 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
20524 -- (exit $ac_status); }; }; then
20525 -- ncbi_cv_cxx_nullptr=yes
20526 --else
20527 -- echo "$as_me: failed program was:" >&5
20528 --sed 's/^/| /' conftest.$ac_ext >&5
20529 -
20530 --ncbi_cv_cxx_nullptr=no
20531 --fi
20532 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20533 - fi
20534 --echo "$as_me:$LINENO: result: $ncbi_cv_cxx_nullptr" >&5
20535 --echo "${ECHO_T}$ncbi_cv_cxx_nullptr" >&6
20536 --if test "$ncbi_cv_cxx_nullptr" = yes; then
20537 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_sys_unaligned_reads" >&5
20538 -+echo "${ECHO_T}$ncbi_cv_sys_unaligned_reads" >&6; }
20539 -+if test "$ncbi_cv_sys_unaligned_reads" = yes; then
20540 -
20541 - cat >>confdefs.h <<\_ACEOF
20542 --#define HAVE_NULLPTR 1
20543 -+#define HAVE_UNALIGNED_READS 1
20544 - _ACEOF
20545 -
20546 - fi
20547 -@@ -19112,23 +22573,23 @@
20548 - ### --------------------------------------------
20549 -
20550 -
20551 --echo "$as_me:$LINENO: checking whether in-house NCBI resources are available" >&5
20552 --echo $ECHO_N "checking whether in-house NCBI resources are available... $ECHO_C" >&6
20553 -+{ echo "$as_me:$LINENO: checking whether in-house NCBI resources are available" >&5
20554 -+echo $ECHO_N "checking whether in-house NCBI resources are available... $ECHO_C" >&6; }
20555 - if test -n "$orig_NCBI" -a -f "$orig_NCBI/.ncbirc" \
20556 - -a -d /am/coremake_builds/test_data; \
20557 - then
20558 - WithFeatures="$WithFeatures${WithFeaturesSep}in-house-resources"; WithFeaturesSep=" "
20559 -- echo "$as_me:$LINENO: result: yes" >&5
20560 --echo "${ECHO_T}yes" >&6
20561 -+ { echo "$as_me:$LINENO: result: yes" >&5
20562 -+echo "${ECHO_T}yes" >&6; }
20563 - else
20564 -- echo "$as_me:$LINENO: result: no" >&5
20565 --echo "${ECHO_T}no" >&6
20566 -+ { echo "$as_me:$LINENO: result: no" >&5
20567 -+echo "${ECHO_T}no" >&6; }
20568 - fi
20569 -
20570 - ### Common-use system and miscellaneous libs
20571 - if test -z "${NETWORK_LIBS+set}"; then
20572 -- echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
20573 --echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
20574 -+ { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
20575 -+echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
20576 - if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
20577 - echo $ECHO_N "(cached) $ECHO_C" >&6
20578 - else
20579 -@@ -19141,40 +22602,52 @@
20580 - cat >>conftest.$ac_ext <<_ACEOF
20581 - /* end confdefs.h. */
20582 -
20583 --/* Override any gcc2 internal prototype to avoid an error. */
20584 -+/* Override any GCC internal prototype to avoid an error.
20585 -+ Use char because int might match the return type of a GCC
20586 -+ builtin and then its argument prototype would still apply. */
20587 - #ifdef __cplusplus
20588 - extern "C"
20589 - #endif
20590 --/* We use char because int might match the return type of a gcc2
20591 -- builtin and then its argument prototype would still apply. */
20592 - char gethostbyname ();
20593 - int
20594 - main ()
20595 - {
20596 --gethostbyname ();
20597 -+return gethostbyname ();
20598 - ;
20599 - return 0;
20600 - }
20601 - _ACEOF
20602 - rm -f conftest.$ac_objext conftest$ac_exeext
20603 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20604 -- (eval $ac_link) 2>conftest.er1
20605 -+if { (ac_try="$ac_link"
20606 -+case "(($ac_try" in
20607 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20608 -+ *) ac_try_echo=$ac_try;;
20609 -+esac
20610 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20611 -+ (eval "$ac_link") 2>conftest.er1
20612 - ac_status=$?
20613 - grep -v '^ *+' conftest.er1 >conftest.err
20614 - rm -f conftest.er1
20615 - cat conftest.err >&5
20616 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 - (exit $ac_status); } &&
20618 -- { ac_try='test -z "$ac_cxx_werror_flag"
20619 -- || test ! -s conftest.err'
20620 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20621 -- (eval $ac_try) 2>&5
20622 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20623 -+ { (case "(($ac_try" in
20624 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20625 -+ *) ac_try_echo=$ac_try;;
20626 -+esac
20627 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20628 -+ (eval "$ac_try") 2>&5
20629 - ac_status=$?
20630 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631 - (exit $ac_status); }; } &&
20632 - { ac_try='test -s conftest$ac_exeext'
20633 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20634 -- (eval $ac_try) 2>&5
20635 -+ { (case "(($ac_try" in
20636 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20637 -+ *) ac_try_echo=$ac_try;;
20638 -+esac
20639 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20640 -+ (eval "$ac_try") 2>&5
20641 - ac_status=$?
20642 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20643 - (exit $ac_status); }; }; then
20644 -@@ -19185,20 +22658,21 @@
20645 -
20646 - ac_cv_lib_nsl_gethostbyname=no
20647 - fi
20648 --rm -f conftest.err conftest.$ac_objext \
20649 -+
20650 -+rm -f core conftest.err conftest.$ac_objext \
20651 - conftest$ac_exeext conftest.$ac_ext
20652 - LIBS=$ac_check_lib_save_LIBS
20653 - fi
20654 --echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
20655 --echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
20656 -+{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
20657 -+echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
20658 - if test $ac_cv_lib_nsl_gethostbyname = yes; then
20659 - libnsl=-lnsl
20660 - else
20661 - libnsl=
20662 - fi
20663 -
20664 -- echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
20665 --echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
20666 -+ { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
20667 -+echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
20668 - if test "${ac_cv_lib_socket_connect+set}" = set; then
20669 - echo $ECHO_N "(cached) $ECHO_C" >&6
20670 - else
20671 -@@ -19211,40 +22685,52 @@
20672 - cat >>conftest.$ac_ext <<_ACEOF
20673 - /* end confdefs.h. */
20674 -
20675 --/* Override any gcc2 internal prototype to avoid an error. */
20676 -+/* Override any GCC internal prototype to avoid an error.
20677 -+ Use char because int might match the return type of a GCC
20678 -+ builtin and then its argument prototype would still apply. */
20679 - #ifdef __cplusplus
20680 - extern "C"
20681 - #endif
20682 --/* We use char because int might match the return type of a gcc2
20683 -- builtin and then its argument prototype would still apply. */
20684 - char connect ();
20685 - int
20686 - main ()
20687 - {
20688 --connect ();
20689 -+return connect ();
20690 - ;
20691 - return 0;
20692 - }
20693 - _ACEOF
20694 - rm -f conftest.$ac_objext conftest$ac_exeext
20695 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20696 -- (eval $ac_link) 2>conftest.er1
20697 -+if { (ac_try="$ac_link"
20698 -+case "(($ac_try" in
20699 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20700 -+ *) ac_try_echo=$ac_try;;
20701 -+esac
20702 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20703 -+ (eval "$ac_link") 2>conftest.er1
20704 - ac_status=$?
20705 - grep -v '^ *+' conftest.er1 >conftest.err
20706 - rm -f conftest.er1
20707 - cat conftest.err >&5
20708 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 - (exit $ac_status); } &&
20710 -- { ac_try='test -z "$ac_cxx_werror_flag"
20711 -- || test ! -s conftest.err'
20712 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20713 -- (eval $ac_try) 2>&5
20714 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20715 -+ { (case "(($ac_try" in
20716 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20717 -+ *) ac_try_echo=$ac_try;;
20718 -+esac
20719 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20720 -+ (eval "$ac_try") 2>&5
20721 - ac_status=$?
20722 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 - (exit $ac_status); }; } &&
20724 - { ac_try='test -s conftest$ac_exeext'
20725 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20726 -- (eval $ac_try) 2>&5
20727 -+ { (case "(($ac_try" in
20728 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20729 -+ *) ac_try_echo=$ac_try;;
20730 -+esac
20731 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20732 -+ (eval "$ac_try") 2>&5
20733 - ac_status=$?
20734 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 - (exit $ac_status); }; }; then
20736 -@@ -19255,12 +22741,13 @@
20737 -
20738 - ac_cv_lib_socket_connect=no
20739 - fi
20740 --rm -f conftest.err conftest.$ac_objext \
20741 -+
20742 -+rm -f core conftest.err conftest.$ac_objext \
20743 - conftest$ac_exeext conftest.$ac_ext
20744 - LIBS=$ac_check_lib_save_LIBS
20745 - fi
20746 --echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
20747 --echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
20748 -+{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
20749 -+echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
20750 - if test $ac_cv_lib_socket_connect = yes; then
20751 - NETWORK_LIBS="-lsocket $libnsl"
20752 - else
20753 -@@ -19268,8 +22755,8 @@
20754 - fi
20755 -
20756 - fi
20757 --echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
20758 --echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6
20759 -+{ echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
20760 -+echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; }
20761 - if test "${ac_cv_lib_resolv_res_search+set}" = set; then
20762 - echo $ECHO_N "(cached) $ECHO_C" >&6
20763 - else
20764 -@@ -19292,24 +22779,36 @@
20765 - }
20766 - _ACEOF
20767 - rm -f conftest.$ac_objext conftest$ac_exeext
20768 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20769 -- (eval $ac_link) 2>conftest.er1
20770 -+if { (ac_try="$ac_link"
20771 -+case "(($ac_try" in
20772 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20773 -+ *) ac_try_echo=$ac_try;;
20774 -+esac
20775 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20776 -+ (eval "$ac_link") 2>conftest.er1
20777 - ac_status=$?
20778 - grep -v '^ *+' conftest.er1 >conftest.err
20779 - rm -f conftest.er1
20780 - cat conftest.err >&5
20781 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782 - (exit $ac_status); } &&
20783 -- { ac_try='test -z "$ac_cxx_werror_flag"
20784 -- || test ! -s conftest.err'
20785 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20786 -- (eval $ac_try) 2>&5
20787 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20788 -+ { (case "(($ac_try" in
20789 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20790 -+ *) ac_try_echo=$ac_try;;
20791 -+esac
20792 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20793 -+ (eval "$ac_try") 2>&5
20794 - ac_status=$?
20795 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 - (exit $ac_status); }; } &&
20797 - { ac_try='test -s conftest$ac_exeext'
20798 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20799 -- (eval $ac_try) 2>&5
20800 -+ { (case "(($ac_try" in
20801 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20802 -+ *) ac_try_echo=$ac_try;;
20803 -+esac
20804 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20805 -+ (eval "$ac_try") 2>&5
20806 - ac_status=$?
20807 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 - (exit $ac_status); }; }; then
20809 -@@ -19320,12 +22819,13 @@
20810 -
20811 - ac_cv_lib_resolv_res_search=no
20812 - fi
20813 --rm -f conftest.err conftest.$ac_objext \
20814 -+
20815 -+rm -f core conftest.err conftest.$ac_objext \
20816 - conftest$ac_exeext conftest.$ac_ext
20817 - LIBS=$orig_LIBS
20818 - fi
20819 --echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5
20820 --echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6
20821 -+{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5
20822 -+echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6; }
20823 - if test "$ac_cv_lib_resolv_res_search" = "yes"; then
20824 - RESOLVER_LIBS=-lresolv
20825 - else
20826 -@@ -19338,9 +22838,9 @@
20827 - for ac_func in inet_ntoa_r
20828 - do
20829 - as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20830 --echo "$as_me:$LINENO: checking for $ac_func" >&5
20831 --echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20832 --if eval "test \"\${$as_ac_var+set}\" = set"; then
20833 -+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
20834 -+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20835 -+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20836 - echo $ECHO_N "(cached) $ECHO_C" >&6
20837 - else
20838 - cat >conftest.$ac_ext <<_ACEOF
20839 -@@ -19366,53 +22866,59 @@
20840 -
20841 - #undef $ac_func
20842 -
20843 --/* Override any gcc2 internal prototype to avoid an error. */
20844 -+/* Override any GCC internal prototype to avoid an error.
20845 -+ Use char because int might match the return type of a GCC
20846 -+ builtin and then its argument prototype would still apply. */
20847 - #ifdef __cplusplus
20848 - extern "C"
20849 --{
20850 - #endif
20851 --/* We use char because int might match the return type of a gcc2
20852 -- builtin and then its argument prototype would still apply. */
20853 - char $ac_func ();
20854 - /* The GNU C library defines this for functions which it implements
20855 - to always fail with ENOSYS. Some functions are actually named
20856 - something starting with __ and the normal name is an alias. */
20857 --#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20858 -+#if defined __stub_$ac_func || defined __stub___$ac_func
20859 - choke me
20860 --#else
20861 --char (*f) () = $ac_func;
20862 --#endif
20863 --#ifdef __cplusplus
20864 --}
20865 - #endif
20866 -
20867 - int
20868 - main ()
20869 - {
20870 --return f != $ac_func;
20871 -+return $ac_func ();
20872 - ;
20873 - return 0;
20874 - }
20875 - _ACEOF
20876 - rm -f conftest.$ac_objext conftest$ac_exeext
20877 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20878 -- (eval $ac_link) 2>conftest.er1
20879 -+if { (ac_try="$ac_link"
20880 -+case "(($ac_try" in
20881 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20882 -+ *) ac_try_echo=$ac_try;;
20883 -+esac
20884 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20885 -+ (eval "$ac_link") 2>conftest.er1
20886 - ac_status=$?
20887 - grep -v '^ *+' conftest.er1 >conftest.err
20888 - rm -f conftest.er1
20889 - cat conftest.err >&5
20890 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 - (exit $ac_status); } &&
20892 -- { ac_try='test -z "$ac_cxx_werror_flag"
20893 -- || test ! -s conftest.err'
20894 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20895 -- (eval $ac_try) 2>&5
20896 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20897 -+ { (case "(($ac_try" in
20898 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20899 -+ *) ac_try_echo=$ac_try;;
20900 -+esac
20901 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20902 -+ (eval "$ac_try") 2>&5
20903 - ac_status=$?
20904 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20905 - (exit $ac_status); }; } &&
20906 - { ac_try='test -s conftest$ac_exeext'
20907 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20908 -- (eval $ac_try) 2>&5
20909 -+ { (case "(($ac_try" in
20910 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20911 -+ *) ac_try_echo=$ac_try;;
20912 -+esac
20913 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20914 -+ (eval "$ac_try") 2>&5
20915 - ac_status=$?
20916 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20917 - (exit $ac_status); }; }; then
20918 -@@ -19423,11 +22929,13 @@
20919 -
20920 - eval "$as_ac_var=no"
20921 - fi
20922 --rm -f conftest.err conftest.$ac_objext \
20923 -+
20924 -+rm -f core conftest.err conftest.$ac_objext \
20925 - conftest$ac_exeext conftest.$ac_ext
20926 - fi
20927 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20928 --echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20929 -+ac_res=`eval echo '${'$as_ac_var'}'`
20930 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
20931 -+echo "${ECHO_T}$ac_res" >&6; }
20932 - if test `eval echo '${'$as_ac_var'}'` = yes; then
20933 - cat >>confdefs.h <<_ACEOF
20934 - #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20935 -@@ -19436,8 +22944,8 @@
20936 - fi
20937 - done
20938 -
20939 --echo "$as_me:$LINENO: checking for getaddrinfo" >&5
20940 --echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6
20941 -+{ echo "$as_me:$LINENO: checking for getaddrinfo" >&5
20942 -+echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6; }
20943 - if test "${ac_cv_func_getaddrinfo+set}" = set; then
20944 - echo $ECHO_N "(cached) $ECHO_C" >&6
20945 - else
20946 -@@ -19457,24 +22965,36 @@
20947 - }
20948 - _ACEOF
20949 - rm -f conftest.$ac_objext conftest$ac_exeext
20950 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20951 -- (eval $ac_link) 2>conftest.er1
20952 -+if { (ac_try="$ac_link"
20953 -+case "(($ac_try" in
20954 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20955 -+ *) ac_try_echo=$ac_try;;
20956 -+esac
20957 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20958 -+ (eval "$ac_link") 2>conftest.er1
20959 - ac_status=$?
20960 - grep -v '^ *+' conftest.er1 >conftest.err
20961 - rm -f conftest.er1
20962 - cat conftest.err >&5
20963 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 - (exit $ac_status); } &&
20965 -- { ac_try='test -z "$ac_cxx_werror_flag"
20966 -- || test ! -s conftest.err'
20967 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20968 -- (eval $ac_try) 2>&5
20969 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20970 -+ { (case "(($ac_try" in
20971 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20972 -+ *) ac_try_echo=$ac_try;;
20973 -+esac
20974 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20975 -+ (eval "$ac_try") 2>&5
20976 - ac_status=$?
20977 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 - (exit $ac_status); }; } &&
20979 - { ac_try='test -s conftest$ac_exeext'
20980 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20981 -- (eval $ac_try) 2>&5
20982 -+ { (case "(($ac_try" in
20983 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20984 -+ *) ac_try_echo=$ac_try;;
20985 -+esac
20986 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20987 -+ (eval "$ac_try") 2>&5
20988 - ac_status=$?
20989 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 - (exit $ac_status); }; }; then
20991 -@@ -19485,19 +23005,20 @@
20992 -
20993 - ac_cv_func_getaddrinfo=no
20994 - fi
20995 --rm -f conftest.err conftest.$ac_objext \
20996 -+
20997 -+rm -f core conftest.err conftest.$ac_objext \
20998 - conftest$ac_exeext conftest.$ac_ext
20999 - fi
21000 --echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
21001 --echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6
21002 -+{ echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
21003 -+echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6; }
21004 - test "$ac_cv_func_getaddrinfo" = "yes" && \
21005 -
21006 - cat >>confdefs.h <<\_ACEOF
21007 - #define HAVE_GETADDRINFO 1
21008 - _ACEOF
21009 -
21010 --echo "$as_me:$LINENO: checking for getnameinfo" >&5
21011 --echo $ECHO_N "checking for getnameinfo... $ECHO_C" >&6
21012 -+{ echo "$as_me:$LINENO: checking for getnameinfo" >&5
21013 -+echo $ECHO_N "checking for getnameinfo... $ECHO_C" >&6; }
21014 - if test "${ac_cv_func_getnameinfo+set}" = set; then
21015 - echo $ECHO_N "(cached) $ECHO_C" >&6
21016 - else
21017 -@@ -19520,24 +23041,36 @@
21018 - }
21019 - _ACEOF
21020 - rm -f conftest.$ac_objext conftest$ac_exeext
21021 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21022 -- (eval $ac_link) 2>conftest.er1
21023 -+if { (ac_try="$ac_link"
21024 -+case "(($ac_try" in
21025 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21026 -+ *) ac_try_echo=$ac_try;;
21027 -+esac
21028 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21029 -+ (eval "$ac_link") 2>conftest.er1
21030 - ac_status=$?
21031 - grep -v '^ *+' conftest.er1 >conftest.err
21032 - rm -f conftest.er1
21033 - cat conftest.err >&5
21034 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 - (exit $ac_status); } &&
21036 -- { ac_try='test -z "$ac_cxx_werror_flag"
21037 -- || test ! -s conftest.err'
21038 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21039 -- (eval $ac_try) 2>&5
21040 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21041 -+ { (case "(($ac_try" in
21042 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21043 -+ *) ac_try_echo=$ac_try;;
21044 -+esac
21045 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21046 -+ (eval "$ac_try") 2>&5
21047 - ac_status=$?
21048 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049 - (exit $ac_status); }; } &&
21050 - { ac_try='test -s conftest$ac_exeext'
21051 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21052 -- (eval $ac_try) 2>&5
21053 -+ { (case "(($ac_try" in
21054 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21055 -+ *) ac_try_echo=$ac_try;;
21056 -+esac
21057 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21058 -+ (eval "$ac_try") 2>&5
21059 - ac_status=$?
21060 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061 - (exit $ac_status); }; }; then
21062 -@@ -19548,11 +23081,12 @@
21063 -
21064 - ac_cv_func_getnameinfo=no
21065 - fi
21066 --rm -f conftest.err conftest.$ac_objext \
21067 -+
21068 -+rm -f core conftest.err conftest.$ac_objext \
21069 - conftest$ac_exeext conftest.$ac_ext
21070 - fi
21071 --echo "$as_me:$LINENO: result: $ac_cv_func_getnameinfo" >&5
21072 --echo "${ECHO_T}$ac_cv_func_getnameinfo" >&6
21073 -+{ echo "$as_me:$LINENO: result: $ac_cv_func_getnameinfo" >&5
21074 -+echo "${ECHO_T}$ac_cv_func_getnameinfo" >&6; }
21075 - test "$ac_cv_func_getnameinfo" = "yes" && \
21076 -
21077 - cat >>confdefs.h <<\_ACEOF
21078 -@@ -19568,9 +23102,9 @@
21079 - inet_ntop
21080 - do
21081 - as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21082 --echo "$as_me:$LINENO: checking for $ac_func" >&5
21083 --echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21084 --if eval "test \"\${$as_ac_var+set}\" = set"; then
21085 -+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21086 -+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21087 -+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21088 - echo $ECHO_N "(cached) $ECHO_C" >&6
21089 - else
21090 - cat >conftest.$ac_ext <<_ACEOF
21091 -@@ -19596,53 +23130,59 @@
21092 -
21093 - #undef $ac_func
21094 -
21095 --/* Override any gcc2 internal prototype to avoid an error. */
21096 -+/* Override any GCC internal prototype to avoid an error.
21097 -+ Use char because int might match the return type of a GCC
21098 -+ builtin and then its argument prototype would still apply. */
21099 - #ifdef __cplusplus
21100 - extern "C"
21101 --{
21102 - #endif
21103 --/* We use char because int might match the return type of a gcc2
21104 -- builtin and then its argument prototype would still apply. */
21105 - char $ac_func ();
21106 - /* The GNU C library defines this for functions which it implements
21107 - to always fail with ENOSYS. Some functions are actually named
21108 - something starting with __ and the normal name is an alias. */
21109 --#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21110 -+#if defined __stub_$ac_func || defined __stub___$ac_func
21111 - choke me
21112 --#else
21113 --char (*f) () = $ac_func;
21114 --#endif
21115 --#ifdef __cplusplus
21116 --}
21117 - #endif
21118 -
21119 - int
21120 - main ()
21121 - {
21122 --return f != $ac_func;
21123 -+return $ac_func ();
21124 - ;
21125 - return 0;
21126 - }
21127 - _ACEOF
21128 - rm -f conftest.$ac_objext conftest$ac_exeext
21129 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21130 -- (eval $ac_link) 2>conftest.er1
21131 -+if { (ac_try="$ac_link"
21132 -+case "(($ac_try" in
21133 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21134 -+ *) ac_try_echo=$ac_try;;
21135 -+esac
21136 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21137 -+ (eval "$ac_link") 2>conftest.er1
21138 - ac_status=$?
21139 - grep -v '^ *+' conftest.er1 >conftest.err
21140 - rm -f conftest.er1
21141 - cat conftest.err >&5
21142 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21143 - (exit $ac_status); } &&
21144 -- { ac_try='test -z "$ac_cxx_werror_flag"
21145 -- || test ! -s conftest.err'
21146 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21147 -- (eval $ac_try) 2>&5
21148 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21149 -+ { (case "(($ac_try" in
21150 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21151 -+ *) ac_try_echo=$ac_try;;
21152 -+esac
21153 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21154 -+ (eval "$ac_try") 2>&5
21155 - ac_status=$?
21156 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 - (exit $ac_status); }; } &&
21158 - { ac_try='test -s conftest$ac_exeext'
21159 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21160 -- (eval $ac_try) 2>&5
21161 -+ { (case "(($ac_try" in
21162 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21163 -+ *) ac_try_echo=$ac_try;;
21164 -+esac
21165 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21166 -+ (eval "$ac_try") 2>&5
21167 - ac_status=$?
21168 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 - (exit $ac_status); }; }; then
21170 -@@ -19653,11 +23193,13 @@
21171 -
21172 - eval "$as_ac_var=no"
21173 - fi
21174 --rm -f conftest.err conftest.$ac_objext \
21175 -+
21176 -+rm -f core conftest.err conftest.$ac_objext \
21177 - conftest$ac_exeext conftest.$ac_ext
21178 - fi
21179 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21180 --echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21181 -+ac_res=`eval echo '${'$as_ac_var'}'`
21182 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
21183 -+echo "${ECHO_T}$ac_res" >&6; }
21184 - if test `eval echo '${'$as_ac_var'}'` = yes; then
21185 - cat >>confdefs.h <<_ACEOF
21186 - #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21187 -@@ -19680,9 +23222,9 @@
21188 - for ac_func in erf
21189 - do
21190 - as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21191 --echo "$as_me:$LINENO: checking for $ac_func" >&5
21192 --echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21193 --if eval "test \"\${$as_ac_var+set}\" = set"; then
21194 -+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21195 -+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21196 -+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21197 - echo $ECHO_N "(cached) $ECHO_C" >&6
21198 - else
21199 - cat >conftest.$ac_ext <<_ACEOF
21200 -@@ -19708,53 +23250,59 @@
21201 -
21202 - #undef $ac_func
21203 -
21204 --/* Override any gcc2 internal prototype to avoid an error. */
21205 -+/* Override any GCC internal prototype to avoid an error.
21206 -+ Use char because int might match the return type of a GCC
21207 -+ builtin and then its argument prototype would still apply. */
21208 - #ifdef __cplusplus
21209 - extern "C"
21210 --{
21211 - #endif
21212 --/* We use char because int might match the return type of a gcc2
21213 -- builtin and then its argument prototype would still apply. */
21214 - char $ac_func ();
21215 - /* The GNU C library defines this for functions which it implements
21216 - to always fail with ENOSYS. Some functions are actually named
21217 - something starting with __ and the normal name is an alias. */
21218 --#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21219 -+#if defined __stub_$ac_func || defined __stub___$ac_func
21220 - choke me
21221 --#else
21222 --char (*f) () = $ac_func;
21223 --#endif
21224 --#ifdef __cplusplus
21225 --}
21226 - #endif
21227 -
21228 - int
21229 - main ()
21230 - {
21231 --return f != $ac_func;
21232 -+return $ac_func ();
21233 - ;
21234 - return 0;
21235 - }
21236 - _ACEOF
21237 - rm -f conftest.$ac_objext conftest$ac_exeext
21238 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21239 -- (eval $ac_link) 2>conftest.er1
21240 -+if { (ac_try="$ac_link"
21241 -+case "(($ac_try" in
21242 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21243 -+ *) ac_try_echo=$ac_try;;
21244 -+esac
21245 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21246 -+ (eval "$ac_link") 2>conftest.er1
21247 - ac_status=$?
21248 - grep -v '^ *+' conftest.er1 >conftest.err
21249 - rm -f conftest.er1
21250 - cat conftest.err >&5
21251 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 - (exit $ac_status); } &&
21253 -- { ac_try='test -z "$ac_cxx_werror_flag"
21254 -- || test ! -s conftest.err'
21255 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21256 -- (eval $ac_try) 2>&5
21257 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21258 -+ { (case "(($ac_try" in
21259 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21260 -+ *) ac_try_echo=$ac_try;;
21261 -+esac
21262 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21263 -+ (eval "$ac_try") 2>&5
21264 - ac_status=$?
21265 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21266 - (exit $ac_status); }; } &&
21267 - { ac_try='test -s conftest$ac_exeext'
21268 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21269 -- (eval $ac_try) 2>&5
21270 -+ { (case "(($ac_try" in
21271 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21272 -+ *) ac_try_echo=$ac_try;;
21273 -+esac
21274 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21275 -+ (eval "$ac_try") 2>&5
21276 - ac_status=$?
21277 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 - (exit $ac_status); }; }; then
21279 -@@ -19765,11 +23313,13 @@
21280 -
21281 - eval "$as_ac_var=no"
21282 - fi
21283 --rm -f conftest.err conftest.$ac_objext \
21284 -+
21285 -+rm -f core conftest.err conftest.$ac_objext \
21286 - conftest$ac_exeext conftest.$ac_ext
21287 - fi
21288 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21289 --echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21290 -+ac_res=`eval echo '${'$as_ac_var'}'`
21291 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
21292 -+echo "${ECHO_T}$ac_res" >&6; }
21293 - if test `eval echo '${'$as_ac_var'}'` = yes; then
21294 - cat >>confdefs.h <<_ACEOF
21295 - #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21296 -@@ -19780,13 +23330,12 @@
21297 -
21298 -
21299 - saved_LIBS=$LIBS
21300 -- echo "$as_me:$LINENO: checking for library containing kstat_open" >&5
21301 --echo $ECHO_N "checking for library containing kstat_open... $ECHO_C" >&6
21302 -+ { echo "$as_me:$LINENO: checking for library containing kstat_open" >&5
21303 -+echo $ECHO_N "checking for library containing kstat_open... $ECHO_C" >&6; }
21304 - if test "${ac_cv_search_kstat_open+set}" = set; then
21305 - echo $ECHO_N "(cached) $ECHO_C" >&6
21306 - else
21307 - ac_func_search_save_LIBS=$LIBS
21308 --ac_cv_search_kstat_open=no
21309 - cat >conftest.$ac_ext <<_ACEOF
21310 - /* confdefs.h. */
21311 - _ACEOF
21312 -@@ -19794,54 +23343,106 @@
21313 - cat >>conftest.$ac_ext <<_ACEOF
21314 - /* end confdefs.h. */
21315 -
21316 --/* Override any gcc2 internal prototype to avoid an error. */
21317 -+/* Override any GCC internal prototype to avoid an error.
21318 -+ Use char because int might match the return type of a GCC
21319 -+ builtin and then its argument prototype would still apply. */
21320 - #ifdef __cplusplus
21321 - extern "C"
21322 - #endif
21323 --/* We use char because int might match the return type of a gcc2
21324 -- builtin and then its argument prototype would still apply. */
21325 - char kstat_open ();
21326 - int
21327 - main ()
21328 - {
21329 --kstat_open ();
21330 -+return kstat_open ();
21331 - ;
21332 - return 0;
21333 - }
21334 - _ACEOF
21335 -+for ac_lib in '' "$KSTAT_LIBS" kstat; do
21336 -+ if test -z "$ac_lib"; then
21337 -+ ac_res="none required"
21338 -+ else
21339 -+ ac_res=-l$ac_lib
21340 -+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21341 -+ fi
21342 - rm -f conftest.$ac_objext conftest$ac_exeext
21343 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21344 -- (eval $ac_link) 2>conftest.er1
21345 -+if { (ac_try="$ac_link"
21346 -+case "(($ac_try" in
21347 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21348 -+ *) ac_try_echo=$ac_try;;
21349 -+esac
21350 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21351 -+ (eval "$ac_link") 2>conftest.er1
21352 - ac_status=$?
21353 - grep -v '^ *+' conftest.er1 >conftest.err
21354 - rm -f conftest.er1
21355 - cat conftest.err >&5
21356 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357 - (exit $ac_status); } &&
21358 -- { ac_try='test -z "$ac_cxx_werror_flag"
21359 -- || test ! -s conftest.err'
21360 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21361 -- (eval $ac_try) 2>&5
21362 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21363 -+ { (case "(($ac_try" in
21364 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21365 -+ *) ac_try_echo=$ac_try;;
21366 -+esac
21367 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21368 -+ (eval "$ac_try") 2>&5
21369 - ac_status=$?
21370 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21371 - (exit $ac_status); }; } &&
21372 - { ac_try='test -s conftest$ac_exeext'
21373 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21374 -- (eval $ac_try) 2>&5
21375 -+ { (case "(($ac_try" in
21376 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21377 -+ *) ac_try_echo=$ac_try;;
21378 -+esac
21379 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21380 -+ (eval "$ac_try") 2>&5
21381 - ac_status=$?
21382 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21383 - (exit $ac_status); }; }; then
21384 -- ac_cv_search_kstat_open="none required"
21385 -+ ac_cv_search_kstat_open=$ac_res
21386 - else
21387 - echo "$as_me: failed program was:" >&5
21388 - sed 's/^/| /' conftest.$ac_ext >&5
21389 -
21390 -+
21391 - fi
21392 --rm -f conftest.err conftest.$ac_objext \
21393 -- conftest$ac_exeext conftest.$ac_ext
21394 --if test "$ac_cv_search_kstat_open" = no; then
21395 -- for ac_lib in "$KSTAT_LIBS" kstat; do
21396 -- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21397 -+
21398 -+rm -f core conftest.err conftest.$ac_objext \
21399 -+ conftest$ac_exeext
21400 -+ if test "${ac_cv_search_kstat_open+set}" = set; then
21401 -+ break
21402 -+fi
21403 -+done
21404 -+if test "${ac_cv_search_kstat_open+set}" = set; then
21405 -+ :
21406 -+else
21407 -+ ac_cv_search_kstat_open=no
21408 -+fi
21409 -+rm conftest.$ac_ext
21410 -+LIBS=$ac_func_search_save_LIBS
21411 -+fi
21412 -+{ echo "$as_me:$LINENO: result: $ac_cv_search_kstat_open" >&5
21413 -+echo "${ECHO_T}$ac_cv_search_kstat_open" >&6; }
21414 -+ac_res=$ac_cv_search_kstat_open
21415 -+if test "$ac_res" != no; then
21416 -+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21417 -+
21418 -+cat >>confdefs.h <<\_ACEOF
21419 -+#define HAVE_LIBKSTAT 1
21420 -+_ACEOF
21421 -+
21422 -+ test "x$ac_cv_search_kstat_open" = "xnone required" || KSTAT_LIBS=$ac_cv_search_kstat_open
21423 -+fi
21424 -+
21425 -+ LIBS=$saved_LIBS
21426 -+
21427 -+saved_LIBS=$LIBS
21428 -+ { echo "$as_me:$LINENO: checking for library containing rstat" >&5
21429 -+echo $ECHO_N "checking for library containing rstat... $ECHO_C" >&6; }
21430 -+if test "${ac_cv_search_rstat+set}" = set; then
21431 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
21432 -+else
21433 -+ ac_func_search_save_LIBS=$LIBS
21434 - cat >conftest.$ac_ext <<_ACEOF
21435 - /* confdefs.h. */
21436 - _ACEOF
21437 -@@ -19849,78 +23450,114 @@
21438 - cat >>conftest.$ac_ext <<_ACEOF
21439 - /* end confdefs.h. */
21440 -
21441 --/* Override any gcc2 internal prototype to avoid an error. */
21442 -+/* Override any GCC internal prototype to avoid an error.
21443 -+ Use char because int might match the return type of a GCC
21444 -+ builtin and then its argument prototype would still apply. */
21445 - #ifdef __cplusplus
21446 - extern "C"
21447 - #endif
21448 --/* We use char because int might match the return type of a gcc2
21449 -- builtin and then its argument prototype would still apply. */
21450 --char kstat_open ();
21451 -+char rstat ();
21452 - int
21453 - main ()
21454 - {
21455 --kstat_open ();
21456 -+return rstat ();
21457 - ;
21458 - return 0;
21459 - }
21460 - _ACEOF
21461 -+for ac_lib in '' "$RPCSVC_LIBS" rpcsvc; do
21462 -+ if test -z "$ac_lib"; then
21463 -+ ac_res="none required"
21464 -+ else
21465 -+ ac_res=-l$ac_lib
21466 -+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21467 -+ fi
21468 - rm -f conftest.$ac_objext conftest$ac_exeext
21469 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21470 -- (eval $ac_link) 2>conftest.er1
21471 -+if { (ac_try="$ac_link"
21472 -+case "(($ac_try" in
21473 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21474 -+ *) ac_try_echo=$ac_try;;
21475 -+esac
21476 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21477 -+ (eval "$ac_link") 2>conftest.er1
21478 - ac_status=$?
21479 - grep -v '^ *+' conftest.er1 >conftest.err
21480 - rm -f conftest.er1
21481 - cat conftest.err >&5
21482 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21483 - (exit $ac_status); } &&
21484 -- { ac_try='test -z "$ac_cxx_werror_flag"
21485 -- || test ! -s conftest.err'
21486 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21487 -- (eval $ac_try) 2>&5
21488 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21489 -+ { (case "(($ac_try" in
21490 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21491 -+ *) ac_try_echo=$ac_try;;
21492 -+esac
21493 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21494 -+ (eval "$ac_try") 2>&5
21495 - ac_status=$?
21496 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21497 - (exit $ac_status); }; } &&
21498 - { ac_try='test -s conftest$ac_exeext'
21499 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21500 -- (eval $ac_try) 2>&5
21501 -+ { (case "(($ac_try" in
21502 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21503 -+ *) ac_try_echo=$ac_try;;
21504 -+esac
21505 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21506 -+ (eval "$ac_try") 2>&5
21507 - ac_status=$?
21508 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21509 - (exit $ac_status); }; }; then
21510 -- ac_cv_search_kstat_open="-l$ac_lib"
21511 --break
21512 -+ ac_cv_search_rstat=$ac_res
21513 - else
21514 - echo "$as_me: failed program was:" >&5
21515 - sed 's/^/| /' conftest.$ac_ext >&5
21516 -
21517 -+
21518 -+fi
21519 -+
21520 -+rm -f core conftest.err conftest.$ac_objext \
21521 -+ conftest$ac_exeext
21522 -+ if test "${ac_cv_search_rstat+set}" = set; then
21523 -+ break
21524 - fi
21525 --rm -f conftest.err conftest.$ac_objext \
21526 -- conftest$ac_exeext conftest.$ac_ext
21527 - done
21528 -+if test "${ac_cv_search_rstat+set}" = set; then
21529 -+ :
21530 -+else
21531 -+ ac_cv_search_rstat=no
21532 - fi
21533 -+rm conftest.$ac_ext
21534 - LIBS=$ac_func_search_save_LIBS
21535 - fi
21536 --echo "$as_me:$LINENO: result: $ac_cv_search_kstat_open" >&5
21537 --echo "${ECHO_T}$ac_cv_search_kstat_open" >&6
21538 --if test "$ac_cv_search_kstat_open" != no; then
21539 -- test "$ac_cv_search_kstat_open" = "none required" || LIBS="$ac_cv_search_kstat_open $LIBS"
21540 -+{ echo "$as_me:$LINENO: result: $ac_cv_search_rstat" >&5
21541 -+echo "${ECHO_T}$ac_cv_search_rstat" >&6; }
21542 -+ac_res=$ac_cv_search_rstat
21543 -+if test "$ac_res" != no; then
21544 -+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21545 -
21546 - cat >>confdefs.h <<\_ACEOF
21547 --#define HAVE_LIBKSTAT 1
21548 -+#define HAVE_LIBRPCSVC 1
21549 - _ACEOF
21550 -
21551 -- test "x$ac_cv_search_kstat_open" = "xnone required" || KSTAT_LIBS=$ac_cv_search_kstat_open
21552 -+ test "x$ac_cv_search_rstat" = "xnone required" || RPCSVC_LIBS=$ac_cv_search_rstat
21553 - fi
21554 -
21555 - LIBS=$saved_LIBS
21556 -
21557 -+ac_ext=c
21558 -+ac_cpp='$CPP $CPPFLAGS'
21559 -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21560 -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21561 -+ac_compiler_gnu=$ac_cv_c_compiler_gnu
21562 -+
21563 -+# Force C for this test because Sun WorkShop otherwise complains about
21564 -+# multiple extern "C" declarations of setkey.
21565 - saved_LIBS=$LIBS
21566 -- echo "$as_me:$LINENO: checking for library containing rstat" >&5
21567 --echo $ECHO_N "checking for library containing rstat... $ECHO_C" >&6
21568 --if test "${ac_cv_search_rstat+set}" = set; then
21569 -+ { echo "$as_me:$LINENO: checking for library containing setkey" >&5
21570 -+echo $ECHO_N "checking for library containing setkey... $ECHO_C" >&6; }
21571 -+if test "${ac_cv_search_setkey+set}" = set; then
21572 - echo $ECHO_N "(cached) $ECHO_C" >&6
21573 - else
21574 - ac_func_search_save_LIBS=$LIBS
21575 --ac_cv_search_rstat=no
21576 - cat >conftest.$ac_ext <<_ACEOF
21577 - /* confdefs.h. */
21578 - _ACEOF
21579 -@@ -19928,54 +23565,116 @@
21580 - cat >>conftest.$ac_ext <<_ACEOF
21581 - /* end confdefs.h. */
21582 -
21583 --/* Override any gcc2 internal prototype to avoid an error. */
21584 -+/* Override any GCC internal prototype to avoid an error.
21585 -+ Use char because int might match the return type of a GCC
21586 -+ builtin and then its argument prototype would still apply. */
21587 - #ifdef __cplusplus
21588 - extern "C"
21589 - #endif
21590 --/* We use char because int might match the return type of a gcc2
21591 -- builtin and then its argument prototype would still apply. */
21592 --char rstat ();
21593 -+char setkey ();
21594 - int
21595 - main ()
21596 - {
21597 --rstat ();
21598 -+return setkey ();
21599 - ;
21600 - return 0;
21601 - }
21602 - _ACEOF
21603 -+for ac_lib in '' "$CRYPT_LIBS" crypt crypt_i; do
21604 -+ if test -z "$ac_lib"; then
21605 -+ ac_res="none required"
21606 -+ else
21607 -+ ac_res=-l$ac_lib
21608 -+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21609 -+ fi
21610 - rm -f conftest.$ac_objext conftest$ac_exeext
21611 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21612 -- (eval $ac_link) 2>conftest.er1
21613 -+if { (ac_try="$ac_link"
21614 -+case "(($ac_try" in
21615 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21616 -+ *) ac_try_echo=$ac_try;;
21617 -+esac
21618 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21619 -+ (eval "$ac_link") 2>conftest.er1
21620 - ac_status=$?
21621 - grep -v '^ *+' conftest.er1 >conftest.err
21622 - rm -f conftest.er1
21623 - cat conftest.err >&5
21624 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21625 - (exit $ac_status); } &&
21626 -- { ac_try='test -z "$ac_cxx_werror_flag"
21627 -- || test ! -s conftest.err'
21628 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21629 -- (eval $ac_try) 2>&5
21630 -+ { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21631 -+ { (case "(($ac_try" in
21632 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21633 -+ *) ac_try_echo=$ac_try;;
21634 -+esac
21635 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21636 -+ (eval "$ac_try") 2>&5
21637 - ac_status=$?
21638 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21639 - (exit $ac_status); }; } &&
21640 - { ac_try='test -s conftest$ac_exeext'
21641 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21642 -- (eval $ac_try) 2>&5
21643 -+ { (case "(($ac_try" in
21644 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21645 -+ *) ac_try_echo=$ac_try;;
21646 -+esac
21647 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21648 -+ (eval "$ac_try") 2>&5
21649 - ac_status=$?
21650 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651 - (exit $ac_status); }; }; then
21652 -- ac_cv_search_rstat="none required"
21653 -+ ac_cv_search_setkey=$ac_res
21654 - else
21655 - echo "$as_me: failed program was:" >&5
21656 - sed 's/^/| /' conftest.$ac_ext >&5
21657 -
21658 -+
21659 - fi
21660 --rm -f conftest.err conftest.$ac_objext \
21661 -- conftest$ac_exeext conftest.$ac_ext
21662 --if test "$ac_cv_search_rstat" = no; then
21663 -- for ac_lib in "$RPCSVC_LIBS" rpcsvc; do
21664 -- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21665 -+
21666 -+rm -f core conftest.err conftest.$ac_objext \
21667 -+ conftest$ac_exeext
21668 -+ if test "${ac_cv_search_setkey+set}" = set; then
21669 -+ break
21670 -+fi
21671 -+done
21672 -+if test "${ac_cv_search_setkey+set}" = set; then
21673 -+ :
21674 -+else
21675 -+ ac_cv_search_setkey=no
21676 -+fi
21677 -+rm conftest.$ac_ext
21678 -+LIBS=$ac_func_search_save_LIBS
21679 -+fi
21680 -+{ echo "$as_me:$LINENO: result: $ac_cv_search_setkey" >&5
21681 -+echo "${ECHO_T}$ac_cv_search_setkey" >&6; }
21682 -+ac_res=$ac_cv_search_setkey
21683 -+if test "$ac_res" != no; then
21684 -+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21685 -+
21686 -+cat >>confdefs.h <<\_ACEOF
21687 -+#define HAVE_LIBCRYPT 1
21688 -+_ACEOF
21689 -+
21690 -+ test "x$ac_cv_search_setkey" = "xnone required" || CRYPT_LIBS=$ac_cv_search_setkey
21691 -+fi
21692 -+
21693 -+ LIBS=$saved_LIBS
21694 -+
21695 -+ac_ext=cpp
21696 -+ac_cpp='$CXXCPP $CPPFLAGS'
21697 -+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21698 -+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21699 -+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21700 -+
21701 -+case "$host_os:$compiler" in
21702 -+ solaris*:GCC ) ac_cv_search_dlopen="-ldl" ;;
21703 -+ darwin* ) ac_cv_search_iconv="-liconv" ;;
21704 -+esac
21705 -+saved_LIBS=$LIBS
21706 -+ { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
21707 -+echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
21708 -+if test "${ac_cv_search_dlopen+set}" = set; then
21709 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
21710 -+else
21711 -+ ac_func_search_save_LIBS=$LIBS
21712 - cat >conftest.$ac_ext <<_ACEOF
21713 - /* confdefs.h. */
21714 - _ACEOF
21715 -@@ -19983,86 +23682,110 @@
21716 - cat >>conftest.$ac_ext <<_ACEOF
21717 - /* end confdefs.h. */
21718 -
21719 --/* Override any gcc2 internal prototype to avoid an error. */
21720 -+/* Override any GCC internal prototype to avoid an error.
21721 -+ Use char because int might match the return type of a GCC
21722 -+ builtin and then its argument prototype would still apply. */
21723 - #ifdef __cplusplus
21724 - extern "C"
21725 - #endif
21726 --/* We use char because int might match the return type of a gcc2
21727 -- builtin and then its argument prototype would still apply. */
21728 --char rstat ();
21729 -+char dlopen ();
21730 - int
21731 - main ()
21732 - {
21733 --rstat ();
21734 -+return dlopen ();
21735 - ;
21736 - return 0;
21737 - }
21738 - _ACEOF
21739 -+for ac_lib in '' "$DL_LIBS" dl; do
21740 -+ if test -z "$ac_lib"; then
21741 -+ ac_res="none required"
21742 -+ else
21743 -+ ac_res=-l$ac_lib
21744 -+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21745 -+ fi
21746 - rm -f conftest.$ac_objext conftest$ac_exeext
21747 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21748 -- (eval $ac_link) 2>conftest.er1
21749 -+if { (ac_try="$ac_link"
21750 -+case "(($ac_try" in
21751 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21752 -+ *) ac_try_echo=$ac_try;;
21753 -+esac
21754 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21755 -+ (eval "$ac_link") 2>conftest.er1
21756 - ac_status=$?
21757 - grep -v '^ *+' conftest.er1 >conftest.err
21758 - rm -f conftest.er1
21759 - cat conftest.err >&5
21760 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21761 - (exit $ac_status); } &&
21762 -- { ac_try='test -z "$ac_cxx_werror_flag"
21763 -- || test ! -s conftest.err'
21764 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21765 -- (eval $ac_try) 2>&5
21766 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21767 -+ { (case "(($ac_try" in
21768 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21769 -+ *) ac_try_echo=$ac_try;;
21770 -+esac
21771 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21772 -+ (eval "$ac_try") 2>&5
21773 - ac_status=$?
21774 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21775 - (exit $ac_status); }; } &&
21776 - { ac_try='test -s conftest$ac_exeext'
21777 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21778 -- (eval $ac_try) 2>&5
21779 -+ { (case "(($ac_try" in
21780 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21781 -+ *) ac_try_echo=$ac_try;;
21782 -+esac
21783 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21784 -+ (eval "$ac_try") 2>&5
21785 - ac_status=$?
21786 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21787 - (exit $ac_status); }; }; then
21788 -- ac_cv_search_rstat="-l$ac_lib"
21789 --break
21790 -+ ac_cv_search_dlopen=$ac_res
21791 - else
21792 - echo "$as_me: failed program was:" >&5
21793 - sed 's/^/| /' conftest.$ac_ext >&5
21794 -
21795 -+
21796 -+fi
21797 -+
21798 -+rm -f core conftest.err conftest.$ac_objext \
21799 -+ conftest$ac_exeext
21800 -+ if test "${ac_cv_search_dlopen+set}" = set; then
21801 -+ break
21802 - fi
21803 --rm -f conftest.err conftest.$ac_objext \
21804 -- conftest$ac_exeext conftest.$ac_ext
21805 - done
21806 -+if test "${ac_cv_search_dlopen+set}" = set; then
21807 -+ :
21808 -+else
21809 -+ ac_cv_search_dlopen=no
21810 - fi
21811 -+rm conftest.$ac_ext
21812 - LIBS=$ac_func_search_save_LIBS
21813 - fi
21814 --echo "$as_me:$LINENO: result: $ac_cv_search_rstat" >&5
21815 --echo "${ECHO_T}$ac_cv_search_rstat" >&6
21816 --if test "$ac_cv_search_rstat" != no; then
21817 -- test "$ac_cv_search_rstat" = "none required" || LIBS="$ac_cv_search_rstat $LIBS"
21818 -+{ echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
21819 -+echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
21820 -+ac_res=$ac_cv_search_dlopen
21821 -+if test "$ac_res" != no; then
21822 -+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21823 -
21824 - cat >>confdefs.h <<\_ACEOF
21825 --#define HAVE_LIBRPCSVC 1
21826 -+#define HAVE_LIBDL 1
21827 - _ACEOF
21828 -
21829 -- test "x$ac_cv_search_rstat" = "xnone required" || RPCSVC_LIBS=$ac_cv_search_rstat
21830 -+ test "x$ac_cv_search_dlopen" = "xnone required" || DL_LIBS=$ac_cv_search_dlopen
21831 - fi
21832 -
21833 - LIBS=$saved_LIBS
21834 -
21835 --ac_ext=c
21836 --ac_cpp='$CPP $CPPFLAGS'
21837 --ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21838 --ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21839 --ac_compiler_gnu=$ac_cv_c_compiler_gnu
21840 --
21841 --# Force C for this test because Sun WorkShop otherwise complains about
21842 --# multiple extern "C" declarations of setkey.
21843 --saved_LIBS=$LIBS
21844 -- echo "$as_me:$LINENO: checking for library containing setkey" >&5
21845 --echo $ECHO_N "checking for library containing setkey... $ECHO_C" >&6
21846 --if test "${ac_cv_search_setkey+set}" = set; then
21847 -+# libc's stubs aren't always sufficient...
21848 -+case "$host_os:$libnsl" in
21849 -+ solaris2.[89]:* ) orig_LIBS="$DL_LIBS $orig_LIBS" ;;
21850 -+ solaris*:-lnsl ) NETWORK_LIBS="$NETWORK_LIBS $DL_LIBS" ;;
21851 -+esac
21852 -+{ echo "$as_me:$LINENO: checking for library containing uuid_generate" >&5
21853 -+echo $ECHO_N "checking for library containing uuid_generate... $ECHO_C" >&6; }
21854 -+if test "${ac_cv_search_uuid_generate+set}" = set; then
21855 - echo $ECHO_N "(cached) $ECHO_C" >&6
21856 - else
21857 - ac_func_search_save_LIBS=$LIBS
21858 --ac_cv_search_setkey=no
21859 - cat >conftest.$ac_ext <<_ACEOF
21860 - /* confdefs.h. */
21861 - _ACEOF
21862 -@@ -20070,54 +23793,101 @@
21863 - cat >>conftest.$ac_ext <<_ACEOF
21864 - /* end confdefs.h. */
21865 -
21866 --/* Override any gcc2 internal prototype to avoid an error. */
21867 -+/* Override any GCC internal prototype to avoid an error.
21868 -+ Use char because int might match the return type of a GCC
21869 -+ builtin and then its argument prototype would still apply. */
21870 - #ifdef __cplusplus
21871 - extern "C"
21872 - #endif
21873 --/* We use char because int might match the return type of a gcc2
21874 -- builtin and then its argument prototype would still apply. */
21875 --char setkey ();
21876 -+char uuid_generate ();
21877 - int
21878 - main ()
21879 - {
21880 --setkey ();
21881 -+return uuid_generate ();
21882 - ;
21883 - return 0;
21884 - }
21885 - _ACEOF
21886 -+for ac_lib in '' uuid; do
21887 -+ if test -z "$ac_lib"; then
21888 -+ ac_res="none required"
21889 -+ else
21890 -+ ac_res=-l$ac_lib
21891 -+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21892 -+ fi
21893 - rm -f conftest.$ac_objext conftest$ac_exeext
21894 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21895 -- (eval $ac_link) 2>conftest.er1
21896 -+if { (ac_try="$ac_link"
21897 -+case "(($ac_try" in
21898 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21899 -+ *) ac_try_echo=$ac_try;;
21900 -+esac
21901 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21902 -+ (eval "$ac_link") 2>conftest.er1
21903 - ac_status=$?
21904 - grep -v '^ *+' conftest.er1 >conftest.err
21905 - rm -f conftest.er1
21906 - cat conftest.err >&5
21907 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 - (exit $ac_status); } &&
21909 -- { ac_try='test -z "$ac_c_werror_flag"
21910 -- || test ! -s conftest.err'
21911 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21912 -- (eval $ac_try) 2>&5
21913 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21914 -+ { (case "(($ac_try" in
21915 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21916 -+ *) ac_try_echo=$ac_try;;
21917 -+esac
21918 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21919 -+ (eval "$ac_try") 2>&5
21920 - ac_status=$?
21921 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922 - (exit $ac_status); }; } &&
21923 - { ac_try='test -s conftest$ac_exeext'
21924 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21925 -- (eval $ac_try) 2>&5
21926 -+ { (case "(($ac_try" in
21927 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21928 -+ *) ac_try_echo=$ac_try;;
21929 -+esac
21930 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21931 -+ (eval "$ac_try") 2>&5
21932 - ac_status=$?
21933 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
21934 - (exit $ac_status); }; }; then
21935 -- ac_cv_search_setkey="none required"
21936 -+ ac_cv_search_uuid_generate=$ac_res
21937 - else
21938 - echo "$as_me: failed program was:" >&5
21939 - sed 's/^/| /' conftest.$ac_ext >&5
21940 -
21941 -+
21942 - fi
21943 --rm -f conftest.err conftest.$ac_objext \
21944 -- conftest$ac_exeext conftest.$ac_ext
21945 --if test "$ac_cv_search_setkey" = no; then
21946 -- for ac_lib in "$CRYPT_LIBS" crypt crypt_i; do
21947 -- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21948 -+
21949 -+rm -f core conftest.err conftest.$ac_objext \
21950 -+ conftest$ac_exeext
21951 -+ if test "${ac_cv_search_uuid_generate+set}" = set; then
21952 -+ break
21953 -+fi
21954 -+done
21955 -+if test "${ac_cv_search_uuid_generate+set}" = set; then
21956 -+ :
21957 -+else
21958 -+ ac_cv_search_uuid_generate=no
21959 -+fi
21960 -+rm conftest.$ac_ext
21961 -+LIBS=$ac_func_search_save_LIBS
21962 -+fi
21963 -+{ echo "$as_me:$LINENO: result: $ac_cv_search_uuid_generate" >&5
21964 -+echo "${ECHO_T}$ac_cv_search_uuid_generate" >&6; }
21965 -+ac_res=$ac_cv_search_uuid_generate
21966 -+if test "$ac_res" != no; then
21967 -+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21968 -+ WithPackages="$WithPackages${WithPackagesSep}UUID"; WithPackagesSep=" "
21969 -+ test "x$ac_cv_search_uuid_generate" = "xnone required" || \
21970 -+ UUID_LIBS=$ac_cv_search_uuid_generate
21971 -+fi
21972 -+
21973 -+LIBS=$orig_LIBS
21974 -+{ echo "$as_me:$LINENO: checking for library containing fuse_loop" >&5
21975 -+echo $ECHO_N "checking for library containing fuse_loop... $ECHO_C" >&6; }
21976 -+if test "${ac_cv_search_fuse_loop+set}" = set; then
21977 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
21978 -+else
21979 -+ ac_func_search_save_LIBS=$LIBS
21980 - cat >conftest.$ac_ext <<_ACEOF
21981 - /* confdefs.h. */
21982 - _ACEOF
21983 -@@ -20125,88 +23895,107 @@
21984 - cat >>conftest.$ac_ext <<_ACEOF
21985 - /* end confdefs.h. */
21986 -
21987 --/* Override any gcc2 internal prototype to avoid an error. */
21988 -+/* Override any GCC internal prototype to avoid an error.
21989 -+ Use char because int might match the return type of a GCC
21990 -+ builtin and then its argument prototype would still apply. */
21991 - #ifdef __cplusplus
21992 - extern "C"
21993 - #endif
21994 --/* We use char because int might match the return type of a gcc2
21995 -- builtin and then its argument prototype would still apply. */
21996 --char setkey ();
21997 -+char fuse_loop ();
21998 - int
21999 - main ()
22000 - {
22001 --setkey ();
22002 -+return fuse_loop ();
22003 - ;
22004 - return 0;
22005 - }
22006 - _ACEOF
22007 -+for ac_lib in '' fuse; do
22008 -+ if test -z "$ac_lib"; then
22009 -+ ac_res="none required"
22010 -+ else
22011 -+ ac_res=-l$ac_lib
22012 -+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22013 -+ fi
22014 - rm -f conftest.$ac_objext conftest$ac_exeext
22015 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22016 -- (eval $ac_link) 2>conftest.er1
22017 -+if { (ac_try="$ac_link"
22018 -+case "(($ac_try" in
22019 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22020 -+ *) ac_try_echo=$ac_try;;
22021 -+esac
22022 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22023 -+ (eval "$ac_link") 2>conftest.er1
22024 - ac_status=$?
22025 - grep -v '^ *+' conftest.er1 >conftest.err
22026 - rm -f conftest.er1
22027 - cat conftest.err >&5
22028 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22029 - (exit $ac_status); } &&
22030 -- { ac_try='test -z "$ac_c_werror_flag"
22031 -- || test ! -s conftest.err'
22032 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22033 -- (eval $ac_try) 2>&5
22034 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22035 -+ { (case "(($ac_try" in
22036 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22037 -+ *) ac_try_echo=$ac_try;;
22038 -+esac
22039 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22040 -+ (eval "$ac_try") 2>&5
22041 - ac_status=$?
22042 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043 - (exit $ac_status); }; } &&
22044 - { ac_try='test -s conftest$ac_exeext'
22045 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22046 -- (eval $ac_try) 2>&5
22047 -+ { (case "(($ac_try" in
22048 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22049 -+ *) ac_try_echo=$ac_try;;
22050 -+esac
22051 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22052 -+ (eval "$ac_try") 2>&5
22053 - ac_status=$?
22054 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22055 - (exit $ac_status); }; }; then
22056 -- ac_cv_search_setkey="-l$ac_lib"
22057 --break
22058 -+ ac_cv_search_fuse_loop=$ac_res
22059 - else
22060 - echo "$as_me: failed program was:" >&5
22061 - sed 's/^/| /' conftest.$ac_ext >&5
22062 -
22063 -+
22064 -+fi
22065 -+
22066 -+rm -f core conftest.err conftest.$ac_objext \
22067 -+ conftest$ac_exeext
22068 -+ if test "${ac_cv_search_fuse_loop+set}" = set; then
22069 -+ break
22070 - fi
22071 --rm -f conftest.err conftest.$ac_objext \
22072 -- conftest$ac_exeext conftest.$ac_ext
22073 - done
22074 -+if test "${ac_cv_search_fuse_loop+set}" = set; then
22075 -+ :
22076 -+else
22077 -+ ac_cv_search_fuse_loop=no
22078 - fi
22079 -+rm conftest.$ac_ext
22080 - LIBS=$ac_func_search_save_LIBS
22081 - fi
22082 --echo "$as_me:$LINENO: result: $ac_cv_search_setkey" >&5
22083 --echo "${ECHO_T}$ac_cv_search_setkey" >&6
22084 --if test "$ac_cv_search_setkey" != no; then
22085 -- test "$ac_cv_search_setkey" = "none required" || LIBS="$ac_cv_search_setkey $LIBS"
22086 --
22087 --cat >>confdefs.h <<\_ACEOF
22088 --#define HAVE_LIBCRYPT 1
22089 --_ACEOF
22090 --
22091 -- test "x$ac_cv_search_setkey" = "xnone required" || CRYPT_LIBS=$ac_cv_search_setkey
22092 -+{ echo "$as_me:$LINENO: result: $ac_cv_search_fuse_loop" >&5
22093 -+echo "${ECHO_T}$ac_cv_search_fuse_loop" >&6; }
22094 -+ac_res=$ac_cv_search_fuse_loop
22095 -+if test "$ac_res" != no; then
22096 -+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
22097 -+ WithPackages="$WithPackages${WithPackagesSep}FUSE"; WithPackagesSep=" "
22098 - fi
22099 -
22100 -- LIBS=$saved_LIBS
22101 --
22102 --ac_ext=cc
22103 --ac_cpp='$CXXCPP $CPPFLAGS'
22104 --ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22105 --ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22106 --ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22107 --
22108 --case "$host_os:$compiler" in
22109 -- solaris*:GCC ) ac_cv_search_dlopen="-ldl" ;;
22110 -- darwin* ) ac_cv_search_iconv="-liconv" ;;
22111 --esac
22112 -+LIBS=$orig_LIBS
22113 -+# Temporarily drop OpenMP flags for this test, as some toolchains count
22114 -+# its support library's indirect use of librt when building applications
22115 -+# but not when building shared libraries with --no-undefined.
22116 -+orig_CXXFLAGS=$CXXFLAGS
22117 -+orig_LDFLAGS=$LDFLAGS
22118 -+CXXFLAGS=`echo $CXXFLAGS | sed -e 's/[^ ]*openmp[^ ]*//g'`
22119 -+LDFLAGS=`echo $LDFLAGS | sed -e 's/[^ ]*openmp[^ ]*//g'`
22120 - saved_LIBS=$LIBS
22121 -- echo "$as_me:$LINENO: checking for library containing dlopen" >&5
22122 --echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
22123 --if test "${ac_cv_search_dlopen+set}" = set; then
22124 -+ { echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
22125 -+echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6; }
22126 -+if test "${ac_cv_search_clock_gettime+set}" = set; then
22127 - echo $ECHO_N "(cached) $ECHO_C" >&6
22128 - else
22129 - ac_func_search_save_LIBS=$LIBS
22130 --ac_cv_search_dlopen=no
22131 - cat >conftest.$ac_ext <<_ACEOF
22132 - /* confdefs.h. */
22133 - _ACEOF
22134 -@@ -20214,54 +24003,108 @@
22135 - cat >>conftest.$ac_ext <<_ACEOF
22136 - /* end confdefs.h. */
22137 -
22138 --/* Override any gcc2 internal prototype to avoid an error. */
22139 -+/* Override any GCC internal prototype to avoid an error.
22140 -+ Use char because int might match the return type of a GCC
22141 -+ builtin and then its argument prototype would still apply. */
22142 - #ifdef __cplusplus
22143 - extern "C"
22144 - #endif
22145 --/* We use char because int might match the return type of a gcc2
22146 -- builtin and then its argument prototype would still apply. */
22147 --char dlopen ();
22148 -+char clock_gettime ();
22149 - int
22150 - main ()
22151 - {
22152 --dlopen ();
22153 -+return clock_gettime ();
22154 - ;
22155 - return 0;
22156 - }
22157 - _ACEOF
22158 -+for ac_lib in '' "$RT_LIBS" rt posix4; do
22159 -+ if test -z "$ac_lib"; then
22160 -+ ac_res="none required"
22161 -+ else
22162 -+ ac_res=-l$ac_lib
22163 -+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22164 -+ fi
22165 - rm -f conftest.$ac_objext conftest$ac_exeext
22166 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22167 -- (eval $ac_link) 2>conftest.er1
22168 -+if { (ac_try="$ac_link"
22169 -+case "(($ac_try" in
22170 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22171 -+ *) ac_try_echo=$ac_try;;
22172 -+esac
22173 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22174 -+ (eval "$ac_link") 2>conftest.er1
22175 - ac_status=$?
22176 - grep -v '^ *+' conftest.er1 >conftest.err
22177 - rm -f conftest.er1
22178 - cat conftest.err >&5
22179 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180 - (exit $ac_status); } &&
22181 -- { ac_try='test -z "$ac_cxx_werror_flag"
22182 -- || test ! -s conftest.err'
22183 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22184 -- (eval $ac_try) 2>&5
22185 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22186 -+ { (case "(($ac_try" in
22187 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22188 -+ *) ac_try_echo=$ac_try;;
22189 -+esac
22190 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22191 -+ (eval "$ac_try") 2>&5
22192 - ac_status=$?
22193 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22194 - (exit $ac_status); }; } &&
22195 - { ac_try='test -s conftest$ac_exeext'
22196 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22197 -- (eval $ac_try) 2>&5
22198 -+ { (case "(($ac_try" in
22199 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22200 -+ *) ac_try_echo=$ac_try;;
22201 -+esac
22202 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22203 -+ (eval "$ac_try") 2>&5
22204 - ac_status=$?
22205 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22206 - (exit $ac_status); }; }; then
22207 -- ac_cv_search_dlopen="none required"
22208 -+ ac_cv_search_clock_gettime=$ac_res
22209 - else
22210 - echo "$as_me: failed program was:" >&5
22211 - sed 's/^/| /' conftest.$ac_ext >&5
22212 -
22213 -+
22214 - fi
22215 --rm -f conftest.err conftest.$ac_objext \
22216 -- conftest$ac_exeext conftest.$ac_ext
22217 --if test "$ac_cv_search_dlopen" = no; then
22218 -- for ac_lib in "$DL_LIBS" dl; do
22219 -- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22220 -+
22221 -+rm -f core conftest.err conftest.$ac_objext \
22222 -+ conftest$ac_exeext
22223 -+ if test "${ac_cv_search_clock_gettime+set}" = set; then
22224 -+ break
22225 -+fi
22226 -+done
22227 -+if test "${ac_cv_search_clock_gettime+set}" = set; then
22228 -+ :
22229 -+else
22230 -+ ac_cv_search_clock_gettime=no
22231 -+fi
22232 -+rm conftest.$ac_ext
22233 -+LIBS=$ac_func_search_save_LIBS
22234 -+fi
22235 -+{ echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
22236 -+echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6; }
22237 -+ac_res=$ac_cv_search_clock_gettime
22238 -+if test "$ac_res" != no; then
22239 -+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
22240 -+
22241 -+cat >>confdefs.h <<\_ACEOF
22242 -+#define HAVE_LIBRT 1
22243 -+_ACEOF
22244 -+
22245 -+ test "x$ac_cv_search_clock_gettime" = "xnone required" || RT_LIBS=$ac_cv_search_clock_gettime
22246 -+fi
22247 -+
22248 -+ LIBS=$saved_LIBS
22249 -+
22250 -+CXXFLAGS=$orig_CXXFLAGS
22251 -+LDFLAGS=$orig_LDFLAGS
22252 -+saved_LIBS=$LIBS
22253 -+ { echo "$as_me:$LINENO: checking for library containing cplus_demangle" >&5
22254 -+echo $ECHO_N "checking for library containing cplus_demangle... $ECHO_C" >&6; }
22255 -+if test "${ac_cv_search_cplus_demangle+set}" = set; then
22256 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
22257 -+else
22258 -+ ac_func_search_save_LIBS=$LIBS
22259 - cat >conftest.$ac_ext <<_ACEOF
22260 - /* confdefs.h. */
22261 - _ACEOF
22262 -@@ -20269,1369 +24112,1910 @@
22263 - cat >>conftest.$ac_ext <<_ACEOF
22264 - /* end confdefs.h. */
22265 -
22266 --/* Override any gcc2 internal prototype to avoid an error. */
22267 -+/* Override any GCC internal prototype to avoid an error.
22268 -+ Use char because int might match the return type of a GCC
22269 -+ builtin and then its argument prototype would still apply. */
22270 - #ifdef __cplusplus
22271 - extern "C"
22272 - #endif
22273 --/* We use char because int might match the return type of a gcc2
22274 -- builtin and then its argument prototype would still apply. */
22275 --char dlopen ();
22276 -+char cplus_demangle ();
22277 - int
22278 - main ()
22279 - {
22280 --dlopen ();
22281 -+return cplus_demangle ();
22282 - ;
22283 - return 0;
22284 - }
22285 - _ACEOF
22286 -+for ac_lib in '' "$DEMANGLE_LIBS" demangle; do
22287 -+ if test -z "$ac_lib"; then
22288 -+ ac_res="none required"
22289 -+ else
22290 -+ ac_res=-l$ac_lib
22291 -+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22292 -+ fi
22293 - rm -f conftest.$ac_objext conftest$ac_exeext
22294 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22295 -- (eval $ac_link) 2>conftest.er1
22296 -+if { (ac_try="$ac_link"
22297 -+case "(($ac_try" in
22298 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22299 -+ *) ac_try_echo=$ac_try;;
22300 -+esac
22301 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22302 -+ (eval "$ac_link") 2>conftest.er1
22303 - ac_status=$?
22304 - grep -v '^ *+' conftest.er1 >conftest.err
22305 - rm -f conftest.er1
22306 - cat conftest.err >&5
22307 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22308 - (exit $ac_status); } &&
22309 -- { ac_try='test -z "$ac_cxx_werror_flag"
22310 -- || test ! -s conftest.err'
22311 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22312 -- (eval $ac_try) 2>&5
22313 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22314 -+ { (case "(($ac_try" in
22315 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22316 -+ *) ac_try_echo=$ac_try;;
22317 -+esac
22318 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22319 -+ (eval "$ac_try") 2>&5
22320 - ac_status=$?
22321 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22322 - (exit $ac_status); }; } &&
22323 - { ac_try='test -s conftest$ac_exeext'
22324 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22325 -- (eval $ac_try) 2>&5
22326 -+ { (case "(($ac_try" in
22327 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22328 -+ *) ac_try_echo=$ac_try;;
22329 -+esac
22330 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22331 -+ (eval "$ac_try") 2>&5
22332 - ac_status=$?
22333 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22334 - (exit $ac_status); }; }; then
22335 -- ac_cv_search_dlopen="-l$ac_lib"
22336 --break
22337 -+ ac_cv_search_cplus_demangle=$ac_res
22338 - else
22339 - echo "$as_me: failed program was:" >&5
22340 - sed 's/^/| /' conftest.$ac_ext >&5
22341 -
22342 -+
22343 -+fi
22344 -+
22345 -+rm -f core conftest.err conftest.$ac_objext \
22346 -+ conftest$ac_exeext
22347 -+ if test "${ac_cv_search_cplus_demangle+set}" = set; then
22348 -+ break
22349 - fi
22350 --rm -f conftest.err conftest.$ac_objext \
22351 -- conftest$ac_exeext conftest.$ac_ext
22352 - done
22353 -+if test "${ac_cv_search_cplus_demangle+set}" = set; then
22354 -+ :
22355 -+else
22356 -+ ac_cv_search_cplus_demangle=no
22357 - fi
22358 -+rm conftest.$ac_ext
22359 - LIBS=$ac_func_search_save_LIBS
22360 - fi
22361 --echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
22362 --echo "${ECHO_T}$ac_cv_search_dlopen" >&6
22363 --if test "$ac_cv_search_dlopen" != no; then
22364 -- test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
22365 -+{ echo "$as_me:$LINENO: result: $ac_cv_search_cplus_demangle" >&5
22366 -+echo "${ECHO_T}$ac_cv_search_cplus_demangle" >&6; }
22367 -+ac_res=$ac_cv_search_cplus_demangle
22368 -+if test "$ac_res" != no; then
22369 -+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
22370 -
22371 - cat >>confdefs.h <<\_ACEOF
22372 --#define HAVE_LIBDL 1
22373 -+#define HAVE_LIBDEMANGLE 1
22374 - _ACEOF
22375 -
22376 -- test "x$ac_cv_search_dlopen" = "xnone required" || DL_LIBS=$ac_cv_search_dlopen
22377 -+ test "x$ac_cv_search_cplus_demangle" = "xnone required" || DEMANGLE_LIBS=$ac_cv_search_cplus_demangle
22378 - fi
22379 -
22380 - LIBS=$saved_LIBS
22381 -
22382 --# libc's stubs aren't always sufficient...
22383 --case "$host_os:$libnsl" in
22384 -- solaris2.[89]:* ) orig_LIBS="$DL_LIBS $orig_LIBS" ;;
22385 -- solaris*:-lnsl ) NETWORK_LIBS="$NETWORK_LIBS $DL_LIBS" ;;
22386 --esac
22387 --echo "$as_me:$LINENO: checking for library containing uuid_generate" >&5
22388 --echo $ECHO_N "checking for library containing uuid_generate... $ECHO_C" >&6
22389 --if test "${ac_cv_search_uuid_generate+set}" = set; then
22390 -+# Add to (orig_)LIBS if present for the sake of corelib and the
22391 -+# following call to AC_CHECK_FUNCS.
22392 -+if test -n "$DEMANGLE_LIBS$RT_LIBS"; then
22393 -+ LIBS="$DEMANGLE_LIBS $RT_LIBS $LIBS"
22394 -+ orig_LIBS="$DEMANGLE_LIBS $RT_LIBS $orig_LIBS"
22395 -+fi
22396 -+
22397 -+
22398 -+for ac_func in nanosleep sched_yield
22399 -+do
22400 -+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22401 -+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22402 -+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22403 -+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22404 - echo $ECHO_N "(cached) $ECHO_C" >&6
22405 - else
22406 -- ac_func_search_save_LIBS=$LIBS
22407 --ac_cv_search_uuid_generate=no
22408 - cat >conftest.$ac_ext <<_ACEOF
22409 - /* confdefs.h. */
22410 - _ACEOF
22411 - cat confdefs.h >>conftest.$ac_ext
22412 - cat >>conftest.$ac_ext <<_ACEOF
22413 - /* end confdefs.h. */
22414 -+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22415 -+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
22416 -+#define $ac_func innocuous_$ac_func
22417 -
22418 --/* Override any gcc2 internal prototype to avoid an error. */
22419 --#ifdef __cplusplus
22420 --extern "C"
22421 -+/* System header to define __stub macros and hopefully few prototypes,
22422 -+ which can conflict with char $ac_func (); below.
22423 -+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22424 -+ <limits.h> exists even on freestanding compilers. */
22425 -+
22426 -+#ifdef __STDC__
22427 -+# include <limits.h>
22428 -+#else
22429 -+# include <assert.h>
22430 - #endif
22431 --/* We use char because int might match the return type of a gcc2
22432 -- builtin and then its argument prototype would still apply. */
22433 --char uuid_generate ();
22434 --int
22435 --main ()
22436 --{
22437 --uuid_generate ();
22438 -- ;
22439 -- return 0;
22440 --}
22441 --_ACEOF
22442 --rm -f conftest.$ac_objext conftest$ac_exeext
22443 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22444 -- (eval $ac_link) 2>conftest.er1
22445 -- ac_status=$?
22446 -- grep -v '^ *+' conftest.er1 >conftest.err
22447 -- rm -f conftest.er1
22448 -- cat conftest.err >&5
22449 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
22450 -- (exit $ac_status); } &&
22451 -- { ac_try='test -z "$ac_cxx_werror_flag"
22452 -- || test ! -s conftest.err'
22453 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22454 -- (eval $ac_try) 2>&5
22455 -- ac_status=$?
22456 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
22457 -- (exit $ac_status); }; } &&
22458 -- { ac_try='test -s conftest$ac_exeext'
22459 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22460 -- (eval $ac_try) 2>&5
22461 -- ac_status=$?
22462 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 -- (exit $ac_status); }; }; then
22464 -- ac_cv_search_uuid_generate="none required"
22465 --else
22466 -- echo "$as_me: failed program was:" >&5
22467 --sed 's/^/| /' conftest.$ac_ext >&5
22468 -
22469 --fi
22470 --rm -f conftest.err conftest.$ac_objext \
22471 -- conftest$ac_exeext conftest.$ac_ext
22472 --if test "$ac_cv_search_uuid_generate" = no; then
22473 -- for ac_lib in uuid; do
22474 -- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22475 -- cat >conftest.$ac_ext <<_ACEOF
22476 --/* confdefs.h. */
22477 --_ACEOF
22478 --cat confdefs.h >>conftest.$ac_ext
22479 --cat >>conftest.$ac_ext <<_ACEOF
22480 --/* end confdefs.h. */
22481 -+#undef $ac_func
22482 -
22483 --/* Override any gcc2 internal prototype to avoid an error. */
22484 -+/* Override any GCC internal prototype to avoid an error.
22485 -+ Use char because int might match the return type of a GCC
22486 -+ builtin and then its argument prototype would still apply. */
22487 - #ifdef __cplusplus
22488 - extern "C"
22489 - #endif
22490 --/* We use char because int might match the return type of a gcc2
22491 -- builtin and then its argument prototype would still apply. */
22492 --char uuid_generate ();
22493 -+char $ac_func ();
22494 -+/* The GNU C library defines this for functions which it implements
22495 -+ to always fail with ENOSYS. Some functions are actually named
22496 -+ something starting with __ and the normal name is an alias. */
22497 -+#if defined __stub_$ac_func || defined __stub___$ac_func
22498 -+choke me
22499 -+#endif
22500 -+
22501 - int
22502 - main ()
22503 - {
22504 --uuid_generate ();
22505 -+return $ac_func ();
22506 - ;
22507 - return 0;
22508 - }
22509 - _ACEOF
22510 - rm -f conftest.$ac_objext conftest$ac_exeext
22511 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22512 -- (eval $ac_link) 2>conftest.er1
22513 -+if { (ac_try="$ac_link"
22514 -+case "(($ac_try" in
22515 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22516 -+ *) ac_try_echo=$ac_try;;
22517 -+esac
22518 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22519 -+ (eval "$ac_link") 2>conftest.er1
22520 - ac_status=$?
22521 - grep -v '^ *+' conftest.er1 >conftest.err
22522 - rm -f conftest.er1
22523 - cat conftest.err >&5
22524 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 - (exit $ac_status); } &&
22526 -- { ac_try='test -z "$ac_cxx_werror_flag"
22527 -- || test ! -s conftest.err'
22528 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22529 -- (eval $ac_try) 2>&5
22530 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22531 -+ { (case "(($ac_try" in
22532 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22533 -+ *) ac_try_echo=$ac_try;;
22534 -+esac
22535 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22536 -+ (eval "$ac_try") 2>&5
22537 - ac_status=$?
22538 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22539 - (exit $ac_status); }; } &&
22540 - { ac_try='test -s conftest$ac_exeext'
22541 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22542 -- (eval $ac_try) 2>&5
22543 -+ { (case "(($ac_try" in
22544 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22545 -+ *) ac_try_echo=$ac_try;;
22546 -+esac
22547 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22548 -+ (eval "$ac_try") 2>&5
22549 - ac_status=$?
22550 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22551 - (exit $ac_status); }; }; then
22552 -- ac_cv_search_uuid_generate="-l$ac_lib"
22553 --break
22554 -+ eval "$as_ac_var=yes"
22555 - else
22556 - echo "$as_me: failed program was:" >&5
22557 - sed 's/^/| /' conftest.$ac_ext >&5
22558 -
22559 -+ eval "$as_ac_var=no"
22560 - fi
22561 --rm -f conftest.err conftest.$ac_objext \
22562 -+
22563 -+rm -f core conftest.err conftest.$ac_objext \
22564 - conftest$ac_exeext conftest.$ac_ext
22565 -- done
22566 --fi
22567 --LIBS=$ac_func_search_save_LIBS
22568 - fi
22569 --echo "$as_me:$LINENO: result: $ac_cv_search_uuid_generate" >&5
22570 --echo "${ECHO_T}$ac_cv_search_uuid_generate" >&6
22571 --if test "$ac_cv_search_uuid_generate" != no; then
22572 -- test "$ac_cv_search_uuid_generate" = "none required" || LIBS="$ac_cv_search_uuid_generate $LIBS"
22573 -- WithPackages="$WithPackages${WithPackagesSep}UUID"; WithPackagesSep=" "
22574 -- test "x$ac_cv_search_uuid_generate" = "xnone required" || \
22575 -- UUID_LIBS=$ac_cv_search_uuid_generate
22576 -+ac_res=`eval echo '${'$as_ac_var'}'`
22577 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
22578 -+echo "${ECHO_T}$ac_res" >&6; }
22579 -+if test `eval echo '${'$as_ac_var'}'` = yes; then
22580 -+ cat >>confdefs.h <<_ACEOF
22581 -+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22582 -+_ACEOF
22583 -+
22584 - fi
22585 -+done
22586 -
22587 --LIBS=$orig_LIBS
22588 --echo "$as_me:$LINENO: checking for library containing fuse_loop" >&5
22589 --echo $ECHO_N "checking for library containing fuse_loop... $ECHO_C" >&6
22590 --if test "${ac_cv_search_fuse_loop+set}" = set; then
22591 -+
22592 -+# We need to include <iconv.h>, since some implementations rename the symbols.
22593 -+# This logic adapted from Bruno Haible's iconv.m4.
22594 -+{ echo "$as_me:$LINENO: checking for library containing iconv" >&5
22595 -+echo $ECHO_N "checking for library containing iconv... $ECHO_C" >&6; }
22596 -+if test "${ac_cv_search_iconv+set}" = set; then
22597 - echo $ECHO_N "(cached) $ECHO_C" >&6
22598 - else
22599 -- ac_func_search_save_LIBS=$LIBS
22600 --ac_cv_search_fuse_loop=no
22601 -+
22602 -+ ac_cv_search_iconv=no
22603 - cat >conftest.$ac_ext <<_ACEOF
22604 - /* confdefs.h. */
22605 - _ACEOF
22606 - cat confdefs.h >>conftest.$ac_ext
22607 - cat >>conftest.$ac_ext <<_ACEOF
22608 - /* end confdefs.h. */
22609 --
22610 --/* Override any gcc2 internal prototype to avoid an error. */
22611 --#ifdef __cplusplus
22612 --extern "C"
22613 --#endif
22614 --/* We use char because int might match the return type of a gcc2
22615 -- builtin and then its argument prototype would still apply. */
22616 --char fuse_loop ();
22617 -+#include <stdlib.h>
22618 -+ #include <iconv.h>
22619 - int
22620 - main ()
22621 - {
22622 --fuse_loop ();
22623 -+iconv_t cd = iconv_open("","");
22624 -+ iconv(cd,NULL,NULL,NULL,NULL);
22625 -+ iconv_close(cd);
22626 - ;
22627 - return 0;
22628 - }
22629 - _ACEOF
22630 - rm -f conftest.$ac_objext conftest$ac_exeext
22631 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22632 -- (eval $ac_link) 2>conftest.er1
22633 -+if { (ac_try="$ac_link"
22634 -+case "(($ac_try" in
22635 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22636 -+ *) ac_try_echo=$ac_try;;
22637 -+esac
22638 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22639 -+ (eval "$ac_link") 2>conftest.er1
22640 - ac_status=$?
22641 - grep -v '^ *+' conftest.er1 >conftest.err
22642 - rm -f conftest.er1
22643 - cat conftest.err >&5
22644 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22645 - (exit $ac_status); } &&
22646 -- { ac_try='test -z "$ac_cxx_werror_flag"
22647 -- || test ! -s conftest.err'
22648 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22649 -- (eval $ac_try) 2>&5
22650 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22651 -+ { (case "(($ac_try" in
22652 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22653 -+ *) ac_try_echo=$ac_try;;
22654 -+esac
22655 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22656 -+ (eval "$ac_try") 2>&5
22657 - ac_status=$?
22658 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659 - (exit $ac_status); }; } &&
22660 - { ac_try='test -s conftest$ac_exeext'
22661 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22662 -- (eval $ac_try) 2>&5
22663 -+ { (case "(($ac_try" in
22664 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22665 -+ *) ac_try_echo=$ac_try;;
22666 -+esac
22667 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22668 -+ (eval "$ac_try") 2>&5
22669 - ac_status=$?
22670 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22671 - (exit $ac_status); }; }; then
22672 -- ac_cv_search_fuse_loop="none required"
22673 -+ ac_cv_search_iconv="none required"
22674 - else
22675 - echo "$as_me: failed program was:" >&5
22676 - sed 's/^/| /' conftest.$ac_ext >&5
22677 -
22678 -+
22679 - fi
22680 --rm -f conftest.err conftest.$ac_objext \
22681 -+
22682 -+rm -f core conftest.err conftest.$ac_objext \
22683 - conftest$ac_exeext conftest.$ac_ext
22684 --if test "$ac_cv_search_fuse_loop" = no; then
22685 -- for ac_lib in fuse; do
22686 -- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22687 -+ if test "$ac_cv_search_iconv" != "none required"; then
22688 -+ for l in iconv; do
22689 -+ LIBS="-l$l $orig_LIBS"
22690 - cat >conftest.$ac_ext <<_ACEOF
22691 - /* confdefs.h. */
22692 - _ACEOF
22693 - cat confdefs.h >>conftest.$ac_ext
22694 - cat >>conftest.$ac_ext <<_ACEOF
22695 - /* end confdefs.h. */
22696 --
22697 --/* Override any gcc2 internal prototype to avoid an error. */
22698 --#ifdef __cplusplus
22699 --extern "C"
22700 --#endif
22701 --/* We use char because int might match the return type of a gcc2
22702 -- builtin and then its argument prototype would still apply. */
22703 --char fuse_loop ();
22704 -+#include <stdlib.h>
22705 -+ #include <iconv.h>
22706 - int
22707 - main ()
22708 - {
22709 --fuse_loop ();
22710 -+iconv_t cd = iconv_open("","");
22711 -+ iconv(cd,NULL,NULL,NULL,NULL);
22712 -+ iconv_close(cd);
22713 - ;
22714 - return 0;
22715 - }
22716 - _ACEOF
22717 - rm -f conftest.$ac_objext conftest$ac_exeext
22718 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22719 -- (eval $ac_link) 2>conftest.er1
22720 -+if { (ac_try="$ac_link"
22721 -+case "(($ac_try" in
22722 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22723 -+ *) ac_try_echo=$ac_try;;
22724 -+esac
22725 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22726 -+ (eval "$ac_link") 2>conftest.er1
22727 - ac_status=$?
22728 - grep -v '^ *+' conftest.er1 >conftest.err
22729 - rm -f conftest.er1
22730 - cat conftest.err >&5
22731 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22732 - (exit $ac_status); } &&
22733 -- { ac_try='test -z "$ac_cxx_werror_flag"
22734 -- || test ! -s conftest.err'
22735 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22736 -- (eval $ac_try) 2>&5
22737 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22738 -+ { (case "(($ac_try" in
22739 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22740 -+ *) ac_try_echo=$ac_try;;
22741 -+esac
22742 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22743 -+ (eval "$ac_try") 2>&5
22744 - ac_status=$?
22745 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22746 - (exit $ac_status); }; } &&
22747 - { ac_try='test -s conftest$ac_exeext'
22748 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22749 -- (eval $ac_try) 2>&5
22750 -+ { (case "(($ac_try" in
22751 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22752 -+ *) ac_try_echo=$ac_try;;
22753 -+esac
22754 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22755 -+ (eval "$ac_try") 2>&5
22756 - ac_status=$?
22757 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22758 - (exit $ac_status); }; }; then
22759 -- ac_cv_search_fuse_loop="-l$ac_lib"
22760 --break
22761 -+ ac_cv_search_iconv=-l$l
22762 - else
22763 - echo "$as_me: failed program was:" >&5
22764 - sed 's/^/| /' conftest.$ac_ext >&5
22765 -
22766 -+
22767 - fi
22768 --rm -f conftest.err conftest.$ac_objext \
22769 -+
22770 -+rm -f core conftest.err conftest.$ac_objext \
22771 - conftest$ac_exeext conftest.$ac_ext
22772 -+ LIBS="$orig_LIBS"
22773 - done
22774 - fi
22775 --LIBS=$ac_func_search_save_LIBS
22776 --fi
22777 --echo "$as_me:$LINENO: result: $ac_cv_search_fuse_loop" >&5
22778 --echo "${ECHO_T}$ac_cv_search_fuse_loop" >&6
22779 --if test "$ac_cv_search_fuse_loop" != no; then
22780 -- test "$ac_cv_search_fuse_loop" = "none required" || LIBS="$ac_cv_search_fuse_loop $LIBS"
22781 -- WithPackages="$WithPackages${WithPackagesSep}FUSE"; WithPackagesSep=" "
22782 - fi
22783 -+{ echo "$as_me:$LINENO: result: $ac_cv_search_iconv" >&5
22784 -+echo "${ECHO_T}$ac_cv_search_iconv" >&6; }
22785 -+if test "x$ac_cv_search_iconv" != xno; then
22786 -
22787 --LIBS=$orig_LIBS
22788 --saved_LIBS=$LIBS
22789 -- echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
22790 --echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
22791 --if test "${ac_cv_search_clock_gettime+set}" = set; then
22792 -- echo $ECHO_N "(cached) $ECHO_C" >&6
22793 --else
22794 -- ac_func_search_save_LIBS=$LIBS
22795 --ac_cv_search_clock_gettime=no
22796 --cat >conftest.$ac_ext <<_ACEOF
22797 --/* confdefs.h. */
22798 -+cat >>confdefs.h <<\_ACEOF
22799 -+#define HAVE_LIBICONV 1
22800 - _ACEOF
22801 --cat confdefs.h >>conftest.$ac_ext
22802 --cat >>conftest.$ac_ext <<_ACEOF
22803 --/* end confdefs.h. */
22804 -
22805 --/* Override any gcc2 internal prototype to avoid an error. */
22806 --#ifdef __cplusplus
22807 --extern "C"
22808 --#endif
22809 --/* We use char because int might match the return type of a gcc2
22810 -- builtin and then its argument prototype would still apply. */
22811 --char clock_gettime ();
22812 --int
22813 --main ()
22814 --{
22815 --clock_gettime ();
22816 -- ;
22817 -- return 0;
22818 --}
22819 --_ACEOF
22820 --rm -f conftest.$ac_objext conftest$ac_exeext
22821 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22822 -- (eval $ac_link) 2>conftest.er1
22823 -- ac_status=$?
22824 -- grep -v '^ *+' conftest.er1 >conftest.err
22825 -- rm -f conftest.er1
22826 -- cat conftest.err >&5
22827 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
22828 -- (exit $ac_status); } &&
22829 -- { ac_try='test -z "$ac_cxx_werror_flag"
22830 -- || test ! -s conftest.err'
22831 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22832 -- (eval $ac_try) 2>&5
22833 -- ac_status=$?
22834 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
22835 -- (exit $ac_status); }; } &&
22836 -- { ac_try='test -s conftest$ac_exeext'
22837 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22838 -- (eval $ac_try) 2>&5
22839 -- ac_status=$?
22840 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
22841 -- (exit $ac_status); }; }; then
22842 -- ac_cv_search_clock_gettime="none required"
22843 -+ { echo "$as_me:$LINENO: checking for iconv declaration" >&5
22844 -+echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; }
22845 -+ if test "${am_cv_proto_iconv+set}" = set; then
22846 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
22847 - else
22848 -- echo "$as_me: failed program was:" >&5
22849 --sed 's/^/| /' conftest.$ac_ext >&5
22850 -
22851 --fi
22852 --rm -f conftest.err conftest.$ac_objext \
22853 -- conftest$ac_exeext conftest.$ac_ext
22854 --if test "$ac_cv_search_clock_gettime" = no; then
22855 -- for ac_lib in "$RT_LIBS" rt posix4; do
22856 -- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22857 - cat >conftest.$ac_ext <<_ACEOF
22858 --/* confdefs.h. */
22859 --_ACEOF
22860 --cat confdefs.h >>conftest.$ac_ext
22861 --cat >>conftest.$ac_ext <<_ACEOF
22862 --/* end confdefs.h. */
22863 -
22864 --/* Override any gcc2 internal prototype to avoid an error. */
22865 -+#include <stdlib.h>
22866 -+#include <iconv.h>
22867 -+extern
22868 - #ifdef __cplusplus
22869 --extern "C"
22870 -+"C"
22871 - #endif
22872 --/* We use char because int might match the return type of a gcc2
22873 -- builtin and then its argument prototype would still apply. */
22874 --char clock_gettime ();
22875 --int
22876 --main ()
22877 --{
22878 --clock_gettime ();
22879 -- ;
22880 -- return 0;
22881 --}
22882 -+#if defined(__STDC__) || defined(__cplusplus)
22883 -+size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
22884 -+#else
22885 -+size_t iconv();
22886 -+#endif
22887 -+
22888 - _ACEOF
22889 --rm -f conftest.$ac_objext conftest$ac_exeext
22890 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22891 -- (eval $ac_link) 2>conftest.er1
22892 -+rm -f conftest.$ac_objext
22893 -+if { (ac_try="$ac_compile"
22894 -+case "(($ac_try" in
22895 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22896 -+ *) ac_try_echo=$ac_try;;
22897 -+esac
22898 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22899 -+ (eval "$ac_compile") 2>conftest.er1
22900 - ac_status=$?
22901 - grep -v '^ *+' conftest.er1 >conftest.err
22902 - rm -f conftest.er1
22903 - cat conftest.err >&5
22904 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22905 - (exit $ac_status); } &&
22906 -- { ac_try='test -z "$ac_cxx_werror_flag"
22907 -- || test ! -s conftest.err'
22908 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22909 -- (eval $ac_try) 2>&5
22910 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22911 -+ { (case "(($ac_try" in
22912 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22913 -+ *) ac_try_echo=$ac_try;;
22914 -+esac
22915 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22916 -+ (eval "$ac_try") 2>&5
22917 - ac_status=$?
22918 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919 - (exit $ac_status); }; } &&
22920 -- { ac_try='test -s conftest$ac_exeext'
22921 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22922 -- (eval $ac_try) 2>&5
22923 -+ { ac_try='test -s conftest.$ac_objext'
22924 -+ { (case "(($ac_try" in
22925 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22926 -+ *) ac_try_echo=$ac_try;;
22927 -+esac
22928 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22929 -+ (eval "$ac_try") 2>&5
22930 - ac_status=$?
22931 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
22932 - (exit $ac_status); }; }; then
22933 -- ac_cv_search_clock_gettime="-l$ac_lib"
22934 --break
22935 -+ am_cv_proto_iconv_arg1=""
22936 - else
22937 - echo "$as_me: failed program was:" >&5
22938 - sed 's/^/| /' conftest.$ac_ext >&5
22939 -
22940 -+ am_cv_proto_iconv_arg1="const"
22941 - fi
22942 --rm -f conftest.err conftest.$ac_objext \
22943 -- conftest$ac_exeext conftest.$ac_ext
22944 -- done
22945 --fi
22946 --LIBS=$ac_func_search_save_LIBS
22947 -+
22948 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22949 -+ am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
22950 - fi
22951 --echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
22952 --echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
22953 --if test "$ac_cv_search_clock_gettime" != no; then
22954 -- test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
22955 -
22956 --cat >>confdefs.h <<\_ACEOF
22957 --#define HAVE_LIBRT 1
22958 --_ACEOF
22959 -+ am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
22960 -+ { echo "$as_me:$LINENO: result: ${ac_t:-
22961 -+ }$am_cv_proto_iconv" >&5
22962 -+echo "${ECHO_T}${ac_t:-
22963 -+ }$am_cv_proto_iconv" >&6; }
22964 -
22965 -- test "x$ac_cv_search_clock_gettime" = "xnone required" || RT_LIBS=$ac_cv_search_clock_gettime
22966 -+cat >>confdefs.h <<_ACEOF
22967 -+#define ICONV_CONST $am_cv_proto_iconv_arg1
22968 -+_ACEOF
22969 -+
22970 -+ if test "x$ac_cv_search_iconv" != "xnone required"; then
22971 -+ ICONV_LIBS=$ac_cv_search_iconv
22972 -+ fi
22973 - fi
22974 -
22975 -- LIBS=$saved_LIBS
22976 -
22977 --saved_LIBS=$LIBS
22978 -- echo "$as_me:$LINENO: checking for library containing cplus_demangle" >&5
22979 --echo $ECHO_N "checking for library containing cplus_demangle... $ECHO_C" >&6
22980 --if test "${ac_cv_search_cplus_demangle+set}" = set; then
22981 -+### Third-party libraries
22982 -+
22983 -+usr_lib='[/usr]*/lib/*[amdsprcv]*[23469]*'
22984 -+no_usr_lib="s,-L$usr_lib ,,g;"
22985 -+
22986 -+if test "$with_z" != "no"; then
22987 -+ case "$with_z" in
22988 -+ yes | "" ) ;;
22989 -+ * ) Z_PATH=$with_z ;;
22990 -+ esac
22991 -+ if test -d "$Z_PATH"; then
22992 -+ in_path=" in $Z_PATH"
22993 -+ if test -z "$Z_INCLUDE" -a -d "$Z_PATH/include"; then
22994 -+ Z_INCLUDE="-I$Z_PATH/include"
22995 -+ fi
22996 -+ if test -n "$Z_LIBPATH"; then
22997 -+ :
22998 -+ elif test -d "$Z_PATH/lib${bit64_sfx}"; then
22999 -+ ncbi_rp_L_flags=
23000 -+ ncbi_rp_L_sep=$CONF_f_libpath
23001 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
23002 -+ for x in $Z_PATH/lib${bit64_sfx}; do
23003 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
23004 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
23005 -+ done
23006 -+ Z_LIBPATH="${ncbi_rp_L_flags}"
23007 -+ else
23008 -+ ncbi_rp_R_flags=
23009 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
23010 -+ for x in $Z_PATH/lib${bit64_sfx}; do
23011 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
23012 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
23013 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
23014 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
23015 -+ ncbi_rp_R_sep=:
23016 -+ done
23017 -+ Z_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
23018 -+ fi
23019 -+ elif test -d "$Z_PATH/lib"; then
23020 -+ ncbi_rp_L_flags=
23021 -+ ncbi_rp_L_sep=$CONF_f_libpath
23022 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
23023 -+ for x in $Z_PATH/lib; do
23024 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
23025 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
23026 -+ done
23027 -+ Z_LIBPATH="${ncbi_rp_L_flags}"
23028 -+ else
23029 -+ ncbi_rp_R_flags=
23030 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
23031 -+ for x in $Z_PATH/lib; do
23032 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
23033 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
23034 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
23035 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
23036 -+ ncbi_rp_R_sep=:
23037 -+ done
23038 -+ Z_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
23039 -+ fi
23040 -+ fi
23041 -+ Z_LIBS="$Z_LIBPATH -lz "
23042 -+ else
23043 -+ Z_INCLUDE=""
23044 -+ Z_LIBS="-lz "
23045 -+ in_path=
23046 -+ fi
23047 -+ { echo "$as_me:$LINENO: checking for libz$in_path" >&5
23048 -+echo $ECHO_N "checking for libz$in_path... $ECHO_C" >&6; }
23049 -+if test "${ncbi_cv_lib_z+set}" = set; then
23050 - echo $ECHO_N "(cached) $ECHO_C" >&6
23051 - else
23052 -- ac_func_search_save_LIBS=$LIBS
23053 --ac_cv_search_cplus_demangle=no
23054 -+ CPPFLAGS=" $Z_INCLUDE $orig_CPPFLAGS"
23055 -+ LIBS="$Z_LIBS $orig_LIBS"
23056 - cat >conftest.$ac_ext <<_ACEOF
23057 - /* confdefs.h. */
23058 - _ACEOF
23059 - cat confdefs.h >>conftest.$ac_ext
23060 - cat >>conftest.$ac_ext <<_ACEOF
23061 - /* end confdefs.h. */
23062 --
23063 --/* Override any gcc2 internal prototype to avoid an error. */
23064 --#ifdef __cplusplus
23065 --extern "C"
23066 --#endif
23067 --/* We use char because int might match the return type of a gcc2
23068 -- builtin and then its argument prototype would still apply. */
23069 --char cplus_demangle ();
23070 -+#include <zlib.h>
23071 - int
23072 - main ()
23073 - {
23074 --cplus_demangle ();
23075 -+gzFile fp; char buf[1024]; int n = gzread(fp, buf, sizeof(buf))
23076 - ;
23077 - return 0;
23078 - }
23079 - _ACEOF
23080 - rm -f conftest.$ac_objext conftest$ac_exeext
23081 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23082 -- (eval $ac_link) 2>conftest.er1
23083 -+if { (ac_try="$ac_link"
23084 -+case "(($ac_try" in
23085 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23086 -+ *) ac_try_echo=$ac_try;;
23087 -+esac
23088 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23089 -+ (eval "$ac_link") 2>conftest.er1
23090 - ac_status=$?
23091 - grep -v '^ *+' conftest.er1 >conftest.err
23092 - rm -f conftest.er1
23093 - cat conftest.err >&5
23094 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095 - (exit $ac_status); } &&
23096 -- { ac_try='test -z "$ac_cxx_werror_flag"
23097 -- || test ! -s conftest.err'
23098 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23099 -- (eval $ac_try) 2>&5
23100 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23101 -+ { (case "(($ac_try" in
23102 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23103 -+ *) ac_try_echo=$ac_try;;
23104 -+esac
23105 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23106 -+ (eval "$ac_try") 2>&5
23107 - ac_status=$?
23108 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
23109 - (exit $ac_status); }; } &&
23110 - { ac_try='test -s conftest$ac_exeext'
23111 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23112 -- (eval $ac_try) 2>&5
23113 -+ { (case "(($ac_try" in
23114 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23115 -+ *) ac_try_echo=$ac_try;;
23116 -+esac
23117 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23118 -+ (eval "$ac_try") 2>&5
23119 - ac_status=$?
23120 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121 - (exit $ac_status); }; }; then
23122 -- ac_cv_search_cplus_demangle="none required"
23123 -+ ncbi_cv_lib_z=yes
23124 - else
23125 - echo "$as_me: failed program was:" >&5
23126 - sed 's/^/| /' conftest.$ac_ext >&5
23127 -
23128 -+ ncbi_cv_lib_z=no
23129 - fi
23130 --rm -f conftest.err conftest.$ac_objext \
23131 -+
23132 -+rm -f core conftest.err conftest.$ac_objext \
23133 - conftest$ac_exeext conftest.$ac_ext
23134 --if test "$ac_cv_search_cplus_demangle" = no; then
23135 -- for ac_lib in "$DEMANGLE_LIBS" demangle; do
23136 -- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
23137 -+fi
23138 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_z" >&5
23139 -+echo "${ECHO_T}$ncbi_cv_lib_z" >&6; }
23140 -+ if test "$ncbi_cv_lib_z" = "no"; then
23141 -+ if test "${with_z:=no}" != no; then
23142 -+ { { echo "$as_me:$LINENO: error: --with-z explicitly specified, but no usable version found." >&5
23143 -+echo "$as_me: error: --with-z explicitly specified, but no usable version found." >&2;}
23144 -+ { (exit 1); exit 1; }; }
23145 -+ fi
23146 -+ fi
23147 -+ fi
23148 -+ if test "$with_z" = "no"; then
23149 -+ Z_PATH="No_Z"
23150 -+ Z_INCLUDE=
23151 -+ Z_LIBS=
23152 -+ else
23153 -+ WithPackages="$WithPackages${WithPackagesSep}Z"; WithPackagesSep=" "
23154 -+ Z_INCLUDE=" $Z_INCLUDE"
23155 -+
23156 -+cat >>confdefs.h <<\_ACEOF
23157 -+#define HAVE_LIBZ 1
23158 -+_ACEOF
23159 -+
23160 -+ fi
23161 -+
23162 -+
23163 -+
23164 -+if test -z "$Z_LIBS"; then
23165 -+ zlocal=util/compress/zlib
23166 -+ { echo "$as_me:$LINENO: using local zlib copy in $zlocal" >&5
23167 -+echo "$as_me: using local zlib copy in $zlocal" >&6;}
23168 -+ Z_PATH="<$zlocal>"
23169 -+ Z_INCLUDE="-I\$(includedir)/$zlocal -I\$(includedir0)/$zlocal"
23170 -+ # Z_LIBS="-lz"
23171 -+ Z_LIB="z"
23172 -+ # AC_DEFINE(USE_LOCAL_ZLIB, 1, [Define to 1 if using a local copy of zlib.])
23173 -+ WithPackages="$WithPackages${WithPackagesSep}Z"; WithPackagesSep=" "
23174 -+ WithPackages="$WithPackages${WithPackagesSep}LocalZ"; WithPackagesSep=" "
23175 -+fi
23176 -+
23177 -+if test "$with_bz2" != "no"; then
23178 -+ case "$with_bz2" in
23179 -+ yes | "" ) ;;
23180 -+ * ) BZ2_PATH=$with_bz2 ;;
23181 -+ esac
23182 -+ if test -d "$BZ2_PATH"; then
23183 -+ in_path=" in $BZ2_PATH"
23184 -+ if test -z "$BZ2_INCLUDE" -a -d "$BZ2_PATH/include"; then
23185 -+ BZ2_INCLUDE="-I$BZ2_PATH/include"
23186 -+ fi
23187 -+ if test -n "$BZ2_LIBPATH"; then
23188 -+ :
23189 -+ elif test -d "$BZ2_PATH/lib${bit64_sfx}"; then
23190 -+ ncbi_rp_L_flags=
23191 -+ ncbi_rp_L_sep=$CONF_f_libpath
23192 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
23193 -+ for x in $BZ2_PATH/lib${bit64_sfx}; do
23194 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
23195 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
23196 -+ done
23197 -+ BZ2_LIBPATH="${ncbi_rp_L_flags}"
23198 -+ else
23199 -+ ncbi_rp_R_flags=
23200 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
23201 -+ for x in $BZ2_PATH/lib${bit64_sfx}; do
23202 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
23203 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
23204 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
23205 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
23206 -+ ncbi_rp_R_sep=:
23207 -+ done
23208 -+ BZ2_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
23209 -+ fi
23210 -+ elif test -d "$BZ2_PATH/lib"; then
23211 -+ ncbi_rp_L_flags=
23212 -+ ncbi_rp_L_sep=$CONF_f_libpath
23213 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
23214 -+ for x in $BZ2_PATH/lib; do
23215 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
23216 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
23217 -+ done
23218 -+ BZ2_LIBPATH="${ncbi_rp_L_flags}"
23219 -+ else
23220 -+ ncbi_rp_R_flags=
23221 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
23222 -+ for x in $BZ2_PATH/lib; do
23223 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
23224 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
23225 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
23226 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
23227 -+ ncbi_rp_R_sep=:
23228 -+ done
23229 -+ BZ2_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
23230 -+ fi
23231 -+ fi
23232 -+ BZ2_LIBS="$BZ2_LIBPATH -lbz2 "
23233 -+ else
23234 -+ BZ2_INCLUDE=""
23235 -+ BZ2_LIBS="-lbz2 "
23236 -+ in_path=
23237 -+ fi
23238 -+ { echo "$as_me:$LINENO: checking for libbz2$in_path" >&5
23239 -+echo $ECHO_N "checking for libbz2$in_path... $ECHO_C" >&6; }
23240 -+if test "${ncbi_cv_lib_bz2+set}" = set; then
23241 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
23242 -+else
23243 -+ CPPFLAGS=" $BZ2_INCLUDE $orig_CPPFLAGS"
23244 -+ LIBS="$BZ2_LIBS $orig_LIBS"
23245 - cat >conftest.$ac_ext <<_ACEOF
23246 - /* confdefs.h. */
23247 - _ACEOF
23248 - cat confdefs.h >>conftest.$ac_ext
23249 - cat >>conftest.$ac_ext <<_ACEOF
23250 - /* end confdefs.h. */
23251 --
23252 --/* Override any gcc2 internal prototype to avoid an error. */
23253 --#ifdef __cplusplus
23254 --extern "C"
23255 --#endif
23256 --/* We use char because int might match the return type of a gcc2
23257 -- builtin and then its argument prototype would still apply. */
23258 --char cplus_demangle ();
23259 -+#include <bzlib.h>
23260 - int
23261 - main ()
23262 - {
23263 --cplus_demangle ();
23264 -+BZFILE* fp; char buf[1024]; int err;
23265 -+ int n = BZ2_bzRead(&err, fp, buf, sizeof(buf))
23266 - ;
23267 - return 0;
23268 - }
23269 - _ACEOF
23270 - rm -f conftest.$ac_objext conftest$ac_exeext
23271 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23272 -- (eval $ac_link) 2>conftest.er1
23273 -+if { (ac_try="$ac_link"
23274 -+case "(($ac_try" in
23275 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23276 -+ *) ac_try_echo=$ac_try;;
23277 -+esac
23278 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23279 -+ (eval "$ac_link") 2>conftest.er1
23280 - ac_status=$?
23281 - grep -v '^ *+' conftest.er1 >conftest.err
23282 - rm -f conftest.er1
23283 - cat conftest.err >&5
23284 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285 - (exit $ac_status); } &&
23286 -- { ac_try='test -z "$ac_cxx_werror_flag"
23287 -- || test ! -s conftest.err'
23288 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23289 -- (eval $ac_try) 2>&5
23290 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23291 -+ { (case "(($ac_try" in
23292 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23293 -+ *) ac_try_echo=$ac_try;;
23294 -+esac
23295 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23296 -+ (eval "$ac_try") 2>&5
23297 - ac_status=$?
23298 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299 - (exit $ac_status); }; } &&
23300 - { ac_try='test -s conftest$ac_exeext'
23301 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23302 -- (eval $ac_try) 2>&5
23303 -+ { (case "(($ac_try" in
23304 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23305 -+ *) ac_try_echo=$ac_try;;
23306 -+esac
23307 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23308 -+ (eval "$ac_try") 2>&5
23309 - ac_status=$?
23310 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 - (exit $ac_status); }; }; then
23312 -- ac_cv_search_cplus_demangle="-l$ac_lib"
23313 --break
23314 -+ ncbi_cv_lib_bz2=yes
23315 - else
23316 - echo "$as_me: failed program was:" >&5
23317 - sed 's/^/| /' conftest.$ac_ext >&5
23318 -
23319 -+ ncbi_cv_lib_bz2=no
23320 - fi
23321 --rm -f conftest.err conftest.$ac_objext \
23322 -+
23323 -+rm -f core conftest.err conftest.$ac_objext \
23324 - conftest$ac_exeext conftest.$ac_ext
23325 -- done
23326 - fi
23327 --LIBS=$ac_func_search_save_LIBS
23328 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_bz2" >&5
23329 -+echo "${ECHO_T}$ncbi_cv_lib_bz2" >&6; }
23330 -+ if test "$ncbi_cv_lib_bz2" = "no"; then
23331 -+ if test "${with_bz2:=no}" != no; then
23332 -+ { { echo "$as_me:$LINENO: error: --with-bz2 explicitly specified, but no usable version found." >&5
23333 -+echo "$as_me: error: --with-bz2 explicitly specified, but no usable version found." >&2;}
23334 -+ { (exit 1); exit 1; }; }
23335 -+ fi
23336 - fi
23337 --echo "$as_me:$LINENO: result: $ac_cv_search_cplus_demangle" >&5
23338 --echo "${ECHO_T}$ac_cv_search_cplus_demangle" >&6
23339 --if test "$ac_cv_search_cplus_demangle" != no; then
23340 -- test "$ac_cv_search_cplus_demangle" = "none required" || LIBS="$ac_cv_search_cplus_demangle $LIBS"
23341 -+ fi
23342 -+ if test "$with_bz2" = "no"; then
23343 -+ BZ2_PATH="No_BZ2"
23344 -+ BZ2_INCLUDE=
23345 -+ BZ2_LIBS=
23346 -+ else
23347 -+ WithPackages="$WithPackages${WithPackagesSep}BZ2"; WithPackagesSep=" "
23348 -+ BZ2_INCLUDE=" $BZ2_INCLUDE"
23349 -
23350 - cat >>confdefs.h <<\_ACEOF
23351 --#define HAVE_LIBDEMANGLE 1
23352 -+#define HAVE_LIBBZ2 1
23353 - _ACEOF
23354 -
23355 -- test "x$ac_cv_search_cplus_demangle" = "xnone required" || DEMANGLE_LIBS=$ac_cv_search_cplus_demangle
23356 - fi
23357 -
23358 -- LIBS=$saved_LIBS
23359 -
23360 --# Add to (orig_)LIBS if present for the sake of corelib and the
23361 --# following call to AC_CHECK_FUNCS.
23362 --if test -n "$DEMANGLE_LIBS$RT_LIBS"; then
23363 -- LIBS="$DEMANGLE_LIBS $RT_LIBS $LIBS"
23364 -- orig_LIBS="$DEMANGLE_LIBS $RT_LIBS $orig_LIBS"
23365 --fi
23366 -
23367 -+if test -z "$BZ2_LIBS"; then
23368 -+ bzlocal=util/compress/bzip2
23369 -+ { echo "$as_me:$LINENO: using local bzlib copy in $bzlocal" >&5
23370 -+echo "$as_me: using local bzlib copy in $bzlocal" >&6;}
23371 -+ BZ2_PATH="<$bzlocal>"
23372 -+ BZ2_INCLUDE="-I\$(includedir)/$bzlocal -I\$(includedir0)/$bzlocal"
23373 -+ # BZ2_LIBS="-lbz2"
23374 -+ BZ2_LIB="bz2"
23375 -
23376 --for ac_func in nanosleep sched_yield
23377 --do
23378 --as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23379 --echo "$as_me:$LINENO: checking for $ac_func" >&5
23380 --echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23381 --if eval "test \"\${$as_ac_var+set}\" = set"; then
23382 -+cat >>confdefs.h <<\_ACEOF
23383 -+#define USE_LOCAL_BZLIB 1
23384 -+_ACEOF
23385 -+
23386 -+ WithPackages="$WithPackages${WithPackagesSep}BZ2"; WithPackagesSep=" "
23387 -+ WithPackages="$WithPackages${WithPackagesSep}LocalBZ2"; WithPackagesSep=" "
23388 -+fi
23389 -+
23390 -+if test -d "$LZO_PATH"; then
23391 -+ ncbi_fix_dir_tmp=`if cd $LZO_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
23392 -+ case "$ncbi_fix_dir_tmp" in
23393 -+ /.*) ncbi_fix_dir_tmp2=`cd $LZO_PATH && $smart_pwd 2>/dev/null`
23394 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
23395 -+ LZO_PATH=$ncbi_fix_dir_tmp2
23396 -+ else
23397 -+ case "$LZO_PATH" in
23398 -+ /*) ;;
23399 -+ * ) LZO_PATH=$ncbi_fix_dir_tmp ;;
23400 -+ esac
23401 -+ fi
23402 -+ ;;
23403 -+ /*) LZO_PATH=$ncbi_fix_dir_tmp ;;
23404 -+ esac
23405 -+fi
23406 -+if test "$with_lzo" != "no"; then
23407 -+ case "$with_lzo" in
23408 -+ yes | "" ) ;;
23409 -+ * ) LZO_PATH=$with_lzo ;;
23410 -+ esac
23411 -+ if test -d "$LZO_PATH"; then
23412 -+ in_path=" in $LZO_PATH"
23413 -+ if test -z "$LZO_INCLUDE" -a -d "$LZO_PATH/include"; then
23414 -+ LZO_INCLUDE="-I$LZO_PATH/include"
23415 -+ fi
23416 -+ if test -n "$LZO_LIBPATH"; then
23417 -+ :
23418 -+ elif test -d "$LZO_PATH/lib${bit64_sfx}"; then
23419 -+ ncbi_rp_L_flags=
23420 -+ ncbi_rp_L_sep=$CONF_f_libpath
23421 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
23422 -+ for x in $LZO_PATH/lib${bit64_sfx}; do
23423 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
23424 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
23425 -+ done
23426 -+ LZO_LIBPATH="${ncbi_rp_L_flags}"
23427 -+ else
23428 -+ ncbi_rp_R_flags=
23429 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
23430 -+ for x in $LZO_PATH/lib${bit64_sfx}; do
23431 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
23432 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
23433 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
23434 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
23435 -+ ncbi_rp_R_sep=:
23436 -+ done
23437 -+ LZO_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
23438 -+ fi
23439 -+ elif test -d "$LZO_PATH/lib"; then
23440 -+ ncbi_rp_L_flags=
23441 -+ ncbi_rp_L_sep=$CONF_f_libpath
23442 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
23443 -+ for x in $LZO_PATH/lib; do
23444 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
23445 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
23446 -+ done
23447 -+ LZO_LIBPATH="${ncbi_rp_L_flags}"
23448 -+ else
23449 -+ ncbi_rp_R_flags=
23450 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
23451 -+ for x in $LZO_PATH/lib; do
23452 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
23453 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
23454 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
23455 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
23456 -+ ncbi_rp_R_sep=:
23457 -+ done
23458 -+ LZO_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
23459 -+ fi
23460 -+ fi
23461 -+ LZO_LIBS="$LZO_LIBPATH -llzo2 "
23462 -+ else
23463 -+ LZO_INCLUDE=""
23464 -+ LZO_LIBS="-llzo2 "
23465 -+ in_path=
23466 -+ fi
23467 -+ { echo "$as_me:$LINENO: checking for liblzo2$in_path" >&5
23468 -+echo $ECHO_N "checking for liblzo2$in_path... $ECHO_C" >&6; }
23469 -+if test "${ncbi_cv_lib_lzo+set}" = set; then
23470 - echo $ECHO_N "(cached) $ECHO_C" >&6
23471 - else
23472 -+ CPPFLAGS=" $LZO_INCLUDE $orig_CPPFLAGS"
23473 -+ LIBS="$LZO_LIBS $orig_LIBS"
23474 - cat >conftest.$ac_ext <<_ACEOF
23475 - /* confdefs.h. */
23476 - _ACEOF
23477 - cat confdefs.h >>conftest.$ac_ext
23478 - cat >>conftest.$ac_ext <<_ACEOF
23479 - /* end confdefs.h. */
23480 --/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23481 -- For example, HP-UX 11i <limits.h> declares gettimeofday. */
23482 --#define $ac_func innocuous_$ac_func
23483 --
23484 --/* System header to define __stub macros and hopefully few prototypes,
23485 -- which can conflict with char $ac_func (); below.
23486 -- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23487 -- <limits.h> exists even on freestanding compilers. */
23488 --
23489 --#ifdef __STDC__
23490 --# include <limits.h>
23491 --#else
23492 --# include <assert.h>
23493 --#endif
23494 --
23495 --#undef $ac_func
23496 --
23497 --/* Override any gcc2 internal prototype to avoid an error. */
23498 --#ifdef __cplusplus
23499 --extern "C"
23500 --{
23501 --#endif
23502 --/* We use char because int might match the return type of a gcc2
23503 -- builtin and then its argument prototype would still apply. */
23504 --char $ac_func ();
23505 --/* The GNU C library defines this for functions which it implements
23506 -- to always fail with ENOSYS. Some functions are actually named
23507 -- something starting with __ and the normal name is an alias. */
23508 --#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23509 --choke me
23510 --#else
23511 --char (*f) () = $ac_func;
23512 --#endif
23513 --#ifdef __cplusplus
23514 --}
23515 --#endif
23516 --
23517 -+#include <lzo/lzo1x.h>
23518 - int
23519 - main ()
23520 - {
23521 --return f != $ac_func;
23522 -+lzo_uint32 c = lzo_crc32(0, (const unsigned char*)"foo", 3);
23523 - ;
23524 - return 0;
23525 - }
23526 - _ACEOF
23527 - rm -f conftest.$ac_objext conftest$ac_exeext
23528 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23529 -- (eval $ac_link) 2>conftest.er1
23530 -+if { (ac_try="$ac_link"
23531 -+case "(($ac_try" in
23532 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23533 -+ *) ac_try_echo=$ac_try;;
23534 -+esac
23535 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23536 -+ (eval "$ac_link") 2>conftest.er1
23537 - ac_status=$?
23538 - grep -v '^ *+' conftest.er1 >conftest.err
23539 - rm -f conftest.er1
23540 - cat conftest.err >&5
23541 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
23542 - (exit $ac_status); } &&
23543 -- { ac_try='test -z "$ac_cxx_werror_flag"
23544 -- || test ! -s conftest.err'
23545 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23546 -- (eval $ac_try) 2>&5
23547 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23548 -+ { (case "(($ac_try" in
23549 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23550 -+ *) ac_try_echo=$ac_try;;
23551 -+esac
23552 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23553 -+ (eval "$ac_try") 2>&5
23554 - ac_status=$?
23555 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
23556 - (exit $ac_status); }; } &&
23557 - { ac_try='test -s conftest$ac_exeext'
23558 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23559 -- (eval $ac_try) 2>&5
23560 -+ { (case "(($ac_try" in
23561 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23562 -+ *) ac_try_echo=$ac_try;;
23563 -+esac
23564 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23565 -+ (eval "$ac_try") 2>&5
23566 - ac_status=$?
23567 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
23568 - (exit $ac_status); }; }; then
23569 -- eval "$as_ac_var=yes"
23570 -+ ncbi_cv_lib_lzo=yes
23571 - else
23572 - echo "$as_me: failed program was:" >&5
23573 - sed 's/^/| /' conftest.$ac_ext >&5
23574 -
23575 --eval "$as_ac_var=no"
23576 -+ ncbi_cv_lib_lzo=no
23577 - fi
23578 --rm -f conftest.err conftest.$ac_objext \
23579 -+
23580 -+rm -f core conftest.err conftest.$ac_objext \
23581 - conftest$ac_exeext conftest.$ac_ext
23582 - fi
23583 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23584 --echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23585 --if test `eval echo '${'$as_ac_var'}'` = yes; then
23586 -- cat >>confdefs.h <<_ACEOF
23587 --#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23588 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_lzo" >&5
23589 -+echo "${ECHO_T}$ncbi_cv_lib_lzo" >&6; }
23590 -+ if test "$ncbi_cv_lib_lzo" = "no"; then
23591 -+ if test "${with_lzo:=no}" != no; then
23592 -+ { { echo "$as_me:$LINENO: error: --with-lzo explicitly specified, but no usable version found." >&5
23593 -+echo "$as_me: error: --with-lzo explicitly specified, but no usable version found." >&2;}
23594 -+ { (exit 1); exit 1; }; }
23595 -+ fi
23596 -+ fi
23597 -+ fi
23598 -+ if test "$with_lzo" = "no"; then
23599 -+ LZO_PATH="No_LZO"
23600 -+ LZO_INCLUDE=
23601 -+ LZO_LIBS=
23602 -+ else
23603 -+ WithPackages="$WithPackages${WithPackagesSep}LZO"; WithPackagesSep=" "
23604 -+ LZO_INCLUDE=" $LZO_INCLUDE"
23605 -+
23606 -+cat >>confdefs.h <<\_ACEOF
23607 -+#define HAVE_LIBLZO 1
23608 - _ACEOF
23609 -
23610 - fi
23611 --done
23612 -
23613 -
23614 --# We need to include <iconv.h>, since some implementations rename the symbols.
23615 --# This logic adapted from Bruno Haible's iconv.m4.
23616 --echo "$as_me:$LINENO: checking for library containing iconv" >&5
23617 --echo $ECHO_N "checking for library containing iconv... $ECHO_C" >&6
23618 --if test "${ac_cv_search_iconv+set}" = set; then
23619 -+
23620 -+
23621 -+if test -z "$PCRE_PATH" && pcre-config --version >/dev/null 2>&1; then
23622 -+ p=`pcre-config --prefix`
23623 -+ test "x$p" = "x/usr" || PCRE_PATH=$p
23624 -+fi
23625 -+if test "$with_pcre" != "no"; then
23626 -+ case "$with_pcre" in
23627 -+ yes | "" ) ;;
23628 -+ * ) PCRE_PATH=$with_pcre ;;
23629 -+ esac
23630 -+ if test -d "$PCRE_PATH"; then
23631 -+ in_path=" in $PCRE_PATH"
23632 -+ if test -z "$PCRE_INCLUDE" -a -d "$PCRE_PATH/include"; then
23633 -+ PCRE_INCLUDE="-I$PCRE_PATH/include"
23634 -+ fi
23635 -+ if test -n "$PCRE_LIBPATH"; then
23636 -+ :
23637 -+ elif test -d "$PCRE_PATH/lib${bit64_sfx}"; then
23638 -+ ncbi_rp_L_flags=
23639 -+ ncbi_rp_L_sep=$CONF_f_libpath
23640 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
23641 -+ for x in $PCRE_PATH/lib${bit64_sfx}; do
23642 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
23643 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
23644 -+ done
23645 -+ PCRE_LIBPATH="${ncbi_rp_L_flags}"
23646 -+ else
23647 -+ ncbi_rp_R_flags=
23648 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
23649 -+ for x in $PCRE_PATH/lib${bit64_sfx}; do
23650 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
23651 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
23652 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
23653 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
23654 -+ ncbi_rp_R_sep=:
23655 -+ done
23656 -+ PCRE_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
23657 -+ fi
23658 -+ elif test -d "$PCRE_PATH/lib"; then
23659 -+ ncbi_rp_L_flags=
23660 -+ ncbi_rp_L_sep=$CONF_f_libpath
23661 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
23662 -+ for x in $PCRE_PATH/lib; do
23663 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
23664 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
23665 -+ done
23666 -+ PCRE_LIBPATH="${ncbi_rp_L_flags}"
23667 -+ else
23668 -+ ncbi_rp_R_flags=
23669 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
23670 -+ for x in $PCRE_PATH/lib; do
23671 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
23672 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
23673 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
23674 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
23675 -+ ncbi_rp_R_sep=:
23676 -+ done
23677 -+ PCRE_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
23678 -+ fi
23679 -+ fi
23680 -+ PCRE_LIBS="$PCRE_LIBPATH -lpcre "
23681 -+ else
23682 -+ PCRE_INCLUDE=""
23683 -+ PCRE_LIBS="-lpcre "
23684 -+ in_path=
23685 -+ fi
23686 -+ { echo "$as_me:$LINENO: checking for libpcre$in_path" >&5
23687 -+echo $ECHO_N "checking for libpcre$in_path... $ECHO_C" >&6; }
23688 -+if test "${ncbi_cv_lib_pcre+set}" = set; then
23689 - echo $ECHO_N "(cached) $ECHO_C" >&6
23690 - else
23691 --
23692 -- ac_cv_search_iconv=no
23693 -+ CPPFLAGS=" $PCRE_INCLUDE $orig_CPPFLAGS"
23694 -+ LIBS="$PCRE_LIBS $orig_LIBS"
23695 - cat >conftest.$ac_ext <<_ACEOF
23696 - /* confdefs.h. */
23697 - _ACEOF
23698 - cat confdefs.h >>conftest.$ac_ext
23699 - cat >>conftest.$ac_ext <<_ACEOF
23700 - /* end confdefs.h. */
23701 --#include <stdlib.h>
23702 -- #include <iconv.h>
23703 -+#include <pcre.h>
23704 - int
23705 - main ()
23706 - {
23707 --iconv_t cd = iconv_open("","");
23708 -- iconv(cd,NULL,NULL,NULL,NULL);
23709 -- iconv_close(cd);
23710 -+const char*s[]={"x"}; pcre* p; pcre_extra* x = pcre_study(p, 1, s);
23711 - ;
23712 - return 0;
23713 - }
23714 - _ACEOF
23715 - rm -f conftest.$ac_objext conftest$ac_exeext
23716 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23717 -- (eval $ac_link) 2>conftest.er1
23718 -+if { (ac_try="$ac_link"
23719 -+case "(($ac_try" in
23720 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23721 -+ *) ac_try_echo=$ac_try;;
23722 -+esac
23723 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23724 -+ (eval "$ac_link") 2>conftest.er1
23725 - ac_status=$?
23726 - grep -v '^ *+' conftest.er1 >conftest.err
23727 - rm -f conftest.er1
23728 - cat conftest.err >&5
23729 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 - (exit $ac_status); } &&
23731 -- { ac_try='test -z "$ac_cxx_werror_flag"
23732 -- || test ! -s conftest.err'
23733 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23734 -- (eval $ac_try) 2>&5
23735 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23736 -+ { (case "(($ac_try" in
23737 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23738 -+ *) ac_try_echo=$ac_try;;
23739 -+esac
23740 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23741 -+ (eval "$ac_try") 2>&5
23742 - ac_status=$?
23743 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
23744 - (exit $ac_status); }; } &&
23745 - { ac_try='test -s conftest$ac_exeext'
23746 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23747 -- (eval $ac_try) 2>&5
23748 -+ { (case "(($ac_try" in
23749 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23750 -+ *) ac_try_echo=$ac_try;;
23751 -+esac
23752 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23753 -+ (eval "$ac_try") 2>&5
23754 - ac_status=$?
23755 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
23756 - (exit $ac_status); }; }; then
23757 -- ac_cv_search_iconv="none required"
23758 -+ ncbi_cv_lib_pcre=yes
23759 - else
23760 - echo "$as_me: failed program was:" >&5
23761 - sed 's/^/| /' conftest.$ac_ext >&5
23762 -
23763 -+ ncbi_cv_lib_pcre=no
23764 - fi
23765 --rm -f conftest.err conftest.$ac_objext \
23766 -+
23767 -+rm -f core conftest.err conftest.$ac_objext \
23768 - conftest$ac_exeext conftest.$ac_ext
23769 -- if test "$ac_cv_search_iconv" != "none required"; then
23770 -- for l in iconv; do
23771 -- LIBS="-l$l $orig_LIBS"
23772 -- cat >conftest.$ac_ext <<_ACEOF
23773 --/* confdefs.h. */
23774 --_ACEOF
23775 --cat confdefs.h >>conftest.$ac_ext
23776 --cat >>conftest.$ac_ext <<_ACEOF
23777 --/* end confdefs.h. */
23778 --#include <stdlib.h>
23779 -- #include <iconv.h>
23780 --int
23781 --main ()
23782 --{
23783 --iconv_t cd = iconv_open("","");
23784 -- iconv(cd,NULL,NULL,NULL,NULL);
23785 -- iconv_close(cd);
23786 -- ;
23787 -- return 0;
23788 --}
23789 --_ACEOF
23790 --rm -f conftest.$ac_objext conftest$ac_exeext
23791 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23792 -- (eval $ac_link) 2>conftest.er1
23793 -- ac_status=$?
23794 -- grep -v '^ *+' conftest.er1 >conftest.err
23795 -- rm -f conftest.er1
23796 -- cat conftest.err >&5
23797 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
23798 -- (exit $ac_status); } &&
23799 -- { ac_try='test -z "$ac_cxx_werror_flag"
23800 -- || test ! -s conftest.err'
23801 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23802 -- (eval $ac_try) 2>&5
23803 -- ac_status=$?
23804 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
23805 -- (exit $ac_status); }; } &&
23806 -- { ac_try='test -s conftest$ac_exeext'
23807 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23808 -- (eval $ac_try) 2>&5
23809 -- ac_status=$?
23810 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
23811 -- (exit $ac_status); }; }; then
23812 -- ac_cv_search_iconv=-l$l
23813 --else
23814 -- echo "$as_me: failed program was:" >&5
23815 --sed 's/^/| /' conftest.$ac_ext >&5
23816 --
23817 - fi
23818 --rm -f conftest.err conftest.$ac_objext \
23819 -- conftest$ac_exeext conftest.$ac_ext
23820 -- LIBS="$orig_LIBS"
23821 -- done
23822 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_pcre" >&5
23823 -+echo "${ECHO_T}$ncbi_cv_lib_pcre" >&6; }
23824 -+ if test "$ncbi_cv_lib_pcre" = "no"; then
23825 -+ if test "${with_pcre:=no}" != no; then
23826 -+ { { echo "$as_me:$LINENO: error: --with-pcre explicitly specified, but no usable version found." >&5
23827 -+echo "$as_me: error: --with-pcre explicitly specified, but no usable version found." >&2;}
23828 -+ { (exit 1); exit 1; }; }
23829 - fi
23830 - fi
23831 --echo "$as_me:$LINENO: result: $ac_cv_search_iconv" >&5
23832 --echo "${ECHO_T}$ac_cv_search_iconv" >&6
23833 --if test "x$ac_cv_search_iconv" != xno; then
23834 -+ fi
23835 -+ if test "$with_pcre" = "no"; then
23836 -+ PCRE_PATH="No_PCRE"
23837 -+ PCRE_INCLUDE=
23838 -+ PCRE_LIBS=
23839 -+ else
23840 -+ WithPackages="$WithPackages${WithPackagesSep}PCRE"; WithPackagesSep=" "
23841 -+ PCRE_INCLUDE=" $PCRE_INCLUDE"
23842 -
23843 - cat >>confdefs.h <<\_ACEOF
23844 --#define HAVE_LIBICONV 1
23845 -+#define HAVE_LIBPCRE 1
23846 - _ACEOF
23847 -
23848 -- echo "$as_me:$LINENO: checking for iconv declaration" >&5
23849 --echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
23850 -- if test "${am_cv_proto_iconv+set}" = set; then
23851 -- echo $ECHO_N "(cached) $ECHO_C" >&6
23852 --else
23853 -+ fi
23854 -
23855 -- cat >conftest.$ac_ext <<_ACEOF
23856 -
23857 --#include <stdlib.h>
23858 --#include <iconv.h>
23859 --extern
23860 --#ifdef __cplusplus
23861 --"C"
23862 --#endif
23863 --#if defined(__STDC__) || defined(__cplusplus)
23864 --size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
23865 --#else
23866 --size_t iconv();
23867 --#endif
23868 -
23869 -+if test -z "$PCRE_LIBS"; then
23870 -+ pcrelocal=util/regexp
23871 -+ { echo "$as_me:$LINENO: using local PCRE copy in $pcrelocal" >&5
23872 -+echo "$as_me: using local PCRE copy in $pcrelocal" >&6;}
23873 -+ PCRE_PATH="<$pcrelocal>"
23874 -+ PCRE_INCLUDE="-I\$(includedir)/$pcrelocal -I\$(includedir0)/$pcrelocal"
23875 -+ # PCRE_LIBS="-lregexp"
23876 -+ # PCREPOSIX_LIBS="-lregexp"
23877 -+ PCRE_LIB="regexp"
23878 -+
23879 -+cat >>confdefs.h <<\_ACEOF
23880 -+#define USE_LOCAL_PCRE 1
23881 - _ACEOF
23882 --rm -f conftest.$ac_objext
23883 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23884 -- (eval $ac_compile) 2>conftest.er1
23885 -- ac_status=$?
23886 -- grep -v '^ *+' conftest.er1 >conftest.err
23887 -- rm -f conftest.er1
23888 -- cat conftest.err >&5
23889 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890 -- (exit $ac_status); } &&
23891 -- { ac_try='test -z "$ac_cxx_werror_flag"
23892 -- || test ! -s conftest.err'
23893 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23894 -- (eval $ac_try) 2>&5
23895 -- ac_status=$?
23896 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897 -- (exit $ac_status); }; } &&
23898 -- { ac_try='test -s conftest.$ac_objext'
23899 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23900 -- (eval $ac_try) 2>&5
23901 -- ac_status=$?
23902 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
23903 -- (exit $ac_status); }; }; then
23904 -- am_cv_proto_iconv_arg1=""
23905 -+
23906 -+ WithPackages="$WithPackages${WithPackagesSep}PCRE"; WithPackagesSep=" "
23907 -+ WithPackages="$WithPackages${WithPackagesSep}LocalPCRE"; WithPackagesSep=" "
23908 - else
23909 -- echo "$as_me: failed program was:" >&5
23910 --sed 's/^/| /' conftest.$ac_ext >&5
23911 -+ PCREPOSIX_LIBS=`echo "$PCRE_LIBS" | sed -e 's/-lpcre/-lpcreposix -lpcre/'`
23912 -+fi
23913 -
23914 --am_cv_proto_iconv_arg1="const"
23915 -+## SSL/TLS libraries
23916 -+case "$with_gcrypt" in
23917 -+ no ) ac_cv_path_LIBGCRYPT_CONFIG=no ;;
23918 -+ yes | '' ) ;;
23919 -+ * ) GCRYPT_PATH=$with_gcrypt ;;
23920 -+esac
23921 -+if test -d "$GCRYPT_PATH"; then
23922 -+ ncbi_fix_dir_tmp=`if cd $GCRYPT_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
23923 -+ case "$ncbi_fix_dir_tmp" in
23924 -+ /.*) ncbi_fix_dir_tmp2=`cd $GCRYPT_PATH && $smart_pwd 2>/dev/null`
23925 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
23926 -+ GCRYPT_PATH=$ncbi_fix_dir_tmp2
23927 -+ else
23928 -+ case "$GCRYPT_PATH" in
23929 -+ /*) ;;
23930 -+ * ) GCRYPT_PATH=$ncbi_fix_dir_tmp ;;
23931 -+ esac
23932 - fi
23933 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23934 -- am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
23935 -+ ;;
23936 -+ /*) GCRYPT_PATH=$ncbi_fix_dir_tmp ;;
23937 -+ esac
23938 - fi
23939 -+# Extract the first word of "libgcrypt-config", so it can be a program name with args.
23940 -+set dummy libgcrypt-config; ac_word=$2
23941 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
23942 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
23943 -+if test "${ac_cv_path_LIBGCRYPT_CONFIG+set}" = set; then
23944 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
23945 -+else
23946 -+ case $LIBGCRYPT_CONFIG in
23947 -+ [\\/]* | ?:[\\/]*)
23948 -+ ac_cv_path_LIBGCRYPT_CONFIG="$LIBGCRYPT_CONFIG" # Let the user override the test with a path.
23949 -+ ;;
23950 -+ *)
23951 -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23952 -+as_dummy="${GCRYPT_BIN-$GCRYPT_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/bin}:$GCRYPT_PATH/bin${bit64_sfx}:$GCRYPT_PATH/bin:$PATH"
23953 -+for as_dir in $as_dummy
23954 -+do
23955 -+ IFS=$as_save_IFS
23956 -+ test -z "$as_dir" && as_dir=.
23957 -+ for ac_exec_ext in '' $ac_executable_extensions; do
23958 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
23959 -+ ac_cv_path_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23960 -+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
23961 -+ break 2
23962 -+ fi
23963 -+done
23964 -+done
23965 -+IFS=$as_save_IFS
23966 -
23967 -- am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
23968 -- echo "$as_me:$LINENO: result: ${ac_t:-
23969 -- }$am_cv_proto_iconv" >&5
23970 --echo "${ECHO_T}${ac_t:-
23971 -- }$am_cv_proto_iconv" >&6
23972 --
23973 --cat >>confdefs.h <<_ACEOF
23974 --#define ICONV_CONST $am_cv_proto_iconv_arg1
23975 --_ACEOF
23976 --
23977 -- if test "x$ac_cv_search_iconv" != "xnone required"; then
23978 -- ICONV_LIBS=$ac_cv_search_iconv
23979 -+ ;;
23980 -+esac
23981 - fi
23982 -+LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG
23983 -+if test -n "$LIBGCRYPT_CONFIG"; then
23984 -+ { echo "$as_me:$LINENO: result: $LIBGCRYPT_CONFIG" >&5
23985 -+echo "${ECHO_T}$LIBGCRYPT_CONFIG" >&6; }
23986 -+else
23987 -+ { echo "$as_me:$LINENO: result: no" >&5
23988 -+echo "${ECHO_T}no" >&6; }
23989 - fi
23990 -
23991 -
23992 --### Third-party libraries
23993 --
23994 --usr_lib='[/usr]*/lib/*[amdsprcv]*[23469]*'
23995 --no_usr_lib="s,-L$usr_lib ,,g;"
23996 -
23997 --if test "$with_z" != "no"; then
23998 -- case "$with_z" in
23999 -+if test "x$with_gcrypt" != xno; then
24000 -+ if test -x "$LIBGCRYPT_CONFIG"; then
24001 -+ if test -z "$GCRYPT_PATH"; then
24002 -+ p=`libgcrypt-config --prefix`
24003 -+ test "x$p" = "x/usr" || GCRYPT_PATH=$p
24004 -+ fi
24005 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
24006 -+ GCRYPT_LIBPATH=`$LIBGCRYPT_CONFIG --exec-prefix | sed -e "s,^,-L,; s,$,/lib,;"`
24007 -+ else
24008 -+ GCRYPT_LIBPATH=
24009 -+ ncbi_rp_L_sep=
24010 -+ ncbi_rp_R_flags=
24011 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
24012 -+ for x in `$LIBGCRYPT_CONFIG --exec-prefix | sed -e "s,^,-L,; s,$,/lib,;"`; do
24013 -+ case "$x" in
24014 -+ -L*)
24015 -+ GCRYPT_LIBPATH="$GCRYPT_LIBPATH${ncbi_rp_L_sep}$x"
24016 -+ x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
24017 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
24018 -+ ncbi_rp_R_sep=:
24019 -+ ;;
24020 -+ *)
24021 -+ GCRYPT_LIBPATH="$GCRYPT_LIBPATH${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
24022 -+ ncbi_rp_R_flags=
24023 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
24024 -+ ;;
24025 -+ esac
24026 -+ ncbi_rp_L_sep=" "
24027 -+ done
24028 -+ GCRYPT_LIBPATH="$GCRYPT_LIBPATH${ncbi_rp_R_flags}"
24029 -+ fi
24030 -+ GCRYPT_INCLUDE=`$LIBGCRYPT_CONFIG --cflags`
24031 -+ GCRYPT_CONFIG_LIBS="`$LIBGCRYPT_CONFIG --libs` $Z_LIBS"
24032 -+ fi
24033 -+else
24034 -+ $as_unset GCRYPT_CONFIG_LIBS || test "${GCRYPT_CONFIG_LIBS+set}" != set || { GCRYPT_CONFIG_LIBS=; export GCRYPT_CONFIG_LIBS; }
24035 -+fi
24036 -+if test "$with_gcrypt" != "no"; then
24037 -+ case "$with_gcrypt" in
24038 - yes | "" ) ;;
24039 -- * ) Z_PATH=$with_z ;;
24040 -+ * ) GCRYPT_PATH=$with_gcrypt ;;
24041 - esac
24042 -- if test -d "$Z_PATH"; then
24043 -- in_path=" in $Z_PATH"
24044 -- if test -z "$Z_INCLUDE" -a -d "$Z_PATH/include"; then
24045 -- Z_INCLUDE="-I$Z_PATH/include"
24046 -+ if test -d "$GCRYPT_PATH"; then
24047 -+ in_path=" in $GCRYPT_PATH"
24048 -+ if test -z "$GCRYPT_INCLUDE" -a -d "$GCRYPT_PATH/include"; then
24049 -+ GCRYPT_INCLUDE="-I$GCRYPT_PATH/include"
24050 - fi
24051 -- if test -n "$Z_LIBPATH"; then
24052 -+ if test -n "$GCRYPT_LIBPATH"; then
24053 - :
24054 -- elif test -d "$Z_PATH/lib${bit64_sfx}"; then
24055 -+ elif test -d "$GCRYPT_PATH/lib${bit64_sfx}"; then
24056 - ncbi_rp_L_flags=
24057 - ncbi_rp_L_sep=$CONF_f_libpath
24058 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
24059 -- for x in $Z_PATH/lib${bit64_sfx}; do
24060 -+ for x in $GCRYPT_PATH/lib${bit64_sfx}; do
24061 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
24062 - ncbi_rp_L_sep=" $CONF_f_libpath"
24063 - done
24064 -- Z_LIBPATH="${ncbi_rp_L_flags}"
24065 -+ GCRYPT_LIBPATH="${ncbi_rp_L_flags}"
24066 - else
24067 - ncbi_rp_R_flags=
24068 - ncbi_rp_R_sep=" $CONF_f_runpath"
24069 -- for x in $Z_PATH/lib${bit64_sfx}; do
24070 -+ for x in $GCRYPT_PATH/lib${bit64_sfx}; do
24071 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
24072 - ncbi_rp_L_sep=" $CONF_f_libpath"
24073 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
24074 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
24075 - ncbi_rp_R_sep=:
24076 - done
24077 -- Z_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
24078 -+ GCRYPT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
24079 - fi
24080 -- elif test -d "$Z_PATH/lib"; then
24081 -+ elif test -d "$GCRYPT_PATH/lib"; then
24082 - ncbi_rp_L_flags=
24083 - ncbi_rp_L_sep=$CONF_f_libpath
24084 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
24085 -- for x in $Z_PATH/lib; do
24086 -+ for x in $GCRYPT_PATH/lib; do
24087 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
24088 - ncbi_rp_L_sep=" $CONF_f_libpath"
24089 - done
24090 -- Z_LIBPATH="${ncbi_rp_L_flags}"
24091 -+ GCRYPT_LIBPATH="${ncbi_rp_L_flags}"
24092 - else
24093 - ncbi_rp_R_flags=
24094 - ncbi_rp_R_sep=" $CONF_f_runpath"
24095 -- for x in $Z_PATH/lib; do
24096 -+ for x in $GCRYPT_PATH/lib; do
24097 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
24098 - ncbi_rp_L_sep=" $CONF_f_libpath"
24099 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
24100 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
24101 - ncbi_rp_R_sep=:
24102 - done
24103 -- Z_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
24104 -+ GCRYPT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
24105 - fi
24106 - fi
24107 -- Z_LIBS="$Z_LIBPATH -lz "
24108 -+ GCRYPT_LIBS="$GCRYPT_LIBPATH -lgcrypt $GCRYPT_CONFIG_LIBS"
24109 - else
24110 -- Z_INCLUDE=""
24111 -- Z_LIBS="-lz "
24112 -+ GCRYPT_INCLUDE=""
24113 -+ GCRYPT_LIBS="-lgcrypt $GCRYPT_CONFIG_LIBS"
24114 - in_path=
24115 - fi
24116 -- echo "$as_me:$LINENO: checking for libz$in_path" >&5
24117 --echo $ECHO_N "checking for libz$in_path... $ECHO_C" >&6
24118 --if test "${ncbi_cv_lib_z+set}" = set; then
24119 -+ { echo "$as_me:$LINENO: checking for libgcrypt$in_path" >&5
24120 -+echo $ECHO_N "checking for libgcrypt$in_path... $ECHO_C" >&6; }
24121 -+if test "${ncbi_cv_lib_gcrypt+set}" = set; then
24122 - echo $ECHO_N "(cached) $ECHO_C" >&6
24123 - else
24124 -- CPPFLAGS=" $Z_INCLUDE $orig_CPPFLAGS"
24125 -- LIBS="$Z_LIBS $orig_LIBS"
24126 -+ CPPFLAGS=" $GCRYPT_INCLUDE $orig_CPPFLAGS"
24127 -+ LIBS="$GCRYPT_LIBS $orig_LIBS"
24128 - cat >conftest.$ac_ext <<_ACEOF
24129 - /* confdefs.h. */
24130 - _ACEOF
24131 - cat confdefs.h >>conftest.$ac_ext
24132 - cat >>conftest.$ac_ext <<_ACEOF
24133 - /* end confdefs.h. */
24134 --#include <zlib.h>
24135 -+#include <gcrypt.h>
24136 -+ #include <pthread.h>
24137 -+ #include <errno.h>
24138 -+ GCRY_THREAD_OPTION_PTHREAD_IMPL;
24139 - int
24140 - main ()
24141 - {
24142 --gzFile fp; char buf[1024]; int n = gzread(fp, buf, sizeof(buf))
24143 -+gcry_control(GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);
24144 - ;
24145 - return 0;
24146 - }
24147 - _ACEOF
24148 - rm -f conftest.$ac_objext conftest$ac_exeext
24149 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24150 -- (eval $ac_link) 2>conftest.er1
24151 -+if { (ac_try="$ac_link"
24152 -+case "(($ac_try" in
24153 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24154 -+ *) ac_try_echo=$ac_try;;
24155 -+esac
24156 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24157 -+ (eval "$ac_link") 2>conftest.er1
24158 - ac_status=$?
24159 - grep -v '^ *+' conftest.er1 >conftest.err
24160 - rm -f conftest.er1
24161 - cat conftest.err >&5
24162 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24163 - (exit $ac_status); } &&
24164 -- { ac_try='test -z "$ac_cxx_werror_flag"
24165 -- || test ! -s conftest.err'
24166 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24167 -- (eval $ac_try) 2>&5
24168 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24169 -+ { (case "(($ac_try" in
24170 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24171 -+ *) ac_try_echo=$ac_try;;
24172 -+esac
24173 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24174 -+ (eval "$ac_try") 2>&5
24175 - ac_status=$?
24176 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24177 - (exit $ac_status); }; } &&
24178 - { ac_try='test -s conftest$ac_exeext'
24179 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24180 -- (eval $ac_try) 2>&5
24181 -+ { (case "(($ac_try" in
24182 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24183 -+ *) ac_try_echo=$ac_try;;
24184 -+esac
24185 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24186 -+ (eval "$ac_try") 2>&5
24187 - ac_status=$?
24188 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24189 - (exit $ac_status); }; }; then
24190 -- ncbi_cv_lib_z=yes
24191 -+ ncbi_cv_lib_gcrypt=yes
24192 - else
24193 - echo "$as_me: failed program was:" >&5
24194 - sed 's/^/| /' conftest.$ac_ext >&5
24195 -
24196 --ncbi_cv_lib_z=no
24197 -+ ncbi_cv_lib_gcrypt=no
24198 - fi
24199 --rm -f conftest.err conftest.$ac_objext \
24200 -+
24201 -+rm -f core conftest.err conftest.$ac_objext \
24202 - conftest$ac_exeext conftest.$ac_ext
24203 - fi
24204 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_z" >&5
24205 --echo "${ECHO_T}$ncbi_cv_lib_z" >&6
24206 -- if test "$ncbi_cv_lib_z" = "no"; then
24207 -- if test "${with_z:=no}" != no; then
24208 -- { { echo "$as_me:$LINENO: error: --with-z explicitly specified, but no usable version found." >&5
24209 --echo "$as_me: error: --with-z explicitly specified, but no usable version found." >&2;}
24210 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_gcrypt" >&5
24211 -+echo "${ECHO_T}$ncbi_cv_lib_gcrypt" >&6; }
24212 -+ if test "$ncbi_cv_lib_gcrypt" = "no"; then
24213 -+ if test "${with_gcrypt:=no}" != no; then
24214 -+ { { echo "$as_me:$LINENO: error: --with-gcrypt explicitly specified, but no usable version found." >&5
24215 -+echo "$as_me: error: --with-gcrypt explicitly specified, but no usable version found." >&2;}
24216 - { (exit 1); exit 1; }; }
24217 - fi
24218 - fi
24219 - fi
24220 -- if test "$with_z" = "no"; then
24221 -- Z_PATH="No_Z"
24222 -- Z_INCLUDE=
24223 -- Z_LIBS=
24224 -+ if test "$with_gcrypt" = "no"; then
24225 -+ GCRYPT_PATH="No_GCRYPT"
24226 -+ GCRYPT_INCLUDE=
24227 -+ GCRYPT_LIBS=
24228 - else
24229 -- WithPackages="$WithPackages${WithPackagesSep}Z"; WithPackagesSep=" "
24230 -- Z_INCLUDE=" $Z_INCLUDE"
24231 -+ WithPackages="$WithPackages${WithPackagesSep}GCRYPT"; WithPackagesSep=" "
24232 -+ GCRYPT_INCLUDE=" $GCRYPT_INCLUDE"
24233 -
24234 - cat >>confdefs.h <<\_ACEOF
24235 --#define HAVE_LIBZ 1
24236 -+#define HAVE_LIBGCRYPT 1
24237 - _ACEOF
24238 -
24239 - fi
24240 -
24241 -
24242 -
24243 --if test -z "$Z_LIBS"; then
24244 -- zlocal=util/compress/zlib
24245 -- { echo "$as_me:$LINENO: using local zlib copy in $zlocal" >&5
24246 --echo "$as_me: using local zlib copy in $zlocal" >&6;}
24247 -- Z_PATH="<$zlocal>"
24248 -- Z_INCLUDE="-I\$(includedir)/$zlocal -I\$(includedir0)/$zlocal"
24249 -- # Z_LIBS="-lz"
24250 -- Z_LIB="z"
24251 -- # AC_DEFINE(USE_LOCAL_ZLIB, 1, [Define to 1 if using a local copy of zlib.])
24252 -- WithPackages="$WithPackages${WithPackagesSep}Z"; WithPackagesSep=" "
24253 -- WithPackages="$WithPackages${WithPackagesSep}LocalZ"; WithPackagesSep=" "
24254 -+if test "x$with_gcrypt" != xno -a -n "$GCRYPT_CONFIG_LIBS"; then
24255 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
24256 -+ GCRYPT_LIBS=`echo $GCRYPT_CONFIG_LIBS | sed -e "$no_usr_lib"`
24257 -+ else
24258 -+ GCRYPT_LIBS=
24259 -+ ncbi_rp_L_sep=
24260 -+ ncbi_rp_R_flags=
24261 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
24262 -+ for x in `echo $GCRYPT_CONFIG_LIBS | sed -e "$no_usr_lib"`; do
24263 -+ case "$x" in
24264 -+ -L*)
24265 -+ GCRYPT_LIBS="$GCRYPT_LIBS${ncbi_rp_L_sep}$x"
24266 -+ x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
24267 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
24268 -+ ncbi_rp_R_sep=:
24269 -+ ;;
24270 -+ *)
24271 -+ GCRYPT_LIBS="$GCRYPT_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
24272 -+ ncbi_rp_R_flags=
24273 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
24274 -+ ;;
24275 -+ esac
24276 -+ ncbi_rp_L_sep=" "
24277 -+ done
24278 -+ GCRYPT_LIBS="$GCRYPT_LIBS${ncbi_rp_R_flags}"
24279 -+ fi
24280 - fi
24281 -
24282 --if test "$with_bz2" != "no"; then
24283 -- case "$with_bz2" in
24284 -+case "$with_gnutls" in
24285 -+ no ) ac_cv_path_LIBGNUTLS_CONFIG=no ;;
24286 -+ yes | '' ) ;;
24287 -+ * ) GNUTLS_PATH=$with_gnutls ;;
24288 -+esac
24289 -+if test -d "$GNUTLS_PATH"; then
24290 -+ ncbi_fix_dir_tmp=`if cd $GNUTLS_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
24291 -+ case "$ncbi_fix_dir_tmp" in
24292 -+ /.*) ncbi_fix_dir_tmp2=`cd $GNUTLS_PATH && $smart_pwd 2>/dev/null`
24293 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
24294 -+ GNUTLS_PATH=$ncbi_fix_dir_tmp2
24295 -+ else
24296 -+ case "$GNUTLS_PATH" in
24297 -+ /*) ;;
24298 -+ * ) GNUTLS_PATH=$ncbi_fix_dir_tmp ;;
24299 -+ esac
24300 -+ fi
24301 -+ ;;
24302 -+ /*) GNUTLS_PATH=$ncbi_fix_dir_tmp ;;
24303 -+ esac
24304 -+ gnutls_config_path=${GNUTLS_BIN-$GNUTLS_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/bin}:$GNUTLS_PATH/bin${bit64_sfx}:$GNUTLS_PATH/bin
24305 -+else
24306 -+ gnutls_config_path=$PATH
24307 -+fi
24308 -+# Extract the first word of "libgnutls-config", so it can be a program name with args.
24309 -+set dummy libgnutls-config; ac_word=$2
24310 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24311 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24312 -+if test "${ac_cv_path_LIBGNUTLS_CONFIG+set}" = set; then
24313 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
24314 -+else
24315 -+ case $LIBGNUTLS_CONFIG in
24316 -+ [\\/]* | ?:[\\/]*)
24317 -+ ac_cv_path_LIBGNUTLS_CONFIG="$LIBGNUTLS_CONFIG" # Let the user override the test with a path.
24318 -+ ;;
24319 -+ *)
24320 -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24321 -+for as_dir in $gnutls_config_path
24322 -+do
24323 -+ IFS=$as_save_IFS
24324 -+ test -z "$as_dir" && as_dir=.
24325 -+ for ac_exec_ext in '' $ac_executable_extensions; do
24326 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
24327 -+ ac_cv_path_LIBGNUTLS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24328 -+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24329 -+ break 2
24330 -+ fi
24331 -+done
24332 -+done
24333 -+IFS=$as_save_IFS
24334 -+
24335 -+ ;;
24336 -+esac
24337 -+fi
24338 -+LIBGNUTLS_CONFIG=$ac_cv_path_LIBGNUTLS_CONFIG
24339 -+if test -n "$LIBGNUTLS_CONFIG"; then
24340 -+ { echo "$as_me:$LINENO: result: $LIBGNUTLS_CONFIG" >&5
24341 -+echo "${ECHO_T}$LIBGNUTLS_CONFIG" >&6; }
24342 -+else
24343 -+ { echo "$as_me:$LINENO: result: no" >&5
24344 -+echo "${ECHO_T}no" >&6; }
24345 -+fi
24346 -+
24347 -+
24348 -+
24349 -+if test "x$with_gnutls" != xno; then
24350 -+ if test -x "$LIBGNUTLS_CONFIG"; then
24351 -+ if test -z "$GNUTLS_PATH"; then
24352 -+ p=`libgnutls-config --prefix`
24353 -+ test "x$p" = "x/usr" || GNUTLS_PATH=$p
24354 -+ fi
24355 -+ else
24356 -+ LIBGNUTLS_CONFIG="eval PKG_CONFIG_PATH=\"$GNUTLS_PATH/lib/pkgconfig\" pkg-config gnutls --static"
24357 -+ $LIBGNUTLS_CONFIG --exists >/dev/null 2>&1 || LIBGNUTLS_CONFIG=no
24358 -+ fi
24359 -+ case "$LIBGNUTLS_CONFIG" in
24360 -+ eval\ *)
24361 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
24362 -+ GNUTLS_LIBPATH=`$LIBGNUTLS_CONFIG --libs-only-L | sed -e ""`
24363 -+ else
24364 -+ GNUTLS_LIBPATH=
24365 -+ ncbi_rp_L_sep=
24366 -+ ncbi_rp_R_flags=
24367 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
24368 -+ for x in `$LIBGNUTLS_CONFIG --libs-only-L | sed -e ""`; do
24369 -+ case "$x" in
24370 -+ -L*)
24371 -+ GNUTLS_LIBPATH="$GNUTLS_LIBPATH${ncbi_rp_L_sep}$x"
24372 -+ x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
24373 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
24374 -+ ncbi_rp_R_sep=:
24375 -+ ;;
24376 -+ *)
24377 -+ GNUTLS_LIBPATH="$GNUTLS_LIBPATH${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
24378 -+ ncbi_rp_R_flags=
24379 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
24380 -+ ;;
24381 -+ esac
24382 -+ ncbi_rp_L_sep=" "
24383 -+ done
24384 -+ GNUTLS_LIBPATH="$GNUTLS_LIBPATH${ncbi_rp_R_flags}"
24385 -+ fi
24386 -+ ;;
24387 -+ no)
24388 -+ ;;
24389 -+ *)
24390 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
24391 -+ GNUTLS_LIBPATH=`$LIBGNUTLS_CONFIG --exec-prefix | sed -e "s,^,-L,; s,$,/lib,;"`
24392 -+ else
24393 -+ GNUTLS_LIBPATH=
24394 -+ ncbi_rp_L_sep=
24395 -+ ncbi_rp_R_flags=
24396 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
24397 -+ for x in `$LIBGNUTLS_CONFIG --exec-prefix | sed -e "s,^,-L,; s,$,/lib,;"`; do
24398 -+ case "$x" in
24399 -+ -L*)
24400 -+ GNUTLS_LIBPATH="$GNUTLS_LIBPATH${ncbi_rp_L_sep}$x"
24401 -+ x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
24402 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
24403 -+ ncbi_rp_R_sep=:
24404 -+ ;;
24405 -+ *)
24406 -+ GNUTLS_LIBPATH="$GNUTLS_LIBPATH${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
24407 -+ ncbi_rp_R_flags=
24408 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
24409 -+ ;;
24410 -+ esac
24411 -+ ncbi_rp_L_sep=" "
24412 -+ done
24413 -+ GNUTLS_LIBPATH="$GNUTLS_LIBPATH${ncbi_rp_R_flags}"
24414 -+ fi
24415 -+ ;;
24416 -+ esac
24417 -+
24418 -+ if test "x$LIBGNUTLS_CONFIG" != xno; then
24419 -+ GNUTLS_INCLUDE=`$LIBGNUTLS_CONFIG --cflags`
24420 -+ GNUTLS_CONFIG_LIBS="`$LIBGNUTLS_CONFIG --libs` $Z_LIBS"
24421 -+ fi
24422 -+else
24423 -+ $as_unset GNUTLS_CONFIG_LIBS || test "${GNUTLS_CONFIG_LIBS+set}" != set || { GNUTLS_CONFIG_LIBS=; export GNUTLS_CONFIG_LIBS; }
24424 -+fi
24425 -+if test "$with_gnutls" != "no"; then
24426 -+ case "$with_gnutls" in
24427 - yes | "" ) ;;
24428 -- * ) BZ2_PATH=$with_bz2 ;;
24429 -+ * ) GNUTLS_PATH=$with_gnutls ;;
24430 - esac
24431 -- if test -d "$BZ2_PATH"; then
24432 -- in_path=" in $BZ2_PATH"
24433 -- if test -z "$BZ2_INCLUDE" -a -d "$BZ2_PATH/include"; then
24434 -- BZ2_INCLUDE="-I$BZ2_PATH/include"
24435 -+ if test -d "$GNUTLS_PATH"; then
24436 -+ in_path=" in $GNUTLS_PATH"
24437 -+ if test -z "$GNUTLS_INCLUDE" -a -d "$GNUTLS_PATH/include"; then
24438 -+ GNUTLS_INCLUDE="-I$GNUTLS_PATH/include"
24439 - fi
24440 -- if test -n "$BZ2_LIBPATH"; then
24441 -+ if test -n "$GNUTLS_LIBPATH"; then
24442 - :
24443 -- elif test -d "$BZ2_PATH/lib${bit64_sfx}"; then
24444 -+ elif test -d "$GNUTLS_PATH/lib${bit64_sfx}"; then
24445 - ncbi_rp_L_flags=
24446 - ncbi_rp_L_sep=$CONF_f_libpath
24447 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
24448 -- for x in $BZ2_PATH/lib${bit64_sfx}; do
24449 -+ for x in $GNUTLS_PATH/lib${bit64_sfx}; do
24450 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
24451 - ncbi_rp_L_sep=" $CONF_f_libpath"
24452 - done
24453 -- BZ2_LIBPATH="${ncbi_rp_L_flags}"
24454 -+ GNUTLS_LIBPATH="${ncbi_rp_L_flags}"
24455 - else
24456 - ncbi_rp_R_flags=
24457 - ncbi_rp_R_sep=" $CONF_f_runpath"
24458 -- for x in $BZ2_PATH/lib${bit64_sfx}; do
24459 -+ for x in $GNUTLS_PATH/lib${bit64_sfx}; do
24460 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
24461 - ncbi_rp_L_sep=" $CONF_f_libpath"
24462 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
24463 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
24464 - ncbi_rp_R_sep=:
24465 - done
24466 -- BZ2_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
24467 -+ GNUTLS_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
24468 - fi
24469 -- elif test -d "$BZ2_PATH/lib"; then
24470 -+ elif test -d "$GNUTLS_PATH/lib"; then
24471 - ncbi_rp_L_flags=
24472 - ncbi_rp_L_sep=$CONF_f_libpath
24473 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
24474 -- for x in $BZ2_PATH/lib; do
24475 -+ for x in $GNUTLS_PATH/lib; do
24476 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
24477 - ncbi_rp_L_sep=" $CONF_f_libpath"
24478 - done
24479 -- BZ2_LIBPATH="${ncbi_rp_L_flags}"
24480 -+ GNUTLS_LIBPATH="${ncbi_rp_L_flags}"
24481 - else
24482 - ncbi_rp_R_flags=
24483 - ncbi_rp_R_sep=" $CONF_f_runpath"
24484 -- for x in $BZ2_PATH/lib; do
24485 -+ for x in $GNUTLS_PATH/lib; do
24486 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
24487 - ncbi_rp_L_sep=" $CONF_f_libpath"
24488 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
24489 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
24490 - ncbi_rp_R_sep=:
24491 - done
24492 -- BZ2_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
24493 -+ GNUTLS_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
24494 - fi
24495 - fi
24496 -- BZ2_LIBS="$BZ2_LIBPATH -lbz2 "
24497 -+ GNUTLS_LIBS="$GNUTLS_LIBPATH -lgnutls $GNUTLS_CONFIG_LIBS $GCRYPT_LIBS"
24498 - else
24499 -- BZ2_INCLUDE=""
24500 -- BZ2_LIBS="-lbz2 "
24501 -+ GNUTLS_INCLUDE=""
24502 -+ GNUTLS_LIBS="-lgnutls $GNUTLS_CONFIG_LIBS $GCRYPT_LIBS"
24503 - in_path=
24504 - fi
24505 -- echo "$as_me:$LINENO: checking for libbz2$in_path" >&5
24506 --echo $ECHO_N "checking for libbz2$in_path... $ECHO_C" >&6
24507 --if test "${ncbi_cv_lib_bz2+set}" = set; then
24508 -+ { echo "$as_me:$LINENO: checking for libgnutls$in_path" >&5
24509 -+echo $ECHO_N "checking for libgnutls$in_path... $ECHO_C" >&6; }
24510 -+if test "${ncbi_cv_lib_gnutls+set}" = set; then
24511 - echo $ECHO_N "(cached) $ECHO_C" >&6
24512 - else
24513 -- CPPFLAGS=" $BZ2_INCLUDE $orig_CPPFLAGS"
24514 -- LIBS="$BZ2_LIBS $orig_LIBS"
24515 -+ CPPFLAGS=" $GNUTLS_INCLUDE $orig_CPPFLAGS"
24516 -+ LIBS="$GNUTLS_LIBS $orig_LIBS"
24517 - cat >conftest.$ac_ext <<_ACEOF
24518 - /* confdefs.h. */
24519 - _ACEOF
24520 - cat confdefs.h >>conftest.$ac_ext
24521 - cat >>conftest.$ac_ext <<_ACEOF
24522 - /* end confdefs.h. */
24523 --#include <bzlib.h>
24524 -+#include <gnutls/gnutls.h>
24525 - int
24526 - main ()
24527 - {
24528 --BZFILE* fp; char buf[1024]; int err;
24529 -- int n = BZ2_bzRead(&err, fp, buf, sizeof(buf))
24530 -+gnutls_session_t s; gnutls_init(&s, GNUTLS_CLIENT);
24531 - ;
24532 - return 0;
24533 - }
24534 - _ACEOF
24535 - rm -f conftest.$ac_objext conftest$ac_exeext
24536 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24537 -- (eval $ac_link) 2>conftest.er1
24538 -+if { (ac_try="$ac_link"
24539 -+case "(($ac_try" in
24540 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24541 -+ *) ac_try_echo=$ac_try;;
24542 -+esac
24543 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24544 -+ (eval "$ac_link") 2>conftest.er1
24545 - ac_status=$?
24546 - grep -v '^ *+' conftest.er1 >conftest.err
24547 - rm -f conftest.er1
24548 - cat conftest.err >&5
24549 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24550 - (exit $ac_status); } &&
24551 -- { ac_try='test -z "$ac_cxx_werror_flag"
24552 -- || test ! -s conftest.err'
24553 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24554 -- (eval $ac_try) 2>&5
24555 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24556 -+ { (case "(($ac_try" in
24557 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24558 -+ *) ac_try_echo=$ac_try;;
24559 -+esac
24560 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24561 -+ (eval "$ac_try") 2>&5
24562 - ac_status=$?
24563 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564 - (exit $ac_status); }; } &&
24565 - { ac_try='test -s conftest$ac_exeext'
24566 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24567 -- (eval $ac_try) 2>&5
24568 -+ { (case "(($ac_try" in
24569 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24570 -+ *) ac_try_echo=$ac_try;;
24571 -+esac
24572 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24573 -+ (eval "$ac_try") 2>&5
24574 - ac_status=$?
24575 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24576 - (exit $ac_status); }; }; then
24577 -- ncbi_cv_lib_bz2=yes
24578 -+ ncbi_cv_lib_gnutls=yes
24579 - else
24580 - echo "$as_me: failed program was:" >&5
24581 - sed 's/^/| /' conftest.$ac_ext >&5
24582 -
24583 --ncbi_cv_lib_bz2=no
24584 -+ ncbi_cv_lib_gnutls=no
24585 - fi
24586 --rm -f conftest.err conftest.$ac_objext \
24587 -+
24588 -+rm -f core conftest.err conftest.$ac_objext \
24589 - conftest$ac_exeext conftest.$ac_ext
24590 - fi
24591 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_bz2" >&5
24592 --echo "${ECHO_T}$ncbi_cv_lib_bz2" >&6
24593 -- if test "$ncbi_cv_lib_bz2" = "no"; then
24594 -- if test "${with_bz2:=no}" != no; then
24595 -- { { echo "$as_me:$LINENO: error: --with-bz2 explicitly specified, but no usable version found." >&5
24596 --echo "$as_me: error: --with-bz2 explicitly specified, but no usable version found." >&2;}
24597 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_gnutls" >&5
24598 -+echo "${ECHO_T}$ncbi_cv_lib_gnutls" >&6; }
24599 -+ if test "$ncbi_cv_lib_gnutls" = "no"; then
24600 -+ if test "${with_gnutls:=no}" != no; then
24601 -+ { { echo "$as_me:$LINENO: error: --with-gnutls explicitly specified, but no usable version found." >&5
24602 -+echo "$as_me: error: --with-gnutls explicitly specified, but no usable version found." >&2;}
24603 - { (exit 1); exit 1; }; }
24604 - fi
24605 - fi
24606 - fi
24607 -- if test "$with_bz2" = "no"; then
24608 -- BZ2_PATH="No_BZ2"
24609 -- BZ2_INCLUDE=
24610 -- BZ2_LIBS=
24611 -+ if test "$with_gnutls" = "no"; then
24612 -+ GNUTLS_PATH="No_GNUTLS"
24613 -+ GNUTLS_INCLUDE=
24614 -+ GNUTLS_LIBS=
24615 - else
24616 -- WithPackages="$WithPackages${WithPackagesSep}BZ2"; WithPackagesSep=" "
24617 -- BZ2_INCLUDE=" $BZ2_INCLUDE"
24618 -+ WithPackages="$WithPackages${WithPackagesSep}GNUTLS"; WithPackagesSep=" "
24619 -+ GNUTLS_INCLUDE=" $GNUTLS_INCLUDE"
24620 -
24621 - cat >>confdefs.h <<\_ACEOF
24622 --#define HAVE_LIBBZ2 1
24623 -+#define HAVE_LIBGNUTLS 1
24624 - _ACEOF
24625 -
24626 - fi
24627 -
24628 -
24629 -
24630 --if test -z "$BZ2_LIBS"; then
24631 -- bzlocal=util/compress/bzip2
24632 -- { echo "$as_me:$LINENO: using local bzlib copy in $bzlocal" >&5
24633 --echo "$as_me: using local bzlib copy in $bzlocal" >&6;}
24634 -- BZ2_PATH="<$bzlocal>"
24635 -- BZ2_INCLUDE="-I\$(includedir)/$bzlocal -I\$(includedir0)/$bzlocal"
24636 -- # BZ2_LIBS="-lbz2"
24637 -- BZ2_LIB="bz2"
24638 --
24639 --cat >>confdefs.h <<\_ACEOF
24640 --#define USE_LOCAL_BZLIB 1
24641 --_ACEOF
24642 --
24643 -- WithPackages="$WithPackages${WithPackagesSep}BZ2"; WithPackagesSep=" "
24644 -- WithPackages="$WithPackages${WithPackagesSep}LocalBZ2"; WithPackagesSep=" "
24645 --fi
24646 --
24647 --: ${LZO_PATH=$NCBI/lzo2}
24648 --if test -d "$LZO_PATH"; then
24649 -- ncbi_fix_dir_tmp=`if cd $LZO_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
24650 -- case "$ncbi_fix_dir_tmp" in
24651 -- /.*) ncbi_fix_dir_tmp2=`cd $LZO_PATH && $smart_pwd 2>/dev/null`
24652 -- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
24653 -- LZO_PATH=$ncbi_fix_dir_tmp2
24654 -+if test "x$with_gnutls" != xno -a -n "$GNUTLS_CONFIG_LIBS"; then
24655 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
24656 -+ GNUTLS_LIBS=`echo $GNUTLS_CONFIG_LIBS | sed -e "$no_usr_lib"`
24657 - else
24658 -- case "$LZO_PATH" in
24659 -- /*) ;;
24660 -- * ) LZO_PATH=$ncbi_fix_dir_tmp ;;
24661 -+ GNUTLS_LIBS=
24662 -+ ncbi_rp_L_sep=
24663 -+ ncbi_rp_R_flags=
24664 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
24665 -+ for x in `echo $GNUTLS_CONFIG_LIBS | sed -e "$no_usr_lib"`; do
24666 -+ case "$x" in
24667 -+ -L*)
24668 -+ GNUTLS_LIBS="$GNUTLS_LIBS${ncbi_rp_L_sep}$x"
24669 -+ x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
24670 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
24671 -+ ncbi_rp_R_sep=:
24672 -+ ;;
24673 -+ *)
24674 -+ GNUTLS_LIBS="$GNUTLS_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
24675 -+ ncbi_rp_R_flags=
24676 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
24677 -+ ;;
24678 - esac
24679 -+ ncbi_rp_L_sep=" "
24680 -+ done
24681 -+ GNUTLS_LIBS="$GNUTLS_LIBS${ncbi_rp_R_flags}"
24682 - fi
24683 -- ;;
24684 -- /*) LZO_PATH=$ncbi_fix_dir_tmp ;;
24685 -+ # Conservatively build against gcrypt if available even when gnutls
24686 -+ # uses nettle instead, because gcrypt needs explicit initialization
24687 -+ # to be thread-safe, but gnutls's headers don't indicate which
24688 -+ # underlying crypto library it's actually using.
24689 -+ case "$GNUTLS_INCLUDE" in
24690 -+ *$GCRYPT_INCLUDE* ) ;;
24691 -+ * ) GNUTLS_INCLUDE="$GNUTLS_INCLUDE $GCRYPT_INCLUDE" ;;
24692 -+ esac
24693 -+ case "$GNUTLS_LIBS" in
24694 -+ *\ -lgcrypt* ) ;;
24695 -+ * ) GNUTLS_LIBS="$GNUTLS_LIBS $GCRYPT_LIBS" ;;
24696 - esac
24697 - fi
24698 --if test "$with_lzo" != "no"; then
24699 -- case "$with_lzo" in
24700 -+
24701 -+if test "$with_openssl" != "no"; then
24702 -+ case "$with_openssl" in
24703 - yes | "" ) ;;
24704 -- * ) LZO_PATH=$with_lzo ;;
24705 -+ * ) OPENSSL_PATH=$with_openssl ;;
24706 - esac
24707 -- if test -d "$LZO_PATH"; then
24708 -- in_path=" in $LZO_PATH"
24709 -- if test -z "$LZO_INCLUDE" -a -d "$LZO_PATH/include"; then
24710 -- LZO_INCLUDE="-I$LZO_PATH/include"
24711 -+ if test -d "$OPENSSL_PATH"; then
24712 -+ in_path=" in $OPENSSL_PATH"
24713 -+ if test -z "$OPENSSL_INCLUDE" -a -d "$OPENSSL_PATH/include"; then
24714 -+ OPENSSL_INCLUDE="-I$OPENSSL_PATH/include"
24715 - fi
24716 -- if test -n "$LZO_LIBPATH"; then
24717 -+ if test -n "$OPENSSL_LIBPATH"; then
24718 - :
24719 -- elif test -d "$LZO_PATH/lib${bit64_sfx}"; then
24720 -+ elif test -d "$OPENSSL_PATH/lib${bit64_sfx}"; then
24721 - ncbi_rp_L_flags=
24722 - ncbi_rp_L_sep=$CONF_f_libpath
24723 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
24724 -- for x in $LZO_PATH/lib${bit64_sfx}; do
24725 -+ for x in $OPENSSL_PATH/lib${bit64_sfx}; do
24726 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
24727 - ncbi_rp_L_sep=" $CONF_f_libpath"
24728 - done
24729 -- LZO_LIBPATH="${ncbi_rp_L_flags}"
24730 -+ OPENSSL_LIBPATH="${ncbi_rp_L_flags}"
24731 - else
24732 - ncbi_rp_R_flags=
24733 - ncbi_rp_R_sep=" $CONF_f_runpath"
24734 -- for x in $LZO_PATH/lib${bit64_sfx}; do
24735 -+ for x in $OPENSSL_PATH/lib${bit64_sfx}; do
24736 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
24737 - ncbi_rp_L_sep=" $CONF_f_libpath"
24738 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
24739 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
24740 - ncbi_rp_R_sep=:
24741 - done
24742 -- LZO_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
24743 -+ OPENSSL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
24744 - fi
24745 -- elif test -d "$LZO_PATH/lib"; then
24746 -+ elif test -d "$OPENSSL_PATH/lib"; then
24747 - ncbi_rp_L_flags=
24748 - ncbi_rp_L_sep=$CONF_f_libpath
24749 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
24750 -- for x in $LZO_PATH/lib; do
24751 -+ for x in $OPENSSL_PATH/lib; do
24752 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
24753 - ncbi_rp_L_sep=" $CONF_f_libpath"
24754 - done
24755 -- LZO_LIBPATH="${ncbi_rp_L_flags}"
24756 -+ OPENSSL_LIBPATH="${ncbi_rp_L_flags}"
24757 - else
24758 - ncbi_rp_R_flags=
24759 - ncbi_rp_R_sep=" $CONF_f_runpath"
24760 -- for x in $LZO_PATH/lib; do
24761 -+ for x in $OPENSSL_PATH/lib; do
24762 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
24763 - ncbi_rp_L_sep=" $CONF_f_libpath"
24764 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
24765 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
24766 - ncbi_rp_R_sep=:
24767 - done
24768 -- LZO_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
24769 -+ OPENSSL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
24770 - fi
24771 - fi
24772 -- LZO_LIBS="$LZO_LIBPATH -llzo2 "
24773 -+ OPENSSL_LIBS="$OPENSSL_LIBPATH -lssl -lcrypto"
24774 - else
24775 -- LZO_INCLUDE=""
24776 -- LZO_LIBS="-llzo2 "
24777 -+ OPENSSL_INCLUDE=""
24778 -+ OPENSSL_LIBS="-lssl -lcrypto"
24779 - in_path=
24780 - fi
24781 -- echo "$as_me:$LINENO: checking for liblzo2$in_path" >&5
24782 --echo $ECHO_N "checking for liblzo2$in_path... $ECHO_C" >&6
24783 --if test "${ncbi_cv_lib_lzo+set}" = set; then
24784 -+ { echo "$as_me:$LINENO: checking for libssl$in_path" >&5
24785 -+echo $ECHO_N "checking for libssl$in_path... $ECHO_C" >&6; }
24786 -+if test "${ncbi_cv_lib_openssl+set}" = set; then
24787 - echo $ECHO_N "(cached) $ECHO_C" >&6
24788 - else
24789 -- CPPFLAGS=" $LZO_INCLUDE $orig_CPPFLAGS"
24790 -- LIBS="$LZO_LIBS $orig_LIBS"
24791 -+ CPPFLAGS=" $OPENSSL_INCLUDE $orig_CPPFLAGS"
24792 -+ LIBS="$OPENSSL_LIBS $orig_LIBS"
24793 - cat >conftest.$ac_ext <<_ACEOF
24794 - /* confdefs.h. */
24795 - _ACEOF
24796 - cat confdefs.h >>conftest.$ac_ext
24797 - cat >>conftest.$ac_ext <<_ACEOF
24798 - /* end confdefs.h. */
24799 --#include <lzo/lzo1x.h>
24800 -+#include <openssl/ssl.h>
24801 - int
24802 - main ()
24803 - {
24804 --lzo_uint32 c = lzo_crc32(0, (const unsigned char*)"foo", 3);
24805 -+SSL_library_init();
24806 - ;
24807 - return 0;
24808 - }
24809 - _ACEOF
24810 - rm -f conftest.$ac_objext conftest$ac_exeext
24811 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24812 -- (eval $ac_link) 2>conftest.er1
24813 -+if { (ac_try="$ac_link"
24814 -+case "(($ac_try" in
24815 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24816 -+ *) ac_try_echo=$ac_try;;
24817 -+esac
24818 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24819 -+ (eval "$ac_link") 2>conftest.er1
24820 - ac_status=$?
24821 - grep -v '^ *+' conftest.er1 >conftest.err
24822 - rm -f conftest.er1
24823 - cat conftest.err >&5
24824 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24825 - (exit $ac_status); } &&
24826 -- { ac_try='test -z "$ac_cxx_werror_flag"
24827 -- || test ! -s conftest.err'
24828 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24829 -- (eval $ac_try) 2>&5
24830 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24831 -+ { (case "(($ac_try" in
24832 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24833 -+ *) ac_try_echo=$ac_try;;
24834 -+esac
24835 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24836 -+ (eval "$ac_try") 2>&5
24837 - ac_status=$?
24838 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24839 - (exit $ac_status); }; } &&
24840 - { ac_try='test -s conftest$ac_exeext'
24841 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24842 -- (eval $ac_try) 2>&5
24843 -+ { (case "(($ac_try" in
24844 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24845 -+ *) ac_try_echo=$ac_try;;
24846 -+esac
24847 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24848 -+ (eval "$ac_try") 2>&5
24849 - ac_status=$?
24850 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
24851 - (exit $ac_status); }; }; then
24852 -- ncbi_cv_lib_lzo=yes
24853 -+ ncbi_cv_lib_openssl=yes
24854 - else
24855 - echo "$as_me: failed program was:" >&5
24856 - sed 's/^/| /' conftest.$ac_ext >&5
24857 -
24858 --ncbi_cv_lib_lzo=no
24859 -+ ncbi_cv_lib_openssl=no
24860 - fi
24861 --rm -f conftest.err conftest.$ac_objext \
24862 -+
24863 -+rm -f core conftest.err conftest.$ac_objext \
24864 - conftest$ac_exeext conftest.$ac_ext
24865 - fi
24866 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_lzo" >&5
24867 --echo "${ECHO_T}$ncbi_cv_lib_lzo" >&6
24868 -- if test "$ncbi_cv_lib_lzo" = "no"; then
24869 -- if test "${with_lzo:=no}" != no; then
24870 -- { { echo "$as_me:$LINENO: error: --with-lzo explicitly specified, but no usable version found." >&5
24871 --echo "$as_me: error: --with-lzo explicitly specified, but no usable version found." >&2;}
24872 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_openssl" >&5
24873 -+echo "${ECHO_T}$ncbi_cv_lib_openssl" >&6; }
24874 -+ if test "$ncbi_cv_lib_openssl" = "no"; then
24875 -+ if test "${with_openssl:=no}" != no; then
24876 -+ { { echo "$as_me:$LINENO: error: --with-openssl explicitly specified, but no usable version found." >&5
24877 -+echo "$as_me: error: --with-openssl explicitly specified, but no usable version found." >&2;}
24878 - { (exit 1); exit 1; }; }
24879 - fi
24880 - fi
24881 - fi
24882 -- if test "$with_lzo" = "no"; then
24883 -- LZO_PATH="No_LZO"
24884 -- LZO_INCLUDE=
24885 -- LZO_LIBS=
24886 -+ if test "$with_openssl" = "no"; then
24887 -+ OPENSSL_PATH="No_OPENSSL"
24888 -+ OPENSSL_INCLUDE=
24889 -+ OPENSSL_LIBS=
24890 - else
24891 -- WithPackages="$WithPackages${WithPackagesSep}LZO"; WithPackagesSep=" "
24892 -- LZO_INCLUDE=" $LZO_INCLUDE"
24893 -+ WithPackages="$WithPackages${WithPackagesSep}OPENSSL"; WithPackagesSep=" "
24894 -+ OPENSSL_INCLUDE=" $OPENSSL_INCLUDE"
24895 -
24896 - cat >>confdefs.h <<\_ACEOF
24897 --#define HAVE_LIBLZO 1
24898 -+#define HAVE_LIBOPENSSL 1
24899 - _ACEOF
24900 -
24901 - fi
24902 -@@ -21639,1287 +26023,420 @@
24903 -
24904 -
24905 -
24906 --if test -z "$PCRE_PATH" && pcre-config --version >/dev/null 2>&1; then
24907 -- p=`pcre-config --prefix`
24908 -- test "x$p" = "x/usr" || PCRE_PATH=$p
24909 -+OPENSSL_STATIC_LIBS=$OPENSSL_LIBS
24910 -+for d in `echo " $OPENSSL_LIBS" | fmt -w 1 | sed -ne 's/^ *-L//p'` \
24911 -+ /usr/local/lib${bit64_sfx} /usr/local/lib /usr/lib${bit64_sfx} /usr/lib; do
24912 -+ if test -f $d/libssl.a -a -f $d/libcrypto.a; then
24913 -+ OPENSSL_STATIC_LIBS="$d/libssl.a $d/libcrypto.a"
24914 -+ break
24915 -+ elif test -f $d/libssl.so -o -f $d/libssl.dylib; then
24916 -+ break
24917 - fi
24918 --if test "$with_pcre" != "no"; then
24919 -- case "$with_pcre" in
24920 -+done
24921 -+
24922 -+if test -n "$GNUTLS_LIBS"; then
24923 -+ TLS_INCLUDE=$GNUTLS_INCLUDE
24924 -+ TLS_LIBS=$GNUTLS_LIBS
24925 -+else
24926 -+ TLS_INCLUDE=$OPENSSL_INCLUDE
24927 -+ TLS_LIBS=$OPENSSL_LIBS
24928 -+fi
24929 -+
24930 -+
24931 -+case "$with_krb5" in
24932 -+ no ) ac_cv_path_KRB5_CONFIG=no ;;
24933 -+ yes | '' ) : ${KRB5_PATH=/usr/kerberos} ;;
24934 -+ * ) KRB5_PATH=$with_krb5 ;;
24935 -+esac
24936 -+# Extract the first word of "krb5-config", so it can be a program name with args.
24937 -+set dummy krb5-config; ac_word=$2
24938 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
24939 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24940 -+if test "${ac_cv_path_KRB5_CONFIG+set}" = set; then
24941 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
24942 -+else
24943 -+ case $KRB5_CONFIG in
24944 -+ [\\/]* | ?:[\\/]*)
24945 -+ ac_cv_path_KRB5_CONFIG="$KRB5_CONFIG" # Let the user override the test with a path.
24946 -+ ;;
24947 -+ *)
24948 -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24949 -+as_dummy="${KRB5_BIN-$KRB5_PATH/bin}:$PATH"
24950 -+for as_dir in $as_dummy
24951 -+do
24952 -+ IFS=$as_save_IFS
24953 -+ test -z "$as_dir" && as_dir=.
24954 -+ for ac_exec_ext in '' $ac_executable_extensions; do
24955 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
24956 -+ ac_cv_path_KRB5_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24957 -+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24958 -+ break 2
24959 -+ fi
24960 -+done
24961 -+done
24962 -+IFS=$as_save_IFS
24963 -+
24964 -+ ;;
24965 -+esac
24966 -+fi
24967 -+KRB5_CONFIG=$ac_cv_path_KRB5_CONFIG
24968 -+if test -n "$KRB5_CONFIG"; then
24969 -+ { echo "$as_me:$LINENO: result: $KRB5_CONFIG" >&5
24970 -+echo "${ECHO_T}$KRB5_CONFIG" >&6; }
24971 -+else
24972 -+ { echo "$as_me:$LINENO: result: no" >&5
24973 -+echo "${ECHO_T}no" >&6; }
24974 -+fi
24975 -+
24976 -+
24977 -+
24978 -+if test "x$with_krb5" != xno; then
24979 -+ if test -x "$KRB5_CONFIG"; then
24980 -+ KRB5_PATH=`$KRB5_CONFIG --prefix`
24981 -+ KRB5_INCLUDE=`$KRB5_CONFIG --cflags | \
24982 -+ sed -e 's/$/ /; s,-I/usr/include ,,'`
24983 -+ KRB5_CONFIG_LIBS=`$KRB5_CONFIG --libs gssapi | \
24984 -+ sed -e 's/^/ /; s/ -[^Ll][^ ]*//g'`
24985 -+ fi
24986 -+else
24987 -+ KRB5_CONFIG_LIBS=$KRB5_LIBS
24988 -+fi
24989 -+if test "$with_krb5" != "no"; then
24990 -+ case "$with_krb5" in
24991 - yes | "" ) ;;
24992 -- * ) PCRE_PATH=$with_pcre ;;
24993 -+ * ) KRB5_PATH=$with_krb5 ;;
24994 - esac
24995 -- if test -d "$PCRE_PATH"; then
24996 -- in_path=" in $PCRE_PATH"
24997 -- if test -z "$PCRE_INCLUDE" -a -d "$PCRE_PATH/include"; then
24998 -- PCRE_INCLUDE="-I$PCRE_PATH/include"
24999 -+ if test -d "$KRB5_PATH"; then
25000 -+ in_path=" in $KRB5_PATH"
25001 -+ if test -z "$KRB5_INCLUDE" -a -d "$KRB5_PATH/include"; then
25002 -+ KRB5_INCLUDE="-I$KRB5_PATH/include"
25003 - fi
25004 -- if test -n "$PCRE_LIBPATH"; then
25005 -+ if test -n "$KRB5_LIBPATH"; then
25006 - :
25007 -- elif test -d "$PCRE_PATH/lib${bit64_sfx}"; then
25008 -+ elif test -d "$KRB5_PATH/lib${bit64_sfx}"; then
25009 - ncbi_rp_L_flags=
25010 - ncbi_rp_L_sep=$CONF_f_libpath
25011 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
25012 -- for x in $PCRE_PATH/lib${bit64_sfx}; do
25013 -+ for x in $KRB5_PATH/lib${bit64_sfx}; do
25014 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25015 - ncbi_rp_L_sep=" $CONF_f_libpath"
25016 - done
25017 -- PCRE_LIBPATH="${ncbi_rp_L_flags}"
25018 -+ KRB5_LIBPATH="${ncbi_rp_L_flags}"
25019 - else
25020 - ncbi_rp_R_flags=
25021 - ncbi_rp_R_sep=" $CONF_f_runpath"
25022 -- for x in $PCRE_PATH/lib${bit64_sfx}; do
25023 -+ for x in $KRB5_PATH/lib${bit64_sfx}; do
25024 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25025 - ncbi_rp_L_sep=" $CONF_f_libpath"
25026 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
25027 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
25028 - ncbi_rp_R_sep=:
25029 - done
25030 -- PCRE_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
25031 -+ KRB5_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
25032 - fi
25033 -- elif test -d "$PCRE_PATH/lib"; then
25034 -+ elif test -d "$KRB5_PATH/lib"; then
25035 - ncbi_rp_L_flags=
25036 - ncbi_rp_L_sep=$CONF_f_libpath
25037 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
25038 -- for x in $PCRE_PATH/lib; do
25039 -+ for x in $KRB5_PATH/lib; do
25040 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25041 - ncbi_rp_L_sep=" $CONF_f_libpath"
25042 - done
25043 -- PCRE_LIBPATH="${ncbi_rp_L_flags}"
25044 -+ KRB5_LIBPATH="${ncbi_rp_L_flags}"
25045 - else
25046 - ncbi_rp_R_flags=
25047 - ncbi_rp_R_sep=" $CONF_f_runpath"
25048 -- for x in $PCRE_PATH/lib; do
25049 -+ for x in $KRB5_PATH/lib; do
25050 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25051 - ncbi_rp_L_sep=" $CONF_f_libpath"
25052 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
25053 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
25054 - ncbi_rp_R_sep=:
25055 - done
25056 -- PCRE_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
25057 -+ KRB5_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
25058 - fi
25059 - fi
25060 -- PCRE_LIBS="$PCRE_LIBPATH -lpcre "
25061 -+ KRB5_LIBS="$KRB5_LIBPATH -lgssapi_krb5 $KRB5_CONFIG_LIBS"
25062 - else
25063 -- PCRE_INCLUDE=""
25064 -- PCRE_LIBS="-lpcre "
25065 -+ KRB5_INCLUDE=""
25066 -+ KRB5_LIBS="-lgssapi_krb5 $KRB5_CONFIG_LIBS"
25067 - in_path=
25068 - fi
25069 -- echo "$as_me:$LINENO: checking for libpcre$in_path" >&5
25070 --echo $ECHO_N "checking for libpcre$in_path... $ECHO_C" >&6
25071 --if test "${ncbi_cv_lib_pcre+set}" = set; then
25072 -+ { echo "$as_me:$LINENO: checking for libgssapi_krb5$in_path" >&5
25073 -+echo $ECHO_N "checking for libgssapi_krb5$in_path... $ECHO_C" >&6; }
25074 -+if test "${ncbi_cv_lib_krb5+set}" = set; then
25075 - echo $ECHO_N "(cached) $ECHO_C" >&6
25076 - else
25077 -- CPPFLAGS=" $PCRE_INCLUDE $orig_CPPFLAGS"
25078 -- LIBS="$PCRE_LIBS $orig_LIBS"
25079 -+ CPPFLAGS=" $KRB5_INCLUDE $orig_CPPFLAGS"
25080 -+ LIBS="$KRB5_LIBS $orig_LIBS"
25081 - cat >conftest.$ac_ext <<_ACEOF
25082 - /* confdefs.h. */
25083 - _ACEOF
25084 - cat confdefs.h >>conftest.$ac_ext
25085 - cat >>conftest.$ac_ext <<_ACEOF
25086 - /* end confdefs.h. */
25087 --#include <pcre.h>
25088 -+#include <time.h>
25089 -+extern "C" {
25090 -+#include <gssapi/gssapi_krb5.h>
25091 -+}
25092 - int
25093 - main ()
25094 - {
25095 --const char*s[]={"x"}; pcre* p; pcre_extra* x = pcre_study(p, 1, s);
25096 -+OM_uint32 min_stat;
25097 -+ gss_buffer_desc buf;
25098 -+ gss_release_buffer(&min_stat, &buf);
25099 - ;
25100 - return 0;
25101 - }
25102 - _ACEOF
25103 - rm -f conftest.$ac_objext conftest$ac_exeext
25104 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25105 -- (eval $ac_link) 2>conftest.er1
25106 -+if { (ac_try="$ac_link"
25107 -+case "(($ac_try" in
25108 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25109 -+ *) ac_try_echo=$ac_try;;
25110 -+esac
25111 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25112 -+ (eval "$ac_link") 2>conftest.er1
25113 - ac_status=$?
25114 - grep -v '^ *+' conftest.er1 >conftest.err
25115 - rm -f conftest.er1
25116 - cat conftest.err >&5
25117 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
25118 - (exit $ac_status); } &&
25119 -- { ac_try='test -z "$ac_cxx_werror_flag"
25120 -- || test ! -s conftest.err'
25121 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25122 -- (eval $ac_try) 2>&5
25123 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25124 -+ { (case "(($ac_try" in
25125 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25126 -+ *) ac_try_echo=$ac_try;;
25127 -+esac
25128 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25129 -+ (eval "$ac_try") 2>&5
25130 - ac_status=$?
25131 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
25132 - (exit $ac_status); }; } &&
25133 - { ac_try='test -s conftest$ac_exeext'
25134 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25135 -- (eval $ac_try) 2>&5
25136 -+ { (case "(($ac_try" in
25137 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25138 -+ *) ac_try_echo=$ac_try;;
25139 -+esac
25140 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25141 -+ (eval "$ac_try") 2>&5
25142 - ac_status=$?
25143 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
25144 - (exit $ac_status); }; }; then
25145 -- ncbi_cv_lib_pcre=yes
25146 -+ ncbi_cv_lib_krb5=yes
25147 - else
25148 - echo "$as_me: failed program was:" >&5
25149 - sed 's/^/| /' conftest.$ac_ext >&5
25150 -
25151 --ncbi_cv_lib_pcre=no
25152 -+ ncbi_cv_lib_krb5=no
25153 - fi
25154 --rm -f conftest.err conftest.$ac_objext \
25155 -+
25156 -+rm -f core conftest.err conftest.$ac_objext \
25157 - conftest$ac_exeext conftest.$ac_ext
25158 - fi
25159 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_pcre" >&5
25160 --echo "${ECHO_T}$ncbi_cv_lib_pcre" >&6
25161 -- if test "$ncbi_cv_lib_pcre" = "no"; then
25162 -- if test "${with_pcre:=no}" != no; then
25163 -- { { echo "$as_me:$LINENO: error: --with-pcre explicitly specified, but no usable version found." >&5
25164 --echo "$as_me: error: --with-pcre explicitly specified, but no usable version found." >&2;}
25165 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_krb5" >&5
25166 -+echo "${ECHO_T}$ncbi_cv_lib_krb5" >&6; }
25167 -+ if test "$ncbi_cv_lib_krb5" = "no"; then
25168 -+ if test "${with_krb5:=no}" != no; then
25169 -+ { { echo "$as_me:$LINENO: error: --with-krb5 explicitly specified, but no usable version found." >&5
25170 -+echo "$as_me: error: --with-krb5 explicitly specified, but no usable version found." >&2;}
25171 - { (exit 1); exit 1; }; }
25172 - fi
25173 - fi
25174 - fi
25175 -- if test "$with_pcre" = "no"; then
25176 -- PCRE_PATH="No_PCRE"
25177 -- PCRE_INCLUDE=
25178 -- PCRE_LIBS=
25179 -+ if test "$with_krb5" = "no"; then
25180 -+ KRB5_PATH="No_KRB5"
25181 -+ KRB5_INCLUDE=
25182 -+ KRB5_LIBS=
25183 - else
25184 -- WithPackages="$WithPackages${WithPackagesSep}PCRE"; WithPackagesSep=" "
25185 -- PCRE_INCLUDE=" $PCRE_INCLUDE"
25186 --
25187 --cat >>confdefs.h <<\_ACEOF
25188 --#define HAVE_LIBPCRE 1
25189 --_ACEOF
25190 --
25191 -- fi
25192 --
25193 --
25194 --
25195 --if test -z "$PCRE_LIBS"; then
25196 -- pcrelocal=util/regexp
25197 -- { echo "$as_me:$LINENO: using local PCRE copy in $pcrelocal" >&5
25198 --echo "$as_me: using local PCRE copy in $pcrelocal" >&6;}
25199 -- PCRE_PATH="<$pcrelocal>"
25200 -- PCRE_INCLUDE="-I\$(includedir)/$pcrelocal -I\$(includedir0)/$pcrelocal"
25201 -- # PCRE_LIBS="-lregexp"
25202 -- # PCREPOSIX_LIBS="-lregexp"
25203 -- PCRE_LIB="regexp"
25204 -+ WithPackages="$WithPackages${WithPackagesSep}KRB5"; WithPackagesSep=" "
25205 -+ KRB5_INCLUDE=" $KRB5_INCLUDE"
25206 -
25207 - cat >>confdefs.h <<\_ACEOF
25208 --#define USE_LOCAL_PCRE 1
25209 -+#define HAVE_LIBKRB5 1
25210 - _ACEOF
25211 -
25212 -- WithPackages="$WithPackages${WithPackagesSep}PCRE"; WithPackagesSep=" "
25213 -- WithPackages="$WithPackages${WithPackagesSep}LocalPCRE"; WithPackagesSep=" "
25214 --else
25215 -- PCREPOSIX_LIBS=`echo "$PCRE_LIBS" | sed -e 's/-lpcre/-lpcreposix -lpcre/'`
25216 --fi
25217 --
25218 --## SSL/TLS libraries
25219 --case "$with_gcrypt" in
25220 -- no ) ac_cv_path_LIBGCRYPT_CONFIG=no ;;
25221 -- yes | '' ) : ${GCRYPT_PATH=$NCBI/gcrypt} ;;
25222 -- * ) GCRYPT_PATH=$with_gcrypt ;;
25223 --esac
25224 --if test -d "$GCRYPT_PATH"; then
25225 -- ncbi_fix_dir_tmp=`if cd $GCRYPT_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
25226 -- case "$ncbi_fix_dir_tmp" in
25227 -- /.*) ncbi_fix_dir_tmp2=`cd $GCRYPT_PATH && $smart_pwd 2>/dev/null`
25228 -- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
25229 -- GCRYPT_PATH=$ncbi_fix_dir_tmp2
25230 -- else
25231 -- case "$GCRYPT_PATH" in
25232 -- /*) ;;
25233 -- * ) GCRYPT_PATH=$ncbi_fix_dir_tmp ;;
25234 -- esac
25235 -- fi
25236 -- ;;
25237 -- /*) GCRYPT_PATH=$ncbi_fix_dir_tmp ;;
25238 -- esac
25239 --fi
25240 --# Extract the first word of "libgcrypt-config", so it can be a program name with args.
25241 --set dummy libgcrypt-config; ac_word=$2
25242 --echo "$as_me:$LINENO: checking for $ac_word" >&5
25243 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25244 --if test "${ac_cv_path_LIBGCRYPT_CONFIG+set}" = set; then
25245 -- echo $ECHO_N "(cached) $ECHO_C" >&6
25246 --else
25247 -- case $LIBGCRYPT_CONFIG in
25248 -- [\\/]* | ?:[\\/]*)
25249 -- ac_cv_path_LIBGCRYPT_CONFIG="$LIBGCRYPT_CONFIG" # Let the user override the test with a path.
25250 -- ;;
25251 -- *)
25252 -- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25253 --as_dummy="${GCRYPT_BIN-$GCRYPT_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/bin}:$GCRYPT_PATH/bin${bit64_sfx}:$GCRYPT_PATH/bin:$PATH"
25254 --for as_dir in $as_dummy
25255 --do
25256 -- IFS=$as_save_IFS
25257 -- test -z "$as_dir" && as_dir=.
25258 -- for ac_exec_ext in '' $ac_executable_extensions; do
25259 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25260 -- ac_cv_path_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25261 -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25262 -- break 2
25263 -- fi
25264 --done
25265 --done
25266 --
25267 -- ;;
25268 --esac
25269 - fi
25270 --LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG
25271 -
25272 --if test -n "$LIBGCRYPT_CONFIG"; then
25273 -- echo "$as_me:$LINENO: result: $LIBGCRYPT_CONFIG" >&5
25274 --echo "${ECHO_T}$LIBGCRYPT_CONFIG" >&6
25275 --else
25276 -- echo "$as_me:$LINENO: result: no" >&5
25277 --echo "${ECHO_T}no" >&6
25278 --fi
25279 -
25280 -
25281 --if test "x$with_gcrypt" != xno; then
25282 -- if test -x "$LIBGCRYPT_CONFIG"; then
25283 -- if test -z "$GCRYPT_PATH"; then
25284 -- p=`libgcrypt-config --prefix`
25285 -- test "x$p" = "x/usr" || GCRYPT_PATH=$p
25286 -- fi
25287 -+if test "x$with_krb5" != xno; then
25288 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
25289 -- GCRYPT_LIBPATH=`$LIBGCRYPT_CONFIG --exec-prefix | sed -e "s,^,-L,; s,$,/lib,;"`
25290 -+ KRB5_LIBS=`echo $KRB5_CONFIG_LIBS | sed -e "$no_usr_lib"`
25291 - else
25292 -- GCRYPT_LIBPATH=
25293 -+ KRB5_LIBS=
25294 - ncbi_rp_L_sep=
25295 - ncbi_rp_R_flags=
25296 - ncbi_rp_R_sep=" $CONF_f_runpath"
25297 -- for x in `$LIBGCRYPT_CONFIG --exec-prefix | sed -e "s,^,-L,; s,$,/lib,;"`; do
25298 -+ for x in `echo $KRB5_CONFIG_LIBS | sed -e "$no_usr_lib"`; do
25299 - case "$x" in
25300 - -L*)
25301 -- GCRYPT_LIBPATH="$GCRYPT_LIBPATH${ncbi_rp_L_sep}$x"
25302 -+ KRB5_LIBS="$KRB5_LIBS${ncbi_rp_L_sep}$x"
25303 - x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
25304 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
25305 - ncbi_rp_R_sep=:
25306 - ;;
25307 - *)
25308 -- GCRYPT_LIBPATH="$GCRYPT_LIBPATH${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
25309 -+ KRB5_LIBS="$KRB5_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
25310 - ncbi_rp_R_flags=
25311 - ncbi_rp_R_sep=" $CONF_f_runpath"
25312 - ;;
25313 - esac
25314 - ncbi_rp_L_sep=" "
25315 - done
25316 -- GCRYPT_LIBPATH="$GCRYPT_LIBPATH${ncbi_rp_R_flags}"
25317 -- fi
25318 -- GCRYPT_INCLUDE=`$LIBGCRYPT_CONFIG --cflags`
25319 -- GCRYPT_CONFIG_LIBS="`$LIBGCRYPT_CONFIG --libs` $Z_LIBS"
25320 -+ KRB5_LIBS="$KRB5_LIBS${ncbi_rp_R_flags}"
25321 - fi
25322 --else
25323 -- $as_unset GCRYPT_CONFIG_LIBS || test "${GCRYPT_CONFIG_LIBS+set}" != set || { GCRYPT_CONFIG_LIBS=; export GCRYPT_CONFIG_LIBS; }
25324 - fi
25325 --if test "$with_gcrypt" != "no"; then
25326 -- case "$with_gcrypt" in
25327 -+
25328 -+
25329 -+if test "$with_curl" != "no"; then
25330 -+ case "$with_curl" in
25331 - yes | "" ) ;;
25332 -- * ) GCRYPT_PATH=$with_gcrypt ;;
25333 -+ * ) CURL_PATH=$with_curl ;;
25334 - esac
25335 -- if test -d "$GCRYPT_PATH"; then
25336 -- in_path=" in $GCRYPT_PATH"
25337 -- if test -z "$GCRYPT_INCLUDE" -a -d "$GCRYPT_PATH/include"; then
25338 -- GCRYPT_INCLUDE="-I$GCRYPT_PATH/include"
25339 -+ if test -d "$CURL_PATH"; then
25340 -+ in_path=" in $CURL_PATH"
25341 -+ if test -z "$CURL_INCLUDE" -a -d "$CURL_PATH/include"; then
25342 -+ CURL_INCLUDE="-I$CURL_PATH/include"
25343 - fi
25344 -- if test -n "$GCRYPT_LIBPATH"; then
25345 -+ if test -n "$CURL_LIBPATH"; then
25346 - :
25347 -- elif test -d "$GCRYPT_PATH/lib${bit64_sfx}"; then
25348 -+ elif test -d "$CURL_PATH/lib${bit64_sfx}"; then
25349 - ncbi_rp_L_flags=
25350 - ncbi_rp_L_sep=$CONF_f_libpath
25351 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
25352 -- for x in $GCRYPT_PATH/lib${bit64_sfx}; do
25353 -+ for x in $CURL_PATH/lib${bit64_sfx}; do
25354 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25355 - ncbi_rp_L_sep=" $CONF_f_libpath"
25356 - done
25357 -- GCRYPT_LIBPATH="${ncbi_rp_L_flags}"
25358 -+ CURL_LIBPATH="${ncbi_rp_L_flags}"
25359 - else
25360 - ncbi_rp_R_flags=
25361 - ncbi_rp_R_sep=" $CONF_f_runpath"
25362 -- for x in $GCRYPT_PATH/lib${bit64_sfx}; do
25363 -+ for x in $CURL_PATH/lib${bit64_sfx}; do
25364 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25365 - ncbi_rp_L_sep=" $CONF_f_libpath"
25366 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
25367 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
25368 - ncbi_rp_R_sep=:
25369 - done
25370 -- GCRYPT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
25371 -+ CURL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
25372 - fi
25373 -- elif test -d "$GCRYPT_PATH/lib"; then
25374 -+ elif test -d "$CURL_PATH/lib"; then
25375 - ncbi_rp_L_flags=
25376 - ncbi_rp_L_sep=$CONF_f_libpath
25377 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
25378 -- for x in $GCRYPT_PATH/lib; do
25379 -+ for x in $CURL_PATH/lib; do
25380 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25381 - ncbi_rp_L_sep=" $CONF_f_libpath"
25382 - done
25383 -- GCRYPT_LIBPATH="${ncbi_rp_L_flags}"
25384 -+ CURL_LIBPATH="${ncbi_rp_L_flags}"
25385 - else
25386 - ncbi_rp_R_flags=
25387 - ncbi_rp_R_sep=" $CONF_f_runpath"
25388 -- for x in $GCRYPT_PATH/lib; do
25389 -+ for x in $CURL_PATH/lib; do
25390 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25391 - ncbi_rp_L_sep=" $CONF_f_libpath"
25392 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
25393 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
25394 - ncbi_rp_R_sep=:
25395 - done
25396 -- GCRYPT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
25397 -+ CURL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
25398 - fi
25399 - fi
25400 -- GCRYPT_LIBS="$GCRYPT_LIBPATH -lgcrypt $GCRYPT_CONFIG_LIBS"
25401 -+ CURL_LIBS="$CURL_LIBPATH -lcurl "
25402 - else
25403 -- GCRYPT_INCLUDE=""
25404 -- GCRYPT_LIBS="-lgcrypt $GCRYPT_CONFIG_LIBS"
25405 -+ CURL_INCLUDE=""
25406 -+ CURL_LIBS="-lcurl "
25407 - in_path=
25408 - fi
25409 -- echo "$as_me:$LINENO: checking for libgcrypt$in_path" >&5
25410 --echo $ECHO_N "checking for libgcrypt$in_path... $ECHO_C" >&6
25411 --if test "${ncbi_cv_lib_gcrypt+set}" = set; then
25412 -+ { echo "$as_me:$LINENO: checking for libcurl$in_path" >&5
25413 -+echo $ECHO_N "checking for libcurl$in_path... $ECHO_C" >&6; }
25414 -+if test "${ncbi_cv_lib_curl+set}" = set; then
25415 - echo $ECHO_N "(cached) $ECHO_C" >&6
25416 - else
25417 -- CPPFLAGS=" $GCRYPT_INCLUDE $orig_CPPFLAGS"
25418 -- LIBS="$GCRYPT_LIBS $orig_LIBS"
25419 -+ CPPFLAGS=" $CURL_INCLUDE $orig_CPPFLAGS"
25420 -+ LIBS="$CURL_LIBS $orig_LIBS"
25421 - cat >conftest.$ac_ext <<_ACEOF
25422 - /* confdefs.h. */
25423 - _ACEOF
25424 - cat confdefs.h >>conftest.$ac_ext
25425 - cat >>conftest.$ac_ext <<_ACEOF
25426 - /* end confdefs.h. */
25427 --#include <gcrypt.h>
25428 -- #include <pthread.h>
25429 -- #include <errno.h>
25430 -- GCRY_THREAD_OPTION_PTHREAD_IMPL;
25431 -+#include <curl/curl.h>
25432 - int
25433 - main ()
25434 - {
25435 --gcry_control(GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);
25436 -+char* v = curl_version();
25437 - ;
25438 - return 0;
25439 - }
25440 - _ACEOF
25441 - rm -f conftest.$ac_objext conftest$ac_exeext
25442 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25443 -- (eval $ac_link) 2>conftest.er1
25444 -+if { (ac_try="$ac_link"
25445 -+case "(($ac_try" in
25446 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25447 -+ *) ac_try_echo=$ac_try;;
25448 -+esac
25449 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25450 -+ (eval "$ac_link") 2>conftest.er1
25451 - ac_status=$?
25452 - grep -v '^ *+' conftest.er1 >conftest.err
25453 - rm -f conftest.er1
25454 - cat conftest.err >&5
25455 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
25456 - (exit $ac_status); } &&
25457 -- { ac_try='test -z "$ac_cxx_werror_flag"
25458 -- || test ! -s conftest.err'
25459 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25460 -- (eval $ac_try) 2>&5
25461 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25462 -+ { (case "(($ac_try" in
25463 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25464 -+ *) ac_try_echo=$ac_try;;
25465 -+esac
25466 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25467 -+ (eval "$ac_try") 2>&5
25468 - ac_status=$?
25469 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
25470 - (exit $ac_status); }; } &&
25471 - { ac_try='test -s conftest$ac_exeext'
25472 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25473 -- (eval $ac_try) 2>&5
25474 -+ { (case "(($ac_try" in
25475 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25476 -+ *) ac_try_echo=$ac_try;;
25477 -+esac
25478 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25479 -+ (eval "$ac_try") 2>&5
25480 - ac_status=$?
25481 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
25482 - (exit $ac_status); }; }; then
25483 -- ncbi_cv_lib_gcrypt=yes
25484 -+ ncbi_cv_lib_curl=yes
25485 - else
25486 - echo "$as_me: failed program was:" >&5
25487 - sed 's/^/| /' conftest.$ac_ext >&5
25488 -
25489 --ncbi_cv_lib_gcrypt=no
25490 -+ ncbi_cv_lib_curl=no
25491 - fi
25492 --rm -f conftest.err conftest.$ac_objext \
25493 -+
25494 -+rm -f core conftest.err conftest.$ac_objext \
25495 - conftest$ac_exeext conftest.$ac_ext
25496 - fi
25497 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_gcrypt" >&5
25498 --echo "${ECHO_T}$ncbi_cv_lib_gcrypt" >&6
25499 -- if test "$ncbi_cv_lib_gcrypt" = "no"; then
25500 -- if test "${with_gcrypt:=no}" != no; then
25501 -- { { echo "$as_me:$LINENO: error: --with-gcrypt explicitly specified, but no usable version found." >&5
25502 --echo "$as_me: error: --with-gcrypt explicitly specified, but no usable version found." >&2;}
25503 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_curl" >&5
25504 -+echo "${ECHO_T}$ncbi_cv_lib_curl" >&6; }
25505 -+ if test "$ncbi_cv_lib_curl" = "no"; then
25506 -+ if test "${with_curl:=no}" != no; then
25507 -+ { { echo "$as_me:$LINENO: error: --with-curl explicitly specified, but no usable version found." >&5
25508 -+echo "$as_me: error: --with-curl explicitly specified, but no usable version found." >&2;}
25509 - { (exit 1); exit 1; }; }
25510 - fi
25511 - fi
25512 - fi
25513 -- if test "$with_gcrypt" = "no"; then
25514 -- GCRYPT_PATH="No_GCRYPT"
25515 -- GCRYPT_INCLUDE=
25516 -- GCRYPT_LIBS=
25517 -+ if test "$with_curl" = "no"; then
25518 -+ CURL_PATH="No_CURL"
25519 -+ CURL_INCLUDE=
25520 -+ CURL_LIBS=
25521 - else
25522 -- WithPackages="$WithPackages${WithPackagesSep}GCRYPT"; WithPackagesSep=" "
25523 -- GCRYPT_INCLUDE=" $GCRYPT_INCLUDE"
25524 -+ WithPackages="$WithPackages${WithPackagesSep}CURL"; WithPackagesSep=" "
25525 -+ CURL_INCLUDE=" $CURL_INCLUDE"
25526 -
25527 - cat >>confdefs.h <<\_ACEOF
25528 --#define HAVE_LIBGCRYPT 1
25529 --_ACEOF
25530 --
25531 -- fi
25532 --
25533 --
25534 --
25535 --if test "x$with_gcrypt" != xno -a -n "$GCRYPT_CONFIG_LIBS"; then
25536 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
25537 -- GCRYPT_LIBS=`echo $GCRYPT_CONFIG_LIBS | sed -e "$no_usr_lib"`
25538 -- else
25539 -- GCRYPT_LIBS=
25540 -- ncbi_rp_L_sep=
25541 -- ncbi_rp_R_flags=
25542 -- ncbi_rp_R_sep=" $CONF_f_runpath"
25543 -- for x in `echo $GCRYPT_CONFIG_LIBS | sed -e "$no_usr_lib"`; do
25544 -- case "$x" in
25545 -- -L*)
25546 -- GCRYPT_LIBS="$GCRYPT_LIBS${ncbi_rp_L_sep}$x"
25547 -- x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
25548 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
25549 -- ncbi_rp_R_sep=:
25550 -- ;;
25551 -- *)
25552 -- GCRYPT_LIBS="$GCRYPT_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
25553 -- ncbi_rp_R_flags=
25554 -- ncbi_rp_R_sep=" $CONF_f_runpath"
25555 -- ;;
25556 -- esac
25557 -- ncbi_rp_L_sep=" "
25558 -- done
25559 -- GCRYPT_LIBS="$GCRYPT_LIBS${ncbi_rp_R_flags}"
25560 -- fi
25561 --fi
25562 --
25563 --case "$with_gnutls" in
25564 -- no ) ac_cv_path_LIBGNUTLS_CONFIG=no ;;
25565 -- yes | '' ) : ${GNUTLS_PATH=$NCBI/gnutls} ;;
25566 -- * ) GNUTLS_PATH=$with_gnutls ;;
25567 --esac
25568 --if test -d "$GNUTLS_PATH"; then
25569 -- ncbi_fix_dir_tmp=`if cd $GNUTLS_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
25570 -- case "$ncbi_fix_dir_tmp" in
25571 -- /.*) ncbi_fix_dir_tmp2=`cd $GNUTLS_PATH && $smart_pwd 2>/dev/null`
25572 -- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
25573 -- GNUTLS_PATH=$ncbi_fix_dir_tmp2
25574 -- else
25575 -- case "$GNUTLS_PATH" in
25576 -- /*) ;;
25577 -- * ) GNUTLS_PATH=$ncbi_fix_dir_tmp ;;
25578 -- esac
25579 -- fi
25580 -- ;;
25581 -- /*) GNUTLS_PATH=$ncbi_fix_dir_tmp ;;
25582 -- esac
25583 --fi
25584 --# Extract the first word of "libgnutls-config", so it can be a program name with args.
25585 --set dummy libgnutls-config; ac_word=$2
25586 --echo "$as_me:$LINENO: checking for $ac_word" >&5
25587 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
25588 --if test "${ac_cv_path_LIBGNUTLS_CONFIG+set}" = set; then
25589 -- echo $ECHO_N "(cached) $ECHO_C" >&6
25590 --else
25591 -- case $LIBGNUTLS_CONFIG in
25592 -- [\\/]* | ?:[\\/]*)
25593 -- ac_cv_path_LIBGNUTLS_CONFIG="$LIBGNUTLS_CONFIG" # Let the user override the test with a path.
25594 -- ;;
25595 -- *)
25596 -- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25597 --as_dummy="${GNUTLS_BIN-$GNUTLS_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/bin}:$GNUTLS_PATH/bin${bit64_sfx}:$GNUTLS_PATH/bin:$PATH"
25598 --for as_dir in $as_dummy
25599 --do
25600 -- IFS=$as_save_IFS
25601 -- test -z "$as_dir" && as_dir=.
25602 -- for ac_exec_ext in '' $ac_executable_extensions; do
25603 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25604 -- ac_cv_path_LIBGNUTLS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25605 -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25606 -- break 2
25607 -- fi
25608 --done
25609 --done
25610 --
25611 -- ;;
25612 --esac
25613 --fi
25614 --LIBGNUTLS_CONFIG=$ac_cv_path_LIBGNUTLS_CONFIG
25615 --
25616 --if test -n "$LIBGNUTLS_CONFIG"; then
25617 -- echo "$as_me:$LINENO: result: $LIBGNUTLS_CONFIG" >&5
25618 --echo "${ECHO_T}$LIBGNUTLS_CONFIG" >&6
25619 --else
25620 -- echo "$as_me:$LINENO: result: no" >&5
25621 --echo "${ECHO_T}no" >&6
25622 --fi
25623 --
25624 --
25625 --if test "x$with_gnutls" != xno; then
25626 -- if test -x "$LIBGNUTLS_CONFIG"; then
25627 -- if test -z "$GNUTLS_PATH"; then
25628 -- p=`libgnutls-config --prefix`
25629 -- test "x$p" = "x/usr" || GNUTLS_PATH=$p
25630 -- fi
25631 -- else
25632 -- LIBGNUTLS_CONFIG="eval PKG_CONFIG_PATH=\"$GNUTLS_PATH/lib/pkgconfig\" pkg-config gnutls"
25633 -- $LIBGNUTLS_CONFIG --exists >/dev/null 2>&1 || LIBGNUTLS_CONFIG=no
25634 -- fi
25635 -- case "$LIBGNUTLS_CONFIG" in
25636 -- eval\ *)
25637 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
25638 -- GNUTLS_LIBPATH=`$LIBGNUTLS_CONFIG --libs-only-L | sed -e ""`
25639 -- else
25640 -- GNUTLS_LIBPATH=
25641 -- ncbi_rp_L_sep=
25642 -- ncbi_rp_R_flags=
25643 -- ncbi_rp_R_sep=" $CONF_f_runpath"
25644 -- for x in `$LIBGNUTLS_CONFIG --libs-only-L | sed -e ""`; do
25645 -- case "$x" in
25646 -- -L*)
25647 -- GNUTLS_LIBPATH="$GNUTLS_LIBPATH${ncbi_rp_L_sep}$x"
25648 -- x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
25649 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
25650 -- ncbi_rp_R_sep=:
25651 -- ;;
25652 -- *)
25653 -- GNUTLS_LIBPATH="$GNUTLS_LIBPATH${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
25654 -- ncbi_rp_R_flags=
25655 -- ncbi_rp_R_sep=" $CONF_f_runpath"
25656 -- ;;
25657 -- esac
25658 -- ncbi_rp_L_sep=" "
25659 -- done
25660 -- GNUTLS_LIBPATH="$GNUTLS_LIBPATH${ncbi_rp_R_flags}"
25661 -- fi
25662 -- ;;
25663 -- no)
25664 -- ;;
25665 -- *)
25666 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
25667 -- GNUTLS_LIBPATH=`$LIBGNUTLS_CONFIG --exec-prefix | sed -e "s,^,-L,; s,$,/lib,;"`
25668 -- else
25669 -- GNUTLS_LIBPATH=
25670 -- ncbi_rp_L_sep=
25671 -- ncbi_rp_R_flags=
25672 -- ncbi_rp_R_sep=" $CONF_f_runpath"
25673 -- for x in `$LIBGNUTLS_CONFIG --exec-prefix | sed -e "s,^,-L,; s,$,/lib,;"`; do
25674 -- case "$x" in
25675 -- -L*)
25676 -- GNUTLS_LIBPATH="$GNUTLS_LIBPATH${ncbi_rp_L_sep}$x"
25677 -- x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
25678 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
25679 -- ncbi_rp_R_sep=:
25680 -- ;;
25681 -- *)
25682 -- GNUTLS_LIBPATH="$GNUTLS_LIBPATH${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
25683 -- ncbi_rp_R_flags=
25684 -- ncbi_rp_R_sep=" $CONF_f_runpath"
25685 -- ;;
25686 -- esac
25687 -- ncbi_rp_L_sep=" "
25688 -- done
25689 -- GNUTLS_LIBPATH="$GNUTLS_LIBPATH${ncbi_rp_R_flags}"
25690 -- fi
25691 -- ;;
25692 -- esac
25693 --
25694 -- if test "x$LIBGNUTLS_CONFIG" != xno; then
25695 -- GNUTLS_INCLUDE=`$LIBGNUTLS_CONFIG --cflags`
25696 -- GNUTLS_CONFIG_LIBS="`$LIBGNUTLS_CONFIG --libs` $Z_LIBS"
25697 -- fi
25698 --else
25699 -- $as_unset GNUTLS_CONFIG_LIBS || test "${GNUTLS_CONFIG_LIBS+set}" != set || { GNUTLS_CONFIG_LIBS=; export GNUTLS_CONFIG_LIBS; }
25700 --fi
25701 --if test "$with_gnutls" != "no"; then
25702 -- case "$with_gnutls" in
25703 -- yes | "" ) ;;
25704 -- * ) GNUTLS_PATH=$with_gnutls ;;
25705 -- esac
25706 -- if test -d "$GNUTLS_PATH"; then
25707 -- in_path=" in $GNUTLS_PATH"
25708 -- if test -z "$GNUTLS_INCLUDE" -a -d "$GNUTLS_PATH/include"; then
25709 -- GNUTLS_INCLUDE="-I$GNUTLS_PATH/include"
25710 -- fi
25711 -- if test -n "$GNUTLS_LIBPATH"; then
25712 -- :
25713 -- elif test -d "$GNUTLS_PATH/lib${bit64_sfx}"; then
25714 -- ncbi_rp_L_flags=
25715 -- ncbi_rp_L_sep=$CONF_f_libpath
25716 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
25717 -- for x in $GNUTLS_PATH/lib${bit64_sfx}; do
25718 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25719 -- ncbi_rp_L_sep=" $CONF_f_libpath"
25720 -- done
25721 -- GNUTLS_LIBPATH="${ncbi_rp_L_flags}"
25722 -- else
25723 -- ncbi_rp_R_flags=
25724 -- ncbi_rp_R_sep=" $CONF_f_runpath"
25725 -- for x in $GNUTLS_PATH/lib${bit64_sfx}; do
25726 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25727 -- ncbi_rp_L_sep=" $CONF_f_libpath"
25728 -- x=`echo $x | sed -e "$ncbi_rpath_sed"`
25729 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
25730 -- ncbi_rp_R_sep=:
25731 -- done
25732 -- GNUTLS_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
25733 -- fi
25734 -- elif test -d "$GNUTLS_PATH/lib"; then
25735 -- ncbi_rp_L_flags=
25736 -- ncbi_rp_L_sep=$CONF_f_libpath
25737 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
25738 -- for x in $GNUTLS_PATH/lib; do
25739 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25740 -- ncbi_rp_L_sep=" $CONF_f_libpath"
25741 -- done
25742 -- GNUTLS_LIBPATH="${ncbi_rp_L_flags}"
25743 -- else
25744 -- ncbi_rp_R_flags=
25745 -- ncbi_rp_R_sep=" $CONF_f_runpath"
25746 -- for x in $GNUTLS_PATH/lib; do
25747 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25748 -- ncbi_rp_L_sep=" $CONF_f_libpath"
25749 -- x=`echo $x | sed -e "$ncbi_rpath_sed"`
25750 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
25751 -- ncbi_rp_R_sep=:
25752 -- done
25753 -- GNUTLS_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
25754 -- fi
25755 -- fi
25756 -- GNUTLS_LIBS="$GNUTLS_LIBPATH -lgnutls $GNUTLS_CONFIG_LIBS $GCRYPT_LIBS"
25757 -- else
25758 -- GNUTLS_INCLUDE=""
25759 -- GNUTLS_LIBS="-lgnutls $GNUTLS_CONFIG_LIBS $GCRYPT_LIBS"
25760 -- in_path=
25761 -- fi
25762 -- echo "$as_me:$LINENO: checking for libgnutls$in_path" >&5
25763 --echo $ECHO_N "checking for libgnutls$in_path... $ECHO_C" >&6
25764 --if test "${ncbi_cv_lib_gnutls+set}" = set; then
25765 -- echo $ECHO_N "(cached) $ECHO_C" >&6
25766 --else
25767 -- CPPFLAGS=" $GNUTLS_INCLUDE $orig_CPPFLAGS"
25768 -- LIBS="$GNUTLS_LIBS $orig_LIBS"
25769 -- cat >conftest.$ac_ext <<_ACEOF
25770 --/* confdefs.h. */
25771 --_ACEOF
25772 --cat confdefs.h >>conftest.$ac_ext
25773 --cat >>conftest.$ac_ext <<_ACEOF
25774 --/* end confdefs.h. */
25775 --#include <gnutls/gnutls.h>
25776 --int
25777 --main ()
25778 --{
25779 --gnutls_session_t s; gnutls_init(&s, GNUTLS_CLIENT);
25780 -- ;
25781 -- return 0;
25782 --}
25783 --_ACEOF
25784 --rm -f conftest.$ac_objext conftest$ac_exeext
25785 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25786 -- (eval $ac_link) 2>conftest.er1
25787 -- ac_status=$?
25788 -- grep -v '^ *+' conftest.er1 >conftest.err
25789 -- rm -f conftest.er1
25790 -- cat conftest.err >&5
25791 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
25792 -- (exit $ac_status); } &&
25793 -- { ac_try='test -z "$ac_cxx_werror_flag"
25794 -- || test ! -s conftest.err'
25795 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25796 -- (eval $ac_try) 2>&5
25797 -- ac_status=$?
25798 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
25799 -- (exit $ac_status); }; } &&
25800 -- { ac_try='test -s conftest$ac_exeext'
25801 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25802 -- (eval $ac_try) 2>&5
25803 -- ac_status=$?
25804 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
25805 -- (exit $ac_status); }; }; then
25806 -- ncbi_cv_lib_gnutls=yes
25807 --else
25808 -- echo "$as_me: failed program was:" >&5
25809 --sed 's/^/| /' conftest.$ac_ext >&5
25810 --
25811 --ncbi_cv_lib_gnutls=no
25812 --fi
25813 --rm -f conftest.err conftest.$ac_objext \
25814 -- conftest$ac_exeext conftest.$ac_ext
25815 --fi
25816 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_gnutls" >&5
25817 --echo "${ECHO_T}$ncbi_cv_lib_gnutls" >&6
25818 -- if test "$ncbi_cv_lib_gnutls" = "no"; then
25819 -- if test "${with_gnutls:=no}" != no; then
25820 -- { { echo "$as_me:$LINENO: error: --with-gnutls explicitly specified, but no usable version found." >&5
25821 --echo "$as_me: error: --with-gnutls explicitly specified, but no usable version found." >&2;}
25822 -- { (exit 1); exit 1; }; }
25823 -- fi
25824 -- fi
25825 -- fi
25826 -- if test "$with_gnutls" = "no"; then
25827 -- GNUTLS_PATH="No_GNUTLS"
25828 -- GNUTLS_INCLUDE=
25829 -- GNUTLS_LIBS=
25830 -- else
25831 -- WithPackages="$WithPackages${WithPackagesSep}GNUTLS"; WithPackagesSep=" "
25832 -- GNUTLS_INCLUDE=" $GNUTLS_INCLUDE"
25833 --
25834 --cat >>confdefs.h <<\_ACEOF
25835 --#define HAVE_LIBGNUTLS 1
25836 --_ACEOF
25837 --
25838 -- fi
25839 --
25840 --
25841 --
25842 --if test "x$with_gnutls" != xno -a -n "$GNUTLS_CONFIG_LIBS"; then
25843 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
25844 -- GNUTLS_LIBS=`echo $GNUTLS_CONFIG_LIBS | sed -e "$no_usr_lib"`
25845 -- else
25846 -- GNUTLS_LIBS=
25847 -- ncbi_rp_L_sep=
25848 -- ncbi_rp_R_flags=
25849 -- ncbi_rp_R_sep=" $CONF_f_runpath"
25850 -- for x in `echo $GNUTLS_CONFIG_LIBS | sed -e "$no_usr_lib"`; do
25851 -- case "$x" in
25852 -- -L*)
25853 -- GNUTLS_LIBS="$GNUTLS_LIBS${ncbi_rp_L_sep}$x"
25854 -- x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
25855 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
25856 -- ncbi_rp_R_sep=:
25857 -- ;;
25858 -- *)
25859 -- GNUTLS_LIBS="$GNUTLS_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
25860 -- ncbi_rp_R_flags=
25861 -- ncbi_rp_R_sep=" $CONF_f_runpath"
25862 -- ;;
25863 -- esac
25864 -- ncbi_rp_L_sep=" "
25865 -- done
25866 -- GNUTLS_LIBS="$GNUTLS_LIBS${ncbi_rp_R_flags}"
25867 -- fi
25868 -- case "$GNUTLS_INCLUDE" in
25869 -- *$GCRYPT_INCLUDE* ) ;;
25870 -- * ) GNUTLS_INCLUDE="$GNUTLS_INCLUDE $GCRYPT_INCLUDE" ;;
25871 -- esac
25872 -- case "$GNUTLS_LIBS" in
25873 -- *\ -lgcrypt* ) ;;
25874 -- * ) GNUTLS_LIBS="$GNUTLS_LIBS $GCRYPT_LIBS" ;;
25875 -- esac
25876 --fi
25877 --
25878 --if test "$with_openssl" != "no"; then
25879 -- case "$with_openssl" in
25880 -- yes | "" ) ;;
25881 -- * ) OPENSSL_PATH=$with_openssl ;;
25882 -- esac
25883 -- if test -d "$OPENSSL_PATH"; then
25884 -- in_path=" in $OPENSSL_PATH"
25885 -- if test -z "$OPENSSL_INCLUDE" -a -d "$OPENSSL_PATH/include"; then
25886 -- OPENSSL_INCLUDE="-I$OPENSSL_PATH/include"
25887 -- fi
25888 -- if test -n "$OPENSSL_LIBPATH"; then
25889 -- :
25890 -- elif test -d "$OPENSSL_PATH/lib${bit64_sfx}"; then
25891 -- ncbi_rp_L_flags=
25892 -- ncbi_rp_L_sep=$CONF_f_libpath
25893 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
25894 -- for x in $OPENSSL_PATH/lib${bit64_sfx}; do
25895 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25896 -- ncbi_rp_L_sep=" $CONF_f_libpath"
25897 -- done
25898 -- OPENSSL_LIBPATH="${ncbi_rp_L_flags}"
25899 -- else
25900 -- ncbi_rp_R_flags=
25901 -- ncbi_rp_R_sep=" $CONF_f_runpath"
25902 -- for x in $OPENSSL_PATH/lib${bit64_sfx}; do
25903 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25904 -- ncbi_rp_L_sep=" $CONF_f_libpath"
25905 -- x=`echo $x | sed -e "$ncbi_rpath_sed"`
25906 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
25907 -- ncbi_rp_R_sep=:
25908 -- done
25909 -- OPENSSL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
25910 -- fi
25911 -- elif test -d "$OPENSSL_PATH/lib"; then
25912 -- ncbi_rp_L_flags=
25913 -- ncbi_rp_L_sep=$CONF_f_libpath
25914 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
25915 -- for x in $OPENSSL_PATH/lib; do
25916 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25917 -- ncbi_rp_L_sep=" $CONF_f_libpath"
25918 -- done
25919 -- OPENSSL_LIBPATH="${ncbi_rp_L_flags}"
25920 -- else
25921 -- ncbi_rp_R_flags=
25922 -- ncbi_rp_R_sep=" $CONF_f_runpath"
25923 -- for x in $OPENSSL_PATH/lib; do
25924 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
25925 -- ncbi_rp_L_sep=" $CONF_f_libpath"
25926 -- x=`echo $x | sed -e "$ncbi_rpath_sed"`
25927 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
25928 -- ncbi_rp_R_sep=:
25929 -- done
25930 -- OPENSSL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
25931 -- fi
25932 -- fi
25933 -- OPENSSL_LIBS="$OPENSSL_LIBPATH -lssl -lcrypto"
25934 -- else
25935 -- OPENSSL_INCLUDE=""
25936 -- OPENSSL_LIBS="-lssl -lcrypto"
25937 -- in_path=
25938 -- fi
25939 -- echo "$as_me:$LINENO: checking for libssl$in_path" >&5
25940 --echo $ECHO_N "checking for libssl$in_path... $ECHO_C" >&6
25941 --if test "${ncbi_cv_lib_openssl+set}" = set; then
25942 -- echo $ECHO_N "(cached) $ECHO_C" >&6
25943 --else
25944 -- CPPFLAGS=" $OPENSSL_INCLUDE $orig_CPPFLAGS"
25945 -- LIBS="$OPENSSL_LIBS $orig_LIBS"
25946 -- cat >conftest.$ac_ext <<_ACEOF
25947 --/* confdefs.h. */
25948 --_ACEOF
25949 --cat confdefs.h >>conftest.$ac_ext
25950 --cat >>conftest.$ac_ext <<_ACEOF
25951 --/* end confdefs.h. */
25952 --#include <openssl/ssl.h>
25953 --int
25954 --main ()
25955 --{
25956 --SSL_library_init();
25957 -- ;
25958 -- return 0;
25959 --}
25960 --_ACEOF
25961 --rm -f conftest.$ac_objext conftest$ac_exeext
25962 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25963 -- (eval $ac_link) 2>conftest.er1
25964 -- ac_status=$?
25965 -- grep -v '^ *+' conftest.er1 >conftest.err
25966 -- rm -f conftest.er1
25967 -- cat conftest.err >&5
25968 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
25969 -- (exit $ac_status); } &&
25970 -- { ac_try='test -z "$ac_cxx_werror_flag"
25971 -- || test ! -s conftest.err'
25972 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25973 -- (eval $ac_try) 2>&5
25974 -- ac_status=$?
25975 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
25976 -- (exit $ac_status); }; } &&
25977 -- { ac_try='test -s conftest$ac_exeext'
25978 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25979 -- (eval $ac_try) 2>&5
25980 -- ac_status=$?
25981 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
25982 -- (exit $ac_status); }; }; then
25983 -- ncbi_cv_lib_openssl=yes
25984 --else
25985 -- echo "$as_me: failed program was:" >&5
25986 --sed 's/^/| /' conftest.$ac_ext >&5
25987 --
25988 --ncbi_cv_lib_openssl=no
25989 --fi
25990 --rm -f conftest.err conftest.$ac_objext \
25991 -- conftest$ac_exeext conftest.$ac_ext
25992 --fi
25993 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_openssl" >&5
25994 --echo "${ECHO_T}$ncbi_cv_lib_openssl" >&6
25995 -- if test "$ncbi_cv_lib_openssl" = "no"; then
25996 -- if test "${with_openssl:=no}" != no; then
25997 -- { { echo "$as_me:$LINENO: error: --with-openssl explicitly specified, but no usable version found." >&5
25998 --echo "$as_me: error: --with-openssl explicitly specified, but no usable version found." >&2;}
25999 -- { (exit 1); exit 1; }; }
26000 -- fi
26001 -- fi
26002 -- fi
26003 -- if test "$with_openssl" = "no"; then
26004 -- OPENSSL_PATH="No_OPENSSL"
26005 -- OPENSSL_INCLUDE=
26006 -- OPENSSL_LIBS=
26007 -- else
26008 -- WithPackages="$WithPackages${WithPackagesSep}OPENSSL"; WithPackagesSep=" "
26009 -- OPENSSL_INCLUDE=" $OPENSSL_INCLUDE"
26010 --
26011 --cat >>confdefs.h <<\_ACEOF
26012 --#define HAVE_LIBOPENSSL 1
26013 --_ACEOF
26014 --
26015 -- fi
26016 --
26017 --
26018 --
26019 --
26020 --OPENSSL_STATIC_LIBS=$OPENSSL_LIBS
26021 --for d in `echo " $OPENSSL_LIBS" | fmt -w 1 | sed -ne 's/^ *-L//p'` \
26022 -- /usr/local/lib${bit64_sfx} /usr/local/lib /usr/lib${bit64_sfx} /usr/lib; do
26023 -- if test -f $d/libssl.a -a -f $d/libcrypto.a; then
26024 -- OPENSSL_STATIC_LIBS="$d/libssl.a $d/libcrypto.a"
26025 -- break
26026 -- elif test -f $d/libssl.so -o -f $d/libssl.dylib; then
26027 -- break
26028 -- fi
26029 --done
26030 --
26031 --if test -n "$GNUTLS_LIBS"; then
26032 -- TLS_INCLUDE=$GNUTLS_INCLUDE
26033 -- TLS_LIBS=$GNUTLS_LIBS
26034 --else
26035 -- TLS_INCLUDE=$OPENSSL_INCLUDE
26036 -- TLS_LIBS=$OPENSSL_LIBS
26037 --fi
26038 --
26039 --
26040 --case "$with_krb5" in
26041 -- no ) ac_cv_path_KRB5_CONFIG=no ;;
26042 -- yes | '' ) : ${KRB5_PATH=/usr/kerberos} ;;
26043 -- * ) KRB5_PATH=$with_krb5 ;;
26044 --esac
26045 --# Extract the first word of "krb5-config", so it can be a program name with args.
26046 --set dummy krb5-config; ac_word=$2
26047 --echo "$as_me:$LINENO: checking for $ac_word" >&5
26048 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26049 --if test "${ac_cv_path_KRB5_CONFIG+set}" = set; then
26050 -- echo $ECHO_N "(cached) $ECHO_C" >&6
26051 --else
26052 -- case $KRB5_CONFIG in
26053 -- [\\/]* | ?:[\\/]*)
26054 -- ac_cv_path_KRB5_CONFIG="$KRB5_CONFIG" # Let the user override the test with a path.
26055 -- ;;
26056 -- *)
26057 -- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26058 --as_dummy="${KRB5_BIN-$KRB5_PATH/bin}:$PATH"
26059 --for as_dir in $as_dummy
26060 --do
26061 -- IFS=$as_save_IFS
26062 -- test -z "$as_dir" && as_dir=.
26063 -- for ac_exec_ext in '' $ac_executable_extensions; do
26064 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26065 -- ac_cv_path_KRB5_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26066 -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26067 -- break 2
26068 -- fi
26069 --done
26070 --done
26071 --
26072 -- ;;
26073 --esac
26074 --fi
26075 --KRB5_CONFIG=$ac_cv_path_KRB5_CONFIG
26076 --
26077 --if test -n "$KRB5_CONFIG"; then
26078 -- echo "$as_me:$LINENO: result: $KRB5_CONFIG" >&5
26079 --echo "${ECHO_T}$KRB5_CONFIG" >&6
26080 --else
26081 -- echo "$as_me:$LINENO: result: no" >&5
26082 --echo "${ECHO_T}no" >&6
26083 --fi
26084 --
26085 --
26086 --if test "x$with_krb5" != xno; then
26087 -- if test -x "$KRB5_CONFIG"; then
26088 -- KRB5_PATH=`$KRB5_CONFIG --prefix`
26089 -- KRB5_INCLUDE=`$KRB5_CONFIG --cflags | \
26090 -- sed -e 's/$/ /; s,-I/usr/include ,,'`
26091 -- KRB5_CONFIG_LIBS=`$KRB5_CONFIG --libs gssapi | \
26092 -- sed -e 's/^/ /; s/ -[^Ll][^ ]*//g'`
26093 -- fi
26094 --else
26095 -- KRB5_CONFIG_LIBS=$KRB5_LIBS
26096 --fi
26097 --if test "$with_krb5" != "no"; then
26098 -- case "$with_krb5" in
26099 -- yes | "" ) ;;
26100 -- * ) KRB5_PATH=$with_krb5 ;;
26101 -- esac
26102 -- if test -d "$KRB5_PATH"; then
26103 -- in_path=" in $KRB5_PATH"
26104 -- if test -z "$KRB5_INCLUDE" -a -d "$KRB5_PATH/include"; then
26105 -- KRB5_INCLUDE="-I$KRB5_PATH/include"
26106 -- fi
26107 -- if test -n "$KRB5_LIBPATH"; then
26108 -- :
26109 -- elif test -d "$KRB5_PATH/lib${bit64_sfx}"; then
26110 -- ncbi_rp_L_flags=
26111 -- ncbi_rp_L_sep=$CONF_f_libpath
26112 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
26113 -- for x in $KRB5_PATH/lib${bit64_sfx}; do
26114 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
26115 -- ncbi_rp_L_sep=" $CONF_f_libpath"
26116 -- done
26117 -- KRB5_LIBPATH="${ncbi_rp_L_flags}"
26118 -- else
26119 -- ncbi_rp_R_flags=
26120 -- ncbi_rp_R_sep=" $CONF_f_runpath"
26121 -- for x in $KRB5_PATH/lib${bit64_sfx}; do
26122 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
26123 -- ncbi_rp_L_sep=" $CONF_f_libpath"
26124 -- x=`echo $x | sed -e "$ncbi_rpath_sed"`
26125 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
26126 -- ncbi_rp_R_sep=:
26127 -- done
26128 -- KRB5_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
26129 -- fi
26130 -- elif test -d "$KRB5_PATH/lib"; then
26131 -- ncbi_rp_L_flags=
26132 -- ncbi_rp_L_sep=$CONF_f_libpath
26133 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
26134 -- for x in $KRB5_PATH/lib; do
26135 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
26136 -- ncbi_rp_L_sep=" $CONF_f_libpath"
26137 -- done
26138 -- KRB5_LIBPATH="${ncbi_rp_L_flags}"
26139 -- else
26140 -- ncbi_rp_R_flags=
26141 -- ncbi_rp_R_sep=" $CONF_f_runpath"
26142 -- for x in $KRB5_PATH/lib; do
26143 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
26144 -- ncbi_rp_L_sep=" $CONF_f_libpath"
26145 -- x=`echo $x | sed -e "$ncbi_rpath_sed"`
26146 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
26147 -- ncbi_rp_R_sep=:
26148 -- done
26149 -- KRB5_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
26150 -- fi
26151 -- fi
26152 -- KRB5_LIBS="$KRB5_LIBPATH -lgssapi_krb5 $KRB5_CONFIG_LIBS"
26153 -- else
26154 -- KRB5_INCLUDE=""
26155 -- KRB5_LIBS="-lgssapi_krb5 $KRB5_CONFIG_LIBS"
26156 -- in_path=
26157 -- fi
26158 -- echo "$as_me:$LINENO: checking for libgssapi_krb5$in_path" >&5
26159 --echo $ECHO_N "checking for libgssapi_krb5$in_path... $ECHO_C" >&6
26160 --if test "${ncbi_cv_lib_krb5+set}" = set; then
26161 -- echo $ECHO_N "(cached) $ECHO_C" >&6
26162 --else
26163 -- CPPFLAGS=" $KRB5_INCLUDE $orig_CPPFLAGS"
26164 -- LIBS="$KRB5_LIBS $orig_LIBS"
26165 -- cat >conftest.$ac_ext <<_ACEOF
26166 --/* confdefs.h. */
26167 --_ACEOF
26168 --cat confdefs.h >>conftest.$ac_ext
26169 --cat >>conftest.$ac_ext <<_ACEOF
26170 --/* end confdefs.h. */
26171 --#include <time.h>
26172 --extern "C" {
26173 --#include <gssapi/gssapi_krb5.h>
26174 --}
26175 --int
26176 --main ()
26177 --{
26178 --OM_uint32 min_stat;
26179 -- gss_buffer_desc buf;
26180 -- gss_release_buffer(&min_stat, &buf);
26181 -- ;
26182 -- return 0;
26183 --}
26184 --_ACEOF
26185 --rm -f conftest.$ac_objext conftest$ac_exeext
26186 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26187 -- (eval $ac_link) 2>conftest.er1
26188 -- ac_status=$?
26189 -- grep -v '^ *+' conftest.er1 >conftest.err
26190 -- rm -f conftest.er1
26191 -- cat conftest.err >&5
26192 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
26193 -- (exit $ac_status); } &&
26194 -- { ac_try='test -z "$ac_cxx_werror_flag"
26195 -- || test ! -s conftest.err'
26196 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26197 -- (eval $ac_try) 2>&5
26198 -- ac_status=$?
26199 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
26200 -- (exit $ac_status); }; } &&
26201 -- { ac_try='test -s conftest$ac_exeext'
26202 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26203 -- (eval $ac_try) 2>&5
26204 -- ac_status=$?
26205 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
26206 -- (exit $ac_status); }; }; then
26207 -- ncbi_cv_lib_krb5=yes
26208 --else
26209 -- echo "$as_me: failed program was:" >&5
26210 --sed 's/^/| /' conftest.$ac_ext >&5
26211 --
26212 --ncbi_cv_lib_krb5=no
26213 --fi
26214 --rm -f conftest.err conftest.$ac_objext \
26215 -- conftest$ac_exeext conftest.$ac_ext
26216 --fi
26217 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_krb5" >&5
26218 --echo "${ECHO_T}$ncbi_cv_lib_krb5" >&6
26219 -- if test "$ncbi_cv_lib_krb5" = "no"; then
26220 -- if test "${with_krb5:=no}" != no; then
26221 -- { { echo "$as_me:$LINENO: error: --with-krb5 explicitly specified, but no usable version found." >&5
26222 --echo "$as_me: error: --with-krb5 explicitly specified, but no usable version found." >&2;}
26223 -- { (exit 1); exit 1; }; }
26224 -- fi
26225 -- fi
26226 -- fi
26227 -- if test "$with_krb5" = "no"; then
26228 -- KRB5_PATH="No_KRB5"
26229 -- KRB5_INCLUDE=
26230 -- KRB5_LIBS=
26231 -- else
26232 -- WithPackages="$WithPackages${WithPackagesSep}KRB5"; WithPackagesSep=" "
26233 -- KRB5_INCLUDE=" $KRB5_INCLUDE"
26234 --
26235 --cat >>confdefs.h <<\_ACEOF
26236 --#define HAVE_LIBKRB5 1
26237 --_ACEOF
26238 --
26239 -- fi
26240 --
26241 --
26242 --
26243 --if test "x$with_krb5" != xno; then
26244 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
26245 -- KRB5_LIBS=`echo $KRB5_CONFIG_LIBS | sed -e "$no_usr_lib"`
26246 -- else
26247 -- KRB5_LIBS=
26248 -- ncbi_rp_L_sep=
26249 -- ncbi_rp_R_flags=
26250 -- ncbi_rp_R_sep=" $CONF_f_runpath"
26251 -- for x in `echo $KRB5_CONFIG_LIBS | sed -e "$no_usr_lib"`; do
26252 -- case "$x" in
26253 -- -L*)
26254 -- KRB5_LIBS="$KRB5_LIBS${ncbi_rp_L_sep}$x"
26255 -- x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
26256 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
26257 -- ncbi_rp_R_sep=:
26258 -- ;;
26259 -- *)
26260 -- KRB5_LIBS="$KRB5_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
26261 -- ncbi_rp_R_flags=
26262 -- ncbi_rp_R_sep=" $CONF_f_runpath"
26263 -- ;;
26264 -- esac
26265 -- ncbi_rp_L_sep=" "
26266 -- done
26267 -- KRB5_LIBS="$KRB5_LIBS${ncbi_rp_R_flags}"
26268 -- fi
26269 --fi
26270 --
26271 --
26272 --if test "$with_curl" != "no"; then
26273 -- case "$with_curl" in
26274 -- yes | "" ) ;;
26275 -- * ) CURL_PATH=$with_curl ;;
26276 -- esac
26277 -- if test -d "$CURL_PATH"; then
26278 -- in_path=" in $CURL_PATH"
26279 -- if test -z "$CURL_INCLUDE" -a -d "$CURL_PATH/include"; then
26280 -- CURL_INCLUDE="-I$CURL_PATH/include"
26281 -- fi
26282 -- if test -n "$CURL_LIBPATH"; then
26283 -- :
26284 -- elif test -d "$CURL_PATH/lib${bit64_sfx}"; then
26285 -- ncbi_rp_L_flags=
26286 -- ncbi_rp_L_sep=$CONF_f_libpath
26287 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
26288 -- for x in $CURL_PATH/lib${bit64_sfx}; do
26289 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
26290 -- ncbi_rp_L_sep=" $CONF_f_libpath"
26291 -- done
26292 -- CURL_LIBPATH="${ncbi_rp_L_flags}"
26293 -- else
26294 -- ncbi_rp_R_flags=
26295 -- ncbi_rp_R_sep=" $CONF_f_runpath"
26296 -- for x in $CURL_PATH/lib${bit64_sfx}; do
26297 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
26298 -- ncbi_rp_L_sep=" $CONF_f_libpath"
26299 -- x=`echo $x | sed -e "$ncbi_rpath_sed"`
26300 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
26301 -- ncbi_rp_R_sep=:
26302 -- done
26303 -- CURL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
26304 -- fi
26305 -- elif test -d "$CURL_PATH/lib"; then
26306 -- ncbi_rp_L_flags=
26307 -- ncbi_rp_L_sep=$CONF_f_libpath
26308 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
26309 -- for x in $CURL_PATH/lib; do
26310 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
26311 -- ncbi_rp_L_sep=" $CONF_f_libpath"
26312 -- done
26313 -- CURL_LIBPATH="${ncbi_rp_L_flags}"
26314 -- else
26315 -- ncbi_rp_R_flags=
26316 -- ncbi_rp_R_sep=" $CONF_f_runpath"
26317 -- for x in $CURL_PATH/lib; do
26318 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
26319 -- ncbi_rp_L_sep=" $CONF_f_libpath"
26320 -- x=`echo $x | sed -e "$ncbi_rpath_sed"`
26321 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
26322 -- ncbi_rp_R_sep=:
26323 -- done
26324 -- CURL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
26325 -- fi
26326 -- fi
26327 -- CURL_LIBS="$CURL_LIBPATH -lcurl "
26328 -- else
26329 -- CURL_INCLUDE=""
26330 -- CURL_LIBS="-lcurl "
26331 -- in_path=
26332 -- fi
26333 -- echo "$as_me:$LINENO: checking for libcurl$in_path" >&5
26334 --echo $ECHO_N "checking for libcurl$in_path... $ECHO_C" >&6
26335 --if test "${ncbi_cv_lib_curl+set}" = set; then
26336 -- echo $ECHO_N "(cached) $ECHO_C" >&6
26337 --else
26338 -- CPPFLAGS=" $CURL_INCLUDE $orig_CPPFLAGS"
26339 -- LIBS="$CURL_LIBS $orig_LIBS"
26340 -- cat >conftest.$ac_ext <<_ACEOF
26341 --/* confdefs.h. */
26342 --_ACEOF
26343 --cat confdefs.h >>conftest.$ac_ext
26344 --cat >>conftest.$ac_ext <<_ACEOF
26345 --/* end confdefs.h. */
26346 --#include <curl/curl.h>
26347 --int
26348 --main ()
26349 --{
26350 --char* v = curl_version();
26351 -- ;
26352 -- return 0;
26353 --}
26354 --_ACEOF
26355 --rm -f conftest.$ac_objext conftest$ac_exeext
26356 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26357 -- (eval $ac_link) 2>conftest.er1
26358 -- ac_status=$?
26359 -- grep -v '^ *+' conftest.er1 >conftest.err
26360 -- rm -f conftest.er1
26361 -- cat conftest.err >&5
26362 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
26363 -- (exit $ac_status); } &&
26364 -- { ac_try='test -z "$ac_cxx_werror_flag"
26365 -- || test ! -s conftest.err'
26366 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26367 -- (eval $ac_try) 2>&5
26368 -- ac_status=$?
26369 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
26370 -- (exit $ac_status); }; } &&
26371 -- { ac_try='test -s conftest$ac_exeext'
26372 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26373 -- (eval $ac_try) 2>&5
26374 -- ac_status=$?
26375 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
26376 -- (exit $ac_status); }; }; then
26377 -- ncbi_cv_lib_curl=yes
26378 --else
26379 -- echo "$as_me: failed program was:" >&5
26380 --sed 's/^/| /' conftest.$ac_ext >&5
26381 --
26382 --ncbi_cv_lib_curl=no
26383 --fi
26384 --rm -f conftest.err conftest.$ac_objext \
26385 -- conftest$ac_exeext conftest.$ac_ext
26386 --fi
26387 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_curl" >&5
26388 --echo "${ECHO_T}$ncbi_cv_lib_curl" >&6
26389 -- if test "$ncbi_cv_lib_curl" = "no"; then
26390 -- if test "${with_curl:=no}" != no; then
26391 -- { { echo "$as_me:$LINENO: error: --with-curl explicitly specified, but no usable version found." >&5
26392 --echo "$as_me: error: --with-curl explicitly specified, but no usable version found." >&2;}
26393 -- { (exit 1); exit 1; }; }
26394 -- fi
26395 -- fi
26396 -- fi
26397 -- if test "$with_curl" = "no"; then
26398 -- CURL_PATH="No_CURL"
26399 -- CURL_INCLUDE=
26400 -- CURL_LIBS=
26401 -- else
26402 -- WithPackages="$WithPackages${WithPackagesSep}CURL"; WithPackagesSep=" "
26403 -- CURL_INCLUDE=" $CURL_INCLUDE"
26404 --
26405 --cat >>confdefs.h <<\_ACEOF
26406 --#define HAVE_LIBCURL 1
26407 -+#define HAVE_LIBCURL 1
26408 - _ACEOF
26409 -
26410 - fi
26411 -@@ -23074,8 +26591,8 @@
26412 - SYBASE_LIBPATH="$SYBASE_PATH/${sybase_lib}"
26413 - syb_sfx=$bit64_sfx
26414 - if test "$with_mt" = "yes" ; then
26415 -- echo "$as_me:$LINENO: checking for reentrant Sybase libraries" >&5
26416 --echo $ECHO_N "checking for reentrant Sybase libraries... $ECHO_C" >&6
26417 -+ { echo "$as_me:$LINENO: checking for reentrant Sybase libraries" >&5
26418 -+echo $ECHO_N "checking for reentrant Sybase libraries... $ECHO_C" >&6; }
26419 - if test "${ncbi_cv_lib_sybase_r+set}" = set; then
26420 - echo $ECHO_N "(cached) $ECHO_C" >&6
26421 - else
26422 -@@ -23085,8 +26602,8 @@
26423 - ncbi_cv_lib_sybase_r=no
26424 - fi
26425 - fi
26426 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_sybase_r" >&5
26427 --echo "${ECHO_T}$ncbi_cv_lib_sybase_r" >&6
26428 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_sybase_r" >&5
26429 -+echo "${ECHO_T}$ncbi_cv_lib_sybase_r" >&6; }
26430 - if test $ncbi_cv_lib_sybase_r = yes; then
26431 - syb_sfx=_r$bit64_sfx
26432 - fi
26433 -@@ -23164,8 +26681,8 @@
26434 - SYBASE_DBLIBS="$SYBASE_LPATH $SYBASE_DBLIBS"
26435 - SYBASE_DLLS="$SYBASE_DLLLIST"
26436 -
26437 -- echo "$as_me:$LINENO: checking for Sybase in $SYBASE_PATH" >&5
26438 --echo $ECHO_N "checking for Sybase in $SYBASE_PATH... $ECHO_C" >&6
26439 -+ { echo "$as_me:$LINENO: checking for Sybase${SYBASE_PATH:+ in $SYBASE_PATH}" >&5
26440 -+echo $ECHO_N "checking for Sybase${SYBASE_PATH:+ in $SYBASE_PATH}... $ECHO_C" >&6; }
26441 - if test "${ncbi_cv_lib_sybase+set}" = set; then
26442 - echo $ECHO_N "(cached) $ECHO_C" >&6
26443 - else
26444 -@@ -23187,24 +26704,36 @@
26445 - }
26446 - _ACEOF
26447 - rm -f conftest.$ac_objext conftest$ac_exeext
26448 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26449 -- (eval $ac_link) 2>conftest.er1
26450 -+if { (ac_try="$ac_link"
26451 -+case "(($ac_try" in
26452 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26453 -+ *) ac_try_echo=$ac_try;;
26454 -+esac
26455 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26456 -+ (eval "$ac_link") 2>conftest.er1
26457 - ac_status=$?
26458 - grep -v '^ *+' conftest.er1 >conftest.err
26459 - rm -f conftest.er1
26460 - cat conftest.err >&5
26461 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26462 - (exit $ac_status); } &&
26463 -- { ac_try='test -z "$ac_cxx_werror_flag"
26464 -- || test ! -s conftest.err'
26465 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26466 -- (eval $ac_try) 2>&5
26467 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26468 -+ { (case "(($ac_try" in
26469 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26470 -+ *) ac_try_echo=$ac_try;;
26471 -+esac
26472 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26473 -+ (eval "$ac_try") 2>&5
26474 - ac_status=$?
26475 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26476 - (exit $ac_status); }; } &&
26477 - { ac_try='test -s conftest$ac_exeext'
26478 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26479 -- (eval $ac_try) 2>&5
26480 -+ { (case "(($ac_try" in
26481 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26482 -+ *) ac_try_echo=$ac_try;;
26483 -+esac
26484 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26485 -+ (eval "$ac_try") 2>&5
26486 - ac_status=$?
26487 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26488 - (exit $ac_status); }; }; then
26489 -@@ -23215,11 +26744,12 @@
26490 -
26491 - ncbi_cv_lib_sybase=no
26492 - fi
26493 --rm -f conftest.err conftest.$ac_objext \
26494 -+
26495 -+rm -f core conftest.err conftest.$ac_objext \
26496 - conftest$ac_exeext conftest.$ac_ext
26497 - fi
26498 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_sybase" >&5
26499 --echo "${ECHO_T}$ncbi_cv_lib_sybase" >&6
26500 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_sybase" >&5
26501 -+echo "${ECHO_T}$ncbi_cv_lib_sybase" >&6; }
26502 -
26503 - if test "$ncbi_cv_lib_sybase" = yes; then
26504 - WithPackages="$WithPackages${WithPackagesSep}Sybase"; WithPackagesSep=" "
26505 -@@ -23236,8 +26766,8 @@
26506 -
26507 - fi
26508 - if test "$with_dbapi" != no -a -f ${real_srcdir}/src/objtools/data_loaders/genbank/pubseq/Makefile.ncbi_xreader_pubseqos.lib ; then
26509 -- echo "$as_me:$LINENO: checking for PubSeq service availability" >&5
26510 --echo $ECHO_N "checking for PubSeq service availability... $ECHO_C" >&6
26511 -+ { echo "$as_me:$LINENO: checking for PubSeq service availability" >&5
26512 -+echo $ECHO_N "checking for PubSeq service availability... $ECHO_C" >&6; }
26513 - if test "${ncbi_cv_db_pubseq+set}" = set; then
26514 - echo $ECHO_N "(cached) $ECHO_C" >&6
26515 - else
26516 -@@ -23247,8 +26777,8 @@
26517 - ncbi_cv_db_pubseq=no
26518 - fi
26519 - fi
26520 --echo "$as_me:$LINENO: result: $ncbi_cv_db_pubseq" >&5
26521 --echo "${ECHO_T}$ncbi_cv_db_pubseq" >&6
26522 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_db_pubseq" >&5
26523 -+echo "${ECHO_T}$ncbi_cv_db_pubseq" >&6; }
26524 - if test "$ncbi_cv_db_pubseq" = yes; then
26525 -
26526 - cat >>confdefs.h <<\_ACEOF
26527 -@@ -23263,8 +26793,8 @@
26528 - fi
26529 -
26530 - SYBASE_DBLIBS="$SYBASE_LPATH -lsybdb${bit64_sfx}"
26531 -- echo "$as_me:$LINENO: checking for Sybase DBLib" >&5
26532 --echo $ECHO_N "checking for Sybase DBLib... $ECHO_C" >&6
26533 -+ { echo "$as_me:$LINENO: checking for Sybase DBLib" >&5
26534 -+echo $ECHO_N "checking for Sybase DBLib... $ECHO_C" >&6; }
26535 - if test "${ncbi_cv_lib_sybdb+set}" = set; then
26536 - echo $ECHO_N "(cached) $ECHO_C" >&6
26537 - else
26538 -@@ -23292,24 +26822,36 @@
26539 - }
26540 - _ACEOF
26541 - rm -f conftest.$ac_objext conftest$ac_exeext
26542 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26543 -- (eval $ac_link) 2>conftest.er1
26544 -+if { (ac_try="$ac_link"
26545 -+case "(($ac_try" in
26546 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26547 -+ *) ac_try_echo=$ac_try;;
26548 -+esac
26549 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26550 -+ (eval "$ac_link") 2>conftest.er1
26551 - ac_status=$?
26552 - grep -v '^ *+' conftest.er1 >conftest.err
26553 - rm -f conftest.er1
26554 - cat conftest.err >&5
26555 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26556 - (exit $ac_status); } &&
26557 -- { ac_try='test -z "$ac_cxx_werror_flag"
26558 -- || test ! -s conftest.err'
26559 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26560 -- (eval $ac_try) 2>&5
26561 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26562 -+ { (case "(($ac_try" in
26563 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26564 -+ *) ac_try_echo=$ac_try;;
26565 -+esac
26566 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26567 -+ (eval "$ac_try") 2>&5
26568 - ac_status=$?
26569 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26570 - (exit $ac_status); }; } &&
26571 - { ac_try='test -s conftest$ac_exeext'
26572 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26573 -- (eval $ac_try) 2>&5
26574 -+ { (case "(($ac_try" in
26575 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26576 -+ *) ac_try_echo=$ac_try;;
26577 -+esac
26578 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26579 -+ (eval "$ac_try") 2>&5
26580 - ac_status=$?
26581 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26582 - (exit $ac_status); }; }; then
26583 -@@ -23320,11 +26862,12 @@
26584 -
26585 - ncbi_cv_lib_sybdb=no
26586 - fi
26587 --rm -f conftest.err conftest.$ac_objext \
26588 -+
26589 -+rm -f core conftest.err conftest.$ac_objext \
26590 - conftest$ac_exeext conftest.$ac_ext
26591 - fi
26592 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_sybdb" >&5
26593 --echo "${ECHO_T}$ncbi_cv_lib_sybdb" >&6
26594 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_sybdb" >&5
26595 -+echo "${ECHO_T}$ncbi_cv_lib_sybdb" >&6; }
26596 - if test "$ncbi_cv_lib_sybdb" = yes; then
26597 - WithPackages="$WithPackages${WithPackagesSep}DBLib"; WithPackagesSep=" "
26598 -
26599 -@@ -23431,8 +26974,8 @@
26600 - echo "$as_me: Using bundled FreeTDS (version $ftds_ver) from $FTDS_PATH" >&6;}
26601 - else
26602 - FTDS_LIBS="$FTDS_CTLIBS"
26603 -- echo "$as_me:$LINENO: checking for FreeTDS in $FTDS_PATH" >&5
26604 --echo $ECHO_N "checking for FreeTDS in $FTDS_PATH... $ECHO_C" >&6
26605 -+ { echo "$as_me:$LINENO: checking for FreeTDS${FTDS_PATH:+ in $FTDS_PATH}" >&5
26606 -+echo $ECHO_N "checking for FreeTDS${FTDS_PATH:+ in $FTDS_PATH}... $ECHO_C" >&6; }
26607 - if test "${ncbi_cv_lib_freetds+set}" = set; then
26608 - echo $ECHO_N "(cached) $ECHO_C" >&6
26609 - else
26610 -@@ -23463,24 +27006,36 @@
26611 - }
26612 - _ACEOF
26613 - rm -f conftest.$ac_objext conftest$ac_exeext
26614 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26615 -- (eval $ac_link) 2>conftest.er1
26616 -+if { (ac_try="$ac_link"
26617 -+case "(($ac_try" in
26618 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26619 -+ *) ac_try_echo=$ac_try;;
26620 -+esac
26621 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26622 -+ (eval "$ac_link") 2>conftest.er1
26623 - ac_status=$?
26624 - grep -v '^ *+' conftest.er1 >conftest.err
26625 - rm -f conftest.er1
26626 - cat conftest.err >&5
26627 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26628 - (exit $ac_status); } &&
26629 -- { ac_try='test -z "$ac_cxx_werror_flag"
26630 -- || test ! -s conftest.err'
26631 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26632 -- (eval $ac_try) 2>&5
26633 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26634 -+ { (case "(($ac_try" in
26635 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26636 -+ *) ac_try_echo=$ac_try;;
26637 -+esac
26638 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26639 -+ (eval "$ac_try") 2>&5
26640 - ac_status=$?
26641 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26642 - (exit $ac_status); }; } &&
26643 - { ac_try='test -s conftest$ac_exeext'
26644 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26645 -- (eval $ac_try) 2>&5
26646 -+ { (case "(($ac_try" in
26647 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26648 -+ *) ac_try_echo=$ac_try;;
26649 -+esac
26650 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26651 -+ (eval "$ac_try") 2>&5
26652 - ac_status=$?
26653 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26654 - (exit $ac_status); }; }; then
26655 -@@ -23491,11 +27046,12 @@
26656 -
26657 - ncbi_cv_lib_freetds=no
26658 - fi
26659 --rm -f conftest.err conftest.$ac_objext \
26660 -+
26661 -+rm -f core conftest.err conftest.$ac_objext \
26662 - conftest$ac_exeext conftest.$ac_ext
26663 - fi
26664 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_freetds" >&5
26665 --echo "${ECHO_T}$ncbi_cv_lib_freetds" >&6
26666 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_freetds" >&5
26667 -+echo "${ECHO_T}$ncbi_cv_lib_freetds" >&6; }
26668 - if test "$ncbi_cv_lib_freetds" = "no"; then
26669 - # Don't panic when using partial trees lacking dbapi/driver/ftdsN.
26670 - if test "${with_ftds:=no}" != no; then
26671 -@@ -23548,8 +27104,8 @@
26672 - : ${MYSQL_BINPATH=$MYSQL_PATH/bin}
26673 - # Extract the first word of "mysql_config", so it can be a program name with args.
26674 - set dummy mysql_config; ac_word=$2
26675 --echo "$as_me:$LINENO: checking for $ac_word" >&5
26676 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
26677 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26678 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26679 - if test "${ac_cv_path_mysql_config+set}" = set; then
26680 - echo $ECHO_N "(cached) $ECHO_C" >&6
26681 - else
26682 -@@ -23565,40 +27121,41 @@
26683 - IFS=$as_save_IFS
26684 - test -z "$as_dir" && as_dir=.
26685 - for ac_exec_ext in '' $ac_executable_extensions; do
26686 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26687 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
26688 - ac_cv_path_mysql_config="$as_dir/$ac_word$ac_exec_ext"
26689 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26690 - break 2
26691 - fi
26692 - done
26693 - done
26694 -+IFS=$as_save_IFS
26695 -
26696 - ;;
26697 - esac
26698 - fi
26699 - mysql_config=$ac_cv_path_mysql_config
26700 --
26701 - if test -n "$mysql_config"; then
26702 -- echo "$as_me:$LINENO: result: $mysql_config" >&5
26703 --echo "${ECHO_T}$mysql_config" >&6
26704 -+ { echo "$as_me:$LINENO: result: $mysql_config" >&5
26705 -+echo "${ECHO_T}$mysql_config" >&6; }
26706 - else
26707 -- echo "$as_me:$LINENO: result: no" >&5
26708 --echo "${ECHO_T}no" >&6
26709 -+ { echo "$as_me:$LINENO: result: no" >&5
26710 -+echo "${ECHO_T}no" >&6; }
26711 - fi
26712 -
26713 -+
26714 - if test -n "$mysql_config" ; then
26715 - : ${MYSQL_BINPATH=`dirname $mysql_config`}
26716 - # Kill off single quotes, due to later requoting
26717 - : ${MYSQL_INCLUDE=`$mysql_config --include | tr -d \'`}
26718 - if test -z "${MYSQL_LIBS+set}"; then
26719 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
26720 -- MYSQL_LIBS=`$mysql_config --libs${mt_sfx:+_r} | sed -e "s/'//g; "`
26721 -+ MYSQL_LIBS=`$mysql_config --libs${mt_sfx:+_r} | sed -e "s/'//g; $no_usr_lib"`
26722 - else
26723 - MYSQL_LIBS=
26724 - ncbi_rp_L_sep=
26725 - ncbi_rp_R_flags=
26726 - ncbi_rp_R_sep=" $CONF_f_runpath"
26727 -- for x in `$mysql_config --libs${mt_sfx:+_r} | sed -e "s/'//g; "`; do
26728 -+ for x in `$mysql_config --libs${mt_sfx:+_r} | sed -e "s/'//g; $no_usr_lib"`; do
26729 - case "$x" in
26730 - -L*)
26731 - MYSQL_LIBS="$MYSQL_LIBS${ncbi_rp_L_sep}$x"
26732 -@@ -23617,8 +27174,8 @@
26733 - MYSQL_LIBS="$MYSQL_LIBS${ncbi_rp_R_flags}"
26734 - fi
26735 - fi
26736 -- echo "$as_me:$LINENO: checking whether MySQL works" >&5
26737 --echo $ECHO_N "checking whether MySQL works... $ECHO_C" >&6
26738 -+ { echo "$as_me:$LINENO: checking whether MySQL works" >&5
26739 -+echo $ECHO_N "checking whether MySQL works... $ECHO_C" >&6; }
26740 - if test "${ncbi_cv_lib_mysql+set}" = set; then
26741 - echo $ECHO_N "(cached) $ECHO_C" >&6
26742 - else
26743 -@@ -23640,24 +27197,36 @@
26744 - }
26745 - _ACEOF
26746 - rm -f conftest.$ac_objext conftest$ac_exeext
26747 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26748 -- (eval $ac_link) 2>conftest.er1
26749 -+if { (ac_try="$ac_link"
26750 -+case "(($ac_try" in
26751 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26752 -+ *) ac_try_echo=$ac_try;;
26753 -+esac
26754 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26755 -+ (eval "$ac_link") 2>conftest.er1
26756 - ac_status=$?
26757 - grep -v '^ *+' conftest.er1 >conftest.err
26758 - rm -f conftest.er1
26759 - cat conftest.err >&5
26760 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26761 - (exit $ac_status); } &&
26762 -- { ac_try='test -z "$ac_cxx_werror_flag"
26763 -- || test ! -s conftest.err'
26764 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26765 -- (eval $ac_try) 2>&5
26766 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26767 -+ { (case "(($ac_try" in
26768 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26769 -+ *) ac_try_echo=$ac_try;;
26770 -+esac
26771 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26772 -+ (eval "$ac_try") 2>&5
26773 - ac_status=$?
26774 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26775 - (exit $ac_status); }; } &&
26776 - { ac_try='test -s conftest$ac_exeext'
26777 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26778 -- (eval $ac_try) 2>&5
26779 -+ { (case "(($ac_try" in
26780 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26781 -+ *) ac_try_echo=$ac_try;;
26782 -+esac
26783 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26784 -+ (eval "$ac_try") 2>&5
26785 - ac_status=$?
26786 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26787 - (exit $ac_status); }; }; then
26788 -@@ -23668,11 +27237,12 @@
26789 -
26790 - ncbi_cv_lib_mysql=no
26791 - fi
26792 --rm -f conftest.err conftest.$ac_objext \
26793 -+
26794 -+rm -f core conftest.err conftest.$ac_objext \
26795 - conftest$ac_exeext conftest.$ac_ext
26796 - fi
26797 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_mysql" >&5
26798 --echo "${ECHO_T}$ncbi_cv_lib_mysql" >&6
26799 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_mysql" >&5
26800 -+echo "${ECHO_T}$ncbi_cv_lib_mysql" >&6; }
26801 - if test "$ncbi_cv_lib_mysql" = no; then
26802 - if test "${with_mysql:=no}" != no; then
26803 - { { echo "$as_me:$LINENO: error: --with-mysql explicitly specified, but no usable version found." >&5
26804 -@@ -23706,7 +27276,6 @@
26805 - if test "$with_bdb" != "no" ; then
26806 - case "$with_bdb" in
26807 - yes | "" )
26808 -- : ${BERKELEYDB_PATH:="$NCBI/BerkeleyDB"}
26809 - ;;
26810 - */*)
26811 - BERKELEYDB_PATH=$with_bdb
26812 -@@ -23794,8 +27363,8 @@
26813 - else
26814 - BERKELEYDB_STATIC_LIBS=${BERKELEYDB_LIBS}
26815 - fi
26816 -- echo "$as_me:$LINENO: checking for Berkeley DB libraries in $BERKELEYDB_PATH" >&5
26817 --echo $ECHO_N "checking for Berkeley DB libraries in $BERKELEYDB_PATH... $ECHO_C" >&6
26818 -+ { echo "$as_me:$LINENO: checking for Berkeley DB libraries${BERKELEYDB_PATH:+ in $BERKELEYDB_PATH}" >&5
26819 -+echo $ECHO_N "checking for Berkeley DB libraries${BERKELEYDB_PATH:+ in $BERKELEYDB_PATH}... $ECHO_C" >&6; }
26820 - if test "${ncbi_cv_lib_berkeley_db+set}" = set; then
26821 - echo $ECHO_N "(cached) $ECHO_C" >&6
26822 - else
26823 -@@ -23817,24 +27386,36 @@
26824 - }
26825 - _ACEOF
26826 - rm -f conftest.$ac_objext conftest$ac_exeext
26827 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26828 -- (eval $ac_link) 2>conftest.er1
26829 -+if { (ac_try="$ac_link"
26830 -+case "(($ac_try" in
26831 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26832 -+ *) ac_try_echo=$ac_try;;
26833 -+esac
26834 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26835 -+ (eval "$ac_link") 2>conftest.er1
26836 - ac_status=$?
26837 - grep -v '^ *+' conftest.er1 >conftest.err
26838 - rm -f conftest.er1
26839 - cat conftest.err >&5
26840 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26841 - (exit $ac_status); } &&
26842 -- { ac_try='test -z "$ac_cxx_werror_flag"
26843 -- || test ! -s conftest.err'
26844 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26845 -- (eval $ac_try) 2>&5
26846 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26847 -+ { (case "(($ac_try" in
26848 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26849 -+ *) ac_try_echo=$ac_try;;
26850 -+esac
26851 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26852 -+ (eval "$ac_try") 2>&5
26853 - ac_status=$?
26854 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26855 - (exit $ac_status); }; } &&
26856 - { ac_try='test -s conftest$ac_exeext'
26857 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26858 -- (eval $ac_try) 2>&5
26859 -+ { (case "(($ac_try" in
26860 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26861 -+ *) ac_try_echo=$ac_try;;
26862 -+esac
26863 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26864 -+ (eval "$ac_try") 2>&5
26865 - ac_status=$?
26866 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26867 - (exit $ac_status); }; }; then
26868 -@@ -23845,11 +27426,12 @@
26869 -
26870 - ncbi_cv_lib_berkeley_db=no
26871 - fi
26872 --rm -f conftest.err conftest.$ac_objext \
26873 -+
26874 -+rm -f core conftest.err conftest.$ac_objext \
26875 - conftest$ac_exeext conftest.$ac_ext
26876 - fi
26877 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_berkeley_db" >&5
26878 --echo "${ECHO_T}$ncbi_cv_lib_berkeley_db" >&6
26879 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_berkeley_db" >&5
26880 -+echo "${ECHO_T}$ncbi_cv_lib_berkeley_db" >&6; }
26881 - if test "$ncbi_cv_lib_berkeley_db" = "no"; then
26882 - if test "${with_bdb:=no}" != no; then
26883 - { { echo "$as_me:$LINENO: error: --with-bdb explicitly specified, but no usable version found." >&5
26884 -@@ -23857,8 +27439,8 @@
26885 - { (exit 1); exit 1; }; }
26886 - fi
26887 - else
26888 -- echo "$as_me:$LINENO: checking Berkeley DB version (4.3 or newer required)" >&5
26889 --echo $ECHO_N "checking Berkeley DB version (4.3 or newer required)... $ECHO_C" >&6
26890 -+ { echo "$as_me:$LINENO: checking Berkeley DB version (4.3 or newer required)" >&5
26891 -+echo $ECHO_N "checking Berkeley DB version (4.3 or newer required)... $ECHO_C" >&6; }
26892 - if test "${ncbi_cv_lib_berkeley_db_version+set}" = set; then
26893 - echo $ECHO_N "(cached) $ECHO_C" >&6
26894 - else
26895 -@@ -23880,8 +27462,8 @@
26896 - rm -f contest*
26897 -
26898 - fi
26899 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_berkeley_db_version" >&5
26900 --echo "${ECHO_T}$ncbi_cv_lib_berkeley_db_version" >&6
26901 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_berkeley_db_version" >&5
26902 -+echo "${ECHO_T}$ncbi_cv_lib_berkeley_db_version" >&6; }
26903 - case "$ncbi_cv_lib_berkeley_db_version" in
26904 - 1.* | 2.* | 3.* | 4.[0-2].* )
26905 - { echo "$as_me:$LINENO: WARNING: Your Berkeley DB version is too old to use. (Needed >= 4.3.)" >&5
26906 -@@ -23948,8 +27530,8 @@
26907 - else
26908 - BERKELEYDB_CXX_STATIC_LIBS=${BERKELEYDB_CXX_LIBS}
26909 - fi
26910 -- echo "$as_me:$LINENO: checking for native Berkeley DB C++ wrappers (optional)" >&5
26911 --echo $ECHO_N "checking for native Berkeley DB C++ wrappers (optional)... $ECHO_C" >&6
26912 -+ { echo "$as_me:$LINENO: checking for native Berkeley DB C++ wrappers (optional)" >&5
26913 -+echo $ECHO_N "checking for native Berkeley DB C++ wrappers (optional)... $ECHO_C" >&6; }
26914 - if test "${ncbi_cv_lib_berkeley_db_cxx+set}" = set; then
26915 - echo $ECHO_N "(cached) $ECHO_C" >&6
26916 - else
26917 -@@ -23971,24 +27553,36 @@
26918 - }
26919 - _ACEOF
26920 - rm -f conftest.$ac_objext conftest$ac_exeext
26921 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26922 -- (eval $ac_link) 2>conftest.er1
26923 -+if { (ac_try="$ac_link"
26924 -+case "(($ac_try" in
26925 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26926 -+ *) ac_try_echo=$ac_try;;
26927 -+esac
26928 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26929 -+ (eval "$ac_link") 2>conftest.er1
26930 - ac_status=$?
26931 - grep -v '^ *+' conftest.er1 >conftest.err
26932 - rm -f conftest.er1
26933 - cat conftest.err >&5
26934 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26935 - (exit $ac_status); } &&
26936 -- { ac_try='test -z "$ac_cxx_werror_flag"
26937 -- || test ! -s conftest.err'
26938 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26939 -- (eval $ac_try) 2>&5
26940 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26941 -+ { (case "(($ac_try" in
26942 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26943 -+ *) ac_try_echo=$ac_try;;
26944 -+esac
26945 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26946 -+ (eval "$ac_try") 2>&5
26947 - ac_status=$?
26948 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26949 - (exit $ac_status); }; } &&
26950 - { ac_try='test -s conftest$ac_exeext'
26951 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26952 -- (eval $ac_try) 2>&5
26953 -+ { (case "(($ac_try" in
26954 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26955 -+ *) ac_try_echo=$ac_try;;
26956 -+esac
26957 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26958 -+ (eval "$ac_try") 2>&5
26959 - ac_status=$?
26960 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
26961 - (exit $ac_status); }; }; then
26962 -@@ -23999,11 +27593,12 @@
26963 -
26964 - ncbi_cv_lib_berkeley_db_cxx=no
26965 - fi
26966 --rm -f conftest.err conftest.$ac_objext \
26967 -+
26968 -+rm -f core conftest.err conftest.$ac_objext \
26969 - conftest$ac_exeext conftest.$ac_ext
26970 - fi
26971 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_berkeley_db_cxx" >&5
26972 --echo "${ECHO_T}$ncbi_cv_lib_berkeley_db_cxx" >&6
26973 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_berkeley_db_cxx" >&5
26974 -+echo "${ECHO_T}$ncbi_cv_lib_berkeley_db_cxx" >&6; }
26975 - if test "$ncbi_cv_lib_berkeley_db_cxx" = "yes"; then
26976 - WithPackages="$WithPackages${WithPackagesSep}BerkeleyDB++"; WithPackagesSep=" "
26977 -
26978 -@@ -24052,8 +27647,8 @@
26979 - fi
26980 - CPPFLAGS="$ODBC_INCLUDE $orig_CPPFLAGS"
26981 - LIBS="$ODBC_LIBS $orig_LIBS"
26982 -- echo "$as_me:$LINENO: checking for ODBC libraries in $ODBC_PATH" >&5
26983 --echo $ECHO_N "checking for ODBC libraries in $ODBC_PATH... $ECHO_C" >&6
26984 -+ { echo "$as_me:$LINENO: checking for ODBC libraries${ODBC_PATH:+ in $ODBC_PATH}" >&5
26985 -+echo $ECHO_N "checking for ODBC libraries${ODBC_PATH:+ in $ODBC_PATH}... $ECHO_C" >&6; }
26986 - if test "${ncbi_cv_lib_odbc+set}" = set; then
26987 - echo $ECHO_N "(cached) $ECHO_C" >&6
26988 - else
26989 -@@ -24074,24 +27669,36 @@
26990 - }
26991 - _ACEOF
26992 - rm -f conftest.$ac_objext conftest$ac_exeext
26993 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26994 -- (eval $ac_link) 2>conftest.er1
26995 -+if { (ac_try="$ac_link"
26996 -+case "(($ac_try" in
26997 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26998 -+ *) ac_try_echo=$ac_try;;
26999 -+esac
27000 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27001 -+ (eval "$ac_link") 2>conftest.er1
27002 - ac_status=$?
27003 - grep -v '^ *+' conftest.er1 >conftest.err
27004 - rm -f conftest.er1
27005 - cat conftest.err >&5
27006 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27007 - (exit $ac_status); } &&
27008 -- { ac_try='test -z "$ac_cxx_werror_flag"
27009 -- || test ! -s conftest.err'
27010 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27011 -- (eval $ac_try) 2>&5
27012 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27013 -+ { (case "(($ac_try" in
27014 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27015 -+ *) ac_try_echo=$ac_try;;
27016 -+esac
27017 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27018 -+ (eval "$ac_try") 2>&5
27019 - ac_status=$?
27020 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27021 - (exit $ac_status); }; } &&
27022 - { ac_try='test -s conftest$ac_exeext'
27023 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27024 -- (eval $ac_try) 2>&5
27025 -+ { (case "(($ac_try" in
27026 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27027 -+ *) ac_try_echo=$ac_try;;
27028 -+esac
27029 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27030 -+ (eval "$ac_try") 2>&5
27031 - ac_status=$?
27032 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27033 - (exit $ac_status); }; }; then
27034 -@@ -24102,11 +27709,12 @@
27035 -
27036 - ncbi_cv_lib_odbc=no
27037 - fi
27038 --rm -f conftest.err conftest.$ac_objext \
27039 -+
27040 -+rm -f core conftest.err conftest.$ac_objext \
27041 - conftest$ac_exeext conftest.$ac_ext
27042 - fi
27043 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_odbc" >&5
27044 --echo "${ECHO_T}$ncbi_cv_lib_odbc" >&6
27045 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_odbc" >&5
27046 -+echo "${ECHO_T}$ncbi_cv_lib_odbc" >&6; }
27047 - if test "$ncbi_cv_lib_odbc" = "no"; then
27048 - if test "${with_odbc:=no}" != no; then
27049 - { { echo "$as_me:$LINENO: error: --with-odbc explicitly specified, but no usable version found." >&5
27050 -@@ -24119,9 +27727,9 @@
27051 - for ac_header in odbcss.h
27052 - do
27053 - as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27054 --echo "$as_me:$LINENO: checking for $ac_header" >&5
27055 --echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27056 --if eval "test \"\${$as_ac_Header+set}\" = set"; then
27057 -+{ echo "$as_me:$LINENO: checking for $ac_header" >&5
27058 -+echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27059 -+if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27060 - echo $ECHO_N "(cached) $ECHO_C" >&6
27061 - else
27062 - cat >conftest.$ac_ext <<_ACEOF
27063 -@@ -24135,24 +27743,36 @@
27064 - #include <$ac_header>
27065 - _ACEOF
27066 - rm -f conftest.$ac_objext
27067 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27068 -- (eval $ac_compile) 2>conftest.er1
27069 -+if { (ac_try="$ac_compile"
27070 -+case "(($ac_try" in
27071 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27072 -+ *) ac_try_echo=$ac_try;;
27073 -+esac
27074 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27075 -+ (eval "$ac_compile") 2>conftest.er1
27076 - ac_status=$?
27077 - grep -v '^ *+' conftest.er1 >conftest.err
27078 - rm -f conftest.er1
27079 - cat conftest.err >&5
27080 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27081 - (exit $ac_status); } &&
27082 -- { ac_try='test -z "$ac_cxx_werror_flag"
27083 -- || test ! -s conftest.err'
27084 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27085 -- (eval $ac_try) 2>&5
27086 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27087 -+ { (case "(($ac_try" in
27088 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27089 -+ *) ac_try_echo=$ac_try;;
27090 -+esac
27091 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27092 -+ (eval "$ac_try") 2>&5
27093 - ac_status=$?
27094 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27095 - (exit $ac_status); }; } &&
27096 - { ac_try='test -s conftest.$ac_objext'
27097 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27098 -- (eval $ac_try) 2>&5
27099 -+ { (case "(($ac_try" in
27100 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27101 -+ *) ac_try_echo=$ac_try;;
27102 -+esac
27103 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27104 -+ (eval "$ac_try") 2>&5
27105 - ac_status=$?
27106 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107 - (exit $ac_status); }; }; then
27108 -@@ -24163,10 +27783,12 @@
27109 -
27110 - eval "$as_ac_Header=no"
27111 - fi
27112 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27113 -+
27114 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27115 - fi
27116 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27117 --echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27118 -+ac_res=`eval echo '${'$as_ac_Header'}'`
27119 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
27120 -+echo "${ECHO_T}$ac_res" >&6; }
27121 - if test `eval echo '${'$as_ac_Header'}'` = yes; then
27122 - cat >>confdefs.h <<_ACEOF
27123 - #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27124 -@@ -24181,9 +27803,9 @@
27125 - for ac_func in SQLGetPrivateProfileString
27126 - do
27127 - as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27128 --echo "$as_me:$LINENO: checking for $ac_func" >&5
27129 --echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27130 --if eval "test \"\${$as_ac_var+set}\" = set"; then
27131 -+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
27132 -+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27133 -+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27134 - echo $ECHO_N "(cached) $ECHO_C" >&6
27135 - else
27136 - cat >conftest.$ac_ext <<_ACEOF
27137 -@@ -24209,53 +27831,59 @@
27138 -
27139 - #undef $ac_func
27140 -
27141 --/* Override any gcc2 internal prototype to avoid an error. */
27142 -+/* Override any GCC internal prototype to avoid an error.
27143 -+ Use char because int might match the return type of a GCC
27144 -+ builtin and then its argument prototype would still apply. */
27145 - #ifdef __cplusplus
27146 - extern "C"
27147 --{
27148 - #endif
27149 --/* We use char because int might match the return type of a gcc2
27150 -- builtin and then its argument prototype would still apply. */
27151 - char $ac_func ();
27152 - /* The GNU C library defines this for functions which it implements
27153 - to always fail with ENOSYS. Some functions are actually named
27154 - something starting with __ and the normal name is an alias. */
27155 --#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27156 -+#if defined __stub_$ac_func || defined __stub___$ac_func
27157 - choke me
27158 --#else
27159 --char (*f) () = $ac_func;
27160 --#endif
27161 --#ifdef __cplusplus
27162 --}
27163 - #endif
27164 -
27165 - int
27166 - main ()
27167 - {
27168 --return f != $ac_func;
27169 -+return $ac_func ();
27170 - ;
27171 - return 0;
27172 - }
27173 - _ACEOF
27174 - rm -f conftest.$ac_objext conftest$ac_exeext
27175 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27176 -- (eval $ac_link) 2>conftest.er1
27177 -+if { (ac_try="$ac_link"
27178 -+case "(($ac_try" in
27179 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27180 -+ *) ac_try_echo=$ac_try;;
27181 -+esac
27182 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27183 -+ (eval "$ac_link") 2>conftest.er1
27184 - ac_status=$?
27185 - grep -v '^ *+' conftest.er1 >conftest.err
27186 - rm -f conftest.er1
27187 - cat conftest.err >&5
27188 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27189 - (exit $ac_status); } &&
27190 -- { ac_try='test -z "$ac_cxx_werror_flag"
27191 -- || test ! -s conftest.err'
27192 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27193 -- (eval $ac_try) 2>&5
27194 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27195 -+ { (case "(($ac_try" in
27196 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27197 -+ *) ac_try_echo=$ac_try;;
27198 -+esac
27199 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27200 -+ (eval "$ac_try") 2>&5
27201 - ac_status=$?
27202 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27203 - (exit $ac_status); }; } &&
27204 - { ac_try='test -s conftest$ac_exeext'
27205 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27206 -- (eval $ac_try) 2>&5
27207 -+ { (case "(($ac_try" in
27208 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27209 -+ *) ac_try_echo=$ac_try;;
27210 -+esac
27211 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27212 -+ (eval "$ac_try") 2>&5
27213 - ac_status=$?
27214 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27215 - (exit $ac_status); }; }; then
27216 -@@ -24266,11 +27894,13 @@
27217 -
27218 - eval "$as_ac_var=no"
27219 - fi
27220 --rm -f conftest.err conftest.$ac_objext \
27221 -+
27222 -+rm -f core conftest.err conftest.$ac_objext \
27223 - conftest$ac_exeext conftest.$ac_ext
27224 - fi
27225 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27226 --echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27227 -+ac_res=`eval echo '${'$as_ac_var'}'`
27228 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
27229 -+echo "${ECHO_T}$ac_res" >&6; }
27230 - if test `eval echo '${'$as_ac_var'}'` = yes; then
27231 - cat >>confdefs.h <<_ACEOF
27232 - #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27233 -@@ -24279,8 +27909,8 @@
27234 - fi
27235 - done
27236 -
27237 -- echo "$as_me:$LINENO: checking for SQLLEN" >&5
27238 --echo $ECHO_N "checking for SQLLEN... $ECHO_C" >&6
27239 -+ { echo "$as_me:$LINENO: checking for SQLLEN" >&5
27240 -+echo $ECHO_N "checking for SQLLEN... $ECHO_C" >&6; }
27241 - if test "${ac_cv_type_SQLLEN+set}" = set; then
27242 - echo $ECHO_N "(cached) $ECHO_C" >&6
27243 - else
27244 -@@ -24292,36 +27922,49 @@
27245 - /* end confdefs.h. */
27246 - #include <sqltypes.h>
27247 -
27248 -+typedef SQLLEN ac__type_new_;
27249 - int
27250 - main ()
27251 - {
27252 --if ((SQLLEN *) 0)
27253 -+if ((ac__type_new_ *) 0)
27254 - return 0;
27255 --if (sizeof (SQLLEN))
27256 -+if (sizeof (ac__type_new_))
27257 - return 0;
27258 - ;
27259 - return 0;
27260 - }
27261 - _ACEOF
27262 - rm -f conftest.$ac_objext
27263 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27264 -- (eval $ac_compile) 2>conftest.er1
27265 -+if { (ac_try="$ac_compile"
27266 -+case "(($ac_try" in
27267 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27268 -+ *) ac_try_echo=$ac_try;;
27269 -+esac
27270 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27271 -+ (eval "$ac_compile") 2>conftest.er1
27272 - ac_status=$?
27273 - grep -v '^ *+' conftest.er1 >conftest.err
27274 - rm -f conftest.er1
27275 - cat conftest.err >&5
27276 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27277 - (exit $ac_status); } &&
27278 -- { ac_try='test -z "$ac_cxx_werror_flag"
27279 -- || test ! -s conftest.err'
27280 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27281 -- (eval $ac_try) 2>&5
27282 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27283 -+ { (case "(($ac_try" in
27284 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27285 -+ *) ac_try_echo=$ac_try;;
27286 -+esac
27287 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27288 -+ (eval "$ac_try") 2>&5
27289 - ac_status=$?
27290 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27291 - (exit $ac_status); }; } &&
27292 - { ac_try='test -s conftest.$ac_objext'
27293 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27294 -- (eval $ac_try) 2>&5
27295 -+ { (case "(($ac_try" in
27296 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27297 -+ *) ac_try_echo=$ac_try;;
27298 -+esac
27299 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27300 -+ (eval "$ac_try") 2>&5
27301 - ac_status=$?
27302 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27303 - (exit $ac_status); }; }; then
27304 -@@ -24332,10 +27975,11 @@
27305 -
27306 - ac_cv_type_SQLLEN=no
27307 - fi
27308 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27309 -+
27310 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27311 - fi
27312 --echo "$as_me:$LINENO: result: $ac_cv_type_SQLLEN" >&5
27313 --echo "${ECHO_T}$ac_cv_type_SQLLEN" >&6
27314 -+{ echo "$as_me:$LINENO: result: $ac_cv_type_SQLLEN" >&5
27315 -+echo "${ECHO_T}$ac_cv_type_SQLLEN" >&6; }
27316 - if test $ac_cv_type_SQLLEN = yes; then
27317 -
27318 - cat >>confdefs.h <<_ACEOF
27319 -@@ -24346,8 +27990,8 @@
27320 - fi
27321 -
27322 -
27323 -- echo "$as_me:$LINENO: checking whether SQLColAttribute's last argument is an SQLLEN *" >&5
27324 --echo $ECHO_N "checking whether SQLColAttribute's last argument is an SQLLEN *... $ECHO_C" >&6
27325 -+ { echo "$as_me:$LINENO: checking whether SQLColAttribute's last argument is an SQLLEN *" >&5
27326 -+echo $ECHO_N "checking whether SQLColAttribute's last argument is an SQLLEN *... $ECHO_C" >&6; }
27327 - if test "${ncbi_cv_func_sqlcolattribute_sqllen+set}" = set; then
27328 - echo $ECHO_N "(cached) $ECHO_C" >&6
27329 - else
27330 -@@ -24370,24 +28014,36 @@
27331 - }
27332 - _ACEOF
27333 - rm -f conftest.$ac_objext
27334 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27335 -- (eval $ac_compile) 2>conftest.er1
27336 -+if { (ac_try="$ac_compile"
27337 -+case "(($ac_try" in
27338 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27339 -+ *) ac_try_echo=$ac_try;;
27340 -+esac
27341 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27342 -+ (eval "$ac_compile") 2>conftest.er1
27343 - ac_status=$?
27344 - grep -v '^ *+' conftest.er1 >conftest.err
27345 - rm -f conftest.er1
27346 - cat conftest.err >&5
27347 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27348 - (exit $ac_status); } &&
27349 -- { ac_try='test -z "$ac_cxx_werror_flag"
27350 -- || test ! -s conftest.err'
27351 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27352 -- (eval $ac_try) 2>&5
27353 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27354 -+ { (case "(($ac_try" in
27355 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27356 -+ *) ac_try_echo=$ac_try;;
27357 -+esac
27358 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27359 -+ (eval "$ac_try") 2>&5
27360 - ac_status=$?
27361 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27362 - (exit $ac_status); }; } &&
27363 - { ac_try='test -s conftest.$ac_objext'
27364 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27365 -- (eval $ac_try) 2>&5
27366 -+ { (case "(($ac_try" in
27367 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27368 -+ *) ac_try_echo=$ac_try;;
27369 -+esac
27370 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27371 -+ (eval "$ac_try") 2>&5
27372 - ac_status=$?
27373 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27374 - (exit $ac_status); }; }; then
27375 -@@ -24398,10 +28054,11 @@
27376 -
27377 - ncbi_cv_func_sqlcolattribute_sqllen=no
27378 - fi
27379 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27380 -+
27381 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27382 - fi
27383 --echo "$as_me:$LINENO: result: $ncbi_cv_func_sqlcolattribute_sqllen" >&5
27384 --echo "${ECHO_T}$ncbi_cv_func_sqlcolattribute_sqllen" >&6
27385 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_func_sqlcolattribute_sqllen" >&5
27386 -+echo "${ECHO_T}$ncbi_cv_func_sqlcolattribute_sqllen" >&6; }
27387 - if test $ncbi_cv_func_sqlcolattribute_sqllen = yes; then
27388 -
27389 - cat >>confdefs.h <<\_ACEOF
27390 -@@ -24442,8 +28099,8 @@
27391 - esac
27392 - # Extract the first word of "python", so it can be a program name with args.
27393 - set dummy python; ac_word=$2
27394 --echo "$as_me:$LINENO: checking for $ac_word" >&5
27395 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27396 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27397 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27398 - if test "${ac_cv_path_PYTHON+set}" = set; then
27399 - echo $ECHO_N "(cached) $ECHO_C" >&6
27400 - else
27401 -@@ -24459,27 +28116,28 @@
27402 - IFS=$as_save_IFS
27403 - test -z "$as_dir" && as_dir=.
27404 - for ac_exec_ext in '' $ac_executable_extensions; do
27405 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27406 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
27407 - ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
27408 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27409 - break 2
27410 - fi
27411 - done
27412 - done
27413 -+IFS=$as_save_IFS
27414 -
27415 - ;;
27416 - esac
27417 - fi
27418 - PYTHON=$ac_cv_path_PYTHON
27419 --
27420 - if test -n "$PYTHON"; then
27421 -- echo "$as_me:$LINENO: result: $PYTHON" >&5
27422 --echo "${ECHO_T}$PYTHON" >&6
27423 -+ { echo "$as_me:$LINENO: result: $PYTHON" >&5
27424 -+echo "${ECHO_T}$PYTHON" >&6; }
27425 - else
27426 -- echo "$as_me:$LINENO: result: no" >&5
27427 --echo "${ECHO_T}no" >&6
27428 -+ { echo "$as_me:$LINENO: result: no" >&5
27429 -+echo "${ECHO_T}no" >&6; }
27430 - fi
27431 -
27432 -+
27433 - if test -x "$PYTHON"; then
27434 - PYTHON_VERSION=`$PYTHON -c 'from distutils import sysconfig; print sysconfig.get_config_var("VERSION")' 2>/dev/null`
27435 - else
27436 -@@ -24512,8 +28170,8 @@
27437 - fi
27438 - CPPFLAGS="$PYTHON_INCLUDE $orig_CPPFLAGS"
27439 - LIBS="$PYTHON_LIBS $orig_LIBS"
27440 -- echo "$as_me:$LINENO: checking for usable Python $PYTHON_VERSION libraries" >&5
27441 --echo $ECHO_N "checking for usable Python $PYTHON_VERSION libraries... $ECHO_C" >&6
27442 -+ { echo "$as_me:$LINENO: checking for usable Python $PYTHON_VERSION libraries" >&5
27443 -+echo $ECHO_N "checking for usable Python $PYTHON_VERSION libraries... $ECHO_C" >&6; }
27444 - if test "${ncbi_cv_lib_python+set}" = set; then
27445 - echo $ECHO_N "(cached) $ECHO_C" >&6
27446 - else
27447 -@@ -24540,24 +28198,36 @@
27448 - }
27449 - _ACEOF
27450 - rm -f conftest.$ac_objext conftest$ac_exeext
27451 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27452 -- (eval $ac_link) 2>conftest.er1
27453 -+if { (ac_try="$ac_link"
27454 -+case "(($ac_try" in
27455 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27456 -+ *) ac_try_echo=$ac_try;;
27457 -+esac
27458 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27459 -+ (eval "$ac_link") 2>conftest.er1
27460 - ac_status=$?
27461 - grep -v '^ *+' conftest.er1 >conftest.err
27462 - rm -f conftest.er1
27463 - cat conftest.err >&5
27464 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27465 - (exit $ac_status); } &&
27466 -- { ac_try='test -z "$ac_cxx_werror_flag"
27467 -- || test ! -s conftest.err'
27468 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27469 -- (eval $ac_try) 2>&5
27470 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27471 -+ { (case "(($ac_try" in
27472 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27473 -+ *) ac_try_echo=$ac_try;;
27474 -+esac
27475 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27476 -+ (eval "$ac_try") 2>&5
27477 - ac_status=$?
27478 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27479 - (exit $ac_status); }; } &&
27480 - { ac_try='test -s conftest$ac_exeext'
27481 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27482 -- (eval $ac_try) 2>&5
27483 -+ { (case "(($ac_try" in
27484 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27485 -+ *) ac_try_echo=$ac_try;;
27486 -+esac
27487 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27488 -+ (eval "$ac_try") 2>&5
27489 - ac_status=$?
27490 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27491 - (exit $ac_status); }; }; then
27492 -@@ -24568,11 +28238,12 @@
27493 -
27494 - ncbi_cv_lib_python=no
27495 - fi
27496 --rm -f conftest.err conftest.$ac_objext \
27497 -+
27498 -+rm -f core conftest.err conftest.$ac_objext \
27499 - conftest$ac_exeext conftest.$ac_ext
27500 - fi
27501 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_python" >&5
27502 --echo "${ECHO_T}$ncbi_cv_lib_python" >&6
27503 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_python" >&5
27504 -+echo "${ECHO_T}$ncbi_cv_lib_python" >&6; }
27505 - else
27506 - ncbi_cv_lib_python=no
27507 - fi
27508 -@@ -24592,8 +28263,8 @@
27509 -
27510 - # Extract the first word of "python2.3", so it can be a program name with args.
27511 - set dummy python2.3; ac_word=$2
27512 --echo "$as_me:$LINENO: checking for $ac_word" >&5
27513 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27514 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27515 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27516 - if test "${ac_cv_path_PYTHON23+set}" = set; then
27517 - echo $ECHO_N "(cached) $ECHO_C" >&6
27518 - else
27519 -@@ -24609,27 +28280,28 @@
27520 - IFS=$as_save_IFS
27521 - test -z "$as_dir" && as_dir=.
27522 - for ac_exec_ext in '' $ac_executable_extensions; do
27523 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27524 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
27525 - ac_cv_path_PYTHON23="$as_dir/$ac_word$ac_exec_ext"
27526 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27527 - break 2
27528 - fi
27529 - done
27530 - done
27531 -+IFS=$as_save_IFS
27532 -
27533 - ;;
27534 - esac
27535 - fi
27536 - PYTHON23=$ac_cv_path_PYTHON23
27537 --
27538 - if test -n "$PYTHON23"; then
27539 -- echo "$as_me:$LINENO: result: $PYTHON23" >&5
27540 --echo "${ECHO_T}$PYTHON23" >&6
27541 -+ { echo "$as_me:$LINENO: result: $PYTHON23" >&5
27542 -+echo "${ECHO_T}$PYTHON23" >&6; }
27543 - else
27544 -- echo "$as_me:$LINENO: result: no" >&5
27545 --echo "${ECHO_T}no" >&6
27546 -+ { echo "$as_me:$LINENO: result: no" >&5
27547 -+echo "${ECHO_T}no" >&6; }
27548 - fi
27549 -
27550 -+
27551 - if test -x "$PYTHON23"; then
27552 - PYTHON23_VERSION=`$PYTHON23 -c 'from distutils import sysconfig; print sysconfig.get_config_var("VERSION")' 2>/dev/null`
27553 - else
27554 -@@ -24662,8 +28334,8 @@
27555 - fi
27556 - CPPFLAGS="$PYTHON23_INCLUDE $orig_CPPFLAGS"
27557 - LIBS="$PYTHON23_LIBS $orig_LIBS"
27558 -- echo "$as_me:$LINENO: checking for usable Python $PYTHON23_VERSION libraries" >&5
27559 --echo $ECHO_N "checking for usable Python $PYTHON23_VERSION libraries... $ECHO_C" >&6
27560 -+ { echo "$as_me:$LINENO: checking for usable Python $PYTHON23_VERSION libraries" >&5
27561 -+echo $ECHO_N "checking for usable Python $PYTHON23_VERSION libraries... $ECHO_C" >&6; }
27562 - if test "${ncbi_cv_lib_python23+set}" = set; then
27563 - echo $ECHO_N "(cached) $ECHO_C" >&6
27564 - else
27565 -@@ -24690,24 +28362,36 @@
27566 - }
27567 - _ACEOF
27568 - rm -f conftest.$ac_objext conftest$ac_exeext
27569 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27570 -- (eval $ac_link) 2>conftest.er1
27571 -+if { (ac_try="$ac_link"
27572 -+case "(($ac_try" in
27573 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27574 -+ *) ac_try_echo=$ac_try;;
27575 -+esac
27576 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27577 -+ (eval "$ac_link") 2>conftest.er1
27578 - ac_status=$?
27579 - grep -v '^ *+' conftest.er1 >conftest.err
27580 - rm -f conftest.er1
27581 - cat conftest.err >&5
27582 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27583 - (exit $ac_status); } &&
27584 -- { ac_try='test -z "$ac_cxx_werror_flag"
27585 -- || test ! -s conftest.err'
27586 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27587 -- (eval $ac_try) 2>&5
27588 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27589 -+ { (case "(($ac_try" in
27590 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27591 -+ *) ac_try_echo=$ac_try;;
27592 -+esac
27593 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27594 -+ (eval "$ac_try") 2>&5
27595 - ac_status=$?
27596 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27597 - (exit $ac_status); }; } &&
27598 - { ac_try='test -s conftest$ac_exeext'
27599 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27600 -- (eval $ac_try) 2>&5
27601 -+ { (case "(($ac_try" in
27602 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27603 -+ *) ac_try_echo=$ac_try;;
27604 -+esac
27605 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27606 -+ (eval "$ac_try") 2>&5
27607 - ac_status=$?
27608 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27609 - (exit $ac_status); }; }; then
27610 -@@ -24718,11 +28402,12 @@
27611 -
27612 - ncbi_cv_lib_python23=no
27613 - fi
27614 --rm -f conftest.err conftest.$ac_objext \
27615 -+
27616 -+rm -f core conftest.err conftest.$ac_objext \
27617 - conftest$ac_exeext conftest.$ac_ext
27618 - fi
27619 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_python23" >&5
27620 --echo "${ECHO_T}$ncbi_cv_lib_python23" >&6
27621 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_python23" >&5
27622 -+echo "${ECHO_T}$ncbi_cv_lib_python23" >&6; }
27623 - else
27624 - ncbi_cv_lib_python23=no
27625 - fi
27626 -@@ -24743,8 +28428,8 @@
27627 - : ${PYTHON_PATH:="/usr/local/python-2.4.4"}
27628 - # Extract the first word of "python2.4", so it can be a program name with args.
27629 - set dummy python2.4; ac_word=$2
27630 --echo "$as_me:$LINENO: checking for $ac_word" >&5
27631 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27632 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27633 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27634 - if test "${ac_cv_path_PYTHON24+set}" = set; then
27635 - echo $ECHO_N "(cached) $ECHO_C" >&6
27636 - else
27637 -@@ -24760,27 +28445,28 @@
27638 - IFS=$as_save_IFS
27639 - test -z "$as_dir" && as_dir=.
27640 - for ac_exec_ext in '' $ac_executable_extensions; do
27641 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27642 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
27643 - ac_cv_path_PYTHON24="$as_dir/$ac_word$ac_exec_ext"
27644 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27645 - break 2
27646 - fi
27647 - done
27648 - done
27649 -+IFS=$as_save_IFS
27650 -
27651 - ;;
27652 - esac
27653 - fi
27654 - PYTHON24=$ac_cv_path_PYTHON24
27655 --
27656 - if test -n "$PYTHON24"; then
27657 -- echo "$as_me:$LINENO: result: $PYTHON24" >&5
27658 --echo "${ECHO_T}$PYTHON24" >&6
27659 -+ { echo "$as_me:$LINENO: result: $PYTHON24" >&5
27660 -+echo "${ECHO_T}$PYTHON24" >&6; }
27661 - else
27662 -- echo "$as_me:$LINENO: result: no" >&5
27663 --echo "${ECHO_T}no" >&6
27664 -+ { echo "$as_me:$LINENO: result: no" >&5
27665 -+echo "${ECHO_T}no" >&6; }
27666 - fi
27667 -
27668 -+
27669 - if test -x "$PYTHON24"; then
27670 - PYTHON24_VERSION=`$PYTHON24 -c 'from distutils import sysconfig; print sysconfig.get_config_var("VERSION")' 2>/dev/null`
27671 - else
27672 -@@ -24813,8 +28499,8 @@
27673 - fi
27674 - CPPFLAGS="$PYTHON24_INCLUDE $orig_CPPFLAGS"
27675 - LIBS="$PYTHON24_LIBS $orig_LIBS"
27676 -- echo "$as_me:$LINENO: checking for usable Python $PYTHON24_VERSION libraries" >&5
27677 --echo $ECHO_N "checking for usable Python $PYTHON24_VERSION libraries... $ECHO_C" >&6
27678 -+ { echo "$as_me:$LINENO: checking for usable Python $PYTHON24_VERSION libraries" >&5
27679 -+echo $ECHO_N "checking for usable Python $PYTHON24_VERSION libraries... $ECHO_C" >&6; }
27680 - if test "${ncbi_cv_lib_python24+set}" = set; then
27681 - echo $ECHO_N "(cached) $ECHO_C" >&6
27682 - else
27683 -@@ -24841,24 +28527,36 @@
27684 - }
27685 - _ACEOF
27686 - rm -f conftest.$ac_objext conftest$ac_exeext
27687 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27688 -- (eval $ac_link) 2>conftest.er1
27689 -+if { (ac_try="$ac_link"
27690 -+case "(($ac_try" in
27691 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27692 -+ *) ac_try_echo=$ac_try;;
27693 -+esac
27694 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27695 -+ (eval "$ac_link") 2>conftest.er1
27696 - ac_status=$?
27697 - grep -v '^ *+' conftest.er1 >conftest.err
27698 - rm -f conftest.er1
27699 - cat conftest.err >&5
27700 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27701 - (exit $ac_status); } &&
27702 -- { ac_try='test -z "$ac_cxx_werror_flag"
27703 -- || test ! -s conftest.err'
27704 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27705 -- (eval $ac_try) 2>&5
27706 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27707 -+ { (case "(($ac_try" in
27708 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27709 -+ *) ac_try_echo=$ac_try;;
27710 -+esac
27711 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27712 -+ (eval "$ac_try") 2>&5
27713 - ac_status=$?
27714 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27715 - (exit $ac_status); }; } &&
27716 - { ac_try='test -s conftest$ac_exeext'
27717 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27718 -- (eval $ac_try) 2>&5
27719 -+ { (case "(($ac_try" in
27720 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27721 -+ *) ac_try_echo=$ac_try;;
27722 -+esac
27723 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27724 -+ (eval "$ac_try") 2>&5
27725 - ac_status=$?
27726 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27727 - (exit $ac_status); }; }; then
27728 -@@ -24869,11 +28567,12 @@
27729 -
27730 - ncbi_cv_lib_python24=no
27731 - fi
27732 --rm -f conftest.err conftest.$ac_objext \
27733 -+
27734 -+rm -f core conftest.err conftest.$ac_objext \
27735 - conftest$ac_exeext conftest.$ac_ext
27736 - fi
27737 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_python24" >&5
27738 --echo "${ECHO_T}$ncbi_cv_lib_python24" >&6
27739 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_python24" >&5
27740 -+echo "${ECHO_T}$ncbi_cv_lib_python24" >&6; }
27741 - else
27742 - ncbi_cv_lib_python24=no
27743 - fi
27744 -@@ -24893,8 +28592,8 @@
27745 -
27746 - # Extract the first word of "python2.5", so it can be a program name with args.
27747 - set dummy python2.5; ac_word=$2
27748 --echo "$as_me:$LINENO: checking for $ac_word" >&5
27749 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27750 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27751 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27752 - if test "${ac_cv_path_PYTHON25+set}" = set; then
27753 - echo $ECHO_N "(cached) $ECHO_C" >&6
27754 - else
27755 -@@ -24910,27 +28609,28 @@
27756 - IFS=$as_save_IFS
27757 - test -z "$as_dir" && as_dir=.
27758 - for ac_exec_ext in '' $ac_executable_extensions; do
27759 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27760 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
27761 - ac_cv_path_PYTHON25="$as_dir/$ac_word$ac_exec_ext"
27762 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27763 - break 2
27764 - fi
27765 - done
27766 - done
27767 -+IFS=$as_save_IFS
27768 -
27769 - ;;
27770 - esac
27771 - fi
27772 - PYTHON25=$ac_cv_path_PYTHON25
27773 --
27774 - if test -n "$PYTHON25"; then
27775 -- echo "$as_me:$LINENO: result: $PYTHON25" >&5
27776 --echo "${ECHO_T}$PYTHON25" >&6
27777 -+ { echo "$as_me:$LINENO: result: $PYTHON25" >&5
27778 -+echo "${ECHO_T}$PYTHON25" >&6; }
27779 - else
27780 -- echo "$as_me:$LINENO: result: no" >&5
27781 --echo "${ECHO_T}no" >&6
27782 -+ { echo "$as_me:$LINENO: result: no" >&5
27783 -+echo "${ECHO_T}no" >&6; }
27784 - fi
27785 -
27786 -+
27787 - if test -x "$PYTHON25"; then
27788 - PYTHON25_VERSION=`$PYTHON25 -c 'from distutils import sysconfig; print sysconfig.get_config_var("VERSION")' 2>/dev/null`
27789 - else
27790 -@@ -24963,8 +28663,8 @@
27791 - fi
27792 - CPPFLAGS="$PYTHON25_INCLUDE $orig_CPPFLAGS"
27793 - LIBS="$PYTHON25_LIBS $orig_LIBS"
27794 -- echo "$as_me:$LINENO: checking for usable Python $PYTHON25_VERSION libraries" >&5
27795 --echo $ECHO_N "checking for usable Python $PYTHON25_VERSION libraries... $ECHO_C" >&6
27796 -+ { echo "$as_me:$LINENO: checking for usable Python $PYTHON25_VERSION libraries" >&5
27797 -+echo $ECHO_N "checking for usable Python $PYTHON25_VERSION libraries... $ECHO_C" >&6; }
27798 - if test "${ncbi_cv_lib_python25+set}" = set; then
27799 - echo $ECHO_N "(cached) $ECHO_C" >&6
27800 - else
27801 -@@ -24991,24 +28691,36 @@
27802 - }
27803 - _ACEOF
27804 - rm -f conftest.$ac_objext conftest$ac_exeext
27805 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27806 -- (eval $ac_link) 2>conftest.er1
27807 -+if { (ac_try="$ac_link"
27808 -+case "(($ac_try" in
27809 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27810 -+ *) ac_try_echo=$ac_try;;
27811 -+esac
27812 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27813 -+ (eval "$ac_link") 2>conftest.er1
27814 - ac_status=$?
27815 - grep -v '^ *+' conftest.er1 >conftest.err
27816 - rm -f conftest.er1
27817 - cat conftest.err >&5
27818 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27819 - (exit $ac_status); } &&
27820 -- { ac_try='test -z "$ac_cxx_werror_flag"
27821 -- || test ! -s conftest.err'
27822 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27823 -- (eval $ac_try) 2>&5
27824 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27825 -+ { (case "(($ac_try" in
27826 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27827 -+ *) ac_try_echo=$ac_try;;
27828 -+esac
27829 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27830 -+ (eval "$ac_try") 2>&5
27831 - ac_status=$?
27832 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27833 - (exit $ac_status); }; } &&
27834 - { ac_try='test -s conftest$ac_exeext'
27835 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27836 -- (eval $ac_try) 2>&5
27837 -+ { (case "(($ac_try" in
27838 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27839 -+ *) ac_try_echo=$ac_try;;
27840 -+esac
27841 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27842 -+ (eval "$ac_try") 2>&5
27843 - ac_status=$?
27844 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27845 - (exit $ac_status); }; }; then
27846 -@@ -25019,11 +28731,12 @@
27847 -
27848 - ncbi_cv_lib_python25=no
27849 - fi
27850 --rm -f conftest.err conftest.$ac_objext \
27851 -+
27852 -+rm -f core conftest.err conftest.$ac_objext \
27853 - conftest$ac_exeext conftest.$ac_ext
27854 - fi
27855 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_python25" >&5
27856 --echo "${ECHO_T}$ncbi_cv_lib_python25" >&6
27857 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_python25" >&5
27858 -+echo "${ECHO_T}$ncbi_cv_lib_python25" >&6; }
27859 - else
27860 - ncbi_cv_lib_python25=no
27861 - fi
27862 -@@ -25078,8 +28791,8 @@
27863 - esac
27864 - # Extract the first word of "perl", so it can be a program name with args.
27865 - set dummy perl; ac_word=$2
27866 --echo "$as_me:$LINENO: checking for $ac_word" >&5
27867 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27868 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27869 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27870 - if test "${ac_cv_path_PERL+set}" = set; then
27871 - echo $ECHO_N "(cached) $ECHO_C" >&6
27872 - else
27873 -@@ -25095,30 +28808,31 @@
27874 - IFS=$as_save_IFS
27875 - test -z "$as_dir" && as_dir=.
27876 - for ac_exec_ext in '' $ac_executable_extensions; do
27877 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27878 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
27879 - ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
27880 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27881 - break 2
27882 - fi
27883 - done
27884 - done
27885 -+IFS=$as_save_IFS
27886 -
27887 - ;;
27888 - esac
27889 - fi
27890 - PERL=$ac_cv_path_PERL
27891 --
27892 - if test -n "$PERL"; then
27893 -- echo "$as_me:$LINENO: result: $PERL" >&5
27894 --echo "${ECHO_T}$PERL" >&6
27895 -+ { echo "$as_me:$LINENO: result: $PERL" >&5
27896 -+echo "${ECHO_T}$PERL" >&6; }
27897 - else
27898 -- echo "$as_me:$LINENO: result: no" >&5
27899 --echo "${ECHO_T}no" >&6
27900 -+ { echo "$as_me:$LINENO: result: no" >&5
27901 -+echo "${ECHO_T}no" >&6; }
27902 - fi
27903 -
27904 -+
27905 - if test -x "$PERL"; then
27906 - PERL_ARCHLIB=`$PERL -MConfig -e 'print \$Config{archlibexp};'`
27907 -- PERL_FLAGS=`$PERL -MConfig -e 'print \$Config{cppflags};'`
27908 -+ PERL_FLAGS=`$PERL -MConfig -e 'print join " ", grep /^-[DI]/, split /\\s+/, \$Config{cppflags};'`
27909 - PERL_INCLUDE="-I$PERL_ARCHLIB/CORE $PERL_FLAGS"
27910 - PERL_DEPS=`$PERL -MConfig -e 'print \$Config{libs};'`
27911 - ncbi_rp_L_flags=
27912 -@@ -25143,8 +28857,8 @@
27913 - fi
27914 - CPPFLAGS="$PERL_INCLUDE $orig_CPPFLAGS"
27915 - LIBS="$PERL_LIBS $orig_LIBS"
27916 -- echo "$as_me:$LINENO: checking for usable Perl libraries" >&5
27917 --echo $ECHO_N "checking for usable Perl libraries... $ECHO_C" >&6
27918 -+ { echo "$as_me:$LINENO: checking for usable Perl libraries" >&5
27919 -+echo $ECHO_N "checking for usable Perl libraries... $ECHO_C" >&6; }
27920 - if test "${ncbi_cv_lib_perl+set}" = set; then
27921 - echo $ECHO_N "(cached) $ECHO_C" >&6
27922 - else
27923 -@@ -25166,24 +28880,36 @@
27924 - }
27925 - _ACEOF
27926 - rm -f conftest.$ac_objext conftest$ac_exeext
27927 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27928 -- (eval $ac_link) 2>conftest.er1
27929 -+if { (ac_try="$ac_link"
27930 -+case "(($ac_try" in
27931 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27932 -+ *) ac_try_echo=$ac_try;;
27933 -+esac
27934 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27935 -+ (eval "$ac_link") 2>conftest.er1
27936 - ac_status=$?
27937 - grep -v '^ *+' conftest.er1 >conftest.err
27938 - rm -f conftest.er1
27939 - cat conftest.err >&5
27940 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27941 - (exit $ac_status); } &&
27942 -- { ac_try='test -z "$ac_cxx_werror_flag"
27943 -- || test ! -s conftest.err'
27944 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27945 -- (eval $ac_try) 2>&5
27946 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27947 -+ { (case "(($ac_try" in
27948 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27949 -+ *) ac_try_echo=$ac_try;;
27950 -+esac
27951 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27952 -+ (eval "$ac_try") 2>&5
27953 - ac_status=$?
27954 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27955 - (exit $ac_status); }; } &&
27956 - { ac_try='test -s conftest$ac_exeext'
27957 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27958 -- (eval $ac_try) 2>&5
27959 -+ { (case "(($ac_try" in
27960 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27961 -+ *) ac_try_echo=$ac_try;;
27962 -+esac
27963 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27964 -+ (eval "$ac_try") 2>&5
27965 - ac_status=$?
27966 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967 - (exit $ac_status); }; }; then
27968 -@@ -25194,11 +28920,12 @@
27969 -
27970 - ncbi_cv_lib_perl=no
27971 - fi
27972 --rm -f conftest.err conftest.$ac_objext \
27973 -+
27974 -+rm -f core conftest.err conftest.$ac_objext \
27975 - conftest$ac_exeext conftest.$ac_ext
27976 - fi
27977 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_perl" >&5
27978 --echo "${ECHO_T}$ncbi_cv_lib_perl" >&6
27979 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_perl" >&5
27980 -+echo "${ECHO_T}$ncbi_cv_lib_perl" >&6; }
27981 - fi
27982 - if test "$ncbi_cv_lib_perl" = yes; then
27983 - WithPackages="$WithPackages${WithPackagesSep}PERL"; WithPackagesSep=" "
27984 -@@ -25236,8 +28963,8 @@
27985 - { (exit 1); exit 1; }; }
27986 - # Extract the first word of "$JAVAC", so it can be a program name with args.
27987 - set dummy $JAVAC; ac_word=$2
27988 --echo "$as_me:$LINENO: checking for $ac_word" >&5
27989 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27990 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
27991 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27992 - if test "${ac_cv_path__ACJNI_JAVAC+set}" = set; then
27993 - echo $ECHO_N "(cached) $ECHO_C" >&6
27994 - else
27995 -@@ -25252,28 +28979,29 @@
27996 - IFS=$as_save_IFS
27997 - test -z "$as_dir" && as_dir=.
27998 - for ac_exec_ext in '' $ac_executable_extensions; do
27999 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28000 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
28001 - ac_cv_path__ACJNI_JAVAC="$as_dir/$ac_word$ac_exec_ext"
28002 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28003 - break 2
28004 - fi
28005 - done
28006 - done
28007 -+IFS=$as_save_IFS
28008 -
28009 - test -z "$ac_cv_path__ACJNI_JAVAC" && ac_cv_path__ACJNI_JAVAC="no"
28010 - ;;
28011 - esac
28012 - fi
28013 - _ACJNI_JAVAC=$ac_cv_path__ACJNI_JAVAC
28014 --
28015 - if test -n "$_ACJNI_JAVAC"; then
28016 -- echo "$as_me:$LINENO: result: $_ACJNI_JAVAC" >&5
28017 --echo "${ECHO_T}$_ACJNI_JAVAC" >&6
28018 -+ { echo "$as_me:$LINENO: result: $_ACJNI_JAVAC" >&5
28019 -+echo "${ECHO_T}$_ACJNI_JAVAC" >&6; }
28020 - else
28021 -- echo "$as_me:$LINENO: result: no" >&5
28022 --echo "${ECHO_T}no" >&6
28023 -+ { echo "$as_me:$LINENO: result: no" >&5
28024 -+echo "${ECHO_T}no" >&6; }
28025 - fi
28026 -
28027 -+
28028 - test "x$_ACJNI_JAVAC" = xno && { { echo "$as_me:$LINENO: error: $JAVAC could not be found in path" >&5
28029 - echo "$as_me: error: $JAVAC could not be found in path" >&2;}
28030 - { (exit 1); exit 1; }; }
28031 -@@ -25282,16 +29010,16 @@
28032 - # find the include directory relative to the javac executable
28033 - _cur=""$_ACJNI_JAVAC""
28034 - while ls -ld "$_cur" 2>/dev/null | grep " -> " >/dev/null; do
28035 -- echo "$as_me:$LINENO: checking symlink for $_cur" >&5
28036 --echo $ECHO_N "checking symlink for $_cur... $ECHO_C" >&6
28037 -+ { echo "$as_me:$LINENO: checking symlink for $_cur" >&5
28038 -+echo $ECHO_N "checking symlink for $_cur... $ECHO_C" >&6; }
28039 - _slink=`ls -ld "$_cur" | sed 's/.* -> //'`
28040 - case "$_slink" in
28041 - /*) _cur="$_slink";;
28042 - # 'X' avoids triggering unwanted echo options.
28043 - *) _cur=`echo "X$_cur" | sed -e 's/^X//' -e 's:[^/]*$::'`"$_slink";;
28044 - esac
28045 -- echo "$as_me:$LINENO: result: $_cur" >&5
28046 --echo "${ECHO_T}$_cur" >&6
28047 -+ { echo "$as_me:$LINENO: result: $_cur" >&5
28048 -+echo "${ECHO_T}$_cur" >&6; }
28049 - done
28050 - _ACJNI_FOLLOWED="$_cur"
28051 -
28052 -@@ -25343,17 +29071,17 @@
28053 - echo "$as_me: setting JDK_INCLUDE = $JDK_INCLUDE" >&6;}
28054 - CPPFLAGS="$JDK_INCLUDE $orig_CPPFLAGS"
28055 - if test "${ac_cv_header_jni_h+set}" = set; then
28056 -- echo "$as_me:$LINENO: checking for jni.h" >&5
28057 --echo $ECHO_N "checking for jni.h... $ECHO_C" >&6
28058 -+ { echo "$as_me:$LINENO: checking for jni.h" >&5
28059 -+echo $ECHO_N "checking for jni.h... $ECHO_C" >&6; }
28060 - if test "${ac_cv_header_jni_h+set}" = set; then
28061 - echo $ECHO_N "(cached) $ECHO_C" >&6
28062 - fi
28063 --echo "$as_me:$LINENO: result: $ac_cv_header_jni_h" >&5
28064 --echo "${ECHO_T}$ac_cv_header_jni_h" >&6
28065 -+{ echo "$as_me:$LINENO: result: $ac_cv_header_jni_h" >&5
28066 -+echo "${ECHO_T}$ac_cv_header_jni_h" >&6; }
28067 - else
28068 - # Is the header compilable?
28069 --echo "$as_me:$LINENO: checking jni.h usability" >&5
28070 --echo $ECHO_N "checking jni.h usability... $ECHO_C" >&6
28071 -+{ echo "$as_me:$LINENO: checking jni.h usability" >&5
28072 -+echo $ECHO_N "checking jni.h usability... $ECHO_C" >&6; }
28073 - cat >conftest.$ac_ext <<_ACEOF
28074 - /* confdefs.h. */
28075 - _ACEOF
28076 -@@ -25364,24 +29092,36 @@
28077 - #include <jni.h>
28078 - _ACEOF
28079 - rm -f conftest.$ac_objext
28080 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28081 -- (eval $ac_compile) 2>conftest.er1
28082 -+if { (ac_try="$ac_compile"
28083 -+case "(($ac_try" in
28084 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28085 -+ *) ac_try_echo=$ac_try;;
28086 -+esac
28087 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28088 -+ (eval "$ac_compile") 2>conftest.er1
28089 - ac_status=$?
28090 - grep -v '^ *+' conftest.er1 >conftest.err
28091 - rm -f conftest.er1
28092 - cat conftest.err >&5
28093 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28094 - (exit $ac_status); } &&
28095 -- { ac_try='test -z "$ac_cxx_werror_flag"
28096 -- || test ! -s conftest.err'
28097 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28098 -- (eval $ac_try) 2>&5
28099 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28100 -+ { (case "(($ac_try" in
28101 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28102 -+ *) ac_try_echo=$ac_try;;
28103 -+esac
28104 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28105 -+ (eval "$ac_try") 2>&5
28106 - ac_status=$?
28107 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28108 - (exit $ac_status); }; } &&
28109 - { ac_try='test -s conftest.$ac_objext'
28110 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28111 -- (eval $ac_try) 2>&5
28112 -+ { (case "(($ac_try" in
28113 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28114 -+ *) ac_try_echo=$ac_try;;
28115 -+esac
28116 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28117 -+ (eval "$ac_try") 2>&5
28118 - ac_status=$?
28119 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28120 - (exit $ac_status); }; }; then
28121 -@@ -25392,13 +29132,14 @@
28122 -
28123 - ac_header_compiler=no
28124 - fi
28125 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28126 --echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28127 --echo "${ECHO_T}$ac_header_compiler" >&6
28128 -+
28129 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28130 -+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28131 -+echo "${ECHO_T}$ac_header_compiler" >&6; }
28132 -
28133 - # Is the header present?
28134 --echo "$as_me:$LINENO: checking jni.h presence" >&5
28135 --echo $ECHO_N "checking jni.h presence... $ECHO_C" >&6
28136 -+{ echo "$as_me:$LINENO: checking jni.h presence" >&5
28137 -+echo $ECHO_N "checking jni.h presence... $ECHO_C" >&6; }
28138 - cat >conftest.$ac_ext <<_ACEOF
28139 - /* confdefs.h. */
28140 - _ACEOF
28141 -@@ -25407,8 +29148,13 @@
28142 - /* end confdefs.h. */
28143 - #include <jni.h>
28144 - _ACEOF
28145 --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28146 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28147 -+if { (ac_try="$ac_cpp conftest.$ac_ext"
28148 -+case "(($ac_try" in
28149 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28150 -+ *) ac_try_echo=$ac_try;;
28151 -+esac
28152 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28153 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28154 - ac_status=$?
28155 - grep -v '^ *+' conftest.er1 >conftest.err
28156 - rm -f conftest.er1
28157 -@@ -25432,9 +29178,10 @@
28158 -
28159 - ac_header_preproc=no
28160 - fi
28161 -+
28162 - rm -f conftest.err conftest.$ac_ext
28163 --echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28164 --echo "${ECHO_T}$ac_header_preproc" >&6
28165 -+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28166 -+echo "${ECHO_T}$ac_header_preproc" >&6; }
28167 -
28168 - # So? What about this header?
28169 - case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
28170 -@@ -25458,25 +29205,23 @@
28171 - echo "$as_me: WARNING: jni.h: proceeding with the preprocessor's result" >&2;}
28172 - { echo "$as_me:$LINENO: WARNING: jni.h: in the future, the compiler will take precedence" >&5
28173 - echo "$as_me: WARNING: jni.h: in the future, the compiler will take precedence" >&2;}
28174 -- (
28175 -- cat <<\_ASBOX
28176 -+ ( cat <<\_ASBOX
28177 - ## ---------------------------------------- ##
28178 - ## Report this to cpp-core@××××××××××××.gov ##
28179 - ## ---------------------------------------- ##
28180 - _ASBOX
28181 -- ) |
28182 -- sed "s/^/$as_me: WARNING: /" >&2
28183 -+ ) | sed "s/^/$as_me: WARNING: /" >&2
28184 - ;;
28185 - esac
28186 --echo "$as_me:$LINENO: checking for jni.h" >&5
28187 --echo $ECHO_N "checking for jni.h... $ECHO_C" >&6
28188 -+{ echo "$as_me:$LINENO: checking for jni.h" >&5
28189 -+echo $ECHO_N "checking for jni.h... $ECHO_C" >&6; }
28190 - if test "${ac_cv_header_jni_h+set}" = set; then
28191 - echo $ECHO_N "(cached) $ECHO_C" >&6
28192 - else
28193 - ac_cv_header_jni_h=$ac_header_preproc
28194 - fi
28195 --echo "$as_me:$LINENO: result: $ac_cv_header_jni_h" >&5
28196 --echo "${ECHO_T}$ac_cv_header_jni_h" >&6
28197 -+{ echo "$as_me:$LINENO: result: $ac_cv_header_jni_h" >&5
28198 -+echo "${ECHO_T}$ac_cv_header_jni_h" >&6; }
28199 -
28200 - fi
28201 - if test $ac_cv_header_jni_h = yes; then
28202 -@@ -25500,9 +29245,7 @@
28203 -
28204 - ## Boost
28205 - if test "$with_boost" != "no"; then
28206 -- if test "${with_boost-yes}" = yes; then
28207 -- : ${BOOST_PATH=$NCBI/boost}
28208 -- else
28209 -+ if test "${with_boost-yes}" != yes; then
28210 - BOOST_PATH=$with_boost
28211 - fi
28212 - if test -d "$BOOST_PATH"; then
28213 -@@ -25560,8 +29303,8 @@
28214 - $as_unset ncbi_cv_lib_boost_thread || test "${ncbi_cv_lib_boost_thread+set}" != set || { ncbi_cv_lib_boost_thread=; export ncbi_cv_lib_boost_thread; }
28215 - fi
28216 - fi
28217 -- echo "$as_me:$LINENO: checking Boost version" >&5
28218 --echo $ECHO_N "checking Boost version... $ECHO_C" >&6
28219 -+ { echo "$as_me:$LINENO: checking Boost version" >&5
28220 -+echo $ECHO_N "checking Boost version... $ECHO_C" >&6; }
28221 - if test "${ncbi_cv_lib_boost_version+set}" = set; then
28222 - echo $ECHO_N "(cached) $ECHO_C" >&6
28223 - else
28224 -@@ -25583,22 +29326,27 @@
28225 - rm -f contest*
28226 -
28227 - fi
28228 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_version" >&5
28229 --echo "${ECHO_T}$ncbi_cv_lib_boost_version" >&6
28230 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_version" >&5
28231 -+echo "${ECHO_T}$ncbi_cv_lib_boost_version" >&6; }
28232 - if test -d `echo $BOOST_INCLUDE | sed -e 's/^-I//'`/boost-${ncbi_cv_lib_boost_version}/boost; then
28233 - BOOST_INCLUDE=$BOOST_INCLUDE/boost-${ncbi_cv_lib_boost_version}
28234 - fi
28235 -- case "$ncbi_compiler" in
28236 -- MIPSPRO)
28237 -+ case "$compiler:$ncbi_compiler_ver" in
28238 -+ MIPSpro*)
28239 - BOOST_INCLUDE="$BOOST_INCLUDE $BOOST_INCLUDE/boost/compatibility/cpp_c_headers"
28240 - ;;
28241 -- WORKSHOP)
28242 -+ WorkShop*)
28243 - # Boost.Test's macros yield a *lot* of spurious "should not initialize
28244 - # a non-const reference with a temporary" warnings, to the point of
28245 - # overwhelming the compiler in some cases; turn them off altogether
28246 - # when using Boost at all.
28247 - BOOST_INCLUDE="$BOOST_INCLUDE -erroff=reftotemp"
28248 - ;;
28249 -+ GCC*:4[7-9]* | GCC*:5*)
28250 -+ # Some portions of Boost also have a lot of "unused" typedefs
28251 -+ # from concept checking.
28252 -+ BOOST_INCLUDE="$BOOST_INCLUDE -Wno-unused-local-typedefs"
28253 -+ ;;
28254 - esac
28255 - case "$ncbi_cv_lib_boost_version" in
28256 - 0_* | 1_[0-9] | 1_[0-9]_* | 1_[0-2][0-9] | 1_[0-2][0-9]_* ) ;;
28257 -@@ -25612,7 +29360,7 @@
28258 - fi
28259 - with_boost=no
28260 - ;;
28261 -- 1_3[5-9] | 1_3[5-9]_* | 1_4* | 1_5[0-2] | 1_5[0-2]_* ) ;;
28262 -+ 1_3[5-9] | 1_3[5-9]_* | 1_4* | 1_5[0-3] | 1_5[0-3]_* ) ;;
28263 - '' ) with_boost=no ;;
28264 - * )
28265 - { echo "$as_me:$LINENO: WARNING: Untested Boost version; may prove incompatible." >&5
28266 -@@ -25621,8 +29369,8 @@
28267 - echo "$as_me: WARNING: If so, please re-run this script with the flag --without-boost." >&2;}
28268 - ;;
28269 - esac
28270 -- echo "$as_me:$LINENO: checking for Boost library name tag" >&5
28271 --echo $ECHO_N "checking for Boost library name tag... $ECHO_C" >&6
28272 -+ { echo "$as_me:$LINENO: checking for Boost library name tag" >&5
28273 -+echo $ECHO_N "checking for Boost library name tag... $ECHO_C" >&6; }
28274 - case "$with_boost_tag" in
28275 - yes | "" )
28276 - case "$host_os:$ncbi_compiler" in
28277 -@@ -25676,18 +29424,18 @@
28278 - fi
28279 -
28280 - BOOST_TAG=$base$bsfx
28281 -- echo "$as_me:$LINENO: result: $BOOST_TAG (autodetected)" >&5
28282 --echo "${ECHO_T}$BOOST_TAG (autodetected)" >&6
28283 -+ { echo "$as_me:$LINENO: result: $BOOST_TAG (autodetected)" >&5
28284 -+echo "${ECHO_T}$BOOST_TAG (autodetected)" >&6; }
28285 - ;;
28286 - no )
28287 - BOOST_TAG=""
28288 -- echo "$as_me:$LINENO: result: none (by explicit request)" >&5
28289 --echo "${ECHO_T}none (by explicit request)" >&6
28290 -+ { echo "$as_me:$LINENO: result: none (by explicit request)" >&5
28291 -+echo "${ECHO_T}none (by explicit request)" >&6; }
28292 - ;;
28293 - *)
28294 - BOOST_TAG=$with_boost_tag
28295 -- echo "$as_me:$LINENO: result: $BOOST_TAG (by explicit request)" >&5
28296 --echo "${ECHO_T}$BOOST_TAG (by explicit request)" >&6
28297 -+ { echo "$as_me:$LINENO: result: $BOOST_TAG (by explicit request)" >&5
28298 -+echo "${ECHO_T}$BOOST_TAG (by explicit request)" >&6; }
28299 - ;;
28300 - esac
28301 -
28302 -@@ -25701,8 +29449,10 @@
28303 - BOOST_REGEX_STATIC_LIBS=$BOOST_REGEX_LIBS
28304 - fi
28305 -
28306 -- echo "$as_me:$LINENO: checking for Boost.Regex in $BOOST_PATH" >&5
28307 --echo $ECHO_N "checking for Boost.Regex in $BOOST_PATH... $ECHO_C" >&6
28308 -+ in_path=${BOOST_PATH:+ in $BOOST_PATH}
28309 -+
28310 -+ { echo "$as_me:$LINENO: checking for Boost.Regex$in_path" >&5
28311 -+echo $ECHO_N "checking for Boost.Regex$in_path... $ECHO_C" >&6; }
28312 - if test "${ncbi_cv_lib_boost_regex+set}" = set; then
28313 - echo $ECHO_N "(cached) $ECHO_C" >&6
28314 - else
28315 -@@ -25724,24 +29474,36 @@
28316 - }
28317 - _ACEOF
28318 - rm -f conftest.$ac_objext conftest$ac_exeext
28319 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28320 -- (eval $ac_link) 2>conftest.er1
28321 -+if { (ac_try="$ac_link"
28322 -+case "(($ac_try" in
28323 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28324 -+ *) ac_try_echo=$ac_try;;
28325 -+esac
28326 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28327 -+ (eval "$ac_link") 2>conftest.er1
28328 - ac_status=$?
28329 - grep -v '^ *+' conftest.er1 >conftest.err
28330 - rm -f conftest.er1
28331 - cat conftest.err >&5
28332 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28333 - (exit $ac_status); } &&
28334 -- { ac_try='test -z "$ac_cxx_werror_flag"
28335 -- || test ! -s conftest.err'
28336 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28337 -- (eval $ac_try) 2>&5
28338 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28339 -+ { (case "(($ac_try" in
28340 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28341 -+ *) ac_try_echo=$ac_try;;
28342 -+esac
28343 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28344 -+ (eval "$ac_try") 2>&5
28345 - ac_status=$?
28346 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28347 - (exit $ac_status); }; } &&
28348 - { ac_try='test -s conftest$ac_exeext'
28349 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28350 -- (eval $ac_try) 2>&5
28351 -+ { (case "(($ac_try" in
28352 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28353 -+ *) ac_try_echo=$ac_try;;
28354 -+esac
28355 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28356 -+ (eval "$ac_try") 2>&5
28357 - ac_status=$?
28358 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28359 - (exit $ac_status); }; }; then
28360 -@@ -25752,14 +29514,15 @@
28361 -
28362 - ncbi_cv_lib_boost_regex=no
28363 - fi
28364 --rm -f conftest.err conftest.$ac_objext \
28365 -+
28366 -+rm -f core conftest.err conftest.$ac_objext \
28367 - conftest$ac_exeext conftest.$ac_ext
28368 - fi
28369 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_regex" >&5
28370 --echo "${ECHO_T}$ncbi_cv_lib_boost_regex" >&6
28371 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_regex" >&5
28372 -+echo "${ECHO_T}$ncbi_cv_lib_boost_regex" >&6; }
28373 -
28374 -- echo "$as_me:$LINENO: checking for Boost.Spirit in $BOOST_PATH" >&5
28375 --echo $ECHO_N "checking for Boost.Spirit in $BOOST_PATH... $ECHO_C" >&6
28376 -+ { echo "$as_me:$LINENO: checking for Boost.Spirit$in_path" >&5
28377 -+echo $ECHO_N "checking for Boost.Spirit$in_path... $ECHO_C" >&6; }
28378 - if test "${ncbi_cv_lib_boost_spirit+set}" = set; then
28379 - echo $ECHO_N "(cached) $ECHO_C" >&6
28380 - else
28381 -@@ -25781,24 +29544,36 @@
28382 - }
28383 - _ACEOF
28384 - rm -f conftest.$ac_objext conftest$ac_exeext
28385 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28386 -- (eval $ac_link) 2>conftest.er1
28387 -+if { (ac_try="$ac_link"
28388 -+case "(($ac_try" in
28389 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28390 -+ *) ac_try_echo=$ac_try;;
28391 -+esac
28392 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28393 -+ (eval "$ac_link") 2>conftest.er1
28394 - ac_status=$?
28395 - grep -v '^ *+' conftest.er1 >conftest.err
28396 - rm -f conftest.er1
28397 - cat conftest.err >&5
28398 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28399 - (exit $ac_status); } &&
28400 -- { ac_try='test -z "$ac_cxx_werror_flag"
28401 -- || test ! -s conftest.err'
28402 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28403 -- (eval $ac_try) 2>&5
28404 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28405 -+ { (case "(($ac_try" in
28406 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28407 -+ *) ac_try_echo=$ac_try;;
28408 -+esac
28409 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28410 -+ (eval "$ac_try") 2>&5
28411 - ac_status=$?
28412 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28413 - (exit $ac_status); }; } &&
28414 - { ac_try='test -s conftest$ac_exeext'
28415 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28416 -- (eval $ac_try) 2>&5
28417 -+ { (case "(($ac_try" in
28418 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28419 -+ *) ac_try_echo=$ac_try;;
28420 -+esac
28421 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28422 -+ (eval "$ac_try") 2>&5
28423 - ac_status=$?
28424 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28425 - (exit $ac_status); }; }; then
28426 -@@ -25809,11 +29584,12 @@
28427 -
28428 - ncbi_cv_lib_boost_spirit=no
28429 - fi
28430 --rm -f conftest.err conftest.$ac_objext \
28431 -+
28432 -+rm -f core conftest.err conftest.$ac_objext \
28433 - conftest$ac_exeext conftest.$ac_ext
28434 - fi
28435 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_spirit" >&5
28436 --echo "${ECHO_T}$ncbi_cv_lib_boost_spirit" >&6
28437 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_spirit" >&5
28438 -+echo "${ECHO_T}$ncbi_cv_lib_boost_spirit" >&6; }
28439 -
28440 - BOOST_SYSTEM_LIBS=-lboost_system${BOOST_TAG}
28441 - if test -f "$BOOST_LIBPATH_/libboost_system${BOOST_TAG}-static.a"; then
28442 -@@ -25822,8 +29598,8 @@
28443 - BOOST_SYSTEM_STATIC_LIBS=$BOOST_SYSTEM_LIBS
28444 - fi
28445 -
28446 -- echo "$as_me:$LINENO: checking for Boost.System in $BOOST_PATH" >&5
28447 --echo $ECHO_N "checking for Boost.System in $BOOST_PATH... $ECHO_C" >&6
28448 -+ { echo "$as_me:$LINENO: checking for Boost.System$in_path" >&5
28449 -+echo $ECHO_N "checking for Boost.System$in_path... $ECHO_C" >&6; }
28450 - if test "${ncbi_cv_lib_boost_system+set}" = set; then
28451 - echo $ECHO_N "(cached) $ECHO_C" >&6
28452 - else
28453 -@@ -25845,24 +29621,36 @@
28454 - }
28455 - _ACEOF
28456 - rm -f conftest.$ac_objext conftest$ac_exeext
28457 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28458 -- (eval $ac_link) 2>conftest.er1
28459 -+if { (ac_try="$ac_link"
28460 -+case "(($ac_try" in
28461 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28462 -+ *) ac_try_echo=$ac_try;;
28463 -+esac
28464 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28465 -+ (eval "$ac_link") 2>conftest.er1
28466 - ac_status=$?
28467 - grep -v '^ *+' conftest.er1 >conftest.err
28468 - rm -f conftest.er1
28469 - cat conftest.err >&5
28470 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28471 - (exit $ac_status); } &&
28472 -- { ac_try='test -z "$ac_cxx_werror_flag"
28473 -- || test ! -s conftest.err'
28474 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28475 -- (eval $ac_try) 2>&5
28476 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28477 -+ { (case "(($ac_try" in
28478 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28479 -+ *) ac_try_echo=$ac_try;;
28480 -+esac
28481 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28482 -+ (eval "$ac_try") 2>&5
28483 - ac_status=$?
28484 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28485 - (exit $ac_status); }; } &&
28486 - { ac_try='test -s conftest$ac_exeext'
28487 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28488 -- (eval $ac_try) 2>&5
28489 -+ { (case "(($ac_try" in
28490 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28491 -+ *) ac_try_echo=$ac_try;;
28492 -+esac
28493 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28494 -+ (eval "$ac_try") 2>&5
28495 - ac_status=$?
28496 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497 - (exit $ac_status); }; }; then
28498 -@@ -25875,11 +29663,91 @@
28499 - BOOST_SYSTEM_LIBS=
28500 - BOOST_SYSTEM_STATIC_LIBS=
28501 - fi
28502 --rm -f conftest.err conftest.$ac_objext \
28503 -+
28504 -+rm -f core conftest.err conftest.$ac_objext \
28505 -+ conftest$ac_exeext conftest.$ac_ext
28506 -+fi
28507 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_system" >&5
28508 -+echo "${ECHO_T}$ncbi_cv_lib_boost_system" >&6; }
28509 -+
28510 -+ boost_fs_lib=-lboost_filesystem${BOOST_TAG}
28511 -+ if test -f "$BOOST_LIBPATH_/libboost_filesystem${BOOST_TAG}-static.a"; then
28512 -+ boost_fs_static_lib=-lboost_filesystem${BOOST_TAG}-static
28513 -+ else
28514 -+ boost_fs_static_lib=$boost_fs_lib
28515 -+ fi
28516 -+ BOOST_FILESYSTEM_LIBS="$boost_fs_lib $BOOST_SYSTEM_LIBS"
28517 -+ BOOST_FILESYSTEM_STATIC_LIBS="$boost_fs_static_lib $BOOST_SYSTEM_STATIC_LIBS"
28518 -+
28519 -+ { echo "$as_me:$LINENO: checking for Boost.Filesystem$in_path" >&5
28520 -+echo $ECHO_N "checking for Boost.Filesystem$in_path... $ECHO_C" >&6; }
28521 -+if test "${ncbi_cv_lib_boost_filesystem+set}" = set; then
28522 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
28523 -+else
28524 -+ CPPFLAGS="$BOOST_INCLUDE $orig_CPPFLAGS"
28525 -+ LIBS="$BOOST_LIBPATH $BOOST_FILESYSTEM_LIBS $RT_LIBS $orig_LIBS"
28526 -+ cat >conftest.$ac_ext <<_ACEOF
28527 -+/* confdefs.h. */
28528 -+_ACEOF
28529 -+cat confdefs.h >>conftest.$ac_ext
28530 -+cat >>conftest.$ac_ext <<_ACEOF
28531 -+/* end confdefs.h. */
28532 -+#include <boost/filesystem.hpp>
28533 -+int
28534 -+main ()
28535 -+{
28536 -+return boost::filesystem::portable_name("foo");
28537 -+ ;
28538 -+ return 0;
28539 -+}
28540 -+_ACEOF
28541 -+rm -f conftest.$ac_objext conftest$ac_exeext
28542 -+if { (ac_try="$ac_link"
28543 -+case "(($ac_try" in
28544 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28545 -+ *) ac_try_echo=$ac_try;;
28546 -+esac
28547 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28548 -+ (eval "$ac_link") 2>conftest.er1
28549 -+ ac_status=$?
28550 -+ grep -v '^ *+' conftest.er1 >conftest.err
28551 -+ rm -f conftest.er1
28552 -+ cat conftest.err >&5
28553 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
28554 -+ (exit $ac_status); } &&
28555 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28556 -+ { (case "(($ac_try" in
28557 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28558 -+ *) ac_try_echo=$ac_try;;
28559 -+esac
28560 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28561 -+ (eval "$ac_try") 2>&5
28562 -+ ac_status=$?
28563 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
28564 -+ (exit $ac_status); }; } &&
28565 -+ { ac_try='test -s conftest$ac_exeext'
28566 -+ { (case "(($ac_try" in
28567 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28568 -+ *) ac_try_echo=$ac_try;;
28569 -+esac
28570 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28571 -+ (eval "$ac_try") 2>&5
28572 -+ ac_status=$?
28573 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
28574 -+ (exit $ac_status); }; }; then
28575 -+ ncbi_cv_lib_boost_filesystem=yes
28576 -+else
28577 -+ echo "$as_me: failed program was:" >&5
28578 -+sed 's/^/| /' conftest.$ac_ext >&5
28579 -+
28580 -+ ncbi_cv_lib_boost_filesystem=no
28581 -+fi
28582 -+
28583 -+rm -f core conftest.err conftest.$ac_objext \
28584 - conftest$ac_exeext conftest.$ac_ext
28585 - fi
28586 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_system" >&5
28587 --echo "${ECHO_T}$ncbi_cv_lib_boost_system" >&6
28588 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_filesystem" >&5
28589 -+echo "${ECHO_T}$ncbi_cv_lib_boost_filesystem" >&6; }
28590 -
28591 - BOOST_TEST_PEM_LIBS=-lboost_prg_exec_monitor${BOOST_TAG}
28592 - if test -f "$BOOST_LIBPATH_/libboost_prg_exec_monitor${BOOST_TAG}-static.a"; then
28593 -@@ -25906,8 +29774,8 @@
28594 - BOOST_TEST_TEM_LIBS=$BOOST_TEST_TEM_STATIC_LIBS
28595 - BOOST_TEST_UTF_LIBS=$BOOST_TEST_UTF_STATIC_LIBS
28596 -
28597 -- echo "$as_me:$LINENO: checking for Boost.Test in $BOOST_PATH" >&5
28598 --echo $ECHO_N "checking for Boost.Test in $BOOST_PATH... $ECHO_C" >&6
28599 -+ { echo "$as_me:$LINENO: checking for Boost.Test$in_path" >&5
28600 -+echo $ECHO_N "checking for Boost.Test$in_path... $ECHO_C" >&6; }
28601 - if test "${ncbi_cv_lib_boost_test+set}" = set; then
28602 - echo $ECHO_N "(cached) $ECHO_C" >&6
28603 - else
28604 -@@ -25940,24 +29808,36 @@
28605 - }
28606 - _ACEOF
28607 - rm -f conftest.$ac_objext conftest$ac_exeext
28608 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28609 -- (eval $ac_link) 2>conftest.er1
28610 -+if { (ac_try="$ac_link"
28611 -+case "(($ac_try" in
28612 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28613 -+ *) ac_try_echo=$ac_try;;
28614 -+esac
28615 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28616 -+ (eval "$ac_link") 2>conftest.er1
28617 - ac_status=$?
28618 - grep -v '^ *+' conftest.er1 >conftest.err
28619 - rm -f conftest.er1
28620 - cat conftest.err >&5
28621 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28622 - (exit $ac_status); } &&
28623 -- { ac_try='test -z "$ac_cxx_werror_flag"
28624 -- || test ! -s conftest.err'
28625 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28626 -- (eval $ac_try) 2>&5
28627 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28628 -+ { (case "(($ac_try" in
28629 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28630 -+ *) ac_try_echo=$ac_try;;
28631 -+esac
28632 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28633 -+ (eval "$ac_try") 2>&5
28634 - ac_status=$?
28635 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28636 - (exit $ac_status); }; } &&
28637 - { ac_try='test -s conftest$ac_exeext'
28638 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28639 -- (eval $ac_try) 2>&5
28640 -+ { (case "(($ac_try" in
28641 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28642 -+ *) ac_try_echo=$ac_try;;
28643 -+esac
28644 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28645 -+ (eval "$ac_try") 2>&5
28646 - ac_status=$?
28647 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28648 - (exit $ac_status); }; }; then
28649 -@@ -25966,8 +29846,10 @@
28650 - echo "$as_me: failed program was:" >&5
28651 - sed 's/^/| /' conftest.$ac_ext >&5
28652 -
28653 -+
28654 - fi
28655 --rm -f conftest.err conftest.$ac_objext \
28656 -+
28657 -+rm -f core conftest.err conftest.$ac_objext \
28658 - conftest$ac_exeext conftest.$ac_ext
28659 - done
28660 - case "$found" in
28661 -@@ -25977,8 +29859,8 @@
28662 - '' ) ncbi_cv_lib_boost_test=no ;;
28663 - esac
28664 - fi
28665 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_test" >&5
28666 --echo "${ECHO_T}$ncbi_cv_lib_boost_test" >&6
28667 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_test" >&5
28668 -+echo "${ECHO_T}$ncbi_cv_lib_boost_test" >&6; }
28669 -
28670 - BOOST_THREAD_LIBS="-lboost_thread${BOOST_TAG} $BOOST_SYSTEM_LIBS"
28671 - if test -f "$BOOST_LIBPATH_/libboost_thread${BOOST_TAG}-static.a"; then
28672 -@@ -25987,8 +29869,8 @@
28673 - BOOST_THREAD_STATIC_LIBS=$BOOST_THREAD_LIBS
28674 - fi
28675 -
28676 -- echo "$as_me:$LINENO: checking for Boost.Threads in $BOOST_PATH" >&5
28677 --echo $ECHO_N "checking for Boost.Threads in $BOOST_PATH... $ECHO_C" >&6
28678 -+ { echo "$as_me:$LINENO: checking for Boost.Threads$in_path" >&5
28679 -+echo $ECHO_N "checking for Boost.Threads$in_path... $ECHO_C" >&6; }
28680 - if test "${ncbi_cv_lib_boost_thread+set}" = set; then
28681 - echo $ECHO_N "(cached) $ECHO_C" >&6
28682 - else
28683 -@@ -26010,24 +29892,36 @@
28684 - }
28685 - _ACEOF
28686 - rm -f conftest.$ac_objext conftest$ac_exeext
28687 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28688 -- (eval $ac_link) 2>conftest.er1
28689 -+if { (ac_try="$ac_link"
28690 -+case "(($ac_try" in
28691 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28692 -+ *) ac_try_echo=$ac_try;;
28693 -+esac
28694 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28695 -+ (eval "$ac_link") 2>conftest.er1
28696 - ac_status=$?
28697 - grep -v '^ *+' conftest.er1 >conftest.err
28698 - rm -f conftest.er1
28699 - cat conftest.err >&5
28700 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28701 - (exit $ac_status); } &&
28702 -- { ac_try='test -z "$ac_cxx_werror_flag"
28703 -- || test ! -s conftest.err'
28704 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28705 -- (eval $ac_try) 2>&5
28706 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28707 -+ { (case "(($ac_try" in
28708 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28709 -+ *) ac_try_echo=$ac_try;;
28710 -+esac
28711 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28712 -+ (eval "$ac_try") 2>&5
28713 - ac_status=$?
28714 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28715 - (exit $ac_status); }; } &&
28716 - { ac_try='test -s conftest$ac_exeext'
28717 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28718 -- (eval $ac_try) 2>&5
28719 -+ { (case "(($ac_try" in
28720 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28721 -+ *) ac_try_echo=$ac_try;;
28722 -+esac
28723 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28724 -+ (eval "$ac_try") 2>&5
28725 - ac_status=$?
28726 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28727 - (exit $ac_status); }; }; then
28728 -@@ -26038,21 +29932,33 @@
28729 -
28730 - ncbi_cv_lib_boost_thread=no
28731 - fi
28732 --rm -f conftest.err conftest.$ac_objext \
28733 -+
28734 -+rm -f core conftest.err conftest.$ac_objext \
28735 - conftest$ac_exeext conftest.$ac_ext
28736 - fi
28737 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_thread" >&5
28738 --echo "${ECHO_T}$ncbi_cv_lib_boost_thread" >&6
28739 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_boost_thread" >&5
28740 -+echo "${ECHO_T}$ncbi_cv_lib_boost_thread" >&6; }
28741 - else
28742 - BOOST_INCLUDE=
28743 - BOOST_LIBPATH=
28744 - BOOST_TAG=
28745 -+ ncbi_cv_lib_boost_filesystem=no
28746 - ncbi_cv_lib_boost_regex=no
28747 - ncbi_cv_lib_boost_spirit=no
28748 -+ ncbi_cv_lib_boost_system=no
28749 - ncbi_cv_lib_boost_test=no
28750 - ncbi_cv_lib_boost_thread=no
28751 - fi
28752 -
28753 -+if test "$ncbi_cv_lib_boost_filesystem" != "no"; then
28754 -+ WithPackages="$WithPackages${WithPackagesSep}Boost.Filesystem"; WithPackagesSep=" "
28755 -+else
28756 -+ boost_fs_lib=
28757 -+ boost_fs_static_lib=
28758 -+ BOOST_FILESYSTEM_LIBS=
28759 -+ BOOST_FILESYSTEM_STATIC_LIBS=
28760 -+fi
28761 -+
28762 - if test "$ncbi_cv_lib_boost_regex" != "no"; then
28763 -
28764 - cat >>confdefs.h <<\_ACEOF
28765 -@@ -26122,7 +30028,10 @@
28766 -
28767 - ## NCBI C Toolkit
28768 - if test "$with_ncbi_c" != "no" ; then
28769 -- NCBI_C_PATH=${NCBI_C_PATH:="$NCBI"}
28770 -+ if test "${with_ncbi_c-yes}" != yes; then
28771 -+ NCBI_C_PATH=$with_ncbi_c
28772 -+ fi
28773 -+ : ${NCBI_C_PATH="$NCBI"}
28774 - if test "$ncbi_compiler" = ICC -a -d "$NCBI_C_PATH/ncbi_icc"; then
28775 - NCBI_C_PATH=$NCBI_C_PATH/ncbi_icc
28776 - fi
28777 -@@ -26144,8 +30053,8 @@
28778 - NCBI_C_ncbi="-lncbi"
28779 - fi
28780 - NCBI_C_LIBPATH="-L$NCBI_C_LIBPATH"
28781 -- echo "$as_me:$LINENO: checking for the NCBI C toolkit in $NCBI_C_PATH" >&5
28782 --echo $ECHO_N "checking for the NCBI C toolkit in $NCBI_C_PATH... $ECHO_C" >&6
28783 -+ { echo "$as_me:$LINENO: checking for the NCBI C toolkit${NCBI_C_PATH:+ in $NCBI_C_PATH}" >&5
28784 -+echo $ECHO_N "checking for the NCBI C toolkit${NCBI_C_PATH:+ in $NCBI_C_PATH}... $ECHO_C" >&6; }
28785 - if test "${ncbi_cv_lib_ctools+set}" = set; then
28786 - echo $ECHO_N "(cached) $ECHO_C" >&6
28787 - else
28788 -@@ -26167,24 +30076,36 @@
28789 - }
28790 - _ACEOF
28791 - rm -f conftest.$ac_objext conftest$ac_exeext
28792 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28793 -- (eval $ac_link) 2>conftest.er1
28794 -+if { (ac_try="$ac_link"
28795 -+case "(($ac_try" in
28796 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28797 -+ *) ac_try_echo=$ac_try;;
28798 -+esac
28799 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28800 -+ (eval "$ac_link") 2>conftest.er1
28801 - ac_status=$?
28802 - grep -v '^ *+' conftest.er1 >conftest.err
28803 - rm -f conftest.er1
28804 - cat conftest.err >&5
28805 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28806 - (exit $ac_status); } &&
28807 -- { ac_try='test -z "$ac_cxx_werror_flag"
28808 -- || test ! -s conftest.err'
28809 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28810 -- (eval $ac_try) 2>&5
28811 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28812 -+ { (case "(($ac_try" in
28813 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28814 -+ *) ac_try_echo=$ac_try;;
28815 -+esac
28816 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28817 -+ (eval "$ac_try") 2>&5
28818 - ac_status=$?
28819 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28820 - (exit $ac_status); }; } &&
28821 - { ac_try='test -s conftest$ac_exeext'
28822 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28823 -- (eval $ac_try) 2>&5
28824 -+ { (case "(($ac_try" in
28825 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28826 -+ *) ac_try_echo=$ac_try;;
28827 -+esac
28828 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28829 -+ (eval "$ac_try") 2>&5
28830 - ac_status=$?
28831 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
28832 - (exit $ac_status); }; }; then
28833 -@@ -26195,11 +30116,12 @@
28834 -
28835 - ncbi_cv_lib_ctools=no
28836 - fi
28837 --rm -f conftest.err conftest.$ac_objext \
28838 -+
28839 -+rm -f core conftest.err conftest.$ac_objext \
28840 - conftest$ac_exeext conftest.$ac_ext
28841 - fi
28842 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_ctools" >&5
28843 --echo "${ECHO_T}$ncbi_cv_lib_ctools" >&6
28844 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_ctools" >&5
28845 -+echo "${ECHO_T}$ncbi_cv_lib_ctools" >&6; }
28846 - if test "$ncbi_cv_lib_ctools" = no; then
28847 - if test "${with_ncbi_c:=no}" != no; then
28848 - { { echo "$as_me:$LINENO: error: --with-ncbi-c explicitly specified, but no usable version found." >&5
28849 -@@ -26240,44 +30162,49 @@
28850 - cmp -s /usr/lib$bit64_sfx/$base $xlib || \
28851 - x_libraries=/usr/X11R6/lib$bit64_sfx x_includes=/usr/X11R6/include
28852 - fi
28853 --echo "$as_me:$LINENO: checking for X" >&5
28854 --echo $ECHO_N "checking for X... $ECHO_C" >&6
28855 -+{ echo "$as_me:$LINENO: checking for X" >&5
28856 -+echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28857 -
28858 -
28859 --# Check whether --with-x or --without-x was given.
28860 -+# Check whether --with-x was given.
28861 - if test "${with_x+set}" = set; then
28862 -- withval="$with_x"
28863 -+ withval=$with_x;
28864 -+fi
28865 -
28866 --fi;
28867 - # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28868 - if test "x$with_x" = xno; then
28869 - # The user explicitly disabled X.
28870 - have_x=disabled
28871 - else
28872 -- if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
28873 -- # Both variables are already set.
28874 -- have_x=yes
28875 -- else
28876 -- if test "${ac_cv_have_x+set}" = set; then
28877 -+ case $x_includes,$x_libraries in #(
28878 -+ *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
28879 -+echo "$as_me: error: Cannot use X directory names containing '" >&2;}
28880 -+ { (exit 1); exit 1; }; };; #(
28881 -+ *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
28882 - echo $ECHO_N "(cached) $ECHO_C" >&6
28883 - else
28884 - # One or both of the vars are not set, and there is no cached value.
28885 - ac_x_includes=no ac_x_libraries=no
28886 --rm -fr conftest.dir
28887 -+rm -f -r conftest.dir
28888 - if mkdir conftest.dir; then
28889 - cd conftest.dir
28890 -- # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28891 - cat >Imakefile <<'_ACEOF'
28892 --acfindx:
28893 -- @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28894 -+incroot:
28895 -+ @echo incroot='${INCROOT}'
28896 -+usrlibdir:
28897 -+ @echo usrlibdir='${USRLIBDIR}'
28898 -+libdir:
28899 -+ @echo libdir='${LIBDIR}'
28900 - _ACEOF
28901 -- if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
28902 -+ if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28903 - # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28904 -- eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28905 -+ for ac_var in incroot usrlibdir libdir; do
28906 -+ eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
28907 -+ done
28908 - # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28909 - for ac_extension in a so sl; do
28910 -- if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
28911 -- test -f $ac_im_libdir/libX11.$ac_extension; then
28912 -+ if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28913 -+ test -f "$ac_im_libdir/libX11.$ac_extension"; then
28914 - ac_im_usrlibdir=$ac_im_libdir; break
28915 - fi
28916 - done
28917 -@@ -26285,7 +30212,7 @@
28918 - # bogus both because they are the default anyway, and because
28919 - # using them would break gcc on systems where it needs fixed includes.
28920 - case $ac_im_incroot in
28921 -- /usr/include) ;;
28922 -+ /usr/include) ac_x_includes= ;;
28923 - *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28924 - esac
28925 - case $ac_im_usrlibdir in
28926 -@@ -26294,7 +30221,7 @@
28927 - esac
28928 - fi
28929 - cd ..
28930 -- rm -fr conftest.dir
28931 -+ rm -f -r conftest.dir
28932 - fi
28933 -
28934 - # Standard set of common directories for X headers.
28935 -@@ -26335,7 +30262,7 @@
28936 - /usr/openwin/share/include'
28937 -
28938 - if test "$ac_x_includes" = no; then
28939 -- # Guess where to find include files, by looking for Intrinsic.h.
28940 -+ # Guess where to find include files, by looking for Xlib.h.
28941 - # First, try using that file with no special directory specified.
28942 - cat >conftest.$ac_ext <<_ACEOF
28943 - /* confdefs.h. */
28944 -@@ -26343,10 +30270,15 @@
28945 - cat confdefs.h >>conftest.$ac_ext
28946 - cat >>conftest.$ac_ext <<_ACEOF
28947 - /* end confdefs.h. */
28948 --#include <X11/Intrinsic.h>
28949 -+#include <X11/Xlib.h>
28950 - _ACEOF
28951 --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28952 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28953 -+if { (ac_try="$ac_cpp conftest.$ac_ext"
28954 -+case "(($ac_try" in
28955 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28956 -+ *) ac_try_echo=$ac_try;;
28957 -+esac
28958 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28959 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28960 - ac_status=$?
28961 - grep -v '^ *+' conftest.er1 >conftest.err
28962 - rm -f conftest.er1
28963 -@@ -26370,12 +30302,13 @@
28964 - sed 's/^/| /' conftest.$ac_ext >&5
28965 -
28966 - for ac_dir in $ac_x_header_dirs; do
28967 -- if test -r "$ac_dir/X11/Intrinsic.h"; then
28968 -+ if test -r "$ac_dir/X11/Xlib.h"; then
28969 - ac_x_includes=$ac_dir
28970 - break
28971 - fi
28972 - done
28973 - fi
28974 -+
28975 - rm -f conftest.err conftest.$ac_ext
28976 - fi # $ac_x_includes = no
28977 -
28978 -@@ -26391,34 +30324,46 @@
28979 - cat confdefs.h >>conftest.$ac_ext
28980 - cat >>conftest.$ac_ext <<_ACEOF
28981 - /* end confdefs.h. */
28982 --#include <X11/Intrinsic.h>
28983 -+#include <X11/Xlib.h>
28984 - int
28985 - main ()
28986 - {
28987 --XtMalloc (0)
28988 -+XrmInitialize ()
28989 - ;
28990 - return 0;
28991 - }
28992 - _ACEOF
28993 - rm -f conftest.$ac_objext conftest$ac_exeext
28994 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28995 -- (eval $ac_link) 2>conftest.er1
28996 -+if { (ac_try="$ac_link"
28997 -+case "(($ac_try" in
28998 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28999 -+ *) ac_try_echo=$ac_try;;
29000 -+esac
29001 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29002 -+ (eval "$ac_link") 2>conftest.er1
29003 - ac_status=$?
29004 - grep -v '^ *+' conftest.er1 >conftest.err
29005 - rm -f conftest.er1
29006 - cat conftest.err >&5
29007 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29008 - (exit $ac_status); } &&
29009 -- { ac_try='test -z "$ac_cxx_werror_flag"
29010 -- || test ! -s conftest.err'
29011 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29012 -- (eval $ac_try) 2>&5
29013 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29014 -+ { (case "(($ac_try" in
29015 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29016 -+ *) ac_try_echo=$ac_try;;
29017 -+esac
29018 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29019 -+ (eval "$ac_try") 2>&5
29020 - ac_status=$?
29021 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29022 - (exit $ac_status); }; } &&
29023 - { ac_try='test -s conftest$ac_exeext'
29024 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29025 -- (eval $ac_try) 2>&5
29026 -+ { (case "(($ac_try" in
29027 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29028 -+ *) ac_try_echo=$ac_try;;
29029 -+esac
29030 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29031 -+ (eval "$ac_try") 2>&5
29032 - ac_status=$?
29033 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29034 - (exit $ac_status); }; }; then
29035 -@@ -26434,34 +30379,38 @@
29036 - do
29037 - # Don't even attempt the hair of trying to link an X program!
29038 - for ac_extension in a so sl; do
29039 -- if test -r $ac_dir/libXt.$ac_extension; then
29040 -+ if test -r "$ac_dir/libXt.$ac_extension"; then
29041 - ac_x_libraries=$ac_dir
29042 - break 2
29043 - fi
29044 - done
29045 - done
29046 - fi
29047 --rm -f conftest.err conftest.$ac_objext \
29048 -+
29049 -+rm -f core conftest.err conftest.$ac_objext \
29050 - conftest$ac_exeext conftest.$ac_ext
29051 - fi # $ac_x_libraries = no
29052 -
29053 --if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
29054 -- # Didn't find X anywhere. Cache the known absence of X.
29055 -- ac_cv_have_x="have_x=no"
29056 --else
29057 -+case $ac_x_includes,$ac_x_libraries in #(
29058 -+ no,* | *,no | *\'*)
29059 -+ # Didn't find X, or a directory has "'" in its name.
29060 -+ ac_cv_have_x="have_x=no";; #(
29061 -+ *)
29062 - # Record where we found X for the cache.
29063 - ac_cv_have_x="have_x=yes \
29064 -- ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29065 --fi
29066 --fi
29067 --
29068 -+ ac_x_includes='$ac_x_includes'\
29069 -+ ac_x_libraries='$ac_x_libraries'"
29070 -+esac
29071 - fi
29072 -+;; #(
29073 -+ *) have_x=yes;;
29074 -+ esac
29075 - eval "$ac_cv_have_x"
29076 - fi # $with_x != no
29077 -
29078 - if test "$have_x" != yes; then
29079 -- echo "$as_me:$LINENO: result: $have_x" >&5
29080 --echo "${ECHO_T}$have_x" >&6
29081 -+ { echo "$as_me:$LINENO: result: $have_x" >&5
29082 -+echo "${ECHO_T}$have_x" >&6; }
29083 - no_x=yes
29084 - else
29085 - # If each of the values was on the command line, it overrides each guess.
29086 -@@ -26469,9 +30418,10 @@
29087 - test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29088 - # Update the cache value to reflect the command line values.
29089 - ac_cv_have_x="have_x=yes \
29090 -- ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29091 -- echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29092 --echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
29093 -+ ac_x_includes='$x_includes'\
29094 -+ ac_x_libraries='$x_libraries'"
29095 -+ { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29096 -+echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29097 - fi
29098 -
29099 - if test "$no_x" = yes; then
29100 -@@ -26494,8 +30444,8 @@
29101 - # others require no space. Words are not sufficient . . . .
29102 - case `(uname -sr) 2>/dev/null` in
29103 - "SunOS 5"*)
29104 -- echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29105 --echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29106 -+ { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29107 -+echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29108 - ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29109 - cat >conftest.$ac_ext <<_ACEOF
29110 - /* confdefs.h. */
29111 -@@ -26513,24 +30463,36 @@
29112 - }
29113 - _ACEOF
29114 - rm -f conftest.$ac_objext conftest$ac_exeext
29115 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29116 -- (eval $ac_link) 2>conftest.er1
29117 -+if { (ac_try="$ac_link"
29118 -+case "(($ac_try" in
29119 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29120 -+ *) ac_try_echo=$ac_try;;
29121 -+esac
29122 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29123 -+ (eval "$ac_link") 2>conftest.er1
29124 - ac_status=$?
29125 - grep -v '^ *+' conftest.er1 >conftest.err
29126 - rm -f conftest.er1
29127 - cat conftest.err >&5
29128 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29129 - (exit $ac_status); } &&
29130 -- { ac_try='test -z "$ac_cxx_werror_flag"
29131 -- || test ! -s conftest.err'
29132 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29133 -- (eval $ac_try) 2>&5
29134 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29135 -+ { (case "(($ac_try" in
29136 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29137 -+ *) ac_try_echo=$ac_try;;
29138 -+esac
29139 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29140 -+ (eval "$ac_try") 2>&5
29141 - ac_status=$?
29142 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29143 - (exit $ac_status); }; } &&
29144 - { ac_try='test -s conftest$ac_exeext'
29145 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29146 -- (eval $ac_try) 2>&5
29147 -+ { (case "(($ac_try" in
29148 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29149 -+ *) ac_try_echo=$ac_try;;
29150 -+esac
29151 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29152 -+ (eval "$ac_try") 2>&5
29153 - ac_status=$?
29154 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29155 - (exit $ac_status); }; }; then
29156 -@@ -26541,11 +30503,12 @@
29157 -
29158 - ac_R_nospace=no
29159 - fi
29160 --rm -f conftest.err conftest.$ac_objext \
29161 -+
29162 -+rm -f core conftest.err conftest.$ac_objext \
29163 - conftest$ac_exeext conftest.$ac_ext
29164 - if test $ac_R_nospace = yes; then
29165 -- echo "$as_me:$LINENO: result: no" >&5
29166 --echo "${ECHO_T}no" >&6
29167 -+ { echo "$as_me:$LINENO: result: no" >&5
29168 -+echo "${ECHO_T}no" >&6; }
29169 - X_LIBS="$X_LIBS -R$x_libraries"
29170 - else
29171 - LIBS="$ac_xsave_LIBS -R $x_libraries"
29172 -@@ -26565,24 +30528,36 @@
29173 - }
29174 - _ACEOF
29175 - rm -f conftest.$ac_objext conftest$ac_exeext
29176 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29177 -- (eval $ac_link) 2>conftest.er1
29178 -+if { (ac_try="$ac_link"
29179 -+case "(($ac_try" in
29180 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29181 -+ *) ac_try_echo=$ac_try;;
29182 -+esac
29183 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29184 -+ (eval "$ac_link") 2>conftest.er1
29185 - ac_status=$?
29186 - grep -v '^ *+' conftest.er1 >conftest.err
29187 - rm -f conftest.er1
29188 - cat conftest.err >&5
29189 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29190 - (exit $ac_status); } &&
29191 -- { ac_try='test -z "$ac_cxx_werror_flag"
29192 -- || test ! -s conftest.err'
29193 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29194 -- (eval $ac_try) 2>&5
29195 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29196 -+ { (case "(($ac_try" in
29197 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29198 -+ *) ac_try_echo=$ac_try;;
29199 -+esac
29200 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29201 -+ (eval "$ac_try") 2>&5
29202 - ac_status=$?
29203 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29204 - (exit $ac_status); }; } &&
29205 - { ac_try='test -s conftest$ac_exeext'
29206 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29207 -- (eval $ac_try) 2>&5
29208 -+ { (case "(($ac_try" in
29209 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29210 -+ *) ac_try_echo=$ac_try;;
29211 -+esac
29212 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29213 -+ (eval "$ac_try") 2>&5
29214 - ac_status=$?
29215 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29216 - (exit $ac_status); }; }; then
29217 -@@ -26593,15 +30568,16 @@
29218 -
29219 - ac_R_space=no
29220 - fi
29221 --rm -f conftest.err conftest.$ac_objext \
29222 -+
29223 -+rm -f core conftest.err conftest.$ac_objext \
29224 - conftest$ac_exeext conftest.$ac_ext
29225 - if test $ac_R_space = yes; then
29226 -- echo "$as_me:$LINENO: result: yes" >&5
29227 --echo "${ECHO_T}yes" >&6
29228 -+ { echo "$as_me:$LINENO: result: yes" >&5
29229 -+echo "${ECHO_T}yes" >&6; }
29230 - X_LIBS="$X_LIBS -R $x_libraries"
29231 - else
29232 -- echo "$as_me:$LINENO: result: neither works" >&5
29233 --echo "${ECHO_T}neither works" >&6
29234 -+ { echo "$as_me:$LINENO: result: neither works" >&5
29235 -+echo "${ECHO_T}neither works" >&6; }
29236 - fi
29237 - fi
29238 - LIBS=$ac_xsave_LIBS
29239 -@@ -26626,40 +30602,52 @@
29240 - cat >>conftest.$ac_ext <<_ACEOF
29241 - /* end confdefs.h. */
29242 -
29243 --/* Override any gcc2 internal prototype to avoid an error. */
29244 -+/* Override any GCC internal prototype to avoid an error.
29245 -+ Use char because int might match the return type of a GCC
29246 -+ builtin and then its argument prototype would still apply. */
29247 - #ifdef __cplusplus
29248 - extern "C"
29249 - #endif
29250 --/* We use char because int might match the return type of a gcc2
29251 -- builtin and then its argument prototype would still apply. */
29252 - char XOpenDisplay ();
29253 - int
29254 - main ()
29255 - {
29256 --XOpenDisplay ();
29257 -+return XOpenDisplay ();
29258 - ;
29259 - return 0;
29260 - }
29261 - _ACEOF
29262 - rm -f conftest.$ac_objext conftest$ac_exeext
29263 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29264 -- (eval $ac_link) 2>conftest.er1
29265 -+if { (ac_try="$ac_link"
29266 -+case "(($ac_try" in
29267 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29268 -+ *) ac_try_echo=$ac_try;;
29269 -+esac
29270 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29271 -+ (eval "$ac_link") 2>conftest.er1
29272 - ac_status=$?
29273 - grep -v '^ *+' conftest.er1 >conftest.err
29274 - rm -f conftest.er1
29275 - cat conftest.err >&5
29276 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29277 - (exit $ac_status); } &&
29278 -- { ac_try='test -z "$ac_cxx_werror_flag"
29279 -- || test ! -s conftest.err'
29280 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29281 -- (eval $ac_try) 2>&5
29282 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29283 -+ { (case "(($ac_try" in
29284 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29285 -+ *) ac_try_echo=$ac_try;;
29286 -+esac
29287 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29288 -+ (eval "$ac_try") 2>&5
29289 - ac_status=$?
29290 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29291 - (exit $ac_status); }; } &&
29292 - { ac_try='test -s conftest$ac_exeext'
29293 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29294 -- (eval $ac_try) 2>&5
29295 -+ { (case "(($ac_try" in
29296 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29297 -+ *) ac_try_echo=$ac_try;;
29298 -+esac
29299 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29300 -+ (eval "$ac_try") 2>&5
29301 - ac_status=$?
29302 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29303 - (exit $ac_status); }; }; then
29304 -@@ -26668,8 +30656,8 @@
29305 - echo "$as_me: failed program was:" >&5
29306 - sed 's/^/| /' conftest.$ac_ext >&5
29307 -
29308 --echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29309 --echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29310 -+ { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29311 -+echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29312 - if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29313 - echo $ECHO_N "(cached) $ECHO_C" >&6
29314 - else
29315 -@@ -26682,40 +30670,52 @@
29316 - cat >>conftest.$ac_ext <<_ACEOF
29317 - /* end confdefs.h. */
29318 -
29319 --/* Override any gcc2 internal prototype to avoid an error. */
29320 -+/* Override any GCC internal prototype to avoid an error.
29321 -+ Use char because int might match the return type of a GCC
29322 -+ builtin and then its argument prototype would still apply. */
29323 - #ifdef __cplusplus
29324 - extern "C"
29325 - #endif
29326 --/* We use char because int might match the return type of a gcc2
29327 -- builtin and then its argument prototype would still apply. */
29328 - char dnet_ntoa ();
29329 - int
29330 - main ()
29331 - {
29332 --dnet_ntoa ();
29333 -+return dnet_ntoa ();
29334 - ;
29335 - return 0;
29336 - }
29337 - _ACEOF
29338 - rm -f conftest.$ac_objext conftest$ac_exeext
29339 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29340 -- (eval $ac_link) 2>conftest.er1
29341 -+if { (ac_try="$ac_link"
29342 -+case "(($ac_try" in
29343 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29344 -+ *) ac_try_echo=$ac_try;;
29345 -+esac
29346 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29347 -+ (eval "$ac_link") 2>conftest.er1
29348 - ac_status=$?
29349 - grep -v '^ *+' conftest.er1 >conftest.err
29350 - rm -f conftest.er1
29351 - cat conftest.err >&5
29352 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29353 - (exit $ac_status); } &&
29354 -- { ac_try='test -z "$ac_cxx_werror_flag"
29355 -- || test ! -s conftest.err'
29356 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29357 -- (eval $ac_try) 2>&5
29358 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29359 -+ { (case "(($ac_try" in
29360 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29361 -+ *) ac_try_echo=$ac_try;;
29362 -+esac
29363 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29364 -+ (eval "$ac_try") 2>&5
29365 - ac_status=$?
29366 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29367 - (exit $ac_status); }; } &&
29368 - { ac_try='test -s conftest$ac_exeext'
29369 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29370 -- (eval $ac_try) 2>&5
29371 -+ { (case "(($ac_try" in
29372 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29373 -+ *) ac_try_echo=$ac_try;;
29374 -+esac
29375 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29376 -+ (eval "$ac_try") 2>&5
29377 - ac_status=$?
29378 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29379 - (exit $ac_status); }; }; then
29380 -@@ -26726,19 +30726,20 @@
29381 -
29382 - ac_cv_lib_dnet_dnet_ntoa=no
29383 - fi
29384 --rm -f conftest.err conftest.$ac_objext \
29385 -+
29386 -+rm -f core conftest.err conftest.$ac_objext \
29387 - conftest$ac_exeext conftest.$ac_ext
29388 - LIBS=$ac_check_lib_save_LIBS
29389 - fi
29390 --echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29391 --echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29392 -+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29393 -+echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29394 - if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29395 - X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29396 - fi
29397 -
29398 - if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29399 -- echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29400 --echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29401 -+ { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29402 -+echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29403 - if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29404 - echo $ECHO_N "(cached) $ECHO_C" >&6
29405 - else
29406 -@@ -26751,40 +30752,52 @@
29407 - cat >>conftest.$ac_ext <<_ACEOF
29408 - /* end confdefs.h. */
29409 -
29410 --/* Override any gcc2 internal prototype to avoid an error. */
29411 -+/* Override any GCC internal prototype to avoid an error.
29412 -+ Use char because int might match the return type of a GCC
29413 -+ builtin and then its argument prototype would still apply. */
29414 - #ifdef __cplusplus
29415 - extern "C"
29416 - #endif
29417 --/* We use char because int might match the return type of a gcc2
29418 -- builtin and then its argument prototype would still apply. */
29419 - char dnet_ntoa ();
29420 - int
29421 - main ()
29422 - {
29423 --dnet_ntoa ();
29424 -+return dnet_ntoa ();
29425 - ;
29426 - return 0;
29427 - }
29428 - _ACEOF
29429 - rm -f conftest.$ac_objext conftest$ac_exeext
29430 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29431 -- (eval $ac_link) 2>conftest.er1
29432 -+if { (ac_try="$ac_link"
29433 -+case "(($ac_try" in
29434 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29435 -+ *) ac_try_echo=$ac_try;;
29436 -+esac
29437 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29438 -+ (eval "$ac_link") 2>conftest.er1
29439 - ac_status=$?
29440 - grep -v '^ *+' conftest.er1 >conftest.err
29441 - rm -f conftest.er1
29442 - cat conftest.err >&5
29443 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29444 - (exit $ac_status); } &&
29445 -- { ac_try='test -z "$ac_cxx_werror_flag"
29446 -- || test ! -s conftest.err'
29447 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29448 -- (eval $ac_try) 2>&5
29449 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29450 -+ { (case "(($ac_try" in
29451 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29452 -+ *) ac_try_echo=$ac_try;;
29453 -+esac
29454 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29455 -+ (eval "$ac_try") 2>&5
29456 - ac_status=$?
29457 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29458 - (exit $ac_status); }; } &&
29459 - { ac_try='test -s conftest$ac_exeext'
29460 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29461 -- (eval $ac_try) 2>&5
29462 -+ { (case "(($ac_try" in
29463 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29464 -+ *) ac_try_echo=$ac_try;;
29465 -+esac
29466 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29467 -+ (eval "$ac_try") 2>&5
29468 - ac_status=$?
29469 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29470 - (exit $ac_status); }; }; then
29471 -@@ -26795,19 +30808,21 @@
29472 -
29473 - ac_cv_lib_dnet_stub_dnet_ntoa=no
29474 - fi
29475 --rm -f conftest.err conftest.$ac_objext \
29476 -+
29477 -+rm -f core conftest.err conftest.$ac_objext \
29478 - conftest$ac_exeext conftest.$ac_ext
29479 - LIBS=$ac_check_lib_save_LIBS
29480 - fi
29481 --echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29482 --echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29483 -+{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29484 -+echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29485 - if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29486 - X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29487 - fi
29488 -
29489 - fi
29490 - fi
29491 --rm -f conftest.err conftest.$ac_objext \
29492 -+
29493 -+rm -f core conftest.err conftest.$ac_objext \
29494 - conftest$ac_exeext conftest.$ac_ext
29495 - LIBS="$ac_xsave_LIBS"
29496 -
29497 -@@ -26819,8 +30834,8 @@
29498 - # on Irix 5.2, according to T.E. Dickey.
29499 - # The functions gethostbyname, getservbyname, and inet_addr are
29500 - # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29501 -- echo "$as_me:$LINENO: checking for gethostbyname" >&5
29502 --echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29503 -+ { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29504 -+echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29505 - if test "${ac_cv_func_gethostbyname+set}" = set; then
29506 - echo $ECHO_N "(cached) $ECHO_C" >&6
29507 - else
29508 -@@ -26847,53 +30862,59 @@
29509 -
29510 - #undef gethostbyname
29511 -
29512 --/* Override any gcc2 internal prototype to avoid an error. */
29513 -+/* Override any GCC internal prototype to avoid an error.
29514 -+ Use char because int might match the return type of a GCC
29515 -+ builtin and then its argument prototype would still apply. */
29516 - #ifdef __cplusplus
29517 - extern "C"
29518 --{
29519 - #endif
29520 --/* We use char because int might match the return type of a gcc2
29521 -- builtin and then its argument prototype would still apply. */
29522 - char gethostbyname ();
29523 - /* The GNU C library defines this for functions which it implements
29524 - to always fail with ENOSYS. Some functions are actually named
29525 - something starting with __ and the normal name is an alias. */
29526 --#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29527 -+#if defined __stub_gethostbyname || defined __stub___gethostbyname
29528 - choke me
29529 --#else
29530 --char (*f) () = gethostbyname;
29531 --#endif
29532 --#ifdef __cplusplus
29533 --}
29534 - #endif
29535 -
29536 - int
29537 - main ()
29538 - {
29539 --return f != gethostbyname;
29540 -+return gethostbyname ();
29541 - ;
29542 - return 0;
29543 - }
29544 - _ACEOF
29545 - rm -f conftest.$ac_objext conftest$ac_exeext
29546 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29547 -- (eval $ac_link) 2>conftest.er1
29548 -+if { (ac_try="$ac_link"
29549 -+case "(($ac_try" in
29550 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29551 -+ *) ac_try_echo=$ac_try;;
29552 -+esac
29553 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29554 -+ (eval "$ac_link") 2>conftest.er1
29555 - ac_status=$?
29556 - grep -v '^ *+' conftest.er1 >conftest.err
29557 - rm -f conftest.er1
29558 - cat conftest.err >&5
29559 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29560 - (exit $ac_status); } &&
29561 -- { ac_try='test -z "$ac_cxx_werror_flag"
29562 -- || test ! -s conftest.err'
29563 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29564 -- (eval $ac_try) 2>&5
29565 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29566 -+ { (case "(($ac_try" in
29567 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29568 -+ *) ac_try_echo=$ac_try;;
29569 -+esac
29570 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29571 -+ (eval "$ac_try") 2>&5
29572 - ac_status=$?
29573 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29574 - (exit $ac_status); }; } &&
29575 - { ac_try='test -s conftest$ac_exeext'
29576 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29577 -- (eval $ac_try) 2>&5
29578 -+ { (case "(($ac_try" in
29579 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29580 -+ *) ac_try_echo=$ac_try;;
29581 -+esac
29582 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29583 -+ (eval "$ac_try") 2>&5
29584 - ac_status=$?
29585 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29586 - (exit $ac_status); }; }; then
29587 -@@ -26904,15 +30925,16 @@
29588 -
29589 - ac_cv_func_gethostbyname=no
29590 - fi
29591 --rm -f conftest.err conftest.$ac_objext \
29592 -+
29593 -+rm -f core conftest.err conftest.$ac_objext \
29594 - conftest$ac_exeext conftest.$ac_ext
29595 - fi
29596 --echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29597 --echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29598 -+{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29599 -+echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29600 -
29601 - if test $ac_cv_func_gethostbyname = no; then
29602 -- echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29603 --echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29604 -+ { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29605 -+echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29606 - if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29607 - echo $ECHO_N "(cached) $ECHO_C" >&6
29608 - else
29609 -@@ -26925,40 +30947,52 @@
29610 - cat >>conftest.$ac_ext <<_ACEOF
29611 - /* end confdefs.h. */
29612 -
29613 --/* Override any gcc2 internal prototype to avoid an error. */
29614 -+/* Override any GCC internal prototype to avoid an error.
29615 -+ Use char because int might match the return type of a GCC
29616 -+ builtin and then its argument prototype would still apply. */
29617 - #ifdef __cplusplus
29618 - extern "C"
29619 - #endif
29620 --/* We use char because int might match the return type of a gcc2
29621 -- builtin and then its argument prototype would still apply. */
29622 - char gethostbyname ();
29623 - int
29624 - main ()
29625 - {
29626 --gethostbyname ();
29627 -+return gethostbyname ();
29628 - ;
29629 - return 0;
29630 - }
29631 - _ACEOF
29632 - rm -f conftest.$ac_objext conftest$ac_exeext
29633 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29634 -- (eval $ac_link) 2>conftest.er1
29635 -+if { (ac_try="$ac_link"
29636 -+case "(($ac_try" in
29637 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29638 -+ *) ac_try_echo=$ac_try;;
29639 -+esac
29640 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29641 -+ (eval "$ac_link") 2>conftest.er1
29642 - ac_status=$?
29643 - grep -v '^ *+' conftest.er1 >conftest.err
29644 - rm -f conftest.er1
29645 - cat conftest.err >&5
29646 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29647 - (exit $ac_status); } &&
29648 -- { ac_try='test -z "$ac_cxx_werror_flag"
29649 -- || test ! -s conftest.err'
29650 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29651 -- (eval $ac_try) 2>&5
29652 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29653 -+ { (case "(($ac_try" in
29654 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29655 -+ *) ac_try_echo=$ac_try;;
29656 -+esac
29657 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29658 -+ (eval "$ac_try") 2>&5
29659 - ac_status=$?
29660 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29661 - (exit $ac_status); }; } &&
29662 - { ac_try='test -s conftest$ac_exeext'
29663 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29664 -- (eval $ac_try) 2>&5
29665 -+ { (case "(($ac_try" in
29666 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29667 -+ *) ac_try_echo=$ac_try;;
29668 -+esac
29669 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29670 -+ (eval "$ac_try") 2>&5
29671 - ac_status=$?
29672 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29673 - (exit $ac_status); }; }; then
29674 -@@ -26969,19 +31003,20 @@
29675 -
29676 - ac_cv_lib_nsl_gethostbyname=no
29677 - fi
29678 --rm -f conftest.err conftest.$ac_objext \
29679 -+
29680 -+rm -f core conftest.err conftest.$ac_objext \
29681 - conftest$ac_exeext conftest.$ac_ext
29682 - LIBS=$ac_check_lib_save_LIBS
29683 - fi
29684 --echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29685 --echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
29686 -+{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29687 -+echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29688 - if test $ac_cv_lib_nsl_gethostbyname = yes; then
29689 - X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29690 - fi
29691 -
29692 - if test $ac_cv_lib_nsl_gethostbyname = no; then
29693 -- echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29694 --echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
29695 -+ { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29696 -+echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29697 - if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29698 - echo $ECHO_N "(cached) $ECHO_C" >&6
29699 - else
29700 -@@ -26994,40 +31029,52 @@
29701 - cat >>conftest.$ac_ext <<_ACEOF
29702 - /* end confdefs.h. */
29703 -
29704 --/* Override any gcc2 internal prototype to avoid an error. */
29705 -+/* Override any GCC internal prototype to avoid an error.
29706 -+ Use char because int might match the return type of a GCC
29707 -+ builtin and then its argument prototype would still apply. */
29708 - #ifdef __cplusplus
29709 - extern "C"
29710 - #endif
29711 --/* We use char because int might match the return type of a gcc2
29712 -- builtin and then its argument prototype would still apply. */
29713 - char gethostbyname ();
29714 - int
29715 - main ()
29716 - {
29717 --gethostbyname ();
29718 -+return gethostbyname ();
29719 - ;
29720 - return 0;
29721 - }
29722 - _ACEOF
29723 - rm -f conftest.$ac_objext conftest$ac_exeext
29724 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29725 -- (eval $ac_link) 2>conftest.er1
29726 -+if { (ac_try="$ac_link"
29727 -+case "(($ac_try" in
29728 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29729 -+ *) ac_try_echo=$ac_try;;
29730 -+esac
29731 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29732 -+ (eval "$ac_link") 2>conftest.er1
29733 - ac_status=$?
29734 - grep -v '^ *+' conftest.er1 >conftest.err
29735 - rm -f conftest.er1
29736 - cat conftest.err >&5
29737 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29738 - (exit $ac_status); } &&
29739 -- { ac_try='test -z "$ac_cxx_werror_flag"
29740 -- || test ! -s conftest.err'
29741 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29742 -- (eval $ac_try) 2>&5
29743 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29744 -+ { (case "(($ac_try" in
29745 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29746 -+ *) ac_try_echo=$ac_try;;
29747 -+esac
29748 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29749 -+ (eval "$ac_try") 2>&5
29750 - ac_status=$?
29751 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29752 - (exit $ac_status); }; } &&
29753 - { ac_try='test -s conftest$ac_exeext'
29754 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29755 -- (eval $ac_try) 2>&5
29756 -+ { (case "(($ac_try" in
29757 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29758 -+ *) ac_try_echo=$ac_try;;
29759 -+esac
29760 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29761 -+ (eval "$ac_try") 2>&5
29762 - ac_status=$?
29763 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29764 - (exit $ac_status); }; }; then
29765 -@@ -27038,12 +31085,13 @@
29766 -
29767 - ac_cv_lib_bsd_gethostbyname=no
29768 - fi
29769 --rm -f conftest.err conftest.$ac_objext \
29770 -+
29771 -+rm -f core conftest.err conftest.$ac_objext \
29772 - conftest$ac_exeext conftest.$ac_ext
29773 - LIBS=$ac_check_lib_save_LIBS
29774 - fi
29775 --echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29776 --echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
29777 -+{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29778 -+echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29779 - if test $ac_cv_lib_bsd_gethostbyname = yes; then
29780 - X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29781 - fi
29782 -@@ -27058,8 +31106,8 @@
29783 - # variants that don't use the name server (or something). -lsocket
29784 - # must be given before -lnsl if both are needed. We assume that
29785 - # if connect needs -lnsl, so does gethostbyname.
29786 -- echo "$as_me:$LINENO: checking for connect" >&5
29787 --echo $ECHO_N "checking for connect... $ECHO_C" >&6
29788 -+ { echo "$as_me:$LINENO: checking for connect" >&5
29789 -+echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29790 - if test "${ac_cv_func_connect+set}" = set; then
29791 - echo $ECHO_N "(cached) $ECHO_C" >&6
29792 - else
29793 -@@ -27086,53 +31134,59 @@
29794 -
29795 - #undef connect
29796 -
29797 --/* Override any gcc2 internal prototype to avoid an error. */
29798 -+/* Override any GCC internal prototype to avoid an error.
29799 -+ Use char because int might match the return type of a GCC
29800 -+ builtin and then its argument prototype would still apply. */
29801 - #ifdef __cplusplus
29802 - extern "C"
29803 --{
29804 - #endif
29805 --/* We use char because int might match the return type of a gcc2
29806 -- builtin and then its argument prototype would still apply. */
29807 - char connect ();
29808 - /* The GNU C library defines this for functions which it implements
29809 - to always fail with ENOSYS. Some functions are actually named
29810 - something starting with __ and the normal name is an alias. */
29811 --#if defined (__stub_connect) || defined (__stub___connect)
29812 -+#if defined __stub_connect || defined __stub___connect
29813 - choke me
29814 --#else
29815 --char (*f) () = connect;
29816 --#endif
29817 --#ifdef __cplusplus
29818 --}
29819 - #endif
29820 -
29821 - int
29822 - main ()
29823 - {
29824 --return f != connect;
29825 -+return connect ();
29826 - ;
29827 - return 0;
29828 - }
29829 - _ACEOF
29830 - rm -f conftest.$ac_objext conftest$ac_exeext
29831 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29832 -- (eval $ac_link) 2>conftest.er1
29833 -+if { (ac_try="$ac_link"
29834 -+case "(($ac_try" in
29835 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29836 -+ *) ac_try_echo=$ac_try;;
29837 -+esac
29838 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29839 -+ (eval "$ac_link") 2>conftest.er1
29840 - ac_status=$?
29841 - grep -v '^ *+' conftest.er1 >conftest.err
29842 - rm -f conftest.er1
29843 - cat conftest.err >&5
29844 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29845 - (exit $ac_status); } &&
29846 -- { ac_try='test -z "$ac_cxx_werror_flag"
29847 -- || test ! -s conftest.err'
29848 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29849 -- (eval $ac_try) 2>&5
29850 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29851 -+ { (case "(($ac_try" in
29852 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29853 -+ *) ac_try_echo=$ac_try;;
29854 -+esac
29855 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29856 -+ (eval "$ac_try") 2>&5
29857 - ac_status=$?
29858 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29859 - (exit $ac_status); }; } &&
29860 - { ac_try='test -s conftest$ac_exeext'
29861 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29862 -- (eval $ac_try) 2>&5
29863 -+ { (case "(($ac_try" in
29864 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29865 -+ *) ac_try_echo=$ac_try;;
29866 -+esac
29867 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29868 -+ (eval "$ac_try") 2>&5
29869 - ac_status=$?
29870 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29871 - (exit $ac_status); }; }; then
29872 -@@ -27143,15 +31197,16 @@
29873 -
29874 - ac_cv_func_connect=no
29875 - fi
29876 --rm -f conftest.err conftest.$ac_objext \
29877 -+
29878 -+rm -f core conftest.err conftest.$ac_objext \
29879 - conftest$ac_exeext conftest.$ac_ext
29880 - fi
29881 --echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29882 --echo "${ECHO_T}$ac_cv_func_connect" >&6
29883 -+{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29884 -+echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29885 -
29886 - if test $ac_cv_func_connect = no; then
29887 -- echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29888 --echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
29889 -+ { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29890 -+echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29891 - if test "${ac_cv_lib_socket_connect+set}" = set; then
29892 - echo $ECHO_N "(cached) $ECHO_C" >&6
29893 - else
29894 -@@ -27164,40 +31219,52 @@
29895 - cat >>conftest.$ac_ext <<_ACEOF
29896 - /* end confdefs.h. */
29897 -
29898 --/* Override any gcc2 internal prototype to avoid an error. */
29899 -+/* Override any GCC internal prototype to avoid an error.
29900 -+ Use char because int might match the return type of a GCC
29901 -+ builtin and then its argument prototype would still apply. */
29902 - #ifdef __cplusplus
29903 - extern "C"
29904 - #endif
29905 --/* We use char because int might match the return type of a gcc2
29906 -- builtin and then its argument prototype would still apply. */
29907 - char connect ();
29908 - int
29909 - main ()
29910 - {
29911 --connect ();
29912 -+return connect ();
29913 - ;
29914 - return 0;
29915 - }
29916 - _ACEOF
29917 - rm -f conftest.$ac_objext conftest$ac_exeext
29918 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29919 -- (eval $ac_link) 2>conftest.er1
29920 -+if { (ac_try="$ac_link"
29921 -+case "(($ac_try" in
29922 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29923 -+ *) ac_try_echo=$ac_try;;
29924 -+esac
29925 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29926 -+ (eval "$ac_link") 2>conftest.er1
29927 - ac_status=$?
29928 - grep -v '^ *+' conftest.er1 >conftest.err
29929 - rm -f conftest.er1
29930 - cat conftest.err >&5
29931 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29932 - (exit $ac_status); } &&
29933 -- { ac_try='test -z "$ac_cxx_werror_flag"
29934 -- || test ! -s conftest.err'
29935 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29936 -- (eval $ac_try) 2>&5
29937 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29938 -+ { (case "(($ac_try" in
29939 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29940 -+ *) ac_try_echo=$ac_try;;
29941 -+esac
29942 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29943 -+ (eval "$ac_try") 2>&5
29944 - ac_status=$?
29945 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29946 - (exit $ac_status); }; } &&
29947 - { ac_try='test -s conftest$ac_exeext'
29948 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29949 -- (eval $ac_try) 2>&5
29950 -+ { (case "(($ac_try" in
29951 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29952 -+ *) ac_try_echo=$ac_try;;
29953 -+esac
29954 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29955 -+ (eval "$ac_try") 2>&5
29956 - ac_status=$?
29957 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
29958 - (exit $ac_status); }; }; then
29959 -@@ -27208,12 +31275,13 @@
29960 -
29961 - ac_cv_lib_socket_connect=no
29962 - fi
29963 --rm -f conftest.err conftest.$ac_objext \
29964 -+
29965 -+rm -f core conftest.err conftest.$ac_objext \
29966 - conftest$ac_exeext conftest.$ac_ext
29967 - LIBS=$ac_check_lib_save_LIBS
29968 - fi
29969 --echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29970 --echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
29971 -+{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29972 -+echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29973 - if test $ac_cv_lib_socket_connect = yes; then
29974 - X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29975 - fi
29976 -@@ -27221,8 +31289,8 @@
29977 - fi
29978 -
29979 - # Guillermo Gomez says -lposix is necessary on A/UX.
29980 -- echo "$as_me:$LINENO: checking for remove" >&5
29981 --echo $ECHO_N "checking for remove... $ECHO_C" >&6
29982 -+ { echo "$as_me:$LINENO: checking for remove" >&5
29983 -+echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
29984 - if test "${ac_cv_func_remove+set}" = set; then
29985 - echo $ECHO_N "(cached) $ECHO_C" >&6
29986 - else
29987 -@@ -27249,53 +31317,59 @@
29988 -
29989 - #undef remove
29990 -
29991 --/* Override any gcc2 internal prototype to avoid an error. */
29992 -+/* Override any GCC internal prototype to avoid an error.
29993 -+ Use char because int might match the return type of a GCC
29994 -+ builtin and then its argument prototype would still apply. */
29995 - #ifdef __cplusplus
29996 - extern "C"
29997 --{
29998 - #endif
29999 --/* We use char because int might match the return type of a gcc2
30000 -- builtin and then its argument prototype would still apply. */
30001 - char remove ();
30002 - /* The GNU C library defines this for functions which it implements
30003 - to always fail with ENOSYS. Some functions are actually named
30004 - something starting with __ and the normal name is an alias. */
30005 --#if defined (__stub_remove) || defined (__stub___remove)
30006 -+#if defined __stub_remove || defined __stub___remove
30007 - choke me
30008 --#else
30009 --char (*f) () = remove;
30010 --#endif
30011 --#ifdef __cplusplus
30012 --}
30013 - #endif
30014 -
30015 - int
30016 - main ()
30017 - {
30018 --return f != remove;
30019 -+return remove ();
30020 - ;
30021 - return 0;
30022 - }
30023 - _ACEOF
30024 - rm -f conftest.$ac_objext conftest$ac_exeext
30025 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30026 -- (eval $ac_link) 2>conftest.er1
30027 -+if { (ac_try="$ac_link"
30028 -+case "(($ac_try" in
30029 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30030 -+ *) ac_try_echo=$ac_try;;
30031 -+esac
30032 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30033 -+ (eval "$ac_link") 2>conftest.er1
30034 - ac_status=$?
30035 - grep -v '^ *+' conftest.er1 >conftest.err
30036 - rm -f conftest.er1
30037 - cat conftest.err >&5
30038 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30039 - (exit $ac_status); } &&
30040 -- { ac_try='test -z "$ac_cxx_werror_flag"
30041 -- || test ! -s conftest.err'
30042 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30043 -- (eval $ac_try) 2>&5
30044 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30045 -+ { (case "(($ac_try" in
30046 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30047 -+ *) ac_try_echo=$ac_try;;
30048 -+esac
30049 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30050 -+ (eval "$ac_try") 2>&5
30051 - ac_status=$?
30052 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30053 - (exit $ac_status); }; } &&
30054 - { ac_try='test -s conftest$ac_exeext'
30055 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30056 -- (eval $ac_try) 2>&5
30057 -+ { (case "(($ac_try" in
30058 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30059 -+ *) ac_try_echo=$ac_try;;
30060 -+esac
30061 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30062 -+ (eval "$ac_try") 2>&5
30063 - ac_status=$?
30064 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30065 - (exit $ac_status); }; }; then
30066 -@@ -27306,15 +31380,16 @@
30067 -
30068 - ac_cv_func_remove=no
30069 - fi
30070 --rm -f conftest.err conftest.$ac_objext \
30071 -+
30072 -+rm -f core conftest.err conftest.$ac_objext \
30073 - conftest$ac_exeext conftest.$ac_ext
30074 - fi
30075 --echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30076 --echo "${ECHO_T}$ac_cv_func_remove" >&6
30077 -+{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30078 -+echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30079 -
30080 - if test $ac_cv_func_remove = no; then
30081 -- echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30082 --echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30083 -+ { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30084 -+echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30085 - if test "${ac_cv_lib_posix_remove+set}" = set; then
30086 - echo $ECHO_N "(cached) $ECHO_C" >&6
30087 - else
30088 -@@ -27327,40 +31402,52 @@
30089 - cat >>conftest.$ac_ext <<_ACEOF
30090 - /* end confdefs.h. */
30091 -
30092 --/* Override any gcc2 internal prototype to avoid an error. */
30093 -+/* Override any GCC internal prototype to avoid an error.
30094 -+ Use char because int might match the return type of a GCC
30095 -+ builtin and then its argument prototype would still apply. */
30096 - #ifdef __cplusplus
30097 - extern "C"
30098 - #endif
30099 --/* We use char because int might match the return type of a gcc2
30100 -- builtin and then its argument prototype would still apply. */
30101 - char remove ();
30102 - int
30103 - main ()
30104 - {
30105 --remove ();
30106 -+return remove ();
30107 - ;
30108 - return 0;
30109 - }
30110 - _ACEOF
30111 - rm -f conftest.$ac_objext conftest$ac_exeext
30112 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30113 -- (eval $ac_link) 2>conftest.er1
30114 -+if { (ac_try="$ac_link"
30115 -+case "(($ac_try" in
30116 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30117 -+ *) ac_try_echo=$ac_try;;
30118 -+esac
30119 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30120 -+ (eval "$ac_link") 2>conftest.er1
30121 - ac_status=$?
30122 - grep -v '^ *+' conftest.er1 >conftest.err
30123 - rm -f conftest.er1
30124 - cat conftest.err >&5
30125 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30126 - (exit $ac_status); } &&
30127 -- { ac_try='test -z "$ac_cxx_werror_flag"
30128 -- || test ! -s conftest.err'
30129 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30130 -- (eval $ac_try) 2>&5
30131 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30132 -+ { (case "(($ac_try" in
30133 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30134 -+ *) ac_try_echo=$ac_try;;
30135 -+esac
30136 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30137 -+ (eval "$ac_try") 2>&5
30138 - ac_status=$?
30139 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30140 - (exit $ac_status); }; } &&
30141 - { ac_try='test -s conftest$ac_exeext'
30142 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30143 -- (eval $ac_try) 2>&5
30144 -+ { (case "(($ac_try" in
30145 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30146 -+ *) ac_try_echo=$ac_try;;
30147 -+esac
30148 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30149 -+ (eval "$ac_try") 2>&5
30150 - ac_status=$?
30151 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30152 - (exit $ac_status); }; }; then
30153 -@@ -27371,12 +31458,13 @@
30154 -
30155 - ac_cv_lib_posix_remove=no
30156 - fi
30157 --rm -f conftest.err conftest.$ac_objext \
30158 -+
30159 -+rm -f core conftest.err conftest.$ac_objext \
30160 - conftest$ac_exeext conftest.$ac_ext
30161 - LIBS=$ac_check_lib_save_LIBS
30162 - fi
30163 --echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30164 --echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30165 -+{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30166 -+echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30167 - if test $ac_cv_lib_posix_remove = yes; then
30168 - X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30169 - fi
30170 -@@ -27384,8 +31472,8 @@
30171 - fi
30172 -
30173 - # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30174 -- echo "$as_me:$LINENO: checking for shmat" >&5
30175 --echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30176 -+ { echo "$as_me:$LINENO: checking for shmat" >&5
30177 -+echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30178 - if test "${ac_cv_func_shmat+set}" = set; then
30179 - echo $ECHO_N "(cached) $ECHO_C" >&6
30180 - else
30181 -@@ -27412,77 +31500,347 @@
30182 -
30183 - #undef shmat
30184 -
30185 --/* Override any gcc2 internal prototype to avoid an error. */
30186 -+/* Override any GCC internal prototype to avoid an error.
30187 -+ Use char because int might match the return type of a GCC
30188 -+ builtin and then its argument prototype would still apply. */
30189 - #ifdef __cplusplus
30190 - extern "C"
30191 --{
30192 - #endif
30193 --/* We use char because int might match the return type of a gcc2
30194 -- builtin and then its argument prototype would still apply. */
30195 - char shmat ();
30196 - /* The GNU C library defines this for functions which it implements
30197 - to always fail with ENOSYS. Some functions are actually named
30198 - something starting with __ and the normal name is an alias. */
30199 --#if defined (__stub_shmat) || defined (__stub___shmat)
30200 -+#if defined __stub_shmat || defined __stub___shmat
30201 - choke me
30202 --#else
30203 --char (*f) () = shmat;
30204 - #endif
30205 -+
30206 -+int
30207 -+main ()
30208 -+{
30209 -+return shmat ();
30210 -+ ;
30211 -+ return 0;
30212 -+}
30213 -+_ACEOF
30214 -+rm -f conftest.$ac_objext conftest$ac_exeext
30215 -+if { (ac_try="$ac_link"
30216 -+case "(($ac_try" in
30217 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30218 -+ *) ac_try_echo=$ac_try;;
30219 -+esac
30220 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30221 -+ (eval "$ac_link") 2>conftest.er1
30222 -+ ac_status=$?
30223 -+ grep -v '^ *+' conftest.er1 >conftest.err
30224 -+ rm -f conftest.er1
30225 -+ cat conftest.err >&5
30226 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
30227 -+ (exit $ac_status); } &&
30228 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30229 -+ { (case "(($ac_try" in
30230 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30231 -+ *) ac_try_echo=$ac_try;;
30232 -+esac
30233 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30234 -+ (eval "$ac_try") 2>&5
30235 -+ ac_status=$?
30236 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
30237 -+ (exit $ac_status); }; } &&
30238 -+ { ac_try='test -s conftest$ac_exeext'
30239 -+ { (case "(($ac_try" in
30240 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30241 -+ *) ac_try_echo=$ac_try;;
30242 -+esac
30243 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30244 -+ (eval "$ac_try") 2>&5
30245 -+ ac_status=$?
30246 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
30247 -+ (exit $ac_status); }; }; then
30248 -+ ac_cv_func_shmat=yes
30249 -+else
30250 -+ echo "$as_me: failed program was:" >&5
30251 -+sed 's/^/| /' conftest.$ac_ext >&5
30252 -+
30253 -+ ac_cv_func_shmat=no
30254 -+fi
30255 -+
30256 -+rm -f core conftest.err conftest.$ac_objext \
30257 -+ conftest$ac_exeext conftest.$ac_ext
30258 -+fi
30259 -+{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30260 -+echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30261 -+
30262 -+ if test $ac_cv_func_shmat = no; then
30263 -+ { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30264 -+echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30265 -+if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30266 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
30267 -+else
30268 -+ ac_check_lib_save_LIBS=$LIBS
30269 -+LIBS="-lipc $LIBS"
30270 -+cat >conftest.$ac_ext <<_ACEOF
30271 -+/* confdefs.h. */
30272 -+_ACEOF
30273 -+cat confdefs.h >>conftest.$ac_ext
30274 -+cat >>conftest.$ac_ext <<_ACEOF
30275 -+/* end confdefs.h. */
30276 -+
30277 -+/* Override any GCC internal prototype to avoid an error.
30278 -+ Use char because int might match the return type of a GCC
30279 -+ builtin and then its argument prototype would still apply. */
30280 - #ifdef __cplusplus
30281 -+extern "C"
30282 -+#endif
30283 -+char shmat ();
30284 -+int
30285 -+main ()
30286 -+{
30287 -+return shmat ();
30288 -+ ;
30289 -+ return 0;
30290 - }
30291 -+_ACEOF
30292 -+rm -f conftest.$ac_objext conftest$ac_exeext
30293 -+if { (ac_try="$ac_link"
30294 -+case "(($ac_try" in
30295 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30296 -+ *) ac_try_echo=$ac_try;;
30297 -+esac
30298 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30299 -+ (eval "$ac_link") 2>conftest.er1
30300 -+ ac_status=$?
30301 -+ grep -v '^ *+' conftest.er1 >conftest.err
30302 -+ rm -f conftest.er1
30303 -+ cat conftest.err >&5
30304 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
30305 -+ (exit $ac_status); } &&
30306 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30307 -+ { (case "(($ac_try" in
30308 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30309 -+ *) ac_try_echo=$ac_try;;
30310 -+esac
30311 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30312 -+ (eval "$ac_try") 2>&5
30313 -+ ac_status=$?
30314 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315 -+ (exit $ac_status); }; } &&
30316 -+ { ac_try='test -s conftest$ac_exeext'
30317 -+ { (case "(($ac_try" in
30318 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30319 -+ *) ac_try_echo=$ac_try;;
30320 -+esac
30321 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30322 -+ (eval "$ac_try") 2>&5
30323 -+ ac_status=$?
30324 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
30325 -+ (exit $ac_status); }; }; then
30326 -+ ac_cv_lib_ipc_shmat=yes
30327 -+else
30328 -+ echo "$as_me: failed program was:" >&5
30329 -+sed 's/^/| /' conftest.$ac_ext >&5
30330 -+
30331 -+ ac_cv_lib_ipc_shmat=no
30332 -+fi
30333 -+
30334 -+rm -f core conftest.err conftest.$ac_objext \
30335 -+ conftest$ac_exeext conftest.$ac_ext
30336 -+LIBS=$ac_check_lib_save_LIBS
30337 -+fi
30338 -+{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30339 -+echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30340 -+if test $ac_cv_lib_ipc_shmat = yes; then
30341 -+ X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30342 -+fi
30343 -+
30344 -+ fi
30345 -+ fi
30346 -+
30347 -+ # Check for libraries that X11R6 Xt/Xaw programs need.
30348 -+ ac_save_LDFLAGS=$LDFLAGS
30349 -+ test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30350 -+ # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30351 -+ # check for ICE first), but we must link in the order -lSM -lICE or
30352 -+ # we get undefined symbols. So assume we have SM if we have ICE.
30353 -+ # These have to be linked with before -lX11, unlike the other
30354 -+ # libraries we check for below, so use a different variable.
30355 -+ # John Interrante, Karl Berry
30356 -+ { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30357 -+echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30358 -+if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30359 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
30360 -+else
30361 -+ ac_check_lib_save_LIBS=$LIBS
30362 -+LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30363 -+cat >conftest.$ac_ext <<_ACEOF
30364 -+/* confdefs.h. */
30365 -+_ACEOF
30366 -+cat confdefs.h >>conftest.$ac_ext
30367 -+cat >>conftest.$ac_ext <<_ACEOF
30368 -+/* end confdefs.h. */
30369 -+
30370 -+/* Override any GCC internal prototype to avoid an error.
30371 -+ Use char because int might match the return type of a GCC
30372 -+ builtin and then its argument prototype would still apply. */
30373 -+#ifdef __cplusplus
30374 -+extern "C"
30375 - #endif
30376 -+char IceConnectionNumber ();
30377 -+int
30378 -+main ()
30379 -+{
30380 -+return IceConnectionNumber ();
30381 -+ ;
30382 -+ return 0;
30383 -+}
30384 -+_ACEOF
30385 -+rm -f conftest.$ac_objext conftest$ac_exeext
30386 -+if { (ac_try="$ac_link"
30387 -+case "(($ac_try" in
30388 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30389 -+ *) ac_try_echo=$ac_try;;
30390 -+esac
30391 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30392 -+ (eval "$ac_link") 2>conftest.er1
30393 -+ ac_status=$?
30394 -+ grep -v '^ *+' conftest.er1 >conftest.err
30395 -+ rm -f conftest.er1
30396 -+ cat conftest.err >&5
30397 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
30398 -+ (exit $ac_status); } &&
30399 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30400 -+ { (case "(($ac_try" in
30401 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30402 -+ *) ac_try_echo=$ac_try;;
30403 -+esac
30404 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30405 -+ (eval "$ac_try") 2>&5
30406 -+ ac_status=$?
30407 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
30408 -+ (exit $ac_status); }; } &&
30409 -+ { ac_try='test -s conftest$ac_exeext'
30410 -+ { (case "(($ac_try" in
30411 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30412 -+ *) ac_try_echo=$ac_try;;
30413 -+esac
30414 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30415 -+ (eval "$ac_try") 2>&5
30416 -+ ac_status=$?
30417 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
30418 -+ (exit $ac_status); }; }; then
30419 -+ ac_cv_lib_ICE_IceConnectionNumber=yes
30420 -+else
30421 -+ echo "$as_me: failed program was:" >&5
30422 -+sed 's/^/| /' conftest.$ac_ext >&5
30423 -+
30424 -+ ac_cv_lib_ICE_IceConnectionNumber=no
30425 -+fi
30426 -+
30427 -+rm -f core conftest.err conftest.$ac_objext \
30428 -+ conftest$ac_exeext conftest.$ac_ext
30429 -+LIBS=$ac_check_lib_save_LIBS
30430 -+fi
30431 -+{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30432 -+echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30433 -+if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30434 -+ X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30435 -+fi
30436 -+
30437 -+ LDFLAGS=$ac_save_LDFLAGS
30438 -
30439 -+fi
30440 -+
30441 -+x_libraries=`echo "$x_libraries" | sed -e "s,^$usr_lib\$,,"`
30442 -+X_LIBS=`echo "$X_LIBS " | sed -e "$no_usr_lib"`
30443 -+{ echo "$as_me:$LINENO: checking for XextCreateExtension in -lXext" >&5
30444 -+echo $ECHO_N "checking for XextCreateExtension in -lXext... $ECHO_C" >&6; }
30445 -+if test "${ac_cv_lib_Xext_XextCreateExtension+set}" = set; then
30446 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
30447 -+else
30448 -+ ac_check_lib_save_LIBS=$LIBS
30449 -+LIBS="-lXext $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
30450 -+cat >conftest.$ac_ext <<_ACEOF
30451 -+/* confdefs.h. */
30452 -+_ACEOF
30453 -+cat confdefs.h >>conftest.$ac_ext
30454 -+cat >>conftest.$ac_ext <<_ACEOF
30455 -+/* end confdefs.h. */
30456 -+
30457 -+/* Override any GCC internal prototype to avoid an error.
30458 -+ Use char because int might match the return type of a GCC
30459 -+ builtin and then its argument prototype would still apply. */
30460 -+#ifdef __cplusplus
30461 -+extern "C"
30462 -+#endif
30463 -+char XextCreateExtension ();
30464 - int
30465 - main ()
30466 - {
30467 --return f != shmat;
30468 -+return XextCreateExtension ();
30469 - ;
30470 - return 0;
30471 - }
30472 - _ACEOF
30473 - rm -f conftest.$ac_objext conftest$ac_exeext
30474 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30475 -- (eval $ac_link) 2>conftest.er1
30476 -+if { (ac_try="$ac_link"
30477 -+case "(($ac_try" in
30478 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30479 -+ *) ac_try_echo=$ac_try;;
30480 -+esac
30481 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30482 -+ (eval "$ac_link") 2>conftest.er1
30483 - ac_status=$?
30484 - grep -v '^ *+' conftest.er1 >conftest.err
30485 - rm -f conftest.er1
30486 - cat conftest.err >&5
30487 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30488 - (exit $ac_status); } &&
30489 -- { ac_try='test -z "$ac_cxx_werror_flag"
30490 -- || test ! -s conftest.err'
30491 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30492 -- (eval $ac_try) 2>&5
30493 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30494 -+ { (case "(($ac_try" in
30495 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30496 -+ *) ac_try_echo=$ac_try;;
30497 -+esac
30498 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30499 -+ (eval "$ac_try") 2>&5
30500 - ac_status=$?
30501 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30502 - (exit $ac_status); }; } &&
30503 - { ac_try='test -s conftest$ac_exeext'
30504 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30505 -- (eval $ac_try) 2>&5
30506 -+ { (case "(($ac_try" in
30507 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30508 -+ *) ac_try_echo=$ac_try;;
30509 -+esac
30510 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30511 -+ (eval "$ac_try") 2>&5
30512 - ac_status=$?
30513 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30514 - (exit $ac_status); }; }; then
30515 -- ac_cv_func_shmat=yes
30516 -+ ac_cv_lib_Xext_XextCreateExtension=yes
30517 - else
30518 - echo "$as_me: failed program was:" >&5
30519 - sed 's/^/| /' conftest.$ac_ext >&5
30520 -
30521 --ac_cv_func_shmat=no
30522 -+ ac_cv_lib_Xext_XextCreateExtension=no
30523 -+fi
30524 -+
30525 -+rm -f core conftest.err conftest.$ac_objext \
30526 -+ conftest$ac_exeext conftest.$ac_ext
30527 -+LIBS=$ac_check_lib_save_LIBS
30528 - fi
30529 --rm -f conftest.err conftest.$ac_objext \
30530 -- conftest$ac_exeext conftest.$ac_ext
30531 -+{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XextCreateExtension" >&5
30532 -+echo "${ECHO_T}$ac_cv_lib_Xext_XextCreateExtension" >&6; }
30533 -+if test $ac_cv_lib_Xext_XextCreateExtension = yes; then
30534 -+ Xext="-lXext"
30535 -+else
30536 -+ Xext=
30537 - fi
30538 --echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30539 --echo "${ECHO_T}$ac_cv_func_shmat" >&6
30540 -
30541 -- if test $ac_cv_func_shmat = no; then
30542 -- echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30543 --echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30544 --if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30545 -+{ echo "$as_me:$LINENO: checking for XtMainLoop in -lXt" >&5
30546 -+echo $ECHO_N "checking for XtMainLoop in -lXt... $ECHO_C" >&6; }
30547 -+if test "${ac_cv_lib_Xt_XtMainLoop+set}" = set; then
30548 - echo $ECHO_N "(cached) $ECHO_C" >&6
30549 - else
30550 - ac_check_lib_save_LIBS=$LIBS
30551 --LIBS="-lipc $LIBS"
30552 -+LIBS="-lXt $Xext $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
30553 - cat >conftest.$ac_ext <<_ACEOF
30554 - /* confdefs.h. */
30555 - _ACEOF
30556 -@@ -27490,79 +31848,82 @@
30557 - cat >>conftest.$ac_ext <<_ACEOF
30558 - /* end confdefs.h. */
30559 -
30560 --/* Override any gcc2 internal prototype to avoid an error. */
30561 -+/* Override any GCC internal prototype to avoid an error.
30562 -+ Use char because int might match the return type of a GCC
30563 -+ builtin and then its argument prototype would still apply. */
30564 - #ifdef __cplusplus
30565 - extern "C"
30566 - #endif
30567 --/* We use char because int might match the return type of a gcc2
30568 -- builtin and then its argument prototype would still apply. */
30569 --char shmat ();
30570 -+char XtMainLoop ();
30571 - int
30572 - main ()
30573 - {
30574 --shmat ();
30575 -+return XtMainLoop ();
30576 - ;
30577 - return 0;
30578 - }
30579 - _ACEOF
30580 - rm -f conftest.$ac_objext conftest$ac_exeext
30581 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30582 -- (eval $ac_link) 2>conftest.er1
30583 -+if { (ac_try="$ac_link"
30584 -+case "(($ac_try" in
30585 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30586 -+ *) ac_try_echo=$ac_try;;
30587 -+esac
30588 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30589 -+ (eval "$ac_link") 2>conftest.er1
30590 - ac_status=$?
30591 - grep -v '^ *+' conftest.er1 >conftest.err
30592 - rm -f conftest.er1
30593 - cat conftest.err >&5
30594 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30595 - (exit $ac_status); } &&
30596 -- { ac_try='test -z "$ac_cxx_werror_flag"
30597 -- || test ! -s conftest.err'
30598 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30599 -- (eval $ac_try) 2>&5
30600 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30601 -+ { (case "(($ac_try" in
30602 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30603 -+ *) ac_try_echo=$ac_try;;
30604 -+esac
30605 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30606 -+ (eval "$ac_try") 2>&5
30607 - ac_status=$?
30608 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30609 - (exit $ac_status); }; } &&
30610 - { ac_try='test -s conftest$ac_exeext'
30611 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30612 -- (eval $ac_try) 2>&5
30613 -+ { (case "(($ac_try" in
30614 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30615 -+ *) ac_try_echo=$ac_try;;
30616 -+esac
30617 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30618 -+ (eval "$ac_try") 2>&5
30619 - ac_status=$?
30620 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30621 - (exit $ac_status); }; }; then
30622 -- ac_cv_lib_ipc_shmat=yes
30623 -+ ac_cv_lib_Xt_XtMainLoop=yes
30624 - else
30625 - echo "$as_me: failed program was:" >&5
30626 - sed 's/^/| /' conftest.$ac_ext >&5
30627 -
30628 --ac_cv_lib_ipc_shmat=no
30629 -+ ac_cv_lib_Xt_XtMainLoop=no
30630 - fi
30631 --rm -f conftest.err conftest.$ac_objext \
30632 -+
30633 -+rm -f core conftest.err conftest.$ac_objext \
30634 - conftest$ac_exeext conftest.$ac_ext
30635 - LIBS=$ac_check_lib_save_LIBS
30636 - fi
30637 --echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30638 --echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30639 --if test $ac_cv_lib_ipc_shmat = yes; then
30640 -- X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30641 --fi
30642 --
30643 -- fi
30644 -+{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xt_XtMainLoop" >&5
30645 -+echo "${ECHO_T}$ac_cv_lib_Xt_XtMainLoop" >&6; }
30646 -+if test $ac_cv_lib_Xt_XtMainLoop = yes; then
30647 -+ Xt="-lXt"
30648 -+else
30649 -+ Xt=
30650 - fi
30651 -
30652 -- # Check for libraries that X11R6 Xt/Xaw programs need.
30653 -- ac_save_LDFLAGS=$LDFLAGS
30654 -- test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30655 -- # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30656 -- # check for ICE first), but we must link in the order -lSM -lICE or
30657 -- # we get undefined symbols. So assume we have SM if we have ICE.
30658 -- # These have to be linked with before -lX11, unlike the other
30659 -- # libraries we check for below, so use a different variable.
30660 -- # John Interrante, Karl Berry
30661 -- echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30662 --echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30663 --if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30664 -+{ echo "$as_me:$LINENO: checking for XmuMakeAtom in -lXmu" >&5
30665 -+echo $ECHO_N "checking for XmuMakeAtom in -lXmu... $ECHO_C" >&6; }
30666 -+if test "${ac_cv_lib_Xmu_XmuMakeAtom+set}" = set; then
30667 - echo $ECHO_N "(cached) $ECHO_C" >&6
30668 - else
30669 - ac_check_lib_save_LIBS=$LIBS
30670 --LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30671 -+LIBS="-lXmu $Xt $Xext $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
30672 - cat >conftest.$ac_ext <<_ACEOF
30673 - /* confdefs.h. */
30674 - _ACEOF
30675 -@@ -27570,73 +31931,172 @@
30676 - cat >>conftest.$ac_ext <<_ACEOF
30677 - /* end confdefs.h. */
30678 -
30679 --/* Override any gcc2 internal prototype to avoid an error. */
30680 -+/* Override any GCC internal prototype to avoid an error.
30681 -+ Use char because int might match the return type of a GCC
30682 -+ builtin and then its argument prototype would still apply. */
30683 - #ifdef __cplusplus
30684 - extern "C"
30685 - #endif
30686 --/* We use char because int might match the return type of a gcc2
30687 -- builtin and then its argument prototype would still apply. */
30688 --char IceConnectionNumber ();
30689 -+char XmuMakeAtom ();
30690 - int
30691 - main ()
30692 - {
30693 --IceConnectionNumber ();
30694 -+return XmuMakeAtom ();
30695 - ;
30696 - return 0;
30697 - }
30698 - _ACEOF
30699 - rm -f conftest.$ac_objext conftest$ac_exeext
30700 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30701 -- (eval $ac_link) 2>conftest.er1
30702 -+if { (ac_try="$ac_link"
30703 -+case "(($ac_try" in
30704 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30705 -+ *) ac_try_echo=$ac_try;;
30706 -+esac
30707 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30708 -+ (eval "$ac_link") 2>conftest.er1
30709 - ac_status=$?
30710 - grep -v '^ *+' conftest.er1 >conftest.err
30711 - rm -f conftest.er1
30712 - cat conftest.err >&5
30713 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30714 - (exit $ac_status); } &&
30715 -- { ac_try='test -z "$ac_cxx_werror_flag"
30716 -- || test ! -s conftest.err'
30717 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30718 -- (eval $ac_try) 2>&5
30719 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30720 -+ { (case "(($ac_try" in
30721 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30722 -+ *) ac_try_echo=$ac_try;;
30723 -+esac
30724 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30725 -+ (eval "$ac_try") 2>&5
30726 - ac_status=$?
30727 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30728 - (exit $ac_status); }; } &&
30729 - { ac_try='test -s conftest$ac_exeext'
30730 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30731 -- (eval $ac_try) 2>&5
30732 -+ { (case "(($ac_try" in
30733 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30734 -+ *) ac_try_echo=$ac_try;;
30735 -+esac
30736 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30737 -+ (eval "$ac_try") 2>&5
30738 - ac_status=$?
30739 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740 - (exit $ac_status); }; }; then
30741 -- ac_cv_lib_ICE_IceConnectionNumber=yes
30742 -+ ac_cv_lib_Xmu_XmuMakeAtom=yes
30743 - else
30744 - echo "$as_me: failed program was:" >&5
30745 - sed 's/^/| /' conftest.$ac_ext >&5
30746 -
30747 --ac_cv_lib_ICE_IceConnectionNumber=no
30748 -+ ac_cv_lib_Xmu_XmuMakeAtom=no
30749 - fi
30750 --rm -f conftest.err conftest.$ac_objext \
30751 -+
30752 -+rm -f core conftest.err conftest.$ac_objext \
30753 - conftest$ac_exeext conftest.$ac_ext
30754 - LIBS=$ac_check_lib_save_LIBS
30755 - fi
30756 --echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30757 --echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30758 --if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30759 -- X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30760 -+{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuMakeAtom" >&5
30761 -+echo "${ECHO_T}$ac_cv_lib_Xmu_XmuMakeAtom" >&6; }
30762 -+if test $ac_cv_lib_Xmu_XmuMakeAtom = yes; then
30763 -+ Xmu="-lXmu"
30764 -+else
30765 -+ Xmu=
30766 - fi
30767 -
30768 -- LDFLAGS=$ac_save_LDFLAGS
30769 -+LDFLAGS=$orig_LDFLAGS
30770 -+X_ALL_LIBS="$Xmu $Xt $Xext $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
30771 -
30772 -+## OpenGL
30773 -+if test "$with_opengl" != "no"; then
30774 -+ if test "${with_opengl-yes}" != yes; then
30775 -+ OPENGL_PATH=$with_opengl
30776 - fi
30777 --
30778 --x_libraries=`echo "$x_libraries" | sed -e "s,^$usr_lib\$,,"`
30779 --X_LIBS=`echo "$X_LIBS " | sed -e "$no_usr_lib"`
30780 --echo "$as_me:$LINENO: checking for XextCreateExtension in -lXext" >&5
30781 --echo $ECHO_N "checking for XextCreateExtension in -lXext... $ECHO_C" >&6
30782 --if test "${ac_cv_lib_Xext_XextCreateExtension+set}" = set; then
30783 -+ if test -d "$OPENGL_PATH"; then
30784 -+ ncbi_fix_dir_tmp=`if cd $OPENGL_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
30785 -+ case "$ncbi_fix_dir_tmp" in
30786 -+ /.*) ncbi_fix_dir_tmp2=`cd $OPENGL_PATH && $smart_pwd 2>/dev/null`
30787 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
30788 -+ OPENGL_PATH=$ncbi_fix_dir_tmp2
30789 -+ else
30790 -+ case "$OPENGL_PATH" in
30791 -+ /*) ;;
30792 -+ * ) OPENGL_PATH=$ncbi_fix_dir_tmp ;;
30793 -+ esac
30794 -+ fi
30795 -+ ;;
30796 -+ /*) OPENGL_PATH=$ncbi_fix_dir_tmp ;;
30797 -+ esac
30798 -+ fi
30799 -+ case "$OSTYPE" in
30800 -+ darwin) # Use native interface
30801 -+ OPENGL_LIBS="-framework AGL -framework OpenGL"
30802 -+ ;;
30803 -+ # cygwin) ... ;;
30804 -+ *) # Default -- assume X-based
30805 -+ LIBS="$orig_LIBS"
30806 -+ CPPFLAGS="$orig_CPPFLAGS"
30807 -+ LDFLAGS="$orig_LDFLAGS $X_LIBS"
30808 -+ if test -d "$OPENGL_PATH/include/GL"; then
30809 -+ OPENGL_INCLUDE="-I$OPENGL_PATH/include $X_CFLAGS"
30810 -+ else
30811 -+ OPENGL_INCLUDE=$X_CFLAGS
30812 -+ fi
30813 -+ if test -n "$OPENGL_PATH" -a -d "$OPENGL_PATH/lib${bit64_sfx}"; then
30814 -+ ncbi_rp_L_flags=
30815 -+ ncbi_rp_L_sep=$CONF_f_libpath
30816 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
30817 -+ for x in $OPENGL_PATH/lib${bit64_sfx}; do
30818 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
30819 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
30820 -+ done
30821 -+ OPENGL_LIBPATH="${ncbi_rp_L_flags} $X_LIBS"
30822 -+ else
30823 -+ ncbi_rp_R_flags=
30824 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
30825 -+ for x in $OPENGL_PATH/lib${bit64_sfx}; do
30826 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
30827 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
30828 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
30829 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
30830 -+ ncbi_rp_R_sep=:
30831 -+ done
30832 -+ OPENGL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags} $X_LIBS"
30833 -+ fi
30834 -+ elif test -f /usr/lib/mesa/libGL.so; then
30835 -+ ncbi_rp_L_flags=
30836 -+ ncbi_rp_L_sep=$CONF_f_libpath
30837 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
30838 -+ for x in /usr/lib/mesa; do
30839 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
30840 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
30841 -+ done
30842 -+ OPENGL_LIBPATH="${ncbi_rp_L_flags} $X_LIBS"
30843 -+ else
30844 -+ ncbi_rp_R_flags=
30845 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
30846 -+ for x in /usr/lib/mesa; do
30847 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
30848 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
30849 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
30850 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
30851 -+ ncbi_rp_R_sep=:
30852 -+ done
30853 -+ OPENGL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags} $X_LIBS"
30854 -+ fi
30855 -+ else
30856 -+ OPENGL_LIBPATH=$X_LIBS
30857 -+ fi
30858 -+ OPENGL_LIBS="$OPENGL_LIBPATH -lGLU -lGL $X_ALL_LIBS"
30859 -+ ;;
30860 -+ esac
30861 -+ case "${OPENGL_PATH}" in
30862 -+ */*) where=" in $OPENGL_PATH" ;;
30863 -+ * ) where= ;;
30864 -+ esac
30865 -+ { echo "$as_me:$LINENO: checking for OpenGL$where" >&5
30866 -+echo $ECHO_N "checking for OpenGL$where... $ECHO_C" >&6; }
30867 -+if test "${ncbi_cv_lib_opengl+set}" = set; then
30868 - echo $ECHO_N "(cached) $ECHO_C" >&6
30869 - else
30870 -- ac_check_lib_save_LIBS=$LIBS
30871 --LIBS="-lXext $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
30872 -+ CPPFLAGS="$orig_CPPFLAGS $OPENGL_INCLUDE"
30873 -+ LIBS="$OPENGL_LIBS $orig_LIBS"
30874 - cat >conftest.$ac_ext <<_ACEOF
30875 - /* confdefs.h. */
30876 - _ACEOF
30877 -@@ -27644,69 +32104,136 @@
30878 - cat >>conftest.$ac_ext <<_ACEOF
30879 - /* end confdefs.h. */
30880 -
30881 --/* Override any gcc2 internal prototype to avoid an error. */
30882 --#ifdef __cplusplus
30883 --extern "C"
30884 -+ #ifdef NCBI_OS_DARWIN
30885 -+ # include <OpenGL/gl.h>
30886 -+ #else
30887 -+ # include <GL/gl.h>
30888 - #endif
30889 --/* We use char because int might match the return type of a gcc2
30890 -- builtin and then its argument prototype would still apply. */
30891 --char XextCreateExtension ();
30892 -+
30893 - int
30894 - main ()
30895 - {
30896 --XextCreateExtension ();
30897 -+glBegin(0);
30898 - ;
30899 - return 0;
30900 - }
30901 - _ACEOF
30902 - rm -f conftest.$ac_objext conftest$ac_exeext
30903 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30904 -- (eval $ac_link) 2>conftest.er1
30905 -+if { (ac_try="$ac_link"
30906 -+case "(($ac_try" in
30907 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30908 -+ *) ac_try_echo=$ac_try;;
30909 -+esac
30910 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30911 -+ (eval "$ac_link") 2>conftest.er1
30912 - ac_status=$?
30913 - grep -v '^ *+' conftest.er1 >conftest.err
30914 - rm -f conftest.er1
30915 - cat conftest.err >&5
30916 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30917 - (exit $ac_status); } &&
30918 -- { ac_try='test -z "$ac_cxx_werror_flag"
30919 -- || test ! -s conftest.err'
30920 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30921 -- (eval $ac_try) 2>&5
30922 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30923 -+ { (case "(($ac_try" in
30924 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30925 -+ *) ac_try_echo=$ac_try;;
30926 -+esac
30927 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30928 -+ (eval "$ac_try") 2>&5
30929 - ac_status=$?
30930 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 - (exit $ac_status); }; } &&
30932 - { ac_try='test -s conftest$ac_exeext'
30933 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30934 -- (eval $ac_try) 2>&5
30935 -+ { (case "(($ac_try" in
30936 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30937 -+ *) ac_try_echo=$ac_try;;
30938 -+esac
30939 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30940 -+ (eval "$ac_try") 2>&5
30941 - ac_status=$?
30942 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
30943 - (exit $ac_status); }; }; then
30944 -- ac_cv_lib_Xext_XextCreateExtension=yes
30945 -+ ncbi_cv_lib_opengl=yes
30946 - else
30947 - echo "$as_me: failed program was:" >&5
30948 - sed 's/^/| /' conftest.$ac_ext >&5
30949 -
30950 --ac_cv_lib_Xext_XextCreateExtension=no
30951 -+ ncbi_cv_lib_opengl=no
30952 - fi
30953 --rm -f conftest.err conftest.$ac_objext \
30954 -+
30955 -+rm -f core conftest.err conftest.$ac_objext \
30956 - conftest$ac_exeext conftest.$ac_ext
30957 --LIBS=$ac_check_lib_save_LIBS
30958 - fi
30959 --echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XextCreateExtension" >&5
30960 --echo "${ECHO_T}$ac_cv_lib_Xext_XextCreateExtension" >&6
30961 --if test $ac_cv_lib_Xext_XextCreateExtension = yes; then
30962 -- Xext="-lXext"
30963 --else
30964 -- Xext=
30965 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_opengl" >&5
30966 -+echo "${ECHO_T}$ncbi_cv_lib_opengl" >&6; }
30967 - fi
30968 -
30969 --echo "$as_me:$LINENO: checking for XtMainLoop in -lXt" >&5
30970 --echo $ECHO_N "checking for XtMainLoop in -lXt... $ECHO_C" >&6
30971 --if test "${ac_cv_lib_Xt_XtMainLoop+set}" = set; then
30972 -+if test "$with_opengl" = "no" -o "$ncbi_cv_lib_opengl" = "no"; then
30973 -+ OPENGL_INCLUDE=
30974 -+ OPENGL_LIBS=
30975 -+ OPENGL_STATIC_LIBS=
30976 -+ OSMESA_INCLUDE=
30977 -+ OSMESA_LIBS=
30978 -+ OSMESA_STATIC_LIBS=
30979 -+ GLUT_INCLUDE=
30980 -+ GLUT_LIBS=
30981 -+ GLEW_INCLUDE=
30982 -+ GLEW_LIBS=
30983 -+ GLEW_STATIC_LIBS=
30984 -+ if test "${with_opengl:=no}" != no; then
30985 -+ { { echo "$as_me:$LINENO: error: --with-opengl explicitly specified, but no usable version found." >&5
30986 -+echo "$as_me: error: --with-opengl explicitly specified, but no usable version found." >&2;}
30987 -+ { (exit 1); exit 1; }; }
30988 -+ fi
30989 -+else
30990 -+ WithPackages="$WithPackages${WithPackagesSep}OpenGL"; WithPackagesSep=" "
30991 -+
30992 -+cat >>confdefs.h <<\_ACEOF
30993 -+#define HAVE_OPENGL 1
30994 -+_ACEOF
30995 -+
30996 -+ if test -f "$OPENGL_PATH/lib${bit64_sfx}/libGLU-static.a"; then
30997 -+ OPENGL_STATIC_LIBS="$OPENGL_LIBPATH -lGLU-static -lGL-static $X_ALL_LIBS"
30998 -+ else
30999 -+ OPENGL_STATIC_LIBS=$OPENGL_LIBS
31000 -+ fi
31001 -+ : ${OSMESA_PATH=$OPENGL_PATH}
31002 -+ if test "$with_mesa" != "no"; then
31003 -+ if test "${with_mesa-yes}" != "yes"; then
31004 -+ OSMESA_PATH=$with_mesa
31005 -+ fi
31006 -+ if test -d "$OSMESA_PATH"; then
31007 -+ OSMESA_INCLUDE=-I$OSMESA_PATH/include
31008 -+ if test "$OSMESA_PATH" != "$OPENGL_PATH"; then
31009 -+ ncbi_rp_L_flags=
31010 -+ ncbi_rp_L_sep=$CONF_f_libpath
31011 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
31012 -+ for x in $OSMESA_PATH/lib${bit64_sfx}; do
31013 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
31014 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
31015 -+ done
31016 -+ OSMESA_LDFLAGS="${ncbi_rp_L_flags}"
31017 -+ else
31018 -+ ncbi_rp_R_flags=
31019 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
31020 -+ for x in $OSMESA_PATH/lib${bit64_sfx}; do
31021 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
31022 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
31023 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
31024 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
31025 -+ ncbi_rp_R_sep=:
31026 -+ done
31027 -+ OSMESA_LDFLAGS="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
31028 -+ fi
31029 -+ fi
31030 -+ fi
31031 -+ LDFLAGS="$orig_LDFLAGS $OSMESA_LDFLAGS $OPENGL_LIBPATH"
31032 -+ { echo "$as_me:$LINENO: checking for OSMesaCreateContext in -lOSMesa" >&5
31033 -+echo $ECHO_N "checking for OSMesaCreateContext in -lOSMesa... $ECHO_C" >&6; }
31034 -+if test "${ac_cv_lib_OSMesa_OSMesaCreateContext+set}" = set; then
31035 - echo $ECHO_N "(cached) $ECHO_C" >&6
31036 - else
31037 - ac_check_lib_save_LIBS=$LIBS
31038 --LIBS="-lXt $Xext $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
31039 -+LIBS="-lOSMesa $OPENGL_LIBS $LIBS"
31040 - cat >conftest.$ac_ext <<_ACEOF
31041 - /* confdefs.h. */
31042 - _ACEOF
31043 -@@ -27714,69 +32241,128 @@
31044 - cat >>conftest.$ac_ext <<_ACEOF
31045 - /* end confdefs.h. */
31046 -
31047 --/* Override any gcc2 internal prototype to avoid an error. */
31048 -+/* Override any GCC internal prototype to avoid an error.
31049 -+ Use char because int might match the return type of a GCC
31050 -+ builtin and then its argument prototype would still apply. */
31051 - #ifdef __cplusplus
31052 - extern "C"
31053 - #endif
31054 --/* We use char because int might match the return type of a gcc2
31055 -- builtin and then its argument prototype would still apply. */
31056 --char XtMainLoop ();
31057 -+char OSMesaCreateContext ();
31058 - int
31059 - main ()
31060 - {
31061 --XtMainLoop ();
31062 -+return OSMesaCreateContext ();
31063 - ;
31064 - return 0;
31065 - }
31066 - _ACEOF
31067 - rm -f conftest.$ac_objext conftest$ac_exeext
31068 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31069 -- (eval $ac_link) 2>conftest.er1
31070 -+if { (ac_try="$ac_link"
31071 -+case "(($ac_try" in
31072 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31073 -+ *) ac_try_echo=$ac_try;;
31074 -+esac
31075 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31076 -+ (eval "$ac_link") 2>conftest.er1
31077 - ac_status=$?
31078 - grep -v '^ *+' conftest.er1 >conftest.err
31079 - rm -f conftest.er1
31080 - cat conftest.err >&5
31081 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31082 - (exit $ac_status); } &&
31083 -- { ac_try='test -z "$ac_cxx_werror_flag"
31084 -- || test ! -s conftest.err'
31085 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31086 -- (eval $ac_try) 2>&5
31087 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31088 -+ { (case "(($ac_try" in
31089 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31090 -+ *) ac_try_echo=$ac_try;;
31091 -+esac
31092 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31093 -+ (eval "$ac_try") 2>&5
31094 - ac_status=$?
31095 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31096 - (exit $ac_status); }; } &&
31097 - { ac_try='test -s conftest$ac_exeext'
31098 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31099 -- (eval $ac_try) 2>&5
31100 -+ { (case "(($ac_try" in
31101 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31102 -+ *) ac_try_echo=$ac_try;;
31103 -+esac
31104 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31105 -+ (eval "$ac_try") 2>&5
31106 - ac_status=$?
31107 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31108 - (exit $ac_status); }; }; then
31109 -- ac_cv_lib_Xt_XtMainLoop=yes
31110 -+ ac_cv_lib_OSMesa_OSMesaCreateContext=yes
31111 - else
31112 - echo "$as_me: failed program was:" >&5
31113 - sed 's/^/| /' conftest.$ac_ext >&5
31114 -
31115 --ac_cv_lib_Xt_XtMainLoop=no
31116 -+ ac_cv_lib_OSMesa_OSMesaCreateContext=no
31117 - fi
31118 --rm -f conftest.err conftest.$ac_objext \
31119 -+
31120 -+rm -f core conftest.err conftest.$ac_objext \
31121 - conftest$ac_exeext conftest.$ac_ext
31122 - LIBS=$ac_check_lib_save_LIBS
31123 - fi
31124 --echo "$as_me:$LINENO: result: $ac_cv_lib_Xt_XtMainLoop" >&5
31125 --echo "${ECHO_T}$ac_cv_lib_Xt_XtMainLoop" >&6
31126 --if test $ac_cv_lib_Xt_XtMainLoop = yes; then
31127 -- Xt="-lXt"
31128 -+{ echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_OSMesaCreateContext" >&5
31129 -+echo "${ECHO_T}$ac_cv_lib_OSMesa_OSMesaCreateContext" >&6; }
31130 -+if test $ac_cv_lib_OSMesa_OSMesaCreateContext = yes; then
31131 -+ WithPackages="$WithPackages${WithPackagesSep}MESA"; WithPackagesSep=" ";
31132 -+ OSMESA_LIBS="$OSMESA_LDFLAGS $OPENGL_LIBPATH -lOSMesa -lGLU -lGL $X_ALL_LIBS"
31133 -+
31134 -+cat >>confdefs.h <<\_ACEOF
31135 -+#define HAVE_LIBOSMESA 1
31136 -+_ACEOF
31137 -+
31138 - else
31139 -- Xt=
31140 -+ OSMESA_LIBS=
31141 - fi
31142 -
31143 --echo "$as_me:$LINENO: checking for XmuMakeAtom in -lXmu" >&5
31144 --echo $ECHO_N "checking for XmuMakeAtom in -lXmu... $ECHO_C" >&6
31145 --if test "${ac_cv_lib_Xmu_XmuMakeAtom+set}" = set; then
31146 -+ fi
31147 -+ if test -z "$OSMESA_LIBS"; then
31148 -+ if test "${with_mesa:=no}" != no; then
31149 -+ { { echo "$as_me:$LINENO: error: --with-mesa explicitly specified, but no usable version found." >&5
31150 -+echo "$as_me: error: --with-mesa explicitly specified, but no usable version found." >&2;}
31151 -+ { (exit 1); exit 1; }; }
31152 -+ fi
31153 -+ elif test -f "$OSMESA_PATH/lib${bit64_sfx}/libOSMesa-static.a"; then
31154 -+ OSMESA_STATIC_LIBS="$OSMESA_LDFLAGS $OPENGL_LIBPATH -lOSMesa-static -lGLU-static -lGL-static $X_ALL_LIBS"
31155 -+ else
31156 -+ OSMESA_STATIC_LIBS=$OSMESA_LIBS
31157 -+ fi
31158 -+ if test "$with_glut" != "no"; then
31159 -+ if test "${with_glut-yes}" != "yes"; then
31160 -+ GLUT_PATH=$with_glut
31161 -+ fi
31162 -+ if test -d "GLUT_PATH"; then
31163 -+ GLUT_INCLUDE=-I$GLUT_PATH/include
31164 -+ ncbi_rp_L_flags=
31165 -+ ncbi_rp_L_sep=$CONF_f_libpath
31166 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
31167 -+ for x in $GLUT_PATH/lib${bit64_sfx}; do
31168 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
31169 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
31170 -+ done
31171 -+ GLUT_LDFLAGS="${ncbi_rp_L_flags}"
31172 -+ else
31173 -+ ncbi_rp_R_flags=
31174 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
31175 -+ for x in $GLUT_PATH/lib${bit64_sfx}; do
31176 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
31177 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
31178 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
31179 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
31180 -+ ncbi_rp_R_sep=:
31181 -+ done
31182 -+ GLUT_LDFLAGS="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
31183 -+ fi
31184 -+ fi
31185 -+ LDFLAGS="$orig_LDFLAGS $GLUT_LDFLAGS $OPENGL_LIBPATH"
31186 -+ { echo "$as_me:$LINENO: checking for glutInit in -lglut" >&5
31187 -+echo $ECHO_N "checking for glutInit in -lglut... $ECHO_C" >&6; }
31188 -+if test "${ac_cv_lib_glut_glutInit+set}" = set; then
31189 - echo $ECHO_N "(cached) $ECHO_C" >&6
31190 - else
31191 - ac_check_lib_save_LIBS=$LIBS
31192 --LIBS="-lXmu $Xt $Xext $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
31193 -+LIBS="-lglut $OPENGL_LIBS $LIBS"
31194 - cat >conftest.$ac_ext <<_ACEOF
31195 - /* confdefs.h. */
31196 - _ACEOF
31197 -@@ -27784,163 +32370,163 @@
31198 - cat >>conftest.$ac_ext <<_ACEOF
31199 - /* end confdefs.h. */
31200 -
31201 --/* Override any gcc2 internal prototype to avoid an error. */
31202 -+/* Override any GCC internal prototype to avoid an error.
31203 -+ Use char because int might match the return type of a GCC
31204 -+ builtin and then its argument prototype would still apply. */
31205 - #ifdef __cplusplus
31206 - extern "C"
31207 - #endif
31208 --/* We use char because int might match the return type of a gcc2
31209 -- builtin and then its argument prototype would still apply. */
31210 --char XmuMakeAtom ();
31211 -+char glutInit ();
31212 - int
31213 - main ()
31214 - {
31215 --XmuMakeAtom ();
31216 -+return glutInit ();
31217 - ;
31218 - return 0;
31219 - }
31220 - _ACEOF
31221 - rm -f conftest.$ac_objext conftest$ac_exeext
31222 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31223 -- (eval $ac_link) 2>conftest.er1
31224 -+if { (ac_try="$ac_link"
31225 -+case "(($ac_try" in
31226 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31227 -+ *) ac_try_echo=$ac_try;;
31228 -+esac
31229 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31230 -+ (eval "$ac_link") 2>conftest.er1
31231 - ac_status=$?
31232 - grep -v '^ *+' conftest.er1 >conftest.err
31233 - rm -f conftest.er1
31234 - cat conftest.err >&5
31235 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31236 - (exit $ac_status); } &&
31237 -- { ac_try='test -z "$ac_cxx_werror_flag"
31238 -- || test ! -s conftest.err'
31239 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31240 -- (eval $ac_try) 2>&5
31241 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31242 -+ { (case "(($ac_try" in
31243 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31244 -+ *) ac_try_echo=$ac_try;;
31245 -+esac
31246 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31247 -+ (eval "$ac_try") 2>&5
31248 - ac_status=$?
31249 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31250 - (exit $ac_status); }; } &&
31251 - { ac_try='test -s conftest$ac_exeext'
31252 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31253 -- (eval $ac_try) 2>&5
31254 -+ { (case "(($ac_try" in
31255 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31256 -+ *) ac_try_echo=$ac_try;;
31257 -+esac
31258 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31259 -+ (eval "$ac_try") 2>&5
31260 - ac_status=$?
31261 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31262 - (exit $ac_status); }; }; then
31263 -- ac_cv_lib_Xmu_XmuMakeAtom=yes
31264 -+ ac_cv_lib_glut_glutInit=yes
31265 - else
31266 - echo "$as_me: failed program was:" >&5
31267 - sed 's/^/| /' conftest.$ac_ext >&5
31268 -
31269 --ac_cv_lib_Xmu_XmuMakeAtom=no
31270 -+ ac_cv_lib_glut_glutInit=no
31271 - fi
31272 --rm -f conftest.err conftest.$ac_objext \
31273 -+
31274 -+rm -f core conftest.err conftest.$ac_objext \
31275 - conftest$ac_exeext conftest.$ac_ext
31276 - LIBS=$ac_check_lib_save_LIBS
31277 - fi
31278 --echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuMakeAtom" >&5
31279 --echo "${ECHO_T}$ac_cv_lib_Xmu_XmuMakeAtom" >&6
31280 --if test $ac_cv_lib_Xmu_XmuMakeAtom = yes; then
31281 -- Xmu="-lXmu"
31282 -+{ echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutInit" >&5
31283 -+echo "${ECHO_T}$ac_cv_lib_glut_glutInit" >&6; }
31284 -+if test $ac_cv_lib_glut_glutInit = yes; then
31285 -+ WithPackages="$WithPackages${WithPackagesSep}GLUT"; WithPackagesSep=" ";
31286 -+ GLUT_LIBS="$GLUT_LDFLAGS $OPENGL_LIBPATH -lglut -lGLU -lGL $X_ALL_LIBS"
31287 -+
31288 -+cat >>confdefs.h <<\_ACEOF
31289 -+#define HAVE_LIBGLUT 1
31290 -+_ACEOF
31291 -+
31292 - else
31293 -- Xmu=
31294 -+ GLUT_LIBS=
31295 - fi
31296 -
31297 --LDFLAGS=$orig_LDFLAGS
31298 --X_ALL_LIBS="$Xmu $Xt $Xext $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
31299 --
31300 --## OpenGL
31301 --if test "$with_opengl" != "no"; then
31302 -- if test "${with_opengl-yes}" = yes; then
31303 -- if test -d $NCBI/MesaGL; then
31304 -- : ${OPENGL_PATH=$NCBI/MesaGL}
31305 -+ if test -z "$GLUT_LIBS"; then
31306 -+ if test "${with_glut:=no}" != no; then
31307 -+ { { echo "$as_me:$LINENO: error: --with-glut explicitly specified, but no usable version found." >&5
31308 -+echo "$as_me: error: --with-glut explicitly specified, but no usable version found." >&2;}
31309 -+ { (exit 1); exit 1; }; }
31310 - fi
31311 -- else
31312 -- OPENGL_PATH=$with_opengl
31313 - fi
31314 -- if test -d "$OPENGL_PATH"; then
31315 -- ncbi_fix_dir_tmp=`if cd $OPENGL_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
31316 -+ fi
31317 -+ if test "$with_glew" != "no"; then
31318 -+ if test "${with_glew-yes}" != "yes"; then
31319 -+ GLEW_PATH=$with_glew
31320 -+ fi
31321 -+ if test -d "$GLEW_PATH"; then
31322 -+ if test -d "$GLEW_PATH/$compiler_vpfx$DEBUG_SFX$bit64_sfx"; then
31323 -+ GLEW_PATH=$GLEW_PATH/$compiler_vpfx$DEBUG_SFX$bit64_sfx
31324 -+ elif test -d "$GLEW_PATH/$compiler_pfx$DEBUG_SFX$bit64_sfx"; then
31325 -+ GLEW_PATH=$GLEW_PATH/$compiler_pfx$DEBUG_SFX$bit64_sfx
31326 -+ elif test -d "$GLEW_PATH/$DEBUG_SFX$bit64_sfx"; then
31327 -+ GLEW_PATH=$GLEW_PATH/$DEBUG_SFX$bit64_sfx
31328 -+ fi
31329 -+ ncbi_fix_dir_tmp=`if cd $GLEW_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
31330 - case "$ncbi_fix_dir_tmp" in
31331 -- /.*) ncbi_fix_dir_tmp2=`cd $OPENGL_PATH && $smart_pwd 2>/dev/null`
31332 -+ /.*) ncbi_fix_dir_tmp2=`cd $GLEW_PATH && $smart_pwd 2>/dev/null`
31333 - if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
31334 -- OPENGL_PATH=$ncbi_fix_dir_tmp2
31335 -+ GLEW_PATH=$ncbi_fix_dir_tmp2
31336 - else
31337 -- case "$OPENGL_PATH" in
31338 -+ case "$GLEW_PATH" in
31339 - /*) ;;
31340 -- * ) OPENGL_PATH=$ncbi_fix_dir_tmp ;;
31341 -+ * ) GLEW_PATH=$ncbi_fix_dir_tmp ;;
31342 - esac
31343 - fi
31344 - ;;
31345 -- /*) OPENGL_PATH=$ncbi_fix_dir_tmp ;;
31346 -+ /*) GLEW_PATH=$ncbi_fix_dir_tmp ;;
31347 - esac
31348 -- fi
31349 -- case "$OSTYPE" in
31350 -- darwin) # Use native interface
31351 -- OPENGL_LIBS="-framework AGL -framework OpenGL"
31352 -- ;;
31353 -- # cygwin) ... ;;
31354 -- *) # Default -- assume X-based
31355 -- LIBS="$orig_LIBS"
31356 -- CPPFLAGS="$orig_CPPFLAGS"
31357 -- LDFLAGS="$orig_LDFLAGS $X_LIBS"
31358 -- if test -d "$OPENGL_PATH/include/GL"; then
31359 -- OPENGL_INCLUDE="-I$OPENGL_PATH/include $X_CFLAGS"
31360 -+ GLEW_LIBDIR=$GLEW_PATH/lib
31361 -+ if test -n "$bit64_sfx" -a -d $GLEW_LIBDIR$bit64_sfx; then
31362 -+ if test -d $GLEW_LIBDIR; then
31363 -+ for x in $GLEW_LIBDIR/libGLEW*; do
31364 -+ if cmp -s "$x" "$GLEW_LIBDIR$bit64_sfx/`basename \"$x\"`"; then
31365 -+ :
31366 - else
31367 -- OPENGL_INCLUDE=$X_CFLAGS
31368 -+ GLEW_LIBDIR=$GLEW_LIBDIR$bit64_sfx
31369 -+ break
31370 - fi
31371 -- if test -n "$OPENGL_PATH" -a -d "$OPENGL_PATH/lib${bit64_sfx}"; then
31372 -- ncbi_rp_L_flags=
31373 -- ncbi_rp_L_sep=$CONF_f_libpath
31374 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
31375 -- for x in $OPENGL_PATH/lib${bit64_sfx}; do
31376 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
31377 -- ncbi_rp_L_sep=" $CONF_f_libpath"
31378 - done
31379 -- OPENGL_LIBPATH="${ncbi_rp_L_flags} $X_LIBS"
31380 - else
31381 -- ncbi_rp_R_flags=
31382 -- ncbi_rp_R_sep=" $CONF_f_runpath"
31383 -- for x in $OPENGL_PATH/lib${bit64_sfx}; do
31384 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
31385 -- ncbi_rp_L_sep=" $CONF_f_libpath"
31386 -- x=`echo $x | sed -e "$ncbi_rpath_sed"`
31387 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
31388 -- ncbi_rp_R_sep=:
31389 -- done
31390 -- OPENGL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags} $X_LIBS"
31391 -+ GLEW_LIBDIR=$GLEW_LIBDIR$bit64_sfx
31392 - fi
31393 -- elif test -f /usr/lib/mesa/libGL.so; then
31394 -- ncbi_rp_L_flags=
31395 -- ncbi_rp_L_sep=$CONF_f_libpath
31396 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
31397 -- for x in /usr/lib/mesa; do
31398 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
31399 -- ncbi_rp_L_sep=" $CONF_f_libpath"
31400 -- done
31401 -- OPENGL_LIBPATH="${ncbi_rp_L_flags} $X_LIBS"
31402 -+ fi
31403 -+ glew_config="eval PKG_CONFIG_PATH=\"$GLEW_LIBDIR/pkgconfig\" pkg-config"
31404 - else
31405 -- ncbi_rp_R_flags=
31406 -- ncbi_rp_R_sep=" $CONF_f_runpath"
31407 -- for x in /usr/lib/mesa; do
31408 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
31409 -- ncbi_rp_L_sep=" $CONF_f_libpath"
31410 -- x=`echo $x | sed -e "$ncbi_rpath_sed"`
31411 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
31412 -- ncbi_rp_R_sep=:
31413 -- done
31414 -- OPENGL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags} $X_LIBS"
31415 -+ glew_config=pkg-config
31416 - fi
31417 -+ if pkg-config --version >/dev/null 2>&1; then
31418 -+ if $glew_config glewmx --exists >/dev/null 2>&1 \
31419 -+ && test -n "`$glew_config glewmx --libs 2>/dev/null`"; then
31420 -+ glew_config="$glew_config glewmx"
31421 -+ elif $glew_config glew --exists >/dev/null 2>&1 \
31422 -+ && test -n "`$glew_config glew --libs 2>/dev/null`"; then
31423 -+ glew_config="$glew_config glew"
31424 - else
31425 -- OPENGL_LIBPATH=$X_LIBS
31426 -+ glew_config=
31427 - fi
31428 -- OPENGL_LIBS="$OPENGL_LIBPATH -lGLU -lGL $X_ALL_LIBS"
31429 -- ;;
31430 -- esac
31431 -- case "${OPENGL_PATH}" in
31432 -- */*) where=" in $OPENGL_PATH" ;;
31433 -- * ) where= ;;
31434 -- esac
31435 -- echo "$as_me:$LINENO: checking for OpenGL$where" >&5
31436 --echo $ECHO_N "checking for OpenGL$where... $ECHO_C" >&6
31437 --if test "${ncbi_cv_lib_opengl+set}" = set; then
31438 -+ if test -n "$glew_config"; then
31439 -+ GLEW_INCLUDE=`$glew_config --cflags | sed 's:/GL *$::'`
31440 -+ GLEW_LDFLAGS=`$glew_config --libs-only-L`
31441 -+ glew_libname=`$glew_config --libs-only-l | sed -e 's/-l//'`
31442 -+ fi
31443 -+ fi
31444 -+ if test -z "$glew_libname" -a -d "$GLEW_PATH"; then
31445 -+ GLEW_INCLUDE=-I$GLEW_PATH/include
31446 -+ GLEW_LDFLAGS=-L$GLEW_LIBDIR
31447 -+ fi
31448 -+ LDFLAGS="$orig_LDFLAGS $GLEW_LDFLAGS"
31449 -+ LIBS="$OPENGL_LIBS $DL_LIBS $orig_LIBS"
31450 -+ saved_LIBS=$LIBS
31451 -+ { echo "$as_me:$LINENO: checking for library containing glewGetExtension" >&5
31452 -+echo $ECHO_N "checking for library containing glewGetExtension... $ECHO_C" >&6; }
31453 -+if test "${ac_cv_search_glewGetExtension+set}" = set; then
31454 - echo $ECHO_N "(cached) $ECHO_C" >&6
31455 - else
31456 -- CPPFLAGS="$orig_CPPFLAGS $OPENGL_INCLUDE"
31457 -- LIBS="$OPENGL_LIBS $orig_LIBS"
31458 -+ ac_func_search_save_LIBS=$LIBS
31459 - cat >conftest.$ac_ext <<_ACEOF
31460 - /* confdefs.h. */
31461 - _ACEOF
31462 -@@ -27948,567 +32534,656 @@
31463 - cat >>conftest.$ac_ext <<_ACEOF
31464 - /* end confdefs.h. */
31465 -
31466 -- #ifdef NCBI_OS_DARWIN
31467 -- # include <OpenGL/gl.h>
31468 -- #else
31469 -- # include <GL/gl.h>
31470 -+/* Override any GCC internal prototype to avoid an error.
31471 -+ Use char because int might match the return type of a GCC
31472 -+ builtin and then its argument prototype would still apply. */
31473 -+#ifdef __cplusplus
31474 -+extern "C"
31475 - #endif
31476 --
31477 -+char glewGetExtension ();
31478 - int
31479 - main ()
31480 - {
31481 --glBegin(0);
31482 -+return glewGetExtension ();
31483 - ;
31484 - return 0;
31485 - }
31486 - _ACEOF
31487 -+for ac_lib in '' "$GLEW_LIBS" $glew_libname GLEWmx GLEW; do
31488 -+ if test -z "$ac_lib"; then
31489 -+ ac_res="none required"
31490 -+ else
31491 -+ ac_res=-l$ac_lib
31492 -+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"
31493 -+ fi
31494 - rm -f conftest.$ac_objext conftest$ac_exeext
31495 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31496 -- (eval $ac_link) 2>conftest.er1
31497 -+if { (ac_try="$ac_link"
31498 -+case "(($ac_try" in
31499 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31500 -+ *) ac_try_echo=$ac_try;;
31501 -+esac
31502 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31503 -+ (eval "$ac_link") 2>conftest.er1
31504 - ac_status=$?
31505 - grep -v '^ *+' conftest.er1 >conftest.err
31506 - rm -f conftest.er1
31507 - cat conftest.err >&5
31508 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31509 - (exit $ac_status); } &&
31510 -- { ac_try='test -z "$ac_cxx_werror_flag"
31511 -- || test ! -s conftest.err'
31512 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31513 -- (eval $ac_try) 2>&5
31514 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31515 -+ { (case "(($ac_try" in
31516 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31517 -+ *) ac_try_echo=$ac_try;;
31518 -+esac
31519 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31520 -+ (eval "$ac_try") 2>&5
31521 - ac_status=$?
31522 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31523 - (exit $ac_status); }; } &&
31524 - { ac_try='test -s conftest$ac_exeext'
31525 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31526 -- (eval $ac_try) 2>&5
31527 -+ { (case "(($ac_try" in
31528 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31529 -+ *) ac_try_echo=$ac_try;;
31530 -+esac
31531 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31532 -+ (eval "$ac_try") 2>&5
31533 - ac_status=$?
31534 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31535 - (exit $ac_status); }; }; then
31536 -- ncbi_cv_lib_opengl=yes
31537 -+ ac_cv_search_glewGetExtension=$ac_res
31538 - else
31539 - echo "$as_me: failed program was:" >&5
31540 - sed 's/^/| /' conftest.$ac_ext >&5
31541 --
31542 --ncbi_cv_lib_opengl=no
31543 --fi
31544 --rm -f conftest.err conftest.$ac_objext \
31545 -- conftest$ac_exeext conftest.$ac_ext
31546 --fi
31547 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_opengl" >&5
31548 --echo "${ECHO_T}$ncbi_cv_lib_opengl" >&6
31549 --fi
31550 --
31551 --if test "$with_opengl" = "no" -o "$ncbi_cv_lib_opengl" = "no"; then
31552 -- OPENGL_INCLUDE=
31553 -- OPENGL_LIBS=
31554 -- OPENGL_STATIC_LIBS=
31555 -- OSMESA_INCLUDE=
31556 -- OSMESA_LIBS=
31557 -- OSMESA_STATIC_LIBS=
31558 -- GLUT_INCLUDE=
31559 -- GLUT_LIBS=
31560 -- GLEW_INCLUDE=
31561 -- GLEW_LIBS=
31562 -- GLEW_STATIC_LIBS=
31563 -- if test "${with_opengl:=no}" != no; then
31564 -- { { echo "$as_me:$LINENO: error: --with-opengl explicitly specified, but no usable version found." >&5
31565 --echo "$as_me: error: --with-opengl explicitly specified, but no usable version found." >&2;}
31566 -- { (exit 1); exit 1; }; }
31567 -+
31568 -+
31569 -+fi
31570 -+
31571 -+rm -f core conftest.err conftest.$ac_objext \
31572 -+ conftest$ac_exeext
31573 -+ if test "${ac_cv_search_glewGetExtension+set}" = set; then
31574 -+ break
31575 - fi
31576 -+done
31577 -+if test "${ac_cv_search_glewGetExtension+set}" = set; then
31578 -+ :
31579 - else
31580 -- WithPackages="$WithPackages${WithPackagesSep}OpenGL"; WithPackagesSep=" "
31581 -+ ac_cv_search_glewGetExtension=no
31582 -+fi
31583 -+rm conftest.$ac_ext
31584 -+LIBS=$ac_func_search_save_LIBS
31585 -+fi
31586 -+{ echo "$as_me:$LINENO: result: $ac_cv_search_glewGetExtension" >&5
31587 -+echo "${ECHO_T}$ac_cv_search_glewGetExtension" >&6; }
31588 -+ac_res=$ac_cv_search_glewGetExtension
31589 -+if test "$ac_res" != no; then
31590 -+ test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
31591 -
31592 - cat >>confdefs.h <<\_ACEOF
31593 --#define HAVE_OPENGL 1
31594 -+#define HAVE_LIBGLEW 1
31595 - _ACEOF
31596 -
31597 -- if test -f "$OPENGL_PATH/lib${bit64_sfx}/libGLU-static.a"; then
31598 -- OPENGL_STATIC_LIBS="$OPENGL_LIBPATH -lGLU-static -lGL-static $X_ALL_LIBS"
31599 -- else
31600 -- OPENGL_STATIC_LIBS=$OPENGL_LIBS
31601 -+ test "x$ac_cv_search_glewGetExtension" = "xnone required" || GLEW_LIBS=$ac_cv_search_glewGetExtension
31602 - fi
31603 -- : ${OSMESA_PATH=$OPENGL_PATH}
31604 -- if test "$with_mesa" != "no"; then
31605 -- if test "${with_mesa-yes}" != "yes"; then
31606 -- OSMESA_PATH=$with_mesa
31607 -+
31608 -+ LIBS=$saved_LIBS
31609 -+
31610 -+ if test "$ac_cv_search_glewGetExtension" = no; then
31611 -+ GLEW_INCLUDE=
31612 -+ GLEW_LIBS=
31613 -+ if test "${with_glew:=no}" != no; then
31614 -+ { { echo "$as_me:$LINENO: error: --with-glew explicitly specified, but no usable version found." >&5
31615 -+echo "$as_me: error: --with-glew explicitly specified, but no usable version found." >&2;}
31616 -+ { (exit 1); exit 1; }; }
31617 - fi
31618 -- if test -d "$OSMESA_PATH"; then
31619 -- OSMESA_INCLUDE=-I$OSMESA_PATH/include
31620 -- if test "$OSMESA_PATH" != "$OPENGL_PATH"; then
31621 -- ncbi_rp_L_flags=
31622 -- ncbi_rp_L_sep=$CONF_f_libpath
31623 -+ if test "${with_glew_mx:=no}" != no; then
31624 -+ { { echo "$as_me:$LINENO: error: --with-glew-mx explicitly specified, but no usable version found." >&5
31625 -+echo "$as_me: error: --with-glew-mx explicitly specified, but no usable version found." >&2;}
31626 -+ { (exit 1); exit 1; }; }
31627 -+ fi
31628 -+ else
31629 -+ if test -z "${tmp_LIBS+set}"; then
31630 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
31631 -- for x in $OSMESA_PATH/lib${bit64_sfx}; do
31632 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
31633 -- ncbi_rp_L_sep=" $CONF_f_libpath"
31634 -- done
31635 -- OSMESA_LDFLAGS="${ncbi_rp_L_flags}"
31636 -+ tmp_LIBS=`echo $GLEW_LDFLAGS $GLEW_LIBS | sed -e ""`
31637 - else
31638 -+ tmp_LIBS=
31639 -+ ncbi_rp_L_sep=
31640 - ncbi_rp_R_flags=
31641 - ncbi_rp_R_sep=" $CONF_f_runpath"
31642 -- for x in $OSMESA_PATH/lib${bit64_sfx}; do
31643 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
31644 -- ncbi_rp_L_sep=" $CONF_f_libpath"
31645 -- x=`echo $x | sed -e "$ncbi_rpath_sed"`
31646 -+ for x in `echo $GLEW_LDFLAGS $GLEW_LIBS | sed -e ""`; do
31647 -+ case "$x" in
31648 -+ -L*)
31649 -+ tmp_LIBS="$tmp_LIBS${ncbi_rp_L_sep}$x"
31650 -+ x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
31651 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
31652 - ncbi_rp_R_sep=:
31653 -+ ;;
31654 -+ *)
31655 -+ tmp_LIBS="$tmp_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
31656 -+ ncbi_rp_R_flags=
31657 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
31658 -+ ;;
31659 -+ esac
31660 -+ ncbi_rp_L_sep=" "
31661 - done
31662 -- OSMESA_LDFLAGS="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
31663 -- fi
31664 -+ tmp_LIBS="$tmp_LIBS${ncbi_rp_R_flags}"
31665 - fi
31666 - fi
31667 -- LDFLAGS="$orig_LDFLAGS $OSMESA_LDFLAGS $OPENGL_LIBPATH"
31668 -- echo "$as_me:$LINENO: checking for OSMesaCreateContext in -lOSMesa" >&5
31669 --echo $ECHO_N "checking for OSMesaCreateContext in -lOSMesa... $ECHO_C" >&6
31670 --if test "${ac_cv_lib_OSMesa_OSMesaCreateContext+set}" = set; then
31671 -+ GLEW_LIBS=$tmp_LIBS
31672 -+ WithPackages="$WithPackages${WithPackagesSep}GLEW"; WithPackagesSep=" "
31673 -+ CPPFLAGS="$orig_CPPFLAGS $GLEW_INCLUDE $OPENGL_INCLUDE"
31674 -+ LIBS="$GLEW_LIBS $OPENGL_LIBS $DL_LIBS $orig_LIBS"
31675 -+ { echo "$as_me:$LINENO: checking for GLEW multi-context (MX) support (recommended)" >&5
31676 -+echo $ECHO_N "checking for GLEW multi-context (MX) support (recommended)... $ECHO_C" >&6; }
31677 -+if test "${ncbi_cv_lib_glew_mx+set}" = set; then
31678 - echo $ECHO_N "(cached) $ECHO_C" >&6
31679 - else
31680 -- ac_check_lib_save_LIBS=$LIBS
31681 --LIBS="-lOSMesa $OPENGL_LIBS $LIBS"
31682 - cat >conftest.$ac_ext <<_ACEOF
31683 - /* confdefs.h. */
31684 - _ACEOF
31685 - cat confdefs.h >>conftest.$ac_ext
31686 - cat >>conftest.$ac_ext <<_ACEOF
31687 - /* end confdefs.h. */
31688 --
31689 --/* Override any gcc2 internal prototype to avoid an error. */
31690 --#ifdef __cplusplus
31691 --extern "C"
31692 --#endif
31693 --/* We use char because int might match the return type of a gcc2
31694 -- builtin and then its argument prototype would still apply. */
31695 --char OSMesaCreateContext ();
31696 -+#define GLEW_MX 1
31697 -+ #include <GL/glew.h>
31698 - int
31699 - main ()
31700 - {
31701 --OSMesaCreateContext ();
31702 -+glewContextInit(NULL);
31703 - ;
31704 - return 0;
31705 - }
31706 - _ACEOF
31707 - rm -f conftest.$ac_objext conftest$ac_exeext
31708 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31709 -- (eval $ac_link) 2>conftest.er1
31710 -+if { (ac_try="$ac_link"
31711 -+case "(($ac_try" in
31712 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31713 -+ *) ac_try_echo=$ac_try;;
31714 -+esac
31715 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31716 -+ (eval "$ac_link") 2>conftest.er1
31717 - ac_status=$?
31718 - grep -v '^ *+' conftest.er1 >conftest.err
31719 - rm -f conftest.er1
31720 - cat conftest.err >&5
31721 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31722 - (exit $ac_status); } &&
31723 -- { ac_try='test -z "$ac_cxx_werror_flag"
31724 -- || test ! -s conftest.err'
31725 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31726 -- (eval $ac_try) 2>&5
31727 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31728 -+ { (case "(($ac_try" in
31729 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31730 -+ *) ac_try_echo=$ac_try;;
31731 -+esac
31732 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31733 -+ (eval "$ac_try") 2>&5
31734 - ac_status=$?
31735 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31736 - (exit $ac_status); }; } &&
31737 - { ac_try='test -s conftest$ac_exeext'
31738 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31739 -- (eval $ac_try) 2>&5
31740 -+ { (case "(($ac_try" in
31741 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31742 -+ *) ac_try_echo=$ac_try;;
31743 -+esac
31744 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31745 -+ (eval "$ac_try") 2>&5
31746 - ac_status=$?
31747 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
31748 - (exit $ac_status); }; }; then
31749 -- ac_cv_lib_OSMesa_OSMesaCreateContext=yes
31750 -+ ncbi_cv_lib_glew_mx=yes
31751 - else
31752 - echo "$as_me: failed program was:" >&5
31753 - sed 's/^/| /' conftest.$ac_ext >&5
31754 -
31755 --ac_cv_lib_OSMesa_OSMesaCreateContext=no
31756 -+ ncbi_cv_lib_glew_mx=no
31757 - fi
31758 --rm -f conftest.err conftest.$ac_objext \
31759 -+
31760 -+rm -f core conftest.err conftest.$ac_objext \
31761 - conftest$ac_exeext conftest.$ac_ext
31762 --LIBS=$ac_check_lib_save_LIBS
31763 - fi
31764 --echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_OSMesaCreateContext" >&5
31765 --echo "${ECHO_T}$ac_cv_lib_OSMesa_OSMesaCreateContext" >&6
31766 --if test $ac_cv_lib_OSMesa_OSMesaCreateContext = yes; then
31767 -- WithPackages="$WithPackages${WithPackagesSep}MESA"; WithPackagesSep=" ";
31768 -- OSMESA_LIBS="$OSMESA_LDFLAGS $OPENGL_LIBPATH -lOSMesa -lGLU -lGL $X_ALL_LIBS"
31769 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_glew_mx" >&5
31770 -+echo "${ECHO_T}$ncbi_cv_lib_glew_mx" >&6; }
31771 -+ if test $ncbi_cv_lib_glew_mx = yes; then
31772 -+ GLEW_INCLUDE="$GLEW_INCLUDE -DGLEW_MX"
31773 -+ else
31774 -+ if test "${with_glew_mx:=no}" != no; then
31775 -+ { { echo "$as_me:$LINENO: error: --with-glew-mx explicitly specified, but no usable version found." >&5
31776 -+echo "$as_me: error: --with-glew-mx explicitly specified, but no usable version found." >&2;}
31777 -+ { (exit 1); exit 1; }; }
31778 -+ fi
31779 -+ fi
31780 -+ : ${GLEW_STATIC_LIBS=$GLEW_LIBDIR/libGLEW-static.a}
31781 -+ test -f "$GLEW_STATIC_LIBS" || GLEW_STATIC_LIBS=$GLEW_LIBS
31782 -+ fi
31783 -+ fi
31784 -+fi
31785 -
31786 --cat >>confdefs.h <<\_ACEOF
31787 --#define HAVE_LIBOSMESA 1
31788 --_ACEOF
31789 -+LDFLAGS=$orig_LDFLAGS
31790 -+
31791 -+
31792 -+## wxWidgets
31793 -+# Insist on single-byte builds by default, per various projects' expectations.
31794 -+: ${with_wxwidgets_ucs=no}
31795 -+if test "$with_wxwidgets" != "no" ; then
31796 -+ case "$with_wxwidgets" in
31797 -+ yes | "" ) ;;
31798 -+ * ) WXWIDGETS_PATH=$with_wxwidgets ;;
31799 -+ esac
31800 -+ if test -d "$WXWIDGETS_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/lib" \
31801 -+ -a -z "$WXWIDGETS_ARCH_PATH"; then
31802 -+ WXWIDGETS_ARCH_PATH="$WXWIDGETS_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}"
31803 -+ elif test -d "$WXWIDGETS_PATH/${compiler_pfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/lib" \
31804 -+ -a -z "$WXWIDGETS_ARCH_PATH"; then
31805 -+ WXWIDGETS_ARCH_PATH="$WXWIDGETS_PATH/${compiler_pfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}"
31806 -+ else
31807 -+ WXWIDGETS_ARCH_PATH="$WXWIDGETS_PATH"
31808 -+ fi
31809 -+ WXWIDGETS_BINPATH=${WXWIDGETS_BINPATH:="$WXWIDGETS_ARCH_PATH/bin"}
31810 -+ WXWIDGETS_LIBPATH=${WXWIDGETS_LIBPATH:="$WXWIDGETS_ARCH_PATH/lib"}
31811 -+ WXWIDGETS_INCLUDE=
31812 -+ $as_unset wxconf || test "${wxconf+set}" != set || { wxconf=; export wxconf; }
31813 -+ # Extract the first word of "wx-config", so it can be a program name with args.
31814 -+set dummy wx-config; ac_word=$2
31815 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
31816 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31817 -+if test "${ac_cv_path_wxconf+set}" = set; then
31818 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
31819 -+else
31820 -+ case $wxconf in
31821 -+ [\\/]* | ?:[\\/]*)
31822 -+ ac_cv_path_wxconf="$wxconf" # Let the user override the test with a path.
31823 -+ ;;
31824 -+ *)
31825 -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31826 -+as_dummy="$WXWIDGETS_BINPATH:$PATH"
31827 -+for as_dir in $as_dummy
31828 -+do
31829 -+ IFS=$as_save_IFS
31830 -+ test -z "$as_dir" && as_dir=.
31831 -+ for ac_exec_ext in '' $ac_executable_extensions; do
31832 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
31833 -+ ac_cv_path_wxconf="$as_dir/$ac_word$ac_exec_ext"
31834 -+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31835 -+ break 2
31836 -+ fi
31837 -+done
31838 -+done
31839 -+IFS=$as_save_IFS
31840 -
31841 -+ ;;
31842 -+esac
31843 -+fi
31844 -+wxconf=$ac_cv_path_wxconf
31845 -+if test -n "$wxconf"; then
31846 -+ { echo "$as_me:$LINENO: result: $wxconf" >&5
31847 -+echo "${ECHO_T}$wxconf" >&6; }
31848 - else
31849 -- OSMESA_LIBS=
31850 -+ { echo "$as_me:$LINENO: result: no" >&5
31851 -+echo "${ECHO_T}no" >&6; }
31852 - fi
31853 -
31854 -+
31855 -+ if test -x "$wxconf"; then
31856 -+ WXWIDGETS_ARCH_PATH=`$wxconf --exec-prefix`
31857 -+ if test -n "$with_wxwidgets_ucs"; then
31858 -+ wxcfflags=--unicode=$with_wxwidgets_ucs
31859 -+ else
31860 -+ wxcfflags=
31861 - fi
31862 -- if test -z "$OSMESA_LIBS"; then
31863 -- if test "${with_mesa:=no}" != no; then
31864 -- { { echo "$as_me:$LINENO: error: --with-mesa explicitly specified, but no usable version found." >&5
31865 --echo "$as_me: error: --with-mesa explicitly specified, but no usable version found." >&2;}
31866 -- { (exit 1); exit 1; }; }
31867 -+ for x in `"$wxconf" $wxcfflags --libs --static 2>&5`; do
31868 -+ case "$x" in
31869 -+ -L*)
31870 -+ d=`echo $x | sed -e 's/^-L//'`
31871 -+ pcd=$d/pkgconfig
31872 -+ if test -d "$pcd"; then
31873 -+ PKG_CONFIG_PATH="${PKG_CONFIG_PATH+$PKG_CONFIG_PATH:}$pcd"
31874 - fi
31875 -- elif test -f "$OSMESA_PATH/lib${bit64_sfx}/libOSMesa-static.a"; then
31876 -- OSMESA_STATIC_LIBS="$OSMESA_LDFLAGS $OPENGL_LIBPATH -lOSMesa-static -lGLU-static -lGL-static $X_ALL_LIBS"
31877 -+ ;;
31878 -+ esac
31879 -+ done
31880 -+ export PKG_CONFIG_PATH
31881 - else
31882 -- OSMESA_STATIC_LIBS=$OSMESA_LIBS
31883 -+ $as_unset wxconf || test "${wxconf+set}" != set || { wxconf=; export wxconf; }
31884 - fi
31885 -- : ${GLUT_PATH=$NCBI/glut}
31886 -- if test "$with_glut" != "no"; then
31887 -- if test "${with_glut-yes}" != "yes"; then
31888 -- GLUT_PATH=$with_glut
31889 -+ if test -x "$wxconf" \
31890 -+ && "$wxconf" $wxcfflags --list 2>/dev/null \
31891 -+ | grep 'Default config is gtk2' >/dev/null; then
31892 -+ gtkconf="pkg-config gtk+-2.0"
31893 -+ elif test -x "$WXWIDGETS_BINPATH/gtk-config"; then
31894 -+ gtkconf=$WXWIDGETS_BINPATH/gtk-config
31895 -+ elif gtk-config --version >/dev/null 2>&1; then
31896 -+ gtkconf=gtk-config
31897 -+ else
31898 -+ # May work without gtk-config (e.g., on Mac OS X)
31899 -+ gtkconf=:
31900 - fi
31901 -- if test -d "GLUT_PATH"; then
31902 -- GLUT_INCLUDE=-I$GLUT_PATH/include
31903 -- ncbi_rp_L_flags=
31904 -- ncbi_rp_L_sep=$CONF_f_libpath
31905 -+ case "$host_os" in
31906 -+ darwin* )
31907 -+ baseflags=""
31908 -+ basesed='s/-isysroot [^ ]*//g; s/-arch [^ ]*//g'
31909 -+ if test -n "$SYSROOT"; then
31910 -+ deps=`"$wxconf" $wxcfflags --libs --static 2>/dev/null \
31911 -+ | sed -e 's/.*\.a//'`
31912 -+ libsed="$basesed; s/\$/ $deps/"
31913 -+ else
31914 -+ libsed=$basesed
31915 -+ fi
31916 -+ ;;
31917 -+ * )
31918 -+ baseflags=`$gtkconf --cflags 2>/dev/null`
31919 -+ basesed=$no_usr_lib
31920 -+ libsed=$basesed
31921 -+ ;;
31922 -+ esac
31923 -+ { echo "$as_me:$LINENO: checking for wxWidgets${WXWIDGETS_ARCH_PATH:+ in $WXWIDGETS_ARCH_PATH}" >&5
31924 -+echo $ECHO_N "checking for wxWidgets${WXWIDGETS_ARCH_PATH:+ in $WXWIDGETS_ARCH_PATH}... $ECHO_C" >&6; }
31925 -+if test "${ncbi_cv_lib_wxwidgets+set}" = set; then
31926 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
31927 -+else
31928 -+ if test -x "$wxconf" ; then
31929 -+ WXWIDGETS_INCLUDE="$baseflags `"$wxconf" $wxcfflags --cflags`"
31930 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
31931 -- for x in $GLUT_PATH/lib${bit64_sfx}; do
31932 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
31933 -- ncbi_rp_L_sep=" $CONF_f_libpath"
31934 -- done
31935 -- GLUT_LDFLAGS="${ncbi_rp_L_flags}"
31936 -+ WXWIDGETS_LIBS=`"$wxconf" $wxcfflags --libs | sed -e "$libsed; s/ -lm / /g;"`
31937 - else
31938 -+ WXWIDGETS_LIBS=
31939 -+ ncbi_rp_L_sep=
31940 - ncbi_rp_R_flags=
31941 -- ncbi_rp_R_sep=" $CONF_f_runpath"
31942 -- for x in $GLUT_PATH/lib${bit64_sfx}; do
31943 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
31944 -- ncbi_rp_L_sep=" $CONF_f_libpath"
31945 -- x=`echo $x | sed -e "$ncbi_rpath_sed"`
31946 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
31947 -+ for x in `"$wxconf" $wxcfflags --libs | sed -e "$libsed; s/ -lm / /g;"`; do
31948 -+ case "$x" in
31949 -+ -L*)
31950 -+ WXWIDGETS_LIBS="$WXWIDGETS_LIBS${ncbi_rp_L_sep}$x"
31951 -+ x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
31952 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
31953 - ncbi_rp_R_sep=:
31954 -+ ;;
31955 -+ *)
31956 -+ WXWIDGETS_LIBS="$WXWIDGETS_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
31957 -+ ncbi_rp_R_flags=
31958 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
31959 -+ ;;
31960 -+ esac
31961 -+ ncbi_rp_L_sep=" "
31962 - done
31963 -- GLUT_LDFLAGS="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
31964 -- fi
31965 -+ WXWIDGETS_LIBS="$WXWIDGETS_LIBS${ncbi_rp_R_flags}"
31966 - fi
31967 -- LDFLAGS="$orig_LDFLAGS $GLUT_LDFLAGS $OPENGL_LIBPATH"
31968 -- echo "$as_me:$LINENO: checking for glutInit in -lglut" >&5
31969 --echo $ECHO_N "checking for glutInit in -lglut... $ECHO_C" >&6
31970 --if test "${ac_cv_lib_glut_glutInit+set}" = set; then
31971 -- echo $ECHO_N "(cached) $ECHO_C" >&6
31972 --else
31973 -- ac_check_lib_save_LIBS=$LIBS
31974 --LIBS="-lglut $OPENGL_LIBS $LIBS"
31975 -+
31976 -+ CPPFLAGS="$WXWIDGETS_INCLUDE $orig_CPPFLAGS"
31977 -+ LIBS="$WXWIDGETS_LIBS $orig_LIBS"
31978 - cat >conftest.$ac_ext <<_ACEOF
31979 - /* confdefs.h. */
31980 - _ACEOF
31981 - cat confdefs.h >>conftest.$ac_ext
31982 - cat >>conftest.$ac_ext <<_ACEOF
31983 - /* end confdefs.h. */
31984 --
31985 --/* Override any gcc2 internal prototype to avoid an error. */
31986 --#ifdef __cplusplus
31987 --extern "C"
31988 --#endif
31989 --/* We use char because int might match the return type of a gcc2
31990 -- builtin and then its argument prototype would still apply. */
31991 --char glutInit ();
31992 -+#include <wx/wx.h>
31993 - int
31994 - main ()
31995 - {
31996 --glutInit ();
31997 -+ wxExit();
31998 - ;
31999 - return 0;
32000 - }
32001 - _ACEOF
32002 - rm -f conftest.$ac_objext conftest$ac_exeext
32003 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32004 -- (eval $ac_link) 2>conftest.er1
32005 -+if { (ac_try="$ac_link"
32006 -+case "(($ac_try" in
32007 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32008 -+ *) ac_try_echo=$ac_try;;
32009 -+esac
32010 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32011 -+ (eval "$ac_link") 2>conftest.er1
32012 - ac_status=$?
32013 - grep -v '^ *+' conftest.er1 >conftest.err
32014 - rm -f conftest.er1
32015 - cat conftest.err >&5
32016 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32017 - (exit $ac_status); } &&
32018 -- { ac_try='test -z "$ac_cxx_werror_flag"
32019 -- || test ! -s conftest.err'
32020 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32021 -- (eval $ac_try) 2>&5
32022 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32023 -+ { (case "(($ac_try" in
32024 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32025 -+ *) ac_try_echo=$ac_try;;
32026 -+esac
32027 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32028 -+ (eval "$ac_try") 2>&5
32029 - ac_status=$?
32030 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32031 - (exit $ac_status); }; } &&
32032 - { ac_try='test -s conftest$ac_exeext'
32033 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32034 -- (eval $ac_try) 2>&5
32035 -+ { (case "(($ac_try" in
32036 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32037 -+ *) ac_try_echo=$ac_try;;
32038 -+esac
32039 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32040 -+ (eval "$ac_try") 2>&5
32041 - ac_status=$?
32042 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32043 - (exit $ac_status); }; }; then
32044 -- ac_cv_lib_glut_glutInit=yes
32045 -+ ncbi_cv_lib_wxwidgets=yes
32046 - else
32047 - echo "$as_me: failed program was:" >&5
32048 - sed 's/^/| /' conftest.$ac_ext >&5
32049 -
32050 --ac_cv_lib_glut_glutInit=no
32051 --fi
32052 --rm -f conftest.err conftest.$ac_objext \
32053 -- conftest$ac_exeext conftest.$ac_ext
32054 --LIBS=$ac_check_lib_save_LIBS
32055 -+ ncbi_cv_lib_wxwidgets=no
32056 - fi
32057 --echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutInit" >&5
32058 --echo "${ECHO_T}$ac_cv_lib_glut_glutInit" >&6
32059 --if test $ac_cv_lib_glut_glutInit = yes; then
32060 -- WithPackages="$WithPackages${WithPackagesSep}GLUT"; WithPackagesSep=" ";
32061 -- GLUT_LIBS="$GLUT_LDFLAGS $OPENGL_LIBPATH -lglut -lGLU -lGL $X_ALL_LIBS"
32062 --
32063 --cat >>confdefs.h <<\_ACEOF
32064 --#define HAVE_LIBGLUT 1
32065 --_ACEOF
32066 -
32067 -+rm -f core conftest.err conftest.$ac_objext \
32068 -+ conftest$ac_exeext conftest.$ac_ext
32069 - else
32070 -- GLUT_LIBS=
32071 --fi
32072 --
32073 -- if test -z "$GLUT_LIBS"; then
32074 -- if test "${with_glut:=no}" != no; then
32075 -- { { echo "$as_me:$LINENO: error: --with-glut explicitly specified, but no usable version found." >&5
32076 --echo "$as_me: error: --with-glut explicitly specified, but no usable version found." >&2;}
32077 -- { (exit 1); exit 1; }; }
32078 -+ ncbi_cv_lib_wxwidgets=no
32079 - fi
32080 - fi
32081 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_wxwidgets" >&5
32082 -+echo "${ECHO_T}$ncbi_cv_lib_wxwidgets" >&6; }
32083 -+ if test "$ncbi_cv_lib_wxwidgets" = "no"; then
32084 -+ if test "${with_wxwidgets:=no}" != no; then
32085 -+ { { echo "$as_me:$LINENO: error: --with-wxwidgets explicitly specified, but no usable version found." >&5
32086 -+echo "$as_me: error: --with-wxwidgets explicitly specified, but no usable version found." >&2;}
32087 -+ { (exit 1); exit 1; }; }
32088 - fi
32089 -- : ${GLEW_PATH=$NCBI/glew}
32090 -- if test "$with_glew" != "no"; then
32091 -- if test "${with_glew-yes}" != "yes"; then
32092 -- GLEW_PATH=$with_glew
32093 - fi
32094 -- if test -d "$GLEW_PATH"; then
32095 -- if test -d "$GLEW_PATH/$compiler_vpfx$DEBUG_SFX$bit64_sfx"; then
32096 -- GLEW_PATH=$GLEW_PATH/$compiler_vpfx$DEBUG_SFX$bit64_sfx
32097 -- elif test -d "$GLEW_PATH/$compiler_pfx$DEBUG_SFX$bit64_sfx"; then
32098 -- GLEW_PATH=$GLEW_PATH/$compiler_pfx$DEBUG_SFX$bit64_sfx
32099 -- elif test -d "$GLEW_PATH/$DEBUG_SFX$bit64_sfx"; then
32100 -- GLEW_PATH=$GLEW_PATH/$DEBUG_SFX$bit64_sfx
32101 - fi
32102 -- ncbi_fix_dir_tmp=`if cd $GLEW_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
32103 -- case "$ncbi_fix_dir_tmp" in
32104 -- /.*) ncbi_fix_dir_tmp2=`cd $GLEW_PATH && $smart_pwd 2>/dev/null`
32105 -- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
32106 -- GLEW_PATH=$ncbi_fix_dir_tmp2
32107 -+
32108 -+if test "$with_wxwidgets" = "no" ; then
32109 -+ WXWIDGETS_LIBPATH="No_wxWidgets"
32110 -+ WXWIDGETS_INCLUDE=
32111 -+ WXWIDGETS_LIBS=
32112 -+ WXWIDGETS_STATIC_LIBS=
32113 -+ WXWIDGETS_GL_LIBS=
32114 -+ WXWIDGETS_GL_STATIC_LIBS=
32115 -+ WXWIDGETS_POST_LINK=:
32116 - else
32117 -- case "$GLEW_PATH" in
32118 -- /*) ;;
32119 -- * ) GLEW_PATH=$ncbi_fix_dir_tmp ;;
32120 -+ WithPackages="$WithPackages${WithPackagesSep}wxWidgets"; WithPackagesSep=" "
32121 -+ case "`"$wxconf" $wxcfflags --version`" in
32122 -+ 1.* | 2.[0-7].*)
32123 -+ wxlibs=std
32124 -+ ;;
32125 -+ *)
32126 -+ WithPackages="$WithPackages${WithPackagesSep}wx2.8"; WithPackagesSep=" "
32127 -+ wxlibs=std,richtext,aui,propgrid
32128 -+ ;;
32129 - esac
32130 -+ # The "yes" may have been cached; get the actual settings again if needed
32131 -+ if test -z "$WXWIDGETS_INCLUDE"; then
32132 -+ WXWIDGETS_INCLUDE="$baseflags `"$wxconf" $wxcfflags --cflags`"
32133 - fi
32134 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
32135 -+ WXWIDGETS_LIBS=`$wxconf $wxcfflags --libs $wxlibs | sed -e "$libsed; s/ -lm / /g;"`
32136 -+ else
32137 -+ WXWIDGETS_LIBS=
32138 -+ ncbi_rp_L_sep=
32139 -+ ncbi_rp_R_flags=
32140 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
32141 -+ for x in `$wxconf $wxcfflags --libs $wxlibs | sed -e "$libsed; s/ -lm / /g;"`; do
32142 -+ case "$x" in
32143 -+ -L*)
32144 -+ WXWIDGETS_LIBS="$WXWIDGETS_LIBS${ncbi_rp_L_sep}$x"
32145 -+ x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
32146 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
32147 -+ ncbi_rp_R_sep=:
32148 -+ ;;
32149 -+ *)
32150 -+ WXWIDGETS_LIBS="$WXWIDGETS_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
32151 -+ ncbi_rp_R_flags=
32152 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
32153 - ;;
32154 -- /*) GLEW_PATH=$ncbi_fix_dir_tmp ;;
32155 - esac
32156 -- GLEW_LIBDIR=$GLEW_PATH/lib
32157 -- if test -n "$bit64_sfx" -a -d $GLEW_LIBDIR$bit64_sfx; then
32158 -- if test -d $GLEW_LIBDIR; then
32159 -- for x in $GLEW_LIBDIR/libGLEW*; do
32160 -- if cmp -s "$x" "$GLEW_LIBDIR$bit64_sfx/`basename \"$x\"`"; then
32161 -- :
32162 -- else
32163 -- GLEW_LIBDIR=$GLEW_LIBDIR$bit64_sfx
32164 -- break
32165 -- fi
32166 -+ ncbi_rp_L_sep=" "
32167 - done
32168 -- else
32169 -- GLEW_LIBDIR=$GLEW_LIBDIR$bit64_sfx
32170 -- fi
32171 -- fi
32172 -- glew_config="eval PKG_CONFIG_PATH=\"$GLEW_LIBDIR/pkgconfig\" pkg-config"
32173 -- else
32174 -- glew_config=pkg-config
32175 -+ WXWIDGETS_LIBS="$WXWIDGETS_LIBS${ncbi_rp_R_flags}"
32176 - fi
32177 -- if pkg-config --version >/dev/null 2>&1; then
32178 -- if $glew_config glewmx --exists >/dev/null 2>&1 \
32179 -- && test -n "`$glew_config glewmx --libs 2>/dev/null`"; then
32180 -- glew_config="$glew_config glewmx"
32181 -- elif $glew_config glew --exists >/dev/null 2>&1 \
32182 -- && test -n "`$glew_config glew --libs 2>/dev/null`"; then
32183 -- glew_config="$glew_config glew"
32184 -+ WXWIDGETS_STATIC_LIBS=`"$wxconf" $wxcfflags --libs --static $wxlibs \
32185 -+ 2>/dev/null | sed -e "$basesed; s/ -lm / /g;"`
32186 -+ if test -n "$WXWIDGETS_STATIC_LIBS"; then
32187 -+ # Allow direct use of underlying libraries with strict linkers
32188 -+ WXWIDGETS_LIBS="$WXWIDGETS_LIBS `echo $WXWIDGETS_STATIC_LIBS | sed -e 's/.*\.a *//'`"
32189 - else
32190 -- glew_config=
32191 -+ WXWIDGETS_STATIC_LIBS=$WXWIDGETS_LIBS
32192 - fi
32193 -- if test -n "$glew_config"; then
32194 -- GLEW_INCLUDE=`$glew_config --cflags | sed 's:/GL *$::'`
32195 -- GLEW_LDFLAGS=`$glew_config --libs-only-L`
32196 -- glew_libname=`$glew_config --libs-only-l | sed -e 's/-l//'`
32197 -+ WXWIDGETS_GL_LIBS=`"$wxconf" $wxcfflags --libs gl | sed -e "$basesed"`
32198 -+ WXWIDGETS_GL_STATIC_LIBS=`"$wxconf" $wxcfflags --libs gl --static \
32199 -+ 2>/dev/null | sed -e "$basesed; s|-lGLU* -lGLU*|$OPENGL_STATIC_LIBS|"`
32200 -+ : ${WXWIDGETS_GL_STATIC_LIBS:=$WXWIDGETS_GL_LIBS}
32201 -+ WXWIDGETS_POST_LINK=`"$wxconf" $wxcfflags --rezflags 2>/dev/null`
32202 -+ test -n "$WXWIDGETS_POST_LINK" || WXWIDGETS_POST_LINK=:
32203 -+
32204 -+cat >>confdefs.h <<\_ACEOF
32205 -+#define HAVE_WXWIDGETS 1
32206 -+_ACEOF
32207 -+
32208 - fi
32209 -+
32210 -+
32211 -+## In-house Fast-CGI library
32212 -+if test "$with_fastcgi" != "no" ; then
32213 -+ case "$with_fastcgi" in
32214 -+ yes | "" ) ;;
32215 -+ */* ) FASTCGI_PATH=$with_fastcgi ;;
32216 -+ * ) FASTCGI_PATH=$NCBI/fcgi-${with_fastcgi} ;;
32217 -+ esac
32218 -+ if test -d "$FASTCGI_PATH"; then
32219 -+ ncbi_fix_dir_tmp=`if cd $FASTCGI_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
32220 -+ case "$ncbi_fix_dir_tmp" in
32221 -+ /.*) ncbi_fix_dir_tmp2=`cd $FASTCGI_PATH && $smart_pwd 2>/dev/null`
32222 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
32223 -+ FASTCGI_PATH=$ncbi_fix_dir_tmp2
32224 -+ else
32225 -+ case "$FASTCGI_PATH" in
32226 -+ /*) ;;
32227 -+ * ) FASTCGI_PATH=$ncbi_fix_dir_tmp ;;
32228 -+ esac
32229 - fi
32230 -- if test -z "$glew_libname" -a -d "$GLEW_PATH"; then
32231 -- GLEW_INCLUDE=-I$GLEW_PATH/include
32232 -- GLEW_LDFLAGS=-L$GLEW_LIBDIR
32233 -+ ;;
32234 -+ /*) FASTCGI_PATH=$ncbi_fix_dir_tmp ;;
32235 -+ esac
32236 - fi
32237 -- LDFLAGS="$orig_LDFLAGS $GLEW_LDFLAGS"
32238 -- LIBS="$OPENGL_LIBS $DL_LIBS $orig_LIBS"
32239 -- saved_LIBS=$LIBS
32240 -- echo "$as_me:$LINENO: checking for library containing glewGetExtension" >&5
32241 --echo $ECHO_N "checking for library containing glewGetExtension... $ECHO_C" >&6
32242 --if test "${ac_cv_search_glewGetExtension+set}" = set; then
32243 -- echo $ECHO_N "(cached) $ECHO_C" >&6
32244 -+ FASTCGI_INCLUDE="-I$FASTCGI_PATH/include${bit64_sfx}"
32245 -+ if test "$with_debug" = "no" ; then
32246 -+ FASTCGI_LIBDIR="$FASTCGI_PATH/lib${bit64_sfx}"
32247 - else
32248 -- ac_func_search_save_LIBS=$LIBS
32249 --ac_cv_search_glewGetExtension=no
32250 --cat >conftest.$ac_ext <<_ACEOF
32251 --/* confdefs.h. */
32252 --_ACEOF
32253 --cat confdefs.h >>conftest.$ac_ext
32254 --cat >>conftest.$ac_ext <<_ACEOF
32255 --/* end confdefs.h. */
32256 --
32257 --/* Override any gcc2 internal prototype to avoid an error. */
32258 --#ifdef __cplusplus
32259 --extern "C"
32260 --#endif
32261 --/* We use char because int might match the return type of a gcc2
32262 -- builtin and then its argument prototype would still apply. */
32263 --char glewGetExtension ();
32264 --int
32265 --main ()
32266 --{
32267 --glewGetExtension ();
32268 -- ;
32269 -- return 0;
32270 --}
32271 --_ACEOF
32272 --rm -f conftest.$ac_objext conftest$ac_exeext
32273 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32274 -- (eval $ac_link) 2>conftest.er1
32275 -- ac_status=$?
32276 -- grep -v '^ *+' conftest.er1 >conftest.err
32277 -- rm -f conftest.er1
32278 -- cat conftest.err >&5
32279 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
32280 -- (exit $ac_status); } &&
32281 -- { ac_try='test -z "$ac_cxx_werror_flag"
32282 -- || test ! -s conftest.err'
32283 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32284 -- (eval $ac_try) 2>&5
32285 -- ac_status=$?
32286 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
32287 -- (exit $ac_status); }; } &&
32288 -- { ac_try='test -s conftest$ac_exeext'
32289 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32290 -- (eval $ac_try) 2>&5
32291 -- ac_status=$?
32292 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
32293 -- (exit $ac_status); }; }; then
32294 -- ac_cv_search_glewGetExtension="none required"
32295 -+ FASTCGI_LIBDIR="$FASTCGI_PATH/altlib${bit64_sfx}"
32296 -+ fi
32297 -+ ncbi_rp_L_flags=
32298 -+ ncbi_rp_L_sep=$CONF_f_libpath
32299 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
32300 -+ for x in $FASTCGI_LIBDIR; do
32301 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
32302 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
32303 -+ done
32304 -+ FASTCGI_LIBS="${ncbi_rp_L_flags} -lfcgi $NETWORK_LIBS"
32305 - else
32306 -- echo "$as_me: failed program was:" >&5
32307 --sed 's/^/| /' conftest.$ac_ext >&5
32308 --
32309 -+ ncbi_rp_R_flags=
32310 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
32311 -+ for x in $FASTCGI_LIBDIR; do
32312 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
32313 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
32314 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
32315 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
32316 -+ ncbi_rp_R_sep=:
32317 -+ done
32318 -+ FASTCGI_LIBS="${ncbi_rp_L_flags}${ncbi_rp_R_flags} -lfcgi $NETWORK_LIBS"
32319 - fi
32320 --rm -f conftest.err conftest.$ac_objext \
32321 -- conftest$ac_exeext conftest.$ac_ext
32322 --if test "$ac_cv_search_glewGetExtension" = no; then
32323 -- for ac_lib in "$GLEW_LIBS" $glew_libname GLEWmx GLEW; do
32324 -- LIBS="-l$ac_lib $ac_func_search_save_LIBS"
32325 -+ FASTCGI_OBJS="fcgibuf"
32326 -+ LIBS="$FASTCGI_LIBS $orig_LIBS"
32327 -+ { echo "$as_me:$LINENO: checking for FastCGI libraries${FASTCGI_PATH:+ in $FASTCGI_PATH}" >&5
32328 -+echo $ECHO_N "checking for FastCGI libraries${FASTCGI_PATH:+ in $FASTCGI_PATH}... $ECHO_C" >&6; }
32329 -+if test "${ncbi_cv_lib_fcgi+set}" = set; then
32330 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
32331 -+else
32332 -+ CPPFLAGS="$FASTCGI_INCLUDE $orig_CPPFLAGS"
32333 - cat >conftest.$ac_ext <<_ACEOF
32334 - /* confdefs.h. */
32335 - _ACEOF
32336 - cat confdefs.h >>conftest.$ac_ext
32337 - cat >>conftest.$ac_ext <<_ACEOF
32338 - /* end confdefs.h. */
32339 --
32340 --/* Override any gcc2 internal prototype to avoid an error. */
32341 --#ifdef __cplusplus
32342 --extern "C"
32343 --#endif
32344 --/* We use char because int might match the return type of a gcc2
32345 -- builtin and then its argument prototype would still apply. */
32346 --char glewGetExtension ();
32347 -+#include <fcgiapp.h>
32348 - int
32349 - main ()
32350 - {
32351 --glewGetExtension ();
32352 -+ (void) FCGX_IsCGI();
32353 - ;
32354 - return 0;
32355 - }
32356 - _ACEOF
32357 - rm -f conftest.$ac_objext conftest$ac_exeext
32358 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32359 -- (eval $ac_link) 2>conftest.er1
32360 -+if { (ac_try="$ac_link"
32361 -+case "(($ac_try" in
32362 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32363 -+ *) ac_try_echo=$ac_try;;
32364 -+esac
32365 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32366 -+ (eval "$ac_link") 2>conftest.er1
32367 - ac_status=$?
32368 - grep -v '^ *+' conftest.er1 >conftest.err
32369 - rm -f conftest.er1
32370 - cat conftest.err >&5
32371 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32372 - (exit $ac_status); } &&
32373 -- { ac_try='test -z "$ac_cxx_werror_flag"
32374 -- || test ! -s conftest.err'
32375 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32376 -- (eval $ac_try) 2>&5
32377 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32378 -+ { (case "(($ac_try" in
32379 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32380 -+ *) ac_try_echo=$ac_try;;
32381 -+esac
32382 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32383 -+ (eval "$ac_try") 2>&5
32384 - ac_status=$?
32385 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32386 - (exit $ac_status); }; } &&
32387 - { ac_try='test -s conftest$ac_exeext'
32388 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32389 -- (eval $ac_try) 2>&5
32390 -+ { (case "(($ac_try" in
32391 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32392 -+ *) ac_try_echo=$ac_try;;
32393 -+esac
32394 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32395 -+ (eval "$ac_try") 2>&5
32396 - ac_status=$?
32397 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32398 - (exit $ac_status); }; }; then
32399 -- ac_cv_search_glewGetExtension="-l$ac_lib"
32400 --break
32401 -+ ncbi_cv_lib_fcgi=yes
32402 - else
32403 - echo "$as_me: failed program was:" >&5
32404 - sed 's/^/| /' conftest.$ac_ext >&5
32405 -
32406 -+ ncbi_cv_lib_fcgi=no
32407 - fi
32408 --rm -f conftest.err conftest.$ac_objext \
32409 -- conftest$ac_exeext conftest.$ac_ext
32410 -- done
32411 --fi
32412 --LIBS=$ac_func_search_save_LIBS
32413 --fi
32414 --echo "$as_me:$LINENO: result: $ac_cv_search_glewGetExtension" >&5
32415 --echo "${ECHO_T}$ac_cv_search_glewGetExtension" >&6
32416 --if test "$ac_cv_search_glewGetExtension" != no; then
32417 -- test "$ac_cv_search_glewGetExtension" = "none required" || LIBS="$ac_cv_search_glewGetExtension $LIBS"
32418 --
32419 --cat >>confdefs.h <<\_ACEOF
32420 --#define HAVE_LIBGLEW 1
32421 --_ACEOF
32422 --
32423 -- test "x$ac_cv_search_glewGetExtension" = "xnone required" || GLEW_LIBS=$ac_cv_search_glewGetExtension
32424 --fi
32425 --
32426 -- LIBS=$saved_LIBS
32427 -
32428 -- if test "$ac_cv_search_glewGetExtension" = no; then
32429 -- GLEW_INCLUDE=
32430 -- GLEW_LIBS=
32431 -- if test "${with_glew:=no}" != no; then
32432 -- { { echo "$as_me:$LINENO: error: --with-glew explicitly specified, but no usable version found." >&5
32433 --echo "$as_me: error: --with-glew explicitly specified, but no usable version found." >&2;}
32434 -- { (exit 1); exit 1; }; }
32435 -+rm -f core conftest.err conftest.$ac_objext \
32436 -+ conftest$ac_exeext conftest.$ac_ext
32437 - fi
32438 -- if test "${with_glew_mx:=no}" != no; then
32439 -- { { echo "$as_me:$LINENO: error: --with-glew-mx explicitly specified, but no usable version found." >&5
32440 --echo "$as_me: error: --with-glew-mx explicitly specified, but no usable version found." >&2;}
32441 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_fcgi" >&5
32442 -+echo "${ECHO_T}$ncbi_cv_lib_fcgi" >&6; }
32443 -+ if test "$ncbi_cv_lib_fcgi" = "no"; then
32444 -+ if test "${with_fastcgi:=no}" != no; then
32445 -+ { { echo "$as_me:$LINENO: error: --with-fastcgi explicitly specified, but no usable version found." >&5
32446 -+echo "$as_me: error: --with-fastcgi explicitly specified, but no usable version found." >&2;}
32447 - { (exit 1); exit 1; }; }
32448 - fi
32449 -- else
32450 -- if test -z "${tmp_LIBS+set}"; then
32451 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
32452 -- tmp_LIBS=`echo $GLEW_LDFLAGS $GLEW_LIBS | sed -e ""`
32453 -- else
32454 -- tmp_LIBS=
32455 -- ncbi_rp_L_sep=
32456 -- ncbi_rp_R_flags=
32457 -- ncbi_rp_R_sep=" $CONF_f_runpath"
32458 -- for x in `echo $GLEW_LDFLAGS $GLEW_LIBS | sed -e ""`; do
32459 -- case "$x" in
32460 -- -L*)
32461 -- tmp_LIBS="$tmp_LIBS${ncbi_rp_L_sep}$x"
32462 -- x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
32463 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
32464 -- ncbi_rp_R_sep=:
32465 -- ;;
32466 -- *)
32467 -- tmp_LIBS="$tmp_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
32468 -- ncbi_rp_R_flags=
32469 -- ncbi_rp_R_sep=" $CONF_f_runpath"
32470 -- ;;
32471 -- esac
32472 -- ncbi_rp_L_sep=" "
32473 -- done
32474 -- tmp_LIBS="$tmp_LIBS${ncbi_rp_R_flags}"
32475 -- fi
32476 - fi
32477 -- GLEW_LIBS=$tmp_LIBS
32478 -- WithPackages="$WithPackages${WithPackagesSep}GLEW"; WithPackagesSep=" "
32479 -- CPPFLAGS="$orig_CPPFLAGS $GLEW_INCLUDE $OPENGL_INCLUDE"
32480 -- LIBS="$GLEW_LIBS $OPENGL_LIBS $DL_LIBS $orig_LIBS"
32481 -- echo "$as_me:$LINENO: checking for GLEW multi-context (MX) support (recommended)" >&5
32482 --echo $ECHO_N "checking for GLEW multi-context (MX) support (recommended)... $ECHO_C" >&6
32483 --if test "${ncbi_cv_lib_glew_mx+set}" = set; then
32484 -+
32485 -+for ac_func in FCGX_Accept_r
32486 -+do
32487 -+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32488 -+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
32489 -+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
32490 -+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
32491 - echo $ECHO_N "(cached) $ECHO_C" >&6
32492 - else
32493 - cat >conftest.$ac_ext <<_ACEOF
32494 -@@ -28517,3446 +33192,3722 @@
32495 - cat confdefs.h >>conftest.$ac_ext
32496 - cat >>conftest.$ac_ext <<_ACEOF
32497 - /* end confdefs.h. */
32498 --#define GLEW_MX 1
32499 -- #include <GL/glew.h>
32500 -+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32501 -+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
32502 -+#define $ac_func innocuous_$ac_func
32503 -+
32504 -+/* System header to define __stub macros and hopefully few prototypes,
32505 -+ which can conflict with char $ac_func (); below.
32506 -+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32507 -+ <limits.h> exists even on freestanding compilers. */
32508 -+
32509 -+#ifdef __STDC__
32510 -+# include <limits.h>
32511 -+#else
32512 -+# include <assert.h>
32513 -+#endif
32514 -+
32515 -+#undef $ac_func
32516 -+
32517 -+/* Override any GCC internal prototype to avoid an error.
32518 -+ Use char because int might match the return type of a GCC
32519 -+ builtin and then its argument prototype would still apply. */
32520 -+#ifdef __cplusplus
32521 -+extern "C"
32522 -+#endif
32523 -+char $ac_func ();
32524 -+/* The GNU C library defines this for functions which it implements
32525 -+ to always fail with ENOSYS. Some functions are actually named
32526 -+ something starting with __ and the normal name is an alias. */
32527 -+#if defined __stub_$ac_func || defined __stub___$ac_func
32528 -+choke me
32529 -+#endif
32530 -+
32531 - int
32532 - main ()
32533 - {
32534 --glewContextInit(NULL);
32535 -+return $ac_func ();
32536 - ;
32537 - return 0;
32538 - }
32539 - _ACEOF
32540 - rm -f conftest.$ac_objext conftest$ac_exeext
32541 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32542 -- (eval $ac_link) 2>conftest.er1
32543 -+if { (ac_try="$ac_link"
32544 -+case "(($ac_try" in
32545 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32546 -+ *) ac_try_echo=$ac_try;;
32547 -+esac
32548 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32549 -+ (eval "$ac_link") 2>conftest.er1
32550 - ac_status=$?
32551 - grep -v '^ *+' conftest.er1 >conftest.err
32552 - rm -f conftest.er1
32553 - cat conftest.err >&5
32554 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32555 - (exit $ac_status); } &&
32556 -- { ac_try='test -z "$ac_cxx_werror_flag"
32557 -- || test ! -s conftest.err'
32558 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32559 -- (eval $ac_try) 2>&5
32560 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32561 -+ { (case "(($ac_try" in
32562 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32563 -+ *) ac_try_echo=$ac_try;;
32564 -+esac
32565 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32566 -+ (eval "$ac_try") 2>&5
32567 - ac_status=$?
32568 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32569 - (exit $ac_status); }; } &&
32570 - { ac_try='test -s conftest$ac_exeext'
32571 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32572 -- (eval $ac_try) 2>&5
32573 -+ { (case "(($ac_try" in
32574 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32575 -+ *) ac_try_echo=$ac_try;;
32576 -+esac
32577 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32578 -+ (eval "$ac_try") 2>&5
32579 - ac_status=$?
32580 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32581 - (exit $ac_status); }; }; then
32582 -- ncbi_cv_lib_glew_mx=yes
32583 -+ eval "$as_ac_var=yes"
32584 - else
32585 - echo "$as_me: failed program was:" >&5
32586 - sed 's/^/| /' conftest.$ac_ext >&5
32587 -
32588 --ncbi_cv_lib_glew_mx=no
32589 -+ eval "$as_ac_var=no"
32590 - fi
32591 --rm -f conftest.err conftest.$ac_objext \
32592 -+
32593 -+rm -f core conftest.err conftest.$ac_objext \
32594 - conftest$ac_exeext conftest.$ac_ext
32595 - fi
32596 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_glew_mx" >&5
32597 --echo "${ECHO_T}$ncbi_cv_lib_glew_mx" >&6
32598 -- if test $ncbi_cv_lib_glew_mx = yes; then
32599 -- GLEW_INCLUDE="$GLEW_INCLUDE -DGLEW_MX"
32600 -- else
32601 -- if test "${with_glew_mx:=no}" != no; then
32602 -- { { echo "$as_me:$LINENO: error: --with-glew-mx explicitly specified, but no usable version found." >&5
32603 --echo "$as_me: error: --with-glew-mx explicitly specified, but no usable version found." >&2;}
32604 -- { (exit 1); exit 1; }; }
32605 -- fi
32606 -- fi
32607 -- : ${GLEW_STATIC_LIBS=$GLEW_LIBDIR/libGLEW-static.a}
32608 -- test -f "$GLEW_STATIC_LIBS" || GLEW_STATIC_LIBS=$GLEW_LIBS
32609 -- fi
32610 -+ac_res=`eval echo '${'$as_ac_var'}'`
32611 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
32612 -+echo "${ECHO_T}$ac_res" >&6; }
32613 -+if test `eval echo '${'$as_ac_var'}'` = yes; then
32614 -+ cat >>confdefs.h <<_ACEOF
32615 -+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32616 -+_ACEOF
32617 -+
32618 - fi
32619 -+done
32620 -+
32621 - fi
32622 -+if test "$with_fastcgi" = "no" ; then
32623 -+ FASTCGI_PATH="No_FastCgi"
32624 -+ FASTCGI_INCLUDE=
32625 -+ FASTCGI_LIBS=
32626 -+ FASTCGI_OBJS=
32627 -+else
32628 -+ WithPackages="$WithPackages${WithPackagesSep}Fast-CGI"; WithPackagesSep=" "
32629 -
32630 --LDFLAGS=$orig_LDFLAGS
32631 -+cat >>confdefs.h <<\_ACEOF
32632 -+#define HAVE_LIBFASTCGI 1
32633 -+_ACEOF
32634 -
32635 -+fi
32636 -
32637 --## wxWidgets
32638 --# Insist on single-byte builds by default, per various projects' expectations.
32639 --: ${with_wxwidgets_ucs=no}
32640 --if test "$with_wxwidgets" != "no" ; then
32641 -- case "$with_wxwidgets" in
32642 -- yes | "" ) : ${WXWIDGETS_PATH=$NCBI/wxwidgets} ;;
32643 -- * ) WXWIDGETS_PATH=$with_wxwidgets ;;
32644 -- esac
32645 -- if test -d "$WXWIDGETS_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/lib" \
32646 -- -a -z "$WXWIDGETS_ARCH_PATH"; then
32647 -- WXWIDGETS_ARCH_PATH="$WXWIDGETS_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}"
32648 -- elif test -d "$WXWIDGETS_PATH/${compiler_pfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/lib" \
32649 -- -a -z "$WXWIDGETS_ARCH_PATH"; then
32650 -- WXWIDGETS_ARCH_PATH="$WXWIDGETS_PATH/${compiler_pfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}"
32651 -- else
32652 -- WXWIDGETS_ARCH_PATH="$WXWIDGETS_PATH"
32653 -+
32654 -+## NCBI SSS libraries
32655 -+if test "$with_sybase" = "no" ; then
32656 -+ if test "${with_sssdb:=no}" != no; then
32657 -+ { { echo "$as_me:$LINENO: error: --with-sssdb explicitly specified, but no usable version found." >&5
32658 -+echo "$as_me: error: --with-sssdb explicitly specified, but no usable version found." >&2;}
32659 -+ { (exit 1); exit 1; }; }
32660 - fi
32661 -- WXWIDGETS_BINPATH=${WXWIDGETS_BINPATH:="$WXWIDGETS_ARCH_PATH/bin"}
32662 -- WXWIDGETS_LIBPATH=${WXWIDGETS_LIBPATH:="$WXWIDGETS_ARCH_PATH/lib"}
32663 -- WXWIDGETS_INCLUDE=
32664 -- $as_unset wxconf || test "${wxconf+set}" != set || { wxconf=; export wxconf; }
32665 -- # Extract the first word of "wx-config", so it can be a program name with args.
32666 --set dummy wx-config; ac_word=$2
32667 --echo "$as_me:$LINENO: checking for $ac_word" >&5
32668 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32669 --if test "${ac_cv_path_wxconf+set}" = set; then
32670 -- echo $ECHO_N "(cached) $ECHO_C" >&6
32671 --else
32672 -- case $wxconf in
32673 -- [\\/]* | ?:[\\/]*)
32674 -- ac_cv_path_wxconf="$wxconf" # Let the user override the test with a path.
32675 -- ;;
32676 -- *)
32677 -- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32678 --as_dummy="$WXWIDGETS_BINPATH:$PATH"
32679 --for as_dir in $as_dummy
32680 --do
32681 -- IFS=$as_save_IFS
32682 -- test -z "$as_dir" && as_dir=.
32683 -- for ac_exec_ext in '' $ac_executable_extensions; do
32684 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32685 -- ac_cv_path_wxconf="$as_dir/$ac_word$ac_exec_ext"
32686 -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32687 -- break 2
32688 - fi
32689 --done
32690 --done
32691 -
32692 -+case "$host_os:$compiler:$compiler_version" in
32693 -+ linux*:GCC:*)
32694 -+ : ${with_included_sss=yes}
32695 - ;;
32696 - esac
32697 --fi
32698 --wxconf=$ac_cv_path_wxconf
32699 -
32700 --if test -n "$wxconf"; then
32701 -- echo "$as_me:$LINENO: result: $wxconf" >&5
32702 --echo "${ECHO_T}$wxconf" >&6
32703 -+if test "$with_sss" != "no" ; then
32704 -+ local_sss=${real_srcdir}/src/internal/sss
32705 -+ if test "${with_included_sss-no}" = "yes" \
32706 -+ -a -f "$local_sss/utils/sssdebug.hpp" \
32707 -+ -a -f "${local_sss}srv/cli/sssconnection.cpp"; then
32708 -+ with_included_sss=yes
32709 -+ NCBI_SSS_PATH=$local_sss
32710 -+ NCBI_SSS_INCLUDE="\$(incdir)/sss"
32711 -+ NCBI_SSS_LIBPATH="\$(libdir)"
32712 -+ WithPackages="$WithPackages${WithPackagesSep}LocalSSS"; WithPackagesSep=" "
32713 -+ if test -f "$local_sss/../msgmail2/asn/msgmail.asn"; then
32714 -+ WithPackages="$WithPackages${WithPackagesSep}LocalMSGMAIL2"; WithPackagesSep=" "
32715 -+ fi
32716 - else
32717 -- echo "$as_me:$LINENO: result: no" >&5
32718 --echo "${ECHO_T}no" >&6
32719 -+ with_included_sss=no
32720 - fi
32721 --
32722 -- if test -x "$wxconf"; then
32723 -- WXWIDGETS_ARCH_PATH=`$wxconf --exec-prefix`
32724 -- if test -n "$with_wxwidgets_ucs"; then
32725 -- wxcfflags=--unicode=$with_wxwidgets_ucs
32726 -+ if test "${with_sss-yes}" = yes; then
32727 -+ NCBI_SSS_PATH=${NCBI_SSS_PATH:="$NCBI/sss/BUILD"}
32728 - else
32729 -- wxcfflags=
32730 -+ NCBI_SSS_PATH=$with_sss
32731 - fi
32732 -- for x in `"$wxconf" $wxcfflags --libs --static 2>&5`; do
32733 -- case "$x" in
32734 -- -L*)
32735 -- d=`echo $x | sed -e 's/^-L//'`
32736 -- pcd=$d/pkgconfig
32737 -- if test -d "$pcd"; then
32738 -- PKG_CONFIG_PATH="${PKG_CONFIG_PATH+$PKG_CONFIG_PATH:}$pcd"
32739 -+ NCBI_SSS_INCLUDE=${NCBI_SSS_INCLUDE:="$NCBI_SSS_PATH/include"}
32740 -+ if test -z "$NCBI_SSS_LIBPATH" ; then
32741 -+ NCBI_SSS_LIBPATH="${NCBI_SSS_PATH}/lib/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}"
32742 -+ if test "$with_mt" = "yes" ; then
32743 -+ NCBI_SSS_LIBPATH="${NCBI_SSS_LIBPATH}mt"
32744 -+ fi
32745 -+ fi
32746 -+ { echo "$as_me:$LINENO: checking for NCBI SSS directories${NCBI_SSS_PATH:+ in $NCBI_SSS_PATH}" >&5
32747 -+echo $ECHO_N "checking for NCBI SSS directories${NCBI_SSS_PATH:+ in $NCBI_SSS_PATH}... $ECHO_C" >&6; }
32748 -+ if test "$with_included_sss" = "yes"; then
32749 -+ { echo "$as_me:$LINENO: result: yes" >&5
32750 -+echo "${ECHO_T}yes" >&6; } # duh
32751 -+ elif test ! -d "${NCBI_SSS_LIBPATH}" -o ! -d "${NCBI_SSS_INCLUDE}" ; then
32752 -+ { echo "$as_me:$LINENO: result: no" >&5
32753 -+echo "${ECHO_T}no" >&6; }
32754 -+ if test "${with_sss:=no}" != no; then
32755 -+ { { echo "$as_me:$LINENO: error: --with-sss explicitly specified, but no usable version found." >&5
32756 -+echo "$as_me: error: --with-sss explicitly specified, but no usable version found." >&2;}
32757 -+ { (exit 1); exit 1; }; }
32758 - fi
32759 -- ;;
32760 -- esac
32761 -- done
32762 -- export PKG_CONFIG_PATH
32763 - else
32764 -- $as_unset wxconf || test "${wxconf+set}" != set || { wxconf=; export wxconf; }
32765 -+ { echo "$as_me:$LINENO: result: yes" >&5
32766 -+echo "${ECHO_T}yes" >&6; }
32767 - fi
32768 -- if test -x "$wxconf" \
32769 -- && "$wxconf" $wxcfflags --list 2>/dev/null \
32770 -- | grep 'Default config is gtk2' >/dev/null; then
32771 -- gtkconf="pkg-config gtk+-2.0"
32772 -- elif test -x "$WXWIDGETS_BINPATH/gtk-config"; then
32773 -- gtkconf=$WXWIDGETS_BINPATH/gtk-config
32774 -- elif gtk-config --version >/dev/null 2>&1; then
32775 -- gtkconf=gtk-config
32776 -- else
32777 -- # May work without gtk-config (e.g., on Mac OS X)
32778 -- gtkconf=:
32779 - fi
32780 -- case "$host_os" in
32781 -- darwin* )
32782 -- baseflags=""
32783 -- basesed='s/-isysroot [^ ]*//g; s/-arch [^ ]*//g'
32784 -- if test -n "$SYSROOT"; then
32785 -- deps=`"$wxconf" $wxcfflags --libs --static 2>/dev/null \
32786 -- | sed -e 's/.*\.a//'`
32787 -- libsed="$basesed; s/\$/ $deps/"
32788 -- else
32789 -- libsed=$basesed
32790 -+
32791 -+if test "$with_sss" = "no" ; then
32792 -+ if test "${with_sssutils:=no}" != no; then
32793 -+ { { echo "$as_me:$LINENO: error: --with-sssutils explicitly specified, but no usable version found." >&5
32794 -+echo "$as_me: error: --with-sssutils explicitly specified, but no usable version found." >&2;}
32795 -+ { (exit 1); exit 1; }; }
32796 - fi
32797 -- ;;
32798 -- * )
32799 -- baseflags=`$gtkconf --cflags 2>/dev/null`
32800 -- basesed=$no_usr_lib
32801 -- libsed=$basesed
32802 -- ;;
32803 -- esac
32804 -- echo "$as_me:$LINENO: checking for wxWidgets in $WXWIDGETS_ARCH_PATH" >&5
32805 --echo $ECHO_N "checking for wxWidgets in $WXWIDGETS_ARCH_PATH... $ECHO_C" >&6
32806 --if test "${ncbi_cv_lib_wxwidgets+set}" = set; then
32807 -- echo $ECHO_N "(cached) $ECHO_C" >&6
32808 -+ if test "${with_sssdb:=no}" != no; then
32809 -+ { { echo "$as_me:$LINENO: error: --with-sssdb explicitly specified, but no usable version found." >&5
32810 -+echo "$as_me: error: --with-sssdb explicitly specified, but no usable version found." >&2;}
32811 -+ { (exit 1); exit 1; }; }
32812 -+ fi
32813 -+ NCBI_SSS_INCLUDE=
32814 -+ NCBI_SSS_LIBPATH=
32815 -+ LIBSSSUTILS=
32816 -+ LIBSSSDB=
32817 - else
32818 -- if test -x "$wxconf" ; then
32819 -- WXWIDGETS_INCLUDE="$baseflags `"$wxconf" $wxcfflags --cflags`"
32820 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
32821 -- WXWIDGETS_LIBS=`"$wxconf" $wxcfflags --libs | sed -e "$libsed; "`
32822 -+ if test "$with_included_sss" = "yes"; then
32823 -+ NCBI_SSS_LIBPATH= # Not needed
32824 -+ ncbi_cv_lib_sssutils=yes
32825 -+ ncbi_cv_lib_sssdb=yes
32826 -+ sssutils=sssutils
32827 - else
32828 -- WXWIDGETS_LIBS=
32829 -- ncbi_rp_L_sep=
32830 -- ncbi_rp_R_flags=
32831 -- ncbi_rp_R_sep=" $CONF_f_runpath"
32832 -- for x in `"$wxconf" $wxcfflags --libs | sed -e "$libsed; "`; do
32833 -- case "$x" in
32834 -- -L*)
32835 -- WXWIDGETS_LIBS="$WXWIDGETS_LIBS${ncbi_rp_L_sep}$x"
32836 -- x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
32837 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
32838 -- ncbi_rp_R_sep=:
32839 -- ;;
32840 -- *)
32841 -- WXWIDGETS_LIBS="$WXWIDGETS_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
32842 -- ncbi_rp_R_flags=
32843 -- ncbi_rp_R_sep=" $CONF_f_runpath"
32844 -- ;;
32845 -- esac
32846 -- ncbi_rp_L_sep=" "
32847 -- done
32848 -- WXWIDGETS_LIBS="$WXWIDGETS_LIBS${ncbi_rp_R_flags}"
32849 -+ NCBI_SSS_LIBPATH="-L${NCBI_SSS_LIBPATH}"
32850 - fi
32851 -+ NCBI_SSS_INCLUDE="-I${NCBI_SSS_INCLUDE}"
32852 -
32853 -- CPPFLAGS="$WXWIDGETS_INCLUDE $orig_CPPFLAGS"
32854 -- LIBS="$WXWIDGETS_LIBS $orig_LIBS"
32855 -+ # SSS UTILS
32856 -+ if test "$with_sssutils" != "no" ; then
32857 -+ LIBSSSUTILS="-lsssutils"
32858 -+ { echo "$as_me:$LINENO: checking for the NCBI SSS UTILS library" >&5
32859 -+echo $ECHO_N "checking for the NCBI SSS UTILS library... $ECHO_C" >&6; }
32860 -+if test "${ncbi_cv_lib_sssutils+set}" = set; then
32861 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
32862 -+else
32863 -+ CPPFLAGS="$NCBI_SSS_INCLUDE $SYBASE_INCLUDE $orig_CPPFLAGS"
32864 -+ LIBS="$NCBI_SSS_LIBPATH $LIBSSSUTILS $SYBASE_LIBS $NETWORK_LIBS $DL_LIBS $orig_LIBS"
32865 - cat >conftest.$ac_ext <<_ACEOF
32866 - /* confdefs.h. */
32867 - _ACEOF
32868 - cat confdefs.h >>conftest.$ac_ext
32869 - cat >>conftest.$ac_ext <<_ACEOF
32870 - /* end confdefs.h. */
32871 --#include <wx/wx.h>
32872 -+#include <hashtab.hpp>
32873 - int
32874 - main ()
32875 - {
32876 -- wxExit();
32877 -+ (new C_HashTab(123))->Clear();
32878 - ;
32879 - return 0;
32880 - }
32881 - _ACEOF
32882 - rm -f conftest.$ac_objext conftest$ac_exeext
32883 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32884 -- (eval $ac_link) 2>conftest.er1
32885 -+if { (ac_try="$ac_link"
32886 -+case "(($ac_try" in
32887 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32888 -+ *) ac_try_echo=$ac_try;;
32889 -+esac
32890 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32891 -+ (eval "$ac_link") 2>conftest.er1
32892 - ac_status=$?
32893 - grep -v '^ *+' conftest.er1 >conftest.err
32894 - rm -f conftest.er1
32895 - cat conftest.err >&5
32896 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32897 - (exit $ac_status); } &&
32898 -- { ac_try='test -z "$ac_cxx_werror_flag"
32899 -- || test ! -s conftest.err'
32900 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32901 -- (eval $ac_try) 2>&5
32902 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32903 -+ { (case "(($ac_try" in
32904 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32905 -+ *) ac_try_echo=$ac_try;;
32906 -+esac
32907 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32908 -+ (eval "$ac_try") 2>&5
32909 - ac_status=$?
32910 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32911 - (exit $ac_status); }; } &&
32912 - { ac_try='test -s conftest$ac_exeext'
32913 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32914 -- (eval $ac_try) 2>&5
32915 -+ { (case "(($ac_try" in
32916 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32917 -+ *) ac_try_echo=$ac_try;;
32918 -+esac
32919 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32920 -+ (eval "$ac_try") 2>&5
32921 - ac_status=$?
32922 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
32923 - (exit $ac_status); }; }; then
32924 -- ncbi_cv_lib_wxwidgets=yes
32925 -+ ncbi_cv_lib_sssutils=yes
32926 - else
32927 - echo "$as_me: failed program was:" >&5
32928 - sed 's/^/| /' conftest.$ac_ext >&5
32929 -
32930 --ncbi_cv_lib_wxwidgets=no
32931 -+ ncbi_cv_lib_sssutils=no
32932 - fi
32933 --rm -f conftest.err conftest.$ac_objext \
32934 -+
32935 -+rm -f core conftest.err conftest.$ac_objext \
32936 - conftest$ac_exeext conftest.$ac_ext
32937 -- else
32938 -- ncbi_cv_lib_wxwidgets=no
32939 -+fi
32940 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_sssutils" >&5
32941 -+echo "${ECHO_T}$ncbi_cv_lib_sssutils" >&6; }
32942 -+ if test "$ncbi_cv_lib_sssutils" = yes; then
32943 -+
32944 -+cat >>confdefs.h <<\_ACEOF
32945 -+#define HAVE_LIBSSSUTILS 1
32946 -+_ACEOF
32947 -+
32948 -+ WithPackages="$WithPackages${WithPackagesSep}SSSUTILS"; WithPackagesSep=" "
32949 -+ if test -f "$local_sss/../ncbils2/asn/login.asn"; then
32950 -+ if test "$with_included_sss" = yes || \
32951 -+ grep vformat $NCBI_SSS_INCLUDE/String.hpp >/dev/null 2>&1; then
32952 -+ WithPackages="$WithPackages${WithPackagesSep}LocalNCBILS"; WithPackagesSep=" " # temporary compatibility measure
32953 -+ WithPackages="$WithPackages${WithPackagesSep}NCBILS2"; WithPackagesSep=" "
32954 - fi
32955 - fi
32956 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_wxwidgets" >&5
32957 --echo "${ECHO_T}$ncbi_cv_lib_wxwidgets" >&6
32958 -- if test "$ncbi_cv_lib_wxwidgets" = "no"; then
32959 -- if test "${with_wxwidgets:=no}" != no; then
32960 -- { { echo "$as_me:$LINENO: error: --with-wxwidgets explicitly specified, but no usable version found." >&5
32961 --echo "$as_me: error: --with-wxwidgets explicitly specified, but no usable version found." >&2;}
32962 -+ else
32963 -+ if test "${with_sssutils:=no}" != no; then
32964 -+ { { echo "$as_me:$LINENO: error: --with-sssutils explicitly specified, but no usable version found." >&5
32965 -+echo "$as_me: error: --with-sssutils explicitly specified, but no usable version found." >&2;}
32966 -+ { (exit 1); exit 1; }; }
32967 -+ fi
32968 -+ if test "${with_sss:=no}" != no; then
32969 -+ { { echo "$as_me:$LINENO: error: --with-sss explicitly specified, but no usable version found." >&5
32970 -+echo "$as_me: error: --with-sss explicitly specified, but no usable version found." >&2;}
32971 - { (exit 1); exit 1; }; }
32972 - fi
32973 -+ LIBSSSUTILS=""
32974 - fi
32975 - fi
32976 -
32977 --if test "$with_wxwidgets" = "no" ; then
32978 -- WXWIDGETS_LIBPATH="No_wxWidgets"
32979 -- WXWIDGETS_INCLUDE=
32980 -- WXWIDGETS_LIBS=
32981 -- WXWIDGETS_STATIC_LIBS=
32982 -- WXWIDGETS_GL_LIBS=
32983 -- WXWIDGETS_GL_STATIC_LIBS=
32984 -- WXWIDGETS_POST_LINK=:
32985 -+ # SSS DB
32986 -+ if test "$with_sssdb" != "no" ; then
32987 -+ if test "$with_mt" = "yes" ; then
32988 -+ LIBSSSDB="-lsssdb -lssssys"
32989 - else
32990 -- WithPackages="$WithPackages${WithPackagesSep}wxWidgets"; WithPackagesSep=" "
32991 -- case "`"$wxconf" $wxcfflags --version`" in
32992 -- 2.[89].* | 2.[0-9][0-9]* )
32993 -- WithPackages="$WithPackages${WithPackagesSep}wx2.8"; WithPackagesSep=" "
32994 -- wxlibs=std,richtext,aui
32995 -- ;;
32996 -- *)
32997 -- wxlibs=std
32998 -- ;;
32999 -- esac
33000 -- # The "yes" may have been cached; get the actual settings again if needed
33001 -- if test -z "$WXWIDGETS_INCLUDE"; then
33002 -- WXWIDGETS_INCLUDE="$baseflags `"$wxconf" $wxcfflags --cflags`"
33003 -+ LIBSSSDB="-lsssdb"
33004 - fi
33005 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
33006 -- WXWIDGETS_LIBS=`$wxconf $wxcfflags --libs $wxlibs | sed -e "$libsed; "`
33007 -+ { echo "$as_me:$LINENO: checking for the NCBI SSS DB library" >&5
33008 -+echo $ECHO_N "checking for the NCBI SSS DB library... $ECHO_C" >&6; }
33009 -+if test "${ncbi_cv_lib_sssdb+set}" = set; then
33010 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
33011 - else
33012 -- WXWIDGETS_LIBS=
33013 -- ncbi_rp_L_sep=
33014 -- ncbi_rp_R_flags=
33015 -- ncbi_rp_R_sep=" $CONF_f_runpath"
33016 -- for x in `$wxconf $wxcfflags --libs $wxlibs | sed -e "$libsed; "`; do
33017 -- case "$x" in
33018 -- -L*)
33019 -- WXWIDGETS_LIBS="$WXWIDGETS_LIBS${ncbi_rp_L_sep}$x"
33020 -- x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
33021 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
33022 -- ncbi_rp_R_sep=:
33023 -- ;;
33024 -- *)
33025 -- WXWIDGETS_LIBS="$WXWIDGETS_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
33026 -- ncbi_rp_R_flags=
33027 -- ncbi_rp_R_sep=" $CONF_f_runpath"
33028 -- ;;
33029 -+ CPPFLAGS="$NCBI_SSS_INCLUDE $SYBASE_INCLUDE $orig_CPPFLAGS"
33030 -+ LIBS="$NCBI_SSS_LIBPATH $LIBSSSDB $SYBASE_LIBS $NETWORK_LIBS $DL_LIBS $orig_LIBS"
33031 -+ cat >conftest.$ac_ext <<_ACEOF
33032 -+/* confdefs.h. */
33033 -+_ACEOF
33034 -+cat confdefs.h >>conftest.$ac_ext
33035 -+cat >>conftest.$ac_ext <<_ACEOF
33036 -+/* end confdefs.h. */
33037 -+#include <cslink.hpp>
33038 -+int
33039 -+main ()
33040 -+{
33041 -+ (new CSLink)->connect2server("srv", "user", "pwd", "db");
33042 -+ ;
33043 -+ return 0;
33044 -+}
33045 -+_ACEOF
33046 -+rm -f conftest.$ac_objext conftest$ac_exeext
33047 -+if { (ac_try="$ac_link"
33048 -+case "(($ac_try" in
33049 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33050 -+ *) ac_try_echo=$ac_try;;
33051 - esac
33052 -- ncbi_rp_L_sep=" "
33053 -- done
33054 -- WXWIDGETS_LIBS="$WXWIDGETS_LIBS${ncbi_rp_R_flags}"
33055 -- fi
33056 -- WXWIDGETS_STATIC_LIBS=`"$wxconf" $wxcfflags --libs --static $wxlibs \
33057 -- 2>/dev/null | sed -e "$basesed"`
33058 -- if test -n "$WXWIDGETS_STATIC_LIBS"; then
33059 -- # Allow direct use of underlying libraries with strict linkers
33060 -- WXWIDGETS_LIBS="$WXWIDGETS_LIBS `echo $WXWIDGETS_STATIC_LIBS | sed -e 's/.*\.a *//'`"
33061 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33062 -+ (eval "$ac_link") 2>conftest.er1
33063 -+ ac_status=$?
33064 -+ grep -v '^ *+' conftest.er1 >conftest.err
33065 -+ rm -f conftest.er1
33066 -+ cat conftest.err >&5
33067 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
33068 -+ (exit $ac_status); } &&
33069 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33070 -+ { (case "(($ac_try" in
33071 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33072 -+ *) ac_try_echo=$ac_try;;
33073 -+esac
33074 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33075 -+ (eval "$ac_try") 2>&5
33076 -+ ac_status=$?
33077 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
33078 -+ (exit $ac_status); }; } &&
33079 -+ { ac_try='test -s conftest$ac_exeext'
33080 -+ { (case "(($ac_try" in
33081 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33082 -+ *) ac_try_echo=$ac_try;;
33083 -+esac
33084 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33085 -+ (eval "$ac_try") 2>&5
33086 -+ ac_status=$?
33087 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
33088 -+ (exit $ac_status); }; }; then
33089 -+ ncbi_cv_lib_sssdb=yes
33090 - else
33091 -- WXWIDGETS_STATIC_LIBS=$WXWIDGETS_LIBS
33092 -+ echo "$as_me: failed program was:" >&5
33093 -+sed 's/^/| /' conftest.$ac_ext >&5
33094 -+
33095 -+ ncbi_cv_lib_sssdb=no
33096 - fi
33097 -- WXWIDGETS_GL_LIBS=`"$wxconf" $wxcfflags --libs gl | sed -e "$basesed"`
33098 -- WXWIDGETS_GL_STATIC_LIBS=`"$wxconf" $wxcfflags --libs gl --static \
33099 -- 2>/dev/null | sed -e "$basesed; s|-lGLU* -lGLU*|$OPENGL_STATIC_LIBS|"`
33100 -- : ${WXWIDGETS_GL_STATIC_LIBS:=$WXWIDGETS_GL_LIBS}
33101 -- WXWIDGETS_POST_LINK=`"$wxconf" $wxcfflags --rezflags 2>/dev/null`
33102 -- test -n "$WXWIDGETS_POST_LINK" || WXWIDGETS_POST_LINK=:
33103 -+
33104 -+rm -f core conftest.err conftest.$ac_objext \
33105 -+ conftest$ac_exeext conftest.$ac_ext
33106 -+fi
33107 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_sssdb" >&5
33108 -+echo "${ECHO_T}$ncbi_cv_lib_sssdb" >&6; }
33109 -+ if test "$ncbi_cv_lib_sssdb" = "yes"; then
33110 -
33111 - cat >>confdefs.h <<\_ACEOF
33112 --#define HAVE_WXWIDGETS 1
33113 -+#define HAVE_LIBSSSDB 1
33114 - _ACEOF
33115 -
33116 -+ WithPackages="$WithPackages${WithPackagesSep}SSSDB"; WithPackagesSep=" "
33117 -+ else
33118 -+ if test "${with_sssdb:=no}" != no; then
33119 -+ { { echo "$as_me:$LINENO: error: --with-sssdb explicitly specified, but no usable version found." >&5
33120 -+echo "$as_me: error: --with-sssdb explicitly specified, but no usable version found." >&2;}
33121 -+ { (exit 1); exit 1; }; }
33122 - fi
33123 --
33124 --
33125 --## In-house Fast-CGI library
33126 --if test "$with_fastcgi" != "no" ; then
33127 -- case "$with_fastcgi" in
33128 -- yes | "" ) : ${FASTCGI_PATH:="$NCBI/fcgi-current"} ;;
33129 -- */* ) FASTCGI_PATH=$with_fastcgi ;;
33130 -- * ) FASTCGI_PATH=$NCBI/fcgi-${with_fastcgi} ;;
33131 -- esac
33132 -- if test -d "$FASTCGI_PATH"; then
33133 -- ncbi_fix_dir_tmp=`if cd $FASTCGI_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
33134 -- case "$ncbi_fix_dir_tmp" in
33135 -- /.*) ncbi_fix_dir_tmp2=`cd $FASTCGI_PATH && $smart_pwd 2>/dev/null`
33136 -- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
33137 -- FASTCGI_PATH=$ncbi_fix_dir_tmp2
33138 -+ if test "${with_sss:=no}" != no; then
33139 -+ { { echo "$as_me:$LINENO: error: --with-sss explicitly specified, but no usable version found." >&5
33140 -+echo "$as_me: error: --with-sss explicitly specified, but no usable version found." >&2;}
33141 -+ { (exit 1); exit 1; }; }
33142 -+ fi
33143 -+ LIBSSSDB=""
33144 -+ fi
33145 -+ fi
33146 -+fi
33147 -+
33148 -+
33149 -+# SP
33150 -+if test "$with_sp" != "no" ; then
33151 -+ if test -n "$SP_INCLUDE"; then
33152 -+ SP_GENERIC="$SP_INCLUDE/../generic"
33153 - else
33154 -- case "$FASTCGI_PATH" in
33155 -- /*) ;;
33156 -- * ) FASTCGI_PATH=$ncbi_fix_dir_tmp ;;
33157 -- esac
33158 -+ SP_INCLUDE="$SP_PATH/include"
33159 -+ SP_GENERIC="$SP_PATH/generic"
33160 - fi
33161 -- ;;
33162 -- /*) FASTCGI_PATH=$ncbi_fix_dir_tmp ;;
33163 -- esac
33164 -+ if test -z "$SP_LIBPATH" ; then
33165 -+ SP_LIBPATH="${SP_PATH}/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}"
33166 -+ fi
33167 -+ { echo "$as_me:$LINENO: checking for SP directories${SP_PATH:+ in $SP_PATH}" >&5
33168 -+echo $ECHO_N "checking for SP directories${SP_PATH:+ in $SP_PATH}... $ECHO_C" >&6; }
33169 -+ if test ! -d "${SP_LIBPATH}" -o ! -d "${SP_INCLUDE}" ; then
33170 -+ { echo "$as_me:$LINENO: result: no" >&5
33171 -+echo "${ECHO_T}no" >&6; }
33172 -+ if test "${with_sp:=no}" != no; then
33173 -+ { { echo "$as_me:$LINENO: error: --with-sp explicitly specified, but no usable version found." >&5
33174 -+echo "$as_me: error: --with-sp explicitly specified, but no usable version found." >&2;}
33175 -+ { (exit 1); exit 1; }; }
33176 - fi
33177 -- FASTCGI_INCLUDE="-I$FASTCGI_PATH/include${bit64_sfx}"
33178 -- if test "$with_debug" = "no" ; then
33179 -- FASTCGI_LIBDIR="$FASTCGI_PATH/lib${bit64_sfx}"
33180 - else
33181 -- FASTCGI_LIBDIR="$FASTCGI_PATH/altlib${bit64_sfx}"
33182 -+ { echo "$as_me:$LINENO: result: yes" >&5
33183 -+echo "${ECHO_T}yes" >&6; }
33184 - fi
33185 -- ncbi_rp_L_flags=
33186 -- ncbi_rp_L_sep=$CONF_f_libpath
33187 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
33188 -- for x in $FASTCGI_LIBDIR; do
33189 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
33190 -- ncbi_rp_L_sep=" $CONF_f_libpath"
33191 -- done
33192 -- FASTCGI_LIBS="${ncbi_rp_L_flags} -lfcgi $NETWORK_LIBS"
33193 -+fi
33194 -+
33195 -+if test "$with_sp" != "no" ; then
33196 -+ if test -d "$SP_GENERIC"; then
33197 -+ SP_INCLUDE="-I${SP_INCLUDE} -I${SP_GENERIC}"
33198 - else
33199 -- ncbi_rp_R_flags=
33200 -- ncbi_rp_R_sep=" $CONF_f_runpath"
33201 -- for x in $FASTCGI_LIBDIR; do
33202 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
33203 -- ncbi_rp_L_sep=" $CONF_f_libpath"
33204 -- x=`echo $x | sed -e "$ncbi_rpath_sed"`
33205 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
33206 -- ncbi_rp_R_sep=:
33207 -- done
33208 -- FASTCGI_LIBS="${ncbi_rp_L_flags}${ncbi_rp_R_flags} -lfcgi $NETWORK_LIBS"
33209 -+ SP_INCLUDE="-I${SP_INCLUDE}"
33210 - fi
33211 -- FASTCGI_OBJS="fcgibuf"
33212 -- LIBS="$FASTCGI_LIBS $orig_LIBS"
33213 -- echo "$as_me:$LINENO: checking for FastCGI libraries in $FASTCGI_PATH" >&5
33214 --echo $ECHO_N "checking for FastCGI libraries in $FASTCGI_PATH... $ECHO_C" >&6
33215 --if test "${ncbi_cv_lib_fcgi+set}" = set; then
33216 -+ SP_LIBS="-L$SP_LIBPATH -lsp"
33217 -+ { echo "$as_me:$LINENO: checking for the SP SGML library" >&5
33218 -+echo $ECHO_N "checking for the SP SGML library... $ECHO_C" >&6; }
33219 -+if test "${ncbi_cv_lib_sp+set}" = set; then
33220 - echo $ECHO_N "(cached) $ECHO_C" >&6
33221 - else
33222 -- CPPFLAGS="$FASTCGI_INCLUDE $orig_CPPFLAGS"
33223 -+ CPPFLAGS="$SP_INCLUDE $orig_CPPFLAGS"
33224 -+ LIBS="$SP_LIBS $orig_LIBS"
33225 - cat >conftest.$ac_ext <<_ACEOF
33226 - /* confdefs.h. */
33227 - _ACEOF
33228 - cat confdefs.h >>conftest.$ac_ext
33229 - cat >>conftest.$ac_ext <<_ACEOF
33230 - /* end confdefs.h. */
33231 --#include <fcgiapp.h>
33232 -+#include <SGMLApplication.h>
33233 - int
33234 - main ()
33235 - {
33236 -- (void) FCGX_IsCGI();
33237 -+ SP_API::SGMLApplication app;
33238 - ;
33239 - return 0;
33240 - }
33241 - _ACEOF
33242 - rm -f conftest.$ac_objext conftest$ac_exeext
33243 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33244 -- (eval $ac_link) 2>conftest.er1
33245 -+if { (ac_try="$ac_link"
33246 -+case "(($ac_try" in
33247 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33248 -+ *) ac_try_echo=$ac_try;;
33249 -+esac
33250 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33251 -+ (eval "$ac_link") 2>conftest.er1
33252 - ac_status=$?
33253 - grep -v '^ *+' conftest.er1 >conftest.err
33254 - rm -f conftest.er1
33255 - cat conftest.err >&5
33256 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33257 - (exit $ac_status); } &&
33258 -- { ac_try='test -z "$ac_cxx_werror_flag"
33259 -- || test ! -s conftest.err'
33260 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33261 -- (eval $ac_try) 2>&5
33262 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33263 -+ { (case "(($ac_try" in
33264 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33265 -+ *) ac_try_echo=$ac_try;;
33266 -+esac
33267 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33268 -+ (eval "$ac_try") 2>&5
33269 - ac_status=$?
33270 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33271 - (exit $ac_status); }; } &&
33272 - { ac_try='test -s conftest$ac_exeext'
33273 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33274 -- (eval $ac_try) 2>&5
33275 -+ { (case "(($ac_try" in
33276 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33277 -+ *) ac_try_echo=$ac_try;;
33278 -+esac
33279 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33280 -+ (eval "$ac_try") 2>&5
33281 - ac_status=$?
33282 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33283 - (exit $ac_status); }; }; then
33284 -- ncbi_cv_lib_fcgi=yes
33285 -+ ncbi_cv_lib_sp=yes
33286 - else
33287 - echo "$as_me: failed program was:" >&5
33288 - sed 's/^/| /' conftest.$ac_ext >&5
33289 -
33290 --ncbi_cv_lib_fcgi=no
33291 -+ ncbi_cv_lib_sp=no
33292 - fi
33293 --rm -f conftest.err conftest.$ac_objext \
33294 -+
33295 -+rm -f core conftest.err conftest.$ac_objext \
33296 - conftest$ac_exeext conftest.$ac_ext
33297 - fi
33298 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_fcgi" >&5
33299 --echo "${ECHO_T}$ncbi_cv_lib_fcgi" >&6
33300 -- if test "$ncbi_cv_lib_fcgi" = "no"; then
33301 -- if test "${with_fastcgi:=no}" != no; then
33302 -- { { echo "$as_me:$LINENO: error: --with-fastcgi explicitly specified, but no usable version found." >&5
33303 --echo "$as_me: error: --with-fastcgi explicitly specified, but no usable version found." >&2;}
33304 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_sp" >&5
33305 -+echo "${ECHO_T}$ncbi_cv_lib_sp" >&6; }
33306 -+ if test "$ncbi_cv_lib_sp" = "no"; then
33307 -+ if test "${with_sp:=no}" != no; then
33308 -+ { { echo "$as_me:$LINENO: error: --with-sp explicitly specified, but no usable version found." >&5
33309 -+echo "$as_me: error: --with-sp explicitly specified, but no usable version found." >&2;}
33310 - { (exit 1); exit 1; }; }
33311 - fi
33312 - fi
33313 -+fi
33314 -
33315 --for ac_func in FCGX_Accept_r
33316 --do
33317 --as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33318 --echo "$as_me:$LINENO: checking for $ac_func" >&5
33319 --echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33320 --if eval "test \"\${$as_ac_var+set}\" = set"; then
33321 -+if test "$with_sp" = "no" ; then
33322 -+ SP_INCLUDE=
33323 -+ SP_LIBS=
33324 -+else
33325 -+ WithPackages="$WithPackages${WithPackagesSep}SP"; WithPackagesSep=" "
33326 -+
33327 -+cat >>confdefs.h <<\_ACEOF
33328 -+#define HAVE_LIBSP 1
33329 -+_ACEOF
33330 -+
33331 -+fi
33332 -+
33333 -+
33334 -+## ORBacus CORBA
33335 -+if test "$with_orbacus" != no; then
33336 -+ if test "$with_orbacus" != yes; then
33337 -+ ORBACUS_PATH=$with_orbacus
33338 -+fi
33339 -+if test -d "$ORBACUS_PATH"; then
33340 -+ ncbi_fix_dir_tmp=`if cd $ORBACUS_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
33341 -+ case "$ncbi_fix_dir_tmp" in
33342 -+ /.*) ncbi_fix_dir_tmp2=`cd $ORBACUS_PATH && $smart_pwd 2>/dev/null`
33343 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
33344 -+ ORBACUS_PATH=$ncbi_fix_dir_tmp2
33345 -+ else
33346 -+ case "$ORBACUS_PATH" in
33347 -+ /*) ;;
33348 -+ * ) ORBACUS_PATH=$ncbi_fix_dir_tmp ;;
33349 -+ esac
33350 -+ fi
33351 -+ ;;
33352 -+ /*) ORBACUS_PATH=$ncbi_fix_dir_tmp ;;
33353 -+ esac
33354 -+fi
33355 -+ fullpath=${ORBACUS_PATH}/${DEBUG_SFX}${mt_sfx}${bit64_sfx}
33356 -+ if test -f ${fullpath}/inc/OB/Config.h ; then
33357 -+ : ${ORBACUS_INCLUDE="-I$ORBACUS_PATH/include -I$fullpath/inc"}
33358 -+ if test -z "${ORBACUS_LIBPATH+set}"; then
33359 -+ ncbi_rp_L_flags=
33360 -+ ncbi_rp_L_sep=$CONF_f_libpath
33361 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
33362 -+ for x in $fullpath/lib; do
33363 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
33364 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
33365 -+ done
33366 -+ ORBACUS_LIBPATH="${ncbi_rp_L_flags}"
33367 -+ else
33368 -+ ncbi_rp_R_flags=
33369 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
33370 -+ for x in $fullpath/lib; do
33371 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
33372 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
33373 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
33374 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
33375 -+ ncbi_rp_R_sep=:
33376 -+ done
33377 -+ ORBACUS_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
33378 -+ fi
33379 -+ fi
33380 -+ elif test -f ${ORBACUS_PATH}/include/OB/Config.h ; then
33381 -+ : ${ORBACUS_INCLUDE="-I$ORBACUS_PATH/include"}
33382 -+ if test -z "${ORBACUS_LIBPATH+set}"; then
33383 -+ ncbi_rp_L_flags=
33384 -+ ncbi_rp_L_sep=$CONF_f_libpath
33385 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
33386 -+ for x in $ORBACUS_PATH/lib; do
33387 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
33388 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
33389 -+ done
33390 -+ ORBACUS_LIBPATH="${ncbi_rp_L_flags}"
33391 -+ else
33392 -+ ncbi_rp_R_flags=
33393 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
33394 -+ for x in $ORBACUS_PATH/lib; do
33395 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
33396 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
33397 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
33398 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
33399 -+ ncbi_rp_R_sep=:
33400 -+ done
33401 -+ ORBACUS_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
33402 -+ fi
33403 -+ fi
33404 -+ fi
33405 -+ case "$host_os:$with_mt" in
33406 -+ linux*:no) LIBJTC="-lJTC -pthread" ;;
33407 -+ *) LIBJTC="-lJTC" ;;
33408 -+ esac
33409 -+
33410 -+ case "$with_mt:$ORBACUS_LIBPATH" in
33411 -+ yes:* | *:-L*MT/lib* )
33412 -+ LIBOB="-lOB $LIBJTC"
33413 -+ LIBIMR="-lIMR"
33414 -+ ;;
33415 -+ * )
33416 -+ LIBOB="-lOB"
33417 -+ LIBIMR=
33418 -+ ;;
33419 -+ esac
33420 -+ { echo "$as_me:$LINENO: checking for ORBacus${ORBACUS_PATH:+ in $ORBACUS_PATH}" >&5
33421 -+echo $ECHO_N "checking for ORBacus${ORBACUS_PATH:+ in $ORBACUS_PATH}... $ECHO_C" >&6; }
33422 -+if test "${ncbi_cv_lib_orbacus+set}" = set; then
33423 - echo $ECHO_N "(cached) $ECHO_C" >&6
33424 - else
33425 -+ CPPFLAGS="$ORBACUS_INCLUDE $orig_CPPFLAGS"
33426 -+ LIBS="$ORBACUS_LIBPATH $LIBOB $NETWORK_LIBS $DL_LIBS $orig_LIBS"
33427 - cat >conftest.$ac_ext <<_ACEOF
33428 - /* confdefs.h. */
33429 - _ACEOF
33430 - cat confdefs.h >>conftest.$ac_ext
33431 - cat >>conftest.$ac_ext <<_ACEOF
33432 - /* end confdefs.h. */
33433 --/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33434 -- For example, HP-UX 11i <limits.h> declares gettimeofday. */
33435 --#define $ac_func innocuous_$ac_func
33436 --
33437 --/* System header to define __stub macros and hopefully few prototypes,
33438 -- which can conflict with char $ac_func (); below.
33439 -- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33440 -- <limits.h> exists even on freestanding compilers. */
33441 --
33442 --#ifdef __STDC__
33443 --# include <limits.h>
33444 --#else
33445 --# include <assert.h>
33446 --#endif
33447 --
33448 --#undef $ac_func
33449 --
33450 --/* Override any gcc2 internal prototype to avoid an error. */
33451 --#ifdef __cplusplus
33452 --extern "C"
33453 --{
33454 --#endif
33455 --/* We use char because int might match the return type of a gcc2
33456 -- builtin and then its argument prototype would still apply. */
33457 --char $ac_func ();
33458 --/* The GNU C library defines this for functions which it implements
33459 -- to always fail with ENOSYS. Some functions are actually named
33460 -- something starting with __ and the normal name is an alias. */
33461 --#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33462 --choke me
33463 --#else
33464 --char (*f) () = $ac_func;
33465 --#endif
33466 --#ifdef __cplusplus
33467 --}
33468 --#endif
33469 --
33470 -+#include <OB/CORBA.h>
33471 - int
33472 - main ()
33473 - {
33474 --return f != $ac_func;
33475 -+
33476 -+ int c = 0;
33477 -+ char* v[] = { NULL };
33478 -+ CORBA::ORB_var orb = CORBA::ORB_init(c, v);
33479 -+ if (!CORBA::is_nil(orb)) orb->destroy();
33480 -+
33481 - ;
33482 - return 0;
33483 - }
33484 - _ACEOF
33485 - rm -f conftest.$ac_objext conftest$ac_exeext
33486 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33487 -- (eval $ac_link) 2>conftest.er1
33488 -+if { (ac_try="$ac_link"
33489 -+case "(($ac_try" in
33490 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33491 -+ *) ac_try_echo=$ac_try;;
33492 -+esac
33493 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33494 -+ (eval "$ac_link") 2>conftest.er1
33495 - ac_status=$?
33496 - grep -v '^ *+' conftest.er1 >conftest.err
33497 - rm -f conftest.er1
33498 - cat conftest.err >&5
33499 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33500 - (exit $ac_status); } &&
33501 -- { ac_try='test -z "$ac_cxx_werror_flag"
33502 -- || test ! -s conftest.err'
33503 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33504 -- (eval $ac_try) 2>&5
33505 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33506 -+ { (case "(($ac_try" in
33507 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33508 -+ *) ac_try_echo=$ac_try;;
33509 -+esac
33510 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33511 -+ (eval "$ac_try") 2>&5
33512 - ac_status=$?
33513 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33514 - (exit $ac_status); }; } &&
33515 - { ac_try='test -s conftest$ac_exeext'
33516 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33517 -- (eval $ac_try) 2>&5
33518 -+ { (case "(($ac_try" in
33519 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33520 -+ *) ac_try_echo=$ac_try;;
33521 -+esac
33522 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33523 -+ (eval "$ac_try") 2>&5
33524 - ac_status=$?
33525 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33526 - (exit $ac_status); }; }; then
33527 -- eval "$as_ac_var=yes"
33528 -+ ncbi_cv_lib_orbacus=yes
33529 - else
33530 - echo "$as_me: failed program was:" >&5
33531 - sed 's/^/| /' conftest.$ac_ext >&5
33532 -
33533 --eval "$as_ac_var=no"
33534 -+ ncbi_cv_lib_orbacus=no
33535 - fi
33536 --rm -f conftest.err conftest.$ac_objext \
33537 -+
33538 -+rm -f core conftest.err conftest.$ac_objext \
33539 - conftest$ac_exeext conftest.$ac_ext
33540 - fi
33541 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33542 --echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33543 --if test `eval echo '${'$as_ac_var'}'` = yes; then
33544 -- cat >>confdefs.h <<_ACEOF
33545 --#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33546 --_ACEOF
33547 --
33548 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_orbacus" >&5
33549 -+echo "${ECHO_T}$ncbi_cv_lib_orbacus" >&6; }
33550 -+ if test "$ncbi_cv_lib_orbacus" = "no"; then
33551 -+ if test "${with_orbacus:=no}" != no; then
33552 -+ { { echo "$as_me:$LINENO: error: --with-orbacus explicitly specified, but no usable version found." >&5
33553 -+echo "$as_me: error: --with-orbacus explicitly specified, but no usable version found." >&2;}
33554 -+ { (exit 1); exit 1; }; }
33555 - fi
33556 --done
33557 --
33558 - fi
33559 --if test "$with_fastcgi" = "no" ; then
33560 -- FASTCGI_PATH="No_FastCgi"
33561 -- FASTCGI_INCLUDE=
33562 -- FASTCGI_LIBS=
33563 -- FASTCGI_OBJS=
33564 -+fi
33565 -+if test "$with_orbacus" = no; then
33566 -+ ORBACUS_PATH=No_ORBacus
33567 -+ ORBACUS_INCLUDE=
33568 -+ ORBACUS_LIBPATH=
33569 -+ LIBOB=
33570 -+ LIBIMR=
33571 - else
33572 -- WithPackages="$WithPackages${WithPackagesSep}Fast-CGI"; WithPackagesSep=" "
33573 -+ WithPackages="$WithPackages${WithPackagesSep}ORBacus"; WithPackagesSep=" "
33574 -
33575 - cat >>confdefs.h <<\_ACEOF
33576 --#define HAVE_LIBFASTCGI 1
33577 -+#define HAVE_ORBACUS 1
33578 - _ACEOF
33579 -
33580 - fi
33581 -+# Sigh... without this, the linker pulls in the contents of the cache
33582 -+# and then gripes about missing JTC stuff.
33583 -+test -d SunWS_cache && rm -r SunWS_cache
33584 -
33585 -
33586 --## NCBI SSS libraries
33587 --if test "$with_sybase" = "no" ; then
33588 -- if test "${with_sssdb:=no}" != no; then
33589 -- { { echo "$as_me:$LINENO: error: --with-sssdb explicitly specified, but no usable version found." >&5
33590 --echo "$as_me: error: --with-sssdb explicitly specified, but no usable version found." >&2;}
33591 -- { (exit 1); exit 1; }; }
33592 -- fi
33593 -+## International Components for Unicode (ICU)
33594 -+if test -z "$ICU_PATH" && icu-config --version >/dev/null 2>&1; then
33595 -+ ICU_PATH=`icu-config --prefix`
33596 - fi
33597 -
33598 --case "$host_os:$compiler:$compiler_version" in
33599 -- linux*:GCC:*)
33600 -- : ${with_included_sss=yes}
33601 -- ;;
33602 -+if test "$with_icu" != "no" ; then
33603 -+ case "$with_icu" in
33604 -+ yes | "" ) ;;
33605 -+ * ) ICU_PATH=$with_icu ;;
33606 - esac
33607 --
33608 --if test "$with_sss" != "no" ; then
33609 -- local_sss=${real_srcdir}/src/internal/sss
33610 -- if test "${with_included_sss-no}" = "yes" \
33611 -- -a -f "$local_sss/utils/sssdebug.hpp" \
33612 -- -a -f "${local_sss}srv/cli/sssconnection.cpp"; then
33613 -- with_included_sss=yes
33614 -- NCBI_SSS_PATH=$local_sss
33615 -- NCBI_SSS_INCLUDE="\$(incdir)/sss"
33616 -- NCBI_SSS_LIBPATH="\$(libdir)"
33617 -- WithPackages="$WithPackages${WithPackagesSep}LocalSSS"; WithPackagesSep=" "
33618 -- if test -f "$local_sss/../msgmail2/asn/msgmail.asn"; then
33619 -- WithPackages="$WithPackages${WithPackagesSep}LocalMSGMAIL2"; WithPackagesSep=" "
33620 -- fi
33621 -- else
33622 -- with_included_sss=no
33623 -- fi
33624 -- NCBI_SSS_PATH=${NCBI_SSS_PATH:="$NCBI/sss/BUILD"}
33625 -- NCBI_SSS_INCLUDE=${NCBI_SSS_INCLUDE:="$NCBI_SSS_PATH/include"}
33626 -- if test -z "$NCBI_SSS_LIBPATH" ; then
33627 -- NCBI_SSS_LIBPATH="${NCBI_SSS_PATH}/lib/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}"
33628 -- if test "$with_mt" = "yes" ; then
33629 -- NCBI_SSS_LIBPATH="${NCBI_SSS_LIBPATH}mt"
33630 -- fi
33631 -- fi
33632 -- echo "$as_me:$LINENO: checking for NCBI SSS directories in $NCBI_SSS_PATH" >&5
33633 --echo $ECHO_N "checking for NCBI SSS directories in $NCBI_SSS_PATH... $ECHO_C" >&6
33634 -- if test "$with_included_sss" = "yes"; then
33635 -- echo "$as_me:$LINENO: result: yes" >&5
33636 --echo "${ECHO_T}yes" >&6 # duh
33637 -- elif test ! -d "${NCBI_SSS_LIBPATH}" -o ! -d "${NCBI_SSS_INCLUDE}" ; then
33638 -- echo "$as_me:$LINENO: result: no" >&5
33639 --echo "${ECHO_T}no" >&6
33640 -- if test "${with_sss:=no}" != no; then
33641 -- { { echo "$as_me:$LINENO: error: --with-sss explicitly specified, but no usable version found." >&5
33642 --echo "$as_me: error: --with-sss explicitly specified, but no usable version found." >&2;}
33643 -- { (exit 1); exit 1; }; }
33644 -- fi
33645 -+ if test -d "$ICU_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}/lib" \
33646 -+ -a -z "$ICU_ARCH_PATH"; then
33647 -+ ICU_ARCH_PATH="$ICU_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}"
33648 -+ elif test -d "$ICU_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}/lib" \
33649 -+ -a -z "$ICU_ARCH_PATH"; then
33650 -+ ICU_ARCH_PATH="$ICU_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}"
33651 - else
33652 -- echo "$as_me:$LINENO: result: yes" >&5
33653 --echo "${ECHO_T}yes" >&6
33654 -- fi
33655 --fi
33656 --
33657 --if test "$with_sss" = "no" ; then
33658 -- if test "${with_sssutils:=no}" != no; then
33659 -- { { echo "$as_me:$LINENO: error: --with-sssutils explicitly specified, but no usable version found." >&5
33660 --echo "$as_me: error: --with-sssutils explicitly specified, but no usable version found." >&2;}
33661 -- { (exit 1); exit 1; }; }
33662 -- fi
33663 -- if test "${with_sssdb:=no}" != no; then
33664 -- { { echo "$as_me:$LINENO: error: --with-sssdb explicitly specified, but no usable version found." >&5
33665 --echo "$as_me: error: --with-sssdb explicitly specified, but no usable version found." >&2;}
33666 -- { (exit 1); exit 1; }; }
33667 -+ ICU_ARCH_PATH="$ICU_PATH"
33668 - fi
33669 -- NCBI_SSS_INCLUDE=
33670 -- NCBI_SSS_LIBPATH=
33671 -- LIBSSSUTILS=
33672 -- LIBSSSDB=
33673 -+ ICU_BINPATH=${ICU_BINPATH:="$ICU_ARCH_PATH/bin"}
33674 -+ ICU_LIBPATH=${ICU_LIBPATH:="$ICU_ARCH_PATH/lib"}
33675 -+ ICU_INCLUDE=
33676 -+ { echo "$as_me:$LINENO: checking for ICU${ICU_ARCH_PATH:+ in $ICU_ARCH_PATH}" >&5
33677 -+echo $ECHO_N "checking for ICU${ICU_ARCH_PATH:+ in $ICU_ARCH_PATH}... $ECHO_C" >&6; }
33678 -+if test "${ncbi_cv_lib_icu+set}" = set; then
33679 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
33680 - else
33681 -- if test "$with_included_sss" = "yes"; then
33682 -- NCBI_SSS_LIBPATH= # Not needed
33683 -- ncbi_cv_lib_sssutils=yes
33684 -- ncbi_cv_lib_sssdb=yes
33685 -- sssutils=sssutils
33686 -+ ICU_CONFIG=`$ICU_BINPATH/icu-config --bindir 2>/dev/null`/icu-config
33687 -+ if test -x "$ICU_CONFIG" ; then
33688 -+ ICU_INCLUDE=`$ICU_CONFIG --cppflags-searchpath`
33689 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
33690 -+ ICU_LIBS=`$ICU_CONFIG --ldflags-searchpath | sed -e ""`
33691 - else
33692 -- NCBI_SSS_LIBPATH="-L${NCBI_SSS_LIBPATH}"
33693 -+ ICU_LIBS=
33694 -+ ncbi_rp_L_sep=
33695 -+ ncbi_rp_R_flags=
33696 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
33697 -+ for x in `$ICU_CONFIG --ldflags-searchpath | sed -e ""`; do
33698 -+ case "$x" in
33699 -+ -L*)
33700 -+ ICU_LIBS="$ICU_LIBS${ncbi_rp_L_sep}$x"
33701 -+ x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
33702 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
33703 -+ ncbi_rp_R_sep=:
33704 -+ ;;
33705 -+ *)
33706 -+ ICU_LIBS="$ICU_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
33707 -+ ncbi_rp_R_flags=
33708 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
33709 -+ ;;
33710 -+ esac
33711 -+ ncbi_rp_L_sep=" "
33712 -+ done
33713 -+ ICU_LIBS="$ICU_LIBS${ncbi_rp_R_flags}"
33714 - fi
33715 -- NCBI_SSS_INCLUDE="-I${NCBI_SSS_INCLUDE}"
33716 -+ ICU_LIBS="$ICU_LIBS `$ICU_CONFIG --ldflags-libsonly`"
33717 -
33718 -- # SSS UTILS
33719 -- if test "$with_sssutils" != "no" ; then
33720 -- LIBSSSUTILS="-lsssutils"
33721 -- echo "$as_me:$LINENO: checking for the NCBI SSS UTILS library" >&5
33722 --echo $ECHO_N "checking for the NCBI SSS UTILS library... $ECHO_C" >&6
33723 --if test "${ncbi_cv_lib_sssutils+set}" = set; then
33724 -- echo $ECHO_N "(cached) $ECHO_C" >&6
33725 --else
33726 -- CPPFLAGS="$NCBI_SSS_INCLUDE $SYBASE_INCLUDE $orig_CPPFLAGS"
33727 -- LIBS="$NCBI_SSS_LIBPATH $LIBSSSUTILS $SYBASE_LIBS $NETWORK_LIBS $DL_LIBS $orig_LIBS"
33728 -+ CPPFLAGS="$ICU_INCLUDE $orig_CPPFLAGS"
33729 -+ LIBS="$ICU_LIBS $orig_LIBS"
33730 - cat >conftest.$ac_ext <<_ACEOF
33731 - /* confdefs.h. */
33732 - _ACEOF
33733 - cat confdefs.h >>conftest.$ac_ext
33734 - cat >>conftest.$ac_ext <<_ACEOF
33735 - /* end confdefs.h. */
33736 --#include <hashtab.hpp>
33737 -+#include <unicode/unistr.h>
33738 - int
33739 - main ()
33740 - {
33741 -- (new C_HashTab(123))->Clear();
33742 -+int32_t i = UNICODE_STRING_SIMPLE("foo").indexOf('f');
33743 - ;
33744 - return 0;
33745 - }
33746 - _ACEOF
33747 - rm -f conftest.$ac_objext conftest$ac_exeext
33748 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33749 -- (eval $ac_link) 2>conftest.er1
33750 -+if { (ac_try="$ac_link"
33751 -+case "(($ac_try" in
33752 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33753 -+ *) ac_try_echo=$ac_try;;
33754 -+esac
33755 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33756 -+ (eval "$ac_link") 2>conftest.er1
33757 - ac_status=$?
33758 - grep -v '^ *+' conftest.er1 >conftest.err
33759 - rm -f conftest.er1
33760 - cat conftest.err >&5
33761 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33762 - (exit $ac_status); } &&
33763 -- { ac_try='test -z "$ac_cxx_werror_flag"
33764 -- || test ! -s conftest.err'
33765 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33766 -- (eval $ac_try) 2>&5
33767 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33768 -+ { (case "(($ac_try" in
33769 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33770 -+ *) ac_try_echo=$ac_try;;
33771 -+esac
33772 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33773 -+ (eval "$ac_try") 2>&5
33774 - ac_status=$?
33775 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33776 - (exit $ac_status); }; } &&
33777 - { ac_try='test -s conftest$ac_exeext'
33778 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33779 -- (eval $ac_try) 2>&5
33780 -+ { (case "(($ac_try" in
33781 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33782 -+ *) ac_try_echo=$ac_try;;
33783 -+esac
33784 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33785 -+ (eval "$ac_try") 2>&5
33786 - ac_status=$?
33787 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33788 - (exit $ac_status); }; }; then
33789 -- ncbi_cv_lib_sssutils=yes
33790 -+ ncbi_cv_lib_icu=yes
33791 - else
33792 - echo "$as_me: failed program was:" >&5
33793 - sed 's/^/| /' conftest.$ac_ext >&5
33794 -
33795 --ncbi_cv_lib_sssutils=no
33796 -+ ncbi_cv_lib_icu=no
33797 - fi
33798 --rm -f conftest.err conftest.$ac_objext \
33799 -+
33800 -+rm -f core conftest.err conftest.$ac_objext \
33801 - conftest$ac_exeext conftest.$ac_ext
33802 -+ else
33803 -+ ncbi_cv_lib_icu=no
33804 - fi
33805 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_sssutils" >&5
33806 --echo "${ECHO_T}$ncbi_cv_lib_sssutils" >&6
33807 -- if test "$ncbi_cv_lib_sssutils" = yes; then
33808 -+fi
33809 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_icu" >&5
33810 -+echo "${ECHO_T}$ncbi_cv_lib_icu" >&6; }
33811 -+ if test "$ncbi_cv_lib_icu" = "no"; then
33812 -+ if test "${with_icu:=no}" != no; then
33813 -+ { { echo "$as_me:$LINENO: error: --with-icu explicitly specified, but no usable version found." >&5
33814 -+echo "$as_me: error: --with-icu explicitly specified, but no usable version found." >&2;}
33815 -+ { (exit 1); exit 1; }; }
33816 -+ fi
33817 -+ fi
33818 -+fi
33819 -+
33820 -+if test "$with_icu" = "no" ; then
33821 -+ ICU_PATH="No_ICU"
33822 -+ ICU_INCLUDE=
33823 -+ ICU_LIBS=
33824 -+ ICU_STATIC_LIBS=
33825 -+else
33826 -+ WithPackages="$WithPackages${WithPackagesSep}ICU"; WithPackagesSep=" "
33827 -+ ICU_CONFIG="`$ICU_BINPATH/icu-config --bindir`/icu-config"
33828 -+ # The "yes" may have been cached; get the actual settings again if needed
33829 -+ if test -z "$ICU_INCLUDE"; then
33830 -+ ICU_INCLUDE=`$ICU_CONFIG --cppflags-searchpath`
33831 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
33832 -+ ICU_LIBS=`$ICU_CONFIG --ldflags-searchpath | sed -e ""`
33833 -+ else
33834 -+ ICU_LIBS=
33835 -+ ncbi_rp_L_sep=
33836 -+ ncbi_rp_R_flags=
33837 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
33838 -+ for x in `$ICU_CONFIG --ldflags-searchpath | sed -e ""`; do
33839 -+ case "$x" in
33840 -+ -L*)
33841 -+ ICU_LIBS="$ICU_LIBS${ncbi_rp_L_sep}$x"
33842 -+ x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
33843 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
33844 -+ ncbi_rp_R_sep=:
33845 -+ ;;
33846 -+ *)
33847 -+ ICU_LIBS="$ICU_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
33848 -+ ncbi_rp_R_flags=
33849 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
33850 -+ ;;
33851 -+ esac
33852 -+ ncbi_rp_L_sep=" "
33853 -+ done
33854 -+ ICU_LIBS="$ICU_LIBS${ncbi_rp_R_flags}"
33855 -+ fi
33856 -+ ICU_LIBS="$ICU_LIBS `$ICU_CONFIG --ldflags-libsonly`"
33857 -+ fi
33858 -+ ICU_STATIC_LIBS=`$ICU_CONFIG --ldflags-libsonly | sed -e 's/-licu/-lsicu/g'`
33859 -+ ICU_STATIC_LIBS="`$ICU_CONFIG --ldflags-searchpath` $ICU_STATIC_LIBS"
33860 -
33861 - cat >>confdefs.h <<\_ACEOF
33862 --#define HAVE_LIBSSSUTILS 1
33863 -+#define HAVE_ICU 1
33864 - _ACEOF
33865 -
33866 -- WithPackages="$WithPackages${WithPackagesSep}SSSUTILS"; WithPackagesSep=" "
33867 -- if test -f "$local_sss/../ncbils2/asn/login.asn"; then
33868 -- if test "$with_included_sss" = yes || \
33869 -- grep vformat $NCBI_SSS_INCLUDE/String.hpp >/dev/null 2>&1; then
33870 -- WithPackages="$WithPackages${WithPackagesSep}LocalNCBILS"; WithPackagesSep=" " # temporary compatibility measure
33871 -- WithPackages="$WithPackages${WithPackagesSep}NCBILS2"; WithPackagesSep=" "
33872 - fi
33873 -+
33874 -+
33875 -+### XML/XSL libraries
33876 -+if test "$with_expat" != "no"; then
33877 -+ case "$with_expat" in
33878 -+ yes | "" ) ;;
33879 -+ * ) EXPAT_PATH=$with_expat ;;
33880 -+ esac
33881 -+ if test -d "$EXPAT_PATH"; then
33882 -+ in_path=" in $EXPAT_PATH"
33883 -+ if test -z "$EXPAT_INCLUDE" -a -d "$EXPAT_PATH/include"; then
33884 -+ EXPAT_INCLUDE="-I$EXPAT_PATH/include"
33885 - fi
33886 -+ if test -n "$EXPAT_LIBPATH"; then
33887 -+ :
33888 -+ elif test -d "$EXPAT_PATH/lib${bit64_sfx}"; then
33889 -+ ncbi_rp_L_flags=
33890 -+ ncbi_rp_L_sep=$CONF_f_libpath
33891 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
33892 -+ for x in $EXPAT_PATH/lib${bit64_sfx}; do
33893 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
33894 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
33895 -+ done
33896 -+ EXPAT_LIBPATH="${ncbi_rp_L_flags}"
33897 - else
33898 -- if test "${with_sssutils:=no}" != no; then
33899 -- { { echo "$as_me:$LINENO: error: --with-sssutils explicitly specified, but no usable version found." >&5
33900 --echo "$as_me: error: --with-sssutils explicitly specified, but no usable version found." >&2;}
33901 -- { (exit 1); exit 1; }; }
33902 -- fi
33903 -- if test "${with_sss:=no}" != no; then
33904 -- { { echo "$as_me:$LINENO: error: --with-sss explicitly specified, but no usable version found." >&5
33905 --echo "$as_me: error: --with-sss explicitly specified, but no usable version found." >&2;}
33906 -- { (exit 1); exit 1; }; }
33907 -+ ncbi_rp_R_flags=
33908 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
33909 -+ for x in $EXPAT_PATH/lib${bit64_sfx}; do
33910 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
33911 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
33912 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
33913 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
33914 -+ ncbi_rp_R_sep=:
33915 -+ done
33916 -+ EXPAT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
33917 - fi
33918 -- LIBSSSUTILS=""
33919 -+ elif test -d "$EXPAT_PATH/lib"; then
33920 -+ ncbi_rp_L_flags=
33921 -+ ncbi_rp_L_sep=$CONF_f_libpath
33922 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
33923 -+ for x in $EXPAT_PATH/lib; do
33924 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
33925 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
33926 -+ done
33927 -+ EXPAT_LIBPATH="${ncbi_rp_L_flags}"
33928 -+ else
33929 -+ ncbi_rp_R_flags=
33930 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
33931 -+ for x in $EXPAT_PATH/lib; do
33932 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
33933 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
33934 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
33935 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
33936 -+ ncbi_rp_R_sep=:
33937 -+ done
33938 -+ EXPAT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
33939 - fi
33940 - fi
33941 --
33942 -- # SSS DB
33943 -- if test "$with_sssdb" != "no" ; then
33944 -- if test "$with_mt" = "yes" ; then
33945 -- LIBSSSDB="-lsssdb -lssssys"
33946 -+ EXPAT_LIBS="$EXPAT_LIBPATH -lexpat "
33947 - else
33948 -- LIBSSSDB="-lsssdb"
33949 -+ EXPAT_INCLUDE=""
33950 -+ EXPAT_LIBS="-lexpat "
33951 -+ in_path=
33952 - fi
33953 -- echo "$as_me:$LINENO: checking for the NCBI SSS DB library" >&5
33954 --echo $ECHO_N "checking for the NCBI SSS DB library... $ECHO_C" >&6
33955 --if test "${ncbi_cv_lib_sssdb+set}" = set; then
33956 -+ { echo "$as_me:$LINENO: checking for libexpat$in_path" >&5
33957 -+echo $ECHO_N "checking for libexpat$in_path... $ECHO_C" >&6; }
33958 -+if test "${ncbi_cv_lib_expat+set}" = set; then
33959 - echo $ECHO_N "(cached) $ECHO_C" >&6
33960 - else
33961 -- CPPFLAGS="$NCBI_SSS_INCLUDE $SYBASE_INCLUDE $orig_CPPFLAGS"
33962 -- LIBS="$NCBI_SSS_LIBPATH $LIBSSSDB $SYBASE_LIBS $NETWORK_LIBS $DL_LIBS $orig_LIBS"
33963 -+ CPPFLAGS=" $EXPAT_INCLUDE $orig_CPPFLAGS"
33964 -+ LIBS="$EXPAT_LIBS $orig_LIBS"
33965 - cat >conftest.$ac_ext <<_ACEOF
33966 - /* confdefs.h. */
33967 - _ACEOF
33968 - cat confdefs.h >>conftest.$ac_ext
33969 - cat >>conftest.$ac_ext <<_ACEOF
33970 - /* end confdefs.h. */
33971 --#include <cslink.hpp>
33972 -+#include <expat.h>
33973 - int
33974 - main ()
33975 - {
33976 -- (new CSLink)->connect2server("srv", "user", "pwd", "db");
33977 -+XML_Parser parser = XML_ParserCreate("utf-8");
33978 - ;
33979 - return 0;
33980 - }
33981 - _ACEOF
33982 - rm -f conftest.$ac_objext conftest$ac_exeext
33983 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33984 -- (eval $ac_link) 2>conftest.er1
33985 -+if { (ac_try="$ac_link"
33986 -+case "(($ac_try" in
33987 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33988 -+ *) ac_try_echo=$ac_try;;
33989 -+esac
33990 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33991 -+ (eval "$ac_link") 2>conftest.er1
33992 - ac_status=$?
33993 - grep -v '^ *+' conftest.er1 >conftest.err
33994 - rm -f conftest.er1
33995 - cat conftest.err >&5
33996 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
33997 - (exit $ac_status); } &&
33998 -- { ac_try='test -z "$ac_cxx_werror_flag"
33999 -- || test ! -s conftest.err'
34000 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34001 -- (eval $ac_try) 2>&5
34002 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34003 -+ { (case "(($ac_try" in
34004 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34005 -+ *) ac_try_echo=$ac_try;;
34006 -+esac
34007 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34008 -+ (eval "$ac_try") 2>&5
34009 - ac_status=$?
34010 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34011 - (exit $ac_status); }; } &&
34012 - { ac_try='test -s conftest$ac_exeext'
34013 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34014 -- (eval $ac_try) 2>&5
34015 -+ { (case "(($ac_try" in
34016 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34017 -+ *) ac_try_echo=$ac_try;;
34018 -+esac
34019 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34020 -+ (eval "$ac_try") 2>&5
34021 - ac_status=$?
34022 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34023 - (exit $ac_status); }; }; then
34024 -- ncbi_cv_lib_sssdb=yes
34025 -+ ncbi_cv_lib_expat=yes
34026 - else
34027 - echo "$as_me: failed program was:" >&5
34028 - sed 's/^/| /' conftest.$ac_ext >&5
34029 -
34030 --ncbi_cv_lib_sssdb=no
34031 --fi
34032 --rm -f conftest.err conftest.$ac_objext \
34033 -- conftest$ac_exeext conftest.$ac_ext
34034 -+ ncbi_cv_lib_expat=no
34035 - fi
34036 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_sssdb" >&5
34037 --echo "${ECHO_T}$ncbi_cv_lib_sssdb" >&6
34038 -- if test "$ncbi_cv_lib_sssdb" = "yes"; then
34039 --
34040 --cat >>confdefs.h <<\_ACEOF
34041 --#define HAVE_LIBSSSDB 1
34042 --_ACEOF
34043 -
34044 -- WithPackages="$WithPackages${WithPackagesSep}SSSDB"; WithPackagesSep=" "
34045 -- else
34046 -- if test "${with_sssdb:=no}" != no; then
34047 -- { { echo "$as_me:$LINENO: error: --with-sssdb explicitly specified, but no usable version found." >&5
34048 --echo "$as_me: error: --with-sssdb explicitly specified, but no usable version found." >&2;}
34049 -- { (exit 1); exit 1; }; }
34050 -+rm -f core conftest.err conftest.$ac_objext \
34051 -+ conftest$ac_exeext conftest.$ac_ext
34052 - fi
34053 -- if test "${with_sss:=no}" != no; then
34054 -- { { echo "$as_me:$LINENO: error: --with-sss explicitly specified, but no usable version found." >&5
34055 --echo "$as_me: error: --with-sss explicitly specified, but no usable version found." >&2;}
34056 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_expat" >&5
34057 -+echo "${ECHO_T}$ncbi_cv_lib_expat" >&6; }
34058 -+ if test "$ncbi_cv_lib_expat" = "no"; then
34059 -+ if test "${with_expat:=no}" != no; then
34060 -+ { { echo "$as_me:$LINENO: error: --with-expat explicitly specified, but no usable version found." >&5
34061 -+echo "$as_me: error: --with-expat explicitly specified, but no usable version found." >&2;}
34062 - { (exit 1); exit 1; }; }
34063 - fi
34064 -- LIBSSSDB=""
34065 - fi
34066 - fi
34067 -+ if test "$with_expat" = "no"; then
34068 -+ EXPAT_PATH="No_EXPAT"
34069 -+ EXPAT_INCLUDE=
34070 -+ EXPAT_LIBS=
34071 -+ else
34072 -+ WithPackages="$WithPackages${WithPackagesSep}EXPAT"; WithPackagesSep=" "
34073 -+ EXPAT_INCLUDE=" $EXPAT_INCLUDE"
34074 -+
34075 -+cat >>confdefs.h <<\_ACEOF
34076 -+#define HAVE_LIBEXPAT 1
34077 -+_ACEOF
34078 -+
34079 - fi
34080 -
34081 -
34082 --# SP
34083 --if test "$with_sp" != "no" ; then
34084 -- SP_PATH=${SP_PATH:="$NCBI/SP"}
34085 -- if test -n "$SP_INCLUDE"; then
34086 -- SP_GENERIC="$SP_INCLUDE/../generic"
34087 -+
34088 -+if test -f "${EXPAT_PATH}/lib${bit64_sfx}/libexpat-static.a"; then
34089 -+ EXPAT_STATIC_LIBS="-L${EXPAT_PATH}/lib${bit64_sfx} -lexpat-static"
34090 - else
34091 -- SP_INCLUDE="$SP_PATH/include"
34092 -- SP_GENERIC="$SP_PATH/generic"
34093 -+ EXPAT_STATIC_LIBS=${EXPAT_LIBS}
34094 - fi
34095 -- if test -z "$SP_LIBPATH" ; then
34096 -- SP_LIBPATH="${SP_PATH}/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}"
34097 -+vpath="$SABLOT_PATH/${compiler_vpfx}build"
34098 -+test -d "$vpath" && SABLOT_PATH=$vpath
34099 -+if test -d "$SABLOT_PATH"; then
34100 -+ ncbi_fix_dir_tmp=`if cd $SABLOT_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
34101 -+ case "$ncbi_fix_dir_tmp" in
34102 -+ /.*) ncbi_fix_dir_tmp2=`cd $SABLOT_PATH && $smart_pwd 2>/dev/null`
34103 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
34104 -+ SABLOT_PATH=$ncbi_fix_dir_tmp2
34105 -+ else
34106 -+ case "$SABLOT_PATH" in
34107 -+ /*) ;;
34108 -+ * ) SABLOT_PATH=$ncbi_fix_dir_tmp ;;
34109 -+ esac
34110 - fi
34111 -- echo "$as_me:$LINENO: checking for SP directories in $SP_PATH" >&5
34112 --echo $ECHO_N "checking for SP directories in $SP_PATH... $ECHO_C" >&6
34113 -- if test ! -d "${SP_LIBPATH}" -o ! -d "${SP_INCLUDE}" ; then
34114 -- echo "$as_me:$LINENO: result: no" >&5
34115 --echo "${ECHO_T}no" >&6
34116 -- if test "${with_sp:=no}" != no; then
34117 -- { { echo "$as_me:$LINENO: error: --with-sp explicitly specified, but no usable version found." >&5
34118 --echo "$as_me: error: --with-sp explicitly specified, but no usable version found." >&2;}
34119 -- { (exit 1); exit 1; }; }
34120 -+ ;;
34121 -+ /*) SABLOT_PATH=$ncbi_fix_dir_tmp ;;
34122 -+ esac
34123 -+fi
34124 -+if test "$with_sablot" != "no"; then
34125 -+ case "$with_sablot" in
34126 -+ yes | "" ) ;;
34127 -+ * ) SABLOT_PATH=$with_sablot ;;
34128 -+ esac
34129 -+ if test -d "$SABLOT_PATH"; then
34130 -+ in_path=" in $SABLOT_PATH"
34131 -+ if test -z "$SABLOT_INCLUDE" -a -d "$SABLOT_PATH/include"; then
34132 -+ SABLOT_INCLUDE="-I$SABLOT_PATH/include"
34133 -+ fi
34134 -+ if test -n "$SABLOT_LIBPATH"; then
34135 -+ :
34136 -+ elif test -d "$SABLOT_PATH/lib${bit64_sfx}"; then
34137 -+ ncbi_rp_L_flags=
34138 -+ ncbi_rp_L_sep=$CONF_f_libpath
34139 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
34140 -+ for x in $SABLOT_PATH/lib${bit64_sfx}; do
34141 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
34142 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
34143 -+ done
34144 -+ SABLOT_LIBPATH="${ncbi_rp_L_flags}"
34145 -+ else
34146 -+ ncbi_rp_R_flags=
34147 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
34148 -+ for x in $SABLOT_PATH/lib${bit64_sfx}; do
34149 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
34150 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
34151 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
34152 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
34153 -+ ncbi_rp_R_sep=:
34154 -+ done
34155 -+ SABLOT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
34156 - fi
34157 -+ elif test -d "$SABLOT_PATH/lib"; then
34158 -+ ncbi_rp_L_flags=
34159 -+ ncbi_rp_L_sep=$CONF_f_libpath
34160 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
34161 -+ for x in $SABLOT_PATH/lib; do
34162 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
34163 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
34164 -+ done
34165 -+ SABLOT_LIBPATH="${ncbi_rp_L_flags}"
34166 - else
34167 -- echo "$as_me:$LINENO: result: yes" >&5
34168 --echo "${ECHO_T}yes" >&6
34169 -+ ncbi_rp_R_flags=
34170 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
34171 -+ for x in $SABLOT_PATH/lib; do
34172 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
34173 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
34174 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
34175 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
34176 -+ ncbi_rp_R_sep=:
34177 -+ done
34178 -+ SABLOT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
34179 - fi
34180 - fi
34181 --
34182 --if test "$with_sp" != "no" ; then
34183 -- if test -d "$SP_GENERIC"; then
34184 -- SP_INCLUDE="-I${SP_INCLUDE} -I${SP_GENERIC}"
34185 -+ SABLOT_LIBS="$SABLOT_LIBPATH -lsablot $EXPAT_LIBS"
34186 - else
34187 -- SP_INCLUDE="-I${SP_INCLUDE}"
34188 -+ SABLOT_INCLUDE=""
34189 -+ SABLOT_LIBS="-lsablot $EXPAT_LIBS"
34190 -+ in_path=
34191 - fi
34192 -- SP_LIBS="-L$SP_LIBPATH -lsp"
34193 -- echo "$as_me:$LINENO: checking for the SP SGML library" >&5
34194 --echo $ECHO_N "checking for the SP SGML library... $ECHO_C" >&6
34195 --if test "${ncbi_cv_lib_sp+set}" = set; then
34196 -+ { echo "$as_me:$LINENO: checking for libsablot$in_path" >&5
34197 -+echo $ECHO_N "checking for libsablot$in_path... $ECHO_C" >&6; }
34198 -+if test "${ncbi_cv_lib_sablot+set}" = set; then
34199 - echo $ECHO_N "(cached) $ECHO_C" >&6
34200 - else
34201 -- CPPFLAGS="$SP_INCLUDE $orig_CPPFLAGS"
34202 -- LIBS="$SP_LIBS $orig_LIBS"
34203 -+ CPPFLAGS=" $SABLOT_INCLUDE $orig_CPPFLAGS"
34204 -+ LIBS="$SABLOT_LIBS $orig_LIBS"
34205 - cat >conftest.$ac_ext <<_ACEOF
34206 - /* confdefs.h. */
34207 - _ACEOF
34208 - cat confdefs.h >>conftest.$ac_ext
34209 - cat >>conftest.$ac_ext <<_ACEOF
34210 - /* end confdefs.h. */
34211 --#include <SGMLApplication.h>
34212 -+#include <sablot.h>
34213 - int
34214 - main ()
34215 - {
34216 -- SP_API::SGMLApplication app;
34217 -+SDOM_Document* D; int x = SablotParse(NULL, "file:/dev/null", D);
34218 - ;
34219 - return 0;
34220 - }
34221 - _ACEOF
34222 - rm -f conftest.$ac_objext conftest$ac_exeext
34223 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34224 -- (eval $ac_link) 2>conftest.er1
34225 -+if { (ac_try="$ac_link"
34226 -+case "(($ac_try" in
34227 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34228 -+ *) ac_try_echo=$ac_try;;
34229 -+esac
34230 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34231 -+ (eval "$ac_link") 2>conftest.er1
34232 - ac_status=$?
34233 - grep -v '^ *+' conftest.er1 >conftest.err
34234 - rm -f conftest.er1
34235 - cat conftest.err >&5
34236 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34237 - (exit $ac_status); } &&
34238 -- { ac_try='test -z "$ac_cxx_werror_flag"
34239 -- || test ! -s conftest.err'
34240 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34241 -- (eval $ac_try) 2>&5
34242 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34243 -+ { (case "(($ac_try" in
34244 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34245 -+ *) ac_try_echo=$ac_try;;
34246 -+esac
34247 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34248 -+ (eval "$ac_try") 2>&5
34249 - ac_status=$?
34250 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34251 - (exit $ac_status); }; } &&
34252 - { ac_try='test -s conftest$ac_exeext'
34253 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34254 -- (eval $ac_try) 2>&5
34255 -+ { (case "(($ac_try" in
34256 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34257 -+ *) ac_try_echo=$ac_try;;
34258 -+esac
34259 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34260 -+ (eval "$ac_try") 2>&5
34261 - ac_status=$?
34262 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34263 - (exit $ac_status); }; }; then
34264 -- ncbi_cv_lib_sp=yes
34265 -+ ncbi_cv_lib_sablot=yes
34266 - else
34267 - echo "$as_me: failed program was:" >&5
34268 - sed 's/^/| /' conftest.$ac_ext >&5
34269 -
34270 --ncbi_cv_lib_sp=no
34271 -+ ncbi_cv_lib_sablot=no
34272 - fi
34273 --rm -f conftest.err conftest.$ac_objext \
34274 -+
34275 -+rm -f core conftest.err conftest.$ac_objext \
34276 - conftest$ac_exeext conftest.$ac_ext
34277 - fi
34278 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_sp" >&5
34279 --echo "${ECHO_T}$ncbi_cv_lib_sp" >&6
34280 -- if test "$ncbi_cv_lib_sp" = "no"; then
34281 -- if test "${with_sp:=no}" != no; then
34282 -- { { echo "$as_me:$LINENO: error: --with-sp explicitly specified, but no usable version found." >&5
34283 --echo "$as_me: error: --with-sp explicitly specified, but no usable version found." >&2;}
34284 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_sablot" >&5
34285 -+echo "${ECHO_T}$ncbi_cv_lib_sablot" >&6; }
34286 -+ if test "$ncbi_cv_lib_sablot" = "no"; then
34287 -+ if test "${with_sablot:=no}" != no; then
34288 -+ { { echo "$as_me:$LINENO: error: --with-sablot explicitly specified, but no usable version found." >&5
34289 -+echo "$as_me: error: --with-sablot explicitly specified, but no usable version found." >&2;}
34290 - { (exit 1); exit 1; }; }
34291 - fi
34292 - fi
34293 - fi
34294 --
34295 --if test "$with_sp" = "no" ; then
34296 -- SP_INCLUDE=
34297 -- SP_LIBS=
34298 -+ if test "$with_sablot" = "no"; then
34299 -+ SABLOT_PATH="No_SABLOT"
34300 -+ SABLOT_INCLUDE=
34301 -+ SABLOT_LIBS=
34302 - else
34303 -- WithPackages="$WithPackages${WithPackagesSep}SP"; WithPackagesSep=" "
34304 -+ WithPackages="$WithPackages${WithPackagesSep}SABLOT"; WithPackagesSep=" "
34305 -+ SABLOT_INCLUDE=" $SABLOT_INCLUDE"
34306 -
34307 - cat >>confdefs.h <<\_ACEOF
34308 --#define HAVE_LIBSP 1
34309 -+#define HAVE_LIBSABLOT 1
34310 - _ACEOF
34311 -
34312 - fi
34313 -
34314 -
34315 --## ORBacus CORBA
34316 --if test "${with_orbacus:-yes}" = yes; then
34317 -- if test -d $NCBI/corba/${compiler_vpfx}Release${bit64_sfx}MT; then
34318 -- : ${ORBACUS_PATH=$NCBI/corba/${compiler_vpfx}Release${bit64_sfx}MT}
34319 -- else
34320 -- : ${ORBACUS_PATH=$NCBI/corba/OB-4.0.1}
34321 -- fi
34322 --elif test "$with_orbacus" != no; then
34323 -- ORBACUS_PATH=$with_orbacus
34324 --fi
34325 --if test -d "$ORBACUS_PATH"; then
34326 -- ncbi_fix_dir_tmp=`if cd $ORBACUS_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
34327 -- case "$ncbi_fix_dir_tmp" in
34328 -- /.*) ncbi_fix_dir_tmp2=`cd $ORBACUS_PATH && $smart_pwd 2>/dev/null`
34329 -- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
34330 -- ORBACUS_PATH=$ncbi_fix_dir_tmp2
34331 -+
34332 -+test -d SunWS_cache && rm -r SunWS_cache
34333 -+if test -f "${SABLOT_PATH}/lib${bit64_sfx}/libsablot-static.a"; then
34334 -+ SABLOT_STATIC_LIBS="-L${SABLOT_PATH}/lib${bit64_sfx} -lsablot-static $EXPAT_STATIC_LIBS"
34335 - else
34336 -- case "$ORBACUS_PATH" in
34337 -- /*) ;;
34338 -- * ) ORBACUS_PATH=$ncbi_fix_dir_tmp ;;
34339 -- esac
34340 -+ SABLOT_STATIC_LIBS=${SABLOT_LIBS}
34341 - fi
34342 -- ;;
34343 -- /*) ORBACUS_PATH=$ncbi_fix_dir_tmp ;;
34344 -+
34345 -+# test -d "$LIBXML_PATH" || LIBXML_PATH=`xml2-config --prefix 2>/dev/null`
34346 -+if test "$with_libxml" != "no"; then
34347 -+ case "$with_libxml" in
34348 -+ yes | "" ) ;;
34349 -+ * ) LIBXML_PATH=$with_libxml ;;
34350 - esac
34351 --fi
34352 --if test "$with_orbacus" != no; then
34353 -- fullpath=${ORBACUS_PATH}/${DEBUG_SFX}${mt_sfx}${bit64_sfx}
34354 -- if test -f ${fullpath}/inc/OB/Config.h ; then
34355 -- : ${ORBACUS_INCLUDE="-I$ORBACUS_PATH/include -I$fullpath/inc"}
34356 -- if test -z "${ORBACUS_LIBPATH+set}"; then
34357 -- ncbi_rp_L_flags=
34358 -- ncbi_rp_L_sep=$CONF_f_libpath
34359 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
34360 -- for x in $fullpath/lib; do
34361 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
34362 -- ncbi_rp_L_sep=" $CONF_f_libpath"
34363 -+ for pfx in "$compiler_vpfx" "$compiler_pfx" "" ; do
34364 -+ vpath=$LIBXML_PATH/$pfx${DEBUG_SFX}${mt_sfx}${bit64_sfx}
34365 -+ if test -d "$vpath" ; then
34366 -+ LIBXML_PATH=$vpath
34367 -+ break
34368 -+ fi
34369 - done
34370 -- ORBACUS_LIBPATH="${ncbi_rp_L_flags}"
34371 -+ if test -d "$LIBXML_PATH"; then
34372 -+ ncbi_fix_dir_tmp=`if cd $LIBXML_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
34373 -+ case "$ncbi_fix_dir_tmp" in
34374 -+ /.*) ncbi_fix_dir_tmp2=`cd $LIBXML_PATH && $smart_pwd 2>/dev/null`
34375 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
34376 -+ LIBXML_PATH=$ncbi_fix_dir_tmp2
34377 - else
34378 -- ncbi_rp_R_flags=
34379 -- ncbi_rp_R_sep=" $CONF_f_runpath"
34380 -- for x in $fullpath/lib; do
34381 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
34382 -- ncbi_rp_L_sep=" $CONF_f_libpath"
34383 -- x=`echo $x | sed -e "$ncbi_rpath_sed"`
34384 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
34385 -- ncbi_rp_R_sep=:
34386 -- done
34387 -- ORBACUS_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
34388 -+ case "$LIBXML_PATH" in
34389 -+ /*) ;;
34390 -+ * ) LIBXML_PATH=$ncbi_fix_dir_tmp ;;
34391 -+ esac
34392 -+ fi
34393 -+ ;;
34394 -+ /*) LIBXML_PATH=$ncbi_fix_dir_tmp ;;
34395 -+ esac
34396 -+ in_path=" in $LIBXML_PATH"
34397 -+ if test -n "$LIBXML_INCLUDE"; then
34398 -+ :
34399 -+ elif test -d "$LIBXML_PATH/include/libxml2/libxml"; then
34400 -+ LIBXML_INCLUDE="-I$LIBXML_PATH/include/libxml2 -I$LIBXML_PATH/include"
34401 -+ elif test -d "$LIBXML_PATH/include/libxml"; then
34402 -+ LIBXML_INCLUDE="-I$LIBXML_PATH/include";
34403 - fi
34404 -+ if test -d "$LIBXML_PATH/lib${bit64_sfx}"; then
34405 -+ LIBXML_LIBPATH_="$LIBXML_PATH/lib${bit64_sfx}"
34406 -+ elif test -d "$LIBXML_PATH/lib"; then
34407 -+ LIBXML_LIBPATH_="$LIBXML_PATH/lib"
34408 - fi
34409 -- elif test -f ${ORBACUS_PATH}/include/OB/Config.h ; then
34410 -- : ${ORBACUS_INCLUDE="-I$ORBACUS_PATH/include"}
34411 -- if test -z "${ORBACUS_LIBPATH+set}"; then
34412 -+ if test -z "${LIBXML_LIBPATH+set}"; then
34413 - ncbi_rp_L_flags=
34414 - ncbi_rp_L_sep=$CONF_f_libpath
34415 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
34416 -- for x in $ORBACUS_PATH/lib; do
34417 -+ for x in $LIBXML_LIBPATH_; do
34418 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
34419 - ncbi_rp_L_sep=" $CONF_f_libpath"
34420 - done
34421 -- ORBACUS_LIBPATH="${ncbi_rp_L_flags}"
34422 -+ LIBXML_LIBPATH="${ncbi_rp_L_flags}"
34423 - else
34424 - ncbi_rp_R_flags=
34425 - ncbi_rp_R_sep=" $CONF_f_runpath"
34426 -- for x in $ORBACUS_PATH/lib; do
34427 -+ for x in $LIBXML_LIBPATH_; do
34428 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
34429 - ncbi_rp_L_sep=" $CONF_f_libpath"
34430 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
34431 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
34432 - ncbi_rp_R_sep=:
34433 - done
34434 -- ORBACUS_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
34435 -+ LIBXML_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
34436 - fi
34437 - fi
34438 -+ LIBXML_LIBS="$LIBXML_LIBPATH -lxml2"
34439 -+ else
34440 -+ LIBXML_INCLUDE="-I/usr/include/libxml2"
34441 -+ LIBXML_LIBS="-lxml2"
34442 -+ in_path=
34443 - fi
34444 -- case "$host_os:$with_mt" in
34445 -- linux*:no) LIBJTC="-lJTC -pthread" ;;
34446 -- *) LIBJTC="-lJTC" ;;
34447 -- esac
34448 --
34449 -- case "$with_mt:$ORBACUS_LIBPATH" in
34450 -- yes:* | *:-L*MT/lib* )
34451 -- LIBOB="-lOB $LIBJTC"
34452 -- LIBIMR="-lIMR"
34453 -- ;;
34454 -- * )
34455 -- LIBOB="-lOB"
34456 -- LIBIMR=
34457 -- ;;
34458 -- esac
34459 -- echo "$as_me:$LINENO: checking for ORBacus in $ORBACUS_PATH" >&5
34460 --echo $ECHO_N "checking for ORBacus in $ORBACUS_PATH... $ECHO_C" >&6
34461 --if test "${ncbi_cv_lib_orbacus+set}" = set; then
34462 -+ LIBXML_LIBS="$LIBXML_LIBS $ICONV_LIBS"
34463 -+ { echo "$as_me:$LINENO: checking for libxml2$in_path" >&5
34464 -+echo $ECHO_N "checking for libxml2$in_path... $ECHO_C" >&6; }
34465 -+if test "${ncbi_cv_lib_libxml+set}" = set; then
34466 - echo $ECHO_N "(cached) $ECHO_C" >&6
34467 - else
34468 -- CPPFLAGS="$ORBACUS_INCLUDE $orig_CPPFLAGS"
34469 -- LIBS="$ORBACUS_LIBPATH $LIBOB $NETWORK_LIBS $DL_LIBS $orig_LIBS"
34470 -+ CPPFLAGS="$LIBXML_INCLUDE $orig_CPPFLAGS"
34471 -+ LIBS="$LIBXML_LIBS $orig_LIBS"
34472 - cat >conftest.$ac_ext <<_ACEOF
34473 - /* confdefs.h. */
34474 - _ACEOF
34475 - cat confdefs.h >>conftest.$ac_ext
34476 - cat >>conftest.$ac_ext <<_ACEOF
34477 - /* end confdefs.h. */
34478 --#include <OB/CORBA.h>
34479 -+#include <libxml/parser.h>
34480 - int
34481 - main ()
34482 - {
34483 --
34484 -- int c = 0;
34485 -- char* v[] = { NULL };
34486 -- CORBA::ORB_var orb = CORBA::ORB_init(c, v);
34487 -- if (!CORBA::is_nil(orb)) orb->destroy();
34488 --
34489 -+xmlDocPtr doc = xmlParseFile("foo.xml");
34490 - ;
34491 - return 0;
34492 - }
34493 - _ACEOF
34494 - rm -f conftest.$ac_objext conftest$ac_exeext
34495 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34496 -- (eval $ac_link) 2>conftest.er1
34497 -+if { (ac_try="$ac_link"
34498 -+case "(($ac_try" in
34499 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34500 -+ *) ac_try_echo=$ac_try;;
34501 -+esac
34502 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34503 -+ (eval "$ac_link") 2>conftest.er1
34504 - ac_status=$?
34505 - grep -v '^ *+' conftest.er1 >conftest.err
34506 - rm -f conftest.er1
34507 - cat conftest.err >&5
34508 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34509 - (exit $ac_status); } &&
34510 -- { ac_try='test -z "$ac_cxx_werror_flag"
34511 -- || test ! -s conftest.err'
34512 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34513 -- (eval $ac_try) 2>&5
34514 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34515 -+ { (case "(($ac_try" in
34516 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34517 -+ *) ac_try_echo=$ac_try;;
34518 -+esac
34519 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34520 -+ (eval "$ac_try") 2>&5
34521 - ac_status=$?
34522 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34523 - (exit $ac_status); }; } &&
34524 - { ac_try='test -s conftest$ac_exeext'
34525 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34526 -- (eval $ac_try) 2>&5
34527 -+ { (case "(($ac_try" in
34528 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34529 -+ *) ac_try_echo=$ac_try;;
34530 -+esac
34531 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34532 -+ (eval "$ac_try") 2>&5
34533 - ac_status=$?
34534 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34535 - (exit $ac_status); }; }; then
34536 -- ncbi_cv_lib_orbacus=yes
34537 -+ ncbi_cv_lib_libxml=yes
34538 - else
34539 - echo "$as_me: failed program was:" >&5
34540 - sed 's/^/| /' conftest.$ac_ext >&5
34541 -
34542 --ncbi_cv_lib_orbacus=no
34543 -+ ncbi_cv_lib_libxml=no
34544 - fi
34545 --rm -f conftest.err conftest.$ac_objext \
34546 -+
34547 -+rm -f core conftest.err conftest.$ac_objext \
34548 - conftest$ac_exeext conftest.$ac_ext
34549 - fi
34550 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_orbacus" >&5
34551 --echo "${ECHO_T}$ncbi_cv_lib_orbacus" >&6
34552 -- if test "$ncbi_cv_lib_orbacus" = "no"; then
34553 -- if test "${with_orbacus:=no}" != no; then
34554 -- { { echo "$as_me:$LINENO: error: --with-orbacus explicitly specified, but no usable version found." >&5
34555 --echo "$as_me: error: --with-orbacus explicitly specified, but no usable version found." >&2;}
34556 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_libxml" >&5
34557 -+echo "${ECHO_T}$ncbi_cv_lib_libxml" >&6; }
34558 -+ if test "$ncbi_cv_lib_libxml" = "no"; then
34559 -+ if test "${with_libxml:=no}" != no; then
34560 -+ { { echo "$as_me:$LINENO: error: --with-libxml explicitly specified, but no usable version found." >&5
34561 -+echo "$as_me: error: --with-libxml explicitly specified, but no usable version found." >&2;}
34562 - { (exit 1); exit 1; }; }
34563 - fi
34564 - fi
34565 - fi
34566 --if test "$with_orbacus" = no; then
34567 -- ORBACUS_PATH=No_ORBacus
34568 -- ORBACUS_INCLUDE=
34569 -- ORBACUS_LIBPATH=
34570 -- LIBOB=
34571 -- LIBIMR=
34572 -+if test "$with_libxml" = "no"; then
34573 -+ LIBXML_PATH="No_LIBXML"
34574 -+ LIBXML_INCLUDE=
34575 -+ LIBXML_LIBPATH_=
34576 -+ LIBXML_LIBS=
34577 - else
34578 -- WithPackages="$WithPackages${WithPackagesSep}ORBacus"; WithPackagesSep=" "
34579 -+ WithPackages="$WithPackages${WithPackagesSep}LIBXML"; WithPackagesSep=" "
34580 -+ LIBXML_INCLUDE="$LIBXML_INCLUDE"
34581 -
34582 - cat >>confdefs.h <<\_ACEOF
34583 --#define HAVE_ORBACUS 1
34584 -+#define HAVE_LIBXML 1
34585 - _ACEOF
34586 -
34587 - fi
34588 --# Sigh... without this, the linker pulls in the contents of the cache
34589 --# and then gripes about missing JTC stuff.
34590 --test -d SunWS_cache && rm -r SunWS_cache
34591 -
34592 -
34593 --## International Components for Unicode (ICU)
34594 --if test -z "$ICU_PATH" && icu-config --version >/dev/null 2>&1; then
34595 -- ICU_PATH=`icu-config --prefix`
34596 -+
34597 -+if test -f "${LIBXML_LIBPATH_}/libxml2-static.a"; then
34598 -+ LIBXML_STATIC_LIBS="-L${LIBXML_LIBPATH_} -lxml2-static"
34599 -+else
34600 -+ LIBXML_STATIC_LIBS=${LIBXML_LIBS}
34601 - fi
34602 -
34603 --if test "$with_icu" != "no" ; then
34604 -- case "$with_icu" in
34605 -- yes | "" ) : ${ICU_PATH=$NCBI/icu} ;;
34606 -- * ) ICU_PATH=$with_icu ;;
34607 -+: ${LIBXSLT_PATH=$LIBXML_PATH}
34608 -+if test "$with_libxslt" != "no"; then
34609 -+ case "$with_libxslt" in
34610 -+ yes | "" ) ;;
34611 -+ * ) LIBXSLT_PATH=$with_libxslt ;;
34612 - esac
34613 -- if test -d "$ICU_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}/lib" \
34614 -- -a -z "$ICU_ARCH_PATH"; then
34615 -- ICU_ARCH_PATH="$ICU_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}"
34616 -- elif test -d "$ICU_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}/lib" \
34617 -- -a -z "$ICU_ARCH_PATH"; then
34618 -- ICU_ARCH_PATH="$ICU_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}"
34619 -- else
34620 -- ICU_ARCH_PATH="$ICU_PATH"
34621 -+ if test -d "$LIBXSLT_PATH"; then
34622 -+ in_path=" in $LIBXSLT_PATH"
34623 -+ if test -z "$LIBXSLT_INCLUDE" -a -d "$LIBXSLT_PATH/include"; then
34624 -+ LIBXSLT_INCLUDE="-I$LIBXSLT_PATH/include"
34625 - fi
34626 -- ICU_BINPATH=${ICU_BINPATH:="$ICU_ARCH_PATH/bin"}
34627 -- ICU_LIBPATH=${ICU_LIBPATH:="$ICU_ARCH_PATH/lib"}
34628 -- ICU_INCLUDE=
34629 -- echo "$as_me:$LINENO: checking for ICU in $ICU_ARCH_PATH" >&5
34630 --echo $ECHO_N "checking for ICU in $ICU_ARCH_PATH... $ECHO_C" >&6
34631 --if test "${ncbi_cv_lib_icu+set}" = set; then
34632 -- echo $ECHO_N "(cached) $ECHO_C" >&6
34633 --else
34634 -- ICU_CONFIG=`$ICU_BINPATH/icu-config --bindir 2>/dev/null`/icu-config
34635 -- if test -x "$ICU_CONFIG" ; then
34636 -- ICU_INCLUDE=`$ICU_CONFIG --cppflags-searchpath`
34637 -+ if test -n "$LIBXSLT_LIBPATH"; then
34638 -+ :
34639 -+ elif test -d "$LIBXSLT_PATH/lib${bit64_sfx}"; then
34640 -+ ncbi_rp_L_flags=
34641 -+ ncbi_rp_L_sep=$CONF_f_libpath
34642 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
34643 -- ICU_LIBS=`$ICU_CONFIG --ldflags-searchpath | sed -e ""`
34644 -+ for x in $LIBXSLT_PATH/lib${bit64_sfx}; do
34645 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
34646 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
34647 -+ done
34648 -+ LIBXSLT_LIBPATH="${ncbi_rp_L_flags}"
34649 - else
34650 -- ICU_LIBS=
34651 -- ncbi_rp_L_sep=
34652 - ncbi_rp_R_flags=
34653 - ncbi_rp_R_sep=" $CONF_f_runpath"
34654 -- for x in `$ICU_CONFIG --ldflags-searchpath | sed -e ""`; do
34655 -- case "$x" in
34656 -- -L*)
34657 -- ICU_LIBS="$ICU_LIBS${ncbi_rp_L_sep}$x"
34658 -- x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
34659 -+ for x in $LIBXSLT_PATH/lib${bit64_sfx}; do
34660 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
34661 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
34662 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
34663 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
34664 - ncbi_rp_R_sep=:
34665 -- ;;
34666 -- *)
34667 -- ICU_LIBS="$ICU_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
34668 -+ done
34669 -+ LIBXSLT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
34670 -+ fi
34671 -+ elif test -d "$LIBXSLT_PATH/lib"; then
34672 -+ ncbi_rp_L_flags=
34673 -+ ncbi_rp_L_sep=$CONF_f_libpath
34674 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
34675 -+ for x in $LIBXSLT_PATH/lib; do
34676 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
34677 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
34678 -+ done
34679 -+ LIBXSLT_LIBPATH="${ncbi_rp_L_flags}"
34680 -+ else
34681 - ncbi_rp_R_flags=
34682 - ncbi_rp_R_sep=" $CONF_f_runpath"
34683 -- ;;
34684 -- esac
34685 -- ncbi_rp_L_sep=" "
34686 -+ for x in $LIBXSLT_PATH/lib; do
34687 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
34688 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
34689 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
34690 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
34691 -+ ncbi_rp_R_sep=:
34692 - done
34693 -- ICU_LIBS="$ICU_LIBS${ncbi_rp_R_flags}"
34694 -+ LIBXSLT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
34695 - fi
34696 -- ICU_LIBS="$ICU_LIBS `$ICU_CONFIG --ldflags-libsonly`"
34697 --
34698 -- CPPFLAGS="$ICU_INCLUDE $orig_CPPFLAGS"
34699 -- LIBS="$ICU_LIBS $orig_LIBS"
34700 -+ fi
34701 -+ LIBXSLT_LIBS="$LIBXSLT_LIBPATH -lxslt "
34702 -+ else
34703 -+ LIBXSLT_INCLUDE=""
34704 -+ LIBXSLT_LIBS="-lxslt "
34705 -+ in_path=
34706 -+ fi
34707 -+ { echo "$as_me:$LINENO: checking for libxslt$in_path" >&5
34708 -+echo $ECHO_N "checking for libxslt$in_path... $ECHO_C" >&6; }
34709 -+if test "${ncbi_cv_lib_libxslt+set}" = set; then
34710 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
34711 -+else
34712 -+ CPPFLAGS="$LIBXML_INCLUDE $LIBXSLT_INCLUDE $orig_CPPFLAGS"
34713 -+ LIBS="$LIBXSLT_LIBS $LIBXML_LIBS $Z_LIBS $orig_LIBS"
34714 - cat >conftest.$ac_ext <<_ACEOF
34715 - /* confdefs.h. */
34716 - _ACEOF
34717 - cat confdefs.h >>conftest.$ac_ext
34718 - cat >>conftest.$ac_ext <<_ACEOF
34719 - /* end confdefs.h. */
34720 --#include <unicode/unistr.h>
34721 -+#include <libxslt/xslt.h>
34722 - int
34723 - main ()
34724 - {
34725 --int32_t i = UNICODE_STRING_SIMPLE("foo").indexOf('f');
34726 -+xsltInit()
34727 - ;
34728 - return 0;
34729 - }
34730 - _ACEOF
34731 - rm -f conftest.$ac_objext conftest$ac_exeext
34732 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34733 -- (eval $ac_link) 2>conftest.er1
34734 -+if { (ac_try="$ac_link"
34735 -+case "(($ac_try" in
34736 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34737 -+ *) ac_try_echo=$ac_try;;
34738 -+esac
34739 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34740 -+ (eval "$ac_link") 2>conftest.er1
34741 - ac_status=$?
34742 - grep -v '^ *+' conftest.er1 >conftest.err
34743 - rm -f conftest.er1
34744 - cat conftest.err >&5
34745 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34746 - (exit $ac_status); } &&
34747 -- { ac_try='test -z "$ac_cxx_werror_flag"
34748 -- || test ! -s conftest.err'
34749 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34750 -- (eval $ac_try) 2>&5
34751 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34752 -+ { (case "(($ac_try" in
34753 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34754 -+ *) ac_try_echo=$ac_try;;
34755 -+esac
34756 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34757 -+ (eval "$ac_try") 2>&5
34758 - ac_status=$?
34759 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34760 - (exit $ac_status); }; } &&
34761 - { ac_try='test -s conftest$ac_exeext'
34762 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34763 -- (eval $ac_try) 2>&5
34764 -+ { (case "(($ac_try" in
34765 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34766 -+ *) ac_try_echo=$ac_try;;
34767 -+esac
34768 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34769 -+ (eval "$ac_try") 2>&5
34770 - ac_status=$?
34771 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
34772 - (exit $ac_status); }; }; then
34773 -- ncbi_cv_lib_icu=yes
34774 -+ ncbi_cv_lib_libxslt=yes
34775 - else
34776 - echo "$as_me: failed program was:" >&5
34777 - sed 's/^/| /' conftest.$ac_ext >&5
34778 -
34779 --ncbi_cv_lib_icu=no
34780 -+ ncbi_cv_lib_libxslt=no
34781 - fi
34782 --rm -f conftest.err conftest.$ac_objext \
34783 -+
34784 -+rm -f core conftest.err conftest.$ac_objext \
34785 - conftest$ac_exeext conftest.$ac_ext
34786 -- else
34787 -- ncbi_cv_lib_icu=no
34788 - fi
34789 --fi
34790 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_icu" >&5
34791 --echo "${ECHO_T}$ncbi_cv_lib_icu" >&6
34792 -- if test "$ncbi_cv_lib_icu" = "no"; then
34793 -- if test "${with_icu:=no}" != no; then
34794 -- { { echo "$as_me:$LINENO: error: --with-icu explicitly specified, but no usable version found." >&5
34795 --echo "$as_me: error: --with-icu explicitly specified, but no usable version found." >&2;}
34796 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_libxslt" >&5
34797 -+echo "${ECHO_T}$ncbi_cv_lib_libxslt" >&6; }
34798 -+ if test "$ncbi_cv_lib_libxslt" = "no"; then
34799 -+ if test "${with_libxslt:=no}" != no; then
34800 -+ { { echo "$as_me:$LINENO: error: --with-libxslt explicitly specified, but no usable version found." >&5
34801 -+echo "$as_me: error: --with-libxslt explicitly specified, but no usable version found." >&2;}
34802 - { (exit 1); exit 1; }; }
34803 - fi
34804 - fi
34805 - fi
34806 -+ if test "$with_libxslt" = "no"; then
34807 -+ LIBXSLT_PATH="No_LIBXSLT"
34808 -+ LIBXSLT_INCLUDE=
34809 -+ LIBXSLT_LIBS=
34810 -+ else
34811 -+ WithPackages="$WithPackages${WithPackagesSep}LIBXSLT"; WithPackagesSep=" "
34812 -+ LIBXSLT_INCLUDE="$LIBXML_INCLUDE $LIBXSLT_INCLUDE"
34813 -+
34814 -+cat >>confdefs.h <<\_ACEOF
34815 -+#define HAVE_LIBXSLT 1
34816 -+_ACEOF
34817 -+
34818 -+ fi
34819 -
34820 --if test "$with_icu" = "no" ; then
34821 -- ICU_PATH="No_ICU"
34822 -- ICU_INCLUDE=
34823 -- ICU_LIBS=
34824 -- ICU_STATIC_LIBS=
34825 -+
34826 -+
34827 -+
34828 -+# XXX - they might be in different directories in some setups
34829 -+if test -f "${LIBXML_LIBPATH_}/libxslt-static.a"; then
34830 -+ LIBXSLT_STATIC_LIBS="-L${LIBXML_LIBPATH_} -lxslt-static"
34831 - else
34832 -- WithPackages="$WithPackages${WithPackagesSep}ICU"; WithPackagesSep=" "
34833 -- ICU_CONFIG="`$ICU_BINPATH/icu-config --bindir`/icu-config"
34834 -- # The "yes" may have been cached; get the actual settings again if needed
34835 -- if test -z "$ICU_INCLUDE"; then
34836 -- ICU_INCLUDE=`$ICU_CONFIG --cppflags-searchpath`
34837 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
34838 -- ICU_LIBS=`$ICU_CONFIG --ldflags-searchpath | sed -e ""`
34839 -+ LIBXSLT_STATIC_LIBS=${LIBXSLT_LIBS}
34840 -+fi
34841 -+
34842 -+# Extract the first word of "xsltproc", so it can be a program name with args.
34843 -+set dummy xsltproc; ac_word=$2
34844 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
34845 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34846 -+if test "${ac_cv_path_XSLTPROC+set}" = set; then
34847 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
34848 - else
34849 -- ICU_LIBS=
34850 -- ncbi_rp_L_sep=
34851 -- ncbi_rp_R_flags=
34852 -- ncbi_rp_R_sep=" $CONF_f_runpath"
34853 -- for x in `$ICU_CONFIG --ldflags-searchpath | sed -e ""`; do
34854 -- case "$x" in
34855 -- -L*)
34856 -- ICU_LIBS="$ICU_LIBS${ncbi_rp_L_sep}$x"
34857 -- x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
34858 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
34859 -- ncbi_rp_R_sep=:
34860 -+ case $XSLTPROC in
34861 -+ [\\/]* | ?:[\\/]*)
34862 -+ ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
34863 - ;;
34864 - *)
34865 -- ICU_LIBS="$ICU_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
34866 -- ncbi_rp_R_flags=
34867 -- ncbi_rp_R_sep=" $CONF_f_runpath"
34868 -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34869 -+as_dummy="$LIBXSLT_PATH/bin:`dirname $LIBXML_LIBPATH_ 2>/dev/null`/bin:$PATH"
34870 -+for as_dir in $as_dummy
34871 -+do
34872 -+ IFS=$as_save_IFS
34873 -+ test -z "$as_dir" && as_dir=.
34874 -+ for ac_exec_ext in '' $ac_executable_extensions; do
34875 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
34876 -+ ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
34877 -+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34878 -+ break 2
34879 -+ fi
34880 -+done
34881 -+done
34882 -+IFS=$as_save_IFS
34883 -+
34884 -+ test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC=":"
34885 - ;;
34886 - esac
34887 -- ncbi_rp_L_sep=" "
34888 -- done
34889 -- ICU_LIBS="$ICU_LIBS${ncbi_rp_R_flags}"
34890 - fi
34891 -- ICU_LIBS="$ICU_LIBS `$ICU_CONFIG --ldflags-libsonly`"
34892 -+XSLTPROC=$ac_cv_path_XSLTPROC
34893 -+if test -n "$XSLTPROC"; then
34894 -+ { echo "$as_me:$LINENO: result: $XSLTPROC" >&5
34895 -+echo "${ECHO_T}$XSLTPROC" >&6; }
34896 -+else
34897 -+ { echo "$as_me:$LINENO: result: no" >&5
34898 -+echo "${ECHO_T}no" >&6; }
34899 - fi
34900 -- ICU_STATIC_LIBS=`$ICU_CONFIG --ldflags-libsonly | sed -e 's/-licu/-lsicu/g'`
34901 -- ICU_STATIC_LIBS="`$ICU_CONFIG --ldflags-searchpath` $ICU_STATIC_LIBS"
34902 --
34903 --cat >>confdefs.h <<\_ACEOF
34904 --#define HAVE_ICU 1
34905 --_ACEOF
34906 -
34907 --fi
34908 -
34909 -
34910 --### XML/XSL libraries
34911 --if test -d "$NCBI/expat/include"; then
34912 -- : ${EXPAT_PATH=$NCBI/expat}
34913 --fi
34914 --if test "$with_expat" != "no"; then
34915 -- case "$with_expat" in
34916 -+: ${LIBEXSLT_PATH=$LIBXSLT_PATH}
34917 -+if test "$with_libexslt" != "no"; then
34918 -+ case "$with_libexslt" in
34919 - yes | "" ) ;;
34920 -- * ) EXPAT_PATH=$with_expat ;;
34921 -+ * ) LIBEXSLT_PATH=$with_libexslt ;;
34922 - esac
34923 -- if test -d "$EXPAT_PATH"; then
34924 -- in_path=" in $EXPAT_PATH"
34925 -- if test -z "$EXPAT_INCLUDE" -a -d "$EXPAT_PATH/include"; then
34926 -- EXPAT_INCLUDE="-I$EXPAT_PATH/include"
34927 -+ if test -d "$LIBEXSLT_PATH"; then
34928 -+ in_path=" in $LIBEXSLT_PATH"
34929 -+ if test -z "$LIBEXSLT_INCLUDE" -a -d "$LIBEXSLT_PATH/include"; then
34930 -+ LIBEXSLT_INCLUDE="-I$LIBEXSLT_PATH/include"
34931 - fi
34932 -- if test -n "$EXPAT_LIBPATH"; then
34933 -+ if test -n "$LIBEXSLT_LIBPATH"; then
34934 - :
34935 -- elif test -d "$EXPAT_PATH/lib${bit64_sfx}"; then
34936 -+ elif test -d "$LIBEXSLT_PATH/lib${bit64_sfx}"; then
34937 - ncbi_rp_L_flags=
34938 - ncbi_rp_L_sep=$CONF_f_libpath
34939 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
34940 -- for x in $EXPAT_PATH/lib${bit64_sfx}; do
34941 -+ for x in $LIBEXSLT_PATH/lib${bit64_sfx}; do
34942 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
34943 - ncbi_rp_L_sep=" $CONF_f_libpath"
34944 - done
34945 -- EXPAT_LIBPATH="${ncbi_rp_L_flags}"
34946 -+ LIBEXSLT_LIBPATH="${ncbi_rp_L_flags}"
34947 - else
34948 - ncbi_rp_R_flags=
34949 - ncbi_rp_R_sep=" $CONF_f_runpath"
34950 -- for x in $EXPAT_PATH/lib${bit64_sfx}; do
34951 -+ for x in $LIBEXSLT_PATH/lib${bit64_sfx}; do
34952 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
34953 - ncbi_rp_L_sep=" $CONF_f_libpath"
34954 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
34955 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
34956 - ncbi_rp_R_sep=:
34957 - done
34958 -- EXPAT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
34959 -+ LIBEXSLT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
34960 - fi
34961 -- elif test -d "$EXPAT_PATH/lib"; then
34962 -+ elif test -d "$LIBEXSLT_PATH/lib"; then
34963 - ncbi_rp_L_flags=
34964 - ncbi_rp_L_sep=$CONF_f_libpath
34965 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
34966 -- for x in $EXPAT_PATH/lib; do
34967 -+ for x in $LIBEXSLT_PATH/lib; do
34968 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
34969 - ncbi_rp_L_sep=" $CONF_f_libpath"
34970 - done
34971 -- EXPAT_LIBPATH="${ncbi_rp_L_flags}"
34972 -+ LIBEXSLT_LIBPATH="${ncbi_rp_L_flags}"
34973 - else
34974 - ncbi_rp_R_flags=
34975 - ncbi_rp_R_sep=" $CONF_f_runpath"
34976 -- for x in $EXPAT_PATH/lib; do
34977 -+ for x in $LIBEXSLT_PATH/lib; do
34978 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
34979 - ncbi_rp_L_sep=" $CONF_f_libpath"
34980 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
34981 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
34982 - ncbi_rp_R_sep=:
34983 - done
34984 -- EXPAT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
34985 -+ LIBEXSLT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
34986 - fi
34987 - fi
34988 -- EXPAT_LIBS="$EXPAT_LIBPATH -lexpat "
34989 -+ LIBEXSLT_LIBS="$LIBEXSLT_LIBPATH -lexslt "
34990 - else
34991 -- EXPAT_INCLUDE=""
34992 -- EXPAT_LIBS="-lexpat "
34993 -+ LIBEXSLT_INCLUDE=""
34994 -+ LIBEXSLT_LIBS="-lexslt "
34995 - in_path=
34996 - fi
34997 -- echo "$as_me:$LINENO: checking for libexpat$in_path" >&5
34998 --echo $ECHO_N "checking for libexpat$in_path... $ECHO_C" >&6
34999 --if test "${ncbi_cv_lib_expat+set}" = set; then
35000 -+ { echo "$as_me:$LINENO: checking for libexslt$in_path" >&5
35001 -+echo $ECHO_N "checking for libexslt$in_path... $ECHO_C" >&6; }
35002 -+if test "${ncbi_cv_lib_libexslt+set}" = set; then
35003 - echo $ECHO_N "(cached) $ECHO_C" >&6
35004 - else
35005 -- CPPFLAGS=" $EXPAT_INCLUDE $orig_CPPFLAGS"
35006 -- LIBS="$EXPAT_LIBS $orig_LIBS"
35007 -+ CPPFLAGS="$LIBXSLT_INCLUDE $LIBEXSLT_INCLUDE $orig_CPPFLAGS"
35008 -+ LIBS="$LIBEXSLT_LIBS $LIBXSLT_LIBS $LIBXML_LIBS $Z_LIBS $orig_LIBS"
35009 - cat >conftest.$ac_ext <<_ACEOF
35010 - /* confdefs.h. */
35011 - _ACEOF
35012 - cat confdefs.h >>conftest.$ac_ext
35013 - cat >>conftest.$ac_ext <<_ACEOF
35014 - /* end confdefs.h. */
35015 --#include <expat.h>
35016 -+#include <libexslt/exslt.h>
35017 - int
35018 - main ()
35019 - {
35020 --XML_Parser parser = XML_ParserCreate("utf-8");
35021 -+exsltRegisterAll()
35022 - ;
35023 - return 0;
35024 - }
35025 - _ACEOF
35026 - rm -f conftest.$ac_objext conftest$ac_exeext
35027 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35028 -- (eval $ac_link) 2>conftest.er1
35029 -+if { (ac_try="$ac_link"
35030 -+case "(($ac_try" in
35031 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35032 -+ *) ac_try_echo=$ac_try;;
35033 -+esac
35034 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35035 -+ (eval "$ac_link") 2>conftest.er1
35036 - ac_status=$?
35037 - grep -v '^ *+' conftest.er1 >conftest.err
35038 - rm -f conftest.er1
35039 - cat conftest.err >&5
35040 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35041 - (exit $ac_status); } &&
35042 -- { ac_try='test -z "$ac_cxx_werror_flag"
35043 -- || test ! -s conftest.err'
35044 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35045 -- (eval $ac_try) 2>&5
35046 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35047 -+ { (case "(($ac_try" in
35048 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35049 -+ *) ac_try_echo=$ac_try;;
35050 -+esac
35051 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35052 -+ (eval "$ac_try") 2>&5
35053 - ac_status=$?
35054 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35055 - (exit $ac_status); }; } &&
35056 - { ac_try='test -s conftest$ac_exeext'
35057 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35058 -- (eval $ac_try) 2>&5
35059 -+ { (case "(($ac_try" in
35060 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35061 -+ *) ac_try_echo=$ac_try;;
35062 -+esac
35063 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35064 -+ (eval "$ac_try") 2>&5
35065 - ac_status=$?
35066 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35067 - (exit $ac_status); }; }; then
35068 -- ncbi_cv_lib_expat=yes
35069 -+ ncbi_cv_lib_libexslt=yes
35070 - else
35071 - echo "$as_me: failed program was:" >&5
35072 - sed 's/^/| /' conftest.$ac_ext >&5
35073 -
35074 --ncbi_cv_lib_expat=no
35075 -+ ncbi_cv_lib_libexslt=no
35076 - fi
35077 --rm -f conftest.err conftest.$ac_objext \
35078 -+
35079 -+rm -f core conftest.err conftest.$ac_objext \
35080 - conftest$ac_exeext conftest.$ac_ext
35081 - fi
35082 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_expat" >&5
35083 --echo "${ECHO_T}$ncbi_cv_lib_expat" >&6
35084 -- if test "$ncbi_cv_lib_expat" = "no"; then
35085 -- if test "${with_expat:=no}" != no; then
35086 -- { { echo "$as_me:$LINENO: error: --with-expat explicitly specified, but no usable version found." >&5
35087 --echo "$as_me: error: --with-expat explicitly specified, but no usable version found." >&2;}
35088 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_libexslt" >&5
35089 -+echo "${ECHO_T}$ncbi_cv_lib_libexslt" >&6; }
35090 -+ if test "$ncbi_cv_lib_libexslt" = "no"; then
35091 -+ if test "${with_libexslt:=no}" != no; then
35092 -+ { { echo "$as_me:$LINENO: error: --with-libexslt explicitly specified, but no usable version found." >&5
35093 -+echo "$as_me: error: --with-libexslt explicitly specified, but no usable version found." >&2;}
35094 - { (exit 1); exit 1; }; }
35095 - fi
35096 - fi
35097 - fi
35098 -- if test "$with_expat" = "no"; then
35099 -- EXPAT_PATH="No_EXPAT"
35100 -- EXPAT_INCLUDE=
35101 -- EXPAT_LIBS=
35102 -+ if test "$with_libexslt" = "no"; then
35103 -+ LIBEXSLT_PATH="No_LIBEXSLT"
35104 -+ LIBEXSLT_INCLUDE=
35105 -+ LIBEXSLT_LIBS=
35106 - else
35107 -- WithPackages="$WithPackages${WithPackagesSep}EXPAT"; WithPackagesSep=" "
35108 -- EXPAT_INCLUDE=" $EXPAT_INCLUDE"
35109 -+ WithPackages="$WithPackages${WithPackagesSep}LIBEXSLT"; WithPackagesSep=" "
35110 -+ LIBEXSLT_INCLUDE="$LIBXSLT_INCLUDE $LIBEXSLT_INCLUDE"
35111 -
35112 - cat >>confdefs.h <<\_ACEOF
35113 --#define HAVE_LIBEXPAT 1
35114 -+#define HAVE_LIBEXSLT 1
35115 - _ACEOF
35116 -
35117 - fi
35118 -
35119 -
35120 -
35121 --if test -f "${EXPAT_PATH}/lib${bit64_sfx}/libexpat-static.a"; then
35122 -- EXPAT_STATIC_LIBS="-L${EXPAT_PATH}/lib${bit64_sfx} -lexpat-static"
35123 -+
35124 -+# XXX - they might be in different directories in some setups
35125 -+if test -f "${LIBXML_LIBPATH_}/libexslt-static.a"; then
35126 -+ LIBEXSLT_STATIC_LIBS="-L${LIBXML_LIBPATH_} -lexslt-static"
35127 - else
35128 -- EXPAT_STATIC_LIBS=${EXPAT_LIBS}
35129 -+ LIBEXSLT_STATIC_LIBS=${LIBEXSLT_LIBS}
35130 - fi
35131 --: ${SABLOT_PATH=$NCBI/Sablot}
35132 --vpath="$SABLOT_PATH/${compiler_vpfx}build"
35133 --test -d "$vpath" && SABLOT_PATH=$vpath
35134 --if test -d "$SABLOT_PATH"; then
35135 -- ncbi_fix_dir_tmp=`if cd $SABLOT_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
35136 -+
35137 -+if test "$with_xerces" != no; then
35138 -+ if test "${with_xerces-yes}" != yes; then
35139 -+ XERCES_PATH=$with_xerces
35140 -+ fi
35141 -+ if test -d "$XERCES_PATH"; then
35142 -+ ncbi_fix_dir_tmp=`if cd $XERCES_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
35143 - case "$ncbi_fix_dir_tmp" in
35144 -- /.*) ncbi_fix_dir_tmp2=`cd $SABLOT_PATH && $smart_pwd 2>/dev/null`
35145 -+ /.*) ncbi_fix_dir_tmp2=`cd $XERCES_PATH && $smart_pwd 2>/dev/null`
35146 - if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
35147 -- SABLOT_PATH=$ncbi_fix_dir_tmp2
35148 -+ XERCES_PATH=$ncbi_fix_dir_tmp2
35149 - else
35150 -- case "$SABLOT_PATH" in
35151 -+ case "$XERCES_PATH" in
35152 - /*) ;;
35153 -- * ) SABLOT_PATH=$ncbi_fix_dir_tmp ;;
35154 -+ * ) XERCES_PATH=$ncbi_fix_dir_tmp ;;
35155 - esac
35156 - fi
35157 - ;;
35158 -- /*) SABLOT_PATH=$ncbi_fix_dir_tmp ;;
35159 -+ /*) XERCES_PATH=$ncbi_fix_dir_tmp ;;
35160 - esac
35161 - fi
35162 --if test "$with_sablot" != "no"; then
35163 -- case "$with_sablot" in
35164 -- yes | "" ) ;;
35165 -- * ) SABLOT_PATH=$with_sablot ;;
35166 -+ vpath="$XERCES_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}"
35167 -+ if test -d "$vpath/lib"; then
35168 -+ XERCES_PATH=$vpath
35169 -+ ncbi_fix_dir_tmp=`if cd $XERCES_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
35170 -+ case "$ncbi_fix_dir_tmp" in
35171 -+ /.*) ncbi_fix_dir_tmp2=`cd $XERCES_PATH && $smart_pwd 2>/dev/null`
35172 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
35173 -+ XERCES_PATH=$ncbi_fix_dir_tmp2
35174 -+ else
35175 -+ case "$XERCES_PATH" in
35176 -+ /*) ;;
35177 -+ * ) XERCES_PATH=$ncbi_fix_dir_tmp ;;
35178 -+ esac
35179 -+ fi
35180 -+ ;;
35181 -+ /*) XERCES_PATH=$ncbi_fix_dir_tmp ;;
35182 -+ esac
35183 -+ elif test -d "$vpath"; then
35184 -+ : ${XERCES_LIBPATH=$vpath}
35185 -+ ncbi_fix_dir_tmp=`if cd $XERCES_LIBPATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
35186 -+ case "$ncbi_fix_dir_tmp" in
35187 -+ /.*) ncbi_fix_dir_tmp2=`cd $XERCES_LIBPATH && $smart_pwd 2>/dev/null`
35188 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
35189 -+ XERCES_LIBPATH=$ncbi_fix_dir_tmp2
35190 -+ else
35191 -+ case "$XERCES_LIBPATH" in
35192 -+ /*) ;;
35193 -+ * ) XERCES_LIBPATH=$ncbi_fix_dir_tmp ;;
35194 -+ esac
35195 -+ fi
35196 -+ ;;
35197 -+ /*) XERCES_LIBPATH=$ncbi_fix_dir_tmp ;;
35198 -+ esac
35199 -+ else
35200 -+ vpath="$XERCES_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}"
35201 -+ if test -d "$vpath/lib"; then
35202 -+ XERCES_PATH=$vpath
35203 -+ ncbi_fix_dir_tmp=`if cd $XERCES_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
35204 -+ case "$ncbi_fix_dir_tmp" in
35205 -+ /.*) ncbi_fix_dir_tmp2=`cd $XERCES_PATH && $smart_pwd 2>/dev/null`
35206 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
35207 -+ XERCES_PATH=$ncbi_fix_dir_tmp2
35208 -+ else
35209 -+ case "$XERCES_PATH" in
35210 -+ /*) ;;
35211 -+ * ) XERCES_PATH=$ncbi_fix_dir_tmp ;;
35212 -+ esac
35213 -+ fi
35214 -+ ;;
35215 -+ /*) XERCES_PATH=$ncbi_fix_dir_tmp ;;
35216 -+ esac
35217 -+ elif test -d "$vpath"; then
35218 -+ XERCES_LIBPATH=$vpath
35219 -+ ncbi_fix_dir_tmp=`if cd $XERCES_LIBPATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
35220 -+ case "$ncbi_fix_dir_tmp" in
35221 -+ /.*) ncbi_fix_dir_tmp2=`cd $XERCES_LIBPATH && $smart_pwd 2>/dev/null`
35222 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
35223 -+ XERCES_LIBPATH=$ncbi_fix_dir_tmp2
35224 -+ else
35225 -+ case "$XERCES_LIBPATH" in
35226 -+ /*) ;;
35227 -+ * ) XERCES_LIBPATH=$ncbi_fix_dir_tmp ;;
35228 -+ esac
35229 -+ fi
35230 -+ ;;
35231 -+ /*) XERCES_LIBPATH=$ncbi_fix_dir_tmp ;;
35232 - esac
35233 -- if test -d "$SABLOT_PATH"; then
35234 -- in_path=" in $SABLOT_PATH"
35235 -- if test -z "$SABLOT_INCLUDE" -a -d "$SABLOT_PATH/include"; then
35236 -- SABLOT_INCLUDE="-I$SABLOT_PATH/include"
35237 - fi
35238 -- if test -n "$SABLOT_LIBPATH"; then
35239 -- :
35240 -- elif test -d "$SABLOT_PATH/lib${bit64_sfx}"; then
35241 -- ncbi_rp_L_flags=
35242 -- ncbi_rp_L_sep=$CONF_f_libpath
35243 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
35244 -- for x in $SABLOT_PATH/lib${bit64_sfx}; do
35245 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
35246 -- ncbi_rp_L_sep=" $CONF_f_libpath"
35247 -- done
35248 -- SABLOT_LIBPATH="${ncbi_rp_L_flags}"
35249 -+ fi
35250 -+ if test -d "$XERCES_PATH"; then
35251 -+ in_path=" in $XERCES_PATH"
35252 -+ : ${XERCES_INCLUDE=-I$XERCES_PATH/include}
35253 -+ : ${XERCES_LIBPATH=$XERCES_PATH/lib}
35254 - else
35255 -- ncbi_rp_R_flags=
35256 -- ncbi_rp_R_sep=" $CONF_f_runpath"
35257 -- for x in $SABLOT_PATH/lib${bit64_sfx}; do
35258 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
35259 -- ncbi_rp_L_sep=" $CONF_f_libpath"
35260 -- x=`echo $x | sed -e "$ncbi_rpath_sed"`
35261 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
35262 -- ncbi_rp_R_sep=:
35263 -- done
35264 -- SABLOT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
35265 -+ in_path=''
35266 - fi
35267 -- elif test -d "$SABLOT_PATH/lib"; then
35268 - ncbi_rp_L_flags=
35269 - ncbi_rp_L_sep=$CONF_f_libpath
35270 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
35271 -- for x in $SABLOT_PATH/lib; do
35272 -+ for x in $XERCES_LIBPATH; do
35273 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
35274 - ncbi_rp_L_sep=" $CONF_f_libpath"
35275 - done
35276 -- SABLOT_LIBPATH="${ncbi_rp_L_flags}"
35277 -+ XERCES_LIBPATH_="${ncbi_rp_L_flags}"
35278 - else
35279 - ncbi_rp_R_flags=
35280 - ncbi_rp_R_sep=" $CONF_f_runpath"
35281 -- for x in $SABLOT_PATH/lib; do
35282 -+ for x in $XERCES_LIBPATH; do
35283 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
35284 - ncbi_rp_L_sep=" $CONF_f_libpath"
35285 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
35286 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
35287 - ncbi_rp_R_sep=:
35288 - done
35289 -- SABLOT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
35290 -- fi
35291 -- fi
35292 -- SABLOT_LIBS="$SABLOT_LIBPATH -lsablot $EXPAT_LIBS"
35293 -- else
35294 -- SABLOT_INCLUDE=""
35295 -- SABLOT_LIBS="-lsablot $EXPAT_LIBS"
35296 -- in_path=
35297 -+ XERCES_LIBPATH_="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
35298 - fi
35299 -- echo "$as_me:$LINENO: checking for libsablot$in_path" >&5
35300 --echo $ECHO_N "checking for libsablot$in_path... $ECHO_C" >&6
35301 --if test "${ncbi_cv_lib_sablot+set}" = set; then
35302 -+ XERCES_LIBS="$XERCES_LIBPATH_ -lxerces-c"
35303 -+ { echo "$as_me:$LINENO: checking for Xerces-C++$in_path" >&5
35304 -+echo $ECHO_N "checking for Xerces-C++$in_path... $ECHO_C" >&6; }
35305 -+if test "${ncbi_cv_lib_xerces_c+set}" = set; then
35306 - echo $ECHO_N "(cached) $ECHO_C" >&6
35307 - else
35308 -- CPPFLAGS=" $SABLOT_INCLUDE $orig_CPPFLAGS"
35309 -- LIBS="$SABLOT_LIBS $orig_LIBS"
35310 -+ CPPFLAGS="$XERCES_INCLUDE $orig_CPPFLAGS"
35311 -+ LIBS="$XERCES_LIBS $ICU_LIBS $orig_LIBS"
35312 - cat >conftest.$ac_ext <<_ACEOF
35313 - /* confdefs.h. */
35314 - _ACEOF
35315 - cat confdefs.h >>conftest.$ac_ext
35316 - cat >>conftest.$ac_ext <<_ACEOF
35317 - /* end confdefs.h. */
35318 --#include <sablot.h>
35319 -+#include <xercesc/dom/DOM.hpp>
35320 - int
35321 - main ()
35322 - {
35323 --SDOM_Document* D; int x = SablotParse(NULL, "file:/dev/null", D);
35324 -+xercesc::DOMImplementation* impl
35325 -+ = xercesc::DOMImplementationRegistry::getDOMImplementation
35326 -+ (xercesc::XMLString::transcode("XML 1.0"));
35327 - ;
35328 - return 0;
35329 - }
35330 - _ACEOF
35331 - rm -f conftest.$ac_objext conftest$ac_exeext
35332 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35333 -- (eval $ac_link) 2>conftest.er1
35334 -+if { (ac_try="$ac_link"
35335 -+case "(($ac_try" in
35336 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35337 -+ *) ac_try_echo=$ac_try;;
35338 -+esac
35339 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35340 -+ (eval "$ac_link") 2>conftest.er1
35341 - ac_status=$?
35342 - grep -v '^ *+' conftest.er1 >conftest.err
35343 - rm -f conftest.er1
35344 - cat conftest.err >&5
35345 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35346 - (exit $ac_status); } &&
35347 -- { ac_try='test -z "$ac_cxx_werror_flag"
35348 -- || test ! -s conftest.err'
35349 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35350 -- (eval $ac_try) 2>&5
35351 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35352 -+ { (case "(($ac_try" in
35353 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35354 -+ *) ac_try_echo=$ac_try;;
35355 -+esac
35356 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35357 -+ (eval "$ac_try") 2>&5
35358 - ac_status=$?
35359 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35360 - (exit $ac_status); }; } &&
35361 - { ac_try='test -s conftest$ac_exeext'
35362 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35363 -- (eval $ac_try) 2>&5
35364 -+ { (case "(($ac_try" in
35365 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35366 -+ *) ac_try_echo=$ac_try;;
35367 -+esac
35368 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35369 -+ (eval "$ac_try") 2>&5
35370 - ac_status=$?
35371 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35372 - (exit $ac_status); }; }; then
35373 -- ncbi_cv_lib_sablot=yes
35374 -+ ncbi_cv_lib_xerces_c=yes
35375 - else
35376 - echo "$as_me: failed program was:" >&5
35377 - sed 's/^/| /' conftest.$ac_ext >&5
35378 -
35379 --ncbi_cv_lib_sablot=no
35380 -+ ncbi_cv_lib_xerces_c=no
35381 - fi
35382 --rm -f conftest.err conftest.$ac_objext \
35383 -+
35384 -+rm -f core conftest.err conftest.$ac_objext \
35385 - conftest$ac_exeext conftest.$ac_ext
35386 - fi
35387 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_sablot" >&5
35388 --echo "${ECHO_T}$ncbi_cv_lib_sablot" >&6
35389 -- if test "$ncbi_cv_lib_sablot" = "no"; then
35390 -- if test "${with_sablot:=no}" != no; then
35391 -- { { echo "$as_me:$LINENO: error: --with-sablot explicitly specified, but no usable version found." >&5
35392 --echo "$as_me: error: --with-sablot explicitly specified, but no usable version found." >&2;}
35393 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_xerces_c" >&5
35394 -+echo "${ECHO_T}$ncbi_cv_lib_xerces_c" >&6; }
35395 -+ if test $ncbi_cv_lib_xerces_c = yes; then
35396 -+ if test -f "$XERCES_LIBPATH/libxerces-c-static.a"; then
35397 -+ XERCES_STATIC_LIBS="-L$XERCES_LIBPATH -lxerces-c-static $CURL_LIBS"
35398 -+ else
35399 -+ XERCES_STATIC_LIBS=$XERCES_LIBS
35400 -+ fi
35401 -+ else
35402 -+ if test "${with_xerces:=no}" != no; then
35403 -+ { { echo "$as_me:$LINENO: error: --with-xerces explicitly specified, but no usable version found." >&5
35404 -+echo "$as_me: error: --with-xerces explicitly specified, but no usable version found." >&2;}
35405 - { (exit 1); exit 1; }; }
35406 - fi
35407 - fi
35408 - fi
35409 -- if test "$with_sablot" = "no"; then
35410 -- SABLOT_PATH="No_SABLOT"
35411 -- SABLOT_INCLUDE=
35412 -- SABLOT_LIBS=
35413 -- else
35414 -- WithPackages="$WithPackages${WithPackagesSep}SABLOT"; WithPackagesSep=" "
35415 -- SABLOT_INCLUDE=" $SABLOT_INCLUDE"
35416 -+if test "$with_xerces" != no; then
35417 -+ WithPackages="$WithPackages${WithPackagesSep}Xerces"; WithPackagesSep=" "
35418 -
35419 - cat >>confdefs.h <<\_ACEOF
35420 --#define HAVE_LIBSABLOT 1
35421 -+#define HAVE_XERCES 1
35422 - _ACEOF
35423 -
35424 -- fi
35425 --
35426 --
35427 --
35428 --test -d SunWS_cache && rm -r SunWS_cache
35429 --if test -f "${SABLOT_PATH}/lib${bit64_sfx}/libsablot-static.a"; then
35430 -- SABLOT_STATIC_LIBS="-L${SABLOT_PATH}/lib${bit64_sfx} -lsablot-static $EXPAT_STATIC_LIBS"
35431 - else
35432 -- SABLOT_STATIC_LIBS=${SABLOT_LIBS}
35433 -+ XERCES_INCLUDE=
35434 -+ XERCES_LIBS=
35435 -+ XERCES_STATIC_LIBS=
35436 - fi
35437 -
35438 --: ${LIBXML_PATH=$NCBI/libxml}
35439 --# test -d "$LIBXML_PATH" || LIBXML_PATH=`xml2-config --prefix 2>/dev/null`
35440 --if test "$with_libxml" != "no"; then
35441 -- case "$with_libxml" in
35442 -- yes | "" ) ;;
35443 -- * ) LIBXML_PATH=$with_libxml ;;
35444 -- esac
35445 -- for pfx in "$compiler_vpfx" "$compiler_pfx" "" ; do
35446 -- vpath=$LIBXML_PATH/$pfx${DEBUG_SFX}${mt_sfx}${bit64_sfx}
35447 -- if test -d "$vpath" ; then
35448 -- LIBXML_PATH=$vpath
35449 -- break
35450 -+if test "$with_xalan" != no; then
35451 -+ if test "${with_xalan-yes}" != yes; then
35452 -+ XALAN_PATH=$with_xalan
35453 - fi
35454 -- done
35455 -- if test -d "$LIBXML_PATH"; then
35456 -- ncbi_fix_dir_tmp=`if cd $LIBXML_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
35457 -+ if test -d "$XALAN_PATH"; then
35458 -+ ncbi_fix_dir_tmp=`if cd $XALAN_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
35459 - case "$ncbi_fix_dir_tmp" in
35460 -- /.*) ncbi_fix_dir_tmp2=`cd $LIBXML_PATH && $smart_pwd 2>/dev/null`
35461 -+ /.*) ncbi_fix_dir_tmp2=`cd $XALAN_PATH && $smart_pwd 2>/dev/null`
35462 - if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
35463 -- LIBXML_PATH=$ncbi_fix_dir_tmp2
35464 -+ XALAN_PATH=$ncbi_fix_dir_tmp2
35465 - else
35466 -- case "$LIBXML_PATH" in
35467 -+ case "$XALAN_PATH" in
35468 - /*) ;;
35469 -- * ) LIBXML_PATH=$ncbi_fix_dir_tmp ;;
35470 -+ * ) XALAN_PATH=$ncbi_fix_dir_tmp ;;
35471 - esac
35472 - fi
35473 - ;;
35474 -- /*) LIBXML_PATH=$ncbi_fix_dir_tmp ;;
35475 -+ /*) XALAN_PATH=$ncbi_fix_dir_tmp ;;
35476 - esac
35477 -- in_path=" in $LIBXML_PATH"
35478 -- if test -n "$LIBXML_INCLUDE"; then
35479 -- :
35480 -- elif test -d "$LIBXML_PATH/include/libxml2/libxml"; then
35481 -- LIBXML_INCLUDE="-I$LIBXML_PATH/include/libxml2 -I$LIBXML_PATH/include"
35482 -- elif test -d "$LIBXML_PATH/include/libxml"; then
35483 -- LIBXML_INCLUDE="-I$LIBXML_PATH/include";
35484 -- fi
35485 -- if test -d "$LIBXML_PATH/lib${bit64_sfx}"; then
35486 -- LIBXML_LIBPATH_="$LIBXML_PATH/lib${bit64_sfx}"
35487 -- elif test -d "$LIBXML_PATH/lib"; then
35488 -- LIBXML_LIBPATH_="$LIBXML_PATH/lib"
35489 - fi
35490 -- if test -z "${LIBXML_LIBPATH+set}"; then
35491 -- ncbi_rp_L_flags=
35492 -- ncbi_rp_L_sep=$CONF_f_libpath
35493 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
35494 -- for x in $LIBXML_LIBPATH_; do
35495 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
35496 -- ncbi_rp_L_sep=" $CONF_f_libpath"
35497 -- done
35498 -- LIBXML_LIBPATH="${ncbi_rp_L_flags}"
35499 -+ vpath="$XALAN_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}"
35500 -+ if test -d "$vpath/lib"; then
35501 -+ XALAN_PATH=$vpath
35502 -+ ncbi_fix_dir_tmp=`if cd $XALAN_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
35503 -+ case "$ncbi_fix_dir_tmp" in
35504 -+ /.*) ncbi_fix_dir_tmp2=`cd $XALAN_PATH && $smart_pwd 2>/dev/null`
35505 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
35506 -+ XALAN_PATH=$ncbi_fix_dir_tmp2
35507 - else
35508 -- ncbi_rp_R_flags=
35509 -- ncbi_rp_R_sep=" $CONF_f_runpath"
35510 -- for x in $LIBXML_LIBPATH_; do
35511 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
35512 -- ncbi_rp_L_sep=" $CONF_f_libpath"
35513 -- x=`echo $x | sed -e "$ncbi_rpath_sed"`
35514 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
35515 -- ncbi_rp_R_sep=:
35516 -- done
35517 -- LIBXML_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
35518 -- fi
35519 -+ case "$XALAN_PATH" in
35520 -+ /*) ;;
35521 -+ * ) XALAN_PATH=$ncbi_fix_dir_tmp ;;
35522 -+ esac
35523 - fi
35524 -- LIBXML_LIBS="$LIBXML_LIBPATH -lxml2"
35525 -+ ;;
35526 -+ /*) XALAN_PATH=$ncbi_fix_dir_tmp ;;
35527 -+ esac
35528 -+ elif test -d "$vpath"; then
35529 -+ : ${XALAN_LIBPATH=$vpath}
35530 -+ ncbi_fix_dir_tmp=`if cd $XALAN_LIBPATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
35531 -+ case "$ncbi_fix_dir_tmp" in
35532 -+ /.*) ncbi_fix_dir_tmp2=`cd $XALAN_LIBPATH && $smart_pwd 2>/dev/null`
35533 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
35534 -+ XALAN_LIBPATH=$ncbi_fix_dir_tmp2
35535 - else
35536 -- LIBXML_INCLUDE="-I/usr/include/libxml2"
35537 -- LIBXML_LIBS="-lxml2"
35538 -- in_path=
35539 -+ case "$XALAN_LIBPATH" in
35540 -+ /*) ;;
35541 -+ * ) XALAN_LIBPATH=$ncbi_fix_dir_tmp ;;
35542 -+ esac
35543 - fi
35544 -- LIBXML_LIBS="$LIBXML_LIBS $ICONV_LIBS"
35545 -- echo "$as_me:$LINENO: checking for libxml2$in_path" >&5
35546 --echo $ECHO_N "checking for libxml2$in_path... $ECHO_C" >&6
35547 --if test "${ncbi_cv_lib_libxml+set}" = set; then
35548 -- echo $ECHO_N "(cached) $ECHO_C" >&6
35549 --else
35550 -- CPPFLAGS="$LIBXML_INCLUDE $orig_CPPFLAGS"
35551 -- LIBS="$LIBXML_LIBS $orig_LIBS"
35552 -- cat >conftest.$ac_ext <<_ACEOF
35553 --/* confdefs.h. */
35554 --_ACEOF
35555 --cat confdefs.h >>conftest.$ac_ext
35556 --cat >>conftest.$ac_ext <<_ACEOF
35557 --/* end confdefs.h. */
35558 --#include <libxml/parser.h>
35559 --int
35560 --main ()
35561 --{
35562 --xmlDocPtr doc = xmlParseFile("foo.xml");
35563 -- ;
35564 -- return 0;
35565 --}
35566 --_ACEOF
35567 --rm -f conftest.$ac_objext conftest$ac_exeext
35568 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35569 -- (eval $ac_link) 2>conftest.er1
35570 -- ac_status=$?
35571 -- grep -v '^ *+' conftest.er1 >conftest.err
35572 -- rm -f conftest.er1
35573 -- cat conftest.err >&5
35574 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
35575 -- (exit $ac_status); } &&
35576 -- { ac_try='test -z "$ac_cxx_werror_flag"
35577 -- || test ! -s conftest.err'
35578 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35579 -- (eval $ac_try) 2>&5
35580 -- ac_status=$?
35581 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
35582 -- (exit $ac_status); }; } &&
35583 -- { ac_try='test -s conftest$ac_exeext'
35584 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35585 -- (eval $ac_try) 2>&5
35586 -- ac_status=$?
35587 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
35588 -- (exit $ac_status); }; }; then
35589 -- ncbi_cv_lib_libxml=yes
35590 -+ ;;
35591 -+ /*) XALAN_LIBPATH=$ncbi_fix_dir_tmp ;;
35592 -+ esac
35593 - else
35594 -- echo "$as_me: failed program was:" >&5
35595 --sed 's/^/| /' conftest.$ac_ext >&5
35596 --
35597 --ncbi_cv_lib_libxml=no
35598 --fi
35599 --rm -f conftest.err conftest.$ac_objext \
35600 -- conftest$ac_exeext conftest.$ac_ext
35601 --fi
35602 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_libxml" >&5
35603 --echo "${ECHO_T}$ncbi_cv_lib_libxml" >&6
35604 -- if test "$ncbi_cv_lib_libxml" = "no"; then
35605 -- if test "${with_libxml:=no}" != no; then
35606 -- { { echo "$as_me:$LINENO: error: --with-libxml explicitly specified, but no usable version found." >&5
35607 --echo "$as_me: error: --with-libxml explicitly specified, but no usable version found." >&2;}
35608 -- { (exit 1); exit 1; }; }
35609 -- fi
35610 -- fi
35611 --fi
35612 --if test "$with_libxml" = "no"; then
35613 -- LIBXML_PATH="No_LIBXML"
35614 -- LIBXML_INCLUDE=
35615 -- LIBXML_LIBPATH_=
35616 -- LIBXML_LIBS=
35617 -+ vpath="$XALAN_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}"
35618 -+ if test -d "$vpath/lib"; then
35619 -+ XALAN_PATH=$vpath
35620 -+ ncbi_fix_dir_tmp=`if cd $XALAN_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
35621 -+ case "$ncbi_fix_dir_tmp" in
35622 -+ /.*) ncbi_fix_dir_tmp2=`cd $XALAN_PATH && $smart_pwd 2>/dev/null`
35623 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
35624 -+ XALAN_PATH=$ncbi_fix_dir_tmp2
35625 - else
35626 -- WithPackages="$WithPackages${WithPackagesSep}LIBXML"; WithPackagesSep=" "
35627 -- LIBXML_INCLUDE="$LIBXML_INCLUDE"
35628 --
35629 --cat >>confdefs.h <<\_ACEOF
35630 --#define HAVE_LIBXML 1
35631 --_ACEOF
35632 --
35633 -+ case "$XALAN_PATH" in
35634 -+ /*) ;;
35635 -+ * ) XALAN_PATH=$ncbi_fix_dir_tmp ;;
35636 -+ esac
35637 - fi
35638 --
35639 --
35640 --
35641 --if test -f "${LIBXML_LIBPATH_}/libxml2-static.a"; then
35642 -- LIBXML_STATIC_LIBS="-L${LIBXML_LIBPATH_} -lxml2-static"
35643 -+ ;;
35644 -+ /*) XALAN_PATH=$ncbi_fix_dir_tmp ;;
35645 -+ esac
35646 -+ elif test -d "$vpath"; then
35647 -+ XALAN_LIBPATH=$vpath
35648 -+ ncbi_fix_dir_tmp=`if cd $XALAN_LIBPATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
35649 -+ case "$ncbi_fix_dir_tmp" in
35650 -+ /.*) ncbi_fix_dir_tmp2=`cd $XALAN_LIBPATH && $smart_pwd 2>/dev/null`
35651 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
35652 -+ XALAN_LIBPATH=$ncbi_fix_dir_tmp2
35653 - else
35654 -- LIBXML_STATIC_LIBS=${LIBXML_LIBS}
35655 -+ case "$XALAN_LIBPATH" in
35656 -+ /*) ;;
35657 -+ * ) XALAN_LIBPATH=$ncbi_fix_dir_tmp ;;
35658 -+ esac
35659 - fi
35660 --
35661 --: ${LIBXSLT_PATH=$LIBXML_PATH}
35662 --if test "$with_libxslt" != "no"; then
35663 -- case "$with_libxslt" in
35664 -- yes | "" ) ;;
35665 -- * ) LIBXSLT_PATH=$with_libxslt ;;
35666 -+ ;;
35667 -+ /*) XALAN_LIBPATH=$ncbi_fix_dir_tmp ;;
35668 - esac
35669 -- if test -d "$LIBXSLT_PATH"; then
35670 -- in_path=" in $LIBXSLT_PATH"
35671 -- if test -z "$LIBXSLT_INCLUDE" -a -d "$LIBXSLT_PATH/include"; then
35672 -- LIBXSLT_INCLUDE="-I$LIBXSLT_PATH/include"
35673 - fi
35674 -- if test -n "$LIBXSLT_LIBPATH"; then
35675 -- :
35676 -- elif test -d "$LIBXSLT_PATH/lib${bit64_sfx}"; then
35677 -- ncbi_rp_L_flags=
35678 -- ncbi_rp_L_sep=$CONF_f_libpath
35679 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
35680 -- for x in $LIBXSLT_PATH/lib${bit64_sfx}; do
35681 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
35682 -- ncbi_rp_L_sep=" $CONF_f_libpath"
35683 -- done
35684 -- LIBXSLT_LIBPATH="${ncbi_rp_L_flags}"
35685 -+ fi
35686 -+ if test -d "$XALAN_PATH"; then
35687 -+ in_path=" in $XALAN_PATH"
35688 -+ : ${XALAN_INCLUDE=-I$XALAN_PATH/include}
35689 -+ : ${XALAN_LIBPATH=$XALAN_PATH/lib}
35690 - else
35691 -- ncbi_rp_R_flags=
35692 -- ncbi_rp_R_sep=" $CONF_f_runpath"
35693 -- for x in $LIBXSLT_PATH/lib${bit64_sfx}; do
35694 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
35695 -- ncbi_rp_L_sep=" $CONF_f_libpath"
35696 -- x=`echo $x | sed -e "$ncbi_rpath_sed"`
35697 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
35698 -- ncbi_rp_R_sep=:
35699 -- done
35700 -- LIBXSLT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
35701 -+ in_path=''
35702 - fi
35703 -- elif test -d "$LIBXSLT_PATH/lib"; then
35704 - ncbi_rp_L_flags=
35705 - ncbi_rp_L_sep=$CONF_f_libpath
35706 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
35707 -- for x in $LIBXSLT_PATH/lib; do
35708 -+ for x in $XALAN_LIBPATH; do
35709 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
35710 - ncbi_rp_L_sep=" $CONF_f_libpath"
35711 - done
35712 -- LIBXSLT_LIBPATH="${ncbi_rp_L_flags}"
35713 -+ XALAN_LIBPATH_="${ncbi_rp_L_flags}"
35714 - else
35715 - ncbi_rp_R_flags=
35716 - ncbi_rp_R_sep=" $CONF_f_runpath"
35717 -- for x in $LIBXSLT_PATH/lib; do
35718 -+ for x in $XALAN_LIBPATH; do
35719 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
35720 - ncbi_rp_L_sep=" $CONF_f_libpath"
35721 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
35722 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
35723 - ncbi_rp_R_sep=:
35724 - done
35725 -- LIBXSLT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
35726 -- fi
35727 -- fi
35728 -- LIBXSLT_LIBS="$LIBXSLT_LIBPATH -lxslt "
35729 -- else
35730 -- LIBXSLT_INCLUDE=""
35731 -- LIBXSLT_LIBS="-lxslt "
35732 -- in_path=
35733 -+ XALAN_LIBPATH_="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
35734 - fi
35735 -- echo "$as_me:$LINENO: checking for libxslt$in_path" >&5
35736 --echo $ECHO_N "checking for libxslt$in_path... $ECHO_C" >&6
35737 --if test "${ncbi_cv_lib_libxslt+set}" = set; then
35738 -+ XALAN_LIBS="$XALAN_LIBPATH_ -lxalan-c -lxalanMsg"
35739 -+ { echo "$as_me:$LINENO: checking for Xalan-C++$in_path" >&5
35740 -+echo $ECHO_N "checking for Xalan-C++$in_path... $ECHO_C" >&6; }
35741 -+if test "${ncbi_cv_lib_xalan_c+set}" = set; then
35742 - echo $ECHO_N "(cached) $ECHO_C" >&6
35743 - else
35744 -- CPPFLAGS="$LIBXML_INCLUDE $LIBXSLT_INCLUDE $orig_CPPFLAGS"
35745 -- LIBS="$LIBXSLT_LIBS $LIBXML_LIBS $Z_LIBS $orig_LIBS"
35746 -+ CPPFLAGS="$XALAN_INCLUDE $XERCES_INCLUDE $orig_CPPFLAGS"
35747 -+ LIBS="$XALAN_LIBS $XERCES_LIBS $ICU_LIBS $orig_LIBS"
35748 - cat >conftest.$ac_ext <<_ACEOF
35749 - /* confdefs.h. */
35750 - _ACEOF
35751 - cat confdefs.h >>conftest.$ac_ext
35752 - cat >>conftest.$ac_ext <<_ACEOF
35753 - /* end confdefs.h. */
35754 --#include <libxslt/xslt.h>
35755 -+#include <xalanc/XalanTransformer/XalanTransformer.hpp>
35756 - int
35757 - main ()
35758 - {
35759 --xsltInit()
35760 -+xalanc::XalanTransformer::initialize();
35761 - ;
35762 - return 0;
35763 - }
35764 - _ACEOF
35765 - rm -f conftest.$ac_objext conftest$ac_exeext
35766 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35767 -- (eval $ac_link) 2>conftest.er1
35768 -+if { (ac_try="$ac_link"
35769 -+case "(($ac_try" in
35770 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35771 -+ *) ac_try_echo=$ac_try;;
35772 -+esac
35773 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35774 -+ (eval "$ac_link") 2>conftest.er1
35775 - ac_status=$?
35776 - grep -v '^ *+' conftest.er1 >conftest.err
35777 - rm -f conftest.er1
35778 - cat conftest.err >&5
35779 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35780 - (exit $ac_status); } &&
35781 -- { ac_try='test -z "$ac_cxx_werror_flag"
35782 -- || test ! -s conftest.err'
35783 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35784 -- (eval $ac_try) 2>&5
35785 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35786 -+ { (case "(($ac_try" in
35787 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35788 -+ *) ac_try_echo=$ac_try;;
35789 -+esac
35790 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35791 -+ (eval "$ac_try") 2>&5
35792 - ac_status=$?
35793 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35794 - (exit $ac_status); }; } &&
35795 - { ac_try='test -s conftest$ac_exeext'
35796 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35797 -- (eval $ac_try) 2>&5
35798 -+ { (case "(($ac_try" in
35799 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35800 -+ *) ac_try_echo=$ac_try;;
35801 -+esac
35802 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35803 -+ (eval "$ac_try") 2>&5
35804 - ac_status=$?
35805 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
35806 - (exit $ac_status); }; }; then
35807 -- ncbi_cv_lib_libxslt=yes
35808 -+ ncbi_cv_lib_xalan_c=yes
35809 - else
35810 - echo "$as_me: failed program was:" >&5
35811 - sed 's/^/| /' conftest.$ac_ext >&5
35812 -
35813 --ncbi_cv_lib_libxslt=no
35814 -+ ncbi_cv_lib_xalan_c=no
35815 - fi
35816 --rm -f conftest.err conftest.$ac_objext \
35817 -+
35818 -+rm -f core conftest.err conftest.$ac_objext \
35819 - conftest$ac_exeext conftest.$ac_ext
35820 - fi
35821 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_libxslt" >&5
35822 --echo "${ECHO_T}$ncbi_cv_lib_libxslt" >&6
35823 -- if test "$ncbi_cv_lib_libxslt" = "no"; then
35824 -- if test "${with_libxslt:=no}" != no; then
35825 -- { { echo "$as_me:$LINENO: error: --with-libxslt explicitly specified, but no usable version found." >&5
35826 --echo "$as_me: error: --with-libxslt explicitly specified, but no usable version found." >&2;}
35827 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_xalan_c" >&5
35828 -+echo "${ECHO_T}$ncbi_cv_lib_xalan_c" >&6; }
35829 -+ if test $ncbi_cv_lib_xalan_c = yes; then
35830 -+ if test -f "$XALAN_LIBPATH/libxalan-c-static.a"; then
35831 -+ XALAN_STATIC_LIBS="-L$XALAN_LIBPATH -lxalan-c-static -lxalanMsg-static"
35832 -+ else
35833 -+ XALAN_STATIC_LIBS=$XALAN_LIBS
35834 -+ fi
35835 -+ else
35836 -+ if test "${with_xalan:=no}" != no; then
35837 -+ { { echo "$as_me:$LINENO: error: --with-xalan explicitly specified, but no usable version found." >&5
35838 -+echo "$as_me: error: --with-xalan explicitly specified, but no usable version found." >&2;}
35839 - { (exit 1); exit 1; }; }
35840 - fi
35841 - fi
35842 - fi
35843 -- if test "$with_libxslt" = "no"; then
35844 -- LIBXSLT_PATH="No_LIBXSLT"
35845 -- LIBXSLT_INCLUDE=
35846 -- LIBXSLT_LIBS=
35847 -- else
35848 -- WithPackages="$WithPackages${WithPackagesSep}LIBXSLT"; WithPackagesSep=" "
35849 -- LIBXSLT_INCLUDE="$LIBXML_INCLUDE $LIBXSLT_INCLUDE"
35850 -+if test "$with_xalan" != no; then
35851 -+ WithPackages="$WithPackages${WithPackagesSep}Xalan"; WithPackagesSep=" "
35852 -
35853 - cat >>confdefs.h <<\_ACEOF
35854 --#define HAVE_LIBXSLT 1
35855 -+#define HAVE_XALAN 1
35856 - _ACEOF
35857 -
35858 -+else
35859 -+ XALAN_INCLUDE=
35860 -+ XALAN_LIBS=
35861 -+ XALAN_STATIC_LIBS=
35862 - fi
35863 -
35864 -+test -d SunWS_cache && rm -r SunWS_cache
35865 -
35866 --
35867 --
35868 --# XXX - they might be in different directories in some setups
35869 --if test -f "${LIBXML_LIBPATH_}/libxslt-static.a"; then
35870 -- LIBXSLT_STATIC_LIBS="-L${LIBXML_LIBPATH_} -lxslt-static"
35871 -+if test "$with_zorba" != no; then
35872 -+ if test "${with_zorba-yes}" != yes; then
35873 -+ ZORBA_PATH=$with_zorba
35874 -+ fi
35875 -+ if test -d "$ZORBA_PATH"; then
35876 -+ ncbi_fix_dir_tmp=`if cd $ZORBA_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
35877 -+ case "$ncbi_fix_dir_tmp" in
35878 -+ /.*) ncbi_fix_dir_tmp2=`cd $ZORBA_PATH && $smart_pwd 2>/dev/null`
35879 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
35880 -+ ZORBA_PATH=$ncbi_fix_dir_tmp2
35881 - else
35882 -- LIBXSLT_STATIC_LIBS=${LIBXSLT_LIBS}
35883 -+ case "$ZORBA_PATH" in
35884 -+ /*) ;;
35885 -+ * ) ZORBA_PATH=$ncbi_fix_dir_tmp ;;
35886 -+ esac
35887 - fi
35888 --
35889 --# Extract the first word of "xsltproc", so it can be a program name with args.
35890 --set dummy xsltproc; ac_word=$2
35891 --echo "$as_me:$LINENO: checking for $ac_word" >&5
35892 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35893 --if test "${ac_cv_path_XSLTPROC+set}" = set; then
35894 -- echo $ECHO_N "(cached) $ECHO_C" >&6
35895 -+ ;;
35896 -+ /*) ZORBA_PATH=$ncbi_fix_dir_tmp ;;
35897 -+ esac
35898 -+ fi
35899 -+ vpath="$ZORBA_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}"
35900 -+ if test -d "$vpath/lib"; then
35901 -+ ZORBA_PATH=$vpath
35902 -+ ncbi_fix_dir_tmp=`if cd $ZORBA_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
35903 -+ case "$ncbi_fix_dir_tmp" in
35904 -+ /.*) ncbi_fix_dir_tmp2=`cd $ZORBA_PATH && $smart_pwd 2>/dev/null`
35905 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
35906 -+ ZORBA_PATH=$ncbi_fix_dir_tmp2
35907 - else
35908 -- case $XSLTPROC in
35909 -- [\\/]* | ?:[\\/]*)
35910 -- ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
35911 -+ case "$ZORBA_PATH" in
35912 -+ /*) ;;
35913 -+ * ) ZORBA_PATH=$ncbi_fix_dir_tmp ;;
35914 -+ esac
35915 -+ fi
35916 - ;;
35917 -- *)
35918 -- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35919 --as_dummy="$LIBXSLT_PATH/bin:`dirname $LIBXML_LIBPATH_ 2>/dev/null`/bin:$PATH"
35920 --for as_dir in $as_dummy
35921 --do
35922 -- IFS=$as_save_IFS
35923 -- test -z "$as_dir" && as_dir=.
35924 -- for ac_exec_ext in '' $ac_executable_extensions; do
35925 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35926 -- ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
35927 -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35928 -- break 2
35929 -+ /*) ZORBA_PATH=$ncbi_fix_dir_tmp ;;
35930 -+ esac
35931 -+ elif test -d "$vpath"; then
35932 -+ : ${ZORBA_LIBPATH=$vpath}
35933 -+ ncbi_fix_dir_tmp=`if cd $ZORBA_LIBPATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
35934 -+ case "$ncbi_fix_dir_tmp" in
35935 -+ /.*) ncbi_fix_dir_tmp2=`cd $ZORBA_LIBPATH && $smart_pwd 2>/dev/null`
35936 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
35937 -+ ZORBA_LIBPATH=$ncbi_fix_dir_tmp2
35938 -+ else
35939 -+ case "$ZORBA_LIBPATH" in
35940 -+ /*) ;;
35941 -+ * ) ZORBA_LIBPATH=$ncbi_fix_dir_tmp ;;
35942 -+ esac
35943 - fi
35944 --done
35945 --done
35946 --
35947 -- test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC=":"
35948 - ;;
35949 -+ /*) ZORBA_LIBPATH=$ncbi_fix_dir_tmp ;;
35950 -+ esac
35951 -+ else
35952 -+ vpath="$ZORBA_PATH/${compiler_pfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}"
35953 -+ if test -d "$vpath/lib"; then
35954 -+ ZORBA_PATH=$vpath
35955 -+ ncbi_fix_dir_tmp=`if cd $ZORBA_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
35956 -+ case "$ncbi_fix_dir_tmp" in
35957 -+ /.*) ncbi_fix_dir_tmp2=`cd $ZORBA_PATH && $smart_pwd 2>/dev/null`
35958 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
35959 -+ ZORBA_PATH=$ncbi_fix_dir_tmp2
35960 -+ else
35961 -+ case "$ZORBA_PATH" in
35962 -+ /*) ;;
35963 -+ * ) ZORBA_PATH=$ncbi_fix_dir_tmp ;;
35964 - esac
35965 - fi
35966 --XSLTPROC=$ac_cv_path_XSLTPROC
35967 --
35968 --if test -n "$XSLTPROC"; then
35969 -- echo "$as_me:$LINENO: result: $XSLTPROC" >&5
35970 --echo "${ECHO_T}$XSLTPROC" >&6
35971 -+ ;;
35972 -+ /*) ZORBA_PATH=$ncbi_fix_dir_tmp ;;
35973 -+ esac
35974 -+ elif test -d "$vpath"; then
35975 -+ ZORBA_LIBPATH=$vpath
35976 -+ ncbi_fix_dir_tmp=`if cd $ZORBA_LIBPATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
35977 -+ case "$ncbi_fix_dir_tmp" in
35978 -+ /.*) ncbi_fix_dir_tmp2=`cd $ZORBA_LIBPATH && $smart_pwd 2>/dev/null`
35979 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
35980 -+ ZORBA_LIBPATH=$ncbi_fix_dir_tmp2
35981 - else
35982 -- echo "$as_me:$LINENO: result: no" >&5
35983 --echo "${ECHO_T}no" >&6
35984 -+ case "$ZORBA_LIBPATH" in
35985 -+ /*) ;;
35986 -+ * ) ZORBA_LIBPATH=$ncbi_fix_dir_tmp ;;
35987 -+ esac
35988 - fi
35989 --
35990 --
35991 --: ${LIBEXSLT_PATH=$LIBXSLT_PATH}
35992 --if test "$with_libexslt" != "no"; then
35993 -- case "$with_libexslt" in
35994 -- yes | "" ) ;;
35995 -- * ) LIBEXSLT_PATH=$with_libexslt ;;
35996 -+ ;;
35997 -+ /*) ZORBA_LIBPATH=$ncbi_fix_dir_tmp ;;
35998 - esac
35999 -- if test -d "$LIBEXSLT_PATH"; then
36000 -- in_path=" in $LIBEXSLT_PATH"
36001 -- if test -z "$LIBEXSLT_INCLUDE" -a -d "$LIBEXSLT_PATH/include"; then
36002 -- LIBEXSLT_INCLUDE="-I$LIBEXSLT_PATH/include"
36003 - fi
36004 -- if test -n "$LIBEXSLT_LIBPATH"; then
36005 -- :
36006 -- elif test -d "$LIBEXSLT_PATH/lib${bit64_sfx}"; then
36007 -- ncbi_rp_L_flags=
36008 -- ncbi_rp_L_sep=$CONF_f_libpath
36009 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
36010 -- for x in $LIBEXSLT_PATH/lib${bit64_sfx}; do
36011 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36012 -- ncbi_rp_L_sep=" $CONF_f_libpath"
36013 -- done
36014 -- LIBEXSLT_LIBPATH="${ncbi_rp_L_flags}"
36015 -+ fi
36016 -+ ZORBA_CONFIG="$ZORBA_PATH/bin/zorba-config"
36017 -+ if test -x "$ZORBA_CONFIG"; then
36018 -+ ZORBA_PATH=`$ZORBA_CONFIG --prefix`
36019 -+ : ${ZORBA_INCLUDE=`$ZORBA_CONFIG --cppflags`}
36020 -+ fi
36021 -+ if test -d "$ZORBA_PATH"; then
36022 -+ in_path=" in $ZORBA_PATH"
36023 -+ : ${ZORBA_INCLUDE=-I$ZORBA_PATH/include}
36024 -+ : ${ZORBA_LIBPATH=$ZORBA_PATH/lib}
36025 - else
36026 -- ncbi_rp_R_flags=
36027 -- ncbi_rp_R_sep=" $CONF_f_runpath"
36028 -- for x in $LIBEXSLT_PATH/lib${bit64_sfx}; do
36029 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36030 -- ncbi_rp_L_sep=" $CONF_f_libpath"
36031 -- x=`echo $x | sed -e "$ncbi_rpath_sed"`
36032 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
36033 -- ncbi_rp_R_sep=:
36034 -- done
36035 -- LIBEXSLT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
36036 -+ in_path=''
36037 - fi
36038 -- elif test -d "$LIBEXSLT_PATH/lib"; then
36039 -+ if test -x "$ZORBA_CONFIG"; then
36040 -+ ZORBA_LIBS=`$ZORBA_CONFIG --libs`
36041 -+ else
36042 - ncbi_rp_L_flags=
36043 - ncbi_rp_L_sep=$CONF_f_libpath
36044 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
36045 -- for x in $LIBEXSLT_PATH/lib; do
36046 -+ for x in $ZORBA_LIBPATH; do
36047 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36048 - ncbi_rp_L_sep=" $CONF_f_libpath"
36049 - done
36050 -- LIBEXSLT_LIBPATH="${ncbi_rp_L_flags}"
36051 -+ ZORBA_LIBPATH_="${ncbi_rp_L_flags}"
36052 - else
36053 - ncbi_rp_R_flags=
36054 - ncbi_rp_R_sep=" $CONF_f_runpath"
36055 -- for x in $LIBEXSLT_PATH/lib; do
36056 -+ for x in $ZORBA_LIBPATH; do
36057 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36058 - ncbi_rp_L_sep=" $CONF_f_libpath"
36059 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
36060 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
36061 - ncbi_rp_R_sep=:
36062 - done
36063 -- LIBEXSLT_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
36064 -- fi
36065 -+ ZORBA_LIBPATH_="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
36066 - fi
36067 -- LIBEXSLT_LIBS="$LIBEXSLT_LIBPATH -lexslt "
36068 -- else
36069 -- LIBEXSLT_INCLUDE=""
36070 -- LIBEXSLT_LIBS="-lexslt "
36071 -- in_path=
36072 -+ ZORBA_LIBS="$ZORBA_LIBPATH_ -lzorba_simplestore"
36073 - fi
36074 -- echo "$as_me:$LINENO: checking for libexslt$in_path" >&5
36075 --echo $ECHO_N "checking for libexslt$in_path... $ECHO_C" >&6
36076 --if test "${ncbi_cv_lib_libexslt+set}" = set; then
36077 -+ { echo "$as_me:$LINENO: checking for Zorba$in_path" >&5
36078 -+echo $ECHO_N "checking for Zorba$in_path... $ECHO_C" >&6; }
36079 -+if test "${ncbi_cv_lib_zorba+set}" = set; then
36080 - echo $ECHO_N "(cached) $ECHO_C" >&6
36081 - else
36082 -- CPPFLAGS="$LIBXSLT_INCLUDE $LIBEXSLT_INCLUDE $orig_CPPFLAGS"
36083 -- LIBS="$LIBEXSLT_LIBS $LIBXSLT_LIBS $LIBXML_LIBS $Z_LIBS $orig_LIBS"
36084 -+ CPPFLAGS="$ZORBA_INCLUDE $orig_CPPFLAGS"
36085 -+ LIBS="$ZORBA_LIBS $orig_LIBS"
36086 - cat >conftest.$ac_ext <<_ACEOF
36087 - /* confdefs.h. */
36088 - _ACEOF
36089 - cat confdefs.h >>conftest.$ac_ext
36090 - cat >>conftest.$ac_ext <<_ACEOF
36091 - /* end confdefs.h. */
36092 --#include <libexslt/exslt.h>
36093 -+#include <zorba/zorba.h>
36094 - int
36095 - main ()
36096 - {
36097 --exsltRegisterAll()
36098 -+zorba::Version v = zorba::Zorba::version();
36099 - ;
36100 - return 0;
36101 - }
36102 - _ACEOF
36103 - rm -f conftest.$ac_objext conftest$ac_exeext
36104 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36105 -- (eval $ac_link) 2>conftest.er1
36106 -+if { (ac_try="$ac_link"
36107 -+case "(($ac_try" in
36108 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36109 -+ *) ac_try_echo=$ac_try;;
36110 -+esac
36111 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36112 -+ (eval "$ac_link") 2>conftest.er1
36113 - ac_status=$?
36114 - grep -v '^ *+' conftest.er1 >conftest.err
36115 - rm -f conftest.er1
36116 - cat conftest.err >&5
36117 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36118 - (exit $ac_status); } &&
36119 -- { ac_try='test -z "$ac_cxx_werror_flag"
36120 -- || test ! -s conftest.err'
36121 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36122 -- (eval $ac_try) 2>&5
36123 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36124 -+ { (case "(($ac_try" in
36125 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36126 -+ *) ac_try_echo=$ac_try;;
36127 -+esac
36128 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36129 -+ (eval "$ac_try") 2>&5
36130 - ac_status=$?
36131 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36132 - (exit $ac_status); }; } &&
36133 - { ac_try='test -s conftest$ac_exeext'
36134 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36135 -- (eval $ac_try) 2>&5
36136 -+ { (case "(($ac_try" in
36137 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36138 -+ *) ac_try_echo=$ac_try;;
36139 -+esac
36140 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36141 -+ (eval "$ac_try") 2>&5
36142 - ac_status=$?
36143 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36144 - (exit $ac_status); }; }; then
36145 -- ncbi_cv_lib_libexslt=yes
36146 -+ ncbi_cv_lib_zorba=yes
36147 - else
36148 - echo "$as_me: failed program was:" >&5
36149 - sed 's/^/| /' conftest.$ac_ext >&5
36150 -
36151 --ncbi_cv_lib_libexslt=no
36152 -+ ncbi_cv_lib_zorba=no
36153 - fi
36154 --rm -f conftest.err conftest.$ac_objext \
36155 -+
36156 -+rm -f core conftest.err conftest.$ac_objext \
36157 - conftest$ac_exeext conftest.$ac_ext
36158 - fi
36159 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_libexslt" >&5
36160 --echo "${ECHO_T}$ncbi_cv_lib_libexslt" >&6
36161 -- if test "$ncbi_cv_lib_libexslt" = "no"; then
36162 -- if test "${with_libexslt:=no}" != no; then
36163 -- { { echo "$as_me:$LINENO: error: --with-libexslt explicitly specified, but no usable version found." >&5
36164 --echo "$as_me: error: --with-libexslt explicitly specified, but no usable version found." >&2;}
36165 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_zorba" >&5
36166 -+echo "${ECHO_T}$ncbi_cv_lib_zorba" >&6; }
36167 -+ if test $ncbi_cv_lib_zorba = yes; then
36168 -+ if test -x "$ZORBA_CONFIG"; then
36169 -+ ZORBA_STATIC_LIBS=`$ZORBA_CONFIG --static-libs`
36170 -+ elif test -f "$ZORBA_LIBPATH/libzorba_simplestore-static.a"; then
36171 -+ ZORBA_STATIC_LIBS="-L$ZORBA_LIBPATH -lzorba_simplestore-static $XERCES_STATIC_LIBS $ICU_STATIC_LIBS $LIBXSLT_STATIC_LIBS $LIBXML_STATIC_LIBS"
36172 -+ else
36173 -+ ZORBA_STATIC_LIBS=$ZORBA_LIBS
36174 -+ fi
36175 -+ else
36176 -+ if test "${with_zorba:=no}" != no; then
36177 -+ { { echo "$as_me:$LINENO: error: --with-zorba explicitly specified, but no usable version found." >&5
36178 -+echo "$as_me: error: --with-zorba explicitly specified, but no usable version found." >&2;}
36179 - { (exit 1); exit 1; }; }
36180 - fi
36181 - fi
36182 - fi
36183 -- if test "$with_libexslt" = "no"; then
36184 -- LIBEXSLT_PATH="No_LIBEXSLT"
36185 -- LIBEXSLT_INCLUDE=
36186 -- LIBEXSLT_LIBS=
36187 -- else
36188 -- WithPackages="$WithPackages${WithPackagesSep}LIBEXSLT"; WithPackagesSep=" "
36189 -- LIBEXSLT_INCLUDE="$LIBXSLT_INCLUDE $LIBEXSLT_INCLUDE"
36190 -+if test "$with_zorba" != no; then
36191 -+ WithPackages="$WithPackages${WithPackagesSep}Zorba"; WithPackagesSep=" "
36192 -
36193 - cat >>confdefs.h <<\_ACEOF
36194 --#define HAVE_LIBEXSLT 1
36195 -+#define HAVE_ZORBA 1
36196 - _ACEOF
36197 -
36198 -- fi
36199 --
36200 --
36201 --
36202 --
36203 --# XXX - they might be in different directories in some setups
36204 --if test -f "${LIBXML_LIBPATH_}/libexslt-static.a"; then
36205 -- LIBEXSLT_STATIC_LIBS="-L${LIBXML_LIBPATH_} -lexslt-static"
36206 - else
36207 -- LIBEXSLT_STATIC_LIBS=${LIBEXSLT_LIBS}
36208 -+ ZORBA_INCLUDE=
36209 -+ ZORBA_LIBS=
36210 -+ ZORBA_STATIC_LIBS=
36211 - fi
36212 -
36213 --: ${XERCES_PATH=$NCBI/xerces}
36214 --if test "$with_xerces" != no; then
36215 -- if test "${with_xerces-yes}" != yes; then
36216 -- XERCES_PATH=$with_xerces
36217 -- fi
36218 -- if test -d "$XERCES_PATH"; then
36219 -- ncbi_fix_dir_tmp=`if cd $XERCES_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
36220 -- case "$ncbi_fix_dir_tmp" in
36221 -- /.*) ncbi_fix_dir_tmp2=`cd $XERCES_PATH && $smart_pwd 2>/dev/null`
36222 -- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
36223 -- XERCES_PATH=$ncbi_fix_dir_tmp2
36224 -- else
36225 -- case "$XERCES_PATH" in
36226 -- /*) ;;
36227 -- * ) XERCES_PATH=$ncbi_fix_dir_tmp ;;
36228 -- esac
36229 -- fi
36230 -- ;;
36231 -- /*) XERCES_PATH=$ncbi_fix_dir_tmp ;;
36232 -+### SQLite
36233 -+case "$with_sqlite3" in
36234 -+ yes | '' ) ;;
36235 -+ * ) SQLITE3_PATH=$with_sqlite3 ;;
36236 - esac
36237 -- fi
36238 -- vpath="$XERCES_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}"
36239 -- if test -d "$vpath/lib"; then
36240 -- XERCES_PATH=$vpath
36241 -- ncbi_fix_dir_tmp=`if cd $XERCES_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
36242 -+
36243 -+if test -d "$SQLITE3_PATH"; then
36244 -+ ncbi_fix_dir_tmp=`if cd $SQLITE3_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
36245 - case "$ncbi_fix_dir_tmp" in
36246 -- /.*) ncbi_fix_dir_tmp2=`cd $XERCES_PATH && $smart_pwd 2>/dev/null`
36247 -+ /.*) ncbi_fix_dir_tmp2=`cd $SQLITE3_PATH && $smart_pwd 2>/dev/null`
36248 - if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
36249 -- XERCES_PATH=$ncbi_fix_dir_tmp2
36250 -+ SQLITE3_PATH=$ncbi_fix_dir_tmp2
36251 - else
36252 -- case "$XERCES_PATH" in
36253 -+ case "$SQLITE3_PATH" in
36254 - /*) ;;
36255 -- * ) XERCES_PATH=$ncbi_fix_dir_tmp ;;
36256 -+ * ) SQLITE3_PATH=$ncbi_fix_dir_tmp ;;
36257 - esac
36258 - fi
36259 - ;;
36260 -- /*) XERCES_PATH=$ncbi_fix_dir_tmp ;;
36261 -- esac
36262 -- elif test -d "$vpath"; then
36263 -- : ${XERCES_LIBPATH=$vpath}
36264 -- ncbi_fix_dir_tmp=`if cd $XERCES_LIBPATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
36265 -- case "$ncbi_fix_dir_tmp" in
36266 -- /.*) ncbi_fix_dir_tmp2=`cd $XERCES_LIBPATH && $smart_pwd 2>/dev/null`
36267 -- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
36268 -- XERCES_LIBPATH=$ncbi_fix_dir_tmp2
36269 -- else
36270 -- case "$XERCES_LIBPATH" in
36271 -- /*) ;;
36272 -- * ) XERCES_LIBPATH=$ncbi_fix_dir_tmp ;;
36273 -+ /*) SQLITE3_PATH=$ncbi_fix_dir_tmp ;;
36274 - esac
36275 - fi
36276 -- ;;
36277 -- /*) XERCES_LIBPATH=$ncbi_fix_dir_tmp ;;
36278 -- esac
36279 -- else
36280 -- vpath="$XERCES_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}"
36281 -- if test -d "$vpath/lib"; then
36282 -- XERCES_PATH=$vpath
36283 -- ncbi_fix_dir_tmp=`if cd $XERCES_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
36284 -- case "$ncbi_fix_dir_tmp" in
36285 -- /.*) ncbi_fix_dir_tmp2=`cd $XERCES_PATH && $smart_pwd 2>/dev/null`
36286 -- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
36287 -- XERCES_PATH=$ncbi_fix_dir_tmp2
36288 -+if test -d "$SQLITE3_PATH/${compiler_pfx}${DEBUG_SFX}${MT_SFX}${bit64_sfx}/lib"; then
36289 -+ SQLITE3_LIBDIR=$SQLITE3_PATH/${compiler_pfx}${DEBUG_SFX}${MT_SFX}${bit64_sfx}/lib
36290 -+elif test -d $SQLITE3_PATH/lib${bit64_sfx}; then
36291 -+ SQLITE3_LIBDIR=$SQLITE3_PATH/lib${bit64_sfx}
36292 - else
36293 -- case "$XERCES_PATH" in
36294 -- /*) ;;
36295 -- * ) XERCES_PATH=$ncbi_fix_dir_tmp ;;
36296 -- esac
36297 -+ SQLITE3_LIBDIR=$SQLITE3_PATH/lib
36298 - fi
36299 -- ;;
36300 -- /*) XERCES_PATH=$ncbi_fix_dir_tmp ;;
36301 -- esac
36302 -- elif test -d "$vpath"; then
36303 -- XERCES_LIBPATH=$vpath
36304 -- ncbi_fix_dir_tmp=`if cd $XERCES_LIBPATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
36305 -- case "$ncbi_fix_dir_tmp" in
36306 -- /.*) ncbi_fix_dir_tmp2=`cd $XERCES_LIBPATH && $smart_pwd 2>/dev/null`
36307 -- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
36308 -- XERCES_LIBPATH=$ncbi_fix_dir_tmp2
36309 -+ncbi_rp_L_flags=
36310 -+ ncbi_rp_L_sep=$CONF_f_libpath
36311 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
36312 -+ for x in $SQLITE3_LIBDIR; do
36313 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36314 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
36315 -+ done
36316 -+ SQLITE3_LIBPATH="${ncbi_rp_L_flags}"
36317 - else
36318 -- case "$XERCES_LIBPATH" in
36319 -- /*) ;;
36320 -- * ) XERCES_LIBPATH=$ncbi_fix_dir_tmp ;;
36321 -- esac
36322 -+ ncbi_rp_R_flags=
36323 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
36324 -+ for x in $SQLITE3_LIBDIR; do
36325 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36326 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
36327 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
36328 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
36329 -+ ncbi_rp_R_sep=:
36330 -+ done
36331 -+ SQLITE3_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
36332 - fi
36333 -- ;;
36334 -- /*) XERCES_LIBPATH=$ncbi_fix_dir_tmp ;;
36335 -+if test "$with_sqlite3" != "no"; then
36336 -+ case "$with_sqlite3" in
36337 -+ yes | "" ) ;;
36338 -+ * ) SQLITE3_PATH=$with_sqlite3 ;;
36339 - esac
36340 -+ if test -d "$SQLITE3_PATH"; then
36341 -+ in_path=" in $SQLITE3_PATH"
36342 -+ if test -z "$SQLITE3_INCLUDE" -a -d "$SQLITE3_PATH/include"; then
36343 -+ SQLITE3_INCLUDE="-I$SQLITE3_PATH/include"
36344 - fi
36345 -- fi
36346 -- if test -d $XERCES_PATH; then
36347 -- in_path=" in $XERCES_PATH"
36348 -- : ${XERCES_INCLUDE=-I$XERCES_PATH/include}
36349 -- : ${XERCES_LIBPATH=$XERCES_PATH/lib}
36350 -+ if test -n "$SQLITE3_LIBPATH"; then
36351 -+ :
36352 -+ elif test -d "$SQLITE3_PATH/lib${bit64_sfx}"; then
36353 -+ ncbi_rp_L_flags=
36354 -+ ncbi_rp_L_sep=$CONF_f_libpath
36355 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
36356 -+ for x in $SQLITE3_PATH/lib${bit64_sfx}; do
36357 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36358 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
36359 -+ done
36360 -+ SQLITE3_LIBPATH="${ncbi_rp_L_flags}"
36361 - else
36362 -- in_path=''
36363 -+ ncbi_rp_R_flags=
36364 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
36365 -+ for x in $SQLITE3_PATH/lib${bit64_sfx}; do
36366 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36367 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
36368 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
36369 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
36370 -+ ncbi_rp_R_sep=:
36371 -+ done
36372 -+ SQLITE3_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
36373 - fi
36374 -+ elif test -d "$SQLITE3_PATH/lib"; then
36375 - ncbi_rp_L_flags=
36376 - ncbi_rp_L_sep=$CONF_f_libpath
36377 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
36378 -- for x in $XERCES_LIBPATH; do
36379 -+ for x in $SQLITE3_PATH/lib; do
36380 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36381 - ncbi_rp_L_sep=" $CONF_f_libpath"
36382 - done
36383 -- XERCES_LIBPATH_="${ncbi_rp_L_flags}"
36384 -+ SQLITE3_LIBPATH="${ncbi_rp_L_flags}"
36385 - else
36386 - ncbi_rp_R_flags=
36387 - ncbi_rp_R_sep=" $CONF_f_runpath"
36388 -- for x in $XERCES_LIBPATH; do
36389 -+ for x in $SQLITE3_PATH/lib; do
36390 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36391 - ncbi_rp_L_sep=" $CONF_f_libpath"
36392 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
36393 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
36394 - ncbi_rp_R_sep=:
36395 - done
36396 -- XERCES_LIBPATH_="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
36397 -+ SQLITE3_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
36398 - fi
36399 -- XERCES_LIBS="$XERCES_LIBPATH_ -lxerces-c"
36400 -- echo "$as_me:$LINENO: checking for Xerces-C++$in_path" >&5
36401 --echo $ECHO_N "checking for Xerces-C++$in_path... $ECHO_C" >&6
36402 --if test "${ncbi_cv_lib_xerces_c+set}" = set; then
36403 -+ fi
36404 -+ SQLITE3_LIBS="$SQLITE3_LIBPATH -lsqlite3 "
36405 -+ else
36406 -+ SQLITE3_INCLUDE=""
36407 -+ SQLITE3_LIBS="-lsqlite3 "
36408 -+ in_path=
36409 -+ fi
36410 -+ { echo "$as_me:$LINENO: checking for libsqlite3$in_path" >&5
36411 -+echo $ECHO_N "checking for libsqlite3$in_path... $ECHO_C" >&6; }
36412 -+if test "${ncbi_cv_lib_sqlite3+set}" = set; then
36413 - echo $ECHO_N "(cached) $ECHO_C" >&6
36414 - else
36415 -- CPPFLAGS="$XERCES_INCLUDE $orig_CPPFLAGS"
36416 -- LIBS="$XERCES_LIBS $ICU_LIBS $orig_LIBS"
36417 -+ CPPFLAGS=" $SQLITE3_INCLUDE $orig_CPPFLAGS"
36418 -+ LIBS="$SQLITE3_LIBS $orig_LIBS"
36419 - cat >conftest.$ac_ext <<_ACEOF
36420 - /* confdefs.h. */
36421 - _ACEOF
36422 - cat confdefs.h >>conftest.$ac_ext
36423 - cat >>conftest.$ac_ext <<_ACEOF
36424 - /* end confdefs.h. */
36425 --#include <xercesc/dom/DOM.hpp>
36426 -+#include <sqlite3.h>
36427 - int
36428 - main ()
36429 - {
36430 --xercesc::DOMImplementation* impl
36431 -- = xercesc::DOMImplementationRegistry::getDOMImplementation
36432 -- (xercesc::XMLString::transcode("XML 1.0"));
36433 -+sqlite3_pcache_methods m;
36434 -+ int status = sqlite3_config(SQLITE_CONFIG_GETPCACHE, &m);
36435 - ;
36436 - return 0;
36437 - }
36438 - _ACEOF
36439 - rm -f conftest.$ac_objext conftest$ac_exeext
36440 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36441 -- (eval $ac_link) 2>conftest.er1
36442 -+if { (ac_try="$ac_link"
36443 -+case "(($ac_try" in
36444 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36445 -+ *) ac_try_echo=$ac_try;;
36446 -+esac
36447 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36448 -+ (eval "$ac_link") 2>conftest.er1
36449 - ac_status=$?
36450 - grep -v '^ *+' conftest.er1 >conftest.err
36451 - rm -f conftest.er1
36452 - cat conftest.err >&5
36453 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36454 - (exit $ac_status); } &&
36455 -- { ac_try='test -z "$ac_cxx_werror_flag"
36456 -- || test ! -s conftest.err'
36457 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36458 -- (eval $ac_try) 2>&5
36459 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36460 -+ { (case "(($ac_try" in
36461 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36462 -+ *) ac_try_echo=$ac_try;;
36463 -+esac
36464 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36465 -+ (eval "$ac_try") 2>&5
36466 - ac_status=$?
36467 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36468 - (exit $ac_status); }; } &&
36469 - { ac_try='test -s conftest$ac_exeext'
36470 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36471 -- (eval $ac_try) 2>&5
36472 -+ { (case "(($ac_try" in
36473 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36474 -+ *) ac_try_echo=$ac_try;;
36475 -+esac
36476 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36477 -+ (eval "$ac_try") 2>&5
36478 - ac_status=$?
36479 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36480 - (exit $ac_status); }; }; then
36481 -- ncbi_cv_lib_xerces_c=yes
36482 -+ ncbi_cv_lib_sqlite3=yes
36483 - else
36484 - echo "$as_me: failed program was:" >&5
36485 - sed 's/^/| /' conftest.$ac_ext >&5
36486 -
36487 --ncbi_cv_lib_xerces_c=no
36488 -+ ncbi_cv_lib_sqlite3=no
36489 - fi
36490 --rm -f conftest.err conftest.$ac_objext \
36491 -+
36492 -+rm -f core conftest.err conftest.$ac_objext \
36493 - conftest$ac_exeext conftest.$ac_ext
36494 - fi
36495 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_xerces_c" >&5
36496 --echo "${ECHO_T}$ncbi_cv_lib_xerces_c" >&6
36497 -- if test $ncbi_cv_lib_xerces_c = yes; then
36498 -- if test -f "$XERCES_LIBPATH/libxerces-c-static.a"; then
36499 -- XERCES_STATIC_LIBS="-L$XERCES_LIBPATH -lxerces-c-static $CURL_LIBS"
36500 -- else
36501 -- XERCES_STATIC_LIBS=$XERCES_LIBS
36502 -- fi
36503 -- else
36504 -- if test "${with_xerces:=no}" != no; then
36505 -- { { echo "$as_me:$LINENO: error: --with-xerces explicitly specified, but no usable version found." >&5
36506 --echo "$as_me: error: --with-xerces explicitly specified, but no usable version found." >&2;}
36507 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_sqlite3" >&5
36508 -+echo "${ECHO_T}$ncbi_cv_lib_sqlite3" >&6; }
36509 -+ if test "$ncbi_cv_lib_sqlite3" = "no"; then
36510 -+ if test "${with_sqlite3:=no}" != no; then
36511 -+ { { echo "$as_me:$LINENO: error: --with-sqlite3 explicitly specified, but no usable version found." >&5
36512 -+echo "$as_me: error: --with-sqlite3 explicitly specified, but no usable version found." >&2;}
36513 - { (exit 1); exit 1; }; }
36514 - fi
36515 - fi
36516 - fi
36517 --if test "$with_xerces" != no; then
36518 -- WithPackages="$WithPackages${WithPackagesSep}Xerces"; WithPackagesSep=" "
36519 -+ if test "$with_sqlite3" = "no"; then
36520 -+ SQLITE3_PATH="No_SQLITE3"
36521 -+ SQLITE3_INCLUDE=
36522 -+ SQLITE3_LIBS=
36523 -+ else
36524 -+ WithPackages="$WithPackages${WithPackagesSep}SQLITE3"; WithPackagesSep=" "
36525 -+ SQLITE3_INCLUDE=" $SQLITE3_INCLUDE"
36526 -
36527 - cat >>confdefs.h <<\_ACEOF
36528 --#define HAVE_XERCES 1
36529 -+#define HAVE_LIBSQLITE3 1
36530 - _ACEOF
36531 -
36532 --else
36533 -- XERCES_INCLUDE=
36534 -- XERCES_LIBS=
36535 -- XERCES_STATIC_LIBS=
36536 - fi
36537 -
36538 --: ${XALAN_PATH=$NCBI/xalan}
36539 --if test "$with_xalan" != no; then
36540 -- if test "${with_xalan-yes}" != yes; then
36541 -- XALAN_PATH=$with_xalan
36542 -+
36543 -+
36544 -+if test -n "$SQLITE3_LIBS"; then
36545 -+ CPPFLAGS="$SQLITE3_INCLUDE $orig_CPPFLAGS"
36546 -+ if test "${ac_cv_header_sqlite3async_h+set}" = set; then
36547 -+ { echo "$as_me:$LINENO: checking for sqlite3async.h" >&5
36548 -+echo $ECHO_N "checking for sqlite3async.h... $ECHO_C" >&6; }
36549 -+if test "${ac_cv_header_sqlite3async_h+set}" = set; then
36550 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
36551 - fi
36552 -- if test -d "$XALAN_PATH"; then
36553 -- ncbi_fix_dir_tmp=`if cd $XALAN_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
36554 -- case "$ncbi_fix_dir_tmp" in
36555 -- /.*) ncbi_fix_dir_tmp2=`cd $XALAN_PATH && $smart_pwd 2>/dev/null`
36556 -- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
36557 -- XALAN_PATH=$ncbi_fix_dir_tmp2
36558 -+{ echo "$as_me:$LINENO: result: $ac_cv_header_sqlite3async_h" >&5
36559 -+echo "${ECHO_T}$ac_cv_header_sqlite3async_h" >&6; }
36560 - else
36561 -- case "$XALAN_PATH" in
36562 -- /*) ;;
36563 -- * ) XALAN_PATH=$ncbi_fix_dir_tmp ;;
36564 -- esac
36565 -- fi
36566 -- ;;
36567 -- /*) XALAN_PATH=$ncbi_fix_dir_tmp ;;
36568 -+ # Is the header compilable?
36569 -+{ echo "$as_me:$LINENO: checking sqlite3async.h usability" >&5
36570 -+echo $ECHO_N "checking sqlite3async.h usability... $ECHO_C" >&6; }
36571 -+cat >conftest.$ac_ext <<_ACEOF
36572 -+/* confdefs.h. */
36573 -+_ACEOF
36574 -+cat confdefs.h >>conftest.$ac_ext
36575 -+cat >>conftest.$ac_ext <<_ACEOF
36576 -+/* end confdefs.h. */
36577 -+$ac_includes_default
36578 -+#include <sqlite3async.h>
36579 -+_ACEOF
36580 -+rm -f conftest.$ac_objext
36581 -+if { (ac_try="$ac_compile"
36582 -+case "(($ac_try" in
36583 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36584 -+ *) ac_try_echo=$ac_try;;
36585 - esac
36586 -- fi
36587 -- vpath="$XALAN_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}"
36588 -- if test -d "$vpath/lib"; then
36589 -- XALAN_PATH=$vpath
36590 -- ncbi_fix_dir_tmp=`if cd $XALAN_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
36591 -- case "$ncbi_fix_dir_tmp" in
36592 -- /.*) ncbi_fix_dir_tmp2=`cd $XALAN_PATH && $smart_pwd 2>/dev/null`
36593 -- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
36594 -- XALAN_PATH=$ncbi_fix_dir_tmp2
36595 -- else
36596 -- case "$XALAN_PATH" in
36597 -- /*) ;;
36598 -- * ) XALAN_PATH=$ncbi_fix_dir_tmp ;;
36599 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36600 -+ (eval "$ac_compile") 2>conftest.er1
36601 -+ ac_status=$?
36602 -+ grep -v '^ *+' conftest.er1 >conftest.err
36603 -+ rm -f conftest.er1
36604 -+ cat conftest.err >&5
36605 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
36606 -+ (exit $ac_status); } &&
36607 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36608 -+ { (case "(($ac_try" in
36609 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36610 -+ *) ac_try_echo=$ac_try;;
36611 - esac
36612 -- fi
36613 -- ;;
36614 -- /*) XALAN_PATH=$ncbi_fix_dir_tmp ;;
36615 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36616 -+ (eval "$ac_try") 2>&5
36617 -+ ac_status=$?
36618 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
36619 -+ (exit $ac_status); }; } &&
36620 -+ { ac_try='test -s conftest.$ac_objext'
36621 -+ { (case "(($ac_try" in
36622 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36623 -+ *) ac_try_echo=$ac_try;;
36624 - esac
36625 -- elif test -d "$vpath"; then
36626 -- : ${XALAN_LIBPATH=$vpath}
36627 -- ncbi_fix_dir_tmp=`if cd $XALAN_LIBPATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
36628 -- case "$ncbi_fix_dir_tmp" in
36629 -- /.*) ncbi_fix_dir_tmp2=`cd $XALAN_LIBPATH && $smart_pwd 2>/dev/null`
36630 -- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
36631 -- XALAN_LIBPATH=$ncbi_fix_dir_tmp2
36632 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36633 -+ (eval "$ac_try") 2>&5
36634 -+ ac_status=$?
36635 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
36636 -+ (exit $ac_status); }; }; then
36637 -+ ac_header_compiler=yes
36638 - else
36639 -- case "$XALAN_LIBPATH" in
36640 -- /*) ;;
36641 -- * ) XALAN_LIBPATH=$ncbi_fix_dir_tmp ;;
36642 -- esac
36643 -+ echo "$as_me: failed program was:" >&5
36644 -+sed 's/^/| /' conftest.$ac_ext >&5
36645 -+
36646 -+ ac_header_compiler=no
36647 - fi
36648 -- ;;
36649 -- /*) XALAN_LIBPATH=$ncbi_fix_dir_tmp ;;
36650 -+
36651 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36652 -+{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
36653 -+echo "${ECHO_T}$ac_header_compiler" >&6; }
36654 -+
36655 -+# Is the header present?
36656 -+{ echo "$as_me:$LINENO: checking sqlite3async.h presence" >&5
36657 -+echo $ECHO_N "checking sqlite3async.h presence... $ECHO_C" >&6; }
36658 -+cat >conftest.$ac_ext <<_ACEOF
36659 -+/* confdefs.h. */
36660 -+_ACEOF
36661 -+cat confdefs.h >>conftest.$ac_ext
36662 -+cat >>conftest.$ac_ext <<_ACEOF
36663 -+/* end confdefs.h. */
36664 -+#include <sqlite3async.h>
36665 -+_ACEOF
36666 -+if { (ac_try="$ac_cpp conftest.$ac_ext"
36667 -+case "(($ac_try" in
36668 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36669 -+ *) ac_try_echo=$ac_try;;
36670 - esac
36671 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36672 -+ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
36673 -+ ac_status=$?
36674 -+ grep -v '^ *+' conftest.er1 >conftest.err
36675 -+ rm -f conftest.er1
36676 -+ cat conftest.err >&5
36677 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
36678 -+ (exit $ac_status); } >/dev/null; then
36679 -+ if test -s conftest.err; then
36680 -+ ac_cpp_err=$ac_cxx_preproc_warn_flag
36681 -+ ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
36682 - else
36683 -- vpath="$XALAN_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}${mt_sfx}"
36684 -- if test -d "$vpath/lib"; then
36685 -- XALAN_PATH=$vpath
36686 -- ncbi_fix_dir_tmp=`if cd $XALAN_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
36687 -- case "$ncbi_fix_dir_tmp" in
36688 -- /.*) ncbi_fix_dir_tmp2=`cd $XALAN_PATH && $smart_pwd 2>/dev/null`
36689 -- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
36690 -- XALAN_PATH=$ncbi_fix_dir_tmp2
36691 -- else
36692 -- case "$XALAN_PATH" in
36693 -- /*) ;;
36694 -- * ) XALAN_PATH=$ncbi_fix_dir_tmp ;;
36695 -- esac
36696 -+ ac_cpp_err=
36697 - fi
36698 -- ;;
36699 -- /*) XALAN_PATH=$ncbi_fix_dir_tmp ;;
36700 -- esac
36701 -- elif test -d "$vpath"; then
36702 -- XALAN_LIBPATH=$vpath
36703 -- ncbi_fix_dir_tmp=`if cd $XALAN_LIBPATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
36704 -- case "$ncbi_fix_dir_tmp" in
36705 -- /.*) ncbi_fix_dir_tmp2=`cd $XALAN_LIBPATH && $smart_pwd 2>/dev/null`
36706 -- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
36707 -- XALAN_LIBPATH=$ncbi_fix_dir_tmp2
36708 - else
36709 -- case "$XALAN_LIBPATH" in
36710 -- /*) ;;
36711 -- * ) XALAN_LIBPATH=$ncbi_fix_dir_tmp ;;
36712 -- esac
36713 -- fi
36714 -- ;;
36715 -- /*) XALAN_LIBPATH=$ncbi_fix_dir_tmp ;;
36716 -- esac
36717 -- fi
36718 -+ ac_cpp_err=yes
36719 - fi
36720 -- if test -d $XALAN_PATH; then
36721 -- in_path=" in $XALAN_PATH"
36722 -- : ${XALAN_INCLUDE=-I$XALAN_PATH/include}
36723 -- : ${XALAN_LIBPATH=$XALAN_PATH/lib}
36724 -+if test -z "$ac_cpp_err"; then
36725 -+ ac_header_preproc=yes
36726 - else
36727 -- in_path=''
36728 -+ echo "$as_me: failed program was:" >&5
36729 -+sed 's/^/| /' conftest.$ac_ext >&5
36730 -+
36731 -+ ac_header_preproc=no
36732 - fi
36733 -- ncbi_rp_L_flags=
36734 -- ncbi_rp_L_sep=$CONF_f_libpath
36735 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
36736 -- for x in $XALAN_LIBPATH; do
36737 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36738 -- ncbi_rp_L_sep=" $CONF_f_libpath"
36739 -- done
36740 -- XALAN_LIBPATH_="${ncbi_rp_L_flags}"
36741 -- else
36742 -- ncbi_rp_R_flags=
36743 -- ncbi_rp_R_sep=" $CONF_f_runpath"
36744 -- for x in $XALAN_LIBPATH; do
36745 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
36746 -- ncbi_rp_L_sep=" $CONF_f_libpath"
36747 -- x=`echo $x | sed -e "$ncbi_rpath_sed"`
36748 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
36749 -- ncbi_rp_R_sep=:
36750 -- done
36751 -- XALAN_LIBPATH_="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
36752 -+
36753 -+rm -f conftest.err conftest.$ac_ext
36754 -+{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
36755 -+echo "${ECHO_T}$ac_header_preproc" >&6; }
36756 -+
36757 -+# So? What about this header?
36758 -+case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
36759 -+ yes:no: )
36760 -+ { echo "$as_me:$LINENO: WARNING: sqlite3async.h: accepted by the compiler, rejected by the preprocessor!" >&5
36761 -+echo "$as_me: WARNING: sqlite3async.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
36762 -+ { echo "$as_me:$LINENO: WARNING: sqlite3async.h: proceeding with the compiler's result" >&5
36763 -+echo "$as_me: WARNING: sqlite3async.h: proceeding with the compiler's result" >&2;}
36764 -+ ac_header_preproc=yes
36765 -+ ;;
36766 -+ no:yes:* )
36767 -+ { echo "$as_me:$LINENO: WARNING: sqlite3async.h: present but cannot be compiled" >&5
36768 -+echo "$as_me: WARNING: sqlite3async.h: present but cannot be compiled" >&2;}
36769 -+ { echo "$as_me:$LINENO: WARNING: sqlite3async.h: check for missing prerequisite headers?" >&5
36770 -+echo "$as_me: WARNING: sqlite3async.h: check for missing prerequisite headers?" >&2;}
36771 -+ { echo "$as_me:$LINENO: WARNING: sqlite3async.h: see the Autoconf documentation" >&5
36772 -+echo "$as_me: WARNING: sqlite3async.h: see the Autoconf documentation" >&2;}
36773 -+ { echo "$as_me:$LINENO: WARNING: sqlite3async.h: section \"Present But Cannot Be Compiled\"" >&5
36774 -+echo "$as_me: WARNING: sqlite3async.h: section \"Present But Cannot Be Compiled\"" >&2;}
36775 -+ { echo "$as_me:$LINENO: WARNING: sqlite3async.h: proceeding with the preprocessor's result" >&5
36776 -+echo "$as_me: WARNING: sqlite3async.h: proceeding with the preprocessor's result" >&2;}
36777 -+ { echo "$as_me:$LINENO: WARNING: sqlite3async.h: in the future, the compiler will take precedence" >&5
36778 -+echo "$as_me: WARNING: sqlite3async.h: in the future, the compiler will take precedence" >&2;}
36779 -+ ( cat <<\_ASBOX
36780 -+## ---------------------------------------- ##
36781 -+## Report this to cpp-core@××××××××××××.gov ##
36782 -+## ---------------------------------------- ##
36783 -+_ASBOX
36784 -+ ) | sed "s/^/$as_me: WARNING: /" >&2
36785 -+ ;;
36786 -+esac
36787 -+{ echo "$as_me:$LINENO: checking for sqlite3async.h" >&5
36788 -+echo $ECHO_N "checking for sqlite3async.h... $ECHO_C" >&6; }
36789 -+if test "${ac_cv_header_sqlite3async_h+set}" = set; then
36790 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
36791 -+else
36792 -+ ac_cv_header_sqlite3async_h=$ac_header_preproc
36793 - fi
36794 -- XALAN_LIBS="$XALAN_LIBPATH_ -lxalan-c -lxalanMsg"
36795 -- echo "$as_me:$LINENO: checking for Xalan-C++$in_path" >&5
36796 --echo $ECHO_N "checking for Xalan-C++$in_path... $ECHO_C" >&6
36797 --if test "${ncbi_cv_lib_xalan_c+set}" = set; then
36798 -+{ echo "$as_me:$LINENO: result: $ac_cv_header_sqlite3async_h" >&5
36799 -+echo "${ECHO_T}$ac_cv_header_sqlite3async_h" >&6; }
36800 -+
36801 -+fi
36802 -+if test $ac_cv_header_sqlite3async_h = yes; then
36803 -+
36804 -+cat >>confdefs.h <<\_ACEOF
36805 -+#define HAVE_SQLITE3ASYNC_H 1
36806 -+_ACEOF
36807 -+
36808 -+ WithPackages="$WithPackages${WithPackagesSep}SQLITE3ASYNC"; WithPackagesSep=" "
36809 -+fi
36810 -+
36811 -+
36812 -+ LIBS="$SQLITE3_LIBS $orig_LIBS"
36813 -+
36814 -+for ac_func in sqlite3_unlock_notify
36815 -+do
36816 -+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36817 -+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
36818 -+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36819 -+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36820 - echo $ECHO_N "(cached) $ECHO_C" >&6
36821 - else
36822 -- CPPFLAGS="$XALAN_INCLUDE $XERCES_INCLUDE $orig_CPPFLAGS"
36823 -- LIBS="$XALAN_LIBS $XERCES_LIBS $ICU_LIBS $orig_LIBS"
36824 - cat >conftest.$ac_ext <<_ACEOF
36825 - /* confdefs.h. */
36826 - _ACEOF
36827 - cat confdefs.h >>conftest.$ac_ext
36828 - cat >>conftest.$ac_ext <<_ACEOF
36829 - /* end confdefs.h. */
36830 --#include <xalanc/XalanTransformer/XalanTransformer.hpp>
36831 -+/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36832 -+ For example, HP-UX 11i <limits.h> declares gettimeofday. */
36833 -+#define $ac_func innocuous_$ac_func
36834 -+
36835 -+/* System header to define __stub macros and hopefully few prototypes,
36836 -+ which can conflict with char $ac_func (); below.
36837 -+ Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36838 -+ <limits.h> exists even on freestanding compilers. */
36839 -+
36840 -+#ifdef __STDC__
36841 -+# include <limits.h>
36842 -+#else
36843 -+# include <assert.h>
36844 -+#endif
36845 -+
36846 -+#undef $ac_func
36847 -+
36848 -+/* Override any GCC internal prototype to avoid an error.
36849 -+ Use char because int might match the return type of a GCC
36850 -+ builtin and then its argument prototype would still apply. */
36851 -+#ifdef __cplusplus
36852 -+extern "C"
36853 -+#endif
36854 -+char $ac_func ();
36855 -+/* The GNU C library defines this for functions which it implements
36856 -+ to always fail with ENOSYS. Some functions are actually named
36857 -+ something starting with __ and the normal name is an alias. */
36858 -+#if defined __stub_$ac_func || defined __stub___$ac_func
36859 -+choke me
36860 -+#endif
36861 -+
36862 - int
36863 - main ()
36864 - {
36865 --xalanc::XalanTransformer::initialize();
36866 -+return $ac_func ();
36867 - ;
36868 - return 0;
36869 - }
36870 - _ACEOF
36871 - rm -f conftest.$ac_objext conftest$ac_exeext
36872 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36873 -- (eval $ac_link) 2>conftest.er1
36874 -+if { (ac_try="$ac_link"
36875 -+case "(($ac_try" in
36876 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36877 -+ *) ac_try_echo=$ac_try;;
36878 -+esac
36879 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36880 -+ (eval "$ac_link") 2>conftest.er1
36881 - ac_status=$?
36882 - grep -v '^ *+' conftest.er1 >conftest.err
36883 - rm -f conftest.er1
36884 - cat conftest.err >&5
36885 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36886 - (exit $ac_status); } &&
36887 -- { ac_try='test -z "$ac_cxx_werror_flag"
36888 -- || test ! -s conftest.err'
36889 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36890 -- (eval $ac_try) 2>&5
36891 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36892 -+ { (case "(($ac_try" in
36893 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36894 -+ *) ac_try_echo=$ac_try;;
36895 -+esac
36896 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36897 -+ (eval "$ac_try") 2>&5
36898 - ac_status=$?
36899 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36900 - (exit $ac_status); }; } &&
36901 - { ac_try='test -s conftest$ac_exeext'
36902 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36903 -- (eval $ac_try) 2>&5
36904 -+ { (case "(($ac_try" in
36905 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36906 -+ *) ac_try_echo=$ac_try;;
36907 -+esac
36908 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36909 -+ (eval "$ac_try") 2>&5
36910 - ac_status=$?
36911 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
36912 - (exit $ac_status); }; }; then
36913 -- ncbi_cv_lib_xalan_c=yes
36914 -+ eval "$as_ac_var=yes"
36915 - else
36916 - echo "$as_me: failed program was:" >&5
36917 - sed 's/^/| /' conftest.$ac_ext >&5
36918 -
36919 --ncbi_cv_lib_xalan_c=no
36920 -+ eval "$as_ac_var=no"
36921 - fi
36922 --rm -f conftest.err conftest.$ac_objext \
36923 -+
36924 -+rm -f core conftest.err conftest.$ac_objext \
36925 - conftest$ac_exeext conftest.$ac_ext
36926 - fi
36927 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_xalan_c" >&5
36928 --echo "${ECHO_T}$ncbi_cv_lib_xalan_c" >&6
36929 -- if test $ncbi_cv_lib_xalan_c = yes; then
36930 -- if test -f "$XALAN_LIBPATH/libxalan-c-static.a"; then
36931 -- XALAN_STATIC_LIBS="-L$XALAN_LIBPATH -lxalan-c-static -lxalanMsg-static"
36932 -- else
36933 -- XALAN_STATIC_LIBS=$XALAN_LIBS
36934 -- fi
36935 -- else
36936 -- if test "${with_xalan:=no}" != no; then
36937 -- { { echo "$as_me:$LINENO: error: --with-xalan explicitly specified, but no usable version found." >&5
36938 --echo "$as_me: error: --with-xalan explicitly specified, but no usable version found." >&2;}
36939 -- { (exit 1); exit 1; }; }
36940 -- fi
36941 -- fi
36942 --fi
36943 --if test "$with_xalan" != no; then
36944 -- WithPackages="$WithPackages${WithPackagesSep}Xalan"; WithPackagesSep=" "
36945 --
36946 --cat >>confdefs.h <<\_ACEOF
36947 --#define HAVE_XALAN 1
36948 -+ac_res=`eval echo '${'$as_ac_var'}'`
36949 -+ { echo "$as_me:$LINENO: result: $ac_res" >&5
36950 -+echo "${ECHO_T}$ac_res" >&6; }
36951 -+if test `eval echo '${'$as_ac_var'}'` = yes; then
36952 -+ cat >>confdefs.h <<_ACEOF
36953 -+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36954 - _ACEOF
36955 -
36956 --else
36957 -- XALAN_INCLUDE=
36958 -- XALAN_LIBS=
36959 -- XALAN_STATIC_LIBS=
36960 - fi
36961 -+done
36962 -
36963 --test -d SunWS_cache && rm -r SunWS_cache
36964 --
36965 --: ${ZORBA_PATH=$NCBI/zorba}
36966 --if test "$with_zorba" != no; then
36967 -- if test "${with_zorba-yes}" != yes; then
36968 -- ZORBA_PATH=$with_zorba
36969 -- fi
36970 -- if test -d "$ZORBA_PATH"; then
36971 -- ncbi_fix_dir_tmp=`if cd $ZORBA_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
36972 -- case "$ncbi_fix_dir_tmp" in
36973 -- /.*) ncbi_fix_dir_tmp2=`cd $ZORBA_PATH && $smart_pwd 2>/dev/null`
36974 -- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
36975 -- ZORBA_PATH=$ncbi_fix_dir_tmp2
36976 -- else
36977 -- case "$ZORBA_PATH" in
36978 -- /*) ;;
36979 -- * ) ZORBA_PATH=$ncbi_fix_dir_tmp ;;
36980 -- esac
36981 -- fi
36982 -- ;;
36983 -- /*) ZORBA_PATH=$ncbi_fix_dir_tmp ;;
36984 -- esac
36985 -- fi
36986 -- vpath="$ZORBA_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}"
36987 -- if test -d "$vpath/lib"; then
36988 -- ZORBA_PATH=$vpath
36989 -- ncbi_fix_dir_tmp=`if cd $ZORBA_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
36990 -- case "$ncbi_fix_dir_tmp" in
36991 -- /.*) ncbi_fix_dir_tmp2=`cd $ZORBA_PATH && $smart_pwd 2>/dev/null`
36992 -- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
36993 -- ZORBA_PATH=$ncbi_fix_dir_tmp2
36994 -- else
36995 -- case "$ZORBA_PATH" in
36996 -- /*) ;;
36997 -- * ) ZORBA_PATH=$ncbi_fix_dir_tmp ;;
36998 -- esac
36999 -- fi
37000 -- ;;
37001 -- /*) ZORBA_PATH=$ncbi_fix_dir_tmp ;;
37002 -- esac
37003 -- elif test -d "$vpath"; then
37004 -- : ${ZORBA_LIBPATH=$vpath}
37005 -- ncbi_fix_dir_tmp=`if cd $ZORBA_LIBPATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
37006 -- case "$ncbi_fix_dir_tmp" in
37007 -- /.*) ncbi_fix_dir_tmp2=`cd $ZORBA_LIBPATH && $smart_pwd 2>/dev/null`
37008 -- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
37009 -- ZORBA_LIBPATH=$ncbi_fix_dir_tmp2
37010 -- else
37011 -- case "$ZORBA_LIBPATH" in
37012 -- /*) ;;
37013 -- * ) ZORBA_LIBPATH=$ncbi_fix_dir_tmp ;;
37014 -- esac
37015 -- fi
37016 -- ;;
37017 -- /*) ZORBA_LIBPATH=$ncbi_fix_dir_tmp ;;
37018 -- esac
37019 -- else
37020 -- vpath="$ZORBA_PATH/${compiler_pfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}"
37021 -- if test -d "$vpath/lib"; then
37022 -- ZORBA_PATH=$vpath
37023 -- ncbi_fix_dir_tmp=`if cd $ZORBA_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
37024 -- case "$ncbi_fix_dir_tmp" in
37025 -- /.*) ncbi_fix_dir_tmp2=`cd $ZORBA_PATH && $smart_pwd 2>/dev/null`
37026 -- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
37027 -- ZORBA_PATH=$ncbi_fix_dir_tmp2
37028 -- else
37029 -- case "$ZORBA_PATH" in
37030 -- /*) ;;
37031 -- * ) ZORBA_PATH=$ncbi_fix_dir_tmp ;;
37032 -- esac
37033 - fi
37034 -- ;;
37035 -- /*) ZORBA_PATH=$ncbi_fix_dir_tmp ;;
37036 -- esac
37037 -- elif test -d "$vpath"; then
37038 -- ZORBA_LIBPATH=$vpath
37039 -- ncbi_fix_dir_tmp=`if cd $ZORBA_LIBPATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
37040 -- case "$ncbi_fix_dir_tmp" in
37041 -- /.*) ncbi_fix_dir_tmp2=`cd $ZORBA_LIBPATH && $smart_pwd 2>/dev/null`
37042 -- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
37043 -- ZORBA_LIBPATH=$ncbi_fix_dir_tmp2
37044 -+if test -n "$SQLITE3_LIBS" -a -f "$SQLITE3_LIBDIR/libsqlite3-static.a"; then
37045 -+ SQLITE3_STATIC_LIBS="-L$SQLITE3_LIBDIR -lsqlite3-static"
37046 - else
37047 -- case "$ZORBA_LIBPATH" in
37048 -- /*) ;;
37049 -- * ) ZORBA_LIBPATH=$ncbi_fix_dir_tmp ;;
37050 -- esac
37051 -+ SQLITE3_STATIC_LIBS=$SQLITE3_LIBS
37052 - fi
37053 -- ;;
37054 -- /*) ZORBA_LIBPATH=$ncbi_fix_dir_tmp ;;
37055 -+
37056 -+
37057 -+### OEChem
37058 -+# somewhat kludgish, as we now wanto to add in oeiupac and oedepict,
37059 -+# which depend on oechem....
37060 -+if test "$with_oechem" != "no"; then
37061 -+ case "$with_oechem" in
37062 -+ yes | "" ) ;;
37063 -+ * ) OECHEM_PATH=$with_oechem ;;
37064 - esac
37065 -+ if test -d "$OECHEM_PATH"; then
37066 -+ in_path=" in $OECHEM_PATH"
37067 -+ if test -z "$OECHEM_INCLUDE" -a -d "$OECHEM_PATH/include"; then
37068 -+ OECHEM_INCLUDE="-I$OECHEM_PATH/include"
37069 - fi
37070 -- fi
37071 -- ZORBA_CONFIG="$ZORBA_PATH/bin/zorba-config"
37072 -- if test -x "$ZORBA_CONFIG"; then
37073 -- ZORBA_PATH=`$ZORBA_CONFIG --prefix`
37074 -- : ${ZORBA_INCLUDE=`$ZORBA_CONFIG --cppflags`}
37075 -- fi
37076 -- if test -d $ZORBA_PATH; then
37077 -- in_path=" in $ZORBA_PATH"
37078 -- : ${ZORBA_INCLUDE=-I$ZORBA_PATH/include}
37079 -- : ${ZORBA_LIBPATH=$ZORBA_PATH/lib}
37080 -+ if test -n "$OECHEM_LIBPATH"; then
37081 -+ :
37082 -+ elif test -d "$OECHEM_PATH/lib${bit64_sfx}"; then
37083 -+ ncbi_rp_L_flags=
37084 -+ ncbi_rp_L_sep=$CONF_f_libpath
37085 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
37086 -+ for x in $OECHEM_PATH/lib${bit64_sfx}; do
37087 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37088 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
37089 -+ done
37090 -+ OECHEM_LIBPATH="${ncbi_rp_L_flags}"
37091 - else
37092 -- in_path=''
37093 -+ ncbi_rp_R_flags=
37094 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
37095 -+ for x in $OECHEM_PATH/lib${bit64_sfx}; do
37096 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37097 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
37098 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
37099 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
37100 -+ ncbi_rp_R_sep=:
37101 -+ done
37102 -+ OECHEM_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
37103 - fi
37104 -- if test -x "$ZORBA_CONFIG"; then
37105 -- ZORBA_LIBS=`$ZORBA_CONFIG --libs`
37106 -- else
37107 -+ elif test -d "$OECHEM_PATH/lib"; then
37108 - ncbi_rp_L_flags=
37109 - ncbi_rp_L_sep=$CONF_f_libpath
37110 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
37111 -- for x in $ZORBA_LIBPATH; do
37112 -+ for x in $OECHEM_PATH/lib; do
37113 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37114 - ncbi_rp_L_sep=" $CONF_f_libpath"
37115 - done
37116 -- ZORBA_LIBPATH_="${ncbi_rp_L_flags}"
37117 -+ OECHEM_LIBPATH="${ncbi_rp_L_flags}"
37118 - else
37119 - ncbi_rp_R_flags=
37120 - ncbi_rp_R_sep=" $CONF_f_runpath"
37121 -- for x in $ZORBA_LIBPATH; do
37122 -+ for x in $OECHEM_PATH/lib; do
37123 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37124 - ncbi_rp_L_sep=" $CONF_f_libpath"
37125 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
37126 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
37127 - ncbi_rp_R_sep=:
37128 - done
37129 -- ZORBA_LIBPATH_="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
37130 -+ OECHEM_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
37131 - fi
37132 -- ZORBA_LIBS="$ZORBA_LIBPATH_ -lzorba_simplestore"
37133 - fi
37134 -- echo "$as_me:$LINENO: checking for Zorba$in_path" >&5
37135 --echo $ECHO_N "checking for Zorba$in_path... $ECHO_C" >&6
37136 --if test "${ncbi_cv_lib_zorba+set}" = set; then
37137 -+ OECHEM_LIBS="$OECHEM_LIBPATH -loechem -loeiupac -loedepict -loechem -loesystem -loeplatform -lz"
37138 -+ else
37139 -+ OECHEM_INCLUDE=""
37140 -+ OECHEM_LIBS="-loechem -loeiupac -loedepict -loechem -loesystem -loeplatform -lz"
37141 -+ in_path=
37142 -+ fi
37143 -+ { echo "$as_me:$LINENO: checking for liboechem$in_path" >&5
37144 -+echo $ECHO_N "checking for liboechem$in_path... $ECHO_C" >&6; }
37145 -+if test "${ncbi_cv_lib_oechem+set}" = set; then
37146 - echo $ECHO_N "(cached) $ECHO_C" >&6
37147 - else
37148 -- CPPFLAGS="$ZORBA_INCLUDE $orig_CPPFLAGS"
37149 -- LIBS="$ZORBA_LIBS $orig_LIBS"
37150 -+ CPPFLAGS=" $OECHEM_INCLUDE $orig_CPPFLAGS"
37151 -+ LIBS="$OECHEM_LIBS $NETWORK_LIBS $orig_LIBS"
37152 - cat >conftest.$ac_ext <<_ACEOF
37153 - /* confdefs.h. */
37154 - _ACEOF
37155 - cat confdefs.h >>conftest.$ac_ext
37156 - cat >>conftest.$ac_ext <<_ACEOF
37157 - /* end confdefs.h. */
37158 --#include <zorba/zorba.h>
37159 -+#include <oechem.h>
37160 - int
37161 - main ()
37162 - {
37163 --zorba::Version v = zorba::Zorba::version();
37164 -+OEChem::OEMol mol; OEChem::OEConfBase* c = mol.GetActive();
37165 - ;
37166 - return 0;
37167 - }
37168 - _ACEOF
37169 - rm -f conftest.$ac_objext conftest$ac_exeext
37170 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37171 -- (eval $ac_link) 2>conftest.er1
37172 -+if { (ac_try="$ac_link"
37173 -+case "(($ac_try" in
37174 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37175 -+ *) ac_try_echo=$ac_try;;
37176 -+esac
37177 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37178 -+ (eval "$ac_link") 2>conftest.er1
37179 - ac_status=$?
37180 - grep -v '^ *+' conftest.er1 >conftest.err
37181 - rm -f conftest.er1
37182 - cat conftest.err >&5
37183 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
37184 - (exit $ac_status); } &&
37185 -- { ac_try='test -z "$ac_cxx_werror_flag"
37186 -- || test ! -s conftest.err'
37187 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37188 -- (eval $ac_try) 2>&5
37189 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37190 -+ { (case "(($ac_try" in
37191 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37192 -+ *) ac_try_echo=$ac_try;;
37193 -+esac
37194 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37195 -+ (eval "$ac_try") 2>&5
37196 - ac_status=$?
37197 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
37198 - (exit $ac_status); }; } &&
37199 - { ac_try='test -s conftest$ac_exeext'
37200 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37201 -- (eval $ac_try) 2>&5
37202 -+ { (case "(($ac_try" in
37203 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37204 -+ *) ac_try_echo=$ac_try;;
37205 -+esac
37206 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37207 -+ (eval "$ac_try") 2>&5
37208 - ac_status=$?
37209 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
37210 - (exit $ac_status); }; }; then
37211 -- ncbi_cv_lib_zorba=yes
37212 -+ ncbi_cv_lib_oechem=yes
37213 - else
37214 - echo "$as_me: failed program was:" >&5
37215 - sed 's/^/| /' conftest.$ac_ext >&5
37216 -
37217 --ncbi_cv_lib_zorba=no
37218 -+ ncbi_cv_lib_oechem=no
37219 - fi
37220 --rm -f conftest.err conftest.$ac_objext \
37221 -+
37222 -+rm -f core conftest.err conftest.$ac_objext \
37223 - conftest$ac_exeext conftest.$ac_ext
37224 - fi
37225 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_zorba" >&5
37226 --echo "${ECHO_T}$ncbi_cv_lib_zorba" >&6
37227 -- if test $ncbi_cv_lib_zorba = yes; then
37228 -- if test -x "$ZORBA_CONFIG"; then
37229 -- ZORBA_STATIC_LIBS=`$ZORBA_CONFIG --static-libs`
37230 -- elif test -f "$ZORBA_LIBPATH/libzorba_simplestore-static.a"; then
37231 -- ZORBA_STATIC_LIBS="-L$ZORBA_LIBPATH -lzorba_simplestore-static $XERCES_STATIC_LIBS $ICU_STATIC_LIBS $LIBXSLT_STATIC_LIBS $LIBXML_STATIC_LIBS"
37232 -- else
37233 -- ZORBA_STATIC_LIBS=$ZORBA_LIBS
37234 -- fi
37235 -- else
37236 -- if test "${with_zorba:=no}" != no; then
37237 -- { { echo "$as_me:$LINENO: error: --with-zorba explicitly specified, but no usable version found." >&5
37238 --echo "$as_me: error: --with-zorba explicitly specified, but no usable version found." >&2;}
37239 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_oechem" >&5
37240 -+echo "${ECHO_T}$ncbi_cv_lib_oechem" >&6; }
37241 -+ if test "$ncbi_cv_lib_oechem" = "no"; then
37242 -+ if test "${with_oechem:=no}" != no; then
37243 -+ { { echo "$as_me:$LINENO: error: --with-oechem explicitly specified, but no usable version found." >&5
37244 -+echo "$as_me: error: --with-oechem explicitly specified, but no usable version found." >&2;}
37245 - { (exit 1); exit 1; }; }
37246 - fi
37247 - fi
37248 - fi
37249 --if test "$with_zorba" != no; then
37250 -- WithPackages="$WithPackages${WithPackagesSep}Zorba"; WithPackagesSep=" "
37251 -+ if test "$with_oechem" = "no"; then
37252 -+ OECHEM_PATH="No_OECHEM"
37253 -+ OECHEM_INCLUDE=
37254 -+ OECHEM_LIBS=
37255 -+ else
37256 -+ WithPackages="$WithPackages${WithPackagesSep}OECHEM"; WithPackagesSep=" "
37257 -+ OECHEM_INCLUDE=" $OECHEM_INCLUDE"
37258 -
37259 - cat >>confdefs.h <<\_ACEOF
37260 --#define HAVE_ZORBA 1
37261 -+#define HAVE_LIBOECHEM 1
37262 - _ACEOF
37263 -
37264 --else
37265 -- ZORBA_INCLUDE=
37266 -- ZORBA_LIBS=
37267 -- ZORBA_STATIC_LIBS=
37268 - fi
37269 -
37270 --### SQLite
37271 --case "$with_sqlite3" in
37272 -- yes | '' ) : ${SQLITE3_PATH=$NCBI/sqlite3} ;;
37273 -- * ) SQLITE3_PATH=$with_sqlite3 ;;
37274 --esac
37275 -
37276 --if test -d "$SQLITE3_PATH"; then
37277 -- ncbi_fix_dir_tmp=`if cd $SQLITE3_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
37278 -- case "$ncbi_fix_dir_tmp" in
37279 -- /.*) ncbi_fix_dir_tmp2=`cd $SQLITE3_PATH && $smart_pwd 2>/dev/null`
37280 -- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
37281 -- SQLITE3_PATH=$ncbi_fix_dir_tmp2
37282 -- else
37283 -- case "$SQLITE3_PATH" in
37284 -- /*) ;;
37285 -- * ) SQLITE3_PATH=$ncbi_fix_dir_tmp ;;
37286 -- esac
37287 -+
37288 -+if test -n "$OECHEM_LIBS"; then
37289 -+ OECHEM_LIBS=`echo $OECHEM_LIBS | sed -e 's/-loechem \(.*-loechem .*\)/\1/'`
37290 - fi
37291 -- ;;
37292 -- /*) SQLITE3_PATH=$ncbi_fix_dir_tmp ;;
37293 -+test -d SunWS_cache && rm -r SunWS_cache
37294 -+
37295 -+
37296 -+### Sun/Univa Grid Engine
37297 -+case "$with_sge" in
37298 -+ yes | "" ) ;;
37299 -+ * ) SGE_PATH=$with_sge ;;
37300 - esac
37301 -+if test -d "$SGE_PATH" -a -z "$SGE_LIBPATH"; then
37302 -+ case "$host:$NCBI_PLATFORM_BITS" in
37303 -+ i?86-*-darwin* ) SGE_PLATFORMS='darwin-x86' ;;
37304 -+ i?86-*-linux* ) SGE_PLATFORMS='lx24-x86 lx-x86' ;;
37305 -+ i?86-*-solaris*:32 ) SGE_PLATFORMS='sol-x86' ;;
37306 -+ i?86-*-solaris*:64 ) SGE_PLATFORMS='sol-amd64' ;;
37307 -+ powerpc-*-darwin* ) SGE_PLATFORMS='darwin-ppc' ;;
37308 -+ sparc-*-solaris*:32 ) SGE_PLATFORMS='sol-sparc' ;;
37309 -+ sparc-*-solaris*:64 ) SGE_PLATFORMS='sol-sparc64' ;;
37310 -+ x86_64-*-linux* ) SGE_PLATFORMS='lx24-amd64 lx-amd64' ;;
37311 -+ esac
37312 -+ for x in $SGE_PLATFORMS; do
37313 -+ if test -d "$SGE_PATH/lib/$x"; then
37314 -+ SGE_LIBPATH="$SGE_PATH/lib/$x"
37315 -+ break
37316 - fi
37317 --if test -d "$SQLITE3_PATH/${compiler_pfx}${DEBUG_SFX}${MT_SFX}${bit64_sfx}/lib"; then
37318 -- SQLITE3_LIBDIR=$SQLITE3_PATH/${compiler_pfx}${DEBUG_SFX}${MT_SFX}${bit64_sfx}/lib
37319 --elif test -d $SQLITE3_PATH/lib${bit64_sfx}; then
37320 -- SQLITE3_LIBDIR=$SQLITE3_PATH/lib${bit64_sfx}
37321 --else
37322 -- SQLITE3_LIBDIR=$SQLITE3_PATH/lib
37323 --fi
37324 -+ done
37325 - ncbi_rp_L_flags=
37326 - ncbi_rp_L_sep=$CONF_f_libpath
37327 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
37328 -- for x in $SQLITE3_LIBDIR; do
37329 -+ for x in $SGE_LIBPATH; do
37330 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37331 - ncbi_rp_L_sep=" $CONF_f_libpath"
37332 - done
37333 -- SQLITE3_LIBPATH="${ncbi_rp_L_flags}"
37334 -+ SGE_LIBPATH="${ncbi_rp_L_flags}"
37335 - else
37336 - ncbi_rp_R_flags=
37337 - ncbi_rp_R_sep=" $CONF_f_runpath"
37338 -- for x in $SQLITE3_LIBDIR; do
37339 -+ for x in $SGE_LIBPATH; do
37340 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37341 - ncbi_rp_L_sep=" $CONF_f_libpath"
37342 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
37343 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
37344 - ncbi_rp_R_sep=:
37345 - done
37346 -- SQLITE3_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
37347 -+ SGE_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
37348 - fi
37349 --if test "$with_sqlite3" != "no"; then
37350 -- case "$with_sqlite3" in
37351 -+fi
37352 -+if test "$with_sge" != "no"; then
37353 -+ case "$with_sge" in
37354 - yes | "" ) ;;
37355 -- * ) SQLITE3_PATH=$with_sqlite3 ;;
37356 -+ * ) SGE_PATH=$with_sge ;;
37357 - esac
37358 -- if test -d "$SQLITE3_PATH"; then
37359 -- in_path=" in $SQLITE3_PATH"
37360 -- if test -z "$SQLITE3_INCLUDE" -a -d "$SQLITE3_PATH/include"; then
37361 -- SQLITE3_INCLUDE="-I$SQLITE3_PATH/include"
37362 -+ if test -d "$SGE_PATH"; then
37363 -+ in_path=" in $SGE_PATH"
37364 -+ if test -z "$SGE_INCLUDE" -a -d "$SGE_PATH/include"; then
37365 -+ SGE_INCLUDE="-I$SGE_PATH/include"
37366 - fi
37367 -- if test -n "$SQLITE3_LIBPATH"; then
37368 -+ if test -n "$SGE_LIBPATH"; then
37369 - :
37370 -- elif test -d "$SQLITE3_PATH/lib${bit64_sfx}"; then
37371 -+ elif test -d "$SGE_PATH/lib${bit64_sfx}"; then
37372 - ncbi_rp_L_flags=
37373 - ncbi_rp_L_sep=$CONF_f_libpath
37374 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
37375 -- for x in $SQLITE3_PATH/lib${bit64_sfx}; do
37376 -+ for x in $SGE_PATH/lib${bit64_sfx}; do
37377 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37378 - ncbi_rp_L_sep=" $CONF_f_libpath"
37379 - done
37380 -- SQLITE3_LIBPATH="${ncbi_rp_L_flags}"
37381 -+ SGE_LIBPATH="${ncbi_rp_L_flags}"
37382 - else
37383 - ncbi_rp_R_flags=
37384 - ncbi_rp_R_sep=" $CONF_f_runpath"
37385 -- for x in $SQLITE3_PATH/lib${bit64_sfx}; do
37386 -+ for x in $SGE_PATH/lib${bit64_sfx}; do
37387 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37388 - ncbi_rp_L_sep=" $CONF_f_libpath"
37389 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
37390 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
37391 - ncbi_rp_R_sep=:
37392 - done
37393 -- SQLITE3_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
37394 -+ SGE_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
37395 - fi
37396 -- elif test -d "$SQLITE3_PATH/lib"; then
37397 -+ elif test -d "$SGE_PATH/lib"; then
37398 - ncbi_rp_L_flags=
37399 - ncbi_rp_L_sep=$CONF_f_libpath
37400 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
37401 -- for x in $SQLITE3_PATH/lib; do
37402 -+ for x in $SGE_PATH/lib; do
37403 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37404 - ncbi_rp_L_sep=" $CONF_f_libpath"
37405 - done
37406 -- SQLITE3_LIBPATH="${ncbi_rp_L_flags}"
37407 -+ SGE_LIBPATH="${ncbi_rp_L_flags}"
37408 - else
37409 - ncbi_rp_R_flags=
37410 - ncbi_rp_R_sep=" $CONF_f_runpath"
37411 -- for x in $SQLITE3_PATH/lib; do
37412 -+ for x in $SGE_PATH/lib; do
37413 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37414 - ncbi_rp_L_sep=" $CONF_f_libpath"
37415 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
37416 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
37417 - ncbi_rp_R_sep=:
37418 - done
37419 -- SQLITE3_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
37420 -+ SGE_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
37421 - fi
37422 - fi
37423 -- SQLITE3_LIBS="$SQLITE3_LIBPATH -lsqlite3 "
37424 -+ SGE_LIBS="$SGE_LIBPATH -ldrmaa "
37425 - else
37426 -- SQLITE3_INCLUDE=""
37427 -- SQLITE3_LIBS="-lsqlite3 "
37428 -+ SGE_INCLUDE=""
37429 -+ SGE_LIBS="-ldrmaa "
37430 - in_path=
37431 - fi
37432 -- echo "$as_me:$LINENO: checking for libsqlite3$in_path" >&5
37433 --echo $ECHO_N "checking for libsqlite3$in_path... $ECHO_C" >&6
37434 --if test "${ncbi_cv_lib_sqlite3+set}" = set; then
37435 -+ { echo "$as_me:$LINENO: checking for libdrmaa$in_path" >&5
37436 -+echo $ECHO_N "checking for libdrmaa$in_path... $ECHO_C" >&6; }
37437 -+if test "${ncbi_cv_lib_sge+set}" = set; then
37438 - echo $ECHO_N "(cached) $ECHO_C" >&6
37439 - else
37440 -- CPPFLAGS=" $SQLITE3_INCLUDE $orig_CPPFLAGS"
37441 -- LIBS="$SQLITE3_LIBS $orig_LIBS"
37442 -+ CPPFLAGS=" $SGE_INCLUDE $orig_CPPFLAGS"
37443 -+ LIBS="$SGE_LIBS $orig_LIBS"
37444 - cat >conftest.$ac_ext <<_ACEOF
37445 - /* confdefs.h. */
37446 - _ACEOF
37447 - cat confdefs.h >>conftest.$ac_ext
37448 - cat >>conftest.$ac_ext <<_ACEOF
37449 - /* end confdefs.h. */
37450 --#include <sqlite3.h>
37451 -+#include <sys/types.h>
37452 -+ #include <drmaa.h>
37453 - int
37454 - main ()
37455 - {
37456 --sqlite3_pcache_methods m;
37457 -- int status = sqlite3_config(SQLITE_CONFIG_GETPCACHE, &m);
37458 -+char buf[1024]; drmaa_init("SGE", buf, sizeof(buf));
37459 - ;
37460 - return 0;
37461 - }
37462 - _ACEOF
37463 - rm -f conftest.$ac_objext conftest$ac_exeext
37464 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37465 -- (eval $ac_link) 2>conftest.er1
37466 -- ac_status=$?
37467 -- grep -v '^ *+' conftest.er1 >conftest.err
37468 -- rm -f conftest.er1
37469 -- cat conftest.err >&5
37470 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
37471 -- (exit $ac_status); } &&
37472 -- { ac_try='test -z "$ac_cxx_werror_flag"
37473 -- || test ! -s conftest.err'
37474 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37475 -- (eval $ac_try) 2>&5
37476 -- ac_status=$?
37477 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
37478 -- (exit $ac_status); }; } &&
37479 -- { ac_try='test -s conftest$ac_exeext'
37480 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37481 -- (eval $ac_try) 2>&5
37482 -- ac_status=$?
37483 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
37484 -- (exit $ac_status); }; }; then
37485 -- ncbi_cv_lib_sqlite3=yes
37486 --else
37487 -- echo "$as_me: failed program was:" >&5
37488 --sed 's/^/| /' conftest.$ac_ext >&5
37489 --
37490 --ncbi_cv_lib_sqlite3=no
37491 --fi
37492 --rm -f conftest.err conftest.$ac_objext \
37493 -- conftest$ac_exeext conftest.$ac_ext
37494 --fi
37495 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_sqlite3" >&5
37496 --echo "${ECHO_T}$ncbi_cv_lib_sqlite3" >&6
37497 -- if test "$ncbi_cv_lib_sqlite3" = "no"; then
37498 -- if test "${with_sqlite3:=no}" != no; then
37499 -- { { echo "$as_me:$LINENO: error: --with-sqlite3 explicitly specified, but no usable version found." >&5
37500 --echo "$as_me: error: --with-sqlite3 explicitly specified, but no usable version found." >&2;}
37501 -- { (exit 1); exit 1; }; }
37502 -- fi
37503 -- fi
37504 -- fi
37505 -- if test "$with_sqlite3" = "no"; then
37506 -- SQLITE3_PATH="No_SQLITE3"
37507 -- SQLITE3_INCLUDE=
37508 -- SQLITE3_LIBS=
37509 -- else
37510 -- WithPackages="$WithPackages${WithPackagesSep}SQLITE3"; WithPackagesSep=" "
37511 -- SQLITE3_INCLUDE=" $SQLITE3_INCLUDE"
37512 --
37513 --cat >>confdefs.h <<\_ACEOF
37514 --#define HAVE_LIBSQLITE3 1
37515 --_ACEOF
37516 --
37517 -- fi
37518 --
37519 --
37520 --
37521 --if test -n "$SQLITE3_LIBS"; then
37522 -- CPPFLAGS="$SQLITE3_INCLUDE $orig_CPPFLAGS"
37523 -- if test "${ac_cv_header_sqlite3async_h+set}" = set; then
37524 -- echo "$as_me:$LINENO: checking for sqlite3async.h" >&5
37525 --echo $ECHO_N "checking for sqlite3async.h... $ECHO_C" >&6
37526 --if test "${ac_cv_header_sqlite3async_h+set}" = set; then
37527 -- echo $ECHO_N "(cached) $ECHO_C" >&6
37528 --fi
37529 --echo "$as_me:$LINENO: result: $ac_cv_header_sqlite3async_h" >&5
37530 --echo "${ECHO_T}$ac_cv_header_sqlite3async_h" >&6
37531 --else
37532 -- # Is the header compilable?
37533 --echo "$as_me:$LINENO: checking sqlite3async.h usability" >&5
37534 --echo $ECHO_N "checking sqlite3async.h usability... $ECHO_C" >&6
37535 --cat >conftest.$ac_ext <<_ACEOF
37536 --/* confdefs.h. */
37537 --_ACEOF
37538 --cat confdefs.h >>conftest.$ac_ext
37539 --cat >>conftest.$ac_ext <<_ACEOF
37540 --/* end confdefs.h. */
37541 --$ac_includes_default
37542 --#include <sqlite3async.h>
37543 --_ACEOF
37544 --rm -f conftest.$ac_objext
37545 --if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37546 -- (eval $ac_compile) 2>conftest.er1
37547 -+if { (ac_try="$ac_link"
37548 -+case "(($ac_try" in
37549 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37550 -+ *) ac_try_echo=$ac_try;;
37551 -+esac
37552 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37553 -+ (eval "$ac_link") 2>conftest.er1
37554 - ac_status=$?
37555 - grep -v '^ *+' conftest.er1 >conftest.err
37556 - rm -f conftest.er1
37557 - cat conftest.err >&5
37558 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
37559 - (exit $ac_status); } &&
37560 -- { ac_try='test -z "$ac_cxx_werror_flag"
37561 -- || test ! -s conftest.err'
37562 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37563 -- (eval $ac_try) 2>&5
37564 -- ac_status=$?
37565 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
37566 -- (exit $ac_status); }; } &&
37567 -- { ac_try='test -s conftest.$ac_objext'
37568 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37569 -- (eval $ac_try) 2>&5
37570 -- ac_status=$?
37571 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
37572 -- (exit $ac_status); }; }; then
37573 -- ac_header_compiler=yes
37574 --else
37575 -- echo "$as_me: failed program was:" >&5
37576 --sed 's/^/| /' conftest.$ac_ext >&5
37577 --
37578 --ac_header_compiler=no
37579 --fi
37580 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37581 --echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37582 --echo "${ECHO_T}$ac_header_compiler" >&6
37583 --
37584 --# Is the header present?
37585 --echo "$as_me:$LINENO: checking sqlite3async.h presence" >&5
37586 --echo $ECHO_N "checking sqlite3async.h presence... $ECHO_C" >&6
37587 --cat >conftest.$ac_ext <<_ACEOF
37588 --/* confdefs.h. */
37589 --_ACEOF
37590 --cat confdefs.h >>conftest.$ac_ext
37591 --cat >>conftest.$ac_ext <<_ACEOF
37592 --/* end confdefs.h. */
37593 --#include <sqlite3async.h>
37594 --_ACEOF
37595 --if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37596 -- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37597 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37598 -+ { (case "(($ac_try" in
37599 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37600 -+ *) ac_try_echo=$ac_try;;
37601 -+esac
37602 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37603 -+ (eval "$ac_try") 2>&5
37604 - ac_status=$?
37605 -- grep -v '^ *+' conftest.er1 >conftest.err
37606 -- rm -f conftest.er1
37607 -- cat conftest.err >&5
37608 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
37609 -- (exit $ac_status); } >/dev/null; then
37610 -- if test -s conftest.err; then
37611 -- ac_cpp_err=$ac_cxx_preproc_warn_flag
37612 -- ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
37613 -- else
37614 -- ac_cpp_err=
37615 -- fi
37616 --else
37617 -- ac_cpp_err=yes
37618 --fi
37619 --if test -z "$ac_cpp_err"; then
37620 -- ac_header_preproc=yes
37621 -+ (exit $ac_status); }; } &&
37622 -+ { ac_try='test -s conftest$ac_exeext'
37623 -+ { (case "(($ac_try" in
37624 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37625 -+ *) ac_try_echo=$ac_try;;
37626 -+esac
37627 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37628 -+ (eval "$ac_try") 2>&5
37629 -+ ac_status=$?
37630 -+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
37631 -+ (exit $ac_status); }; }; then
37632 -+ ncbi_cv_lib_sge=yes
37633 - else
37634 - echo "$as_me: failed program was:" >&5
37635 - sed 's/^/| /' conftest.$ac_ext >&5
37636 -
37637 -- ac_header_preproc=no
37638 -+ ncbi_cv_lib_sge=no
37639 - fi
37640 --rm -f conftest.err conftest.$ac_ext
37641 --echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37642 --echo "${ECHO_T}$ac_header_preproc" >&6
37643 -
37644 --# So? What about this header?
37645 --case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
37646 -- yes:no: )
37647 -- { echo "$as_me:$LINENO: WARNING: sqlite3async.h: accepted by the compiler, rejected by the preprocessor!" >&5
37648 --echo "$as_me: WARNING: sqlite3async.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
37649 -- { echo "$as_me:$LINENO: WARNING: sqlite3async.h: proceeding with the compiler's result" >&5
37650 --echo "$as_me: WARNING: sqlite3async.h: proceeding with the compiler's result" >&2;}
37651 -- ac_header_preproc=yes
37652 -- ;;
37653 -- no:yes:* )
37654 -- { echo "$as_me:$LINENO: WARNING: sqlite3async.h: present but cannot be compiled" >&5
37655 --echo "$as_me: WARNING: sqlite3async.h: present but cannot be compiled" >&2;}
37656 -- { echo "$as_me:$LINENO: WARNING: sqlite3async.h: check for missing prerequisite headers?" >&5
37657 --echo "$as_me: WARNING: sqlite3async.h: check for missing prerequisite headers?" >&2;}
37658 -- { echo "$as_me:$LINENO: WARNING: sqlite3async.h: see the Autoconf documentation" >&5
37659 --echo "$as_me: WARNING: sqlite3async.h: see the Autoconf documentation" >&2;}
37660 -- { echo "$as_me:$LINENO: WARNING: sqlite3async.h: section \"Present But Cannot Be Compiled\"" >&5
37661 --echo "$as_me: WARNING: sqlite3async.h: section \"Present But Cannot Be Compiled\"" >&2;}
37662 -- { echo "$as_me:$LINENO: WARNING: sqlite3async.h: proceeding with the preprocessor's result" >&5
37663 --echo "$as_me: WARNING: sqlite3async.h: proceeding with the preprocessor's result" >&2;}
37664 -- { echo "$as_me:$LINENO: WARNING: sqlite3async.h: in the future, the compiler will take precedence" >&5
37665 --echo "$as_me: WARNING: sqlite3async.h: in the future, the compiler will take precedence" >&2;}
37666 -- (
37667 -- cat <<\_ASBOX
37668 --## ---------------------------------------- ##
37669 --## Report this to cpp-core@××××××××××××.gov ##
37670 --## ---------------------------------------- ##
37671 --_ASBOX
37672 -- ) |
37673 -- sed "s/^/$as_me: WARNING: /" >&2
37674 -- ;;
37675 --esac
37676 --echo "$as_me:$LINENO: checking for sqlite3async.h" >&5
37677 --echo $ECHO_N "checking for sqlite3async.h... $ECHO_C" >&6
37678 --if test "${ac_cv_header_sqlite3async_h+set}" = set; then
37679 -- echo $ECHO_N "(cached) $ECHO_C" >&6
37680 --else
37681 -- ac_cv_header_sqlite3async_h=$ac_header_preproc
37682 -+rm -f core conftest.err conftest.$ac_objext \
37683 -+ conftest$ac_exeext conftest.$ac_ext
37684 - fi
37685 --echo "$as_me:$LINENO: result: $ac_cv_header_sqlite3async_h" >&5
37686 --echo "${ECHO_T}$ac_cv_header_sqlite3async_h" >&6
37687 --
37688 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_sge" >&5
37689 -+echo "${ECHO_T}$ncbi_cv_lib_sge" >&6; }
37690 -+ if test "$ncbi_cv_lib_sge" = "no"; then
37691 -+ if test "${with_sge:=no}" != no; then
37692 -+ { { echo "$as_me:$LINENO: error: --with-sge explicitly specified, but no usable version found." >&5
37693 -+echo "$as_me: error: --with-sge explicitly specified, but no usable version found." >&2;}
37694 -+ { (exit 1); exit 1; }; }
37695 - fi
37696 --if test $ac_cv_header_sqlite3async_h = yes; then
37697 -+ fi
37698 -+ fi
37699 -+ if test "$with_sge" = "no"; then
37700 -+ SGE_PATH="No_SGE"
37701 -+ SGE_INCLUDE=
37702 -+ SGE_LIBS=
37703 -+ else
37704 -+ WithPackages="$WithPackages${WithPackagesSep}SGE"; WithPackagesSep=" "
37705 -+ SGE_INCLUDE=" $SGE_INCLUDE"
37706 -
37707 - cat >>confdefs.h <<\_ACEOF
37708 --#define HAVE_SQLITE3ASYNC_H 1
37709 -+#define HAVE_LIBSGE 1
37710 - _ACEOF
37711 -
37712 -- WithPackages="$WithPackages${WithPackagesSep}SQLITE3ASYNC"; WithPackagesSep=" "
37713 - fi
37714 -
37715 -
37716 -- LIBS="$SQLITE3_LIBS $orig_LIBS"
37717 -
37718 --for ac_func in sqlite3_unlock_notify
37719 --do
37720 --as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37721 --echo "$as_me:$LINENO: checking for $ac_func" >&5
37722 --echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37723 --if eval "test \"\${$as_ac_var+set}\" = set"; then
37724 -+
37725 -+
37726 -+### muParser
37727 -+case "$with_muparser" in
37728 -+ yes | '' ) ;;
37729 -+ * ) MUPARSER_PATH=$with_muparser ;;
37730 -+esac
37731 -+
37732 -+if test -d "$MUPARSER_PATH"; then
37733 -+ ncbi_fix_dir_tmp=`if cd $MUPARSER_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
37734 -+ case "$ncbi_fix_dir_tmp" in
37735 -+ /.*) ncbi_fix_dir_tmp2=`cd $MUPARSER_PATH && $smart_pwd 2>/dev/null`
37736 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
37737 -+ MUPARSER_PATH=$ncbi_fix_dir_tmp2
37738 -+ else
37739 -+ case "$MUPARSER_PATH" in
37740 -+ /*) ;;
37741 -+ * ) MUPARSER_PATH=$ncbi_fix_dir_tmp ;;
37742 -+ esac
37743 -+ fi
37744 -+ ;;
37745 -+ /*) MUPARSER_PATH=$ncbi_fix_dir_tmp ;;
37746 -+ esac
37747 -+fi
37748 -+if test -d "$MUPARSER_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}/lib"; then
37749 -+ MUPARSER_LIBPATH=-L$MUPARSER_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}/lib
37750 -+elif test -d "$MUPARSER_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}/lib"; then
37751 -+ MUPARSER_LIBPATH=-L$MUPARSER_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}/lib
37752 -+fi
37753 -+
37754 -+if test "$with_muparser" != "no"; then
37755 -+ case "$with_muparser" in
37756 -+ yes | "" ) ;;
37757 -+ * ) MUPARSER_PATH=$with_muparser ;;
37758 -+ esac
37759 -+ if test -d "$MUPARSER_PATH"; then
37760 -+ in_path=" in $MUPARSER_PATH"
37761 -+ if test -z "$MUPARSER_INCLUDE" -a -d "$MUPARSER_PATH/include"; then
37762 -+ MUPARSER_INCLUDE="-I$MUPARSER_PATH/include"
37763 -+ fi
37764 -+ if test -n "$MUPARSER_LIBPATH"; then
37765 -+ :
37766 -+ elif test -d "$MUPARSER_PATH/lib${bit64_sfx}"; then
37767 -+ ncbi_rp_L_flags=
37768 -+ ncbi_rp_L_sep=$CONF_f_libpath
37769 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
37770 -+ for x in $MUPARSER_PATH/lib${bit64_sfx}; do
37771 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37772 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
37773 -+ done
37774 -+ MUPARSER_LIBPATH="${ncbi_rp_L_flags}"
37775 -+ else
37776 -+ ncbi_rp_R_flags=
37777 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
37778 -+ for x in $MUPARSER_PATH/lib${bit64_sfx}; do
37779 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37780 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
37781 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
37782 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
37783 -+ ncbi_rp_R_sep=:
37784 -+ done
37785 -+ MUPARSER_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
37786 -+ fi
37787 -+ elif test -d "$MUPARSER_PATH/lib"; then
37788 -+ ncbi_rp_L_flags=
37789 -+ ncbi_rp_L_sep=$CONF_f_libpath
37790 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
37791 -+ for x in $MUPARSER_PATH/lib; do
37792 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37793 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
37794 -+ done
37795 -+ MUPARSER_LIBPATH="${ncbi_rp_L_flags}"
37796 -+ else
37797 -+ ncbi_rp_R_flags=
37798 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
37799 -+ for x in $MUPARSER_PATH/lib; do
37800 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
37801 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
37802 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
37803 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
37804 -+ ncbi_rp_R_sep=:
37805 -+ done
37806 -+ MUPARSER_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
37807 -+ fi
37808 -+ fi
37809 -+ MUPARSER_LIBS="$MUPARSER_LIBPATH -lmuparser "
37810 -+ else
37811 -+ MUPARSER_INCLUDE=""
37812 -+ MUPARSER_LIBS="-lmuparser "
37813 -+ in_path=
37814 -+ fi
37815 -+ { echo "$as_me:$LINENO: checking for libmuparser$in_path" >&5
37816 -+echo $ECHO_N "checking for libmuparser$in_path... $ECHO_C" >&6; }
37817 -+if test "${ncbi_cv_lib_muparser+set}" = set; then
37818 - echo $ECHO_N "(cached) $ECHO_C" >&6
37819 - else
37820 -+ CPPFLAGS=" $MUPARSER_INCLUDE $orig_CPPFLAGS"
37821 -+ LIBS="$MUPARSER_LIBS $orig_LIBS"
37822 - cat >conftest.$ac_ext <<_ACEOF
37823 - /* confdefs.h. */
37824 - _ACEOF
37825 - cat confdefs.h >>conftest.$ac_ext
37826 - cat >>conftest.$ac_ext <<_ACEOF
37827 - /* end confdefs.h. */
37828 --/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37829 -- For example, HP-UX 11i <limits.h> declares gettimeofday. */
37830 --#define $ac_func innocuous_$ac_func
37831 --
37832 --/* System header to define __stub macros and hopefully few prototypes,
37833 -- which can conflict with char $ac_func (); below.
37834 -- Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37835 -- <limits.h> exists even on freestanding compilers. */
37836 --
37837 --#ifdef __STDC__
37838 --# include <limits.h>
37839 --#else
37840 --# include <assert.h>
37841 --#endif
37842 --
37843 --#undef $ac_func
37844 --
37845 --/* Override any gcc2 internal prototype to avoid an error. */
37846 --#ifdef __cplusplus
37847 --extern "C"
37848 --{
37849 --#endif
37850 --/* We use char because int might match the return type of a gcc2
37851 -- builtin and then its argument prototype would still apply. */
37852 --char $ac_func ();
37853 --/* The GNU C library defines this for functions which it implements
37854 -- to always fail with ENOSYS. Some functions are actually named
37855 -- something starting with __ and the normal name is an alias. */
37856 --#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37857 --choke me
37858 --#else
37859 --char (*f) () = $ac_func;
37860 --#endif
37861 --#ifdef __cplusplus
37862 --}
37863 --#endif
37864 --
37865 -+#include <muParser.h>
37866 - int
37867 - main ()
37868 - {
37869 --return f != $ac_func;
37870 -+mu::Parser parser;
37871 - ;
37872 - return 0;
37873 - }
37874 - _ACEOF
37875 - rm -f conftest.$ac_objext conftest$ac_exeext
37876 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37877 -- (eval $ac_link) 2>conftest.er1
37878 -+if { (ac_try="$ac_link"
37879 -+case "(($ac_try" in
37880 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37881 -+ *) ac_try_echo=$ac_try;;
37882 -+esac
37883 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37884 -+ (eval "$ac_link") 2>conftest.er1
37885 - ac_status=$?
37886 - grep -v '^ *+' conftest.er1 >conftest.err
37887 - rm -f conftest.er1
37888 - cat conftest.err >&5
37889 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
37890 - (exit $ac_status); } &&
37891 -- { ac_try='test -z "$ac_cxx_werror_flag"
37892 -- || test ! -s conftest.err'
37893 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37894 -- (eval $ac_try) 2>&5
37895 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37896 -+ { (case "(($ac_try" in
37897 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37898 -+ *) ac_try_echo=$ac_try;;
37899 -+esac
37900 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37901 -+ (eval "$ac_try") 2>&5
37902 - ac_status=$?
37903 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
37904 - (exit $ac_status); }; } &&
37905 - { ac_try='test -s conftest$ac_exeext'
37906 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37907 -- (eval $ac_try) 2>&5
37908 -+ { (case "(($ac_try" in
37909 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37910 -+ *) ac_try_echo=$ac_try;;
37911 -+esac
37912 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37913 -+ (eval "$ac_try") 2>&5
37914 - ac_status=$?
37915 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
37916 - (exit $ac_status); }; }; then
37917 -- eval "$as_ac_var=yes"
37918 -+ ncbi_cv_lib_muparser=yes
37919 - else
37920 - echo "$as_me: failed program was:" >&5
37921 - sed 's/^/| /' conftest.$ac_ext >&5
37922 -
37923 --eval "$as_ac_var=no"
37924 -+ ncbi_cv_lib_muparser=no
37925 - fi
37926 --rm -f conftest.err conftest.$ac_objext \
37927 -+
37928 -+rm -f core conftest.err conftest.$ac_objext \
37929 - conftest$ac_exeext conftest.$ac_ext
37930 - fi
37931 --echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37932 --echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37933 --if test `eval echo '${'$as_ac_var'}'` = yes; then
37934 -- cat >>confdefs.h <<_ACEOF
37935 --#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37936 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_muparser" >&5
37937 -+echo "${ECHO_T}$ncbi_cv_lib_muparser" >&6; }
37938 -+ if test "$ncbi_cv_lib_muparser" = "no"; then
37939 -+ if test "${with_muparser:=no}" != no; then
37940 -+ { { echo "$as_me:$LINENO: error: --with-muparser explicitly specified, but no usable version found." >&5
37941 -+echo "$as_me: error: --with-muparser explicitly specified, but no usable version found." >&2;}
37942 -+ { (exit 1); exit 1; }; }
37943 -+ fi
37944 -+ fi
37945 -+ fi
37946 -+ if test "$with_muparser" = "no"; then
37947 -+ MUPARSER_PATH="No_MUPARSER"
37948 -+ MUPARSER_INCLUDE=
37949 -+ MUPARSER_LIBS=
37950 -+ else
37951 -+ WithPackages="$WithPackages${WithPackagesSep}MUPARSER"; WithPackagesSep=" "
37952 -+ MUPARSER_INCLUDE=" $MUPARSER_INCLUDE"
37953 -+
37954 -+cat >>confdefs.h <<\_ACEOF
37955 -+#define HAVE_LIBMUPARSER 1
37956 - _ACEOF
37957 -
37958 - fi
37959 --done
37960 -
37961 -+
37962 -+
37963 -+
37964 -+
37965 -+### hdf5
37966 -+case "$with_hdf5" in
37967 -+ yes | '' ) ;;
37968 -+ * ) HDF5_PATH=$with_hdf5 ;;
37969 -+esac
37970 -+
37971 -+if test -d "$HDF5_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}"; then
37972 -+ HDF5_PATH=$HDF5_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}
37973 -+elif test -d "$HDF5_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}"; then
37974 -+ HDF5_PATH=$HDF5_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}
37975 - fi
37976 --if test -n "$SQLITE3_LIBS" -a -f "$SQLITE3_LIBDIR/libsqlite3-static.a"; then
37977 -- SQLITE3_STATIC_LIBS="-L$SQLITE3_LIBDIR -lsqlite3-static"
37978 -+if test -d "$HDF5_PATH"; then
37979 -+ ncbi_fix_dir_tmp=`if cd $HDF5_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
37980 -+ case "$ncbi_fix_dir_tmp" in
37981 -+ /.*) ncbi_fix_dir_tmp2=`cd $HDF5_PATH && $smart_pwd 2>/dev/null`
37982 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
37983 -+ HDF5_PATH=$ncbi_fix_dir_tmp2
37984 - else
37985 -- SQLITE3_STATIC_LIBS=$SQLITE3_LIBS
37986 -+ case "$HDF5_PATH" in
37987 -+ /*) ;;
37988 -+ * ) HDF5_PATH=$ncbi_fix_dir_tmp ;;
37989 -+ esac
37990 -+ fi
37991 -+ ;;
37992 -+ /*) HDF5_PATH=$ncbi_fix_dir_tmp ;;
37993 -+ esac
37994 - fi
37995 -
37996 --
37997 --### OEChem
37998 --# somewhat kludgish, as we now wanto to add in oeiupac and oedepict,
37999 --# which depend on oechem....
38000 --: ${OECHEM_PATH=$NCBI/oechem}
38001 --if test "$with_oechem" != "no"; then
38002 -- case "$with_oechem" in
38003 -+if test "$with_hdf5" != "no"; then
38004 -+ case "$with_hdf5" in
38005 - yes | "" ) ;;
38006 -- * ) OECHEM_PATH=$with_oechem ;;
38007 -+ * ) HDF5_PATH=$with_hdf5 ;;
38008 - esac
38009 -- if test -d "$OECHEM_PATH"; then
38010 -- in_path=" in $OECHEM_PATH"
38011 -- if test -z "$OECHEM_INCLUDE" -a -d "$OECHEM_PATH/include"; then
38012 -- OECHEM_INCLUDE="-I$OECHEM_PATH/include"
38013 -+ if test -d "$HDF5_PATH"; then
38014 -+ in_path=" in $HDF5_PATH"
38015 -+ if test -z "$HDF5_INCLUDE" -a -d "$HDF5_PATH/include"; then
38016 -+ HDF5_INCLUDE="-I$HDF5_PATH/include"
38017 - fi
38018 -- if test -n "$OECHEM_LIBPATH"; then
38019 -+ if test -n "$HDF5_LIBPATH"; then
38020 - :
38021 -- elif test -d "$OECHEM_PATH/lib${bit64_sfx}"; then
38022 -+ elif test -d "$HDF5_PATH/lib${bit64_sfx}"; then
38023 - ncbi_rp_L_flags=
38024 - ncbi_rp_L_sep=$CONF_f_libpath
38025 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
38026 -- for x in $OECHEM_PATH/lib${bit64_sfx}; do
38027 -+ for x in $HDF5_PATH/lib${bit64_sfx}; do
38028 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38029 - ncbi_rp_L_sep=" $CONF_f_libpath"
38030 - done
38031 -- OECHEM_LIBPATH="${ncbi_rp_L_flags}"
38032 -+ HDF5_LIBPATH="${ncbi_rp_L_flags}"
38033 - else
38034 - ncbi_rp_R_flags=
38035 - ncbi_rp_R_sep=" $CONF_f_runpath"
38036 -- for x in $OECHEM_PATH/lib${bit64_sfx}; do
38037 -+ for x in $HDF5_PATH/lib${bit64_sfx}; do
38038 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38039 - ncbi_rp_L_sep=" $CONF_f_libpath"
38040 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
38041 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
38042 - ncbi_rp_R_sep=:
38043 - done
38044 -- OECHEM_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
38045 -+ HDF5_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
38046 - fi
38047 -- elif test -d "$OECHEM_PATH/lib"; then
38048 -+ elif test -d "$HDF5_PATH/lib"; then
38049 - ncbi_rp_L_flags=
38050 - ncbi_rp_L_sep=$CONF_f_libpath
38051 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
38052 -- for x in $OECHEM_PATH/lib; do
38053 -+ for x in $HDF5_PATH/lib; do
38054 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38055 - ncbi_rp_L_sep=" $CONF_f_libpath"
38056 - done
38057 -- OECHEM_LIBPATH="${ncbi_rp_L_flags}"
38058 -+ HDF5_LIBPATH="${ncbi_rp_L_flags}"
38059 - else
38060 - ncbi_rp_R_flags=
38061 - ncbi_rp_R_sep=" $CONF_f_runpath"
38062 -- for x in $OECHEM_PATH/lib; do
38063 -+ for x in $HDF5_PATH/lib; do
38064 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38065 - ncbi_rp_L_sep=" $CONF_f_libpath"
38066 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
38067 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
38068 - ncbi_rp_R_sep=:
38069 - done
38070 -- OECHEM_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
38071 -+ HDF5_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
38072 - fi
38073 - fi
38074 -- OECHEM_LIBS="$OECHEM_LIBPATH -loechem -loeiupac -loedepict -loechem -loesystem -loeplatform -lz"
38075 -+ HDF5_LIBS="$HDF5_LIBPATH -lhdf5_cpp -lhdf5"
38076 - else
38077 -- OECHEM_INCLUDE=""
38078 -- OECHEM_LIBS="-loechem -loeiupac -loedepict -loechem -loesystem -loeplatform -lz"
38079 -+ HDF5_INCLUDE=""
38080 -+ HDF5_LIBS="-lhdf5_cpp -lhdf5"
38081 - in_path=
38082 - fi
38083 -- echo "$as_me:$LINENO: checking for liboechem$in_path" >&5
38084 --echo $ECHO_N "checking for liboechem$in_path... $ECHO_C" >&6
38085 --if test "${ncbi_cv_lib_oechem+set}" = set; then
38086 -+ { echo "$as_me:$LINENO: checking for libhdf5_cpp$in_path" >&5
38087 -+echo $ECHO_N "checking for libhdf5_cpp$in_path... $ECHO_C" >&6; }
38088 -+if test "${ncbi_cv_lib_hdf5+set}" = set; then
38089 - echo $ECHO_N "(cached) $ECHO_C" >&6
38090 - else
38091 -- CPPFLAGS=" $OECHEM_INCLUDE $orig_CPPFLAGS"
38092 -- LIBS="$OECHEM_LIBS $NETWORK_LIBS $orig_LIBS"
38093 -+ CPPFLAGS=" $HDF5_INCLUDE $orig_CPPFLAGS"
38094 -+ LIBS="$HDF5_LIBS $orig_LIBS"
38095 - cat >conftest.$ac_ext <<_ACEOF
38096 - /* confdefs.h. */
38097 - _ACEOF
38098 - cat confdefs.h >>conftest.$ac_ext
38099 - cat >>conftest.$ac_ext <<_ACEOF
38100 - /* end confdefs.h. */
38101 --#include <oechem.h>
38102 -+#include <H5Cpp.h>
38103 - int
38104 - main ()
38105 - {
38106 --OEChem::OEMol mol; OEChem::OEConfBase* c = mol.GetActive();
38107 -+H5::H5Library::open();
38108 - ;
38109 - return 0;
38110 - }
38111 - _ACEOF
38112 - rm -f conftest.$ac_objext conftest$ac_exeext
38113 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38114 -- (eval $ac_link) 2>conftest.er1
38115 -+if { (ac_try="$ac_link"
38116 -+case "(($ac_try" in
38117 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38118 -+ *) ac_try_echo=$ac_try;;
38119 -+esac
38120 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38121 -+ (eval "$ac_link") 2>conftest.er1
38122 - ac_status=$?
38123 - grep -v '^ *+' conftest.er1 >conftest.err
38124 - rm -f conftest.er1
38125 - cat conftest.err >&5
38126 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
38127 - (exit $ac_status); } &&
38128 -- { ac_try='test -z "$ac_cxx_werror_flag"
38129 -- || test ! -s conftest.err'
38130 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38131 -- (eval $ac_try) 2>&5
38132 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38133 -+ { (case "(($ac_try" in
38134 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38135 -+ *) ac_try_echo=$ac_try;;
38136 -+esac
38137 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38138 -+ (eval "$ac_try") 2>&5
38139 - ac_status=$?
38140 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
38141 - (exit $ac_status); }; } &&
38142 - { ac_try='test -s conftest$ac_exeext'
38143 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38144 -- (eval $ac_try) 2>&5
38145 -+ { (case "(($ac_try" in
38146 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38147 -+ *) ac_try_echo=$ac_try;;
38148 -+esac
38149 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38150 -+ (eval "$ac_try") 2>&5
38151 - ac_status=$?
38152 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
38153 - (exit $ac_status); }; }; then
38154 -- ncbi_cv_lib_oechem=yes
38155 -+ ncbi_cv_lib_hdf5=yes
38156 - else
38157 - echo "$as_me: failed program was:" >&5
38158 - sed 's/^/| /' conftest.$ac_ext >&5
38159 -
38160 --ncbi_cv_lib_oechem=no
38161 -+ ncbi_cv_lib_hdf5=no
38162 - fi
38163 --rm -f conftest.err conftest.$ac_objext \
38164 -+
38165 -+rm -f core conftest.err conftest.$ac_objext \
38166 - conftest$ac_exeext conftest.$ac_ext
38167 - fi
38168 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_oechem" >&5
38169 --echo "${ECHO_T}$ncbi_cv_lib_oechem" >&6
38170 -- if test "$ncbi_cv_lib_oechem" = "no"; then
38171 -- if test "${with_oechem:=no}" != no; then
38172 -- { { echo "$as_me:$LINENO: error: --with-oechem explicitly specified, but no usable version found." >&5
38173 --echo "$as_me: error: --with-oechem explicitly specified, but no usable version found." >&2;}
38174 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_hdf5" >&5
38175 -+echo "${ECHO_T}$ncbi_cv_lib_hdf5" >&6; }
38176 -+ if test "$ncbi_cv_lib_hdf5" = "no"; then
38177 -+ if test "${with_hdf5:=no}" != no; then
38178 -+ { { echo "$as_me:$LINENO: error: --with-hdf5 explicitly specified, but no usable version found." >&5
38179 -+echo "$as_me: error: --with-hdf5 explicitly specified, but no usable version found." >&2;}
38180 - { (exit 1); exit 1; }; }
38181 - fi
38182 - fi
38183 - fi
38184 -- if test "$with_oechem" = "no"; then
38185 -- OECHEM_PATH="No_OECHEM"
38186 -- OECHEM_INCLUDE=
38187 -- OECHEM_LIBS=
38188 -+ if test "$with_hdf5" = "no"; then
38189 -+ HDF5_PATH="No_HDF5"
38190 -+ HDF5_INCLUDE=
38191 -+ HDF5_LIBS=
38192 - else
38193 -- WithPackages="$WithPackages${WithPackagesSep}OECHEM"; WithPackagesSep=" "
38194 -- OECHEM_INCLUDE=" $OECHEM_INCLUDE"
38195 -+ WithPackages="$WithPackages${WithPackagesSep}HDF5"; WithPackagesSep=" "
38196 -+ HDF5_INCLUDE=" $HDF5_INCLUDE"
38197 -
38198 - cat >>confdefs.h <<\_ACEOF
38199 --#define HAVE_LIBOECHEM 1
38200 -+#define HAVE_LIBHDF5 1
38201 - _ACEOF
38202 -
38203 - fi
38204 -
38205 -
38206 -
38207 --if test -n "$OECHEM_LIBS"; then
38208 -- OECHEM_LIBS=`echo $OECHEM_LIBS | sed -e 's/-loechem \(.*-loechem .*\)/\1/'`
38209 --fi
38210 --test -d SunWS_cache && rm -r SunWS_cache
38211 -
38212 -
38213 --### Sun/Univa Grid Engine
38214 --case "$with_sge" in
38215 -- yes | "" ) ;;
38216 -- * ) SGE_PATH=$with_sge ;;
38217 --esac
38218 --if test -d "$SGE_PATH" -a -z "$SGE_LIBPATH"; then
38219 -- case "$host:$NCBI_PLATFORM_BITS" in
38220 -- i?86-*-darwin* ) SGE_PLATFORMS='darwin-x86' ;;
38221 -- i?86-*-linux* ) SGE_PLATFORMS='lx24-x86 lx-x86' ;;
38222 -- i?86-*-solaris*:32 ) SGE_PLATFORMS='sol-x86' ;;
38223 -- i?86-*-solaris*:64 ) SGE_PLATFORMS='sol-amd64' ;;
38224 -- powerpc-*-darwin* ) SGE_PLATFORMS='darwin-ppc' ;;
38225 -- sparc-*-solaris*:32 ) SGE_PLATFORMS='sol-sparc' ;;
38226 -- sparc-*-solaris*:64 ) SGE_PLATFORMS='sol-sparc64' ;;
38227 -- x86_64-*-linux* ) SGE_PLATFORMS='lx24-amd64 lx-amd64' ;;
38228 -- esac
38229 -- for x in $SGE_PLATFORMS; do
38230 -- if test -d "$SGE_PATH/lib/$x"; then
38231 -- SGE_LIBPATH="$SGE_PATH/lib/$x"
38232 -- break
38233 -- fi
38234 -- done
38235 -- ncbi_rp_L_flags=
38236 -- ncbi_rp_L_sep=$CONF_f_libpath
38237 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
38238 -- for x in $SGE_LIBPATH; do
38239 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38240 -- ncbi_rp_L_sep=" $CONF_f_libpath"
38241 -- done
38242 -- SGE_LIBPATH="${ncbi_rp_L_flags}"
38243 -- else
38244 -- ncbi_rp_R_flags=
38245 -- ncbi_rp_R_sep=" $CONF_f_runpath"
38246 -- for x in $SGE_LIBPATH; do
38247 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38248 -- ncbi_rp_L_sep=" $CONF_f_libpath"
38249 -- x=`echo $x | sed -e "$ncbi_rpath_sed"`
38250 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
38251 -- ncbi_rp_R_sep=:
38252 -- done
38253 -- SGE_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
38254 -- fi
38255 --fi
38256 --if test "$with_sge" != "no"; then
38257 -- case "$with_sge" in
38258 -+### Image libraries
38259 -+# : ${JPEG_PATH=/usr/sfw}
38260 -+# Grr... jpeglib.h isn't especially well-behaved.
38261 -+if test "$with_jpeg" != "no"; then
38262 -+ case "$with_jpeg" in
38263 - yes | "" ) ;;
38264 -- * ) SGE_PATH=$with_sge ;;
38265 -+ * ) JPEG_PATH=$with_jpeg ;;
38266 - esac
38267 -- if test -d "$SGE_PATH"; then
38268 -- in_path=" in $SGE_PATH"
38269 -- if test -z "$SGE_INCLUDE" -a -d "$SGE_PATH/include"; then
38270 -- SGE_INCLUDE="-I$SGE_PATH/include"
38271 -+ if test -d "$JPEG_PATH"; then
38272 -+ in_path=" in $JPEG_PATH"
38273 -+ if test -z "$JPEG_INCLUDE" -a -d "$JPEG_PATH/include"; then
38274 -+ JPEG_INCLUDE="-I$JPEG_PATH/include"
38275 - fi
38276 -- if test -n "$SGE_LIBPATH"; then
38277 -+ if test -n "$JPEG_LIBPATH"; then
38278 - :
38279 -- elif test -d "$SGE_PATH/lib${bit64_sfx}"; then
38280 -+ elif test -d "$JPEG_PATH/lib${bit64_sfx}"; then
38281 - ncbi_rp_L_flags=
38282 - ncbi_rp_L_sep=$CONF_f_libpath
38283 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
38284 -- for x in $SGE_PATH/lib${bit64_sfx}; do
38285 -+ for x in $JPEG_PATH/lib${bit64_sfx}; do
38286 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38287 - ncbi_rp_L_sep=" $CONF_f_libpath"
38288 - done
38289 -- SGE_LIBPATH="${ncbi_rp_L_flags}"
38290 -+ JPEG_LIBPATH="${ncbi_rp_L_flags}"
38291 - else
38292 - ncbi_rp_R_flags=
38293 - ncbi_rp_R_sep=" $CONF_f_runpath"
38294 -- for x in $SGE_PATH/lib${bit64_sfx}; do
38295 -+ for x in $JPEG_PATH/lib${bit64_sfx}; do
38296 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38297 - ncbi_rp_L_sep=" $CONF_f_libpath"
38298 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
38299 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
38300 - ncbi_rp_R_sep=:
38301 - done
38302 -- SGE_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
38303 -+ JPEG_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
38304 - fi
38305 -- elif test -d "$SGE_PATH/lib"; then
38306 -+ elif test -d "$JPEG_PATH/lib"; then
38307 - ncbi_rp_L_flags=
38308 - ncbi_rp_L_sep=$CONF_f_libpath
38309 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
38310 -- for x in $SGE_PATH/lib; do
38311 -+ for x in $JPEG_PATH/lib; do
38312 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38313 - ncbi_rp_L_sep=" $CONF_f_libpath"
38314 - done
38315 -- SGE_LIBPATH="${ncbi_rp_L_flags}"
38316 -+ JPEG_LIBPATH="${ncbi_rp_L_flags}"
38317 - else
38318 - ncbi_rp_R_flags=
38319 - ncbi_rp_R_sep=" $CONF_f_runpath"
38320 -- for x in $SGE_PATH/lib; do
38321 -+ for x in $JPEG_PATH/lib; do
38322 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38323 - ncbi_rp_L_sep=" $CONF_f_libpath"
38324 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
38325 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
38326 - ncbi_rp_R_sep=:
38327 - done
38328 -- SGE_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
38329 -+ JPEG_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
38330 - fi
38331 - fi
38332 -- SGE_LIBS="$SGE_LIBPATH -ldrmaa "
38333 -+ JPEG_LIBS="$JPEG_LIBPATH -ljpeg "
38334 - else
38335 -- SGE_INCLUDE=""
38336 -- SGE_LIBS="-ldrmaa "
38337 -+ JPEG_INCLUDE=""
38338 -+ JPEG_LIBS="-ljpeg "
38339 - in_path=
38340 - fi
38341 -- echo "$as_me:$LINENO: checking for libdrmaa$in_path" >&5
38342 --echo $ECHO_N "checking for libdrmaa$in_path... $ECHO_C" >&6
38343 --if test "${ncbi_cv_lib_sge+set}" = set; then
38344 -+ { echo "$as_me:$LINENO: checking for libjpeg$in_path" >&5
38345 -+echo $ECHO_N "checking for libjpeg$in_path... $ECHO_C" >&6; }
38346 -+if test "${ncbi_cv_lib_jpeg+set}" = set; then
38347 - echo $ECHO_N "(cached) $ECHO_C" >&6
38348 - else
38349 -- CPPFLAGS=" $SGE_INCLUDE $orig_CPPFLAGS"
38350 -- LIBS="$SGE_LIBS $orig_LIBS"
38351 -+ CPPFLAGS=" $JPEG_INCLUDE $orig_CPPFLAGS"
38352 -+ LIBS="$JPEG_LIBS $orig_LIBS"
38353 - cat >conftest.$ac_ext <<_ACEOF
38354 - /* confdefs.h. */
38355 - _ACEOF
38356 -@@ -31964,67 +36915,86 @@
38357 - cat >>conftest.$ac_ext <<_ACEOF
38358 - /* end confdefs.h. */
38359 - #include <sys/types.h>
38360 -- #include <drmaa.h>
38361 -+ #include <stdio.h>
38362 -+ extern "C" {
38363 -+ #include <jpeglib.h>
38364 -+ }
38365 - int
38366 - main ()
38367 - {
38368 --char buf[1024]; drmaa_init("SGE", buf, sizeof(buf));
38369 -+struct jpeg_decompress_struct cinfo;
38370 -+ struct jpeg_error_mgr jerr;
38371 -+ cinfo.err = jpeg_std_error(&jerr);
38372 -+
38373 - ;
38374 - return 0;
38375 - }
38376 - _ACEOF
38377 - rm -f conftest.$ac_objext conftest$ac_exeext
38378 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38379 -- (eval $ac_link) 2>conftest.er1
38380 -+if { (ac_try="$ac_link"
38381 -+case "(($ac_try" in
38382 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38383 -+ *) ac_try_echo=$ac_try;;
38384 -+esac
38385 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38386 -+ (eval "$ac_link") 2>conftest.er1
38387 - ac_status=$?
38388 - grep -v '^ *+' conftest.er1 >conftest.err
38389 - rm -f conftest.er1
38390 - cat conftest.err >&5
38391 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
38392 - (exit $ac_status); } &&
38393 -- { ac_try='test -z "$ac_cxx_werror_flag"
38394 -- || test ! -s conftest.err'
38395 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38396 -- (eval $ac_try) 2>&5
38397 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38398 -+ { (case "(($ac_try" in
38399 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38400 -+ *) ac_try_echo=$ac_try;;
38401 -+esac
38402 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38403 -+ (eval "$ac_try") 2>&5
38404 - ac_status=$?
38405 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
38406 - (exit $ac_status); }; } &&
38407 - { ac_try='test -s conftest$ac_exeext'
38408 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38409 -- (eval $ac_try) 2>&5
38410 -+ { (case "(($ac_try" in
38411 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38412 -+ *) ac_try_echo=$ac_try;;
38413 -+esac
38414 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38415 -+ (eval "$ac_try") 2>&5
38416 - ac_status=$?
38417 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
38418 - (exit $ac_status); }; }; then
38419 -- ncbi_cv_lib_sge=yes
38420 -+ ncbi_cv_lib_jpeg=yes
38421 - else
38422 - echo "$as_me: failed program was:" >&5
38423 - sed 's/^/| /' conftest.$ac_ext >&5
38424 -
38425 --ncbi_cv_lib_sge=no
38426 -+ ncbi_cv_lib_jpeg=no
38427 - fi
38428 --rm -f conftest.err conftest.$ac_objext \
38429 -+
38430 -+rm -f core conftest.err conftest.$ac_objext \
38431 - conftest$ac_exeext conftest.$ac_ext
38432 - fi
38433 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_sge" >&5
38434 --echo "${ECHO_T}$ncbi_cv_lib_sge" >&6
38435 -- if test "$ncbi_cv_lib_sge" = "no"; then
38436 -- if test "${with_sge:=no}" != no; then
38437 -- { { echo "$as_me:$LINENO: error: --with-sge explicitly specified, but no usable version found." >&5
38438 --echo "$as_me: error: --with-sge explicitly specified, but no usable version found." >&2;}
38439 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_jpeg" >&5
38440 -+echo "${ECHO_T}$ncbi_cv_lib_jpeg" >&6; }
38441 -+ if test "$ncbi_cv_lib_jpeg" = "no"; then
38442 -+ if test "${with_jpeg:=no}" != no; then
38443 -+ { { echo "$as_me:$LINENO: error: --with-jpeg explicitly specified, but no usable version found." >&5
38444 -+echo "$as_me: error: --with-jpeg explicitly specified, but no usable version found." >&2;}
38445 - { (exit 1); exit 1; }; }
38446 - fi
38447 - fi
38448 - fi
38449 -- if test "$with_sge" = "no"; then
38450 -- SGE_PATH="No_SGE"
38451 -- SGE_INCLUDE=
38452 -- SGE_LIBS=
38453 -+ if test "$with_jpeg" = "no"; then
38454 -+ JPEG_PATH="No_JPEG"
38455 -+ JPEG_INCLUDE=
38456 -+ JPEG_LIBS=
38457 - else
38458 -- WithPackages="$WithPackages${WithPackagesSep}SGE"; WithPackagesSep=" "
38459 -- SGE_INCLUDE=" $SGE_INCLUDE"
38460 -+ WithPackages="$WithPackages${WithPackagesSep}JPEG"; WithPackagesSep=" "
38461 -+ JPEG_INCLUDE=" $JPEG_INCLUDE"
38462 -
38463 - cat >>confdefs.h <<\_ACEOF
38464 --#define HAVE_LIBSGE 1
38465 -+#define HAVE_LIBJPEG 1
38466 - _ACEOF
38467 -
38468 - fi
38469 -@@ -32032,170 +37002,157 @@
38470 -
38471 -
38472 -
38473 --
38474 --### muParser
38475 --case "$with_muparser" in
38476 -- yes | '' ) : ${MUPARSER_PATH=$NCBI/muParser} ;;
38477 -- * ) MUPARSER_PATH=$with_muparser ;;
38478 --esac
38479 --
38480 --if test -d "$MUPARSER_PATH"; then
38481 -- ncbi_fix_dir_tmp=`if cd $MUPARSER_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
38482 -- case "$ncbi_fix_dir_tmp" in
38483 -- /.*) ncbi_fix_dir_tmp2=`cd $MUPARSER_PATH && $smart_pwd 2>/dev/null`
38484 -- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
38485 -- MUPARSER_PATH=$ncbi_fix_dir_tmp2
38486 -- else
38487 -- case "$MUPARSER_PATH" in
38488 -- /*) ;;
38489 -- * ) MUPARSER_PATH=$ncbi_fix_dir_tmp ;;
38490 -- esac
38491 -- fi
38492 -- ;;
38493 -- /*) MUPARSER_PATH=$ncbi_fix_dir_tmp ;;
38494 -- esac
38495 --fi
38496 --if test -d "$MUPARSER_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}/lib"; then
38497 -- MUPARSER_LIBPATH=-L$MUPARSER_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}/lib
38498 --elif test -d "$MUPARSER_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}/lib"; then
38499 -- MUPARSER_LIBPATH=-L$MUPARSER_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}/lib
38500 --fi
38501 --
38502 --if test "$with_muparser" != "no"; then
38503 -- case "$with_muparser" in
38504 -+# : ${PNG_PATH=/usr/sfw}
38505 -+if test "$with_png" != "no"; then
38506 -+ case "$with_png" in
38507 - yes | "" ) ;;
38508 -- * ) MUPARSER_PATH=$with_muparser ;;
38509 -+ * ) PNG_PATH=$with_png ;;
38510 - esac
38511 -- if test -d "$MUPARSER_PATH"; then
38512 -- in_path=" in $MUPARSER_PATH"
38513 -- if test -z "$MUPARSER_INCLUDE" -a -d "$MUPARSER_PATH/include"; then
38514 -- MUPARSER_INCLUDE="-I$MUPARSER_PATH/include"
38515 -+ if test -d "$PNG_PATH"; then
38516 -+ in_path=" in $PNG_PATH"
38517 -+ if test -z "$PNG_INCLUDE" -a -d "$PNG_PATH/include"; then
38518 -+ PNG_INCLUDE="-I$PNG_PATH/include"
38519 - fi
38520 -- if test -n "$MUPARSER_LIBPATH"; then
38521 -+ if test -n "$PNG_LIBPATH"; then
38522 - :
38523 -- elif test -d "$MUPARSER_PATH/lib${bit64_sfx}"; then
38524 -+ elif test -d "$PNG_PATH/lib${bit64_sfx}"; then
38525 - ncbi_rp_L_flags=
38526 - ncbi_rp_L_sep=$CONF_f_libpath
38527 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
38528 -- for x in $MUPARSER_PATH/lib${bit64_sfx}; do
38529 -+ for x in $PNG_PATH/lib${bit64_sfx}; do
38530 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38531 - ncbi_rp_L_sep=" $CONF_f_libpath"
38532 - done
38533 -- MUPARSER_LIBPATH="${ncbi_rp_L_flags}"
38534 -+ PNG_LIBPATH="${ncbi_rp_L_flags}"
38535 - else
38536 - ncbi_rp_R_flags=
38537 - ncbi_rp_R_sep=" $CONF_f_runpath"
38538 -- for x in $MUPARSER_PATH/lib${bit64_sfx}; do
38539 -+ for x in $PNG_PATH/lib${bit64_sfx}; do
38540 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38541 - ncbi_rp_L_sep=" $CONF_f_libpath"
38542 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
38543 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
38544 - ncbi_rp_R_sep=:
38545 - done
38546 -- MUPARSER_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
38547 -+ PNG_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
38548 - fi
38549 -- elif test -d "$MUPARSER_PATH/lib"; then
38550 -+ elif test -d "$PNG_PATH/lib"; then
38551 - ncbi_rp_L_flags=
38552 - ncbi_rp_L_sep=$CONF_f_libpath
38553 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
38554 -- for x in $MUPARSER_PATH/lib; do
38555 -+ for x in $PNG_PATH/lib; do
38556 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38557 - ncbi_rp_L_sep=" $CONF_f_libpath"
38558 - done
38559 -- MUPARSER_LIBPATH="${ncbi_rp_L_flags}"
38560 -+ PNG_LIBPATH="${ncbi_rp_L_flags}"
38561 - else
38562 - ncbi_rp_R_flags=
38563 - ncbi_rp_R_sep=" $CONF_f_runpath"
38564 -- for x in $MUPARSER_PATH/lib; do
38565 -+ for x in $PNG_PATH/lib; do
38566 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38567 - ncbi_rp_L_sep=" $CONF_f_libpath"
38568 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
38569 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
38570 - ncbi_rp_R_sep=:
38571 - done
38572 -- MUPARSER_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
38573 -+ PNG_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
38574 - fi
38575 - fi
38576 -- MUPARSER_LIBS="$MUPARSER_LIBPATH -lmuparser "
38577 -+ PNG_LIBS="$PNG_LIBPATH -lpng $Z_LIBS"
38578 - else
38579 -- MUPARSER_INCLUDE=""
38580 -- MUPARSER_LIBS="-lmuparser "
38581 -+ PNG_INCLUDE=""
38582 -+ PNG_LIBS="-lpng $Z_LIBS"
38583 - in_path=
38584 - fi
38585 -- echo "$as_me:$LINENO: checking for libmuparser$in_path" >&5
38586 --echo $ECHO_N "checking for libmuparser$in_path... $ECHO_C" >&6
38587 --if test "${ncbi_cv_lib_muparser+set}" = set; then
38588 -+ { echo "$as_me:$LINENO: checking for libpng$in_path" >&5
38589 -+echo $ECHO_N "checking for libpng$in_path... $ECHO_C" >&6; }
38590 -+if test "${ncbi_cv_lib_png+set}" = set; then
38591 - echo $ECHO_N "(cached) $ECHO_C" >&6
38592 - else
38593 -- CPPFLAGS=" $MUPARSER_INCLUDE $orig_CPPFLAGS"
38594 -- LIBS="$MUPARSER_LIBS $orig_LIBS"
38595 -+ CPPFLAGS="$Z_INCLUDE $PNG_INCLUDE $orig_CPPFLAGS"
38596 -+ LIBS="$PNG_LIBS $orig_LIBS"
38597 - cat >conftest.$ac_ext <<_ACEOF
38598 - /* confdefs.h. */
38599 - _ACEOF
38600 - cat confdefs.h >>conftest.$ac_ext
38601 - cat >>conftest.$ac_ext <<_ACEOF
38602 - /* end confdefs.h. */
38603 --#include <muParser.h>
38604 -+#include <png.h>
38605 - int
38606 - main ()
38607 - {
38608 --mu::Parser parser;
38609 -+png_structp png_ptr
38610 -+ = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
38611 -+
38612 - ;
38613 - return 0;
38614 - }
38615 - _ACEOF
38616 - rm -f conftest.$ac_objext conftest$ac_exeext
38617 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38618 -- (eval $ac_link) 2>conftest.er1
38619 -+if { (ac_try="$ac_link"
38620 -+case "(($ac_try" in
38621 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38622 -+ *) ac_try_echo=$ac_try;;
38623 -+esac
38624 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38625 -+ (eval "$ac_link") 2>conftest.er1
38626 - ac_status=$?
38627 - grep -v '^ *+' conftest.er1 >conftest.err
38628 - rm -f conftest.er1
38629 - cat conftest.err >&5
38630 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
38631 - (exit $ac_status); } &&
38632 -- { ac_try='test -z "$ac_cxx_werror_flag"
38633 -- || test ! -s conftest.err'
38634 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38635 -- (eval $ac_try) 2>&5
38636 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38637 -+ { (case "(($ac_try" in
38638 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38639 -+ *) ac_try_echo=$ac_try;;
38640 -+esac
38641 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38642 -+ (eval "$ac_try") 2>&5
38643 - ac_status=$?
38644 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
38645 - (exit $ac_status); }; } &&
38646 - { ac_try='test -s conftest$ac_exeext'
38647 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38648 -- (eval $ac_try) 2>&5
38649 -+ { (case "(($ac_try" in
38650 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38651 -+ *) ac_try_echo=$ac_try;;
38652 -+esac
38653 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38654 -+ (eval "$ac_try") 2>&5
38655 - ac_status=$?
38656 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
38657 - (exit $ac_status); }; }; then
38658 -- ncbi_cv_lib_muparser=yes
38659 -+ ncbi_cv_lib_png=yes
38660 - else
38661 - echo "$as_me: failed program was:" >&5
38662 - sed 's/^/| /' conftest.$ac_ext >&5
38663 -
38664 --ncbi_cv_lib_muparser=no
38665 -+ ncbi_cv_lib_png=no
38666 - fi
38667 --rm -f conftest.err conftest.$ac_objext \
38668 -+
38669 -+rm -f core conftest.err conftest.$ac_objext \
38670 - conftest$ac_exeext conftest.$ac_ext
38671 - fi
38672 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_muparser" >&5
38673 --echo "${ECHO_T}$ncbi_cv_lib_muparser" >&6
38674 -- if test "$ncbi_cv_lib_muparser" = "no"; then
38675 -- if test "${with_muparser:=no}" != no; then
38676 -- { { echo "$as_me:$LINENO: error: --with-muparser explicitly specified, but no usable version found." >&5
38677 --echo "$as_me: error: --with-muparser explicitly specified, but no usable version found." >&2;}
38678 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_png" >&5
38679 -+echo "${ECHO_T}$ncbi_cv_lib_png" >&6; }
38680 -+ if test "$ncbi_cv_lib_png" = "no"; then
38681 -+ if test "${with_png:=no}" != no; then
38682 -+ { { echo "$as_me:$LINENO: error: --with-png explicitly specified, but no usable version found." >&5
38683 -+echo "$as_me: error: --with-png explicitly specified, but no usable version found." >&2;}
38684 - { (exit 1); exit 1; }; }
38685 - fi
38686 - fi
38687 - fi
38688 -- if test "$with_muparser" = "no"; then
38689 -- MUPARSER_PATH="No_MUPARSER"
38690 -- MUPARSER_INCLUDE=
38691 -- MUPARSER_LIBS=
38692 -+ if test "$with_png" = "no"; then
38693 -+ PNG_PATH="No_PNG"
38694 -+ PNG_INCLUDE=
38695 -+ PNG_LIBS=
38696 - else
38697 -- WithPackages="$WithPackages${WithPackagesSep}MUPARSER"; WithPackagesSep=" "
38698 -- MUPARSER_INCLUDE=" $MUPARSER_INCLUDE"
38699 -+ WithPackages="$WithPackages${WithPackagesSep}PNG"; WithPackagesSep=" "
38700 -+ PNG_INCLUDE="$Z_INCLUDE $PNG_INCLUDE"
38701 -
38702 - cat >>confdefs.h <<\_ACEOF
38703 --#define HAVE_LIBMUPARSER 1
38704 -+#define HAVE_LIBPNG 1
38705 - _ACEOF
38706 -
38707 - fi
38708 -@@ -32203,1627 +37160,1799 @@
38709 -
38710 -
38711 -
38712 --
38713 --### hdf5
38714 --case "$with_hdf5" in
38715 -- yes | '' ) : ${HDF5_PATH=$NCBI/hdf5} ;;
38716 -- * ) HDF5_PATH=$with_hdf5 ;;
38717 --esac
38718 --
38719 --if test -d "$HDF5_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}"; then
38720 -- HDF5_PATH=$HDF5_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}
38721 --elif test -d "$HDF5_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}"; then
38722 -- HDF5_PATH=$HDF5_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}
38723 --fi
38724 --if test -d "$HDF5_PATH"; then
38725 -- ncbi_fix_dir_tmp=`if cd $HDF5_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
38726 -- case "$ncbi_fix_dir_tmp" in
38727 -- /.*) ncbi_fix_dir_tmp2=`cd $HDF5_PATH && $smart_pwd 2>/dev/null`
38728 -- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
38729 -- HDF5_PATH=$ncbi_fix_dir_tmp2
38730 -- else
38731 -- case "$HDF5_PATH" in
38732 -- /*) ;;
38733 -- * ) HDF5_PATH=$ncbi_fix_dir_tmp ;;
38734 -- esac
38735 -- fi
38736 -- ;;
38737 -- /*) HDF5_PATH=$ncbi_fix_dir_tmp ;;
38738 -- esac
38739 --fi
38740 --
38741 --if test "$with_hdf5" != "no"; then
38742 -- case "$with_hdf5" in
38743 -+# : ${TIFF_PATH=/usr/sfw}
38744 -+if test "$with_tiff" != "no"; then
38745 -+ case "$with_tiff" in
38746 - yes | "" ) ;;
38747 -- * ) HDF5_PATH=$with_hdf5 ;;
38748 -+ * ) TIFF_PATH=$with_tiff ;;
38749 - esac
38750 -- if test -d "$HDF5_PATH"; then
38751 -- in_path=" in $HDF5_PATH"
38752 -- if test -z "$HDF5_INCLUDE" -a -d "$HDF5_PATH/include"; then
38753 -- HDF5_INCLUDE="-I$HDF5_PATH/include"
38754 -+ if test -d "$TIFF_PATH"; then
38755 -+ in_path=" in $TIFF_PATH"
38756 -+ if test -z "$TIFF_INCLUDE" -a -d "$TIFF_PATH/include"; then
38757 -+ TIFF_INCLUDE="-I$TIFF_PATH/include"
38758 - fi
38759 -- if test -n "$HDF5_LIBPATH"; then
38760 -+ if test -n "$TIFF_LIBPATH"; then
38761 - :
38762 -- elif test -d "$HDF5_PATH/lib${bit64_sfx}"; then
38763 -+ elif test -d "$TIFF_PATH/lib${bit64_sfx}"; then
38764 - ncbi_rp_L_flags=
38765 - ncbi_rp_L_sep=$CONF_f_libpath
38766 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
38767 -- for x in $HDF5_PATH/lib${bit64_sfx}; do
38768 -+ for x in $TIFF_PATH/lib${bit64_sfx}; do
38769 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38770 - ncbi_rp_L_sep=" $CONF_f_libpath"
38771 - done
38772 -- HDF5_LIBPATH="${ncbi_rp_L_flags}"
38773 -+ TIFF_LIBPATH="${ncbi_rp_L_flags}"
38774 - else
38775 - ncbi_rp_R_flags=
38776 - ncbi_rp_R_sep=" $CONF_f_runpath"
38777 -- for x in $HDF5_PATH/lib${bit64_sfx}; do
38778 -+ for x in $TIFF_PATH/lib${bit64_sfx}; do
38779 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38780 - ncbi_rp_L_sep=" $CONF_f_libpath"
38781 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
38782 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
38783 - ncbi_rp_R_sep=:
38784 - done
38785 -- HDF5_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
38786 -+ TIFF_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
38787 - fi
38788 -- elif test -d "$HDF5_PATH/lib"; then
38789 -+ elif test -d "$TIFF_PATH/lib"; then
38790 - ncbi_rp_L_flags=
38791 - ncbi_rp_L_sep=$CONF_f_libpath
38792 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
38793 -- for x in $HDF5_PATH/lib; do
38794 -+ for x in $TIFF_PATH/lib; do
38795 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38796 - ncbi_rp_L_sep=" $CONF_f_libpath"
38797 - done
38798 -- HDF5_LIBPATH="${ncbi_rp_L_flags}"
38799 -+ TIFF_LIBPATH="${ncbi_rp_L_flags}"
38800 - else
38801 - ncbi_rp_R_flags=
38802 - ncbi_rp_R_sep=" $CONF_f_runpath"
38803 -- for x in $HDF5_PATH/lib; do
38804 -+ for x in $TIFF_PATH/lib; do
38805 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38806 - ncbi_rp_L_sep=" $CONF_f_libpath"
38807 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
38808 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
38809 - ncbi_rp_R_sep=:
38810 - done
38811 -- HDF5_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
38812 -+ TIFF_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
38813 - fi
38814 - fi
38815 -- HDF5_LIBS="$HDF5_LIBPATH -lhdf5_cpp -lhdf5"
38816 -+ TIFF_LIBS="$TIFF_LIBPATH -ltiff $Z_LIBS"
38817 - else
38818 -- HDF5_INCLUDE=""
38819 -- HDF5_LIBS="-lhdf5_cpp -lhdf5"
38820 -+ TIFF_INCLUDE=""
38821 -+ TIFF_LIBS="-ltiff $Z_LIBS"
38822 - in_path=
38823 - fi
38824 -- echo "$as_me:$LINENO: checking for libhdf5_cpp$in_path" >&5
38825 --echo $ECHO_N "checking for libhdf5_cpp$in_path... $ECHO_C" >&6
38826 --if test "${ncbi_cv_lib_hdf5+set}" = set; then
38827 -+ { echo "$as_me:$LINENO: checking for libtiff$in_path" >&5
38828 -+echo $ECHO_N "checking for libtiff$in_path... $ECHO_C" >&6; }
38829 -+if test "${ncbi_cv_lib_tiff+set}" = set; then
38830 - echo $ECHO_N "(cached) $ECHO_C" >&6
38831 - else
38832 -- CPPFLAGS=" $HDF5_INCLUDE $orig_CPPFLAGS"
38833 -- LIBS="$HDF5_LIBS $orig_LIBS"
38834 -+ CPPFLAGS=" $TIFF_INCLUDE $orig_CPPFLAGS"
38835 -+ LIBS="$TIFF_LIBS $JPEG_LIBS $orig_LIBS"
38836 - cat >conftest.$ac_ext <<_ACEOF
38837 - /* confdefs.h. */
38838 - _ACEOF
38839 - cat confdefs.h >>conftest.$ac_ext
38840 - cat >>conftest.$ac_ext <<_ACEOF
38841 - /* end confdefs.h. */
38842 --#include <H5Cpp.h>
38843 -+#include <tiffio.h>
38844 - int
38845 - main ()
38846 - {
38847 --H5::H5Library::open();
38848 -+TIFF* tiff = TIFFOpen("foo", "r");
38849 - ;
38850 - return 0;
38851 - }
38852 - _ACEOF
38853 - rm -f conftest.$ac_objext conftest$ac_exeext
38854 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38855 -- (eval $ac_link) 2>conftest.er1
38856 -+if { (ac_try="$ac_link"
38857 -+case "(($ac_try" in
38858 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38859 -+ *) ac_try_echo=$ac_try;;
38860 -+esac
38861 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38862 -+ (eval "$ac_link") 2>conftest.er1
38863 - ac_status=$?
38864 - grep -v '^ *+' conftest.er1 >conftest.err
38865 - rm -f conftest.er1
38866 - cat conftest.err >&5
38867 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
38868 - (exit $ac_status); } &&
38869 -- { ac_try='test -z "$ac_cxx_werror_flag"
38870 -- || test ! -s conftest.err'
38871 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38872 -- (eval $ac_try) 2>&5
38873 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38874 -+ { (case "(($ac_try" in
38875 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38876 -+ *) ac_try_echo=$ac_try;;
38877 -+esac
38878 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38879 -+ (eval "$ac_try") 2>&5
38880 - ac_status=$?
38881 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
38882 - (exit $ac_status); }; } &&
38883 - { ac_try='test -s conftest$ac_exeext'
38884 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38885 -- (eval $ac_try) 2>&5
38886 -+ { (case "(($ac_try" in
38887 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38888 -+ *) ac_try_echo=$ac_try;;
38889 -+esac
38890 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38891 -+ (eval "$ac_try") 2>&5
38892 - ac_status=$?
38893 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
38894 - (exit $ac_status); }; }; then
38895 -- ncbi_cv_lib_hdf5=yes
38896 -+ ncbi_cv_lib_tiff=yes
38897 - else
38898 - echo "$as_me: failed program was:" >&5
38899 - sed 's/^/| /' conftest.$ac_ext >&5
38900 -
38901 --ncbi_cv_lib_hdf5=no
38902 -+ ncbi_cv_lib_tiff=no
38903 - fi
38904 --rm -f conftest.err conftest.$ac_objext \
38905 -+
38906 -+rm -f core conftest.err conftest.$ac_objext \
38907 - conftest$ac_exeext conftest.$ac_ext
38908 - fi
38909 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_hdf5" >&5
38910 --echo "${ECHO_T}$ncbi_cv_lib_hdf5" >&6
38911 -- if test "$ncbi_cv_lib_hdf5" = "no"; then
38912 -- if test "${with_hdf5:=no}" != no; then
38913 -- { { echo "$as_me:$LINENO: error: --with-hdf5 explicitly specified, but no usable version found." >&5
38914 --echo "$as_me: error: --with-hdf5 explicitly specified, but no usable version found." >&2;}
38915 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_tiff" >&5
38916 -+echo "${ECHO_T}$ncbi_cv_lib_tiff" >&6; }
38917 -+ if test "$ncbi_cv_lib_tiff" = "no"; then
38918 -+ if test "${with_tiff:=no}" != no; then
38919 -+ { { echo "$as_me:$LINENO: error: --with-tiff explicitly specified, but no usable version found." >&5
38920 -+echo "$as_me: error: --with-tiff explicitly specified, but no usable version found." >&2;}
38921 - { (exit 1); exit 1; }; }
38922 - fi
38923 - fi
38924 - fi
38925 -- if test "$with_hdf5" = "no"; then
38926 -- HDF5_PATH="No_HDF5"
38927 -- HDF5_INCLUDE=
38928 -- HDF5_LIBS=
38929 -+ if test "$with_tiff" = "no"; then
38930 -+ TIFF_PATH="No_TIFF"
38931 -+ TIFF_INCLUDE=
38932 -+ TIFF_LIBS=
38933 - else
38934 -- WithPackages="$WithPackages${WithPackagesSep}HDF5"; WithPackagesSep=" "
38935 -- HDF5_INCLUDE=" $HDF5_INCLUDE"
38936 -+ WithPackages="$WithPackages${WithPackagesSep}TIFF"; WithPackagesSep=" "
38937 -+ TIFF_INCLUDE=" $TIFF_INCLUDE"
38938 -
38939 - cat >>confdefs.h <<\_ACEOF
38940 --#define HAVE_LIBHDF5 1
38941 -+#define HAVE_LIBTIFF 1
38942 - _ACEOF
38943 -
38944 - fi
38945 -
38946 -
38947 -
38948 -+## etc.
38949 -
38950 --
38951 --### Image libraries
38952 --# : ${JPEG_PATH=/usr/sfw}
38953 --# Grr... jpeglib.h isn't especially well-behaved.
38954 --if test "$with_jpeg" != "no"; then
38955 -- case "$with_jpeg" in
38956 -+# Paths?
38957 -+with_ungif=$with_gif
38958 -+if test "$with_ungif" != "no"; then
38959 -+ case "$with_ungif" in
38960 - yes | "" ) ;;
38961 -- * ) JPEG_PATH=$with_jpeg ;;
38962 -+ * ) UNGIF_PATH=$with_ungif ;;
38963 - esac
38964 -- if test -d "$JPEG_PATH"; then
38965 -- in_path=" in $JPEG_PATH"
38966 -- if test -z "$JPEG_INCLUDE" -a -d "$JPEG_PATH/include"; then
38967 -- JPEG_INCLUDE="-I$JPEG_PATH/include"
38968 -+ if test -d "$UNGIF_PATH"; then
38969 -+ in_path=" in $UNGIF_PATH"
38970 -+ if test -z "$UNGIF_INCLUDE" -a -d "$UNGIF_PATH/include"; then
38971 -+ UNGIF_INCLUDE="-I$UNGIF_PATH/include"
38972 - fi
38973 -- if test -n "$JPEG_LIBPATH"; then
38974 -+ if test -n "$UNGIF_LIBPATH"; then
38975 - :
38976 -- elif test -d "$JPEG_PATH/lib${bit64_sfx}"; then
38977 -+ elif test -d "$UNGIF_PATH/lib${bit64_sfx}"; then
38978 - ncbi_rp_L_flags=
38979 - ncbi_rp_L_sep=$CONF_f_libpath
38980 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
38981 -- for x in $JPEG_PATH/lib${bit64_sfx}; do
38982 -+ for x in $UNGIF_PATH/lib${bit64_sfx}; do
38983 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38984 - ncbi_rp_L_sep=" $CONF_f_libpath"
38985 - done
38986 -- JPEG_LIBPATH="${ncbi_rp_L_flags}"
38987 -+ UNGIF_LIBPATH="${ncbi_rp_L_flags}"
38988 - else
38989 - ncbi_rp_R_flags=
38990 - ncbi_rp_R_sep=" $CONF_f_runpath"
38991 -- for x in $JPEG_PATH/lib${bit64_sfx}; do
38992 -+ for x in $UNGIF_PATH/lib${bit64_sfx}; do
38993 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
38994 - ncbi_rp_L_sep=" $CONF_f_libpath"
38995 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
38996 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
38997 - ncbi_rp_R_sep=:
38998 - done
38999 -- JPEG_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39000 -+ UNGIF_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39001 - fi
39002 -- elif test -d "$JPEG_PATH/lib"; then
39003 -+ elif test -d "$UNGIF_PATH/lib"; then
39004 - ncbi_rp_L_flags=
39005 - ncbi_rp_L_sep=$CONF_f_libpath
39006 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
39007 -- for x in $JPEG_PATH/lib; do
39008 -+ for x in $UNGIF_PATH/lib; do
39009 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39010 - ncbi_rp_L_sep=" $CONF_f_libpath"
39011 - done
39012 -- JPEG_LIBPATH="${ncbi_rp_L_flags}"
39013 -+ UNGIF_LIBPATH="${ncbi_rp_L_flags}"
39014 - else
39015 - ncbi_rp_R_flags=
39016 - ncbi_rp_R_sep=" $CONF_f_runpath"
39017 -- for x in $JPEG_PATH/lib; do
39018 -+ for x in $UNGIF_PATH/lib; do
39019 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39020 - ncbi_rp_L_sep=" $CONF_f_libpath"
39021 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
39022 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
39023 - ncbi_rp_R_sep=:
39024 - done
39025 -- JPEG_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39026 -+ UNGIF_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39027 - fi
39028 - fi
39029 -- JPEG_LIBS="$JPEG_LIBPATH -ljpeg "
39030 -+ UNGIF_LIBS="$UNGIF_LIBPATH -lungif $X_LIBS -lX11"
39031 - else
39032 -- JPEG_INCLUDE=""
39033 -- JPEG_LIBS="-ljpeg "
39034 -+ UNGIF_INCLUDE=""
39035 -+ UNGIF_LIBS="-lungif $X_LIBS -lX11"
39036 - in_path=
39037 - fi
39038 -- echo "$as_me:$LINENO: checking for libjpeg$in_path" >&5
39039 --echo $ECHO_N "checking for libjpeg$in_path... $ECHO_C" >&6
39040 --if test "${ncbi_cv_lib_jpeg+set}" = set; then
39041 -+ { echo "$as_me:$LINENO: checking for libungif$in_path" >&5
39042 -+echo $ECHO_N "checking for libungif$in_path... $ECHO_C" >&6; }
39043 -+if test "${ncbi_cv_lib_ungif+set}" = set; then
39044 - echo $ECHO_N "(cached) $ECHO_C" >&6
39045 - else
39046 -- CPPFLAGS=" $JPEG_INCLUDE $orig_CPPFLAGS"
39047 -- LIBS="$JPEG_LIBS $orig_LIBS"
39048 -+ CPPFLAGS=" $UNGIF_INCLUDE $orig_CPPFLAGS"
39049 -+ LIBS="$UNGIF_LIBS $orig_LIBS"
39050 - cat >conftest.$ac_ext <<_ACEOF
39051 - /* confdefs.h. */
39052 - _ACEOF
39053 - cat confdefs.h >>conftest.$ac_ext
39054 - cat >>conftest.$ac_ext <<_ACEOF
39055 - /* end confdefs.h. */
39056 --#include <sys/types.h>
39057 -- #include <stdio.h>
39058 - extern "C" {
39059 -- #include <jpeglib.h>
39060 -+ #include <gif_lib.h>
39061 - }
39062 - int
39063 - main ()
39064 - {
39065 --struct jpeg_decompress_struct cinfo;
39066 -- struct jpeg_error_mgr jerr;
39067 -- cinfo.err = jpeg_std_error(&jerr);
39068 --
39069 -+GifFileType* fp = DGifOpenFileName("foo");
39070 - ;
39071 - return 0;
39072 - }
39073 - _ACEOF
39074 - rm -f conftest.$ac_objext conftest$ac_exeext
39075 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39076 -- (eval $ac_link) 2>conftest.er1
39077 -+if { (ac_try="$ac_link"
39078 -+case "(($ac_try" in
39079 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39080 -+ *) ac_try_echo=$ac_try;;
39081 -+esac
39082 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39083 -+ (eval "$ac_link") 2>conftest.er1
39084 - ac_status=$?
39085 - grep -v '^ *+' conftest.er1 >conftest.err
39086 - rm -f conftest.er1
39087 - cat conftest.err >&5
39088 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
39089 - (exit $ac_status); } &&
39090 -- { ac_try='test -z "$ac_cxx_werror_flag"
39091 -- || test ! -s conftest.err'
39092 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39093 -- (eval $ac_try) 2>&5
39094 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39095 -+ { (case "(($ac_try" in
39096 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39097 -+ *) ac_try_echo=$ac_try;;
39098 -+esac
39099 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39100 -+ (eval "$ac_try") 2>&5
39101 - ac_status=$?
39102 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
39103 - (exit $ac_status); }; } &&
39104 - { ac_try='test -s conftest$ac_exeext'
39105 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39106 -- (eval $ac_try) 2>&5
39107 -+ { (case "(($ac_try" in
39108 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39109 -+ *) ac_try_echo=$ac_try;;
39110 -+esac
39111 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39112 -+ (eval "$ac_try") 2>&5
39113 - ac_status=$?
39114 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
39115 - (exit $ac_status); }; }; then
39116 -- ncbi_cv_lib_jpeg=yes
39117 -+ ncbi_cv_lib_ungif=yes
39118 - else
39119 - echo "$as_me: failed program was:" >&5
39120 - sed 's/^/| /' conftest.$ac_ext >&5
39121 -
39122 --ncbi_cv_lib_jpeg=no
39123 -+ ncbi_cv_lib_ungif=no
39124 - fi
39125 --rm -f conftest.err conftest.$ac_objext \
39126 -+
39127 -+rm -f core conftest.err conftest.$ac_objext \
39128 - conftest$ac_exeext conftest.$ac_ext
39129 - fi
39130 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_jpeg" >&5
39131 --echo "${ECHO_T}$ncbi_cv_lib_jpeg" >&6
39132 -- if test "$ncbi_cv_lib_jpeg" = "no"; then
39133 -- if test "${with_jpeg:=no}" != no; then
39134 -- { { echo "$as_me:$LINENO: error: --with-jpeg explicitly specified, but no usable version found." >&5
39135 --echo "$as_me: error: --with-jpeg explicitly specified, but no usable version found." >&2;}
39136 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_ungif" >&5
39137 -+echo "${ECHO_T}$ncbi_cv_lib_ungif" >&6; }
39138 -+ if test "$ncbi_cv_lib_ungif" = "no"; then
39139 -+ if test "${with_ungif:=no}" != no; then
39140 -+ { { echo "$as_me:$LINENO: error: --with-ungif explicitly specified, but no usable version found." >&5
39141 -+echo "$as_me: error: --with-ungif explicitly specified, but no usable version found." >&2;}
39142 - { (exit 1); exit 1; }; }
39143 - fi
39144 - fi
39145 - fi
39146 -- if test "$with_jpeg" = "no"; then
39147 -- JPEG_PATH="No_JPEG"
39148 -- JPEG_INCLUDE=
39149 -- JPEG_LIBS=
39150 -+ if test "$with_ungif" = "no"; then
39151 -+ UNGIF_PATH="No_UNGIF"
39152 -+ UNGIF_INCLUDE=
39153 -+ UNGIF_LIBS=
39154 - else
39155 -- WithPackages="$WithPackages${WithPackagesSep}JPEG"; WithPackagesSep=" "
39156 -- JPEG_INCLUDE=" $JPEG_INCLUDE"
39157 -+ WithPackages="$WithPackages${WithPackagesSep}UNGIF"; WithPackagesSep=" "
39158 -+ UNGIF_INCLUDE=" $UNGIF_INCLUDE"
39159 -
39160 - cat >>confdefs.h <<\_ACEOF
39161 --#define HAVE_LIBJPEG 1
39162 -+#define HAVE_LIBUNGIF 1
39163 - _ACEOF
39164 -
39165 - fi
39166 -
39167 -
39168 -
39169 --
39170 --# : ${PNG_PATH=/usr/sfw}
39171 --if test "$with_png" != "no"; then
39172 -- case "$with_png" in
39173 -+if test "$with_ungif" = "no"; then
39174 -+ if test "$with_gif" != "no"; then
39175 -+ case "$with_gif" in
39176 - yes | "" ) ;;
39177 -- * ) PNG_PATH=$with_png ;;
39178 -+ * ) GIF_PATH=$with_gif ;;
39179 - esac
39180 -- if test -d "$PNG_PATH"; then
39181 -- in_path=" in $PNG_PATH"
39182 -- if test -z "$PNG_INCLUDE" -a -d "$PNG_PATH/include"; then
39183 -- PNG_INCLUDE="-I$PNG_PATH/include"
39184 -+ if test -d "$GIF_PATH"; then
39185 -+ in_path=" in $GIF_PATH"
39186 -+ if test -z "$GIF_INCLUDE" -a -d "$GIF_PATH/include"; then
39187 -+ GIF_INCLUDE="-I$GIF_PATH/include"
39188 - fi
39189 -- if test -n "$PNG_LIBPATH"; then
39190 -+ if test -n "$GIF_LIBPATH"; then
39191 - :
39192 -- elif test -d "$PNG_PATH/lib${bit64_sfx}"; then
39193 -+ elif test -d "$GIF_PATH/lib${bit64_sfx}"; then
39194 - ncbi_rp_L_flags=
39195 - ncbi_rp_L_sep=$CONF_f_libpath
39196 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
39197 -- for x in $PNG_PATH/lib${bit64_sfx}; do
39198 -+ for x in $GIF_PATH/lib${bit64_sfx}; do
39199 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39200 - ncbi_rp_L_sep=" $CONF_f_libpath"
39201 - done
39202 -- PNG_LIBPATH="${ncbi_rp_L_flags}"
39203 -+ GIF_LIBPATH="${ncbi_rp_L_flags}"
39204 - else
39205 - ncbi_rp_R_flags=
39206 - ncbi_rp_R_sep=" $CONF_f_runpath"
39207 -- for x in $PNG_PATH/lib${bit64_sfx}; do
39208 -+ for x in $GIF_PATH/lib${bit64_sfx}; do
39209 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39210 - ncbi_rp_L_sep=" $CONF_f_libpath"
39211 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
39212 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
39213 - ncbi_rp_R_sep=:
39214 - done
39215 -- PNG_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39216 -+ GIF_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39217 - fi
39218 -- elif test -d "$PNG_PATH/lib"; then
39219 -+ elif test -d "$GIF_PATH/lib"; then
39220 - ncbi_rp_L_flags=
39221 - ncbi_rp_L_sep=$CONF_f_libpath
39222 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
39223 -- for x in $PNG_PATH/lib; do
39224 -+ for x in $GIF_PATH/lib; do
39225 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39226 - ncbi_rp_L_sep=" $CONF_f_libpath"
39227 - done
39228 -- PNG_LIBPATH="${ncbi_rp_L_flags}"
39229 -+ GIF_LIBPATH="${ncbi_rp_L_flags}"
39230 - else
39231 - ncbi_rp_R_flags=
39232 - ncbi_rp_R_sep=" $CONF_f_runpath"
39233 -- for x in $PNG_PATH/lib; do
39234 -+ for x in $GIF_PATH/lib; do
39235 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39236 - ncbi_rp_L_sep=" $CONF_f_libpath"
39237 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
39238 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
39239 - ncbi_rp_R_sep=:
39240 - done
39241 -- PNG_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39242 -+ GIF_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39243 - fi
39244 - fi
39245 -- PNG_LIBS="$PNG_LIBPATH -lpng $Z_LIBS"
39246 -+ GIF_LIBS="$GIF_LIBPATH -lgif $X_LIBS -lX11"
39247 - else
39248 -- PNG_INCLUDE=""
39249 -- PNG_LIBS="-lpng $Z_LIBS"
39250 -+ GIF_INCLUDE=""
39251 -+ GIF_LIBS="-lgif $X_LIBS -lX11"
39252 - in_path=
39253 - fi
39254 -- echo "$as_me:$LINENO: checking for libpng$in_path" >&5
39255 --echo $ECHO_N "checking for libpng$in_path... $ECHO_C" >&6
39256 --if test "${ncbi_cv_lib_png+set}" = set; then
39257 -+ { echo "$as_me:$LINENO: checking for libgif$in_path" >&5
39258 -+echo $ECHO_N "checking for libgif$in_path... $ECHO_C" >&6; }
39259 -+if test "${ncbi_cv_lib_gif+set}" = set; then
39260 - echo $ECHO_N "(cached) $ECHO_C" >&6
39261 - else
39262 -- CPPFLAGS="$Z_INCLUDE $PNG_INCLUDE $orig_CPPFLAGS"
39263 -- LIBS="$PNG_LIBS $orig_LIBS"
39264 -+ CPPFLAGS=" $GIF_INCLUDE $orig_CPPFLAGS"
39265 -+ LIBS="$GIF_LIBS $orig_LIBS"
39266 - cat >conftest.$ac_ext <<_ACEOF
39267 - /* confdefs.h. */
39268 - _ACEOF
39269 - cat confdefs.h >>conftest.$ac_ext
39270 - cat >>conftest.$ac_ext <<_ACEOF
39271 - /* end confdefs.h. */
39272 --#include <png.h>
39273 -+extern "C" {
39274 -+ #include <gif_lib.h>
39275 -+ }
39276 - int
39277 - main ()
39278 - {
39279 --png_structp png_ptr
39280 -- = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
39281 --
39282 -+GifFileType* fp = DGifOpenFileName("foo");
39283 - ;
39284 - return 0;
39285 - }
39286 - _ACEOF
39287 - rm -f conftest.$ac_objext conftest$ac_exeext
39288 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39289 -- (eval $ac_link) 2>conftest.er1
39290 -+if { (ac_try="$ac_link"
39291 -+case "(($ac_try" in
39292 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39293 -+ *) ac_try_echo=$ac_try;;
39294 -+esac
39295 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39296 -+ (eval "$ac_link") 2>conftest.er1
39297 - ac_status=$?
39298 - grep -v '^ *+' conftest.er1 >conftest.err
39299 - rm -f conftest.er1
39300 - cat conftest.err >&5
39301 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
39302 - (exit $ac_status); } &&
39303 -- { ac_try='test -z "$ac_cxx_werror_flag"
39304 -- || test ! -s conftest.err'
39305 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39306 -- (eval $ac_try) 2>&5
39307 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39308 -+ { (case "(($ac_try" in
39309 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39310 -+ *) ac_try_echo=$ac_try;;
39311 -+esac
39312 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39313 -+ (eval "$ac_try") 2>&5
39314 - ac_status=$?
39315 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
39316 - (exit $ac_status); }; } &&
39317 - { ac_try='test -s conftest$ac_exeext'
39318 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39319 -- (eval $ac_try) 2>&5
39320 -+ { (case "(($ac_try" in
39321 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39322 -+ *) ac_try_echo=$ac_try;;
39323 -+esac
39324 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39325 -+ (eval "$ac_try") 2>&5
39326 - ac_status=$?
39327 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
39328 - (exit $ac_status); }; }; then
39329 -- ncbi_cv_lib_png=yes
39330 -+ ncbi_cv_lib_gif=yes
39331 - else
39332 - echo "$as_me: failed program was:" >&5
39333 - sed 's/^/| /' conftest.$ac_ext >&5
39334 -
39335 --ncbi_cv_lib_png=no
39336 -+ ncbi_cv_lib_gif=no
39337 - fi
39338 --rm -f conftest.err conftest.$ac_objext \
39339 -+
39340 -+rm -f core conftest.err conftest.$ac_objext \
39341 - conftest$ac_exeext conftest.$ac_ext
39342 - fi
39343 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_png" >&5
39344 --echo "${ECHO_T}$ncbi_cv_lib_png" >&6
39345 -- if test "$ncbi_cv_lib_png" = "no"; then
39346 -- if test "${with_png:=no}" != no; then
39347 -- { { echo "$as_me:$LINENO: error: --with-png explicitly specified, but no usable version found." >&5
39348 --echo "$as_me: error: --with-png explicitly specified, but no usable version found." >&2;}
39349 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_gif" >&5
39350 -+echo "${ECHO_T}$ncbi_cv_lib_gif" >&6; }
39351 -+ if test "$ncbi_cv_lib_gif" = "no"; then
39352 -+ if test "${with_gif:=no}" != no; then
39353 -+ { { echo "$as_me:$LINENO: error: --with-gif explicitly specified, but no usable version found." >&5
39354 -+echo "$as_me: error: --with-gif explicitly specified, but no usable version found." >&2;}
39355 - { (exit 1); exit 1; }; }
39356 - fi
39357 - fi
39358 - fi
39359 -- if test "$with_png" = "no"; then
39360 -- PNG_PATH="No_PNG"
39361 -- PNG_INCLUDE=
39362 -- PNG_LIBS=
39363 -+ if test "$with_gif" = "no"; then
39364 -+ GIF_PATH="No_GIF"
39365 -+ GIF_INCLUDE=
39366 -+ GIF_LIBS=
39367 - else
39368 -- WithPackages="$WithPackages${WithPackagesSep}PNG"; WithPackagesSep=" "
39369 -- PNG_INCLUDE="$Z_INCLUDE $PNG_INCLUDE"
39370 -+ WithPackages="$WithPackages${WithPackagesSep}GIF"; WithPackagesSep=" "
39371 -+ GIF_INCLUDE=" $GIF_INCLUDE"
39372 -
39373 - cat >>confdefs.h <<\_ACEOF
39374 --#define HAVE_LIBPNG 1
39375 -+#define HAVE_LIBGIF 1
39376 - _ACEOF
39377 -
39378 - fi
39379 -
39380 -
39381 -
39382 -+else
39383 -
39384 --# : ${TIFF_PATH=/usr/sfw}
39385 --if test "$with_tiff" != "no"; then
39386 -- case "$with_tiff" in
39387 -+cat >>confdefs.h <<\_ACEOF
39388 -+#define HAVE_LIBGIF 1
39389 -+_ACEOF
39390 -+
39391 -+ GIF_INCLUDE=$UNGIF_INCLUDE
39392 -+ GIF_LIBS=$UNGIF_LIBS
39393 -+fi
39394 -+
39395 -+case "$x_libraries" in */*) : ${XPM_PATH=`dirname "$x_libraries"`} ;; esac
39396 -+if test "$with_xpm" != "no"; then
39397 -+ case "$with_xpm" in
39398 - yes | "" ) ;;
39399 -- * ) TIFF_PATH=$with_tiff ;;
39400 -+ * ) XPM_PATH=$with_xpm ;;
39401 - esac
39402 -- if test -d "$TIFF_PATH"; then
39403 -- in_path=" in $TIFF_PATH"
39404 -- if test -z "$TIFF_INCLUDE" -a -d "$TIFF_PATH/include"; then
39405 -- TIFF_INCLUDE="-I$TIFF_PATH/include"
39406 -+ if test -d "$XPM_PATH"; then
39407 -+ in_path=" in $XPM_PATH"
39408 -+ if test -z "$XPM_INCLUDE" -a -d "$XPM_PATH/include"; then
39409 -+ XPM_INCLUDE="-I$XPM_PATH/include"
39410 - fi
39411 -- if test -n "$TIFF_LIBPATH"; then
39412 -+ if test -n "$XPM_LIBPATH"; then
39413 - :
39414 -- elif test -d "$TIFF_PATH/lib${bit64_sfx}"; then
39415 -+ elif test -d "$XPM_PATH/lib${bit64_sfx}"; then
39416 - ncbi_rp_L_flags=
39417 - ncbi_rp_L_sep=$CONF_f_libpath
39418 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
39419 -- for x in $TIFF_PATH/lib${bit64_sfx}; do
39420 -+ for x in $XPM_PATH/lib${bit64_sfx}; do
39421 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39422 - ncbi_rp_L_sep=" $CONF_f_libpath"
39423 - done
39424 -- TIFF_LIBPATH="${ncbi_rp_L_flags}"
39425 -+ XPM_LIBPATH="${ncbi_rp_L_flags}"
39426 - else
39427 - ncbi_rp_R_flags=
39428 - ncbi_rp_R_sep=" $CONF_f_runpath"
39429 -- for x in $TIFF_PATH/lib${bit64_sfx}; do
39430 -+ for x in $XPM_PATH/lib${bit64_sfx}; do
39431 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39432 - ncbi_rp_L_sep=" $CONF_f_libpath"
39433 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
39434 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
39435 - ncbi_rp_R_sep=:
39436 - done
39437 -- TIFF_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39438 -+ XPM_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39439 - fi
39440 -- elif test -d "$TIFF_PATH/lib"; then
39441 -+ elif test -d "$XPM_PATH/lib"; then
39442 - ncbi_rp_L_flags=
39443 - ncbi_rp_L_sep=$CONF_f_libpath
39444 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
39445 -- for x in $TIFF_PATH/lib; do
39446 -+ for x in $XPM_PATH/lib; do
39447 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39448 - ncbi_rp_L_sep=" $CONF_f_libpath"
39449 - done
39450 -- TIFF_LIBPATH="${ncbi_rp_L_flags}"
39451 -+ XPM_LIBPATH="${ncbi_rp_L_flags}"
39452 - else
39453 - ncbi_rp_R_flags=
39454 - ncbi_rp_R_sep=" $CONF_f_runpath"
39455 -- for x in $TIFF_PATH/lib; do
39456 -+ for x in $XPM_PATH/lib; do
39457 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39458 - ncbi_rp_L_sep=" $CONF_f_libpath"
39459 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
39460 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
39461 - ncbi_rp_R_sep=:
39462 - done
39463 -- TIFF_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39464 -+ XPM_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39465 - fi
39466 - fi
39467 -- TIFF_LIBS="$TIFF_LIBPATH -ltiff $Z_LIBS"
39468 -+ XPM_LIBS="$XPM_LIBPATH -lXpm $X_LIBS -lX11"
39469 - else
39470 -- TIFF_INCLUDE=""
39471 -- TIFF_LIBS="-ltiff $Z_LIBS"
39472 -+ XPM_INCLUDE=""
39473 -+ XPM_LIBS="-lXpm $X_LIBS -lX11"
39474 - in_path=
39475 - fi
39476 -- echo "$as_me:$LINENO: checking for libtiff$in_path" >&5
39477 --echo $ECHO_N "checking for libtiff$in_path... $ECHO_C" >&6
39478 --if test "${ncbi_cv_lib_tiff+set}" = set; then
39479 -+ { echo "$as_me:$LINENO: checking for libXpm$in_path" >&5
39480 -+echo $ECHO_N "checking for libXpm$in_path... $ECHO_C" >&6; }
39481 -+if test "${ncbi_cv_lib_xpm+set}" = set; then
39482 - echo $ECHO_N "(cached) $ECHO_C" >&6
39483 - else
39484 -- CPPFLAGS=" $TIFF_INCLUDE $orig_CPPFLAGS"
39485 -- LIBS="$TIFF_LIBS $JPEG_LIBS $orig_LIBS"
39486 -+ CPPFLAGS="$X_CFLAGS $XPM_INCLUDE $orig_CPPFLAGS"
39487 -+ LIBS="$XPM_LIBS $orig_LIBS"
39488 - cat >conftest.$ac_ext <<_ACEOF
39489 - /* confdefs.h. */
39490 - _ACEOF
39491 - cat confdefs.h >>conftest.$ac_ext
39492 - cat >>conftest.$ac_ext <<_ACEOF
39493 - /* end confdefs.h. */
39494 --#include <tiffio.h>
39495 -+#include <X11/xpm.h>
39496 - int
39497 - main ()
39498 - {
39499 --TIFF* tiff = TIFFOpen("foo", "r");
39500 -+XpmImage image; XpmInfo info;
39501 -+ XpmReadFileToXpmImage("foo", &image, &info);
39502 - ;
39503 - return 0;
39504 - }
39505 - _ACEOF
39506 - rm -f conftest.$ac_objext conftest$ac_exeext
39507 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39508 -- (eval $ac_link) 2>conftest.er1
39509 -+if { (ac_try="$ac_link"
39510 -+case "(($ac_try" in
39511 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39512 -+ *) ac_try_echo=$ac_try;;
39513 -+esac
39514 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39515 -+ (eval "$ac_link") 2>conftest.er1
39516 - ac_status=$?
39517 - grep -v '^ *+' conftest.er1 >conftest.err
39518 - rm -f conftest.er1
39519 - cat conftest.err >&5
39520 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
39521 - (exit $ac_status); } &&
39522 -- { ac_try='test -z "$ac_cxx_werror_flag"
39523 -- || test ! -s conftest.err'
39524 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39525 -- (eval $ac_try) 2>&5
39526 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39527 -+ { (case "(($ac_try" in
39528 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39529 -+ *) ac_try_echo=$ac_try;;
39530 -+esac
39531 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39532 -+ (eval "$ac_try") 2>&5
39533 - ac_status=$?
39534 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
39535 - (exit $ac_status); }; } &&
39536 - { ac_try='test -s conftest$ac_exeext'
39537 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39538 -- (eval $ac_try) 2>&5
39539 -+ { (case "(($ac_try" in
39540 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39541 -+ *) ac_try_echo=$ac_try;;
39542 -+esac
39543 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39544 -+ (eval "$ac_try") 2>&5
39545 - ac_status=$?
39546 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
39547 - (exit $ac_status); }; }; then
39548 -- ncbi_cv_lib_tiff=yes
39549 -+ ncbi_cv_lib_xpm=yes
39550 - else
39551 - echo "$as_me: failed program was:" >&5
39552 - sed 's/^/| /' conftest.$ac_ext >&5
39553 -
39554 --ncbi_cv_lib_tiff=no
39555 -+ ncbi_cv_lib_xpm=no
39556 - fi
39557 --rm -f conftest.err conftest.$ac_objext \
39558 -+
39559 -+rm -f core conftest.err conftest.$ac_objext \
39560 - conftest$ac_exeext conftest.$ac_ext
39561 - fi
39562 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_tiff" >&5
39563 --echo "${ECHO_T}$ncbi_cv_lib_tiff" >&6
39564 -- if test "$ncbi_cv_lib_tiff" = "no"; then
39565 -- if test "${with_tiff:=no}" != no; then
39566 -- { { echo "$as_me:$LINENO: error: --with-tiff explicitly specified, but no usable version found." >&5
39567 --echo "$as_me: error: --with-tiff explicitly specified, but no usable version found." >&2;}
39568 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_xpm" >&5
39569 -+echo "${ECHO_T}$ncbi_cv_lib_xpm" >&6; }
39570 -+ if test "$ncbi_cv_lib_xpm" = "no"; then
39571 -+ if test "${with_xpm:=no}" != no; then
39572 -+ { { echo "$as_me:$LINENO: error: --with-xpm explicitly specified, but no usable version found." >&5
39573 -+echo "$as_me: error: --with-xpm explicitly specified, but no usable version found." >&2;}
39574 - { (exit 1); exit 1; }; }
39575 - fi
39576 - fi
39577 - fi
39578 -- if test "$with_tiff" = "no"; then
39579 -- TIFF_PATH="No_TIFF"
39580 -- TIFF_INCLUDE=
39581 -- TIFF_LIBS=
39582 -+ if test "$with_xpm" = "no"; then
39583 -+ XPM_PATH="No_XPM"
39584 -+ XPM_INCLUDE=
39585 -+ XPM_LIBS=
39586 - else
39587 -- WithPackages="$WithPackages${WithPackagesSep}TIFF"; WithPackagesSep=" "
39588 -- TIFF_INCLUDE=" $TIFF_INCLUDE"
39589 -+ WithPackages="$WithPackages${WithPackagesSep}XPM"; WithPackagesSep=" "
39590 -+ XPM_INCLUDE="$X_CFLAGS $XPM_INCLUDE"
39591 -
39592 - cat >>confdefs.h <<\_ACEOF
39593 --#define HAVE_LIBTIFF 1
39594 -+#define HAVE_LIBXPM 1
39595 - _ACEOF
39596 -
39597 - fi
39598 -
39599 -
39600 -
39601 --## etc.
39602 -+# The use of X_CFLAGS is probably redundant, but shouldn't hurt.
39603 -
39604 --# Paths?
39605 --with_ungif=$with_gif
39606 --if test "$with_ungif" != "no"; then
39607 -- case "$with_ungif" in
39608 -- yes | "" ) ;;
39609 -- * ) UNGIF_PATH=$with_ungif ;;
39610 -- esac
39611 -- if test -d "$UNGIF_PATH"; then
39612 -- in_path=" in $UNGIF_PATH"
39613 -- if test -z "$UNGIF_INCLUDE" -a -d "$UNGIF_PATH/include"; then
39614 -- UNGIF_INCLUDE="-I$UNGIF_PATH/include"
39615 -- fi
39616 -- if test -n "$UNGIF_LIBPATH"; then
39617 -- :
39618 -- elif test -d "$UNGIF_PATH/lib${bit64_sfx}"; then
39619 -- ncbi_rp_L_flags=
39620 -- ncbi_rp_L_sep=$CONF_f_libpath
39621 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
39622 -- for x in $UNGIF_PATH/lib${bit64_sfx}; do
39623 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39624 -- ncbi_rp_L_sep=" $CONF_f_libpath"
39625 -+## FreeType and FTGL
39626 -+if test "$with_freetype" != "no" ; then
39627 -+ : ${FREETYPE_BINPATH=$FREETYPE_PATH/bin}
39628 -+ # Extract the first word of "freetype-config", so it can be a program name with args.
39629 -+set dummy freetype-config; ac_word=$2
39630 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
39631 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
39632 -+if test "${ac_cv_path_freetype_config+set}" = set; then
39633 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
39634 -+else
39635 -+ case $freetype_config in
39636 -+ [\\/]* | ?:[\\/]*)
39637 -+ ac_cv_path_freetype_config="$freetype_config" # Let the user override the test with a path.
39638 -+ ;;
39639 -+ *)
39640 -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
39641 -+as_dummy="$FREETYPE_BINPATH:$PATH"
39642 -+for as_dir in $as_dummy
39643 -+do
39644 -+ IFS=$as_save_IFS
39645 -+ test -z "$as_dir" && as_dir=.
39646 -+ for ac_exec_ext in '' $ac_executable_extensions; do
39647 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
39648 -+ ac_cv_path_freetype_config="$as_dir/$ac_word$ac_exec_ext"
39649 -+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
39650 -+ break 2
39651 -+ fi
39652 - done
39653 -- UNGIF_LIBPATH="${ncbi_rp_L_flags}"
39654 -- else
39655 -- ncbi_rp_R_flags=
39656 -- ncbi_rp_R_sep=" $CONF_f_runpath"
39657 -- for x in $UNGIF_PATH/lib${bit64_sfx}; do
39658 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39659 -- ncbi_rp_L_sep=" $CONF_f_libpath"
39660 -- x=`echo $x | sed -e "$ncbi_rpath_sed"`
39661 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
39662 -- ncbi_rp_R_sep=:
39663 - done
39664 -- UNGIF_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39665 -+IFS=$as_save_IFS
39666 -+
39667 -+ ;;
39668 -+esac
39669 - fi
39670 -- elif test -d "$UNGIF_PATH/lib"; then
39671 -- ncbi_rp_L_flags=
39672 -- ncbi_rp_L_sep=$CONF_f_libpath
39673 -+freetype_config=$ac_cv_path_freetype_config
39674 -+if test -n "$freetype_config"; then
39675 -+ { echo "$as_me:$LINENO: result: $freetype_config" >&5
39676 -+echo "${ECHO_T}$freetype_config" >&6; }
39677 -+else
39678 -+ { echo "$as_me:$LINENO: result: no" >&5
39679 -+echo "${ECHO_T}no" >&6; }
39680 -+fi
39681 -+
39682 -+
39683 -+ if test -n "$freetype_config" ; then
39684 -+ : ${FREETYPE_BINPATH=`dirname $freetype_config`}
39685 -+ : ${FREETYPE_INCLUDE=`$freetype_config --cflags`}
39686 -+ if test -z "${FREETYPE_LIBS+set}"; then
39687 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
39688 -- for x in $UNGIF_PATH/lib; do
39689 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39690 -- ncbi_rp_L_sep=" $CONF_f_libpath"
39691 -- done
39692 -- UNGIF_LIBPATH="${ncbi_rp_L_flags}"
39693 -+ FREETYPE_LIBS=`$freetype_config --libs | sed -e "$no_usr_lib"`
39694 - else
39695 -+ FREETYPE_LIBS=
39696 -+ ncbi_rp_L_sep=
39697 - ncbi_rp_R_flags=
39698 - ncbi_rp_R_sep=" $CONF_f_runpath"
39699 -- for x in $UNGIF_PATH/lib; do
39700 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39701 -- ncbi_rp_L_sep=" $CONF_f_libpath"
39702 -- x=`echo $x | sed -e "$ncbi_rpath_sed"`
39703 -+ for x in `$freetype_config --libs | sed -e "$no_usr_lib"`; do
39704 -+ case "$x" in
39705 -+ -L*)
39706 -+ FREETYPE_LIBS="$FREETYPE_LIBS${ncbi_rp_L_sep}$x"
39707 -+ x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
39708 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
39709 - ncbi_rp_R_sep=:
39710 -+ ;;
39711 -+ *)
39712 -+ FREETYPE_LIBS="$FREETYPE_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
39713 -+ ncbi_rp_R_flags=
39714 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
39715 -+ ;;
39716 -+ esac
39717 -+ ncbi_rp_L_sep=" "
39718 - done
39719 -- UNGIF_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39720 -+ FREETYPE_LIBS="$FREETYPE_LIBS${ncbi_rp_R_flags}"
39721 - fi
39722 - fi
39723 -- UNGIF_LIBS="$UNGIF_LIBPATH -lungif $X_LIBS -lX11"
39724 -- else
39725 -- UNGIF_INCLUDE=""
39726 -- UNGIF_LIBS="-lungif $X_LIBS -lX11"
39727 -- in_path=
39728 -+ case "$host_os:$bit64_sfx" in
39729 -+ solaris*:64 )
39730 -+ ftprefix=`$freetype_config --exec-prefix`
39731 -+ if test -d "$ftprefix/lib/64"; then
39732 -+ FREETYPE_LIBS=`echo $FREETYPE_LIBS \
39733 -+ | sed -e "s,$ftprefix/lib ,$ftprefix/lib/64 ,g"`
39734 - fi
39735 -- echo "$as_me:$LINENO: checking for libungif$in_path" >&5
39736 --echo $ECHO_N "checking for libungif$in_path... $ECHO_C" >&6
39737 --if test "${ncbi_cv_lib_ungif+set}" = set; then
39738 -+ ;;
39739 -+ esac
39740 -+ { echo "$as_me:$LINENO: checking whether FREETYPE_INCLUDE needs doctoring" >&5
39741 -+echo $ECHO_N "checking whether FREETYPE_INCLUDE needs doctoring... $ECHO_C" >&6; }
39742 -+if test "${ncbi_cv_lib_freetype_fix_include+set}" = set; then
39743 - echo $ECHO_N "(cached) $ECHO_C" >&6
39744 - else
39745 -- CPPFLAGS=" $UNGIF_INCLUDE $orig_CPPFLAGS"
39746 -- LIBS="$UNGIF_LIBS $orig_LIBS"
39747 -+ CPPFLAGS="$FREETYPE_INCLUDE $orig_CPPFLAGS"
39748 - cat >conftest.$ac_ext <<_ACEOF
39749 - /* confdefs.h. */
39750 - _ACEOF
39751 - cat confdefs.h >>conftest.$ac_ext
39752 - cat >>conftest.$ac_ext <<_ACEOF
39753 - /* end confdefs.h. */
39754 --extern "C" {
39755 -- #include <gif_lib.h>
39756 -- }
39757 -+#include <ft2build.h>
39758 - int
39759 - main ()
39760 - {
39761 --GifFileType* fp = DGifOpenFileName("foo");
39762 -+
39763 - ;
39764 - return 0;
39765 - }
39766 - _ACEOF
39767 --rm -f conftest.$ac_objext conftest$ac_exeext
39768 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39769 -- (eval $ac_link) 2>conftest.er1
39770 -+rm -f conftest.$ac_objext
39771 -+if { (ac_try="$ac_compile"
39772 -+case "(($ac_try" in
39773 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39774 -+ *) ac_try_echo=$ac_try;;
39775 -+esac
39776 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39777 -+ (eval "$ac_compile") 2>conftest.er1
39778 - ac_status=$?
39779 - grep -v '^ *+' conftest.er1 >conftest.err
39780 - rm -f conftest.er1
39781 - cat conftest.err >&5
39782 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
39783 - (exit $ac_status); } &&
39784 -- { ac_try='test -z "$ac_cxx_werror_flag"
39785 -- || test ! -s conftest.err'
39786 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39787 -- (eval $ac_try) 2>&5
39788 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39789 -+ { (case "(($ac_try" in
39790 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39791 -+ *) ac_try_echo=$ac_try;;
39792 -+esac
39793 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39794 -+ (eval "$ac_try") 2>&5
39795 - ac_status=$?
39796 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
39797 - (exit $ac_status); }; } &&
39798 -- { ac_try='test -s conftest$ac_exeext'
39799 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39800 -- (eval $ac_try) 2>&5
39801 -+ { ac_try='test -s conftest.$ac_objext'
39802 -+ { (case "(($ac_try" in
39803 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39804 -+ *) ac_try_echo=$ac_try;;
39805 -+esac
39806 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39807 -+ (eval "$ac_try") 2>&5
39808 - ac_status=$?
39809 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
39810 - (exit $ac_status); }; }; then
39811 -- ncbi_cv_lib_ungif=yes
39812 -+ ncbi_cv_lib_freetype_fix_include=no
39813 - else
39814 - echo "$as_me: failed program was:" >&5
39815 - sed 's/^/| /' conftest.$ac_ext >&5
39816 -
39817 --ncbi_cv_lib_ungif=no
39818 --fi
39819 --rm -f conftest.err conftest.$ac_objext \
39820 -- conftest$ac_exeext conftest.$ac_ext
39821 --fi
39822 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_ungif" >&5
39823 --echo "${ECHO_T}$ncbi_cv_lib_ungif" >&6
39824 -- if test "$ncbi_cv_lib_ungif" = "no"; then
39825 -- if test "${with_ungif:=no}" != no; then
39826 -- { { echo "$as_me:$LINENO: error: --with-ungif explicitly specified, but no usable version found." >&5
39827 --echo "$as_me: error: --with-ungif explicitly specified, but no usable version found." >&2;}
39828 -- { (exit 1); exit 1; }; }
39829 -- fi
39830 -- fi
39831 -- fi
39832 -- if test "$with_ungif" = "no"; then
39833 -- UNGIF_PATH="No_UNGIF"
39834 -- UNGIF_INCLUDE=
39835 -- UNGIF_LIBS=
39836 -- else
39837 -- WithPackages="$WithPackages${WithPackagesSep}UNGIF"; WithPackagesSep=" "
39838 -- UNGIF_INCLUDE=" $UNGIF_INCLUDE"
39839 --
39840 --cat >>confdefs.h <<\_ACEOF
39841 --#define HAVE_LIBUNGIF 1
39842 --_ACEOF
39843 --
39844 -+ ncbi_cv_lib_freetype_fix_include=yes
39845 - fi
39846 -
39847 --
39848 --
39849 --if test "$with_ungif" = "no"; then
39850 -- if test "$with_gif" != "no"; then
39851 -- case "$with_gif" in
39852 -- yes | "" ) ;;
39853 -- * ) GIF_PATH=$with_gif ;;
39854 -- esac
39855 -- if test -d "$GIF_PATH"; then
39856 -- in_path=" in $GIF_PATH"
39857 -- if test -z "$GIF_INCLUDE" -a -d "$GIF_PATH/include"; then
39858 -- GIF_INCLUDE="-I$GIF_PATH/include"
39859 -- fi
39860 -- if test -n "$GIF_LIBPATH"; then
39861 -- :
39862 -- elif test -d "$GIF_PATH/lib${bit64_sfx}"; then
39863 -- ncbi_rp_L_flags=
39864 -- ncbi_rp_L_sep=$CONF_f_libpath
39865 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
39866 -- for x in $GIF_PATH/lib${bit64_sfx}; do
39867 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39868 -- ncbi_rp_L_sep=" $CONF_f_libpath"
39869 -- done
39870 -- GIF_LIBPATH="${ncbi_rp_L_flags}"
39871 -- else
39872 -- ncbi_rp_R_flags=
39873 -- ncbi_rp_R_sep=" $CONF_f_runpath"
39874 -- for x in $GIF_PATH/lib${bit64_sfx}; do
39875 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39876 -- ncbi_rp_L_sep=" $CONF_f_libpath"
39877 -- x=`echo $x | sed -e "$ncbi_rpath_sed"`
39878 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
39879 -- ncbi_rp_R_sep=:
39880 -- done
39881 -- GIF_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39882 -- fi
39883 -- elif test -d "$GIF_PATH/lib"; then
39884 -- ncbi_rp_L_flags=
39885 -- ncbi_rp_L_sep=$CONF_f_libpath
39886 -- if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
39887 -- for x in $GIF_PATH/lib; do
39888 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39889 -- ncbi_rp_L_sep=" $CONF_f_libpath"
39890 -- done
39891 -- GIF_LIBPATH="${ncbi_rp_L_flags}"
39892 -- else
39893 -- ncbi_rp_R_flags=
39894 -- ncbi_rp_R_sep=" $CONF_f_runpath"
39895 -- for x in $GIF_PATH/lib; do
39896 -- ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
39897 -- ncbi_rp_L_sep=" $CONF_f_libpath"
39898 -- x=`echo $x | sed -e "$ncbi_rpath_sed"`
39899 -- ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
39900 -- ncbi_rp_R_sep=:
39901 -- done
39902 -- GIF_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
39903 -- fi
39904 -+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39905 - fi
39906 -- GIF_LIBS="$GIF_LIBPATH -lgif $X_LIBS -lX11"
39907 -- else
39908 -- GIF_INCLUDE=""
39909 -- GIF_LIBS="-lgif $X_LIBS -lX11"
39910 -- in_path=
39911 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_freetype_fix_include" >&5
39912 -+echo "${ECHO_T}$ncbi_cv_lib_freetype_fix_include" >&6; }
39913 -+ if test "$ncbi_cv_lib_freetype_fix_include" = yes; then
39914 -+ FREETYPE_INCLUDE=`echo "$FREETYPE_INCLUDE" |\
39915 -+ sed -e 's:\(-I[^ ]*\)\(/freetype2\):\1 \1\2:g'`
39916 - fi
39917 -- echo "$as_me:$LINENO: checking for libgif$in_path" >&5
39918 --echo $ECHO_N "checking for libgif$in_path... $ECHO_C" >&6
39919 --if test "${ncbi_cv_lib_gif+set}" = set; then
39920 -+ { echo "$as_me:$LINENO: checking whether FreeType works" >&5
39921 -+echo $ECHO_N "checking whether FreeType works... $ECHO_C" >&6; }
39922 -+if test "${ncbi_cv_lib_freetype+set}" = set; then
39923 - echo $ECHO_N "(cached) $ECHO_C" >&6
39924 - else
39925 -- CPPFLAGS=" $GIF_INCLUDE $orig_CPPFLAGS"
39926 -- LIBS="$GIF_LIBS $orig_LIBS"
39927 -+ CPPFLAGS="$FREETYPE_INCLUDE $orig_CPPFLAGS"
39928 -+ LIBS="$FREETYPE_LIBS $orig_LIBS"
39929 - cat >conftest.$ac_ext <<_ACEOF
39930 - /* confdefs.h. */
39931 - _ACEOF
39932 - cat confdefs.h >>conftest.$ac_ext
39933 - cat >>conftest.$ac_ext <<_ACEOF
39934 - /* end confdefs.h. */
39935 --extern "C" {
39936 -- #include <gif_lib.h>
39937 -- }
39938 -+#include <ft2build.h>
39939 -+ #include FT_FREETYPE_H
39940 - int
39941 - main ()
39942 - {
39943 --GifFileType* fp = DGifOpenFileName("foo");
39944 -+FT_Select_Charmap(NULL, ft_encoding_unicode);
39945 - ;
39946 - return 0;
39947 - }
39948 - _ACEOF
39949 - rm -f conftest.$ac_objext conftest$ac_exeext
39950 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39951 -- (eval $ac_link) 2>conftest.er1
39952 -+if { (ac_try="$ac_link"
39953 -+case "(($ac_try" in
39954 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39955 -+ *) ac_try_echo=$ac_try;;
39956 -+esac
39957 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39958 -+ (eval "$ac_link") 2>conftest.er1
39959 - ac_status=$?
39960 - grep -v '^ *+' conftest.er1 >conftest.err
39961 - rm -f conftest.er1
39962 - cat conftest.err >&5
39963 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
39964 - (exit $ac_status); } &&
39965 -- { ac_try='test -z "$ac_cxx_werror_flag"
39966 -- || test ! -s conftest.err'
39967 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39968 -- (eval $ac_try) 2>&5
39969 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39970 -+ { (case "(($ac_try" in
39971 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39972 -+ *) ac_try_echo=$ac_try;;
39973 -+esac
39974 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39975 -+ (eval "$ac_try") 2>&5
39976 - ac_status=$?
39977 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
39978 - (exit $ac_status); }; } &&
39979 - { ac_try='test -s conftest$ac_exeext'
39980 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39981 -- (eval $ac_try) 2>&5
39982 -+ { (case "(($ac_try" in
39983 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39984 -+ *) ac_try_echo=$ac_try;;
39985 -+esac
39986 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39987 -+ (eval "$ac_try") 2>&5
39988 - ac_status=$?
39989 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
39990 - (exit $ac_status); }; }; then
39991 -- ncbi_cv_lib_gif=yes
39992 -+ ncbi_cv_lib_freetype=yes
39993 - else
39994 - echo "$as_me: failed program was:" >&5
39995 - sed 's/^/| /' conftest.$ac_ext >&5
39996 -
39997 --ncbi_cv_lib_gif=no
39998 -+ ncbi_cv_lib_freetype=no
39999 - fi
40000 --rm -f conftest.err conftest.$ac_objext \
40001 -+
40002 -+rm -f core conftest.err conftest.$ac_objext \
40003 - conftest$ac_exeext conftest.$ac_ext
40004 +--- ncbi_cxx--12_0_0/src/build-system/configure.ori 2014-06-25 23:47:05.000000000 +0200
40005 ++++ ncbi_cxx--12_0_0/src/build-system/configure 2014-06-25 23:52:35.000000000 +0200
40006 +@@ -927,7 +927,7 @@
40007 + --without-distcc do not automatically use distcc if available
40008 + --without-ncbi-c do not use NCBI C Toolkit
40009 + --without-sss do not use NCBI SSS libraries
40010 +- --without-utils do not use NCBI SSS UTIL library
40011 ++ --without-sssutils do not use NCBI SSS UTIL library
40012 + --without-sssdb do not use NCBI SSS DB library
40013 + --with-included-sss use the in-tree copy of SSS
40014 + --with-z=DIR use zlib installation in DIR
40015 +@@ -2965,13 +2965,13 @@
40016 + ncbi-c wxwidgets wxwidgets-ucs fastcgi sss sssdb sssutils included-sss \
40017 + geo included-geo \
40018 + z bz2 lzo pcre gcrypt gnutls openssl krb5 sybase sybase-local sybase-new \
40019 +-ftds mysql orbacus freetype ftgl opengl mesa glut glew glew-mx \
40020 ++ftds mysql orbacus odbc freetype ftgl opengl mesa glut glew glew-mx \
40021 + bdb python perl jni sqlite3 icu boost boost-tag \
40022 + sp expat sablot libxml libxslt libexslt xerces xalan zorba \
40023 + oechem sge muparser hdf5 \
40024 + gif jpeg tiff png xpm magic curl mimetic 3psw \
40025 + local-lbsm ncbi-crypt connext \
40026 +-serial objects dbapi app ctools gui algo internal gbench"
40027 ++serial objects dbapi app ctools gui algo internal gbench x"
40028 +
40029 + x_with_list=`echo "$x_with_list" | sed 's/\([^ ][^ ]*\)/--with-\1 --without-\1/g'`
40030 +
40031 +@@ -2995,6 +2995,7 @@
40032 + case "$x_arg" in
40033 + --with-extra-action= | --exec-prefix= | --with-projects= | --srcdir= \
40034 + | --cache-file= | --build= | --host= | --target= | --with-runpath= \
40035 ++ | --mandir= | --infodir= | --datadir= | --sysconfdir= | --localstatedir= \
40036 + | --with-relative-runpath= | --x-includes= | --x-libraries= )
40037 + { { echo "$as_me:$LINENO: error: $x_arg: requires value; use --help to show usage" >&5
40038 + echo "$as_me: error: $x_arg: requires value; use --help to show usage" >&2;}
40039 +@@ -3007,6 +3008,7 @@
40040 + | --with-universal=* | --with-tcheck=* \
40041 + | --cache-file=* | --build=* | --host=* | --prefix=* | --exec-prefix=* \
40042 + | --libdir=* | --bindir=* | --includedir=* | --srcdir=* \
40043 ++ | --mandir=* | --infodir=* | --datadir=* | --sysconfdir=* | --localstatedir=* \
40044 + | [A-Z]*=* \
40045 + | --with-z=* | --with-bz2=* | --with-lzo=* \
40046 + | --with-pcre=* \
40047 +@@ -3201,6 +3203,17 @@
40048 + *\ -O* | *\ -xO* ) skip_fast_flags=yes ;;
40049 + esac
40050 fi
40051 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_gif" >&5
40052 --echo "${ECHO_T}$ncbi_cv_lib_gif" >&6
40053 -- if test "$ncbi_cv_lib_gif" = "no"; then
40054 -- if test "${with_gif:=no}" != no; then
40055 -- { { echo "$as_me:$LINENO: error: --with-gif explicitly specified, but no usable version found." >&5
40056 --echo "$as_me: error: --with-gif explicitly specified, but no usable version found." >&2;}
40057 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_freetype" >&5
40058 -+echo "${ECHO_T}$ncbi_cv_lib_freetype" >&6; }
40059 -+ if test "$ncbi_cv_lib_freetype" = no; then
40060 -+ if test "${with_freetype:=no}" != no; then
40061 -+ { { echo "$as_me:$LINENO: error: --with-freetype explicitly specified, but no usable version found." >&5
40062 -+echo "$as_me: error: --with-freetype explicitly specified, but no usable version found." >&2;}
40063 ++if test -n "$with_projects"; then
40064 ++ case "$with_projects" in
40065 ++ /* ) abs_projects=$with_projects ;;
40066 ++ yes) abs_projects=$srcdir/projects ;;
40067 ++ * ) abs_projects=$srcdir/$with_projects ;;
40068 ++ esac
40069 ++ test -r "$abs_projects" || \
40070 ++ { { echo "$as_me:$LINENO: error: unable to read requested projects file \"$abs_projects\"." >&5
40071 ++echo "$as_me: error: unable to read requested projects file \"$abs_projects\"." >&2;}
40072 + { (exit 1); exit 1; }; }
40073 -+ fi
40074 -+ fi
40075 -+ else
40076 -+ if test "${with_freetype:=no}" != no; then
40077 -+ { { echo "$as_me:$LINENO: error: --with-freetype explicitly specified, but no usable version found." >&5
40078 -+echo "$as_me: error: --with-freetype explicitly specified, but no usable version found." >&2;}
40079 - { (exit 1); exit 1; }; }
40080 - fi
40081 - fi
40082 - fi
40083 -- if test "$with_gif" = "no"; then
40084 -- GIF_PATH="No_GIF"
40085 -- GIF_INCLUDE=
40086 -- GIF_LIBS=
40087 -+if test "$with_freetype" = "no" ; then
40088 -+ FREETYPE_PATH="No_FREETYPE"
40089 -+ FREETYPE_INCLUDE=
40090 -+ FREETYPE_LIBS=
40091 -+else
40092 -+ WithPackages="$WithPackages${WithPackagesSep}FreeType"; WithPackagesSep=" "
40093 -+
40094 -+cat >>confdefs.h <<\_ACEOF
40095 -+#define HAVE_FREETYPE 1
40096 -+_ACEOF
40097 -+
40098 -+fi
40099 -+
40100 -+case "$with_ftgl" in
40101 -+ yes | '' ) ;;
40102 -+ * ) FTGL_PATH=$with_ftgl ;;
40103 -+esac
40104 -+
40105 -+if test -d "$FTGL_PATH"; then
40106 -+ ncbi_fix_dir_tmp=`if cd $FTGL_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
40107 -+ case "$ncbi_fix_dir_tmp" in
40108 -+ /.*) ncbi_fix_dir_tmp2=`cd $FTGL_PATH && $smart_pwd 2>/dev/null`
40109 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
40110 -+ FTGL_PATH=$ncbi_fix_dir_tmp2
40111 -+ else
40112 -+ case "$FTGL_PATH" in
40113 -+ /*) ;;
40114 -+ * ) FTGL_PATH=$ncbi_fix_dir_tmp ;;
40115 -+ esac
40116 -+ fi
40117 -+ ;;
40118 -+ /*) FTGL_PATH=$ncbi_fix_dir_tmp ;;
40119 -+ esac
40120 +fi
40121 -+if test -d "$FTGL_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}/lib"; then
40122 -+ FTGL_LIBDIR=$FTGL_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}/lib
40123 -+elif test -d "$FTGL_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}/lib"; then
40124 -+ FTGL_LIBDIR=$FTGL_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}/lib
40125 -+fi
40126 -+ncbi_fix_dir_tmp=`if cd $FTGL_LIBDIR; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
40127 -+ case "$ncbi_fix_dir_tmp" in
40128 -+ /.*) ncbi_fix_dir_tmp2=`cd $FTGL_LIBDIR && $smart_pwd 2>/dev/null`
40129 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
40130 -+ FTGL_LIBDIR=$ncbi_fix_dir_tmp2
40131 - else
40132 -- WithPackages="$WithPackages${WithPackagesSep}GIF"; WithPackagesSep=" "
40133 -- GIF_INCLUDE=" $GIF_INCLUDE"
40134 --
40135 --cat >>confdefs.h <<\_ACEOF
40136 --#define HAVE_LIBGIF 1
40137 --_ACEOF
40138 --
40139 -+ case "$FTGL_LIBDIR" in
40140 -+ /*) ;;
40141 -+ * ) FTGL_LIBDIR=$ncbi_fix_dir_tmp ;;
40142 -+ esac
40143 - fi
40144 --
40145 --
40146 --
40147 -+ ;;
40148 -+ /*) FTGL_LIBDIR=$ncbi_fix_dir_tmp ;;
40149 -+ esac
40150 -+ncbi_rp_L_flags=
40151 -+ ncbi_rp_L_sep=$CONF_f_libpath
40152 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
40153 -+ for x in $FTGL_LIBDIR; do
40154 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40155 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
40156 -+ done
40157 -+ FTGL_LIBPATH="${ncbi_rp_L_flags}"
40158 - else
40159 --
40160 --cat >>confdefs.h <<\_ACEOF
40161 --#define HAVE_LIBGIF 1
40162 --_ACEOF
40163 --
40164 -- GIF_INCLUDE=$UNGIF_INCLUDE
40165 -- GIF_LIBS=$UNGIF_LIBS
40166 -+ ncbi_rp_R_flags=
40167 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
40168 -+ for x in $FTGL_LIBDIR; do
40169 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40170 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
40171 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
40172 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
40173 -+ ncbi_rp_R_sep=:
40174 -+ done
40175 -+ FTGL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40176 - fi
40177
40178 --test -n "$x_libraries" && : ${XPM_PATH=`dirname "$x_libraries"`}
40179 --if test "$with_xpm" != "no"; then
40180 -- case "$with_xpm" in
40181 -+if test "$with_ftgl" != "no"; then
40182 -+ case "$with_ftgl" in
40183 - yes | "" ) ;;
40184 -- * ) XPM_PATH=$with_xpm ;;
40185 -+ * ) FTGL_PATH=$with_ftgl ;;
40186 - esac
40187 -- if test -d "$XPM_PATH"; then
40188 -- in_path=" in $XPM_PATH"
40189 -- if test -z "$XPM_INCLUDE" -a -d "$XPM_PATH/include"; then
40190 -- XPM_INCLUDE="-I$XPM_PATH/include"
40191 -+ if test -d "$FTGL_PATH"; then
40192 -+ in_path=" in $FTGL_PATH"
40193 -+ if test -z "$FTGL_INCLUDE" -a -d "$FTGL_PATH/include"; then
40194 -+ FTGL_INCLUDE="-I$FTGL_PATH/include"
40195 - fi
40196 -- if test -n "$XPM_LIBPATH"; then
40197 -+ if test -n "$FTGL_LIBPATH"; then
40198 - :
40199 -- elif test -d "$XPM_PATH/lib${bit64_sfx}"; then
40200 -+ elif test -d "$FTGL_PATH/lib${bit64_sfx}"; then
40201 - ncbi_rp_L_flags=
40202 - ncbi_rp_L_sep=$CONF_f_libpath
40203 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
40204 -- for x in $XPM_PATH/lib${bit64_sfx}; do
40205 -+ for x in $FTGL_PATH/lib${bit64_sfx}; do
40206 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40207 - ncbi_rp_L_sep=" $CONF_f_libpath"
40208 - done
40209 -- XPM_LIBPATH="${ncbi_rp_L_flags}"
40210 -+ FTGL_LIBPATH="${ncbi_rp_L_flags}"
40211 - else
40212 - ncbi_rp_R_flags=
40213 - ncbi_rp_R_sep=" $CONF_f_runpath"
40214 -- for x in $XPM_PATH/lib${bit64_sfx}; do
40215 -+ for x in $FTGL_PATH/lib${bit64_sfx}; do
40216 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40217 - ncbi_rp_L_sep=" $CONF_f_libpath"
40218 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
40219 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
40220 - ncbi_rp_R_sep=:
40221 - done
40222 -- XPM_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40223 -+ FTGL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40224 - fi
40225 -- elif test -d "$XPM_PATH/lib"; then
40226 -+ elif test -d "$FTGL_PATH/lib"; then
40227 - ncbi_rp_L_flags=
40228 - ncbi_rp_L_sep=$CONF_f_libpath
40229 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
40230 -- for x in $XPM_PATH/lib; do
40231 -+ for x in $FTGL_PATH/lib; do
40232 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40233 - ncbi_rp_L_sep=" $CONF_f_libpath"
40234 - done
40235 -- XPM_LIBPATH="${ncbi_rp_L_flags}"
40236 -+ FTGL_LIBPATH="${ncbi_rp_L_flags}"
40237 - else
40238 - ncbi_rp_R_flags=
40239 - ncbi_rp_R_sep=" $CONF_f_runpath"
40240 -- for x in $XPM_PATH/lib; do
40241 -+ for x in $FTGL_PATH/lib; do
40242 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40243 - ncbi_rp_L_sep=" $CONF_f_libpath"
40244 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
40245 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
40246 - ncbi_rp_R_sep=:
40247 - done
40248 -- XPM_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40249 -+ FTGL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40250 - fi
40251 - fi
40252 -- XPM_LIBS="$XPM_LIBPATH -lXpm $X_LIBS -lX11"
40253 -+ FTGL_LIBS="$FTGL_LIBPATH -lftgl $FREETYPE_LIBS"
40254 - else
40255 -- XPM_INCLUDE=""
40256 -- XPM_LIBS="-lXpm $X_LIBS -lX11"
40257 -+ FTGL_INCLUDE=""
40258 -+ FTGL_LIBS="-lftgl $FREETYPE_LIBS"
40259 - in_path=
40260 - fi
40261 -- echo "$as_me:$LINENO: checking for libXpm$in_path" >&5
40262 --echo $ECHO_N "checking for libXpm$in_path... $ECHO_C" >&6
40263 --if test "${ncbi_cv_lib_xpm+set}" = set; then
40264 -+ { echo "$as_me:$LINENO: checking for libftgl$in_path" >&5
40265 -+echo $ECHO_N "checking for libftgl$in_path... $ECHO_C" >&6; }
40266 -+if test "${ncbi_cv_lib_ftgl+set}" = set; then
40267 - echo $ECHO_N "(cached) $ECHO_C" >&6
40268 - else
40269 -- CPPFLAGS="$X_CFLAGS $XPM_INCLUDE $orig_CPPFLAGS"
40270 -- LIBS="$XPM_LIBS $orig_LIBS"
40271 -+ CPPFLAGS="$FREETYPE_INCLUDE $FTGL_INCLUDE $orig_CPPFLAGS"
40272 -+ LIBS="$FTGL_LIBS $orig_LIBS"
40273 - cat >conftest.$ac_ext <<_ACEOF
40274 - /* confdefs.h. */
40275 - _ACEOF
40276 - cat confdefs.h >>conftest.$ac_ext
40277 - cat >>conftest.$ac_ext <<_ACEOF
40278 - /* end confdefs.h. */
40279 --#include <X11/xpm.h>
40280 -+#include <FTGL/ftgl.h>
40281 - int
40282 - main ()
40283 - {
40284 --XpmImage image; XpmInfo info;
40285 -- XpmReadFileToXpmImage("foo", &image, &info);
40286 -+FTSimpleLayout layout;
40287 - ;
40288 - return 0;
40289 - }
40290 - _ACEOF
40291 - rm -f conftest.$ac_objext conftest$ac_exeext
40292 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40293 -- (eval $ac_link) 2>conftest.er1
40294 -+if { (ac_try="$ac_link"
40295 -+case "(($ac_try" in
40296 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40297 -+ *) ac_try_echo=$ac_try;;
40298 -+esac
40299 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40300 -+ (eval "$ac_link") 2>conftest.er1
40301 - ac_status=$?
40302 - grep -v '^ *+' conftest.er1 >conftest.err
40303 - rm -f conftest.er1
40304 - cat conftest.err >&5
40305 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
40306 - (exit $ac_status); } &&
40307 -- { ac_try='test -z "$ac_cxx_werror_flag"
40308 -- || test ! -s conftest.err'
40309 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40310 -- (eval $ac_try) 2>&5
40311 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40312 -+ { (case "(($ac_try" in
40313 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40314 -+ *) ac_try_echo=$ac_try;;
40315 -+esac
40316 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40317 -+ (eval "$ac_try") 2>&5
40318 - ac_status=$?
40319 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
40320 - (exit $ac_status); }; } &&
40321 - { ac_try='test -s conftest$ac_exeext'
40322 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40323 -- (eval $ac_try) 2>&5
40324 -+ { (case "(($ac_try" in
40325 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40326 -+ *) ac_try_echo=$ac_try;;
40327 -+esac
40328 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40329 -+ (eval "$ac_try") 2>&5
40330 - ac_status=$?
40331 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
40332 - (exit $ac_status); }; }; then
40333 -- ncbi_cv_lib_xpm=yes
40334 -+ ncbi_cv_lib_ftgl=yes
40335 - else
40336 - echo "$as_me: failed program was:" >&5
40337 - sed 's/^/| /' conftest.$ac_ext >&5
40338 + #### Always define this
40339
40340 --ncbi_cv_lib_xpm=no
40341 -+ ncbi_cv_lib_ftgl=no
40342 +@@ -17878,68 +17891,6 @@
40343 fi
40344 --rm -f conftest.err conftest.$ac_objext \
40345 -+
40346 -+rm -f core conftest.err conftest.$ac_objext \
40347 - conftest$ac_exeext conftest.$ac_ext
40348 - fi
40349 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_xpm" >&5
40350 --echo "${ECHO_T}$ncbi_cv_lib_xpm" >&6
40351 -- if test "$ncbi_cv_lib_xpm" = "no"; then
40352 -- if test "${with_xpm:=no}" != no; then
40353 -- { { echo "$as_me:$LINENO: error: --with-xpm explicitly specified, but no usable version found." >&5
40354 --echo "$as_me: error: --with-xpm explicitly specified, but no usable version found." >&2;}
40355 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_ftgl" >&5
40356 -+echo "${ECHO_T}$ncbi_cv_lib_ftgl" >&6; }
40357 -+ if test "$ncbi_cv_lib_ftgl" = "no"; then
40358 -+ if test "${with_ftgl:=no}" != no; then
40359 -+ { { echo "$as_me:$LINENO: error: --with-ftgl explicitly specified, but no usable version found." >&5
40360 -+echo "$as_me: error: --with-ftgl explicitly specified, but no usable version found." >&2;}
40361 - { (exit 1); exit 1; }; }
40362 - fi
40363 - fi
40364 - fi
40365 -- if test "$with_xpm" = "no"; then
40366 -- XPM_PATH="No_XPM"
40367 -- XPM_INCLUDE=
40368 -- XPM_LIBS=
40369 -+ if test "$with_ftgl" = "no"; then
40370 -+ FTGL_PATH="No_FTGL"
40371 -+ FTGL_INCLUDE=
40372 -+ FTGL_LIBS=
40373 - else
40374 -- WithPackages="$WithPackages${WithPackagesSep}XPM"; WithPackagesSep=" "
40375 -- XPM_INCLUDE="$X_CFLAGS $XPM_INCLUDE"
40376 -+ WithPackages="$WithPackages${WithPackagesSep}FTGL"; WithPackagesSep=" "
40377 -+ FTGL_INCLUDE="$FREETYPE_INCLUDE $FTGL_INCLUDE"
40378 -
40379 - cat >>confdefs.h <<\_ACEOF
40380 --#define HAVE_LIBXPM 1
40381 -+#define HAVE_LIBFTGL 1
40382 - _ACEOF
40383 -
40384 - fi
40385
40386
40387 -
40388 --# The use of X_CFLAGS is probably redundant, but shouldn't hurt.
40389 -
40390 --## FreeType and FTGL
40391 --if test "$with_freetype" != "no" ; then
40392 -- : ${FREETYPE_BINPATH=$FREETYPE_PATH/bin}
40393 -- # Extract the first word of "freetype-config", so it can be a program name with args.
40394 --set dummy freetype-config; ac_word=$2
40395 --echo "$as_me:$LINENO: checking for $ac_word" >&5
40396 --echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
40397 --if test "${ac_cv_path_freetype_config+set}" = set; then
40398 -- echo $ECHO_N "(cached) $ECHO_C" >&6
40399 --else
40400 -- case $freetype_config in
40401 -- [\\/]* | ?:[\\/]*)
40402 -- ac_cv_path_freetype_config="$freetype_config" # Let the user override the test with a path.
40403 -- ;;
40404 -- *)
40405 -- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40406 --as_dummy="$FREETYPE_BINPATH:$PATH"
40407 --for as_dir in $as_dummy
40408 --do
40409 -- IFS=$as_save_IFS
40410 -- test -z "$as_dir" && as_dir=.
40411 -- for ac_exec_ext in '' $ac_executable_extensions; do
40412 -- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
40413 -- ac_cv_path_freetype_config="$as_dir/$ac_word$ac_exec_ext"
40414 -- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40415 -- break 2
40416 -- fi
40417 --done
40418 --done
40419 -
40420 -- ;;
40421 -+if test "$with_magic" != "no"; then
40422 -+ case "$with_magic" in
40423 -+ yes | "" ) ;;
40424 -+ * ) MAGIC_PATH=$with_magic ;;
40425 - esac
40426 -+ if test -d "$MAGIC_PATH"; then
40427 -+ in_path=" in $MAGIC_PATH"
40428 -+ if test -z "$MAGIC_INCLUDE" -a -d "$MAGIC_PATH/include"; then
40429 -+ MAGIC_INCLUDE="-I$MAGIC_PATH/include"
40430 - fi
40431 --freetype_config=$ac_cv_path_freetype_config
40432 --
40433 --if test -n "$freetype_config"; then
40434 -- echo "$as_me:$LINENO: result: $freetype_config" >&5
40435 --echo "${ECHO_T}$freetype_config" >&6
40436 --else
40437 -- echo "$as_me:$LINENO: result: no" >&5
40438 --echo "${ECHO_T}no" >&6
40439 --fi
40440 --
40441 -- if test -n "$freetype_config" ; then
40442 -- : ${FREETYPE_BINPATH=`dirname $freetype_config`}
40443 -- : ${FREETYPE_INCLUDE=`$freetype_config --cflags`}
40444 -- if test -z "${FREETYPE_LIBS+set}"; then
40445 -+ if test -n "$MAGIC_LIBPATH"; then
40446 -+ :
40447 -+ elif test -d "$MAGIC_PATH/lib${bit64_sfx}"; then
40448 -+ ncbi_rp_L_flags=
40449 -+ ncbi_rp_L_sep=$CONF_f_libpath
40450 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
40451 -- FREETYPE_LIBS=`$freetype_config --libs | sed -e "$no_usr_lib"`
40452 -+ for x in $MAGIC_PATH/lib${bit64_sfx}; do
40453 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40454 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
40455 -+ done
40456 -+ MAGIC_LIBPATH="${ncbi_rp_L_flags}"
40457 - else
40458 -- FREETYPE_LIBS=
40459 -- ncbi_rp_L_sep=
40460 - ncbi_rp_R_flags=
40461 - ncbi_rp_R_sep=" $CONF_f_runpath"
40462 -- for x in `$freetype_config --libs | sed -e "$no_usr_lib"`; do
40463 -- case "$x" in
40464 -- -L*)
40465 -- FREETYPE_LIBS="$FREETYPE_LIBS${ncbi_rp_L_sep}$x"
40466 -- x=`echo $x | sed -e "s/^-L//; $ncbi_rpath_sed"`
40467 -+ for x in $MAGIC_PATH/lib${bit64_sfx}; do
40468 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40469 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
40470 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
40471 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
40472 - ncbi_rp_R_sep=:
40473 -- ;;
40474 -- *)
40475 -- FREETYPE_LIBS="$FREETYPE_LIBS${ncbi_rp_R_flags}${ncbi_rp_L_sep}$x"
40476 -- ncbi_rp_R_flags=
40477 -- ncbi_rp_R_sep=" $CONF_f_runpath"
40478 -- ;;
40479 -- esac
40480 -- ncbi_rp_L_sep=" "
40481 - done
40482 -- FREETYPE_LIBS="$FREETYPE_LIBS${ncbi_rp_R_flags}"
40483 -- fi
40484 -- fi
40485 -- case "$host_os:$bit64_sfx" in
40486 -- solaris*:64 )
40487 -- ftprefix=`$freetype_config --exec-prefix`
40488 -- if test -d "$ftprefix/lib/64"; then
40489 -- FREETYPE_LIBS=`echo $FREETYPE_LIBS \
40490 -- | sed -e "s,$ftprefix/lib ,$ftprefix/lib/64 ,g"`
40491 -- fi
40492 -- ;;
40493 -- esac
40494 -- echo "$as_me:$LINENO: checking whether FREETYPE_INCLUDE needs doctoring" >&5
40495 --echo $ECHO_N "checking whether FREETYPE_INCLUDE needs doctoring... $ECHO_C" >&6
40496 --if test "${ncbi_cv_lib_freetype_fix_include+set}" = set; then
40497 +-echo "$as_me:$LINENO: checking for std::is_sorted<> in <algorithm>" >&5
40498 +-echo $ECHO_N "checking for std::is_sorted<> in <algorithm>... $ECHO_C" >&6
40499 +-if test "${ncbi_cv_func_is_sorted+set}" = set; then
40500 - echo $ECHO_N "(cached) $ECHO_C" >&6
40501 -else
40502 -- CPPFLAGS="$FREETYPE_INCLUDE $orig_CPPFLAGS"
40503 -- cat >conftest.$ac_ext <<_ACEOF
40504 +- cat >conftest.$ac_ext <<_ACEOF
40505 -/* confdefs.h. */
40506 -_ACEOF
40507 -cat confdefs.h >>conftest.$ac_ext
40508 -cat >>conftest.$ac_ext <<_ACEOF
40509 -/* end confdefs.h. */
40510 --#include <ft2build.h>
40511 +-#include <algorithm>
40512 -int
40513 -main ()
40514 -{
40515 --
40516 +-int a[2]; return std::is_sorted(a, a+2) ? 0 : 1;
40517 - ;
40518 - return 0;
40519 -}
40520 @@ -40445,3969 +96,121 @@
40521 - || test ! -s conftest.err'
40522 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40523 - (eval $ac_try) 2>&5
40524 -- ac_status=$?
40525 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
40526 -- (exit $ac_status); }; } &&
40527 -- { ac_try='test -s conftest.$ac_objext'
40528 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40529 -- (eval $ac_try) 2>&5
40530 -- ac_status=$?
40531 -- echo "$as_me:$LINENO: \$? = $ac_status" >&5
40532 -- (exit $ac_status); }; }; then
40533 -- ncbi_cv_lib_freetype_fix_include=no
40534 -+ MAGIC_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40535 -+ fi
40536 -+ elif test -d "$MAGIC_PATH/lib"; then
40537 -+ ncbi_rp_L_flags=
40538 -+ ncbi_rp_L_sep=$CONF_f_libpath
40539 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
40540 -+ for x in $MAGIC_PATH/lib; do
40541 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40542 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
40543 -+ done
40544 -+ MAGIC_LIBPATH="${ncbi_rp_L_flags}"
40545 - else
40546 -- echo "$as_me: failed program was:" >&5
40547 --sed 's/^/| /' conftest.$ac_ext >&5
40548 --
40549 --ncbi_cv_lib_freetype_fix_include=yes
40550 -+ ncbi_rp_R_flags=
40551 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
40552 -+ for x in $MAGIC_PATH/lib; do
40553 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40554 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
40555 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
40556 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
40557 -+ ncbi_rp_R_sep=:
40558 -+ done
40559 -+ MAGIC_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40560 - fi
40561 --rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40562 - fi
40563 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_freetype_fix_include" >&5
40564 --echo "${ECHO_T}$ncbi_cv_lib_freetype_fix_include" >&6
40565 -- if test "$ncbi_cv_lib_freetype_fix_include" = yes; then
40566 -- FREETYPE_INCLUDE=`echo "$FREETYPE_INCLUDE" |\
40567 -- sed -e 's:\(-I[^ ]*\)\(/freetype2\):\1 \1\2:g'`
40568 -+ MAGIC_LIBS="$MAGIC_LIBPATH -lmagic "
40569 -+ else
40570 -+ MAGIC_INCLUDE=""
40571 -+ MAGIC_LIBS="-lmagic "
40572 -+ in_path=
40573 - fi
40574 -- echo "$as_me:$LINENO: checking whether FreeType works" >&5
40575 --echo $ECHO_N "checking whether FreeType works... $ECHO_C" >&6
40576 --if test "${ncbi_cv_lib_freetype+set}" = set; then
40577 -+ { echo "$as_me:$LINENO: checking for libmagic$in_path" >&5
40578 -+echo $ECHO_N "checking for libmagic$in_path... $ECHO_C" >&6; }
40579 -+if test "${ncbi_cv_lib_magic+set}" = set; then
40580 - echo $ECHO_N "(cached) $ECHO_C" >&6
40581 - else
40582 -- CPPFLAGS="$FREETYPE_INCLUDE $orig_CPPFLAGS"
40583 -- LIBS="$FREETYPE_LIBS $orig_LIBS"
40584 -+ CPPFLAGS=" $MAGIC_INCLUDE $orig_CPPFLAGS"
40585 -+ LIBS="$MAGIC_LIBS $orig_LIBS"
40586 - cat >conftest.$ac_ext <<_ACEOF
40587 - /* confdefs.h. */
40588 - _ACEOF
40589 - cat confdefs.h >>conftest.$ac_ext
40590 - cat >>conftest.$ac_ext <<_ACEOF
40591 - /* end confdefs.h. */
40592 --#include <ft2build.h>
40593 -- #include FT_FREETYPE_H
40594 -+#include <magic.h>
40595 - int
40596 - main ()
40597 - {
40598 --FT_Select_Charmap(NULL, ft_encoding_unicode);
40599 -+magic_t m = magic_open(17);
40600 - ;
40601 - return 0;
40602 - }
40603 - _ACEOF
40604 - rm -f conftest.$ac_objext conftest$ac_exeext
40605 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40606 -- (eval $ac_link) 2>conftest.er1
40607 -+if { (ac_try="$ac_link"
40608 -+case "(($ac_try" in
40609 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40610 -+ *) ac_try_echo=$ac_try;;
40611 -+esac
40612 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40613 -+ (eval "$ac_link") 2>conftest.er1
40614 - ac_status=$?
40615 - grep -v '^ *+' conftest.er1 >conftest.err
40616 - rm -f conftest.er1
40617 - cat conftest.err >&5
40618 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
40619 - (exit $ac_status); } &&
40620 -- { ac_try='test -z "$ac_cxx_werror_flag"
40621 -- || test ! -s conftest.err'
40622 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40623 -- (eval $ac_try) 2>&5
40624 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40625 -+ { (case "(($ac_try" in
40626 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40627 -+ *) ac_try_echo=$ac_try;;
40628 -+esac
40629 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40630 -+ (eval "$ac_try") 2>&5
40631 - ac_status=$?
40632 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
40633 - (exit $ac_status); }; } &&
40634 - { ac_try='test -s conftest$ac_exeext'
40635 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40636 -- (eval $ac_try) 2>&5
40637 -+ { (case "(($ac_try" in
40638 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40639 -+ *) ac_try_echo=$ac_try;;
40640 -+esac
40641 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40642 -+ (eval "$ac_try") 2>&5
40643 - ac_status=$?
40644 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
40645 - (exit $ac_status); }; }; then
40646 -- ncbi_cv_lib_freetype=yes
40647 -+ ncbi_cv_lib_magic=yes
40648 - else
40649 - echo "$as_me: failed program was:" >&5
40650 - sed 's/^/| /' conftest.$ac_ext >&5
40651 -
40652 --ncbi_cv_lib_freetype=no
40653 -+ ncbi_cv_lib_magic=no
40654 - fi
40655 --rm -f conftest.err conftest.$ac_objext \
40656 -+
40657 -+rm -f core conftest.err conftest.$ac_objext \
40658 - conftest$ac_exeext conftest.$ac_ext
40659 - fi
40660 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_freetype" >&5
40661 --echo "${ECHO_T}$ncbi_cv_lib_freetype" >&6
40662 -- if test "$ncbi_cv_lib_freetype" = no; then
40663 -- if test "${with_freetype:=no}" != no; then
40664 -- { { echo "$as_me:$LINENO: error: --with-freetype explicitly specified, but no usable version found." >&5
40665 --echo "$as_me: error: --with-freetype explicitly specified, but no usable version found." >&2;}
40666 -- { (exit 1); exit 1; }; }
40667 -- fi
40668 -- fi
40669 -- else
40670 -- if test "${with_freetype:=no}" != no; then
40671 -- { { echo "$as_me:$LINENO: error: --with-freetype explicitly specified, but no usable version found." >&5
40672 --echo "$as_me: error: --with-freetype explicitly specified, but no usable version found." >&2;}
40673 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_magic" >&5
40674 -+echo "${ECHO_T}$ncbi_cv_lib_magic" >&6; }
40675 -+ if test "$ncbi_cv_lib_magic" = "no"; then
40676 -+ if test "${with_magic:=no}" != no; then
40677 -+ { { echo "$as_me:$LINENO: error: --with-magic explicitly specified, but no usable version found." >&5
40678 -+echo "$as_me: error: --with-magic explicitly specified, but no usable version found." >&2;}
40679 - { (exit 1); exit 1; }; }
40680 - fi
40681 - fi
40682 - fi
40683 --if test "$with_freetype" = "no" ; then
40684 -- FREETYPE_PATH="No_FREETYPE"
40685 -- FREETYPE_INCLUDE=
40686 -- FREETYPE_LIBS=
40687 -+ if test "$with_magic" = "no"; then
40688 -+ MAGIC_PATH="No_MAGIC"
40689 -+ MAGIC_INCLUDE=
40690 -+ MAGIC_LIBS=
40691 - else
40692 -- WithPackages="$WithPackages${WithPackagesSep}FreeType"; WithPackagesSep=" "
40693 -+ WithPackages="$WithPackages${WithPackagesSep}MAGIC"; WithPackagesSep=" "
40694 -+ MAGIC_INCLUDE=" $MAGIC_INCLUDE"
40695 -
40696 - cat >>confdefs.h <<\_ACEOF
40697 --#define HAVE_FREETYPE 1
40698 -+#define HAVE_LIBMAGIC 1
40699 - _ACEOF
40700 -
40701 - fi
40702 -
40703 --case "$with_ftgl" in
40704 -- yes | '' ) : ${FTGL_PATH=$NCBI/ftgl} ;;
40705 -- * ) FTGL_PATH=$with_ftgl ;;
40706 --esac
40707 -
40708 --if test -d "$FTGL_PATH"; then
40709 -- ncbi_fix_dir_tmp=`if cd $FTGL_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
40710 -+
40711 -+
40712 -+
40713 -+# Mimetic
40714 -+case "$with_mimetic" in
40715 -+ yes | '' ) ;;
40716 -+ * ) MIMETIC_PATH=$with_mimetic ;;
40717 -+esac
40718 -+if test -d "$MIMETIC_PATH"; then
40719 -+ ncbi_fix_dir_tmp=`if cd $MIMETIC_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
40720 - case "$ncbi_fix_dir_tmp" in
40721 -- /.*) ncbi_fix_dir_tmp2=`cd $FTGL_PATH && $smart_pwd 2>/dev/null`
40722 -+ /.*) ncbi_fix_dir_tmp2=`cd $MIMETIC_PATH && $smart_pwd 2>/dev/null`
40723 - if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
40724 -- FTGL_PATH=$ncbi_fix_dir_tmp2
40725 -+ MIMETIC_PATH=$ncbi_fix_dir_tmp2
40726 - else
40727 -- case "$FTGL_PATH" in
40728 -+ case "$MIMETIC_PATH" in
40729 - /*) ;;
40730 -- * ) FTGL_PATH=$ncbi_fix_dir_tmp ;;
40731 -+ * ) MIMETIC_PATH=$ncbi_fix_dir_tmp ;;
40732 - esac
40733 - fi
40734 - ;;
40735 -- /*) FTGL_PATH=$ncbi_fix_dir_tmp ;;
40736 -+ /*) MIMETIC_PATH=$ncbi_fix_dir_tmp ;;
40737 - esac
40738 - fi
40739 --if test -d "$FTGL_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}/lib"; then
40740 -- FTGL_LIBDIR=$FTGL_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}/lib
40741 --elif test -d "$FTGL_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}/lib"; then
40742 -- FTGL_LIBDIR=$FTGL_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}/lib
40743 --fi
40744 --ncbi_fix_dir_tmp=`if cd $FTGL_LIBDIR; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
40745 -- case "$ncbi_fix_dir_tmp" in
40746 -- /.*) ncbi_fix_dir_tmp2=`cd $FTGL_LIBDIR && $smart_pwd 2>/dev/null`
40747 -- if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
40748 -- FTGL_LIBDIR=$ncbi_fix_dir_tmp2
40749 -- else
40750 -- case "$FTGL_LIBDIR" in
40751 -- /*) ;;
40752 -- * ) FTGL_LIBDIR=$ncbi_fix_dir_tmp ;;
40753 -- esac
40754 -+for d in "$MIMETIC_LIBDIR" \
40755 -+ "$MIMETIC_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}/lib" \
40756 -+ "$MIMETIC_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}/lib" \
40757 -+ "$MIMETIC_PATH/lib${bit64_sfx}" \
40758 -+ "$MIMETIC_PATH/${compiler_vpfx}${DEBUG_SFX}/lib" \
40759 -+ "$MIMETIC_PATH/${compiler_pfx}${DEBUG_SFX}/lib" \
40760 -+ "$MIMETIC_PATH/lib"; do
40761 -+ if test -d "$d"; then
40762 -+ MIMETIC_LIBDIR=$d
40763 -+ break
40764 - fi
40765 -- ;;
40766 -- /*) FTGL_LIBDIR=$ncbi_fix_dir_tmp ;;
40767 -- esac
40768 -+done
40769 - ncbi_rp_L_flags=
40770 - ncbi_rp_L_sep=$CONF_f_libpath
40771 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
40772 -- for x in $FTGL_LIBDIR; do
40773 -+ for x in $MIMETIC_LIBDIR; do
40774 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40775 - ncbi_rp_L_sep=" $CONF_f_libpath"
40776 - done
40777 -- FTGL_LIBPATH="${ncbi_rp_L_flags}"
40778 -+ MIMETIC_LIBPATH="${ncbi_rp_L_flags}"
40779 - else
40780 - ncbi_rp_R_flags=
40781 - ncbi_rp_R_sep=" $CONF_f_runpath"
40782 -- for x in $FTGL_LIBDIR; do
40783 -+ for x in $MIMETIC_LIBDIR; do
40784 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40785 - ncbi_rp_L_sep=" $CONF_f_libpath"
40786 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
40787 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
40788 - ncbi_rp_R_sep=:
40789 - done
40790 -- FTGL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40791 -+ MIMETIC_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40792 - fi
40793 -
40794 --if test "$with_ftgl" != "no"; then
40795 -- case "$with_ftgl" in
40796 -+if test "$with_mimetic" != "no"; then
40797 -+ case "$with_mimetic" in
40798 - yes | "" ) ;;
40799 -- * ) FTGL_PATH=$with_ftgl ;;
40800 -+ * ) MIMETIC_PATH=$with_mimetic ;;
40801 - esac
40802 -- if test -d "$FTGL_PATH"; then
40803 -- in_path=" in $FTGL_PATH"
40804 -- if test -z "$FTGL_INCLUDE" -a -d "$FTGL_PATH/include"; then
40805 -- FTGL_INCLUDE="-I$FTGL_PATH/include"
40806 -+ if test -d "$MIMETIC_PATH"; then
40807 -+ in_path=" in $MIMETIC_PATH"
40808 -+ if test -z "$MIMETIC_INCLUDE" -a -d "$MIMETIC_PATH/include"; then
40809 -+ MIMETIC_INCLUDE="-I$MIMETIC_PATH/include"
40810 - fi
40811 -- if test -n "$FTGL_LIBPATH"; then
40812 -+ if test -n "$MIMETIC_LIBPATH"; then
40813 - :
40814 -- elif test -d "$FTGL_PATH/lib${bit64_sfx}"; then
40815 -+ elif test -d "$MIMETIC_PATH/lib${bit64_sfx}"; then
40816 - ncbi_rp_L_flags=
40817 - ncbi_rp_L_sep=$CONF_f_libpath
40818 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
40819 -- for x in $FTGL_PATH/lib${bit64_sfx}; do
40820 -+ for x in $MIMETIC_PATH/lib${bit64_sfx}; do
40821 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40822 - ncbi_rp_L_sep=" $CONF_f_libpath"
40823 - done
40824 -- FTGL_LIBPATH="${ncbi_rp_L_flags}"
40825 -+ MIMETIC_LIBPATH="${ncbi_rp_L_flags}"
40826 - else
40827 - ncbi_rp_R_flags=
40828 - ncbi_rp_R_sep=" $CONF_f_runpath"
40829 -- for x in $FTGL_PATH/lib${bit64_sfx}; do
40830 -+ for x in $MIMETIC_PATH/lib${bit64_sfx}; do
40831 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40832 - ncbi_rp_L_sep=" $CONF_f_libpath"
40833 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
40834 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
40835 - ncbi_rp_R_sep=:
40836 - done
40837 -- FTGL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40838 -+ MIMETIC_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40839 - fi
40840 -- elif test -d "$FTGL_PATH/lib"; then
40841 -+ elif test -d "$MIMETIC_PATH/lib"; then
40842 - ncbi_rp_L_flags=
40843 - ncbi_rp_L_sep=$CONF_f_libpath
40844 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
40845 -- for x in $FTGL_PATH/lib; do
40846 -+ for x in $MIMETIC_PATH/lib; do
40847 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40848 - ncbi_rp_L_sep=" $CONF_f_libpath"
40849 - done
40850 -- FTGL_LIBPATH="${ncbi_rp_L_flags}"
40851 -+ MIMETIC_LIBPATH="${ncbi_rp_L_flags}"
40852 - else
40853 - ncbi_rp_R_flags=
40854 - ncbi_rp_R_sep=" $CONF_f_runpath"
40855 -- for x in $FTGL_PATH/lib; do
40856 -+ for x in $MIMETIC_PATH/lib; do
40857 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
40858 - ncbi_rp_L_sep=" $CONF_f_libpath"
40859 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
40860 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
40861 - ncbi_rp_R_sep=:
40862 - done
40863 -- FTGL_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40864 -+ MIMETIC_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
40865 - fi
40866 - fi
40867 -- FTGL_LIBS="$FTGL_LIBPATH -lftgl $FREETYPE_LIBS"
40868 -+ MIMETIC_LIBS="$MIMETIC_LIBPATH -lmimetic "
40869 - else
40870 -- FTGL_INCLUDE=""
40871 -- FTGL_LIBS="-lftgl $FREETYPE_LIBS"
40872 -+ MIMETIC_INCLUDE=""
40873 -+ MIMETIC_LIBS="-lmimetic "
40874 - in_path=
40875 - fi
40876 -- echo "$as_me:$LINENO: checking for libftgl$in_path" >&5
40877 --echo $ECHO_N "checking for libftgl$in_path... $ECHO_C" >&6
40878 --if test "${ncbi_cv_lib_ftgl+set}" = set; then
40879 -+ { echo "$as_me:$LINENO: checking for libmimetic$in_path" >&5
40880 -+echo $ECHO_N "checking for libmimetic$in_path... $ECHO_C" >&6; }
40881 -+if test "${ncbi_cv_lib_mimetic+set}" = set; then
40882 - echo $ECHO_N "(cached) $ECHO_C" >&6
40883 - else
40884 -- CPPFLAGS="$FREETYPE_INCLUDE $FTGL_INCLUDE $orig_CPPFLAGS"
40885 -- LIBS="$FTGL_LIBS $orig_LIBS"
40886 -+ CPPFLAGS=" $MIMETIC_INCLUDE $orig_CPPFLAGS"
40887 -+ LIBS="$MIMETIC_LIBS $orig_LIBS"
40888 - cat >conftest.$ac_ext <<_ACEOF
40889 - /* confdefs.h. */
40890 - _ACEOF
40891 - cat confdefs.h >>conftest.$ac_ext
40892 - cat >>conftest.$ac_ext <<_ACEOF
40893 - /* end confdefs.h. */
40894 --#include <FTGL/ftgl.h>
40895 -+#include <mimetic/mimetic.h>
40896 - int
40897 - main ()
40898 - {
40899 --FTSimpleLayout layout;
40900 -+mimetic::MimeEntity me;
40901 - ;
40902 - return 0;
40903 - }
40904 - _ACEOF
40905 - rm -f conftest.$ac_objext conftest$ac_exeext
40906 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40907 -- (eval $ac_link) 2>conftest.er1
40908 -+if { (ac_try="$ac_link"
40909 -+case "(($ac_try" in
40910 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40911 -+ *) ac_try_echo=$ac_try;;
40912 -+esac
40913 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40914 -+ (eval "$ac_link") 2>conftest.er1
40915 - ac_status=$?
40916 - grep -v '^ *+' conftest.er1 >conftest.err
40917 - rm -f conftest.er1
40918 - cat conftest.err >&5
40919 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
40920 - (exit $ac_status); } &&
40921 -- { ac_try='test -z "$ac_cxx_werror_flag"
40922 -- || test ! -s conftest.err'
40923 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40924 -- (eval $ac_try) 2>&5
40925 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40926 -+ { (case "(($ac_try" in
40927 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40928 -+ *) ac_try_echo=$ac_try;;
40929 -+esac
40930 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40931 -+ (eval "$ac_try") 2>&5
40932 - ac_status=$?
40933 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
40934 - (exit $ac_status); }; } &&
40935 - { ac_try='test -s conftest$ac_exeext'
40936 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40937 -- (eval $ac_try) 2>&5
40938 -+ { (case "(($ac_try" in
40939 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40940 -+ *) ac_try_echo=$ac_try;;
40941 -+esac
40942 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40943 -+ (eval "$ac_try") 2>&5
40944 - ac_status=$?
40945 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
40946 - (exit $ac_status); }; }; then
40947 -- ncbi_cv_lib_ftgl=yes
40948 -+ ncbi_cv_lib_mimetic=yes
40949 - else
40950 - echo "$as_me: failed program was:" >&5
40951 - sed 's/^/| /' conftest.$ac_ext >&5
40952 -
40953 --ncbi_cv_lib_ftgl=no
40954 -+ ncbi_cv_lib_mimetic=no
40955 - fi
40956 --rm -f conftest.err conftest.$ac_objext \
40957 -+
40958 -+rm -f core conftest.err conftest.$ac_objext \
40959 - conftest$ac_exeext conftest.$ac_ext
40960 - fi
40961 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_ftgl" >&5
40962 --echo "${ECHO_T}$ncbi_cv_lib_ftgl" >&6
40963 -- if test "$ncbi_cv_lib_ftgl" = "no"; then
40964 -- if test "${with_ftgl:=no}" != no; then
40965 -- { { echo "$as_me:$LINENO: error: --with-ftgl explicitly specified, but no usable version found." >&5
40966 --echo "$as_me: error: --with-ftgl explicitly specified, but no usable version found." >&2;}
40967 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_mimetic" >&5
40968 -+echo "${ECHO_T}$ncbi_cv_lib_mimetic" >&6; }
40969 -+ if test "$ncbi_cv_lib_mimetic" = "no"; then
40970 -+ if test "${with_mimetic:=no}" != no; then
40971 -+ { { echo "$as_me:$LINENO: error: --with-mimetic explicitly specified, but no usable version found." >&5
40972 -+echo "$as_me: error: --with-mimetic explicitly specified, but no usable version found." >&2;}
40973 - { (exit 1); exit 1; }; }
40974 - fi
40975 - fi
40976 - fi
40977 -- if test "$with_ftgl" = "no"; then
40978 -- FTGL_PATH="No_FTGL"
40979 -- FTGL_INCLUDE=
40980 -- FTGL_LIBS=
40981 -+ if test "$with_mimetic" = "no"; then
40982 -+ MIMETIC_PATH="No_MIMETIC"
40983 -+ MIMETIC_INCLUDE=
40984 -+ MIMETIC_LIBS=
40985 -+ else
40986 -+ WithPackages="$WithPackages${WithPackagesSep}MIMETIC"; WithPackagesSep=" "
40987 -+ MIMETIC_INCLUDE=" $MIMETIC_INCLUDE"
40988 -+
40989 -+cat >>confdefs.h <<\_ACEOF
40990 -+#define HAVE_LIBMIMETIC 1
40991 -+_ACEOF
40992 -+
40993 -+ fi
40994 -+
40995 -+
40996 -+
40997 -+
40998 -+
40999 -+# gSOAP++
41000 -+case "$with_gsoap" in
41001 -+ yes | '' ) ;;
41002 -+ * ) GSOAP_PATH=$with_gsoap ;;
41003 -+esac
41004 -+if test -d "$GSOAP_PATH"; then
41005 -+ ncbi_fix_dir_tmp=`if cd $GSOAP_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
41006 -+ case "$ncbi_fix_dir_tmp" in
41007 -+ /.*) ncbi_fix_dir_tmp2=`cd $GSOAP_PATH && $smart_pwd 2>/dev/null`
41008 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
41009 -+ GSOAP_PATH=$ncbi_fix_dir_tmp2
41010 -+ else
41011 -+ case "$GSOAP_PATH" in
41012 -+ /*) ;;
41013 -+ * ) GSOAP_PATH=$ncbi_fix_dir_tmp ;;
41014 -+ esac
41015 -+ fi
41016 -+ ;;
41017 -+ /*) GSOAP_PATH=$ncbi_fix_dir_tmp ;;
41018 -+ esac
41019 -+fi
41020 -+for d in "$GSOAP_LIBDIR" \
41021 -+ "$GSOAP_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/lib" \
41022 -+ "$GSOAP_PATH/${compiler_pfx}${DEBUG_SFX}${mt_sfx}${bit64_sfx}/lib" \
41023 -+ "$GSOAP_PATH/lib${bit64_sfx}" \
41024 -+ "$GSOAP_PATH/${compiler_vpfx}${DEBUG_SFX}${mt_sfx}/lib" \
41025 -+ "$GSOAP_PATH/${compiler_pfx}${DEBUG_SFX}${mt_sfx}/lib" \
41026 -+ "$GSOAP_PATH/lib"; do
41027 -+ if test -d "$d"; then
41028 -+ GSOAP_LIBDIR=$d
41029 -+ ncbi_fix_dir_tmp=`if cd $GSOAP_LIBDIR; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
41030 -+ case "$ncbi_fix_dir_tmp" in
41031 -+ /.*) ncbi_fix_dir_tmp2=`cd $GSOAP_LIBDIR && $smart_pwd 2>/dev/null`
41032 -+ if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
41033 -+ GSOAP_LIBDIR=$ncbi_fix_dir_tmp2
41034 -+ else
41035 -+ case "$GSOAP_LIBDIR" in
41036 -+ /*) ;;
41037 -+ * ) GSOAP_LIBDIR=$ncbi_fix_dir_tmp ;;
41038 -+ esac
41039 -+ fi
41040 -+ ;;
41041 -+ /*) GSOAP_LIBDIR=$ncbi_fix_dir_tmp ;;
41042 -+ esac
41043 -+ break
41044 -+ fi
41045 -+done
41046 -+ncbi_rp_L_flags=
41047 -+ ncbi_rp_L_sep=$CONF_f_libpath
41048 -+ if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
41049 -+ for x in $GSOAP_LIBDIR; do
41050 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41051 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
41052 -+ done
41053 -+ GSOAP_LIBPATH="${ncbi_rp_L_flags}"
41054 -+ else
41055 -+ ncbi_rp_R_flags=
41056 -+ ncbi_rp_R_sep=" $CONF_f_runpath"
41057 -+ for x in $GSOAP_LIBDIR; do
41058 -+ ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41059 -+ ncbi_rp_L_sep=" $CONF_f_libpath"
41060 -+ x=`echo $x | sed -e "$ncbi_rpath_sed"`
41061 -+ ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
41062 -+ ncbi_rp_R_sep=:
41063 -+ done
41064 -+ GSOAP_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
41065 -+ fi
41066 -+
41067 -+: ${GSOAP_BINDIR=`dirname "$GSOAP_LIBDIR"`/bin}
41068 -+# Extract the first word of "soapcpp2", so it can be a program name with args.
41069 -+set dummy soapcpp2; ac_word=$2
41070 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
41071 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41072 -+if test "${ac_cv_path_GSOAP_SOAPCPP2+set}" = set; then
41073 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
41074 -+else
41075 -+ case $GSOAP_SOAPCPP2 in
41076 -+ [\\/]* | ?:[\\/]*)
41077 -+ ac_cv_path_GSOAP_SOAPCPP2="$GSOAP_SOAPCPP2" # Let the user override the test with a path.
41078 -+ ;;
41079 -+ *)
41080 -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41081 -+as_dummy="$GSOAP_BINDIR:$PATH"
41082 -+for as_dir in $as_dummy
41083 -+do
41084 -+ IFS=$as_save_IFS
41085 -+ test -z "$as_dir" && as_dir=.
41086 -+ for ac_exec_ext in '' $ac_executable_extensions; do
41087 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
41088 -+ ac_cv_path_GSOAP_SOAPCPP2="$as_dir/$ac_word$ac_exec_ext"
41089 -+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41090 -+ break 2
41091 -+ fi
41092 -+done
41093 -+done
41094 -+IFS=$as_save_IFS
41095 -+
41096 -+ ;;
41097 -+esac
41098 -+fi
41099 -+GSOAP_SOAPCPP2=$ac_cv_path_GSOAP_SOAPCPP2
41100 -+if test -n "$GSOAP_SOAPCPP2"; then
41101 -+ { echo "$as_me:$LINENO: result: $GSOAP_SOAPCPP2" >&5
41102 -+echo "${ECHO_T}$GSOAP_SOAPCPP2" >&6; }
41103 - else
41104 -- WithPackages="$WithPackages${WithPackagesSep}FTGL"; WithPackagesSep=" "
41105 -- FTGL_INCLUDE="$FREETYPE_INCLUDE $FTGL_INCLUDE"
41106 -+ { echo "$as_me:$LINENO: result: no" >&5
41107 -+echo "${ECHO_T}no" >&6; }
41108 -+fi
41109 -
41110 --cat >>confdefs.h <<\_ACEOF
41111 --#define HAVE_LIBFTGL 1
41112 --_ACEOF
41113 -
41114 -+# Extract the first word of "wsdl2h", so it can be a program name with args.
41115 -+set dummy wsdl2h; ac_word=$2
41116 -+{ echo "$as_me:$LINENO: checking for $ac_word" >&5
41117 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41118 -+if test "${ac_cv_path_GSOAP_WSDL2H+set}" = set; then
41119 -+ echo $ECHO_N "(cached) $ECHO_C" >&6
41120 -+else
41121 -+ case $GSOAP_WSDL2H in
41122 -+ [\\/]* | ?:[\\/]*)
41123 -+ ac_cv_path_GSOAP_WSDL2H="$GSOAP_WSDL2H" # Let the user override the test with a path.
41124 -+ ;;
41125 -+ *)
41126 -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41127 -+as_dummy="$GSOAP_BINDIR:$PATH"
41128 -+for as_dir in $as_dummy
41129 -+do
41130 -+ IFS=$as_save_IFS
41131 -+ test -z "$as_dir" && as_dir=.
41132 -+ for ac_exec_ext in '' $ac_executable_extensions; do
41133 -+ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
41134 -+ ac_cv_path_GSOAP_WSDL2H="$as_dir/$ac_word$ac_exec_ext"
41135 -+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41136 -+ break 2
41137 - fi
41138 -+done
41139 -+done
41140 -+IFS=$as_save_IFS
41141 -
41142 -+ ;;
41143 -+esac
41144 -+fi
41145 -+GSOAP_WSDL2H=$ac_cv_path_GSOAP_WSDL2H
41146 -+if test -n "$GSOAP_WSDL2H"; then
41147 -+ { echo "$as_me:$LINENO: result: $GSOAP_WSDL2H" >&5
41148 -+echo "${ECHO_T}$GSOAP_WSDL2H" >&6; }
41149 -+else
41150 -+ { echo "$as_me:$LINENO: result: no" >&5
41151 -+echo "${ECHO_T}no" >&6; }
41152 -+fi
41153 -
41154 -
41155 -
41156 --
41157 --if test "$with_magic" != "no"; then
41158 -- case "$with_magic" in
41159 -+if test "$with_gsoap" != "no"; then
41160 -+ case "$with_gsoap" in
41161 - yes | "" ) ;;
41162 -- * ) MAGIC_PATH=$with_magic ;;
41163 -+ * ) GSOAP_PATH=$with_gsoap ;;
41164 - esac
41165 -- if test -d "$MAGIC_PATH"; then
41166 -- in_path=" in $MAGIC_PATH"
41167 -- if test -z "$MAGIC_INCLUDE" -a -d "$MAGIC_PATH/include"; then
41168 -- MAGIC_INCLUDE="-I$MAGIC_PATH/include"
41169 -+ if test -d "$GSOAP_PATH"; then
41170 -+ in_path=" in $GSOAP_PATH"
41171 -+ if test -z "$GSOAP_INCLUDE" -a -d "$GSOAP_PATH/include"; then
41172 -+ GSOAP_INCLUDE="-I$GSOAP_PATH/include"
41173 - fi
41174 -- if test -n "$MAGIC_LIBPATH"; then
41175 -+ if test -n "$GSOAP_LIBPATH"; then
41176 - :
41177 -- elif test -d "$MAGIC_PATH/lib${bit64_sfx}"; then
41178 -+ elif test -d "$GSOAP_PATH/lib${bit64_sfx}"; then
41179 - ncbi_rp_L_flags=
41180 - ncbi_rp_L_sep=$CONF_f_libpath
41181 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
41182 -- for x in $MAGIC_PATH/lib${bit64_sfx}; do
41183 -+ for x in $GSOAP_PATH/lib${bit64_sfx}; do
41184 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41185 - ncbi_rp_L_sep=" $CONF_f_libpath"
41186 - done
41187 -- MAGIC_LIBPATH="${ncbi_rp_L_flags}"
41188 -+ GSOAP_LIBPATH="${ncbi_rp_L_flags}"
41189 - else
41190 - ncbi_rp_R_flags=
41191 - ncbi_rp_R_sep=" $CONF_f_runpath"
41192 -- for x in $MAGIC_PATH/lib${bit64_sfx}; do
41193 -+ for x in $GSOAP_PATH/lib${bit64_sfx}; do
41194 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41195 - ncbi_rp_L_sep=" $CONF_f_libpath"
41196 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
41197 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
41198 - ncbi_rp_R_sep=:
41199 - done
41200 -- MAGIC_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
41201 -+ GSOAP_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
41202 - fi
41203 -- elif test -d "$MAGIC_PATH/lib"; then
41204 -+ elif test -d "$GSOAP_PATH/lib"; then
41205 - ncbi_rp_L_flags=
41206 - ncbi_rp_L_sep=$CONF_f_libpath
41207 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
41208 -- for x in $MAGIC_PATH/lib; do
41209 -+ for x in $GSOAP_PATH/lib; do
41210 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41211 - ncbi_rp_L_sep=" $CONF_f_libpath"
41212 - done
41213 -- MAGIC_LIBPATH="${ncbi_rp_L_flags}"
41214 -+ GSOAP_LIBPATH="${ncbi_rp_L_flags}"
41215 - else
41216 - ncbi_rp_R_flags=
41217 - ncbi_rp_R_sep=" $CONF_f_runpath"
41218 -- for x in $MAGIC_PATH/lib; do
41219 -+ for x in $GSOAP_PATH/lib; do
41220 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41221 - ncbi_rp_L_sep=" $CONF_f_libpath"
41222 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
41223 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
41224 - ncbi_rp_R_sep=:
41225 - done
41226 -- MAGIC_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
41227 -+ GSOAP_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
41228 - fi
41229 - fi
41230 -- MAGIC_LIBS="$MAGIC_LIBPATH -lmagic "
41231 -+ GSOAP_LIBS="$GSOAP_LIBPATH -lgsoapssl++ $OPENSSL_LIBS $Z_LIBS"
41232 - else
41233 -- MAGIC_INCLUDE=""
41234 -- MAGIC_LIBS="-lmagic "
41235 -+ GSOAP_INCLUDE=""
41236 -+ GSOAP_LIBS="-lgsoapssl++ $OPENSSL_LIBS $Z_LIBS"
41237 - in_path=
41238 - fi
41239 -- echo "$as_me:$LINENO: checking for libmagic$in_path" >&5
41240 --echo $ECHO_N "checking for libmagic$in_path... $ECHO_C" >&6
41241 --if test "${ncbi_cv_lib_magic+set}" = set; then
41242 -+ { echo "$as_me:$LINENO: checking for libgsoapssl++$in_path" >&5
41243 -+echo $ECHO_N "checking for libgsoapssl++$in_path... $ECHO_C" >&6; }
41244 -+if test "${ncbi_cv_lib_gsoap+set}" = set; then
41245 - echo $ECHO_N "(cached) $ECHO_C" >&6
41246 - else
41247 -- CPPFLAGS=" $MAGIC_INCLUDE $orig_CPPFLAGS"
41248 -- LIBS="$MAGIC_LIBS $orig_LIBS"
41249 -+ CPPFLAGS=" $GSOAP_INCLUDE $orig_CPPFLAGS"
41250 -+ LIBS="$GSOAP_LIBS $orig_LIBS"
41251 - cat >conftest.$ac_ext <<_ACEOF
41252 - /* confdefs.h. */
41253 - _ACEOF
41254 - cat confdefs.h >>conftest.$ac_ext
41255 - cat >>conftest.$ac_ext <<_ACEOF
41256 - /* end confdefs.h. */
41257 --#include <magic.h>
41258 -+#include <stdsoap2.h>
41259 -+ SOAP_FMAC3 const char** SOAP_FMAC4 soap_faultcode(struct soap*)
41260 -+ { return NULL; }
41261 -+ SOAP_FMAC3 const char** SOAP_FMAC4 soap_faultsubcode(struct soap*)
41262 -+ { return NULL; }
41263 -+ SOAP_FMAC3 const char** SOAP_FMAC4 soap_faultstring(struct soap*)
41264 -+ { return NULL; }
41265 -+ SOAP_FMAC3 const char** SOAP_FMAC4 soap_faultdetail(struct soap*)
41266 -+ { return NULL; }
41267 -+ SOAP_FMAC3 const char* SOAP_FMAC4 soap_check_faultsubcode(struct soap*)
41268 -+ { return NULL; }
41269 -+ SOAP_FMAC3 const char* SOAP_FMAC4 soap_check_faultdetail(struct soap*)
41270 -+ { return NULL; }
41271 -+ SOAP_FMAC3 void SOAP_FMAC4 soap_serializeheader(struct soap*) { }
41272 -+ SOAP_FMAC3 int SOAP_FMAC4 soap_putheader(struct soap*) { return 0; }
41273 -+ SOAP_FMAC3 int SOAP_FMAC4 soap_getheader(struct soap*) { return 0; }
41274 -+ SOAP_FMAC3 void SOAP_FMAC4 soap_serializefault(struct soap*) { }
41275 -+ SOAP_FMAC3 int SOAP_FMAC4 soap_putfault(struct soap*) { return 0; }
41276 -+ SOAP_FMAC3 int SOAP_FMAC4 soap_getfault(struct soap*) { return 0; }
41277 - int
41278 - main ()
41279 - {
41280 --magic_t m = magic_open(17);
41281 -+soap s;
41282 - ;
41283 - return 0;
41284 - }
41285 - _ACEOF
41286 - rm -f conftest.$ac_objext conftest$ac_exeext
41287 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41288 -- (eval $ac_link) 2>conftest.er1
41289 -+if { (ac_try="$ac_link"
41290 -+case "(($ac_try" in
41291 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41292 -+ *) ac_try_echo=$ac_try;;
41293 -+esac
41294 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41295 -+ (eval "$ac_link") 2>conftest.er1
41296 - ac_status=$?
41297 - grep -v '^ *+' conftest.er1 >conftest.err
41298 - rm -f conftest.er1
41299 - cat conftest.err >&5
41300 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
41301 - (exit $ac_status); } &&
41302 -- { ac_try='test -z "$ac_cxx_werror_flag"
41303 -- || test ! -s conftest.err'
41304 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41305 -- (eval $ac_try) 2>&5
41306 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41307 -+ { (case "(($ac_try" in
41308 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41309 -+ *) ac_try_echo=$ac_try;;
41310 -+esac
41311 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41312 -+ (eval "$ac_try") 2>&5
41313 - ac_status=$?
41314 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
41315 - (exit $ac_status); }; } &&
41316 - { ac_try='test -s conftest$ac_exeext'
41317 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41318 -- (eval $ac_try) 2>&5
41319 -+ { (case "(($ac_try" in
41320 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41321 -+ *) ac_try_echo=$ac_try;;
41322 -+esac
41323 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41324 -+ (eval "$ac_try") 2>&5
41325 - ac_status=$?
41326 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
41327 - (exit $ac_status); }; }; then
41328 -- ncbi_cv_lib_magic=yes
41329 -+ ncbi_cv_lib_gsoap=yes
41330 - else
41331 - echo "$as_me: failed program was:" >&5
41332 - sed 's/^/| /' conftest.$ac_ext >&5
41333 -
41334 --ncbi_cv_lib_magic=no
41335 -+ ncbi_cv_lib_gsoap=no
41336 - fi
41337 --rm -f conftest.err conftest.$ac_objext \
41338 -+
41339 -+rm -f core conftest.err conftest.$ac_objext \
41340 - conftest$ac_exeext conftest.$ac_ext
41341 - fi
41342 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_magic" >&5
41343 --echo "${ECHO_T}$ncbi_cv_lib_magic" >&6
41344 -- if test "$ncbi_cv_lib_magic" = "no"; then
41345 -- if test "${with_magic:=no}" != no; then
41346 -- { { echo "$as_me:$LINENO: error: --with-magic explicitly specified, but no usable version found." >&5
41347 --echo "$as_me: error: --with-magic explicitly specified, but no usable version found." >&2;}
41348 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_gsoap" >&5
41349 -+echo "${ECHO_T}$ncbi_cv_lib_gsoap" >&6; }
41350 -+ if test "$ncbi_cv_lib_gsoap" = "no"; then
41351 -+ if test "${with_gsoap:=no}" != no; then
41352 -+ { { echo "$as_me:$LINENO: error: --with-gsoap explicitly specified, but no usable version found." >&5
41353 -+echo "$as_me: error: --with-gsoap explicitly specified, but no usable version found." >&2;}
41354 - { (exit 1); exit 1; }; }
41355 - fi
41356 - fi
41357 - fi
41358 -- if test "$with_magic" = "no"; then
41359 -- MAGIC_PATH="No_MAGIC"
41360 -- MAGIC_INCLUDE=
41361 -- MAGIC_LIBS=
41362 -+ if test "$with_gsoap" = "no"; then
41363 -+ GSOAP_PATH="No_GSOAP"
41364 -+ GSOAP_INCLUDE=
41365 -+ GSOAP_LIBS=
41366 - else
41367 -- WithPackages="$WithPackages${WithPackagesSep}MAGIC"; WithPackagesSep=" "
41368 -- MAGIC_INCLUDE=" $MAGIC_INCLUDE"
41369 -+ WithPackages="$WithPackages${WithPackagesSep}GSOAP"; WithPackagesSep=" "
41370 -+ GSOAP_INCLUDE=" $GSOAP_INCLUDE"
41371 -
41372 - cat >>confdefs.h <<\_ACEOF
41373 --#define HAVE_LIBMAGIC 1
41374 -+#define HAVE_LIBGSOAP 1
41375 - _ACEOF
41376 -
41377 - fi
41378 -@@ -33831,203 +38960,218 @@
41379 -
41380 -
41381 -
41382 --
41383 --# Mimetic
41384 --case "$with_mimetic" in
41385 -- yes | '' ) : ${MIMETIC_PATH=$NCBI/mimetic} ;;
41386 -- * ) MIMETIC_PATH=$with_mimetic ;;
41387 -+case "$with_sqlite3" in
41388 -+ yes | '' ) ;;
41389 -+ * ) SQLITE3_PATH=$with_sqlite3 ;;
41390 - esac
41391 --if test -d "$MIMETIC_PATH"; then
41392 -- ncbi_fix_dir_tmp=`if cd $MIMETIC_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
41393 -+
41394 -+
41395 -+# MongoDB
41396 -+if test -d "$MONGODB_PATH"; then
41397 -+ ncbi_fix_dir_tmp=`if cd $MONGODB_PATH; then $as_unset PWD || test "${PWD+set}" != set || { PWD=; export PWD; }; /bin/pwd; fi`
41398 - case "$ncbi_fix_dir_tmp" in
41399 -- /.*) ncbi_fix_dir_tmp2=`cd $MIMETIC_PATH && $smart_pwd 2>/dev/null`
41400 -+ /.*) ncbi_fix_dir_tmp2=`cd $MONGODB_PATH && $smart_pwd 2>/dev/null`
41401 - if test -n "$ncbi_fix_dir_tmp2" -a -d "$ncbi_fix_dir_tmp2"; then
41402 -- MIMETIC_PATH=$ncbi_fix_dir_tmp2
41403 -+ MONGODB_PATH=$ncbi_fix_dir_tmp2
41404 - else
41405 -- case "$MIMETIC_PATH" in
41406 -+ case "$MONGODB_PATH" in
41407 - /*) ;;
41408 -- * ) MIMETIC_PATH=$ncbi_fix_dir_tmp ;;
41409 -+ * ) MONGODB_PATH=$ncbi_fix_dir_tmp ;;
41410 - esac
41411 - fi
41412 - ;;
41413 -- /*) MIMETIC_PATH=$ncbi_fix_dir_tmp ;;
41414 -+ /*) MONGODB_PATH=$ncbi_fix_dir_tmp ;;
41415 - esac
41416 - fi
41417 --for d in "$MIMETIC_LIBDIR" \
41418 -- "$MIMETIC_PATH/${compiler_vpfx}${DEBUG_SFX}${bit64_sfx}/lib" \
41419 -- "$MIMETIC_PATH/${compiler_pfx}${DEBUG_SFX}${bit64_sfx}/lib" \
41420 -- "$MIMETIC_PATH/lib${bit64_sfx}" \
41421 -- "$MIMETIC_PATH/${compiler_vpfx}${DEBUG_SFX}/lib" \
41422 -- "$MIMETIC_PATH/${compiler_pfx}${DEBUG_SFX}/lib" \
41423 -- "$MIMETIC_PATH/lib"; do
41424 -- if test -d "$d"; then
41425 -- MIMETIC_LIBDIR=$d
41426 -- break
41427 -+if test -d $MONGODB_PATH/lib${bit64_sfx}; then
41428 -+ MONGODB_LIBDIR=$MONGODB_PATH/lib${bit64_sfx}
41429 -+else
41430 -+ MONGODB_LIBDIR=$MONGODB_PATH/lib
41431 - fi
41432 --done
41433 -+# need Boost rpath
41434 - ncbi_rp_L_flags=
41435 - ncbi_rp_L_sep=$CONF_f_libpath
41436 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
41437 -- for x in $MIMETIC_LIBDIR; do
41438 -+ for x in $MONGODB_LIBDIR; do
41439 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41440 - ncbi_rp_L_sep=" $CONF_f_libpath"
41441 - done
41442 -- MIMETIC_LIBPATH="${ncbi_rp_L_flags}"
41443 -+ MONGODB_LIBPATH="${ncbi_rp_L_flags}"
41444 - else
41445 - ncbi_rp_R_flags=
41446 - ncbi_rp_R_sep=" $CONF_f_runpath"
41447 -- for x in $MIMETIC_LIBDIR; do
41448 -+ for x in $MONGODB_LIBDIR; do
41449 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41450 - ncbi_rp_L_sep=" $CONF_f_libpath"
41451 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
41452 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
41453 - ncbi_rp_R_sep=:
41454 - done
41455 -- MIMETIC_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
41456 -+ MONGODB_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
41457 - fi
41458 --
41459 --if test "$with_mimetic" != "no"; then
41460 -- case "$with_mimetic" in
41461 -+if test "$with_mongodb" != "no"; then
41462 -+ case "$with_mongodb" in
41463 - yes | "" ) ;;
41464 -- * ) MIMETIC_PATH=$with_mimetic ;;
41465 -+ * ) MONGODB_PATH=$with_mongodb ;;
41466 - esac
41467 -- if test -d "$MIMETIC_PATH"; then
41468 -- in_path=" in $MIMETIC_PATH"
41469 -- if test -z "$MIMETIC_INCLUDE" -a -d "$MIMETIC_PATH/include"; then
41470 -- MIMETIC_INCLUDE="-I$MIMETIC_PATH/include"
41471 -+ if test -d "$MONGODB_PATH"; then
41472 -+ in_path=" in $MONGODB_PATH"
41473 -+ if test -z "$MONGODB_INCLUDE" -a -d "$MONGODB_PATH/include"; then
41474 -+ MONGODB_INCLUDE="-I$MONGODB_PATH/include"
41475 - fi
41476 -- if test -n "$MIMETIC_LIBPATH"; then
41477 -+ if test -n "$MONGODB_LIBPATH"; then
41478 - :
41479 -- elif test -d "$MIMETIC_PATH/lib${bit64_sfx}"; then
41480 -+ elif test -d "$MONGODB_PATH/lib${bit64_sfx}"; then
41481 - ncbi_rp_L_flags=
41482 - ncbi_rp_L_sep=$CONF_f_libpath
41483 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
41484 -- for x in $MIMETIC_PATH/lib${bit64_sfx}; do
41485 -+ for x in $MONGODB_PATH/lib${bit64_sfx}; do
41486 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41487 - ncbi_rp_L_sep=" $CONF_f_libpath"
41488 - done
41489 -- MIMETIC_LIBPATH="${ncbi_rp_L_flags}"
41490 -+ MONGODB_LIBPATH="${ncbi_rp_L_flags}"
41491 - else
41492 - ncbi_rp_R_flags=
41493 - ncbi_rp_R_sep=" $CONF_f_runpath"
41494 -- for x in $MIMETIC_PATH/lib${bit64_sfx}; do
41495 -+ for x in $MONGODB_PATH/lib${bit64_sfx}; do
41496 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41497 - ncbi_rp_L_sep=" $CONF_f_libpath"
41498 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
41499 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
41500 - ncbi_rp_R_sep=:
41501 - done
41502 -- MIMETIC_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
41503 -+ MONGODB_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
41504 - fi
41505 -- elif test -d "$MIMETIC_PATH/lib"; then
41506 -+ elif test -d "$MONGODB_PATH/lib"; then
41507 - ncbi_rp_L_flags=
41508 - ncbi_rp_L_sep=$CONF_f_libpath
41509 - if test "x${CONF_f_runpath}" = "x${CONF_f_libpath}"; then
41510 -- for x in $MIMETIC_PATH/lib; do
41511 -+ for x in $MONGODB_PATH/lib; do
41512 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41513 - ncbi_rp_L_sep=" $CONF_f_libpath"
41514 - done
41515 -- MIMETIC_LIBPATH="${ncbi_rp_L_flags}"
41516 -+ MONGODB_LIBPATH="${ncbi_rp_L_flags}"
41517 - else
41518 - ncbi_rp_R_flags=
41519 - ncbi_rp_R_sep=" $CONF_f_runpath"
41520 -- for x in $MIMETIC_PATH/lib; do
41521 -+ for x in $MONGODB_PATH/lib; do
41522 - ncbi_rp_L_flags="${ncbi_rp_L_flags}${ncbi_rp_L_sep}$x"
41523 - ncbi_rp_L_sep=" $CONF_f_libpath"
41524 - x=`echo $x | sed -e "$ncbi_rpath_sed"`
41525 - ncbi_rp_R_flags="${ncbi_rp_R_flags}${ncbi_rp_R_sep}$x"
41526 - ncbi_rp_R_sep=:
41527 - done
41528 -- MIMETIC_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
41529 -+ MONGODB_LIBPATH="${ncbi_rp_L_flags}${ncbi_rp_R_flags}"
41530 - fi
41531 - fi
41532 -- MIMETIC_LIBS="$MIMETIC_LIBPATH -lmimetic "
41533 -+ MONGODB_LIBS="$MONGODB_LIBPATH -lmongoclient $BOOST_LIBPATH $boost_fs_lib $BOOST_THREAD_LIBS"
41534 - else
41535 -- MIMETIC_INCLUDE=""
41536 -- MIMETIC_LIBS="-lmimetic "
41537 -+ MONGODB_INCLUDE=""
41538 -+ MONGODB_LIBS="-lmongoclient $BOOST_LIBPATH $boost_fs_lib $BOOST_THREAD_LIBS"
41539 - in_path=
41540 - fi
41541 -- echo "$as_me:$LINENO: checking for libmimetic$in_path" >&5
41542 --echo $ECHO_N "checking for libmimetic$in_path... $ECHO_C" >&6
41543 --if test "${ncbi_cv_lib_mimetic+set}" = set; then
41544 -+ { echo "$as_me:$LINENO: checking for libmongoclient$in_path" >&5
41545 -+echo $ECHO_N "checking for libmongoclient$in_path... $ECHO_C" >&6; }
41546 -+if test "${ncbi_cv_lib_mongodb+set}" = set; then
41547 - echo $ECHO_N "(cached) $ECHO_C" >&6
41548 - else
41549 -- CPPFLAGS=" $MIMETIC_INCLUDE $orig_CPPFLAGS"
41550 -- LIBS="$MIMETIC_LIBS $orig_LIBS"
41551 -+ CPPFLAGS="$BOOST_INCLUDE $MONGODB_INCLUDE $orig_CPPFLAGS"
41552 -+ LIBS="$MONGODB_LIBS $orig_LIBS"
41553 - cat >conftest.$ac_ext <<_ACEOF
41554 - /* confdefs.h. */
41555 - _ACEOF
41556 - cat confdefs.h >>conftest.$ac_ext
41557 - cat >>conftest.$ac_ext <<_ACEOF
41558 - /* end confdefs.h. */
41559 --#include <mimetic/mimetic.h>
41560 -+#include <mongo/client/dbclient.h>
41561 - int
41562 - main ()
41563 - {
41564 --mimetic::MimeEntity me;
41565 -+std::vector<mongo::HostAndPort> v;
41566 -+ mongo::DBClientReplicaSet client("foo", v);
41567 -+ client.connect();
41568 - ;
41569 - return 0;
41570 - }
41571 - _ACEOF
41572 - rm -f conftest.$ac_objext conftest$ac_exeext
41573 --if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41574 -- (eval $ac_link) 2>conftest.er1
41575 -+if { (ac_try="$ac_link"
41576 -+case "(($ac_try" in
41577 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41578 -+ *) ac_try_echo=$ac_try;;
41579 -+esac
41580 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41581 -+ (eval "$ac_link") 2>conftest.er1
41582 - ac_status=$?
41583 - grep -v '^ *+' conftest.er1 >conftest.err
41584 - rm -f conftest.er1
41585 - cat conftest.err >&5
41586 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
41587 - (exit $ac_status); } &&
41588 -- { ac_try='test -z "$ac_cxx_werror_flag"
41589 -- || test ! -s conftest.err'
41590 -- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41591 -- (eval $ac_try) 2>&5
41592 -+ { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41593 -+ { (case "(($ac_try" in
41594 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41595 -+ *) ac_try_echo=$ac_try;;
41596 -+esac
41597 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41598 -+ (eval "$ac_try") 2>&5
41599 - ac_status=$?
41600 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
41601 - (exit $ac_status); }; } &&
41602 - { ac_try='test -s conftest$ac_exeext'
41603 +- ac_status=$?
41604 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
41605 +- (exit $ac_status); }; } &&
41606 +- { ac_try='test -s conftest.$ac_objext'
41607 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41608 - (eval $ac_try) 2>&5
41609 -+ { (case "(($ac_try" in
41610 -+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41611 -+ *) ac_try_echo=$ac_try;;
41612 -+esac
41613 -+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41614 -+ (eval "$ac_try") 2>&5
41615 - ac_status=$?
41616 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
41617 - (exit $ac_status); }; }; then
41618 -- ncbi_cv_lib_mimetic=yes
41619 -+ ncbi_cv_lib_mongodb=yes
41620 - else
41621 - echo "$as_me: failed program was:" >&5
41622 - sed 's/^/| /' conftest.$ac_ext >&5
41623 -
41624 --ncbi_cv_lib_mimetic=no
41625 -+ ncbi_cv_lib_mongodb=no
41626 - fi
41627 --rm -f conftest.err conftest.$ac_objext \
41628 -+
41629 -+rm -f core conftest.err conftest.$ac_objext \
41630 - conftest$ac_exeext conftest.$ac_ext
41631 - fi
41632 --echo "$as_me:$LINENO: result: $ncbi_cv_lib_mimetic" >&5
41633 --echo "${ECHO_T}$ncbi_cv_lib_mimetic" >&6
41634 -- if test "$ncbi_cv_lib_mimetic" = "no"; then
41635 -- if test "${with_mimetic:=no}" != no; then
41636 -- { { echo "$as_me:$LINENO: error: --with-mimetic explicitly specified, but no usable version found." >&5
41637 --echo "$as_me: error: --with-mimetic explicitly specified, but no usable version found." >&2;}
41638 -+{ echo "$as_me:$LINENO: result: $ncbi_cv_lib_mongodb" >&5
41639 -+echo "${ECHO_T}$ncbi_cv_lib_mongodb" >&6; }
41640 -+ if test "$ncbi_cv_lib_mongodb" = "no"; then
41641 -+ if test "${with_mongodb:=no}" != no; then
41642 -+ { { echo "$as_me:$LINENO: error: --with-mongodb explicitly specified, but no usable version found." >&5
41643 -+echo "$as_me: error: --with-mongodb explicitly specified, but no usable version found." >&2;}
41644 - { (exit 1); exit 1; }; }
41645 - fi
41646 - fi
41647 - fi
41648 -- if test "$with_mimetic" = "no"; then
41649 -- MIMETIC_PATH="No_MIMETIC"
41650 -- MIMETIC_INCLUDE=
41651 -- MIMETIC_LIBS=
41652 -+ if test "$with_mongodb" = "no"; then
41653 -+ MONGODB_PATH="No_MONGODB"
41654 -+ MONGODB_INCLUDE=
41655 -+ MONGODB_LIBS=
41656 - else
41657 -- WithPackages="$WithPackages${WithPackagesSep}MIMETIC"; WithPackagesSep=" "
41658 -- MIMETIC_INCLUDE=" $MIMETIC_INCLUDE"
41659 -+ WithPackages="$WithPackages${WithPackagesSep}MONGODB"; WithPackagesSep=" "
41660 -+ MONGODB_INCLUDE="$BOOST_INCLUDE $MONGODB_INCLUDE"
41661 -
41662 - cat >>confdefs.h <<\_ACEOF
41663 --#define HAVE_LIBMIMETIC 1
41664 -+#define HAVE_LIBMONGODB 1
41665 - _ACEOF
41666 -
41667 - fi
41668 -
41669 -
41670 -
41671 --
41672 -+# MongoDB's own library is normally static, but its supporting Boost
41673 -+# libraries might not be by default.
41674 -+if test -n "$MONGODB_LIBS"; then
41675 -+ MONGODB_STATIC_LIBS="$MONGODB_LIBPATH -lmongodb $BOOST_LIBPATH $boost_fs_static_lib $BOOST_THREAD_STATIC_LIBS"
41676 -+else
41677 -+ MONGODB_STATIC_LIBS=
41678 -+fi
41679 -
41680 - ### Restore original compiler/linker flags
41681 - LIBS="$orig_LIBS"
41682 -@@ -34263,16 +39407,6 @@
41683 - fi
41684 -
41685 -
41686 --## Sequence Read Archive SDK, which may be attached on either the
41687 --## public or the internal side
41688 --
41689 --if test -f "${real_srcdir}/src/sra/sdk/Makefile.sra_macros.mk"; then
41690 -- sra=sra
41691 +- ac_status=$?
41692 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
41693 +- (exit $ac_status); }; }; then
41694 +- ncbi_cv_func_is_sorted=yes
41695 -else
41696 -- sra=
41697 --fi
41698 --
41699 --
41700 - ## `internal' project cluster
41701 -
41702 - if test "$with_internal" = "no" \
41703 -@@ -34445,7 +39579,7 @@
41704 - ;;
41705 - esac
41706 - done
41707 -- for x in UUID FUSE Z LocalZ BZ2 LocalBZ2 LZO PCRE LocalPCRE GCRYPT GNUTLS OPENSSL KRB5 CURL Sybase DBLib FreeTDS MySQL BerkeleyDB BerkeleyDB++ ODBC PYTHON PYTHON23 PYTHON24 PYTHON25 PERL Boost.Regex Boost.Spirit Boost.System Boost.Test Boost.Test.Included Boost.Threads C-Toolkit OpenGL MESA GLUT GLEW wxWidgets wx2.8 Fast-CGI LocalSSS LocalMSGMAIL2 SSSUTILS LocalNCBILS NCBILS2 SSSDB SP ORBacus ICU EXPAT SABLOT LIBXML LIBXSLT LIBEXSLT Xerces Xalan Zorba SQLITE3 SQLITE3ASYNC OECHEM SGE MUPARSER HDF5 JPEG PNG TIFF UNGIF GIF XPM FreeType FTGL MAGIC MIMETIC; do
41708 -+ for x in UUID FUSE Z LocalZ BZ2 LocalBZ2 LZO PCRE LocalPCRE GCRYPT GNUTLS OPENSSL KRB5 CURL Sybase DBLib FreeTDS MySQL BerkeleyDB BerkeleyDB++ ODBC PYTHON PYTHON23 PYTHON24 PYTHON25 PERL Boost.Filesystem Boost.Regex Boost.Spirit Boost.System Boost.Test Boost.Test.Included Boost.Threads C-Toolkit OpenGL MESA GLUT GLEW wxWidgets wx2.8 Fast-CGI LocalSSS LocalMSGMAIL2 SSSUTILS LocalNCBILS NCBILS2 SSSDB SP ORBacus ICU EXPAT SABLOT LIBXML LIBXSLT LIBEXSLT Xerces Xalan Zorba SQLITE3 SQLITE3ASYNC OECHEM SGE MUPARSER HDF5 JPEG PNG TIFF UNGIF GIF XPM FreeType FTGL MAGIC MIMETIC GSOAP MONGODB; do
41709 - case " $WithPackages " in
41710 - *" $x "*) ;;
41711 - *) WithoutPackages="$WithoutPackages$WithoutPackagesSep$x"
41712 -@@ -34802,6 +39936,11 @@
41713 -
41714 -
41715 -
41716 -+
41717 -+
41718 -+
41719 -+
41720 -+
41721 - #############################################################################
41722 - ### Create output files and do some post-configuration
41723 -
41724 -@@ -34852,39 +39991,58 @@
41725 -
41726 - # The following way of writing the cache mishandles newlines in values,
41727 - # but we know of no workaround that is simple, portable, and efficient.
41728 --# So, don't put newlines in cache variables' values.
41729 -+# So, we kill variables containing newlines.
41730 - # Ultrix sh set writes to stderr and can't be redirected directly,
41731 - # and sets the high bit in the cache file unless we assign to the vars.
41732 --{
41733 -+(
41734 -+ for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41735 -+ eval ac_val=\$$ac_var
41736 -+ case $ac_val in #(
41737 -+ *${as_nl}*)
41738 -+ case $ac_var in #(
41739 -+ *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41740 -+echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41741 -+ esac
41742 -+ case $ac_var in #(
41743 -+ _ | IFS | as_nl) ;; #(
41744 -+ *) $as_unset $ac_var ;;
41745 -+ esac ;;
41746 -+ esac
41747 -+ done
41748 -+
41749 - (set) 2>&1 |
41750 -- case `(ac_space=' '; set | grep ac_space) 2>&1` in
41751 -- *ac_space=\ *)
41752 -+ case $as_nl`(ac_space=' '; set) 2>&1` in #(
41753 -+ *${as_nl}ac_space=\ *)
41754 - # `set' does not quote correctly, so add quotes (double-quote
41755 - # substitution turns \\\\ into \\, and sed turns \\ into \).
41756 - sed -n \
41757 - "s/'/'\\\\''/g;
41758 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41759 -- ;;
41760 -+ ;; #(
41761 - *)
41762 - # `set' quotes correctly as required by POSIX, so do not add quotes.
41763 -- sed -n \
41764 -- "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41765 -+ sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41766 - ;;
41767 -- esac;
41768 --} |
41769 -+ esac |
41770 -+ sort
41771 -+) |
41772 - sed '
41773 -+ /^ac_cv_env_/b end
41774 - t clear
41775 - : clear
41776 - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41777 - t end
41778 -- /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41779 -+ s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41780 - : end' >>confcache
41781 --if diff $cache_file confcache >/dev/null 2>&1; then :; else
41782 -- if test -w $cache_file; then
41783 -- test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41784 -+if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41785 -+ if test -w "$cache_file"; then
41786 -+ test "x$cache_file" != "x/dev/null" &&
41787 -+ { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41788 -+echo "$as_me: updating cache $cache_file" >&6;}
41789 - cat confcache >$cache_file
41790 - else
41791 -- echo "not updating unwritable cache $cache_file"
41792 -+ { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41793 -+echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41794 - fi
41795 - fi
41796 - rm -f confcache
41797 -@@ -34893,32 +40051,18 @@
41798 - # Let make expand exec_prefix.
41799 - test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
41800 -
41801 --# VPATH may cause trouble with some makes, so we remove $(srcdir),
41802 --# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
41803 --# trailing colons and then remove the whole line if VPATH becomes empty
41804 --# (actually we leave an empty line to preserve line numbers).
41805 --if test "x$srcdir" = x.; then
41806 -- ac_vpsub='/^[ ]*VPATH[ ]*=/{
41807 --s/:*\$(srcdir):*/:/;
41808 --s/:*\${srcdir}:*/:/;
41809 --s/:*@srcdir@:*/:/;
41810 --s/^\([^=]*=[ ]*\):*/\1/;
41811 --s/:*$//;
41812 --s/^[^=]*=[ ]*$//;
41813 --}'
41814 --fi
41815 +- echo "$as_me: failed program was:" >&5
41816 +-sed 's/^/| /' conftest.$ac_ext >&5
41817 -
41818 - DEFS=-DHAVE_CONFIG_H
41819 -
41820 - ac_libobjs=
41821 - ac_ltlibobjs=
41822 - for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
41823 - # 1. Remove the extension, and $U if already installed.
41824 -- ac_i=`echo "$ac_i" |
41825 -- sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
41826 -- # 2. Add them.
41827 -- ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
41828 -- ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
41829 -+ ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
41830 -+ ac_i=`echo "$ac_i" | sed "$ac_script"`
41831 -+ # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
41832 -+ # will be set to the directory where LIBOBJS objects are built.
41833 -+ ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
41834 -+ ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
41835 - done
41836 - LIBOBJS=$ac_libobjs
41837 -
41838 -@@ -34956,66 +40100,15 @@
41839 - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
41840 - # is contrary to our usage. Disable this feature.
41841 - alias -g '${1+"$@"}'='"$@"'
41842 --elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
41843 -- set -o posix
41844 +-ncbi_cv_func_is_sorted=no
41845 -fi
41846 --DUALCASE=1; export DUALCASE # for MKS sh
41847 --
41848 --# Support unset when possible.
41849 --if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
41850 -- as_unset=unset
41851 --else
41852 -- as_unset=false
41853 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41854 -fi
41855 +-echo "$as_me:$LINENO: result: $ncbi_cv_func_is_sorted" >&5
41856 +-echo "${ECHO_T}$ncbi_cv_func_is_sorted" >&6
41857 +-if test "$ncbi_cv_func_is_sorted" = yes; then
41858 -
41859 +-cat >>confdefs.h <<\_ACEOF
41860 +-#define HAVE_IS_SORTED 1
41861 +-_ACEOF
41862 -
41863 --# Work around bugs in pre-3.0 UWIN ksh.
41864 --$as_unset ENV MAIL MAILPATH
41865 --PS1='$ '
41866 --PS2='> '
41867 --PS4='+ '
41868 --
41869 --# NLS nuisances.
41870 --for as_var in \
41871 -- LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41872 -- LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41873 -- LC_TELEPHONE LC_TIME
41874 --do
41875 -- if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41876 -- eval $as_var=C; export $as_var
41877 -- else
41878 -- $as_unset $as_var
41879 -- fi
41880 --done
41881 --
41882 --# Required to use basename.
41883 --if expr a : '\(a\)' >/dev/null 2>&1; then
41884 -- as_expr=expr
41885 --else
41886 -- as_expr=false
41887 -fi
41888 -
41889 --if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
41890 -- as_basename=basename
41891 -+ setopt NO_GLOB_SUBST
41892 - else
41893 -- as_basename=false
41894 -+ case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
41895 - fi
41896 -+BIN_SH=xpg4; export BIN_SH # for Tru64
41897 -+DUALCASE=1; export DUALCASE # for MKS sh
41898 -
41899 -
41900 --# Name of the executable.
41901 --as_me=`$as_basename "$0" ||
41902 --$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
41903 -- X"$0" : 'X\(//\)$' \| \
41904 -- X"$0" : 'X\(/\)$' \| \
41905 -- . : '\(.\)' 2>/dev/null ||
41906 --echo X/"$0" |
41907 -- sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
41908 -- /^X\/\(\/\/\)$/{ s//\1/; q; }
41909 -- /^X\/\(\/\).*/{ s//\1/; q; }
41910 -- s/.*/./; q'`
41911 --
41912 -
41913 --# PATH needs CR, and LINENO needs CR and PATH.
41914 -+# PATH needs CR
41915 - # Avoid depending upon Character Ranges.
41916 - as_cr_letters='abcdefghijklmnopqrstuvwxyz'
41917 - as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
41918 -@@ -35036,14 +40129,24 @@
41919 - rm -f conf$$.sh
41920 - fi
41921 -
41922 -+# Support unset when possible.
41923 -+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
41924 -+ as_unset=unset
41925 -+else
41926 -+ as_unset=false
41927 -+fi
41928 -
41929 -- as_lineno_1=$LINENO
41930 -- as_lineno_2=$LINENO
41931 -- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
41932 -- test "x$as_lineno_1" != "x$as_lineno_2" &&
41933 -- test "x$as_lineno_3" = "x$as_lineno_2" || {
41934 -- # Find who we are. Look in the path if we contain no path at all
41935 -- # relative or not.
41936 -+
41937 -+# IFS
41938 -+# We need space, tab and new line, in precisely that order. Quoting is
41939 -+# there to prevent editors from complaining about space-tab.
41940 -+# (If _AS_PATH_WALK were called with IFS unset, it would disable word
41941 -+# splitting by setting IFS to empty value.)
41942 -+as_nl='
41943 -+'
41944 -+IFS=" "" $as_nl"
41945 -+
41946 -+# Find who we are. Look in the path if we contain no directory separator.
41947 - case $0 in
41948 - *[\\/]* ) as_myself=$0 ;;
41949 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41950 -@@ -35053,6 +40156,7 @@
41951 - test -z "$as_dir" && as_dir=.
41952 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
41953 - done
41954 -+IFS=$as_save_IFS
41955
41956 - ;;
41957 - esac
41958 -@@ -35062,103 +40166,161 @@
41959 - as_myself=$0
41960 - fi
41961 - if test ! -f "$as_myself"; then
41962 -- { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
41963 --echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
41964 -- { (exit 1); exit 1; }; }
41965 -+ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
41966 -+ { (exit 1); exit 1; }
41967 - fi
41968 -- case $CONFIG_SHELL in
41969 -- '')
41970 -- $as_unset ZSH_VERSION || test "${ZSH_VERSION+set}" != set || { ZSH_VERSION=; export ZSH_VERSION; }
41971 -- for as_base in sh ksh sh5 bash; do
41972 -- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41973 --for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
41974 -+
41975 -+# Work around bugs in pre-3.0 UWIN ksh.
41976 -+for as_var in ENV MAIL MAILPATH
41977 -+do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
41978 -+done
41979 -+PS1='$ '
41980 -+PS2='> '
41981 -+PS4='+ '
41982 -+
41983 -+# NLS nuisances.
41984 -+for as_var in \
41985 -+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41986 -+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
41987 -+ LC_TELEPHONE LC_TIME
41988 - do
41989 -- IFS=$as_save_IFS
41990 -- test -z "$as_dir" && as_dir=.
41991 -- case $as_dir in
41992 -- /*)
41993 -- if ("$as_dir/$as_base" -c \
41994 -- 'test -z "$ZSH_VERSION" && {
41995 -+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
41996 -+ eval $as_var=C; export $as_var
41997 -+ else
41998 -+ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
41999 -+ fi
42000 -+done
42001 -+
42002 -+# Required to use basename.
42003 -+if expr a : '\(a\)' >/dev/null 2>&1 &&
42004 -+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
42005 -+ as_expr=expr
42006 -+else
42007 -+ as_expr=false
42008 -+fi
42009 -+
42010 -+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
42011 -+ as_basename=basename
42012 -+else
42013 -+ as_basename=false
42014 -+fi
42015 -+
42016 -+
42017 -+# Name of the executable.
42018 -+as_me=`$as_basename -- "$0" ||
42019 -+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
42020 -+ X"$0" : 'X\(//\)$' \| \
42021 -+ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
42022 -+echo X/"$0" |
42023 -+ sed '/^.*\/\([^/][^/]*\)\/*$/{
42024 -+ s//\1/
42025 -+ q
42026 -+ }
42027 -+ /^X\/\(\/\/\)$/{
42028 -+ s//\1/
42029 -+ q
42030 -+ }
42031 -+ /^X\/\(\/\).*/{
42032 -+ s//\1/
42033 -+ q
42034 -+ }
42035 -+ s/.*/./; q'`
42036 -+
42037 -+# CDPATH.
42038 -+$as_unset CDPATH
42039 -+
42040 -+
42041 -+
42042 - as_lineno_1=$LINENO
42043 - as_lineno_2=$LINENO
42044 -- as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
42045 - test "x$as_lineno_1" != "x$as_lineno_2" &&
42046 -- test "x$as_lineno_3" = "x$as_lineno_2" ; }') 2>/dev/null
42047 -- then
42048 -- $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
42049 -- $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
42050 -- CONFIG_SHELL=$as_dir/$as_base
42051 -- export CONFIG_SHELL
42052 -- exec "$CONFIG_SHELL" "$0" ${1+"$@"}
42053 -- fi;;
42054 -- esac
42055 -- done
42056 --done
42057 --;;
42058 -- esac
42059 -+ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
42060 -
42061 - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
42062 - # uniformly replaced by the line number. The first 'sed' inserts a
42063 -- # line-number line before each line; the second 'sed' does the real
42064 -- # work. The second script uses 'N' to pair each line-number line
42065 -- # with the numbered line, and appends trailing '-' during
42066 -- # substitution so that $LINENO is not a special case at line end.
42067 -+ # line-number line after each line using $LINENO; the second 'sed'
42068 -+ # does the real work. The second script uses 'N' to pair each
42069 -+ # line-number line with the line containing $LINENO, and appends
42070 -+ # trailing '-' during substitution so that $LINENO is not a special
42071 -+ # case at line end.
42072 - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
42073 -- # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
42074 -- sed '=' <$as_myself |
42075 -+ # scripts with optimization help from Paolo Bonzini. Blame Lee
42076 -+ # E. McMahon (1931-1989) for sed's syntax. :-)
42077 -+ sed -n '
42078 -+ p
42079 -+ /[$]LINENO/=
42080 -+ ' <$as_myself |
42081 - sed '
42082 -+ s/[$]LINENO.*/&-/
42083 -+ t lineno
42084 -+ b
42085 -+ :lineno
42086 - N
42087 -- s,$,-,
42088 - : loop
42089 -- s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
42090 -+ s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
42091 - t loop
42092 -- s,-$,,
42093 -- s,^['$as_cr_digits']*\n,,
42094 -+ s/-\n.*//
42095 - ' >$as_me.lineno &&
42096 -- chmod +x $as_me.lineno ||
42097 -- { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
42098 --echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
42099 -+ chmod +x "$as_me.lineno" ||
42100 -+ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
42101 - { (exit 1); exit 1; }; }
42102 -
42103 - # Don't try to exec as it changes $[0], causing all sort of problems
42104 - # (the dirname of $[0] is not the place where we might find the
42105 -- # original and so on. Autoconf is especially sensible to this).
42106 -- . ./$as_me.lineno
42107 -+ # original and so on. Autoconf is especially sensitive to this).
42108 -+ . "./$as_me.lineno"
42109 - # Exit status is that of the last command.
42110 - exit
42111 - }
42112 -
42113 -
42114 --case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
42115 -- *c*,-n*) ECHO_N= ECHO_C='
42116 --' ECHO_T=' ' ;;
42117 -- *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
42118 -- *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
42119 -+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
42120 -+ as_dirname=dirname
42121 -+else
42122 -+ as_dirname=false
42123 -+fi
42124 -+
42125 -+ECHO_C= ECHO_N= ECHO_T=
42126 -+case `echo -n x` in
42127 -+-n*)
42128 -+ case `echo 'x\c'` in
42129 -+ *c*) ECHO_T=' ';; # ECHO_T is single tab character.
42130 -+ *) ECHO_C='\c';;
42131 -+ esac;;
42132 -+*)
42133 -+ ECHO_N='-n';;
42134 - esac
42135 -
42136 --if expr a : '\(a\)' >/dev/null 2>&1; then
42137 -+if expr a : '\(a\)' >/dev/null 2>&1 &&
42138 -+ test "X`expr 00001 : '.*\(...\)'`" = X001; then
42139 - as_expr=expr
42140 + echo "$as_me:$LINENO: checking for SysV semaphores" >&5
42141 + echo $ECHO_N "checking for SysV semaphores... $ECHO_C" >&6
42142 +@@ -18550,7 +18501,7 @@
42143 + echo $ECHO_N "(cached) $ECHO_C" >&6
42144 else
42145 - as_expr=false
42146 - fi
42147 -
42148 - rm -f conf$$ conf$$.exe conf$$.file
42149 -+if test -d conf$$.dir; then
42150 -+ rm -f conf$$.dir/conf$$.file
42151 -+else
42152 -+ rm -f conf$$.dir
42153 -+ mkdir conf$$.dir
42154 -+fi
42155 - echo >conf$$.file
42156 - if ln -s conf$$.file conf$$ 2>/dev/null; then
42157 -- # We could just check for DJGPP; but this test a) works b) is more generic
42158 -- # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
42159 -- if test -f conf$$.exe; then
42160 -- # Don't use ln at all; we don't have any links
42161 -- as_ln_s='cp -p'
42162 -- else
42163 - as_ln_s='ln -s'
42164 -- fi
42165 -+ # ... but there are two gotchas:
42166 -+ # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
42167 -+ # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
42168 -+ # In both cases, we have to default to `cp -p'.
42169 -+ ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
42170 -+ as_ln_s='cp -p'
42171 - elif ln conf$$.file conf$$ 2>/dev/null; then
42172 - as_ln_s=ln
42173 + ncbi_cv_c_restrict=no
42174 +- for restrict in restrict __restrict__ __restrict; do
42175 ++ for restrict in __restrict__ __restrict restrict; do
42176 + test "$ncbi_cv_c_restrict" = "no" || break
42177 + cat >conftest.$ac_ext <<_ACEOF
42178 + /* confdefs.h. */
42179 +@@ -18620,7 +18571,7 @@
42180 + echo $ECHO_N "(cached) $ECHO_C" >&6
42181 else
42182 - as_ln_s='cp -p'
42183 - fi
42184 --rm -f conf$$ conf$$.exe conf$$.file
42185 -+rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
42186 -+rmdir conf$$.dir 2>/dev/null
42187 -
42188 - if mkdir -p . 2>/dev/null; then
42189 - as_mkdir_p=:
42190 -@@ -35167,7 +40329,19 @@
42191 - as_mkdir_p=false
42192 - fi
42193 -
42194 --as_executable_p="test -f"
42195 -+# Find out whether ``test -x'' works. Don't use a zero-byte file, as
42196 -+# systems may use methods other than mode bits to determine executability.
42197 -+cat >conf$$.file <<_ASEOF
42198 -+#! /bin/sh
42199 -+exit 0
42200 -+_ASEOF
42201 -+chmod +x conf$$.file
42202 -+if test -x conf$$.file >/dev/null 2>&1; then
42203 -+ as_executable_p="test -x"
42204 -+else
42205 -+ as_executable_p=:
42206 -+fi
42207 -+rm -f conf$$.file
42208 -
42209 - # Sed expression to map a string onto a valid CPP name.
42210 - as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
42211 -@@ -35176,31 +40350,14 @@
42212 - as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
42213 -
42214 -
42215 --# IFS
42216 --# We need space, tab and new line, in precisely that order.
42217 --as_nl='
42218 --'
42219 --IFS=" $as_nl"
42220 --
42221 --# CDPATH.
42222 --$as_unset CDPATH
42223 --
42224 - exec 6>&1
42225 -
42226 --# Open the log real soon, to keep \$[0] and so on meaningful, and to
42227 -+# Save the log message, to keep $[0] and so on meaningful, and to
42228 - # report actual input values of CONFIG_FILES etc. instead of their
42229 --# values after options handling. Logging --version etc. is OK.
42230 --exec 5>>config.log
42231 --{
42232 -- echo
42233 -- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42234 --## Running $as_me. ##
42235 --_ASBOX
42236 --} >&5
42237 --cat >&5 <<_CSEOF
42238 --
42239 -+# values after options handling.
42240 -+ac_log="
42241 - This file was extended by ncbi-tools++ $as_me 0.0, which was
42242 --generated by GNU Autoconf 2.59. Invocation command line was
42243 -+generated by GNU Autoconf 2.60. Invocation command line was
42244 -
42245 - CONFIG_FILES = $CONFIG_FILES
42246 - CONFIG_HEADERS = $CONFIG_HEADERS
42247 -@@ -35208,30 +40365,20 @@
42248 - CONFIG_COMMANDS = $CONFIG_COMMANDS
42249 - $ $0 $@
42250 -
42251 --_CSEOF
42252 --echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
42253 --echo >&5
42254 -+on `(hostname || uname -n) 2>/dev/null | sed 1q`
42255 -+"
42256 -+
42257 - _ACEOF
42258 -
42259 -+cat >>$CONFIG_STATUS <<_ACEOF
42260 - # Files that config.status was made for.
42261 --if test -n "$ac_config_files"; then
42262 -- echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
42263 --fi
42264 --
42265 --if test -n "$ac_config_headers"; then
42266 -- echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
42267 --fi
42268 --
42269 --if test -n "$ac_config_links"; then
42270 -- echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
42271 --fi
42272 -+config_files="$ac_config_files"
42273 -+config_headers="$ac_config_headers"
42274 -+config_commands="$ac_config_commands"
42275 -
42276 --if test -n "$ac_config_commands"; then
42277 -- echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
42278 --fi
42279 -+_ACEOF
42280 -
42281 - cat >>$CONFIG_STATUS <<\_ACEOF
42282 --
42283 - ac_cs_usage="\
42284 - \`$as_me' instantiates files from templates according to the
42285 - current configuration.
42286 -@@ -35258,19 +40405,21 @@
42287 - $config_commands
42288 -
42289 - Report bugs to <bug-autoconf@×××.org>."
42290 --_ACEOF
42291 -
42292 -+_ACEOF
42293 - cat >>$CONFIG_STATUS <<_ACEOF
42294 - ac_cs_version="\\
42295 - ncbi-tools++ config.status 0.0
42296 --configured by $0, generated by GNU Autoconf 2.59,
42297 -- with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
42298 -+configured by $0, generated by GNU Autoconf 2.60,
42299 -+ with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
42300 -
42301 --Copyright (C) 2003 Free Software Foundation, Inc.
42302 -+Copyright (C) 2006 Free Software Foundation, Inc.
42303 - This config.status script is free software; the Free Software Foundation
42304 - gives unlimited permission to copy, distribute and modify it."
42305 --srcdir=$srcdir
42306 --INSTALL="$INSTALL"
42307 -+
42308 -+ac_pwd='$ac_pwd'
42309 -+srcdir='$srcdir'
42310 -+INSTALL='$INSTALL'
42311 - _ACEOF
42312 -
42313 - cat >>$CONFIG_STATUS <<\_ACEOF
42314 -@@ -35281,39 +40430,24 @@
42315 - do
42316 - case $1 in
42317 - --*=*)
42318 -- ac_option=`expr "x$1" : 'x\([^=]*\)='`
42319 -- ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
42320 -+ ac_option=`expr "X$1" : 'X\([^=]*\)='`
42321 -+ ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
42322 - ac_shift=:
42323 - ;;
42324 -- -*)
42325 -+ *)
42326 - ac_option=$1
42327 - ac_optarg=$2
42328 - ac_shift=shift
42329 - ;;
42330 -- *) # This is not an option, so the user has probably given explicit
42331 -- # arguments.
42332 -- ac_option=$1
42333 -- ac_need_defaults=false;;
42334 - esac
42335 -
42336 - case $ac_option in
42337 - # Handling of the options.
42338 --_ACEOF
42339 --cat >>$CONFIG_STATUS <<\_ACEOF
42340 - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
42341 - ac_cs_recheck=: ;;
42342 -- --version | --vers* | -V )
42343 -- echo "$ac_cs_version"; exit 0 ;;
42344 -- --he | --h)
42345 -- # Conflict between --help and --header
42346 -- { { echo "$as_me:$LINENO: error: ambiguous option: $1
42347 --Try \`$0 --help' for more information." >&5
42348 --echo "$as_me: error: ambiguous option: $1
42349 --Try \`$0 --help' for more information." >&2;}
42350 -- { (exit 1); exit 1; }; };;
42351 -- --help | --hel | -h )
42352 -- echo "$ac_cs_usage"; exit 0 ;;
42353 -- --debug | --d* | -d )
42354 -+ --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
42355 -+ echo "$ac_cs_version"; exit ;;
42356 -+ --debug | --debu | --deb | --de | --d | -d )
42357 - debug=: ;;
42358 - --file | --fil | --fi | --f )
42359 - $ac_shift
42360 -@@ -35323,18 +40457,24 @@
42361 - $ac_shift
42362 - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
42363 - ac_need_defaults=false;;
42364 -+ --he | --h)
42365 -+ # Conflict between --help and --header
42366 -+ { echo "$as_me: error: ambiguous option: $1
42367 -+Try \`$0 --help' for more information." >&2
42368 -+ { (exit 1); exit 1; }; };;
42369 -+ --help | --hel | -h )
42370 -+ echo "$ac_cs_usage"; exit ;;
42371 - -q | -quiet | --quiet | --quie | --qui | --qu | --q \
42372 - | -silent | --silent | --silen | --sile | --sil | --si | --s)
42373 - ac_cs_silent=: ;;
42374 -
42375 - # This is an error.
42376 -- -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
42377 --Try \`$0 --help' for more information." >&5
42378 --echo "$as_me: error: unrecognized option: $1
42379 --Try \`$0 --help' for more information." >&2;}
42380 -+ -*) { echo "$as_me: error: unrecognized option: $1
42381 -+Try \`$0 --help' for more information." >&2
42382 - { (exit 1); exit 1; }; } ;;
42383 -
42384 -- *) ac_config_targets="$ac_config_targets $1" ;;
42385 -+ *) ac_config_targets="$ac_config_targets $1"
42386 -+ ac_need_defaults=false ;;
42387 -
42388 - esac
42389 - shift
42390 -@@ -35350,18 +40490,29 @@
42391 - _ACEOF
42392 - cat >>$CONFIG_STATUS <<_ACEOF
42393 - if \$ac_cs_recheck; then
42394 -- echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42395 -- exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42396 -+ echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
42397 -+ CONFIG_SHELL=$SHELL
42398 -+ export CONFIG_SHELL
42399 -+ exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
42400 - fi
42401 -
42402 - _ACEOF
42403 -+cat >>$CONFIG_STATUS <<\_ACEOF
42404 -+exec 5>>config.log
42405 -+{
42406 -+ echo
42407 -+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
42408 -+## Running $as_me. ##
42409 -+_ASBOX
42410 -+ echo "$ac_log"
42411 -+} >&5
42412 -
42413 -+_ACEOF
42414 - cat >>$CONFIG_STATUS <<_ACEOF
42415 - #
42416 --# INIT-COMMANDS section.
42417 -+# INIT-COMMANDS
42418 - #
42419 -
42420 --
42421 - status_dir='$status_dir'
42422 - builddir='$builddir'
42423 - build_root='$build_root'
42424 -@@ -35391,621 +40542,902 @@
42425 -
42426 + ncbi_cv_cxx_restrict=no
42427 +- for restrict in restrict __restrict__ __restrict; do
42428 ++ for restrict in __restrict__ __restrict restrict; do
42429 + test "$ncbi_cv_cxx_restrict" = "no" || break
42430 + cat >conftest.$ac_ext <<_ACEOF
42431 + /* confdefs.h. */
42432 +@@ -19046,67 +18997,6 @@
42433 _ACEOF
42434
42435 -+cat >>$CONFIG_STATUS <<\_ACEOF
42436 -+
42437 -+# Handling of arguments.
42438 -+for ac_config_target in $ac_config_targets
42439 -+do
42440 -+ case $ac_config_target in
42441 -+ "${ncbiconf}") CONFIG_HEADERS="$CONFIG_HEADERS ${ncbiconf}:src/build-system/config.h.in" ;;
42442 -+ "$configurables") CONFIG_FILES="$CONFIG_FILES $configurables" ;;
42443 -+ "$srcdir/./Makefile") CONFIG_FILES="$CONFIG_FILES $srcdir/./Makefile:src/build-system/Makefile.in.top" ;;
42444 -+ "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
42445 -+
42446 -+ *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
42447 -+echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
42448 -+ { (exit 1); exit 1; }; };;
42449 -+ esac
42450 -+done
42451 -+
42452 -+
42453 -+# If the user did not use the arguments to specify the items to instantiate,
42454 -+# then the envvar interface is used. Set only those that are not.
42455 -+# We use the long form for the default assignment because of an extremely
42456 -+# bizarre bug on SunOS 4.1.3.
42457 -+if $ac_need_defaults; then
42458 -+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
42459 -+ test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
42460 -+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
42461 -+fi
42462 -+
42463 -+# Have a temporary directory for convenience. Make it in the build tree
42464 -+# simply because there is no reason against having it here, and in addition,
42465 -+# creating and moving files from /tmp can sometimes cause problems.
42466 -+# Hook for its removal unless debugging.
42467 -+# Note that there is a small window in which the directory will not be cleaned:
42468 -+# after its creation but before its name has been assigned to `$tmp'.
42469 -+$debug ||
42470 -+{
42471 -+ tmp=
42472 -+ trap 'exit_status=$?
42473 -+ { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
42474 -+' 0
42475 -+ trap '{ (exit 1); exit 1; }' 1 2 13 15
42476 -+}
42477 -+# Create a (secure) tmp directory for tmp files.
42478 -+
42479 -+{
42480 -+ tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
42481 -+ test -n "$tmp" && test -d "$tmp"
42482 -+} ||
42483 -+{
42484 -+ tmp=./conf$$-$RANDOM
42485 -+ (umask 077 && mkdir "$tmp")
42486 -+} ||
42487 -+{
42488 -+ echo "$me: cannot create a temporary directory in ." >&2
42489 -+ { (exit 1); exit 1; }
42490 -+}
42491 -+
42492 -+#
42493 -+# Set up the sed scripts for CONFIG_FILES section.
42494 -+#
42495 -+
42496 -+# No need to generate the scripts if there are no CONFIG_FILES.
42497 -+# This happens for instance when ./config.status config.h
42498 -+if test -n "$CONFIG_FILES"; then
42499 -+
42500 -+_ACEOF
42501 -+
42502 -+
42503 -+
42504 -+ac_delim='%!_!# '
42505 -+for ac_last_try in false false false false false :; do
42506 -+ cat >conf$$subs.sed <<_ACEOF
42507 -+SHELL!$SHELL$ac_delim
42508 -+PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
42509 -+PACKAGE_NAME!$PACKAGE_NAME$ac_delim
42510 -+PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
42511 -+PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
42512 -+PACKAGE_STRING!$PACKAGE_STRING$ac_delim
42513 -+PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
42514 -+exec_prefix!$exec_prefix$ac_delim
42515 -+prefix!$prefix$ac_delim
42516 -+program_transform_name!$program_transform_name$ac_delim
42517 -+bindir!$bindir$ac_delim
42518 -+sbindir!$sbindir$ac_delim
42519 -+libexecdir!$libexecdir$ac_delim
42520 -+datarootdir!$datarootdir$ac_delim
42521 -+datadir!$datadir$ac_delim
42522 -+sysconfdir!$sysconfdir$ac_delim
42523 -+sharedstatedir!$sharedstatedir$ac_delim
42524 -+localstatedir!$localstatedir$ac_delim
42525 -+includedir!$includedir$ac_delim
42526 -+oldincludedir!$oldincludedir$ac_delim
42527 -+docdir!$docdir$ac_delim
42528 -+infodir!$infodir$ac_delim
42529 -+htmldir!$htmldir$ac_delim
42530 -+dvidir!$dvidir$ac_delim
42531 -+pdfdir!$pdfdir$ac_delim
42532 -+psdir!$psdir$ac_delim
42533 -+libdir!$libdir$ac_delim
42534 -+localedir!$localedir$ac_delim
42535 -+mandir!$mandir$ac_delim
42536 -+DEFS!$DEFS$ac_delim
42537 -+ECHO_C!$ECHO_C$ac_delim
42538 -+ECHO_N!$ECHO_N$ac_delim
42539 -+ECHO_T!$ECHO_T$ac_delim
42540 -+LIBS!$LIBS$ac_delim
42541 -+build_alias!$build_alias$ac_delim
42542 -+host_alias!$host_alias$ac_delim
42543 -+target_alias!$target_alias$ac_delim
42544 -+PROJECTS!$PROJECTS$ac_delim
42545 -+build!$build$ac_delim
42546 -+build_cpu!$build_cpu$ac_delim
42547 -+build_vendor!$build_vendor$ac_delim
42548 -+build_os!$build_os$ac_delim
42549 -+host!$host$ac_delim
42550 -+host_cpu!$host_cpu$ac_delim
42551 -+host_vendor!$host_vendor$ac_delim
42552 -+host_os!$host_os$ac_delim
42553 -+INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
42554 -+INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
42555 -+INSTALL_DATA!$INSTALL_DATA$ac_delim
42556 -+CC!$CC$ac_delim
42557 -+CFLAGS!$CFLAGS$ac_delim
42558 -+LDFLAGS!$LDFLAGS$ac_delim
42559 -+CPPFLAGS!$CPPFLAGS$ac_delim
42560 -+ac_ct_CC!$ac_ct_CC$ac_delim
42561 -+EXEEXT!$EXEEXT$ac_delim
42562 -+OBJEXT!$OBJEXT$ac_delim
42563 -+CXX!$CXX$ac_delim
42564 -+CXXFLAGS!$CXXFLAGS$ac_delim
42565 -+ac_ct_CXX!$ac_ct_CXX$ac_delim
42566 -+MT_SFX!$MT_SFX$ac_delim
42567 -+DLL!$DLL$ac_delim
42568 -+DLL_LIB_SETTING!$DLL_LIB_SETTING$ac_delim
42569 -+IF_WITH_DLL!$IF_WITH_DLL$ac_delim
42570 -+UNLESS_WITH_DLL!$UNLESS_WITH_DLL$ac_delim
42571 -+STATIC!$STATIC$ac_delim
42572 -+USUAL_AND_DLL!$USUAL_AND_DLL$ac_delim
42573 -+USUAL_AND_LIB!$USUAL_AND_LIB$ac_delim
42574 -+LN_S!$LN_S$ac_delim
42575 -+RANLIB!$RANLIB$ac_delim
42576 -+AR!$AR$ac_delim
42577 -+STRIP!$STRIP$ac_delim
42578 -+DISTCC!$DISTCC$ac_delim
42579 -+CCACHE!$CCACHE$ac_delim
42580 -+TAIL!$TAIL$ac_delim
42581 -+TOUCH!$TOUCH$ac_delim
42582 -+GREP!$GREP$ac_delim
42583 -+EGREP!$EGREP$ac_delim
42584 -+VALGRIND_PATH!$VALGRIND_PATH$ac_delim
42585 -+LDD!$LDD$ac_delim
42586 -+CXXCPP!$CXXCPP$ac_delim
42587 -+TCHECK_CL!$TCHECK_CL$ac_delim
42588 -+AMQ!$AMQ$ac_delim
42589 -+CPP!$CPP$ac_delim
42590 -+Z_INCLUDE!$Z_INCLUDE$ac_delim
42591 -+Z_LIBS!$Z_LIBS$ac_delim
42592 -+BZ2_INCLUDE!$BZ2_INCLUDE$ac_delim
42593 -+BZ2_LIBS!$BZ2_LIBS$ac_delim
42594 -+LZO_INCLUDE!$LZO_INCLUDE$ac_delim
42595 -+LZO_LIBS!$LZO_LIBS$ac_delim
42596 -+PCRE_INCLUDE!$PCRE_INCLUDE$ac_delim
42597 -+PCRE_LIBS!$PCRE_LIBS$ac_delim
42598 -+LIBGCRYPT_CONFIG!$LIBGCRYPT_CONFIG$ac_delim
42599 -+GCRYPT_INCLUDE!$GCRYPT_INCLUDE$ac_delim
42600 -+GCRYPT_LIBS!$GCRYPT_LIBS$ac_delim
42601 -+LIBGNUTLS_CONFIG!$LIBGNUTLS_CONFIG$ac_delim
42602 -+GNUTLS_INCLUDE!$GNUTLS_INCLUDE$ac_delim
42603 -+GNUTLS_LIBS!$GNUTLS_LIBS$ac_delim
42604 -+_ACEOF
42605 -+
42606 -+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
42607 -+ break
42608 -+ elif $ac_last_try; then
42609 -+ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
42610 -+echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
42611 -+ { (exit 1); exit 1; }; }
42612 -+ else
42613 -+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42614 -+ fi
42615 -+done
42616 -+
42617 -+ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
42618 -+if test -n "$ac_eof"; then
42619 -+ ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
42620 -+ ac_eof=`expr $ac_eof + 1`
42621 -+fi
42622 -+
42623 -+cat >>$CONFIG_STATUS <<_ACEOF
42624 -+cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
42625 -+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42626 -+_ACEOF
42627 -+sed '
42628 -+s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
42629 -+s/^/s,@/; s/!/@,|#_!!_#|/
42630 -+:n
42631 -+t n
42632 -+s/'"$ac_delim"'$/,g/; t
42633 -+s/$/\\/; p
42634 -+N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
42635 -+' >>$CONFIG_STATUS <conf$$subs.sed
42636 -+rm -f conf$$subs.sed
42637 -+cat >>$CONFIG_STATUS <<_ACEOF
42638 -+CEOF$ac_eof
42639 -+_ACEOF
42640 -+
42641 -+
42642 -+ac_delim='%!_!# '
42643 -+for ac_last_try in false false false false false :; do
42644 -+ cat >conf$$subs.sed <<_ACEOF
42645 -+OPENSSL_INCLUDE!$OPENSSL_INCLUDE$ac_delim
42646 -+OPENSSL_LIBS!$OPENSSL_LIBS$ac_delim
42647 -+KRB5_CONFIG!$KRB5_CONFIG$ac_delim
42648 -+KRB5_INCLUDE!$KRB5_INCLUDE$ac_delim
42649 -+KRB5_LIBS!$KRB5_LIBS$ac_delim
42650 -+CURL_INCLUDE!$CURL_INCLUDE$ac_delim
42651 -+CURL_LIBS!$CURL_LIBS$ac_delim
42652 -+FTDS64_INCLUDE!$FTDS64_INCLUDE$ac_delim
42653 -+FTDS64_LIBS!$FTDS64_LIBS$ac_delim
42654 -+FTDS64_LIB!$FTDS64_LIB$ac_delim
42655 -+FTDS64_CTLIB_INCLUDE!$FTDS64_CTLIB_INCLUDE$ac_delim
42656 -+FTDS64_CTLIB_LIBS!$FTDS64_CTLIB_LIBS$ac_delim
42657 -+FTDS64_CTLIB_LIB!$FTDS64_CTLIB_LIB$ac_delim
42658 -+FTDS_INCLUDE!$FTDS_INCLUDE$ac_delim
42659 -+FTDS_LIBS!$FTDS_LIBS$ac_delim
42660 -+FTDS_LIB!$FTDS_LIB$ac_delim
42661 -+freetds!$freetds$ac_delim
42662 -+ftds64!$ftds64$ac_delim
42663 -+mysql_config!$mysql_config$ac_delim
42664 -+PYTHON!$PYTHON$ac_delim
42665 -+PYTHON_INCLUDE!$PYTHON_INCLUDE$ac_delim
42666 -+PYTHON_LIBS!$PYTHON_LIBS$ac_delim
42667 -+PYTHON23!$PYTHON23$ac_delim
42668 -+PYTHON23_INCLUDE!$PYTHON23_INCLUDE$ac_delim
42669 -+PYTHON23_LIBS!$PYTHON23_LIBS$ac_delim
42670 -+PYTHON24!$PYTHON24$ac_delim
42671 -+PYTHON24_INCLUDE!$PYTHON24_INCLUDE$ac_delim
42672 -+PYTHON24_LIBS!$PYTHON24_LIBS$ac_delim
42673 -+PYTHON25!$PYTHON25$ac_delim
42674 -+PYTHON25_INCLUDE!$PYTHON25_INCLUDE$ac_delim
42675 -+PYTHON25_LIBS!$PYTHON25_LIBS$ac_delim
42676 -+PERL!$PERL$ac_delim
42677 -+_ACJNI_JAVAC!$_ACJNI_JAVAC$ac_delim
42678 -+XMKMF!$XMKMF$ac_delim
42679 -+X_CFLAGS!$X_CFLAGS$ac_delim
42680 -+X_PRE_LIBS!$X_PRE_LIBS$ac_delim
42681 -+X_LIBS!$X_LIBS$ac_delim
42682 -+X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
42683 -+wxconf!$wxconf$ac_delim
42684 -+EXPAT_INCLUDE!$EXPAT_INCLUDE$ac_delim
42685 -+EXPAT_LIBS!$EXPAT_LIBS$ac_delim
42686 -+SABLOT_INCLUDE!$SABLOT_INCLUDE$ac_delim
42687 -+SABLOT_LIBS!$SABLOT_LIBS$ac_delim
42688 -+LIBXML_INCLUDE!$LIBXML_INCLUDE$ac_delim
42689 -+LIBXML_LIBS!$LIBXML_LIBS$ac_delim
42690 -+LIBXSLT_INCLUDE!$LIBXSLT_INCLUDE$ac_delim
42691 -+LIBXSLT_LIBS!$LIBXSLT_LIBS$ac_delim
42692 -+XSLTPROC!$XSLTPROC$ac_delim
42693 -+LIBEXSLT_INCLUDE!$LIBEXSLT_INCLUDE$ac_delim
42694 -+LIBEXSLT_LIBS!$LIBEXSLT_LIBS$ac_delim
42695 -+SQLITE3_INCLUDE!$SQLITE3_INCLUDE$ac_delim
42696 -+SQLITE3_LIBS!$SQLITE3_LIBS$ac_delim
42697 -+OECHEM_INCLUDE!$OECHEM_INCLUDE$ac_delim
42698 -+OECHEM_LIBS!$OECHEM_LIBS$ac_delim
42699 -+SGE_INCLUDE!$SGE_INCLUDE$ac_delim
42700 -+SGE_LIBS!$SGE_LIBS$ac_delim
42701 -+MUPARSER_INCLUDE!$MUPARSER_INCLUDE$ac_delim
42702 -+MUPARSER_LIBS!$MUPARSER_LIBS$ac_delim
42703 -+HDF5_INCLUDE!$HDF5_INCLUDE$ac_delim
42704 -+HDF5_LIBS!$HDF5_LIBS$ac_delim
42705 -+JPEG_INCLUDE!$JPEG_INCLUDE$ac_delim
42706 -+JPEG_LIBS!$JPEG_LIBS$ac_delim
42707 -+PNG_INCLUDE!$PNG_INCLUDE$ac_delim
42708 -+PNG_LIBS!$PNG_LIBS$ac_delim
42709 -+TIFF_INCLUDE!$TIFF_INCLUDE$ac_delim
42710 -+TIFF_LIBS!$TIFF_LIBS$ac_delim
42711 -+UNGIF_INCLUDE!$UNGIF_INCLUDE$ac_delim
42712 -+UNGIF_LIBS!$UNGIF_LIBS$ac_delim
42713 -+GIF_INCLUDE!$GIF_INCLUDE$ac_delim
42714 -+GIF_LIBS!$GIF_LIBS$ac_delim
42715 -+XPM_INCLUDE!$XPM_INCLUDE$ac_delim
42716 -+XPM_LIBS!$XPM_LIBS$ac_delim
42717 -+freetype_config!$freetype_config$ac_delim
42718 -+FTGL_INCLUDE!$FTGL_INCLUDE$ac_delim
42719 -+FTGL_LIBS!$FTGL_LIBS$ac_delim
42720 -+MAGIC_INCLUDE!$MAGIC_INCLUDE$ac_delim
42721 -+MAGIC_LIBS!$MAGIC_LIBS$ac_delim
42722 -+MIMETIC_INCLUDE!$MIMETIC_INCLUDE$ac_delim
42723 -+MIMETIC_LIBS!$MIMETIC_LIBS$ac_delim
42724 -+GSOAP_SOAPCPP2!$GSOAP_SOAPCPP2$ac_delim
42725 -+GSOAP_WSDL2H!$GSOAP_WSDL2H$ac_delim
42726 -+GSOAP_INCLUDE!$GSOAP_INCLUDE$ac_delim
42727 -+GSOAP_LIBS!$GSOAP_LIBS$ac_delim
42728 -+MONGODB_INCLUDE!$MONGODB_INCLUDE$ac_delim
42729 -+MONGODB_LIBS!$MONGODB_LIBS$ac_delim
42730 -+signature!$signature$ac_delim
42731 -+build_root!$build_root$ac_delim
42732 -+top_srcdir!$top_srcdir$ac_delim
42733 -+srcdir!$srcdir$ac_delim
42734 -+status_dir!$status_dir$ac_delim
42735 -+builddir!$builddir$ac_delim
42736 -+runpath!$runpath$ac_delim
42737 -+ncbi_runpath!$ncbi_runpath$ac_delim
42738 -+c_ncbi_runpath!$c_ncbi_runpath$ac_delim
42739 -+LINK!$LINK$ac_delim
42740 -+C_LINK!$C_LINK$ac_delim
42741 -+TAIL_N!$TAIL_N$ac_delim
42742 -+_ACEOF
42743 -+
42744 -+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
42745 -+ break
42746 -+ elif $ac_last_try; then
42747 -+ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
42748 -+echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
42749 -+ { (exit 1); exit 1; }; }
42750 -+ else
42751 -+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42752 -+ fi
42753 -+done
42754 -+
42755 -+ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
42756 -+if test -n "$ac_eof"; then
42757 -+ ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
42758 -+ ac_eof=`expr $ac_eof + 1`
42759 -+fi
42760 -+
42761 -+cat >>$CONFIG_STATUS <<_ACEOF
42762 -+cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
42763 -+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42764 -+_ACEOF
42765 -+sed '
42766 -+s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
42767 -+s/^/s,@/; s/!/@,|#_!!_#|/
42768 -+:n
42769 -+t n
42770 -+s/'"$ac_delim"'$/,g/; t
42771 -+s/$/\\/; p
42772 -+N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
42773 -+' >>$CONFIG_STATUS <conf$$subs.sed
42774 -+rm -f conf$$subs.sed
42775 -+cat >>$CONFIG_STATUS <<_ACEOF
42776 -+CEOF$ac_eof
42777 -+_ACEOF
42778 -+
42779 -+
42780 -+ac_delim='%!_!# '
42781 -+for ac_last_try in false false false false false :; do
42782 -+ cat >conf$$subs.sed <<_ACEOF
42783 -+EGREP_Q!$EGREP_Q$ac_delim
42784 -+LDD_R!$LDD_R$ac_delim
42785 -+FAST_CFLAGS!$FAST_CFLAGS$ac_delim
42786 -+FAST_CXXFLAGS!$FAST_CXXFLAGS$ac_delim
42787 -+OBJCXX_CXXFLAGS!$OBJCXX_CXXFLAGS$ac_delim
42788 -+DEPFLAGS!$DEPFLAGS$ac_delim
42789 -+DEPFLAGS_POST!$DEPFLAGS_POST$ac_delim
42790 -+FAST_LDFLAGS!$FAST_LDFLAGS$ac_delim
42791 -+APP_LDFLAGS!$APP_LDFLAGS$ac_delim
42792 -+DLL_LDFLAGS!$DLL_LDFLAGS$ac_delim
42793 -+C_LIBS!$C_LIBS$ac_delim
42794 -+OBJCXX_LIBS!$OBJCXX_LIBS$ac_delim
42795 -+GCCPCH!$GCCPCH$ac_delim
42796 -+RUNPATH_ORIGIN!$RUNPATH_ORIGIN$ac_delim
42797 -+NO_STRICT_ALIASING!$NO_STRICT_ALIASING$ac_delim
42798 -+D_SFX!$D_SFX$ac_delim
42799 -+DEBUG_SFX!$DEBUG_SFX$ac_delim
42800 -+LIB_OR_DLL!$LIB_OR_DLL$ac_delim
42801 -+FORCE_STATIC_LIB!$FORCE_STATIC_LIB$ac_delim
42802 -+APP_LIB_SETTING!$APP_LIB_SETTING$ac_delim
42803 -+APP_LIBS_SETTING!$APP_LIBS_SETTING$ac_delim
42804 -+LINK_DLL!$LINK_DLL$ac_delim
42805 -+has_dll_loadable!$has_dll_loadable$ac_delim
42806 -+LINK_LOADABLE!$LINK_LOADABLE$ac_delim
42807 -+CFLAGS_DLL!$CFLAGS_DLL$ac_delim
42808 -+CXXFLAGS_DLL!$CXXFLAGS_DLL$ac_delim
42809 -+ALLOW_UNDEF!$ALLOW_UNDEF$ac_delim
42810 -+FORBID_UNDEF!$FORBID_UNDEF$ac_delim
42811 -+OPT_GROUPS!$OPT_GROUPS$ac_delim
42812 -+local_lbsm!$local_lbsm$ac_delim
42813 -+ncbi_crypt!$ncbi_crypt$ac_delim
42814 -+CONNEXT!$CONNEXT$ac_delim
42815 -+XCONNEXT!$XCONNEXT$ac_delim
42816 -+serial!$serial$ac_delim
42817 -+bdb!$bdb$ac_delim
42818 -+dbapi!$dbapi$ac_delim
42819 -+objects!$objects$ac_delim
42820 -+gui!$gui$ac_delim
42821 -+algo!$algo$ac_delim
42822 -+app!$app$ac_delim
42823 -+internal!$internal$ac_delim
42824 -+check!$check$ac_delim
42825 -+CHECK_ARG!$CHECK_ARG$ac_delim
42826 -+CHECK_TOOLS!$CHECK_TOOLS$ac_delim
42827 -+CHECK_TIMEOUT_MULT!$CHECK_TIMEOUT_MULT$ac_delim
42828 -+CHECK_OS_NAME!$CHECK_OS_NAME$ac_delim
42829 -+FEATURES!$FEATURES$ac_delim
42830 -+script_shell!$script_shell$ac_delim
42831 -+make_shell!$make_shell$ac_delim
42832 -+obj_ext!$obj_ext$ac_delim
42833 -+lib_pre!$lib_pre$ac_delim
42834 -+lib_l_pre!$lib_l_pre$ac_delim
42835 -+lib_ext!$lib_ext$ac_delim
42836 -+dll_ext!$dll_ext$ac_delim
42837 -+loadable_ext!$loadable_ext$ac_delim
42838 -+lib_l_ext!$lib_l_ext$ac_delim
42839 -+exe_ext!$exe_ext$ac_delim
42840 -+f_compile!$f_compile$ac_delim
42841 -+f_outobj!$f_outobj$ac_delim
42842 -+f_outlib!$f_outlib$ac_delim
42843 -+f_libpath!$f_libpath$ac_delim
42844 -+f_runpath!$f_runpath$ac_delim
42845 -+f_outexe!$f_outexe$ac_delim
42846 -+BDB_LIB!$BDB_LIB$ac_delim
42847 -+BDB_CACHE_LIB!$BDB_CACHE_LIB$ac_delim
42848 -+DBAPI_DRIVER!$DBAPI_DRIVER$ac_delim
42849 -+DBAPI_CTLIB!$DBAPI_CTLIB$ac_delim
42850 -+DBAPI_DBLIB!$DBAPI_DBLIB$ac_delim
42851 -+DBAPI_MYSQL!$DBAPI_MYSQL$ac_delim
42852 -+DBAPI_ODBC!$DBAPI_ODBC$ac_delim
42853 -+THREAD_LIBS!$THREAD_LIBS$ac_delim
42854 -+NCBIATOMIC_LIB!$NCBIATOMIC_LIB$ac_delim
42855 -+OPENMP_FLAGS!$OPENMP_FLAGS$ac_delim
42856 -+NETWORK_LIBS!$NETWORK_LIBS$ac_delim
42857 -+NETWORK_PURE_LIBS!$NETWORK_PURE_LIBS$ac_delim
42858 -+RESOLVER_LIBS!$RESOLVER_LIBS$ac_delim
42859 -+MATH_LIBS!$MATH_LIBS$ac_delim
42860 -+KSTAT_LIBS!$KSTAT_LIBS$ac_delim
42861 -+RPCSVC_LIBS!$RPCSVC_LIBS$ac_delim
42862 -+CRYPT_LIBS!$CRYPT_LIBS$ac_delim
42863 -+DL_LIBS!$DL_LIBS$ac_delim
42864 -+RT_LIBS!$RT_LIBS$ac_delim
42865 -+UUID_LIBS!$UUID_LIBS$ac_delim
42866 -+DEMANGLE_LIBS!$DEMANGLE_LIBS$ac_delim
42867 -+ICONV_LIBS!$ICONV_LIBS$ac_delim
42868 -+Z_LIB!$Z_LIB$ac_delim
42869 -+BZ2_LIB!$BZ2_LIB$ac_delim
42870 -+PCREPOSIX_LIBS!$PCREPOSIX_LIBS$ac_delim
42871 -+PCRE_LIB!$PCRE_LIB$ac_delim
42872 -+OPENSSL_STATIC_LIBS!$OPENSSL_STATIC_LIBS$ac_delim
42873 -+TLS_INCLUDE!$TLS_INCLUDE$ac_delim
42874 -+TLS_LIBS!$TLS_LIBS$ac_delim
42875 -+SYBASE_PATH!$SYBASE_PATH$ac_delim
42876 -+SYBASE_LCL_PATH!$SYBASE_LCL_PATH$ac_delim
42877 -+SYBASE_INCLUDE!$SYBASE_INCLUDE$ac_delim
42878 -+SYBASE_LIBS!$SYBASE_LIBS$ac_delim
42879 -+SYBASE_DLLS!$SYBASE_DLLS$ac_delim
42880 -+_ACEOF
42881 -+
42882 -+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
42883 -+ break
42884 -+ elif $ac_last_try; then
42885 -+ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
42886 -+echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
42887 -+ { (exit 1); exit 1; }; }
42888 -+ else
42889 -+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
42890 -+ fi
42891 -+done
42892 -+
42893 -+ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
42894 -+if test -n "$ac_eof"; then
42895 -+ ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
42896 -+ ac_eof=`expr $ac_eof + 1`
42897 -+fi
42898 -+
42899 -+cat >>$CONFIG_STATUS <<_ACEOF
42900 -+cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
42901 -+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
42902 -+_ACEOF
42903 -+sed '
42904 -+s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
42905 -+s/^/s,@/; s/!/@,|#_!!_#|/
42906 -+:n
42907 -+t n
42908 -+s/'"$ac_delim"'$/,g/; t
42909 -+s/$/\\/; p
42910 -+N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
42911 -+' >>$CONFIG_STATUS <conf$$subs.sed
42912 -+rm -f conf$$subs.sed
42913 -+cat >>$CONFIG_STATUS <<_ACEOF
42914 -+CEOF$ac_eof
42915 -+_ACEOF
42916 -+
42917 -
42918 -+ac_delim='%!_!# '
42919 -+for ac_last_try in false false false false false :; do
42920 -+ cat >conf$$subs.sed <<_ACEOF
42921 -+SYBASE_DBLIBS!$SYBASE_DBLIBS$ac_delim
42922 -+MYSQL_INCLUDE!$MYSQL_INCLUDE$ac_delim
42923 -+MYSQL_LIBS!$MYSQL_LIBS$ac_delim
42924 -+BERKELEYDB_INCLUDE!$BERKELEYDB_INCLUDE$ac_delim
42925 -+BERKELEYDB_LIBS!$BERKELEYDB_LIBS$ac_delim
42926 -+BERKELEYDB_STATIC_LIBS!$BERKELEYDB_STATIC_LIBS$ac_delim
42927 -+BERKELEYDB_CXX_LIBS!$BERKELEYDB_CXX_LIBS$ac_delim
42928 -+BERKELEYDB_CXX_STATIC_LIBS!$BERKELEYDB_CXX_STATIC_LIBS$ac_delim
42929 -+ODBC_INCLUDE!$ODBC_INCLUDE$ac_delim
42930 -+ODBC_LIBS!$ODBC_LIBS$ac_delim
42931 -+BOOST_INCLUDE!$BOOST_INCLUDE$ac_delim
42932 -+BOOST_LIBPATH!$BOOST_LIBPATH$ac_delim
42933 -+BOOST_TAG!$BOOST_TAG$ac_delim
42934 -+BOOST_FILESYSTEM_LIBS!$BOOST_FILESYSTEM_LIBS$ac_delim
42935 -+BOOST_FILESYSTEM_STATIC_LIBS!$BOOST_FILESYSTEM_STATIC_LIBS$ac_delim
42936 -+BOOST_REGEX_LIBS!$BOOST_REGEX_LIBS$ac_delim
42937 -+BOOST_REGEX_STATIC_LIBS!$BOOST_REGEX_STATIC_LIBS$ac_delim
42938 -+BOOST_SYSTEM_LIBS!$BOOST_SYSTEM_LIBS$ac_delim
42939 -+BOOST_SYSTEM_STATIC_LIBS!$BOOST_SYSTEM_STATIC_LIBS$ac_delim
42940 -+BOOST_TEST_PEM_LIBS!$BOOST_TEST_PEM_LIBS$ac_delim
42941 -+BOOST_TEST_PEM_STATIC_LIBS!$BOOST_TEST_PEM_STATIC_LIBS$ac_delim
42942 -+BOOST_TEST_TEM_LIBS!$BOOST_TEST_TEM_LIBS$ac_delim
42943 -+BOOST_TEST_TEM_STATIC_LIBS!$BOOST_TEST_TEM_STATIC_LIBS$ac_delim
42944 -+BOOST_TEST_UTF_LIBS!$BOOST_TEST_UTF_LIBS$ac_delim
42945 -+BOOST_TEST_UTF_STATIC_LIBS!$BOOST_TEST_UTF_STATIC_LIBS$ac_delim
42946 -+BOOST_THREAD_LIBS!$BOOST_THREAD_LIBS$ac_delim
42947 -+BOOST_THREAD_STATIC_LIBS!$BOOST_THREAD_STATIC_LIBS$ac_delim
42948 -+NCBI_C_INCLUDE!$NCBI_C_INCLUDE$ac_delim
42949 -+NCBI_C_LIBPATH!$NCBI_C_LIBPATH$ac_delim
42950 -+OPENGL_INCLUDE!$OPENGL_INCLUDE$ac_delim
42951 -+OPENGL_LIBS!$OPENGL_LIBS$ac_delim
42952 -+OPENGL_STATIC_LIBS!$OPENGL_STATIC_LIBS$ac_delim
42953 -+OSMESA_INCLUDE!$OSMESA_INCLUDE$ac_delim
42954 -+OSMESA_LIBS!$OSMESA_LIBS$ac_delim
42955 -+OSMESA_STATIC_LIBS!$OSMESA_STATIC_LIBS$ac_delim
42956 -+GLUT_INCLUDE!$GLUT_INCLUDE$ac_delim
42957 -+GLUT_LIBS!$GLUT_LIBS$ac_delim
42958 -+GLEW_INCLUDE!$GLEW_INCLUDE$ac_delim
42959 -+GLEW_LIBS!$GLEW_LIBS$ac_delim
42960 -+GLEW_STATIC_LIBS!$GLEW_STATIC_LIBS$ac_delim
42961 -+WXWIDGETS_INCLUDE!$WXWIDGETS_INCLUDE$ac_delim
42962 -+WXWIDGETS_LIBS!$WXWIDGETS_LIBS$ac_delim
42963 -+WXWIDGETS_STATIC_LIBS!$WXWIDGETS_STATIC_LIBS$ac_delim
42964 -+WXWIDGETS_GL_LIBS!$WXWIDGETS_GL_LIBS$ac_delim
42965 -+WXWIDGETS_GL_STATIC_LIBS!$WXWIDGETS_GL_STATIC_LIBS$ac_delim
42966 -+WXWIDGETS_POST_LINK!$WXWIDGETS_POST_LINK$ac_delim
42967 -+FASTCGI_INCLUDE!$FASTCGI_INCLUDE$ac_delim
42968 -+FASTCGI_LIBS!$FASTCGI_LIBS$ac_delim
42969 -+FASTCGI_OBJS!$FASTCGI_OBJS$ac_delim
42970 -+NCBI_SSS_INCLUDE!$NCBI_SSS_INCLUDE$ac_delim
42971 -+NCBI_SSS_LIBPATH!$NCBI_SSS_LIBPATH$ac_delim
42972 -+LIBSSSUTILS!$LIBSSSUTILS$ac_delim
42973 -+LIBSSSDB!$LIBSSSDB$ac_delim
42974 -+sssutils!$sssutils$ac_delim
42975 -+SP_INCLUDE!$SP_INCLUDE$ac_delim
42976 -+SP_LIBS!$SP_LIBS$ac_delim
42977 -+ORBACUS_INCLUDE!$ORBACUS_INCLUDE$ac_delim
42978 -+ORBACUS_LIBPATH!$ORBACUS_LIBPATH$ac_delim
42979 -+LIBOB!$LIBOB$ac_delim
42980 -+LIBIMR!$LIBIMR$ac_delim
42981 -+ICU_CONFIG!$ICU_CONFIG$ac_delim
42982 -+ICU_INCLUDE!$ICU_INCLUDE$ac_delim
42983 -+ICU_LIBS!$ICU_LIBS$ac_delim
42984 -+ICU_STATIC_LIBS!$ICU_STATIC_LIBS$ac_delim
42985 -+EXPAT_STATIC_LIBS!$EXPAT_STATIC_LIBS$ac_delim
42986 -+SABLOT_STATIC_LIBS!$SABLOT_STATIC_LIBS$ac_delim
42987 -+LIBXML_STATIC_LIBS!$LIBXML_STATIC_LIBS$ac_delim
42988 -+LIBXSLT_STATIC_LIBS!$LIBXSLT_STATIC_LIBS$ac_delim
42989 -+LIBEXSLT_STATIC_LIBS!$LIBEXSLT_STATIC_LIBS$ac_delim
42990 -+XERCES_INCLUDE!$XERCES_INCLUDE$ac_delim
42991 -+XERCES_LIBS!$XERCES_LIBS$ac_delim
42992 -+XERCES_STATIC_LIBS!$XERCES_STATIC_LIBS$ac_delim
42993 -+XALAN_INCLUDE!$XALAN_INCLUDE$ac_delim
42994 -+XALAN_LIBS!$XALAN_LIBS$ac_delim
42995 -+XALAN_STATIC_LIBS!$XALAN_STATIC_LIBS$ac_delim
42996 -+ZORBA_INCLUDE!$ZORBA_INCLUDE$ac_delim
42997 -+ZORBA_LIBS!$ZORBA_LIBS$ac_delim
42998 -+ZORBA_STATIC_LIBS!$ZORBA_STATIC_LIBS$ac_delim
42999 -+SQLITE3_STATIC_LIBS!$SQLITE3_STATIC_LIBS$ac_delim
43000 -+FREETYPE_INCLUDE!$FREETYPE_INCLUDE$ac_delim
43001 -+FREETYPE_LIBS!$FREETYPE_LIBS$ac_delim
43002 -+GSOAP_PATH!$GSOAP_PATH$ac_delim
43003 -+MONGODB_STATIC_LIBS!$MONGODB_STATIC_LIBS$ac_delim
43004 -+ncbi_xreader_pubseqos!$ncbi_xreader_pubseqos$ac_delim
43005 -+ncbi_xreader_pubseqos2!$ncbi_xreader_pubseqos2$ac_delim
43006 -+UNLESS_PUBSEQOS!$UNLESS_PUBSEQOS$ac_delim
43007 -+PERL_INCLUDE!$PERL_INCLUDE$ac_delim
43008 -+PERL_LIBS!$PERL_LIBS$ac_delim
43009 -+JDK_PATH!$JDK_PATH$ac_delim
43010 -+JDK_INCLUDE!$JDK_INCLUDE$ac_delim
43011 -+ncbi_java!$ncbi_java$ac_delim
43012 -+NCBI_C_ncbi!$NCBI_C_ncbi$ac_delim
43013 -+BINCOPY!$BINCOPY$ac_delim
43014 -+APP_NOCOPY!$APP_NOCOPY$ac_delim
43015 -+APP_OR_NULL!$APP_OR_NULL$ac_delim
43016 -+IF_REBUILDING_LIBS!$IF_REBUILDING_LIBS$ac_delim
43017 -+IF_REBUILDING_CONDITIONALLY!$IF_REBUILDING_CONDITIONALLY$ac_delim
43018 -+_ACEOF
43019 -
43020 --cat >>$CONFIG_STATUS <<\_ACEOF
43021 --for ac_config_target in $ac_config_targets
43022 --do
43023 -- case "$ac_config_target" in
43024 -- # Handling of arguments.
43025 -- "$configurables" ) CONFIG_FILES="$CONFIG_FILES $configurables" ;;
43026 -- "$srcdir/./Makefile" ) CONFIG_FILES="$CONFIG_FILES $srcdir/./Makefile:src/build-system/Makefile.in.top" ;;
43027 -- "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
43028 -- "${ncbiconf}" ) CONFIG_HEADERS="$CONFIG_HEADERS ${ncbiconf}:src/build-system/config.h.in" ;;
43029 -- *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
43030 --echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
43031 -- { (exit 1); exit 1; }; };;
43032 -- esac
43033 -+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
43034 -+ break
43035 -+ elif $ac_last_try; then
43036 -+ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
43037 -+echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
43038 -+ { (exit 1); exit 1; }; }
43039 -+ else
43040 -+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
43041 -+ fi
43042 - done
43043 -
43044 --# If the user did not use the arguments to specify the items to instantiate,
43045 --# then the envvar interface is used. Set only those that are not.
43046 --# We use the long form for the default assignment because of an extremely
43047 --# bizarre bug on SunOS 4.1.3.
43048 --if $ac_need_defaults; then
43049 -- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
43050 -- test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
43051 -- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
43052 -+ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
43053 -+if test -n "$ac_eof"; then
43054 -+ ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
43055 -+ ac_eof=`expr $ac_eof + 1`
43056 fi
43057 -
43058 --# Have a temporary directory for convenience. Make it in the build tree
43059 --# simply because there is no reason to put it here, and in addition,
43060 --# creating and moving files from /tmp can sometimes cause problems.
43061 --# Create a temporary directory, and hook for its removal unless debugging.
43062 --$debug ||
43063 --{
43064 -- trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
43065 -- trap '{ (exit 1); exit 1; }' 1 2 13 15
43066 --}
43067 --
43068 --# Create a (secure) tmp directory for tmp files.
43069 --
43070 --{
43071 -- tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
43072 -- test -n "$tmp" && test -d "$tmp"
43073 --} ||
43074 --{
43075 -- tmp=./confstat$$-$RANDOM
43076 -- (umask 077 && mkdir $tmp)
43077 --} ||
43078 --{
43079 -- echo "$me: cannot create a temporary directory in ." >&2
43080 -- { (exit 1); exit 1; }
43081 --}
43082 --
43083 -+cat >>$CONFIG_STATUS <<_ACEOF
43084 -+cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
43085 -+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
43086 - _ACEOF
43087 --
43088 -+sed '
43089 -+s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
43090 -+s/^/s,@/; s/!/@,|#_!!_#|/
43091 -+:n
43092 -+t n
43093 -+s/'"$ac_delim"'$/,g/; t
43094 -+s/$/\\/; p
43095 -+N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
43096 -+' >>$CONFIG_STATUS <conf$$subs.sed
43097 -+rm -f conf$$subs.sed
43098 - cat >>$CONFIG_STATUS <<_ACEOF
43099 -+CEOF$ac_eof
43100 -+_ACEOF
43101 -
43102 --#
43103 --# CONFIG_FILES section.
43104 --#
43105 --
43106 --# No need to generate the scripts if there are no CONFIG_FILES.
43107 --# This happens for instance when ./config.status config.h
43108 --if test -n "\$CONFIG_FILES"; then
43109 -- # Protect against being on the right side of a sed subst in config.status.
43110 -- sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
43111 -- s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
43112 --s,@SHELL@,$SHELL,;t t
43113 --s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
43114 --s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
43115 --s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
43116 --s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
43117 --s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
43118 --s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
43119 --s,@exec_prefix@,$exec_prefix,;t t
43120 --s,@prefix@,$prefix,;t t
43121 --s,@program_transform_name@,$program_transform_name,;t t
43122 --s,@bindir@,$bindir,;t t
43123 --s,@sbindir@,$sbindir,;t t
43124 --s,@libexecdir@,$libexecdir,;t t
43125 --s,@datadir@,$datadir,;t t
43126 --s,@sysconfdir@,$sysconfdir,;t t
43127 --s,@sharedstatedir@,$sharedstatedir,;t t
43128 --s,@localstatedir@,$localstatedir,;t t
43129 --s,@libdir@,$libdir,;t t
43130 --s,@includedir@,$includedir,;t t
43131 --s,@oldincludedir@,$oldincludedir,;t t
43132 --s,@infodir@,$infodir,;t t
43133 --s,@mandir@,$mandir,;t t
43134 --s,@build_alias@,$build_alias,;t t
43135 --s,@host_alias@,$host_alias,;t t
43136 --s,@target_alias@,$target_alias,;t t
43137 --s,@DEFS@,$DEFS,;t t
43138 --s,@ECHO_C@,$ECHO_C,;t t
43139 --s,@ECHO_N@,$ECHO_N,;t t
43140 --s,@ECHO_T@,$ECHO_T,;t t
43141 --s,@LIBS@,$LIBS,;t t
43142 --s,@PROJECTS@,$PROJECTS,;t t
43143 --s,@build@,$build,;t t
43144 --s,@build_cpu@,$build_cpu,;t t
43145 --s,@build_vendor@,$build_vendor,;t t
43146 --s,@build_os@,$build_os,;t t
43147 --s,@host@,$host,;t t
43148 --s,@host_cpu@,$host_cpu,;t t
43149 --s,@host_vendor@,$host_vendor,;t t
43150 --s,@host_os@,$host_os,;t t
43151 --s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
43152 --s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
43153 --s,@INSTALL_DATA@,$INSTALL_DATA,;t t
43154 --s,@CC@,$CC,;t t
43155 --s,@CFLAGS@,$CFLAGS,;t t
43156 --s,@LDFLAGS@,$LDFLAGS,;t t
43157 --s,@CPPFLAGS@,$CPPFLAGS,;t t
43158 --s,@ac_ct_CC@,$ac_ct_CC,;t t
43159 --s,@EXEEXT@,$EXEEXT,;t t
43160 --s,@OBJEXT@,$OBJEXT,;t t
43161 --s,@CXX@,$CXX,;t t
43162 --s,@CXXFLAGS@,$CXXFLAGS,;t t
43163 --s,@ac_ct_CXX@,$ac_ct_CXX,;t t
43164 --s,@MT_SFX@,$MT_SFX,;t t
43165 --s,@DLL@,$DLL,;t t
43166 --s,@DLL_LIB_SETTING@,$DLL_LIB_SETTING,;t t
43167 --s,@IF_WITH_DLL@,$IF_WITH_DLL,;t t
43168 --s,@UNLESS_WITH_DLL@,$UNLESS_WITH_DLL,;t t
43169 --s,@STATIC@,$STATIC,;t t
43170 --s,@USUAL_AND_DLL@,$USUAL_AND_DLL,;t t
43171 --s,@USUAL_AND_LIB@,$USUAL_AND_LIB,;t t
43172 --s,@LN_S@,$LN_S,;t t
43173 --s,@RANLIB@,$RANLIB,;t t
43174 --s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
43175 --s,@AR@,$AR,;t t
43176 --s,@STRIP@,$STRIP,;t t
43177 --s,@DISTCC@,$DISTCC,;t t
43178 --s,@CCACHE@,$CCACHE,;t t
43179 --s,@TAIL@,$TAIL,;t t
43180 --s,@TOUCH@,$TOUCH,;t t
43181 --s,@EGREP@,$EGREP,;t t
43182 --s,@VALGRIND_PATH@,$VALGRIND_PATH,;t t
43183 --s,@CXXCPP@,$CXXCPP,;t t
43184 --s,@TCHECK_CL@,$TCHECK_CL,;t t
43185 --s,@AMQ@,$AMQ,;t t
43186 --s,@CPP@,$CPP,;t t
43187 --s,@Z_INCLUDE@,$Z_INCLUDE,;t t
43188 --s,@Z_LIBS@,$Z_LIBS,;t t
43189 --s,@BZ2_INCLUDE@,$BZ2_INCLUDE,;t t
43190 --s,@BZ2_LIBS@,$BZ2_LIBS,;t t
43191 --s,@LZO_INCLUDE@,$LZO_INCLUDE,;t t
43192 --s,@LZO_LIBS@,$LZO_LIBS,;t t
43193 --s,@PCRE_INCLUDE@,$PCRE_INCLUDE,;t t
43194 --s,@PCRE_LIBS@,$PCRE_LIBS,;t t
43195 --s,@LIBGCRYPT_CONFIG@,$LIBGCRYPT_CONFIG,;t t
43196 --s,@GCRYPT_INCLUDE@,$GCRYPT_INCLUDE,;t t
43197 --s,@GCRYPT_LIBS@,$GCRYPT_LIBS,;t t
43198 --s,@LIBGNUTLS_CONFIG@,$LIBGNUTLS_CONFIG,;t t
43199 --s,@GNUTLS_INCLUDE@,$GNUTLS_INCLUDE,;t t
43200 --s,@GNUTLS_LIBS@,$GNUTLS_LIBS,;t t
43201 --s,@OPENSSL_INCLUDE@,$OPENSSL_INCLUDE,;t t
43202 --s,@OPENSSL_LIBS@,$OPENSSL_LIBS,;t t
43203 --s,@KRB5_CONFIG@,$KRB5_CONFIG,;t t
43204 --s,@KRB5_INCLUDE@,$KRB5_INCLUDE,;t t
43205 --s,@KRB5_LIBS@,$KRB5_LIBS,;t t
43206 --s,@CURL_INCLUDE@,$CURL_INCLUDE,;t t
43207 --s,@CURL_LIBS@,$CURL_LIBS,;t t
43208 --s,@FTDS64_INCLUDE@,$FTDS64_INCLUDE,;t t
43209 --s,@FTDS64_LIBS@,$FTDS64_LIBS,;t t
43210 --s,@FTDS64_LIB@,$FTDS64_LIB,;t t
43211 --s,@FTDS64_CTLIB_INCLUDE@,$FTDS64_CTLIB_INCLUDE,;t t
43212 --s,@FTDS64_CTLIB_LIBS@,$FTDS64_CTLIB_LIBS,;t t
43213 --s,@FTDS64_CTLIB_LIB@,$FTDS64_CTLIB_LIB,;t t
43214 --s,@FTDS_INCLUDE@,$FTDS_INCLUDE,;t t
43215 --s,@FTDS_LIBS@,$FTDS_LIBS,;t t
43216 --s,@FTDS_LIB@,$FTDS_LIB,;t t
43217 --s,@freetds@,$freetds,;t t
43218 --s,@ftds64@,$ftds64,;t t
43219 --s,@mysql_config@,$mysql_config,;t t
43220 --s,@PYTHON@,$PYTHON,;t t
43221 --s,@PYTHON_INCLUDE@,$PYTHON_INCLUDE,;t t
43222 --s,@PYTHON_LIBS@,$PYTHON_LIBS,;t t
43223 --s,@PYTHON23@,$PYTHON23,;t t
43224 --s,@PYTHON23_INCLUDE@,$PYTHON23_INCLUDE,;t t
43225 --s,@PYTHON23_LIBS@,$PYTHON23_LIBS,;t t
43226 --s,@PYTHON24@,$PYTHON24,;t t
43227 --s,@PYTHON24_INCLUDE@,$PYTHON24_INCLUDE,;t t
43228 --s,@PYTHON24_LIBS@,$PYTHON24_LIBS,;t t
43229 --s,@PYTHON25@,$PYTHON25,;t t
43230 --s,@PYTHON25_INCLUDE@,$PYTHON25_INCLUDE,;t t
43231 --s,@PYTHON25_LIBS@,$PYTHON25_LIBS,;t t
43232 --s,@PERL@,$PERL,;t t
43233 --s,@_ACJNI_JAVAC@,$_ACJNI_JAVAC,;t t
43234 --s,@X_CFLAGS@,$X_CFLAGS,;t t
43235 --s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
43236 --s,@X_LIBS@,$X_LIBS,;t t
43237 --s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
43238 --s,@wxconf@,$wxconf,;t t
43239 --s,@EXPAT_INCLUDE@,$EXPAT_INCLUDE,;t t
43240 --s,@EXPAT_LIBS@,$EXPAT_LIBS,;t t
43241 --s,@SABLOT_INCLUDE@,$SABLOT_INCLUDE,;t t
43242 --s,@SABLOT_LIBS@,$SABLOT_LIBS,;t t
43243 --s,@LIBXML_INCLUDE@,$LIBXML_INCLUDE,;t t
43244 --s,@LIBXML_LIBS@,$LIBXML_LIBS,;t t
43245 --s,@LIBXSLT_INCLUDE@,$LIBXSLT_INCLUDE,;t t
43246 --s,@LIBXSLT_LIBS@,$LIBXSLT_LIBS,;t t
43247 --s,@XSLTPROC@,$XSLTPROC,;t t
43248 --s,@LIBEXSLT_INCLUDE@,$LIBEXSLT_INCLUDE,;t t
43249 --s,@LIBEXSLT_LIBS@,$LIBEXSLT_LIBS,;t t
43250 --s,@SQLITE3_INCLUDE@,$SQLITE3_INCLUDE,;t t
43251 --s,@SQLITE3_LIBS@,$SQLITE3_LIBS,;t t
43252 --s,@OECHEM_INCLUDE@,$OECHEM_INCLUDE,;t t
43253 --s,@OECHEM_LIBS@,$OECHEM_LIBS,;t t
43254 --s,@SGE_INCLUDE@,$SGE_INCLUDE,;t t
43255 --s,@SGE_LIBS@,$SGE_LIBS,;t t
43256 --s,@MUPARSER_INCLUDE@,$MUPARSER_INCLUDE,;t t
43257 --s,@MUPARSER_LIBS@,$MUPARSER_LIBS,;t t
43258 --s,@HDF5_INCLUDE@,$HDF5_INCLUDE,;t t
43259 --s,@HDF5_LIBS@,$HDF5_LIBS,;t t
43260 --s,@JPEG_INCLUDE@,$JPEG_INCLUDE,;t t
43261 --s,@JPEG_LIBS@,$JPEG_LIBS,;t t
43262 --s,@PNG_INCLUDE@,$PNG_INCLUDE,;t t
43263 --s,@PNG_LIBS@,$PNG_LIBS,;t t
43264 --s,@TIFF_INCLUDE@,$TIFF_INCLUDE,;t t
43265 --s,@TIFF_LIBS@,$TIFF_LIBS,;t t
43266 --s,@UNGIF_INCLUDE@,$UNGIF_INCLUDE,;t t
43267 --s,@UNGIF_LIBS@,$UNGIF_LIBS,;t t
43268 --s,@GIF_INCLUDE@,$GIF_INCLUDE,;t t
43269 --s,@GIF_LIBS@,$GIF_LIBS,;t t
43270 --s,@XPM_INCLUDE@,$XPM_INCLUDE,;t t
43271 --s,@XPM_LIBS@,$XPM_LIBS,;t t
43272 --s,@freetype_config@,$freetype_config,;t t
43273 --s,@FTGL_INCLUDE@,$FTGL_INCLUDE,;t t
43274 --s,@FTGL_LIBS@,$FTGL_LIBS,;t t
43275 --s,@MAGIC_INCLUDE@,$MAGIC_INCLUDE,;t t
43276 --s,@MAGIC_LIBS@,$MAGIC_LIBS,;t t
43277 --s,@MIMETIC_INCLUDE@,$MIMETIC_INCLUDE,;t t
43278 --s,@MIMETIC_LIBS@,$MIMETIC_LIBS,;t t
43279 --s,@signature@,$signature,;t t
43280 --s,@build_root@,$build_root,;t t
43281 --s,@top_srcdir@,$top_srcdir,;t t
43282 --s,@srcdir@,$srcdir,;t t
43283 --s,@status_dir@,$status_dir,;t t
43284 --s,@builddir@,$builddir,;t t
43285 --s,@runpath@,$runpath,;t t
43286 --s,@ncbi_runpath@,$ncbi_runpath,;t t
43287 --s,@c_ncbi_runpath@,$c_ncbi_runpath,;t t
43288 --s,@LINK@,$LINK,;t t
43289 --s,@C_LINK@,$C_LINK,;t t
43290 --s,@TAIL_N@,$TAIL_N,;t t
43291 --s,@EGREP_Q@,$EGREP_Q,;t t
43292 --s,@FAST_CFLAGS@,$FAST_CFLAGS,;t t
43293 --s,@FAST_CXXFLAGS@,$FAST_CXXFLAGS,;t t
43294 --s,@OBJCXX_CXXFLAGS@,$OBJCXX_CXXFLAGS,;t t
43295 --s,@DEPFLAGS@,$DEPFLAGS,;t t
43296 --s,@DEPFLAGS_POST@,$DEPFLAGS_POST,;t t
43297 --s,@FAST_LDFLAGS@,$FAST_LDFLAGS,;t t
43298 --s,@APP_LDFLAGS@,$APP_LDFLAGS,;t t
43299 --s,@DLL_LDFLAGS@,$DLL_LDFLAGS,;t t
43300 --s,@C_LIBS@,$C_LIBS,;t t
43301 --s,@OBJCXX_LIBS@,$OBJCXX_LIBS,;t t
43302 --s,@GCCPCH@,$GCCPCH,;t t
43303 --s,@RUNPATH_ORIGIN@,$RUNPATH_ORIGIN,;t t
43304 --s,@NO_STRICT_ALIASING@,$NO_STRICT_ALIASING,;t t
43305 --s,@D_SFX@,$D_SFX,;t t
43306 --s,@DEBUG_SFX@,$DEBUG_SFX,;t t
43307 --s,@LIB_OR_DLL@,$LIB_OR_DLL,;t t
43308 --s,@FORCE_STATIC_LIB@,$FORCE_STATIC_LIB,;t t
43309 --s,@APP_LIB_SETTING@,$APP_LIB_SETTING,;t t
43310 --s,@APP_LIBS_SETTING@,$APP_LIBS_SETTING,;t t
43311 --s,@LINK_DLL@,$LINK_DLL,;t t
43312 --s,@has_dll_loadable@,$has_dll_loadable,;t t
43313 --s,@LINK_LOADABLE@,$LINK_LOADABLE,;t t
43314 --s,@CFLAGS_DLL@,$CFLAGS_DLL,;t t
43315 --s,@CXXFLAGS_DLL@,$CXXFLAGS_DLL,;t t
43316 --s,@ALLOW_UNDEF@,$ALLOW_UNDEF,;t t
43317 --s,@FORBID_UNDEF@,$FORBID_UNDEF,;t t
43318 --s,@OPT_GROUPS@,$OPT_GROUPS,;t t
43319 --s,@local_lbsm@,$local_lbsm,;t t
43320 --s,@ncbi_crypt@,$ncbi_crypt,;t t
43321 --s,@CONNEXT@,$CONNEXT,;t t
43322 --s,@XCONNEXT@,$XCONNEXT,;t t
43323 --s,@serial@,$serial,;t t
43324 --s,@bdb@,$bdb,;t t
43325 --s,@dbapi@,$dbapi,;t t
43326 --s,@objects@,$objects,;t t
43327 --s,@gui@,$gui,;t t
43328 --s,@algo@,$algo,;t t
43329 --s,@app@,$app,;t t
43330 --s,@internal@,$internal,;t t
43331 --s,@sra@,$sra,;t t
43332 --s,@check@,$check,;t t
43333 --s,@CHECK_ARG@,$CHECK_ARG,;t t
43334 --s,@CHECK_TOOLS@,$CHECK_TOOLS,;t t
43335 --s,@CHECK_TIMEOUT_MULT@,$CHECK_TIMEOUT_MULT,;t t
43336 --s,@CHECK_OS_NAME@,$CHECK_OS_NAME,;t t
43337 --s,@FEATURES@,$FEATURES,;t t
43338 --s,@script_shell@,$script_shell,;t t
43339 --s,@make_shell@,$make_shell,;t t
43340 --s,@obj_ext@,$obj_ext,;t t
43341 --s,@lib_pre@,$lib_pre,;t t
43342 --s,@lib_l_pre@,$lib_l_pre,;t t
43343 --s,@lib_ext@,$lib_ext,;t t
43344 --s,@dll_ext@,$dll_ext,;t t
43345 --s,@loadable_ext@,$loadable_ext,;t t
43346 --s,@lib_l_ext@,$lib_l_ext,;t t
43347 --s,@exe_ext@,$exe_ext,;t t
43348 --s,@f_compile@,$f_compile,;t t
43349 --s,@f_outobj@,$f_outobj,;t t
43350 --s,@f_outlib@,$f_outlib,;t t
43351 --s,@f_libpath@,$f_libpath,;t t
43352 --s,@f_runpath@,$f_runpath,;t t
43353 --s,@f_outexe@,$f_outexe,;t t
43354 --s,@BDB_LIB@,$BDB_LIB,;t t
43355 --s,@BDB_CACHE_LIB@,$BDB_CACHE_LIB,;t t
43356 --s,@DBAPI_DRIVER@,$DBAPI_DRIVER,;t t
43357 --s,@DBAPI_CTLIB@,$DBAPI_CTLIB,;t t
43358 --s,@DBAPI_DBLIB@,$DBAPI_DBLIB,;t t
43359 --s,@DBAPI_MYSQL@,$DBAPI_MYSQL,;t t
43360 --s,@DBAPI_ODBC@,$DBAPI_ODBC,;t t
43361 --s,@THREAD_LIBS@,$THREAD_LIBS,;t t
43362 --s,@NCBIATOMIC_LIB@,$NCBIATOMIC_LIB,;t t
43363 --s,@NETWORK_LIBS@,$NETWORK_LIBS,;t t
43364 --s,@NETWORK_PURE_LIBS@,$NETWORK_PURE_LIBS,;t t
43365 --s,@RESOLVER_LIBS@,$RESOLVER_LIBS,;t t
43366 --s,@MATH_LIBS@,$MATH_LIBS,;t t
43367 --s,@KSTAT_LIBS@,$KSTAT_LIBS,;t t
43368 --s,@RPCSVC_LIBS@,$RPCSVC_LIBS,;t t
43369 --s,@CRYPT_LIBS@,$CRYPT_LIBS,;t t
43370 --s,@DL_LIBS@,$DL_LIBS,;t t
43371 --s,@RT_LIBS@,$RT_LIBS,;t t
43372 --s,@UUID_LIBS@,$UUID_LIBS,;t t
43373 --s,@DEMANGLE_LIBS@,$DEMANGLE_LIBS,;t t
43374 --s,@ICONV_LIBS@,$ICONV_LIBS,;t t
43375 --s,@Z_LIB@,$Z_LIB,;t t
43376 --s,@BZ2_LIB@,$BZ2_LIB,;t t
43377 --s,@PCREPOSIX_LIBS@,$PCREPOSIX_LIBS,;t t
43378 --s,@PCRE_LIB@,$PCRE_LIB,;t t
43379 --s,@OPENSSL_STATIC_LIBS@,$OPENSSL_STATIC_LIBS,;t t
43380 --s,@TLS_INCLUDE@,$TLS_INCLUDE,;t t
43381 --s,@TLS_LIBS@,$TLS_LIBS,;t t
43382 --s,@SYBASE_PATH@,$SYBASE_PATH,;t t
43383 --s,@SYBASE_LCL_PATH@,$SYBASE_LCL_PATH,;t t
43384 --s,@SYBASE_INCLUDE@,$SYBASE_INCLUDE,;t t
43385 --s,@SYBASE_LIBS@,$SYBASE_LIBS,;t t
43386 --s,@SYBASE_DLLS@,$SYBASE_DLLS,;t t
43387 --s,@SYBASE_DBLIBS@,$SYBASE_DBLIBS,;t t
43388 --s,@MYSQL_INCLUDE@,$MYSQL_INCLUDE,;t t
43389 --s,@MYSQL_LIBS@,$MYSQL_LIBS,;t t
43390 --s,@BERKELEYDB_INCLUDE@,$BERKELEYDB_INCLUDE,;t t
43391 --s,@BERKELEYDB_LIBS@,$BERKELEYDB_LIBS,;t t
43392 --s,@BERKELEYDB_STATIC_LIBS@,$BERKELEYDB_STATIC_LIBS,;t t
43393 --s,@BERKELEYDB_CXX_LIBS@,$BERKELEYDB_CXX_LIBS,;t t
43394 --s,@BERKELEYDB_CXX_STATIC_LIBS@,$BERKELEYDB_CXX_STATIC_LIBS,;t t
43395 --s,@ODBC_INCLUDE@,$ODBC_INCLUDE,;t t
43396 --s,@ODBC_LIBS@,$ODBC_LIBS,;t t
43397 --s,@BOOST_INCLUDE@,$BOOST_INCLUDE,;t t
43398 --s,@BOOST_LIBPATH@,$BOOST_LIBPATH,;t t
43399 --s,@BOOST_TAG@,$BOOST_TAG,;t t
43400 --s,@BOOST_REGEX_LIBS@,$BOOST_REGEX_LIBS,;t t
43401 --s,@BOOST_REGEX_STATIC_LIBS@,$BOOST_REGEX_STATIC_LIBS,;t t
43402 --s,@BOOST_SYSTEM_LIBS@,$BOOST_SYSTEM_LIBS,;t t
43403 --s,@BOOST_SYSTEM_STATIC_LIBS@,$BOOST_SYSTEM_STATIC_LIBS,;t t
43404 --s,@BOOST_TEST_PEM_LIBS@,$BOOST_TEST_PEM_LIBS,;t t
43405 --s,@BOOST_TEST_PEM_STATIC_LIBS@,$BOOST_TEST_PEM_STATIC_LIBS,;t t
43406 --s,@BOOST_TEST_TEM_LIBS@,$BOOST_TEST_TEM_LIBS,;t t
43407 --s,@BOOST_TEST_TEM_STATIC_LIBS@,$BOOST_TEST_TEM_STATIC_LIBS,;t t
43408 --s,@BOOST_TEST_UTF_LIBS@,$BOOST_TEST_UTF_LIBS,;t t
43409 --s,@BOOST_TEST_UTF_STATIC_LIBS@,$BOOST_TEST_UTF_STATIC_LIBS,;t t
43410 --s,@BOOST_THREAD_LIBS@,$BOOST_THREAD_LIBS,;t t
43411 --s,@BOOST_THREAD_STATIC_LIBS@,$BOOST_THREAD_STATIC_LIBS,;t t
43412 --s,@NCBI_C_INCLUDE@,$NCBI_C_INCLUDE,;t t
43413 --s,@NCBI_C_LIBPATH@,$NCBI_C_LIBPATH,;t t
43414 --s,@OPENGL_INCLUDE@,$OPENGL_INCLUDE,;t t
43415 --s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
43416 --s,@OPENGL_STATIC_LIBS@,$OPENGL_STATIC_LIBS,;t t
43417 --s,@OSMESA_INCLUDE@,$OSMESA_INCLUDE,;t t
43418 --s,@OSMESA_LIBS@,$OSMESA_LIBS,;t t
43419 --s,@OSMESA_STATIC_LIBS@,$OSMESA_STATIC_LIBS,;t t
43420 --s,@GLUT_INCLUDE@,$GLUT_INCLUDE,;t t
43421 --s,@GLUT_LIBS@,$GLUT_LIBS,;t t
43422 --s,@GLEW_INCLUDE@,$GLEW_INCLUDE,;t t
43423 --s,@GLEW_LIBS@,$GLEW_LIBS,;t t
43424 --s,@GLEW_STATIC_LIBS@,$GLEW_STATIC_LIBS,;t t
43425 --s,@WXWIDGETS_INCLUDE@,$WXWIDGETS_INCLUDE,;t t
43426 --s,@WXWIDGETS_LIBS@,$WXWIDGETS_LIBS,;t t
43427 --s,@WXWIDGETS_STATIC_LIBS@,$WXWIDGETS_STATIC_LIBS,;t t
43428 --s,@WXWIDGETS_GL_LIBS@,$WXWIDGETS_GL_LIBS,;t t
43429 --s,@WXWIDGETS_GL_STATIC_LIBS@,$WXWIDGETS_GL_STATIC_LIBS,;t t
43430 --s,@WXWIDGETS_POST_LINK@,$WXWIDGETS_POST_LINK,;t t
43431 --s,@FASTCGI_INCLUDE@,$FASTCGI_INCLUDE,;t t
43432 --s,@FASTCGI_LIBS@,$FASTCGI_LIBS,;t t
43433 --s,@FASTCGI_OBJS@,$FASTCGI_OBJS,;t t
43434 --s,@NCBI_SSS_INCLUDE@,$NCBI_SSS_INCLUDE,;t t
43435 --s,@NCBI_SSS_LIBPATH@,$NCBI_SSS_LIBPATH,;t t
43436 --s,@LIBSSSUTILS@,$LIBSSSUTILS,;t t
43437 --s,@LIBSSSDB@,$LIBSSSDB,;t t
43438 --s,@sssutils@,$sssutils,;t t
43439 --s,@SP_INCLUDE@,$SP_INCLUDE,;t t
43440 --s,@SP_LIBS@,$SP_LIBS,;t t
43441 --s,@ORBACUS_INCLUDE@,$ORBACUS_INCLUDE,;t t
43442 --s,@ORBACUS_LIBPATH@,$ORBACUS_LIBPATH,;t t
43443 --s,@LIBOB@,$LIBOB,;t t
43444 --s,@LIBIMR@,$LIBIMR,;t t
43445 --s,@ICU_CONFIG@,$ICU_CONFIG,;t t
43446 --s,@ICU_INCLUDE@,$ICU_INCLUDE,;t t
43447 --s,@ICU_LIBS@,$ICU_LIBS,;t t
43448 --s,@ICU_STATIC_LIBS@,$ICU_STATIC_LIBS,;t t
43449 --s,@EXPAT_STATIC_LIBS@,$EXPAT_STATIC_LIBS,;t t
43450 --s,@SABLOT_STATIC_LIBS@,$SABLOT_STATIC_LIBS,;t t
43451 --s,@LIBXML_STATIC_LIBS@,$LIBXML_STATIC_LIBS,;t t
43452 --s,@LIBXSLT_STATIC_LIBS@,$LIBXSLT_STATIC_LIBS,;t t
43453 --s,@LIBEXSLT_STATIC_LIBS@,$LIBEXSLT_STATIC_LIBS,;t t
43454 --s,@XERCES_INCLUDE@,$XERCES_INCLUDE,;t t
43455 --s,@XERCES_LIBS@,$XERCES_LIBS,;t t
43456 --s,@XERCES_STATIC_LIBS@,$XERCES_STATIC_LIBS,;t t
43457 --s,@XALAN_INCLUDE@,$XALAN_INCLUDE,;t t
43458 --s,@XALAN_LIBS@,$XALAN_LIBS,;t t
43459 --s,@XALAN_STATIC_LIBS@,$XALAN_STATIC_LIBS,;t t
43460 --s,@ZORBA_INCLUDE@,$ZORBA_INCLUDE,;t t
43461 --s,@ZORBA_LIBS@,$ZORBA_LIBS,;t t
43462 --s,@ZORBA_STATIC_LIBS@,$ZORBA_STATIC_LIBS,;t t
43463 --s,@SQLITE3_STATIC_LIBS@,$SQLITE3_STATIC_LIBS,;t t
43464 --s,@FREETYPE_INCLUDE@,$FREETYPE_INCLUDE,;t t
43465 --s,@FREETYPE_LIBS@,$FREETYPE_LIBS,;t t
43466 --s,@ncbi_xreader_pubseqos@,$ncbi_xreader_pubseqos,;t t
43467 --s,@ncbi_xreader_pubseqos2@,$ncbi_xreader_pubseqos2,;t t
43468 --s,@UNLESS_PUBSEQOS@,$UNLESS_PUBSEQOS,;t t
43469 --s,@PERL_INCLUDE@,$PERL_INCLUDE,;t t
43470 --s,@PERL_LIBS@,$PERL_LIBS,;t t
43471 --s,@JDK_PATH@,$JDK_PATH,;t t
43472 --s,@JDK_INCLUDE@,$JDK_INCLUDE,;t t
43473 --s,@ncbi_java@,$ncbi_java,;t t
43474 --s,@NCBI_C_ncbi@,$NCBI_C_ncbi,;t t
43475 --s,@BINCOPY@,$BINCOPY,;t t
43476 --s,@APP_NOCOPY@,$APP_NOCOPY,;t t
43477 --s,@APP_OR_NULL@,$APP_OR_NULL,;t t
43478 --s,@IF_REBUILDING_LIBS@,$IF_REBUILDING_LIBS,;t t
43479 --s,@IF_REBUILDING_CONDITIONALLY@,$IF_REBUILDING_CONDITIONALLY,;t t
43480 --s,@IF_DEACTIVATING@,$IF_DEACTIVATING,;t t
43481 --s,@configurables_mfname@,$configurables_mfname,;t t
43482 --s,@CC_FILTER@,$CC_FILTER,;t t
43483 --s,@CXX_FILTER@,$CXX_FILTER,;t t
43484 --s,@AR_FILTER@,$AR_FILTER,;t t
43485 --s,@LINK_FILTER@,$LINK_FILTER,;t t
43486 --s,@CC_WRAPPER@,$CC_WRAPPER,;t t
43487 --s,@CXX_WRAPPER@,$CXX_WRAPPER,;t t
43488 --s,@AR_WRAPPER@,$AR_WRAPPER,;t t
43489 --s,@LINK_WRAPPER@,$LINK_WRAPPER,;t t
43490 --s,@KeepStateTarget@,$KeepStateTarget,;t t
43491 --s,@Rules@,$Rules,;t t
43492 --s,@serial_ws50_rtti_kludge@,$serial_ws50_rtti_kludge,;t t
43493 --s,@ncbicntr@,$ncbicntr,;t t
43494 --s,@UNIX_SRC@,$UNIX_SRC,;t t
43495 --s,@UNIX_USR_PROJ@,$UNIX_USR_PROJ,;t t
43496 --s,@compiler@,$compiler,;t t
43497 --s,@compiler_root@,$compiler_root,;t t
43498 --s,@compiler_version@,$compiler_version,;t t
43499 --s,@COMPILER@,$COMPILER,;t t
43500 --s,@OSTYPE@,$OSTYPE,;t t
43501 --s,@NCBI_PLATFORM_BITS@,$NCBI_PLATFORM_BITS,;t t
43502 --s,@LIBOBJS@,$LIBOBJS,;t t
43503 --s,@LTLIBOBJS@,$LTLIBOBJS,;t t
43504 --CEOF
43505 -
43506 -+ac_delim='%!_!# '
43507 -+for ac_last_try in false false false false false :; do
43508 -+ cat >conf$$subs.sed <<_ACEOF
43509 -+IF_DEACTIVATING!$IF_DEACTIVATING$ac_delim
43510 -+configurables_mfname!$configurables_mfname$ac_delim
43511 -+CC_FILTER!$CC_FILTER$ac_delim
43512 -+CXX_FILTER!$CXX_FILTER$ac_delim
43513 -+AR_FILTER!$AR_FILTER$ac_delim
43514 -+LINK_FILTER!$LINK_FILTER$ac_delim
43515 -+CC_WRAPPER!$CC_WRAPPER$ac_delim
43516 -+CXX_WRAPPER!$CXX_WRAPPER$ac_delim
43517 -+AR_WRAPPER!$AR_WRAPPER$ac_delim
43518 -+LINK_WRAPPER!$LINK_WRAPPER$ac_delim
43519 -+KeepStateTarget!$KeepStateTarget$ac_delim
43520 -+Rules!$Rules$ac_delim
43521 -+serial_ws50_rtti_kludge!$serial_ws50_rtti_kludge$ac_delim
43522 -+ncbicntr!$ncbicntr$ac_delim
43523 -+UNIX_SRC!$UNIX_SRC$ac_delim
43524 -+UNIX_USR_PROJ!$UNIX_USR_PROJ$ac_delim
43525 -+compiler!$compiler$ac_delim
43526 -+compiler_root!$compiler_root$ac_delim
43527 -+compiler_version!$compiler_version$ac_delim
43528 -+COMPILER!$COMPILER$ac_delim
43529 -+OSTYPE!$OSTYPE$ac_delim
43530 -+NCBI_PLATFORM_BITS!$NCBI_PLATFORM_BITS$ac_delim
43531 -+LIBOBJS!$LIBOBJS$ac_delim
43532 -+LTLIBOBJS!$LTLIBOBJS$ac_delim
43533 - _ACEOF
43534 -
43535 -- cat >>$CONFIG_STATUS <<\_ACEOF
43536 -- # Split the substitutions into bite-sized pieces for seds with
43537 -- # small command number limits, like on Digital OSF/1 and HP-UX.
43538 -- ac_max_sed_lines=48
43539 -- ac_sed_frag=1 # Number of current file.
43540 -- ac_beg=1 # First line for current file.
43541 -- ac_end=$ac_max_sed_lines # Line after last line for current file.
43542 -- ac_more_lines=:
43543 -- ac_sed_cmds=
43544 -- while $ac_more_lines; do
43545 -- if test $ac_beg -gt 1; then
43546 -- sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
43547 -- else
43548 -- sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
43549 -- fi
43550 -- if test ! -s $tmp/subs.frag; then
43551 -- ac_more_lines=false
43552 -- else
43553 -- # The purpose of the label and of the branching condition is to
43554 -- # speed up the sed processing (if there are no `@' at all, there
43555 -- # is no need to browse any of the substitutions).
43556 -- # These are the two extra sed commands mentioned above.
43557 -- (echo ':t
43558 -- /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
43559 -- if test -z "$ac_sed_cmds"; then
43560 -- ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
43561 -- else
43562 -- ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
43563 -- fi
43564 -- ac_sed_frag=`expr $ac_sed_frag + 1`
43565 -- ac_beg=$ac_end
43566 -- ac_end=`expr $ac_end + $ac_max_sed_lines`
43567 -+ if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 24; then
43568 -+ break
43569 -+ elif $ac_last_try; then
43570 -+ { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
43571 -+echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
43572 -+ { (exit 1); exit 1; }; }
43573 -+ else
43574 -+ ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
43575 - fi
43576 - done
43577 -- if test -z "$ac_sed_cmds"; then
43578 -- ac_sed_cmds=cat
43579 -+
43580 -+ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
43581 -+if test -n "$ac_eof"; then
43582 -+ ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
43583 -+ ac_eof=`expr $ac_eof + 1`
43584 - fi
43585 --fi # test -n "$CONFIG_FILES"
43586 -
43587 -+cat >>$CONFIG_STATUS <<_ACEOF
43588 -+cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
43589 -+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
43590 -+_ACEOF
43591 -+sed '
43592 -+s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
43593 -+s/^/s,@/; s/!/@,|#_!!_#|/
43594 -+:n
43595 -+t n
43596 -+s/'"$ac_delim"'$/,g/; t
43597 -+s/$/\\/; p
43598 -+N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
43599 -+' >>$CONFIG_STATUS <conf$$subs.sed
43600 -+rm -f conf$$subs.sed
43601 -+cat >>$CONFIG_STATUS <<_ACEOF
43602 -+:end
43603 -+s/|#_!!_#|//g
43604 -+CEOF$ac_eof
43605 - _ACEOF
43606 -+
43607 -+
43608 -+# VPATH may cause trouble with some makes, so we remove $(srcdir),
43609 -+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
43610 -+# trailing colons and then remove the whole line if VPATH becomes empty
43611 -+# (actually we leave an empty line to preserve line numbers).
43612 -+if test "x$srcdir" = x.; then
43613 -+ ac_vpsub='/^[ ]*VPATH[ ]*=/{
43614 -+s/:*\$(srcdir):*/:/
43615 -+s/:*\${srcdir}:*/:/
43616 -+s/:*@srcdir@:*/:/
43617 -+s/^\([^=]*=[ ]*\):*/\1/
43618 -+s/:*$//
43619 -+s/^[^=]*=[ ]*$//
43620 -+}'
43621 -+fi
43622 -+
43623 - cat >>$CONFIG_STATUS <<\_ACEOF
43624 --for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
43625 -- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
43626 -- case $ac_file in
43627 -- - | *:- | *:-:* ) # input from stdin
43628 -- cat >$tmp/stdin
43629 -- ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43630 -- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43631 -- *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
43632 -- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
43633 -- * ) ac_file_in=$ac_file.in ;;
43634 -+fi # test -n "$CONFIG_FILES"
43635 -+
43636 -+
43637 -+for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
43638 -+do
43639 -+ case $ac_tag in
43640 -+ :[FHLC]) ac_mode=$ac_tag; continue;;
43641 -+ esac
43642 -+ case $ac_mode$ac_tag in
43643 -+ :[FHL]*:*);;
43644 -+ :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
43645 -+echo "$as_me: error: Invalid tag $ac_tag." >&2;}
43646 -+ { (exit 1); exit 1; }; };;
43647 -+ :[FH]-) ac_tag=-:-;;
43648 -+ :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
43649 -+ esac
43650 -+ ac_save_IFS=$IFS
43651 -+ IFS=:
43652 -+ set x $ac_tag
43653 -+ IFS=$ac_save_IFS
43654 -+ shift
43655 -+ ac_file=$1
43656 -+ shift
43657 -+
43658 -+ case $ac_mode in
43659 -+ :L) ac_source=$1;;
43660 -+ :[FH])
43661 -+ ac_file_inputs=
43662 -+ for ac_f
43663 -+ do
43664 -+ case $ac_f in
43665 -+ -) ac_f="$tmp/stdin";;
43666 -+ *) # Look for the file first in the build tree, then in the source tree
43667 -+ # (if the path is not absolute). The absolute path cannot be DOS-style,
43668 -+ # because $ac_f cannot contain `:'.
43669 -+ test -f "$ac_f" ||
43670 -+ case $ac_f in
43671 -+ [\\/$]*) false;;
43672 -+ *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
43673 -+ esac ||
43674 -+ { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
43675 -+echo "$as_me: error: cannot find input file: $ac_f" >&2;}
43676 -+ { (exit 1); exit 1; }; };;
43677 -+ esac
43678 -+ ac_file_inputs="$ac_file_inputs $ac_f"
43679 -+ done
43680 -+
43681 -+ # Let's still pretend it is `configure' which instantiates (i.e., don't
43682 -+ # use $as_me), people would be surprised to read:
43683 -+ # /* config.h. Generated by config.status. */
43684 -+ configure_input="Generated from "`IFS=:
43685 -+ echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
43686 -+ if test x"$ac_file" != x-; then
43687 -+ configure_input="$ac_file. $configure_input"
43688 -+ { echo "$as_me:$LINENO: creating $ac_file" >&5
43689 -+echo "$as_me: creating $ac_file" >&6;}
43690 -+ fi
43691 -+
43692 -+ case $ac_tag in
43693 -+ *:-:* | *:-) cat >"$tmp/stdin";;
43694 -+ esac
43695 -+ ;;
43696 - esac
43697 -
43698 -- # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
43699 -- ac_dir=`(dirname "$ac_file") 2>/dev/null ||
43700 -+ ac_dir=`$as_dirname -- "$ac_file" ||
43701 - $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43702 - X"$ac_file" : 'X\(//\)[^/]' \| \
43703 - X"$ac_file" : 'X\(//\)$' \| \
43704 -- X"$ac_file" : 'X\(/\)' \| \
43705 -- . : '\(.\)' 2>/dev/null ||
43706 -+ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
43707 - echo X"$ac_file" |
43708 -- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43709 -- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43710 -- /^X\(\/\/\)$/{ s//\1/; q; }
43711 -- /^X\(\/\).*/{ s//\1/; q; }
43712 -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
43713 -+ s//\1/
43714 -+ q
43715 -+ }
43716 -+ /^X\(\/\/\)[^/].*/{
43717 -+ s//\1/
43718 -+ q
43719 -+ }
43720 -+ /^X\(\/\/\)$/{
43721 -+ s//\1/
43722 -+ q
43723 -+ }
43724 -+ /^X\(\/\).*/{
43725 -+ s//\1/
43726 -+ q
43727 -+ }
43728 - s/.*/./; q'`
43729 -- { if $as_mkdir_p; then
43730 -- mkdir -p "$ac_dir"
43731 -- else
43732 -- as_dir="$ac_dir"
43733 -+ { as_dir="$ac_dir"
43734 -+ case $as_dir in #(
43735 -+ -*) as_dir=./$as_dir;;
43736 -+ esac
43737 -+ test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
43738 - as_dirs=
43739 -- while test ! -d "$as_dir"; do
43740 -- as_dirs="$as_dir $as_dirs"
43741 -- as_dir=`(dirname "$as_dir") 2>/dev/null ||
43742 -+ while :; do
43743 -+ case $as_dir in #(
43744 -+ *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
43745 -+ *) as_qdir=$as_dir;;
43746 -+ esac
43747 -+ as_dirs="'$as_qdir' $as_dirs"
43748 -+ as_dir=`$as_dirname -- "$as_dir" ||
43749 - $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43750 - X"$as_dir" : 'X\(//\)[^/]' \| \
43751 - X"$as_dir" : 'X\(//\)$' \| \
43752 -- X"$as_dir" : 'X\(/\)' \| \
43753 -- . : '\(.\)' 2>/dev/null ||
43754 -+ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
43755 - echo X"$as_dir" |
43756 -- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43757 -- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43758 -- /^X\(\/\/\)$/{ s//\1/; q; }
43759 -- /^X\(\/\).*/{ s//\1/; q; }
43760 -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
43761 -+ s//\1/
43762 -+ q
43763 -+ }
43764 -+ /^X\(\/\/\)[^/].*/{
43765 -+ s//\1/
43766 -+ q
43767 -+ }
43768 -+ /^X\(\/\/\)$/{
43769 -+ s//\1/
43770 -+ q
43771 -+ }
43772 -+ /^X\(\/\).*/{
43773 -+ s//\1/
43774 -+ q
43775 -+ }
43776 - s/.*/./; q'`
43777 -+ test -d "$as_dir" && break
43778 - done
43779 -- test ! -n "$as_dirs" || mkdir $as_dirs
43780 -- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
43781 --echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
43782 -+ test -z "$as_dirs" || eval "mkdir $as_dirs"
43783 -+ } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
43784 -+echo "$as_me: error: cannot create directory $as_dir" >&2;}
43785 - { (exit 1); exit 1; }; }; }
43786 -
43787 -- #ac_builddir=. # Useless!
43788 --ac_builddir=$builddir
43789 --if test -n "$ac_file_in"; then
43790 -- ac_dir_in=`(dirname "$ac_file_in") 2>/dev/null ||
43791 --$as_expr X"$ac_file_in" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43792 -- X"$ac_file_in" : 'X\(//\)[^/]' \| \
43793 -- X"$ac_file_in" : 'X\(//\)$' \| \
43794 -- X"$ac_file_in" : 'X\(/\)' \| \
43795 -- . : '\(.\)' 2>/dev/null ||
43796 --echo X"$ac_file_in" |
43797 -- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
43798 -- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
43799 -- /^X\(\/\/\)$/{ s//\1/; q; }
43800 -- /^X\(\/\).*/{ s//\1/; q; }
43801 -+ # Base source directories on path to *input* file.
43802 -+if test -n "$ac_f"; then
43803 -+ ac_dir_in=`$as_dirname -- "$ac_f" ||
43804 -+$as_expr X"$ac_f" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
43805 -+ X"$ac_f" : 'X\(//\)[^/]' \| \
43806 -+ X"$ac_f" : 'X\(//\)$' \| \
43807 -+ X"$ac_f" : 'X\(/\)' \| . 2>/dev/null ||
43808 -+echo X"$ac_f" |
43809 -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
43810 -+ s//\1/
43811 -+ q
43812 -+ }
43813 -+ /^X\(\/\/\)[^/].*/{
43814 -+ s//\1/
43815 -+ q
43816 -+ }
43817 -+ /^X\(\/\/\)$/{
43818 -+ s//\1/
43819 -+ q
43820 -+ }
43821 -+ /^X\(\/\).*/{
43822 -+ s//\1/
43823 -+ q
43824 -+ }
43825 - s/.*/./; q'`
43826 - else
43827 - ac_dir_in="$ac_dir"
43828 - fi
43829 -
43830 --if test $ac_dir_in != .; then
43831 -- ac_dir_suffix=`echo $ac_dir_in | sed 's,^\.[\\/],,'`
43832 -- # A "../" for each directory in $ac_dir_suffix.
43833 -- ac_top_builddir=../`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
43834 +-echo "$as_me:$LINENO: checking whether $CXX supports C++0x nullptr" >&5
43835 +-echo $ECHO_N "checking whether $CXX supports C++0x nullptr... $ECHO_C" >&6
43836 +-if test "${ncbi_cv_cxx_nullptr+set}" = set; then
43837 +- echo $ECHO_N "(cached) $ECHO_C" >&6
43838 -else
43839 -- ac_dir_suffix= ac_top_builddir=
43840 --fi
43841 -+ac_builddir=.
43842 -
43843 --case $srcdir in
43844 -- .) # No --srcdir option. We are building in place.
43845 -- ac_srcdir=.
43846 -- if test -z "$ac_top_builddir"; then
43847 -- ac_top_srcdir=.
43848 -- else
43849 -- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
43850 -- fi ;;
43851 -- [\\/]* | ?:[\\/]* ) # Absolute path.
43852 -- ac_srcdir=$srcdir/$ac_dir_suffix;
43853 -- ac_top_srcdir=$srcdir ;;
43854 -- *) # Relative path.
43855 -- ac_srcdir=$ac_top_builddir$srcdir/$ac_dir_suffix
43856 -- ac_top_srcdir=$ac_top_builddir$srcdir ;;
43857 --esac
43858 --# Do not use `cd foo && pwd` to compute absolute paths, because
43859 --# the directories may not exist.
43860 --case $builddir in
43861 --.) ac_abs_builddir="$ac_dir";;
43862 --*)
43863 -- case "$ac_dir" in
43864 -- .) ac_abs_builddir=$builddir;;
43865 -- [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
43866 -- *) ac_abs_builddir=$builddir/"$ac_dir";;
43867 -- esac;;
43868 --esac
43869 --case $ac_abs_builddir in
43870 --.) ac_abs_top_builddir=${ac_top_builddir}.;;
43871 -+case "$ac_dir_in" in
43872 -+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
43873 - *)
43874 -- case ${ac_top_builddir}. in
43875 -- .) ac_abs_top_builddir=$ac_abs_builddir;;
43876 -- [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
43877 -- *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
43878 -+ ac_dir_suffix=/`echo "$ac_dir_in" | sed 's,^\.[\\/],,'`
43879 -+ # A ".." for each directory in $ac_dir_suffix.
43880 -+ ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
43881 -+ case $ac_top_builddir_sub in
43882 -+ "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
43883 -+ *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
43884 - esac;;
43885 - esac
43886 -+ac_abs_top_builddir=$ac_pwd
43887 -+ac_abs_builddir=$ac_pwd$ac_dir_suffix
43888 -+# for backward compatibility:
43889 -+ac_top_builddir=$ac_top_build_prefix
43890 -+
43891 -+case $srcdir in
43892 -+ .) # We are building in place.
43893 -+ ac_srcdir=.
43894 -+ ac_top_srcdir=$ac_top_builddir_sub
43895 -+ ac_abs_top_srcdir=$ac_pwd ;;
43896 -+ [\\/]* | ?:[\\/]* ) # Absolute name.
43897 -+ ac_srcdir=$srcdir$ac_dir_suffix;
43898 -+ ac_top_srcdir=$srcdir
43899 -+ ac_abs_top_srcdir=$srcdir ;;
43900 -+ *) # Relative name.
43901 -+ ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
43902 -+ ac_top_srcdir=$ac_top_build_prefix$srcdir
43903 -+ ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
43904 -+esac
43905 -+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
43906 -+
43907 -+
43908 - case $ac_dir_in in
43909 - .) ac_abs_top_srcdir=$real_srcdir;;
43910 - *)
43911 -@@ -36015,66 +41447,55 @@
43912 - *) ac_abs_top_srcdir=$ac_dir_in/$real_srcdir;;
43913 - esac;;
43914 - esac
43915 --case $ac_abs_top_srcdir in
43916 --.) ac_abs_srcdir=$ac_dir_suffix;;
43917 --*)
43918 -- case $ac_dir_suffix in
43919 -- .) ac_abs_srcdir=$ac_abs_top_srcdir;;
43920 -- [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_dir_suffix;;
43921 -- *) ac_abs_srcdir=$ac_abs_top_srcdir/$ac_dir_suffix;;
43922 -- esac;;
43923 --esac
43924 -+ac_builddir=$builddir
43925 -
43926 -
43927 -+ case $ac_mode in
43928 -+ :F)
43929 -+ #
43930 -+ # CONFIG_FILE
43931 -+ #
43932 -+
43933 - case $INSTALL in
43934 - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
43935 -- *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
43936 -+ *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
43937 - esac
43938 -+_ACEOF
43939 -
43940 -- if test x"$ac_file" != x-; then
43941 -- { echo "$as_me:$LINENO: creating $ac_file" >&5
43942 --echo "$as_me: creating $ac_file" >&6;}
43943 -- rm -f "$ac_file"
43944 -- fi
43945 -- # Let's still pretend it is `configure' which instantiates (i.e., don't
43946 -- # use $as_me), people would be surprised to read:
43947 -- # /* config.h. Generated by config.status. */
43948 -- if test x"$ac_file" = x-; then
43949 -- configure_input=
43950 -- else
43951 -- configure_input="$ac_file. "
43952 -- fi
43953 -- configure_input=$configure_input"Generated from `echo $ac_file_in |
43954 -- sed 's,.*/,,'` by configure."
43955 --
43956 -- # First look for the input files in the build tree, otherwise in the
43957 -- # src tree.
43958 -- ac_file_inputs=`IFS=:
43959 -- for f in $ac_file_in; do
43960 -- case $f in
43961 -- -) echo $tmp/stdin ;;
43962 -- [\\/$]*)
43963 -- # Absolute (can't be DOS-style, as IFS=:)
43964 -- test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43965 --echo "$as_me: error: cannot find input file: $f" >&2;}
43966 -- { (exit 1); exit 1; }; }
43967 -- echo "$f";;
43968 -- *) # Relative
43969 -- if test -f "$f"; then
43970 -- # Build tree
43971 -- echo "$f"
43972 -- elif test -f "$srcdir/$f"; then
43973 -- # Source tree
43974 -- echo "$srcdir/$f"
43975 -- else
43976 -- # /dev/null tree
43977 -- { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
43978 --echo "$as_me: error: cannot find input file: $f" >&2;}
43979 -- { (exit 1); exit 1; }; }
43980 -- fi;;
43981 -+cat >>$CONFIG_STATUS <<\_ACEOF
43982 -+# If the template does not know about datarootdir, expand it.
43983 -+# FIXME: This hack should be removed a few years after 2.60.
43984 -+ac_datarootdir_hack=; ac_datarootdir_seen=
43985 -+
43986 -+case `sed -n '/datarootdir/ {
43987 -+ p
43988 -+ q
43989 -+}
43990 -+/@datadir@/p
43991 -+/@docdir@/p
43992 -+/@infodir@/p
43993 -+/@localedir@/p
43994 -+/@mandir@/p
43995 -+' $ac_file_inputs` in
43996 -+*datarootdir*) ac_datarootdir_seen=yes;;
43997 -+*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
43998 -+ { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
43999 -+echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
44000 -+_ACEOF
44001 -+cat >>$CONFIG_STATUS <<_ACEOF
44002 -+ ac_datarootdir_hack='
44003 -+ s&@datadir@&$datadir&g
44004 -+ s&@docdir@&$docdir&g
44005 -+ s&@infodir@&$infodir&g
44006 -+ s&@localedir@&$localedir&g
44007 -+ s&@mandir@&$mandir&g
44008 -+ s&\\\${datarootdir}&$datarootdir&g' ;;
44009 - esac
44010 -- done` || { (exit 1); exit 1; }
44011 - _ACEOF
44012 -+
44013 -+# Neutralize VPATH when `$srcdir' = `.'.
44014 -+# Shell code in configure.ac might set extrasub.
44015 -+# FIXME: do we really want to maintain this feature?
44016 - cat >>$CONFIG_STATUS <<_ACEOF
44017 - sed "$ac_vpsub
44018 - $extrasub
44019 -@@ -36082,381 +41503,140 @@
44020 - cat >>$CONFIG_STATUS <<\_ACEOF
44021 - :t
44022 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
44023 --s,@configure_input@,$configure_input,;t t
44024 --s,@srcdir@,$ac_srcdir,;t t
44025 --s,@abs_srcdir@,$ac_abs_srcdir,;t t
44026 --s,@top_srcdir@,$ac_top_srcdir,;t t
44027 --s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
44028 --s,@builddir@,$ac_builddir,;t t
44029 --s,@abs_builddir@,$ac_abs_builddir,;t t
44030 --s,@top_builddir@,$ac_top_builddir,;t t
44031 --s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
44032 --s,@INSTALL@,$ac_INSTALL,;t t
44033 --" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
44034 -- rm -f $tmp/stdin
44035 -- if test x"$ac_file" != x-; then
44036 -- mv $tmp/out $ac_file
44037 -- else
44038 -- cat $tmp/out
44039 -- rm -f $tmp/out
44040 -- fi
44041 --
44042 --done
44043 --_ACEOF
44044 --cat >>$CONFIG_STATUS <<\_ACEOF
44045 -+s&@configure_input@&$configure_input&;t t
44046 -+s&@top_builddir@&$ac_top_builddir_sub&;t t
44047 -+s&@srcdir@&$ac_srcdir&;t t
44048 -+s&@abs_srcdir@&$ac_abs_srcdir&;t t
44049 -+s&@top_srcdir@&$ac_top_srcdir&;t t
44050 -+s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
44051 -+s&@builddir@&$ac_builddir&;t t
44052 -+s&@abs_builddir@&$ac_abs_builddir&;t t
44053 -+s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
44054 -+s&@INSTALL@&$ac_INSTALL&;t t
44055 -+$ac_datarootdir_hack
44056 -+" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" | sed -f "$tmp/subs-4.sed" | sed -f "$tmp/subs-5.sed" >$tmp/out
44057 -+
44058 -+test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
44059 -+ { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
44060 -+ { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
44061 -+ { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
44062 -+which seems to be undefined. Please make sure it is defined." >&5
44063 -+echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
44064 -+which seems to be undefined. Please make sure it is defined." >&2;}
44065 -
44066 -+ rm -f "$tmp/stdin"
44067 -+ case $ac_file in
44068 -+ -) cat "$tmp/out"; rm -f "$tmp/out";;
44069 -+ *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
44070 -+ esac
44071 -+ ;;
44072 -+ :H)
44073 - #
44074 --# CONFIG_HEADER section.
44075 -+ # CONFIG_HEADER
44076 - #
44077 -+_ACEOF
44078 -
44079 --# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
44080 --# NAME is the cpp macro being defined and VALUE is the value it is being given.
44081 --#
44082 --# ac_d sets the value in "#define NAME VALUE" lines.
44083 --ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
44084 --ac_dB='[ ].*$,\1#\2'
44085 -+# Transform confdefs.h into a sed script `conftest.defines', that
44086 -+# substitutes the proper values into config.h.in to produce config.h.
44087 -+rm -f conftest.defines conftest.tail
44088 -+# First, append a space to every undef/define line, to ease matching.
44089 -+echo 's/$/ /' >conftest.defines
44090 -+# Then, protect against being on the right side of a sed subst, or in
44091 -+# an unquoted here document, in config.status. If some macros were
44092 -+# called several times there might be several #defines for the same
44093 -+# symbol, which is useless. But do not sort them, since the last
44094 -+# AC_DEFINE must be honored.
44095 -+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
44096 -+# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
44097 -+# NAME is the cpp macro being defined, VALUE is the value it is being given.
44098 -+# PARAMS is the parameter list in the macro definition--in most cases, it's
44099 -+# just an empty string.
44100 -+ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
44101 -+ac_dB='\\)[ (].*,\\1define\\2'
44102 - ac_dC=' '
44103 --ac_dD=',;t'
44104 --# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
44105 --ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
44106 --ac_uB='$,\1#\2define\3'
44107 --ac_uC=' '
44108 --ac_uD=',;t'
44109 -+ac_dD=' ,'
44110 -
44111 --for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
44112 -- # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
44113 -- case $ac_file in
44114 -- - | *:- | *:-:* ) # input from stdin
44115 -- cat >$tmp/stdin
44116 -- ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
44117 -- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
44118 -- *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
44119 -- ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
44120 -- * ) ac_file_in=$ac_file.in ;;
44121 -- esac
44122 --
44123 -- test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
44124 --echo "$as_me: creating $ac_file" >&6;}
44125 --
44126 -- # First look for the input files in the build tree, otherwise in the
44127 -- # src tree.
44128 -- ac_file_inputs=`IFS=:
44129 -- for f in $ac_file_in; do
44130 -- case $f in
44131 -- -) echo $tmp/stdin ;;
44132 -- [\\/$]*)
44133 -- # Absolute (can't be DOS-style, as IFS=:)
44134 -- test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44135 --echo "$as_me: error: cannot find input file: $f" >&2;}
44136 -- { (exit 1); exit 1; }; }
44137 -- # Do quote $f, to prevent DOS paths from being IFS'd.
44138 -- echo "$f";;
44139 -- *) # Relative
44140 -- if test -f "$f"; then
44141 -- # Build tree
44142 -- echo "$f"
44143 -- elif test -f "$srcdir/$f"; then
44144 -- # Source tree
44145 -- echo "$srcdir/$f"
44146 -- else
44147 -- # /dev/null tree
44148 -- { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
44149 --echo "$as_me: error: cannot find input file: $f" >&2;}
44150 -- { (exit 1); exit 1; }; }
44151 -- fi;;
44152 -- esac
44153 -- done` || { (exit 1); exit 1; }
44154 -- # Remove the trailing spaces.
44155 -- sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
44156 --
44157 +- cat >conftest.$ac_ext <<_ACEOF
44158 +-/* confdefs.h. */
44159 -_ACEOF
44160 +-cat confdefs.h >>conftest.$ac_ext
44161 +-cat >>conftest.$ac_ext <<_ACEOF
44162 +-/* end confdefs.h. */
44163 -
44164 --# Transform confdefs.h into two sed scripts, `conftest.defines' and
44165 --# `conftest.undefs', that substitutes the proper values into
44166 --# config.h.in to produce config.h. The first handles `#define'
44167 --# templates, and the second `#undef' templates.
44168 --# And first: Protect against being on the right side of a sed subst in
44169 --# config.status. Protect against being in an unquoted here document
44170 --# in config.status.
44171 --rm -f conftest.defines conftest.undefs
44172 --# Using a here document instead of a string reduces the quoting nightmare.
44173 --# Putting comments in sed scripts is not portable.
44174 --#
44175 --# `end' is used to avoid that the second main sed command (meant for
44176 --# 0-ary CPP macros) applies to n-ary macro definitions.
44177 --# See the Autoconf documentation for `clear'.
44178 --cat >confdef2sed.sed <<\_ACEOF
44179 -+uniq confdefs.h |
44180 -+ sed -n '
44181 -+ t rset
44182 -+ :rset
44183 -+ s/^[ ]*#[ ]*define[ ][ ]*//
44184 -+ t ok
44185 -+ d
44186 -+ :ok
44187 - s/[\\&,]/\\&/g
44188 --s,[\\$`],\\&,g
44189 --t clear
44190 --: clear
44191 --s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
44192 --t end
44193 --s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
44194 --: end
44195 --_ACEOF
44196 --# If some macros were called several times there might be several times
44197 --# the same #defines, which is useless. Nevertheless, we may not want to
44198 --# sort them, since we want the *last* AC-DEFINE to be honored.
44199 --uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
44200 --sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
44201 --rm -f confdef2sed.sed
44202 -+ s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
44203 -+ s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
44204 -+ ' >>conftest.defines
44205 -
44206 --# This sed command replaces #undef with comments. This is necessary, for
44207 -+# Remove the space that was appended to ease matching.
44208 -+# Then replace #undef with comments. This is necessary, for
44209 - # example, in the case of _POSIX_SOURCE, which is predefined and required
44210 - # on some systems where configure will not decide to define it.
44211 --cat >>conftest.undefs <<\_ACEOF
44212 --s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
44213 +-int
44214 +-main ()
44215 +-{
44216 +-void * p = nullptr;
44217 +- ;
44218 +- return 0;
44219 +-}
44220 -_ACEOF
44221 -+# (The regexp can be short, since the line contains either #define or #undef.)
44222 -+echo 's/ $//
44223 -+s,^[ #]*u.*,/* & */,' >>conftest.defines
44224 -+
44225 -+# Break up conftest.defines:
44226 -+ac_max_sed_lines=50
44227 -+
44228 -+# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
44229 -+# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
44230 -+# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
44231 -+# et cetera.
44232 -+ac_in='$ac_file_inputs'
44233 -+ac_out='"$tmp/out1"'
44234 -+ac_nxt='"$tmp/out2"'
44235 -
44236 --# Break up conftest.defines because some shells have a limit on the size
44237 --# of here documents, and old seds have small limits too (100 cmds).
44238 --echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
44239 --echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
44240 --echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
44241 --echo ' :' >>$CONFIG_STATUS
44242 --rm -f conftest.tail
44243 --while grep . conftest.defines >/dev/null
44244 --do
44245 -- # Write a limited-size here document to $tmp/defines.sed.
44246 -- echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
44247 -- # Speed up: don't consider the non `#define' lines.
44248 -- echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
44249 -- # Work around the forget-to-reset-the-flag bug.
44250 -- echo 't clr' >>$CONFIG_STATUS
44251 -- echo ': clr' >>$CONFIG_STATUS
44252 -- sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
44253 -+while :
44254 -+do
44255 -+ # Write a here document:
44256 -+ cat >>$CONFIG_STATUS <<_ACEOF
44257 -+ # First, check the format of the line:
44258 -+ cat >"\$tmp/defines.sed" <<\\CEOF
44259 -+/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
44260 -+/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
44261 -+b
44262 -+:def
44263 -+_ACEOF
44264 -+ sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
44265 - echo 'CEOF
44266 -- sed -f $tmp/defines.sed $tmp/in >$tmp/out
44267 -- rm -f $tmp/in
44268 -- mv $tmp/out $tmp/in
44269 --' >>$CONFIG_STATUS
44270 -- sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
44271 -+ sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
44272 -+ ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
44273 -+ sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
44274 -+ grep . conftest.tail >/dev/null || break
44275 - rm -f conftest.defines
44276 - mv conftest.tail conftest.defines
44277 - done
44278 --rm -f conftest.defines
44279 --echo ' fi # grep' >>$CONFIG_STATUS
44280 --echo >>$CONFIG_STATUS
44281 +-rm -f conftest.$ac_objext
44282 +-if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44283 +- (eval $ac_compile) 2>conftest.er1
44284 +- ac_status=$?
44285 +- grep -v '^ *+' conftest.er1 >conftest.err
44286 +- rm -f conftest.er1
44287 +- cat conftest.err >&5
44288 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
44289 +- (exit $ac_status); } &&
44290 +- { ac_try='test -z "$ac_cxx_werror_flag"
44291 +- || test ! -s conftest.err'
44292 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44293 +- (eval $ac_try) 2>&5
44294 +- ac_status=$?
44295 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
44296 +- (exit $ac_status); }; } &&
44297 +- { ac_try='test -s conftest.$ac_objext'
44298 +- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44299 +- (eval $ac_try) 2>&5
44300 +- ac_status=$?
44301 +- echo "$as_me:$LINENO: \$? = $ac_status" >&5
44302 +- (exit $ac_status); }; }; then
44303 +- ncbi_cv_cxx_nullptr=yes
44304 +-else
44305 +- echo "$as_me: failed program was:" >&5
44306 +-sed 's/^/| /' conftest.$ac_ext >&5
44307 -
44308 --# Break up conftest.undefs because some shells have a limit on the size
44309 --# of here documents, and old seds have small limits too (100 cmds).
44310 --echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
44311 --rm -f conftest.tail
44312 --while grep . conftest.undefs >/dev/null
44313 --do
44314 -- # Write a limited-size here document to $tmp/undefs.sed.
44315 -- echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
44316 -- # Speed up: don't consider the non `#undef'
44317 -- echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
44318 -- # Work around the forget-to-reset-the-flag bug.
44319 -- echo 't clr' >>$CONFIG_STATUS
44320 -- echo ': clr' >>$CONFIG_STATUS
44321 -- sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
44322 -- echo 'CEOF
44323 -- sed -f $tmp/undefs.sed $tmp/in >$tmp/out
44324 -- rm -f $tmp/in
44325 -- mv $tmp/out $tmp/in
44326 --' >>$CONFIG_STATUS
44327 -- sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
44328 -- rm -f conftest.undefs
44329 -- mv conftest.tail conftest.undefs
44330 --done
44331 --rm -f conftest.undefs
44332 -+rm -f conftest.defines conftest.tail
44333 -
44334 -+echo "ac_result=$ac_in" >>$CONFIG_STATUS
44335 - cat >>$CONFIG_STATUS <<\_ACEOF
44336 -- # Let's still pretend it is `configure' which instantiates (i.e., don't
44337 -- # use $as_me), people would be surprised to read:
44338 -- # /* config.h. Generated by config.status. */
44339 -- if test x"$ac_file" = x-; then
44340 -- echo "/* Generated by configure. */" >$tmp/config.h
44341 -- else
44342 -- echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
44343 -- fi
44344 -- cat $tmp/in >>$tmp/config.h
44345 -- rm -f $tmp/in
44346 - if test x"$ac_file" != x-; then
44347 -- if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
44348 -+ echo "/* $configure_input */" >"$tmp/config.h"
44349 -+ cat "$ac_result" >>"$tmp/config.h"
44350 -+ if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
44351 - { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
44352 - echo "$as_me: $ac_file is unchanged" >&6;}
44353 - else
44354 -- ac_dir=`(dirname "$ac_file") 2>/dev/null ||
44355 --$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44356 -- X"$ac_file" : 'X\(//\)[^/]' \| \
44357 -- X"$ac_file" : 'X\(//\)$' \| \
44358 -- X"$ac_file" : 'X\(/\)' \| \
44359 -- . : '\(.\)' 2>/dev/null ||
44360 --echo X"$ac_file" |
44361 -- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44362 -- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44363 -- /^X\(\/\/\)$/{ s//\1/; q; }
44364 -- /^X\(\/\).*/{ s//\1/; q; }
44365 -- s/.*/./; q'`
44366 -- { if $as_mkdir_p; then
44367 -- mkdir -p "$ac_dir"
44368 -- else
44369 -- as_dir="$ac_dir"
44370 -- as_dirs=
44371 -- while test ! -d "$as_dir"; do
44372 -- as_dirs="$as_dir $as_dirs"
44373 -- as_dir=`(dirname "$as_dir") 2>/dev/null ||
44374 --$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44375 -- X"$as_dir" : 'X\(//\)[^/]' \| \
44376 -- X"$as_dir" : 'X\(//\)$' \| \
44377 -- X"$as_dir" : 'X\(/\)' \| \
44378 -- . : '\(.\)' 2>/dev/null ||
44379 --echo X"$as_dir" |
44380 -- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44381 -- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44382 -- /^X\(\/\/\)$/{ s//\1/; q; }
44383 -- /^X\(\/\).*/{ s//\1/; q; }
44384 -- s/.*/./; q'`
44385 -- done
44386 -- test ! -n "$as_dirs" || mkdir $as_dirs
44387 -- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44388 --echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44389 -- { (exit 1); exit 1; }; }; }
44390 +-ncbi_cv_cxx_nullptr=no
44391 +-fi
44392 +-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44393 +-fi
44394 +-echo "$as_me:$LINENO: result: $ncbi_cv_cxx_nullptr" >&5
44395 +-echo "${ECHO_T}$ncbi_cv_cxx_nullptr" >&6
44396 +-if test "$ncbi_cv_cxx_nullptr" = yes; then
44397 -
44398 - rm -f $ac_file
44399 -- mv $tmp/config.h $ac_file
44400 -- fi
44401 -- else
44402 -- cat $tmp/config.h
44403 -- rm -f $tmp/config.h
44404 -- fi
44405 --done
44406 +-cat >>confdefs.h <<\_ACEOF
44407 +-#define HAVE_NULLPTR 1
44408 -_ACEOF
44409 --cat >>$CONFIG_STATUS <<\_ACEOF
44410 -
44411 --#
44412 --# CONFIG_COMMANDS section.
44413 --#
44414 --for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
44415 -- ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
44416 -- ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
44417 -- ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
44418 --$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44419 -- X"$ac_dest" : 'X\(//\)[^/]' \| \
44420 -- X"$ac_dest" : 'X\(//\)$' \| \
44421 -- X"$ac_dest" : 'X\(/\)' \| \
44422 -- . : '\(.\)' 2>/dev/null ||
44423 --echo X"$ac_dest" |
44424 -- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44425 -- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44426 -- /^X\(\/\/\)$/{ s//\1/; q; }
44427 -- /^X\(\/\).*/{ s//\1/; q; }
44428 -- s/.*/./; q'`
44429 -- { if $as_mkdir_p; then
44430 -- mkdir -p "$ac_dir"
44431 -- else
44432 -- as_dir="$ac_dir"
44433 -- as_dirs=
44434 -- while test ! -d "$as_dir"; do
44435 -- as_dirs="$as_dir $as_dirs"
44436 -- as_dir=`(dirname "$as_dir") 2>/dev/null ||
44437 --$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44438 -- X"$as_dir" : 'X\(//\)[^/]' \| \
44439 -- X"$as_dir" : 'X\(//\)$' \| \
44440 -- X"$as_dir" : 'X\(/\)' \| \
44441 -- . : '\(.\)' 2>/dev/null ||
44442 --echo X"$as_dir" |
44443 -- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44444 -- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44445 -- /^X\(\/\/\)$/{ s//\1/; q; }
44446 -- /^X\(\/\).*/{ s//\1/; q; }
44447 -- s/.*/./; q'`
44448 -- done
44449 -- test ! -n "$as_dirs" || mkdir $as_dirs
44450 -- fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
44451 --echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
44452 -- { (exit 1); exit 1; }; }; }
44453 --
44454 -- #ac_builddir=. # Useless!
44455 --ac_builddir=$builddir
44456 --if test -n "$ac_file_in"; then
44457 -- ac_dir_in=`(dirname "$ac_file_in") 2>/dev/null ||
44458 --$as_expr X"$ac_file_in" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
44459 -- X"$ac_file_in" : 'X\(//\)[^/]' \| \
44460 -- X"$ac_file_in" : 'X\(//\)$' \| \
44461 -- X"$ac_file_in" : 'X\(/\)' \| \
44462 -- . : '\(.\)' 2>/dev/null ||
44463 --echo X"$ac_file_in" |
44464 -- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
44465 -- /^X\(\/\/\)[^/].*/{ s//\1/; q; }
44466 -- /^X\(\/\/\)$/{ s//\1/; q; }
44467 -- /^X\(\/\).*/{ s//\1/; q; }
44468 -- s/.*/./; q'`
44469 --else
44470 -- ac_dir_in="$ac_dir"
44471 -+ mv "$tmp/config.h" $ac_file
44472 - fi
44473 --
44474 --if test $ac_dir_in != .; then
44475 -- ac_dir_suffix=`echo $ac_dir_in | sed 's,^\.[\\/],,'`
44476 -- # A "../" for each directory in $ac_dir_suffix.
44477 -- ac_top_builddir=../`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
44478 - else
44479 -- ac_dir_suffix= ac_top_builddir=
44480 -+ echo "/* $configure_input */"
44481 -+ cat "$ac_result"
44482 - fi
44483 -+ rm -f "$tmp/out12"
44484 -+ ;;
44485 -
44486 --case $srcdir in
44487 -- .) # No --srcdir option. We are building in place.
44488 -- ac_srcdir=.
44489 -- if test -z "$ac_top_builddir"; then
44490 -- ac_top_srcdir=.
44491 -- else
44492 -- ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
44493 -- fi ;;
44494 -- [\\/]* | ?:[\\/]* ) # Absolute path.
44495 -- ac_srcdir=$srcdir/$ac_dir_suffix;
44496 -- ac_top_srcdir=$srcdir ;;
44497 -- *) # Relative path.
44498 -- ac_srcdir=$ac_top_builddir$srcdir/$ac_dir_suffix
44499 -- ac_top_srcdir=$ac_top_builddir$srcdir ;;
44500 --esac
44501 --# Do not use `cd foo && pwd` to compute absolute paths, because
44502 --# the directories may not exist.
44503 --case $builddir in
44504 --.) ac_abs_builddir="$ac_dir";;
44505 --*)
44506 -- case "$ac_dir" in
44507 -- .) ac_abs_builddir=$builddir;;
44508 -- [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
44509 -- *) ac_abs_builddir=$builddir/"$ac_dir";;
44510 -- esac;;
44511 --esac
44512 --case $ac_abs_builddir in
44513 --.) ac_abs_top_builddir=${ac_top_builddir}.;;
44514 --*)
44515 -- case ${ac_top_builddir}. in
44516 -- .) ac_abs_top_builddir=$ac_abs_builddir;;
44517 -- [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
44518 -- *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
44519 -- esac;;
44520 --esac
44521 --case $ac_dir_in in
44522 --.) ac_abs_top_srcdir=$real_srcdir;;
44523 --*)
44524 -- case $real_srcdir in
44525 -- .) ac_abs_top_srcdir=$ac_dir_in;;
44526 -- [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$real_srcdir;;
44527 -- *) ac_abs_top_srcdir=$ac_dir_in/$real_srcdir;;
44528 -- esac;;
44529 --esac
44530 --case $ac_abs_top_srcdir in
44531 --.) ac_abs_srcdir=$ac_dir_suffix;;
44532 --*)
44533 -- case $ac_dir_suffix in
44534 -- .) ac_abs_srcdir=$ac_abs_top_srcdir;;
44535 -- [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_dir_suffix;;
44536 -- *) ac_abs_srcdir=$ac_abs_top_srcdir/$ac_dir_suffix;;
44537 -- esac;;
44538 -+ :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
44539 -+echo "$as_me: executing $ac_file commands" >&6;}
44540 -+ ;;
44541 - esac
44542 -
44543 -
44544 -- { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
44545 --echo "$as_me: executing $ac_dest commands" >&6;}
44546 -- case $ac_dest in
44547 -- default )
44548 -+ case $ac_file$ac_mode in
44549 -+ "default":C)
44550 - find "$build_root/." -name '*.sh' -print | while read x_file ; do
44551 - chmod a+x "$x_file"
44552 - done
44553 -@@ -36601,7 +41781,9 @@
44554 -
44555 - cat << EOCONF
44556 - ===============================================================================
44557 --NCBI C++ Toolkit documentation: doc/index.html, doc/config.html#ref_Running
44558 -+NCBI C++ Toolkit documentation:
44559 -+ Online: http://www.ncbi.nlm.nih.gov/toolkit/doc/book/
44560 -+ Local: ./doc/public/index.html
44561 - For the available configuration flags run: ./configure --help
44562 -
44563 - CFLAGS = $CFLAGS
44564 -@@ -36628,11 +41810,10 @@
44565 - ******* CONFIGURATION SUCCESSFUL *******
44566 - EOCONF
44567 - ;;
44568 -+
44569 - esac
44570 --done
44571 --_ACEOF
44572 -+done # for ac_tag
44573 -
44574 --cat >>$CONFIG_STATUS <<\_ACEOF
44575 +-fi
44576
44577 - { (exit 0); exit 0; }
44578 - _ACEOF
44579 + ### Check for the availability of other packages
44580 + ### --------------------------------------------
44581
44582 diff --git a/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild b/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild
44583 index 6de9b4f..746a3fe 100644
44584 --- a/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild
44585 +++ b/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild
44586 @@ -112,6 +112,7 @@ src_prepare() {
44587 "${FILESDIR}"/${P}-linkage-tuneups.patch
44588 "${FILESDIR}"/${P}-more-patches.patch
44589 "${FILESDIR}"/${P}-linkage-tuneups-addons.patch
44590 + "${FILESDIR}"/${P}-configure.patch
44591 )
44592 # "${FILESDIR}"/${P}-as-needed.patch
44593 # "${FILESDIR}"/${P}-fix-creaders-linking.patch
44594 @@ -121,7 +122,6 @@ src_prepare() {
44595 # "${FILESDIR}"/${P}-linking2.patch
44596 # )
44597 # "${FILESDIR}"/${P}-support-autoconf-2.60.patch
44598 - # "${FILESDIR}"/${P}-configure.patch
44599 epatch ${PATCHES[@]}
44600 # make sure this one is the last one and contains the actual patches applied unless we can have autoconf-2.59 or 2.60
44601 # https://bugs.gentoo.org/show_bug.cgi?id=514706
44602 @@ -132,7 +132,7 @@ src_prepare() {
44603 # eautoreconf
44604
44605 # Temporarily disabling eautoconf because we patch configure via ${P}-support-autoconf-2.60.patch
44606 - #eautoconf
44607 + # eautoconf # keep it disabled until we can ensure 2.59 is installed
44608 # beware 12.0.0. and previous required autoconf-2.59, a patch for 12.0.0 brings autoconf-2.60 support
44609 }